Pull request #147 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 00d62283156a85a394a25b44db0a6ee84d8728cf+fb1cfc1ed001b91dc8782235128666e14fb0baf6 (78fc93a0ef06121b7d83a6de8f23ba0d65836620) 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-ssh5618969247922074016.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-ssh16848015769388000582.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-147/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-147/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8020100221813045259.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-147/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3077003296924033344.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-ssh10084373956638214238.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-147/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-147/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12974827817466533175.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22838 in /w/workspace/foundry_app-record-replay_PR-147 [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-147 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fb1cfc1ed001b91dc8782235128666e14fb0baf6 into PR head commit 00d62283156a85a394a25b44db0a6ee84d8728cf Merge succeeded, producing 00d62283156a85a394a25b44db0a6ee84d8728cf Checking out Revision 00d62283156a85a394a25b44db0a6ee84d8728cf (PR-147) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 00d62283156a85a394a25b44db0a6ee84d8728cf # 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 fb1cfc1ed001b91dc8782235128666e14fb0baf6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00d62283156a85a394a25b44db0a6ee84d8728cf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:29:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:29:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:29:57 ========================================================= 03:29:57 EdgeX Global Pipelines Version Info 03:29:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:29:58 ------------------- 03:29:58 stable info: 03:29:58 ------------------- 03:29:58 Commited By: Ginny Guan ginny@iotechsys.com 03:29:58 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 03:29:58 Message: update stable to v1.0.265 03:29:59 ------------------- 03:29:59 experimental info: 03:29:59 ------------------- 03:29:59 Commited By: Cherry Wang cherry@iotechsys.com 03:29:59 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 03:29:59 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:29:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:29:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:29:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:29:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:29:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:29:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:29:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:30:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-147 [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-147 [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-147 [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00d62283156a85a394a25b44db0a6ee84d8728cf [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00d6228 [Pipeline] echo 03:30:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:01 provisioning config files... 03:30:01 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-147@tmp/config6420974671108898595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:02 ---> ****-login.sh 03:30:02 nexus3.edgexfoundry.org:10001 03:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:02 Configure a credential helper to remove this warning. See 03:30:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:02 03:30:02 Login Succeeded 03:30:02 nexus3.edgexfoundry.org:10002 03:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:02 Configure a credential helper to remove this warning. See 03:30:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:02 03:30:02 Login Succeeded 03:30:02 nexus3.edgexfoundry.org:10003 03:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:02 Configure a credential helper to remove this warning. See 03:30:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:02 03:30:02 Login Succeeded 03:30:02 nexus3.edgexfoundry.org:10004 03:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:02 Configure a credential helper to remove this warning. See 03:30:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:02 03:30:02 Login Succeeded 03:30:02 ****.io 03:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:03 Configure a credential helper to remove this warning. See 03:30:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:03 03:30:03 Login Succeeded 03:30:03 ---> ****-login.sh ends [Pipeline] } 03:30:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:30:03 + git rev-list -1 --merges 00d62283156a85a394a25b44db0a6ee84d8728cf~1..00d62283156a85a394a25b44db0a6ee84d8728cf [Pipeline] echo 03:30:03 -----------> git rev-list -1 --merges 00d62283156a85a394a25b44db0a6ee84d8728cf~1..00d62283156a85a394a25b44db0a6ee84d8728cf 00d62283156a85a394a25b44db0a6ee84d8728cf [false] [Pipeline] sh 03:30:04 + git log --format=format:%s -1 00d62283156a85a394a25b44db0a6ee84d8728cf [Pipeline] echo 03:30:04 ========================================================= 03:30:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:30:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:30:04 + git log --format=format:%s -1 00d62283156a85a394a25b44db0a6ee84d8728cf [Pipeline] echo 03:30:04 [semverPrep] GIT_COMMIT: 00d62283156a85a394a25b44db0a6ee84d8728cf, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:30:04 [semverPrep] This is not a build commit. [Pipeline] sh 03:30:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:30:05 + grep -v github /etc/ssh/ssh_known_hosts 03:30:05 + [ -e /tmp/ssh_known_hosts ] 03:30:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:30:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:30:05 + sudo tee -a /etc/ssh/ssh_known_hosts 03:30:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:05 03:30:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:06 0.1.4: Pulling from edgex-devops/py-git-semver 03:30:06 b85a868b505f: Pulling fs layer 03:30:06 e2be974225ed: Pulling fs layer 03:30:06 339a4e72a1f5: Pulling fs layer 03:30:06 988bab9f4d93: Pulling fs layer 03:30:06 1469e6f7b9e6: Pulling fs layer 03:30:06 eaf3925da568: Pulling fs layer 03:30:06 bab4dde63d76: Pulling fs layer 03:30:06 bde34c3a00c8: Pulling fs layer 03:30:06 b352a97aabf1: Pulling fs layer 03:30:06 4872d77fe225: Pulling fs layer 03:30:06 5851b861e8e6: Pulling fs layer 03:30:06 988bab9f4d93: Waiting 03:30:06 bab4dde63d76: Waiting 03:30:06 bde34c3a00c8: Waiting 03:30:06 b352a97aabf1: Waiting 03:30:06 4872d77fe225: Waiting 03:30:06 eaf3925da568: Waiting 03:30:06 1469e6f7b9e6: Waiting 03:30:06 e2be974225ed: Download complete 03:30:06 988bab9f4d93: Verifying Checksum 03:30:06 988bab9f4d93: Download complete 03:30:06 1469e6f7b9e6: Verifying Checksum 03:30:06 1469e6f7b9e6: Download complete 03:30:06 339a4e72a1f5: Verifying Checksum 03:30:06 339a4e72a1f5: Download complete 03:30:06 eaf3925da568: Verifying Checksum 03:30:06 eaf3925da568: Download complete 03:30:06 bde34c3a00c8: Download complete 03:30:06 b352a97aabf1: Download complete 03:30:06 4872d77fe225: Verifying Checksum 03:30:06 4872d77fe225: Download complete 03:30:06 5851b861e8e6: Download complete 03:30:06 b85a868b505f: Verifying Checksum 03:30:06 b85a868b505f: Download complete 03:30:06 bab4dde63d76: Verifying Checksum 03:30:06 bab4dde63d76: Download complete 03:30:07 b85a868b505f: Pull complete 03:30:07 e2be974225ed: Pull complete 03:30:08 339a4e72a1f5: Pull complete 03:30:08 988bab9f4d93: Pull complete 03:30:08 1469e6f7b9e6: Pull complete 03:30:08 eaf3925da568: Pull complete 03:30:10 bab4dde63d76: Pull complete 03:30:10 bde34c3a00c8: Pull complete 03:30:10 b352a97aabf1: Pull complete 03:30:10 4872d77fe225: Pull complete 03:30:10 5851b861e8e6: Pull complete 03:30:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:30:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:30:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:11 prd-ubuntu20.04-docker-8c-8g-22838 does not seem to be running inside a container 03:30:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-147 -v /w/workspace/foundry_app-record-replay_PR-147:/w/workspace/foundry_app-record-replay_PR-147:rw,z -v /w/workspace/foundry_app-record-replay_PR-147@tmp:/w/workspace/foundry_app-record-replay_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:30:16 $ docker top a7fc2b4df40325576869215a37fa07b3db0b53c9e836fcb477619857a2010477 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:30:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:30:17 [ssh-agent] Looking for ssh-agent implementation... 03:30:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:30:17 $ docker exec a7fc2b4df40325576869215a37fa07b3db0b53c9e836fcb477619857a2010477 ssh-agent 03:30:17 SSH_AUTH_SOCK=/tmp/ssh-iBlyhUndMcgR/agent.34 03:30:17 SSH_AGENT_PID=40 03:30:17 Running ssh-add (command line suppressed) 03:30:17 Identity added: /w/workspace/foundry_app-record-replay_PR-147@tmp/private_key_18418447816355564498.key (/w/workspace/foundry_app-record-replay_PR-147@tmp/private_key_18418447816355564498.key) 03:30:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:30:18 + git tag --points-at HEAD [Pipeline] } 03:30:18 $ docker exec --env ******** --env ******** a7fc2b4df40325576869215a37fa07b3db0b53c9e836fcb477619857a2010477 ssh-agent -k 03:30:18 unset SSH_AUTH_SOCK; 03:30:18 unset SSH_AGENT_PID; 03:30:18 echo Agent pid 40 killed; 03:30:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:30:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:30:18 [ssh-agent] Looking for ssh-agent implementation... 03:30:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:30:18 $ docker exec a7fc2b4df40325576869215a37fa07b3db0b53c9e836fcb477619857a2010477 ssh-agent 03:30:18 SSH_AUTH_SOCK=/tmp/ssh-jD9gdhat2zyL/agent.73 03:30:18 SSH_AGENT_PID=79 03:30:18 Running ssh-add (command line suppressed) 03:30:18 Identity added: /w/workspace/foundry_app-record-replay_PR-147@tmp/private_key_10136012645333351247.key (/w/workspace/foundry_app-record-replay_PR-147@tmp/private_key_10136012645333351247.key) 03:30:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:30:19 + git semver init 03:30:19 2024-10-15 03:30:19,410 [run_init] DEBUG init version:0.0.0 force:False 03:30:19 2024-10-15 03:30:19,411 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-147/.semver 03:30:19 2024-10-15 03:30:19,411 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-147/.semver 03:30:19 2024-10-15 03:30:19,411 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-147/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-147, universal_newlines=False, shell=None, istream=None) 03:30:21 2024-10-15 03:30:21,117 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-147/.git/info/exclude 03:30:21 2024-10-15 03:30:21,117 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-147/.semver/PR-147 with force:False 03:30:21 2024-10-15 03:30:21,118 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-147/.semver/PR-147 03:30:21 2024-10-15 03:30:21,122 [execute] INFO git cat-file --batch-check 03:30:21 2024-10-15 03:30:21,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-147/.semver, universal_newlines=False, shell=None, istream=) 03:30:21 2024-10-15 03:30:21,128 [execute] INFO git cat-file --batch 03:30:21 2024-10-15 03:30:21,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-147/.semver, universal_newlines=False, shell=None, istream=) 03:30:21 2024-10-15 03:30:21,134 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-147/.semver/PR-147 03:30:21 0.0.0 [Pipeline] } 03:30:21 $ docker exec --env ******** --env ******** a7fc2b4df40325576869215a37fa07b3db0b53c9e836fcb477619857a2010477 ssh-agent -k 03:30:21 unset SSH_AUTH_SOCK; 03:30:21 unset SSH_AGENT_PID; 03:30:21 echo Agent pid 79 killed; 03:30:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:30:22 + git semver [Pipeline] } 03:30:22 $ docker stop --time=1 a7fc2b4df40325576869215a37fa07b3db0b53c9e836fcb477619857a2010477 03:30:23 $ docker rm -f --volumes a7fc2b4df40325576869215a37fa07b3db0b53c9e836fcb477619857a2010477 [Pipeline] // withDockerContainer [Pipeline] sh 03:30:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:30:24 Stashed 1 file(s) [Pipeline] echo 03:30:24 [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 03:30:25 provisioning config files... 03:30:25 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-147@tmp/config4511567728339486704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:25 ---> ****-login.sh 03:30:25 nexus3.edgexfoundry.org:10001 03:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:25 Configure a credential helper to remove this warning. See 03:30:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:25 03:30:25 Login Succeeded 03:30:25 nexus3.edgexfoundry.org:10002 03:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:25 Configure a credential helper to remove this warning. See 03:30:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:25 03:30:25 Login Succeeded 03:30:25 nexus3.edgexfoundry.org:10003 03:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:25 Configure a credential helper to remove this warning. See 03:30:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:25 03:30:25 Login Succeeded 03:30:25 nexus3.edgexfoundry.org:10004 03:30:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:25 Configure a credential helper to remove this warning. See 03:30:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:25 03:30:25 Login Succeeded 03:30:25 ****.io 03:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:30:26 Configure a credential helper to remove this warning. See 03:30:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:30:26 03:30:26 Login Succeeded 03:30:26 ---> ****-login.sh ends [Pipeline] } 03:30:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:30:26 ========================================================= 03:30:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:30:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 03:30:26 Sending build context to Docker daemon 9.794MB 03:30:26 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:30:26 Step 2/12 : FROM ${BASE} AS builder 03:30:27 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:30:27 43c4264eed91: Pulling fs layer 03:30:27 4cc291be95ef: Pulling fs layer 03:30:27 2ac1f1163629: Pulling fs layer 03:30:27 5c3c966382ef: Pulling fs layer 03:30:27 4f4fb700ef54: Pulling fs layer 03:30:27 5d5c8e513c77: Pulling fs layer 03:30:27 9f66e0745190: Pulling fs layer 03:30:27 f49a43e4bbc0: Pulling fs layer 03:30:27 561ebcabdf7f: Pulling fs layer 03:30:27 5c3c966382ef: Waiting 03:30:27 4f4fb700ef54: Waiting 03:30:27 5d5c8e513c77: Waiting 03:30:27 9f66e0745190: Waiting 03:30:27 f49a43e4bbc0: Waiting 03:30:27 561ebcabdf7f: Waiting 03:30:27 4cc291be95ef: Download complete 03:30:27 5c3c966382ef: Verifying Checksum 03:30:27 5c3c966382ef: Download complete 03:30:27 4f4fb700ef54: Verifying Checksum 03:30:27 4f4fb700ef54: Download complete 03:30:27 43c4264eed91: Download complete 03:30:27 5d5c8e513c77: Verifying Checksum 03:30:27 9f66e0745190: Verifying Checksum 03:30:27 9f66e0745190: Download complete 03:30:27 561ebcabdf7f: Download complete 03:30:27 43c4264eed91: Pull complete 03:30:28 4cc291be95ef: Pull complete 03:30:28 2ac1f1163629: Verifying Checksum 03:30:28 2ac1f1163629: Download complete 03:30:28 f49a43e4bbc0: Verifying Checksum 03:30:28 f49a43e4bbc0: Download complete 03:30:32 2ac1f1163629: Pull complete 03:30:32 5c3c966382ef: Pull complete 03:30:32 4f4fb700ef54: Pull complete 03:30:32 5d5c8e513c77: Pull complete 03:30:32 9f66e0745190: Pull complete 03:30:34 f49a43e4bbc0: Pull complete 03:30:34 561ebcabdf7f: Pull complete 03:30:34 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 03:30:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:30:34 ---> 3a752c3f9dda 03:30:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:30:39 ---> Running in 040f14e4b629 03:30:39 Removing intermediate container 040f14e4b629 03:30:39 ---> 7c7af516de37 03:30:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:30:39 ---> Running in e811c65fcdc1 03:30:39 Removing intermediate container e811c65fcdc1 03:30:39 ---> 8768654e82ed 03:30:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:30:39 ---> Running in b4c0e9af348b 03:30:39 Removing intermediate container b4c0e9af348b 03:30:39 ---> c9a1157dfd11 03:30:39 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:30:39 ---> Running in 94be98857f44 03:30:39 Still waiting to schedule task 03:30:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-22839’ is offline 03:30:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:30:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:30:40 OK: 246 MiB in 54 packages 03:30:40 Removing intermediate container 94be98857f44 03:30:40 ---> f448075f8462 03:30:40 Step 7/12 : WORKDIR /app 03:30:41 ---> Running in 29e5b9c384f8 03:30:41 Removing intermediate container 29e5b9c384f8 03:30:41 ---> 7ea2ecd75d39 03:30:41 Step 8/12 : COPY go.mod vendor* ./ 03:30:41 ---> ada164ae8244 03:30:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:41 ---> Running in 44a0ad5c220e 03:31:37 Removing intermediate container 44a0ad5c220e 03:31:37 ---> e925d6f003f5 03:31:37 Step 10/12 : COPY . . 03:31:37 ---> dd3e0f7ffc41 03:31:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:31:37 ---> Running in f76bc62a88fc 03:31:37 Removing intermediate container f76bc62a88fc 03:31:37 ---> 10478bf8ba1d 03:31:37 Step 12/12 : RUN $MAKE 03:31:37 ---> Running in 3d1c04d8d205 03:31:37 noop 03:31:37 Removing intermediate container 3d1c04d8d205 03:31:37 ---> f38ada2c06e8 03:31:37 Successfully built f38ada2c06e8 03:31:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:37 + docker inspect -f . ci-base-image-x86_64 03:31:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:38 prd-ubuntu20.04-docker-8c-8g-22838 does not seem to be running inside a container 03:31:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-147 -v /w/workspace/foundry_app-record-replay_PR-147:/w/workspace/foundry_app-record-replay_PR-147:rw,z -v /w/workspace/foundry_app-record-replay_PR-147@tmp:/w/workspace/foundry_app-record-replay_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:31:38 $ docker top 8a3442eb65b12fe8645a1b3cb3fbb37d471c68eef8b1f72e8bef84015942eec2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:31:38 + go version 03:31:38 go version go1.23.2 linux/amd64 [Pipeline] } 03:31:38 $ docker stop --time=1 8a3442eb65b12fe8645a1b3cb3fbb37d471c68eef8b1f72e8bef84015942eec2 03:31:40 $ docker rm -f --volumes 8a3442eb65b12fe8645a1b3cb3fbb37d471c68eef8b1f72e8bef84015942eec2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:41 + docker inspect -f . ci-base-image-x86_64 03:31:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:41 prd-ubuntu20.04-docker-8c-8g-22838 does not seem to be running inside a container 03:31:41 $ 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-147 -v /w/workspace/foundry_app-record-replay_PR-147:/w/workspace/foundry_app-record-replay_PR-147:rw,z -v /w/workspace/foundry_app-record-replay_PR-147@tmp:/w/workspace/foundry_app-record-replay_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:31:41 $ docker top ffe71490f26eddb47e8439cc64cd62bbd146a7d0d3b613bdb3b61cc70dc013e8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:31:42 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-147 [Pipeline] fileExists [Pipeline] sh 03:31:42 + make test 03:31:42 go test -race -coverprofile=coverage.out ./... 03:32:21 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:32:21 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:32:21 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 03:32:21 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 03:32:21 ok github.com/edgexfoundry/app-record-replay/internal/app 1.028s coverage: 88.0% of statements 03:32:24 ok github.com/edgexfoundry/app-record-replay/internal/application 9.104s coverage: 98.7% of statements 03:32:24 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.218s coverage: 89.7% of statements 03:32:24 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.020s coverage: 100.0% of statements 03:32:24 running golangci-lint 03:32:24 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 03:32:24 go version go1.23.2 linux/amd64 03:32:24 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 03:32:24 level=info msg="[config_reader] Used config file .golangci.yml" 03:32:24 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 03:32:51 level=info msg="[loader] Go packages loading at mode 575 (deps|exports_file|files|types_sizes|compiled_files|imports|name) took 22.203670308s" 03:32:51 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 7.497002ms" 03:32:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22840 in /w/workspace/foundry_app-record-replay_PR-147 [Pipeline] { [Pipeline] ws 03:32:55 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:32:56 level=info msg="[linters_context/goanalysis] analyzers took 47.136463297s with top 10 stages: buildir: 39.250476s, inspect: 1.781722426s, fact_deprecated: 1.326396403s, printf: 915.36131ms, ctrlflow: 910.864807ms, fact_purity: 838.693843ms, nilness: 763.73839ms, SA5012: 390.018613ms, typedness: 371.203345ms, tokenfileanalyzer: 224.624811ms" 03:32:56 level=info msg="[runner] Issues before processing: 10, after processing: 0" 03:32:56 level=info msg="[runner] Processors filtering stat (in/out): exclude-rules: 10/0, path_prettifier: 10/10, skip_dirs: 10/10, autogenerated_exclude: 10/10, skip_files: 10/10, identifier_marker: 10/10, exclude: 10/10, cgo: 10/10, filename_unadjuster: 10/10, invalid_issue: 10/10" 03:32:56 level=info msg="[runner] processing took 729.176µs with stages: identifier_marker: 376.963µs, autogenerated_exclude: 128.911µs, exclude-rules: 93.981µs, path_prettifier: 74.161µs, skip_dirs: 38.73µs, cgo: 3.35µs, invalid_issue: 2.84µs, filename_unadjuster: 1.76µs, nolint: 1.49µs, max_same_issues: 1.08µs, uniq_by_line: 900ns, fixer: 770ns, skip_files: 730ns, sort_results: 680ns, max_from_linter: 530ns, diff: 420ns, exclude: 420ns, severity-rules: 380ns, max_per_file_from_linter: 280ns, source_code: 280ns, path_prefixer: 260ns, path_shortener: 260ns" 03:32:56 level=info msg="[runner] linters took 9.477346085s with stages: goanalysis_metalinter: 9.476477598s" 03:32:56 level=info msg="File cache stats: 0 entries of total size 0B" 03:32:56 level=info msg="Memory: 318 samples, avg is 214.1MB, max is 1044.4MB" 03:32:56 level=info msg="Execution took 31.695443492s" 03:32:56 go vet ./... 03:32:58 Selected Git installation does not exist. Using Default 03:32:58 The recommended git tool is: NONE 03:33:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:33:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:33:03 ./bin/test-attribution-txt.sh 03:33:03 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 03:33:03 An attribution for github.com/jackc/pgerrcode is missing from Attribution.txt, please add 03:33:03 An attribution for github.com/jackc/pgpassfile is missing from Attribution.txt, please add 03:33:03 An attribution for github.com/jackc/pgservicefile is missing from Attribution.txt, please add 03:33:03 An attribution for github.com/jackc/pgx/v5 is missing from Attribution.txt, please add 03:33:03 An attribution for github.com/jackc/puddle/v2 is missing from Attribution.txt, please add [Pipeline] echo 03:33:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:33:03 $ docker stop --time=1 ffe71490f26eddb47e8439cc64cd62bbd146a7d0d3b613bdb3b61cc70dc013e8 03:33:05 using credential edgex-jenkins-ssh 03:33:05 Cloning the remote Git repository 03:33:05 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:33:05 > git init /w/workspace/app-record-replay/1 # timeout=10 03:33:05 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:33:05 > git --version # timeout=10 03:33:05 > git --version # 'git version 2.25.1' 03:33:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:33:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:33:09 $ docker rm -f --volumes ffe71490f26eddb47e8439cc64cd62bbd146a7d0d3b613bdb3b61cc70dc013e8 [Pipeline] // withDockerContainer [Pipeline] sh 03:33:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:33:09 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:33:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:33:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:33:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:33:11 + ls -al . 03:33:11 total 276 03:33:11 drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 03:31 . 03:33:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 03:29 .. 03:33:11 -rw-rw-r-- 1 jenkins jenkins 119 Oct 15 03:29 .dockerignore 03:33:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 03:32 .git 03:33:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 03:29 .github 03:33:11 -rw-rw-r-- 1 jenkins jenkins 164 Oct 15 03:29 .gitignore 03:33:11 -rw-rw-r-- 1 jenkins jenkins 41 Oct 15 03:29 .golangci.yml 03:33:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 15 03:30 .semver 03:33:11 -rw-rw-r-- 1 jenkins jenkins 20126 Oct 15 03:29 Attribution.txt 03:33:11 -rw-rw-r-- 1 jenkins jenkins 458 Oct 15 03:29 CHANGELOG.md 03:33:11 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 15 03:29 Dockerfile 03:33:11 -rw-rw-r-- 1 jenkins jenkins 677 Oct 15 03:29 GOVERNANCE.md 03:33:11 -rw-rw-r-- 1 jenkins jenkins 681 Oct 15 03:29 Jenkinsfile 03:33:11 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 15 03:29 LICENSE 03:33:11 -rw-rw-r-- 1 jenkins jenkins 3805 Oct 15 03:29 Makefile 03:33:11 -rw-rw-r-- 1 jenkins jenkins 611 Oct 15 03:29 OWNERS.md 03:33:11 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 15 03:29 README.md 03:33:11 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 15 03:29 Record and Reply.postman_collection.json 03:33:11 -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 03:30 VERSION 03:33:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 03:29 bin 03:33:11 -rw-r--r-- 1 jenkins jenkins 34247 Oct 15 03:32 coverage.out 03:33:11 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 15 03:29 go.mod 03:33:11 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 15 03:29 go.sum 03:33:11 drwxrwxr-x 7 jenkins jenkins 4096 Oct 15 03:29 internal 03:33:11 -rw-rw-r-- 1 jenkins jenkins 913 Oct 15 03:29 main.go 03:33:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 03:29 openapi 03:33:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 03:29 pkg 03:33:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 03:29 res [Pipeline] isUnix [Pipeline] withEnv 03:33:11 Merging remotes/origin/main commit fb1cfc1ed001b91dc8782235128666e14fb0baf6 into PR head commit 00d62283156a85a394a25b44db0a6ee84d8728cf [Pipeline] { [Pipeline] sh 03:33:11 + 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=00d62283156a85a394a25b44db0a6ee84d8728cf --label arch=amd64 --label version=0.0.0 . 03:33:11 Sending build context to Docker daemon 9.829MB 03:33:11 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 03:33:11 Step 2/27 : FROM ${BASE} AS builder 03:33:11 ---> f38ada2c06e8 03:33:11 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:33:11 Merge succeeded, producing 00d62283156a85a394a25b44db0a6ee84d8728cf 03:33:11 Checking out Revision 00d62283156a85a394a25b44db0a6ee84d8728cf (PR-147) 03:33:10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:33:10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:33:10 using GIT_SSH to set credentials SSH Credentials for GitHub 03:33:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:33:11 > git config core.sparsecheckout # timeout=10 03:33:11 > git checkout -f 00d62283156a85a394a25b44db0a6ee84d8728cf # timeout=10 03:33:11 > git remote # timeout=10 03:33:11 > git config --get remote.origin.url # timeout=10 03:33:11 using GIT_SSH to set credentials SSH Credentials for GitHub 03:33:11 > git merge fb1cfc1ed001b91dc8782235128666e14fb0baf6 # timeout=10 03:33:11 > git rev-parse HEAD^{commit} # timeout=10 03:33:11 > git config core.sparsecheckout # timeout=10 03:33:12 ---> Running in 6149495173e3 03:33:12 Removing intermediate container 6149495173e3 03:33:12 ---> 4171594ad615 03:33:12 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:33:12 ---> Running in 782b00edbada 03:33:12 Removing intermediate container 782b00edbada 03:33:12 ---> c5ca3d98e4c7 03:33:12 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:33:12 ---> Running in 908815e3ec5d 03:33:12 Removing intermediate container 908815e3ec5d 03:33:12 ---> 47481f1c3522 03:33:12 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:33:12 ---> Running in 5b6454eefddb 03:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:33:12 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:33:13 > git --version # timeout=10 03:33:13 > git --version # 'git version 2.25.1' 03:33:13 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 03:33:13 OK: 246 MiB in 54 packages 03:33:13 Removing intermediate container 5b6454eefddb 03:33:13 ---> 7c1d2abe978e 03:33:13 Step 7/27 : WORKDIR /app 03:33:13 ---> Running in 71361ff13631 03:33:13 Removing intermediate container 71361ff13631 03:33:13 ---> ce32326ef054 03:33:13 Step 8/27 : COPY go.mod vendor* ./ 03:33:11 > git checkout -f 00d62283156a85a394a25b44db0a6ee84d8728cf # timeout=10 03:33:13 ---> 0642ed347d8c 03:33:13 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:33:13 ---> Running in 792cf8aeb857 03:33:14 Removing intermediate container 792cf8aeb857 03:33:14 ---> d79b51ad0d45 03:33:14 Step 10/27 : COPY . . 03:33:14 ---> a4fa7ccdb64d 03:33:14 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:33:14 ---> Running in bca191c0ca8a 03:33:14 Removing intermediate container bca191c0ca8a 03:33:14 ---> 3b7adbd78906 03:33:14 Step 12/27 : RUN $MAKE 03:33:14 ---> Running in d23c9db25e7d 03:33: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.56 -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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:33:18 % Total % Received % Xferd Average Speed Time Time Time Current 03:33:18 Dload Upload Total Spent Left Speed 03:33:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 03:33:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:33:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:33:19 + sudo tee /etc/docker/daemon.new 03:33:19 { 03:33:19 "registry-mirrors": [ 03:33:19 "https://nexus3.edgexfoundry.org:10001" 03:33:19 ], 03:33:19 "bip": "10.250.0.254/24", 03:33:19 "hosts": [ 03:33:19 "tcp://0.0.0.0:5555", 03:33:19 "unix:///var/run/docker.sock" 03:33:19 ], 03:33:19 "mtu": 1458, 03:33:19 "selinux-enabled": true, 03:33:19 "seccomp-profile": "/etc/docker/seccomp.json" 03:33:19 } [Pipeline] sh 03:33:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:33:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:38 provisioning config files... 03:33:38 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config6132349983928875560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:38 ---> ****-login.sh 03:33:38 nexus3.edgexfoundry.org:10001 03:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:39 Configure a credential helper to remove this warning. See 03:33:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:39 03:33:39 Login Succeeded 03:33:39 nexus3.edgexfoundry.org:10002 03:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:39 Configure a credential helper to remove this warning. See 03:33:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:39 03:33:39 Login Succeeded 03:33:39 nexus3.edgexfoundry.org:10003 03:33:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:40 Configure a credential helper to remove this warning. See 03:33:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:40 03:33:40 Login Succeeded 03:33:40 nexus3.edgexfoundry.org:10004 03:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:40 Configure a credential helper to remove this warning. See 03:33:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:40 03:33:40 Login Succeeded 03:33:40 ****.io 03:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:40 Configure a credential helper to remove this warning. See 03:33:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:40 03:33:40 Login Succeeded 03:33:40 ---> ****-login.sh ends [Pipeline] } 03:33:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:33:41 ========================================================= 03:33:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 03:33:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:42 + 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 . 03:33:42 Sending build context to Docker daemon 338.4kB 03:33:42 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:33:42 Step 2/12 : FROM ${BASE} AS builder 03:33:42 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:33:42 cf04c63912e1: Pulling fs layer 03:33:42 55b35a11ae5e: Pulling fs layer 03:33:42 a37a00ec5f00: Pulling fs layer 03:33:42 50b3750afda1: Pulling fs layer 03:33:42 4f4fb700ef54: Pulling fs layer 03:33:42 80978eb59214: Pulling fs layer 03:33:42 c9f46d7d2bd2: Pulling fs layer 03:33:42 c5a475d317c9: Pulling fs layer 03:33:42 80978eb59214: Waiting 03:33:42 c9f46d7d2bd2: Waiting 03:33:42 c5a475d317c9: Waiting 03:33:42 50b3750afda1: Waiting 03:33:42 4f4fb700ef54: Waiting 03:33:42 55b35a11ae5e: Download complete 03:33:42 50b3750afda1: Verifying Checksum 03:33:42 50b3750afda1: Download complete 03:33:42 4f4fb700ef54: Verifying Checksum 03:33:42 4f4fb700ef54: Download complete 03:33:42 80978eb59214: Download complete 03:33:42 cf04c63912e1: Download complete 03:33:42 c5a475d317c9: Verifying Checksum 03:33:42 c5a475d317c9: Download complete 03:33:43 cf04c63912e1: Pull complete 03:33:44 55b35a11ae5e: Pull complete 03:33:44 a37a00ec5f00: Verifying Checksum 03:33:44 a37a00ec5f00: Download complete 03:33:45 c9f46d7d2bd2: Verifying Checksum 03:33:45 c9f46d7d2bd2: Download complete 03:34:00 a37a00ec5f00: Pull complete 03:34:00 50b3750afda1: Pull complete 03:34:00 4f4fb700ef54: Pull complete 03:34:00 80978eb59214: Pull complete 03:34:02 Removing intermediate container d23c9db25e7d 03:34:02 ---> 5d8f38e34e3b 03:34:02 Step 13/27 : FROM alpine:3.20 03:34:02 3.20: Pulling from library/alpine 03:34:02 43c4264eed91: Already exists 03:34:02 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 03:34:02 Status: Downloaded newer image for alpine:3.20 03:34:02 ---> 91ef0af61f39 03:34:02 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:34:02 ---> Running in 0def181e7ca4 03:34:02 Removing intermediate container 0def181e7ca4 03:34:02 ---> a724b5a4466c 03:34:02 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:34:02 ---> Running in 684f2ad3e4b0 03:34:02 Removing intermediate container 684f2ad3e4b0 03:34:02 ---> be042e3024b8 03:34:02 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:34:02 ---> Running in 6508e252e651 03:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:34:02 (1/2) Installing ca-certificates (20240705-r0) 03:34:02 (2/2) Installing dumb-init (1.2.5-r3) 03:34:02 Executing busybox-1.36.1-r29.trigger 03:34:02 Executing ca-certificates-20240705-r0.trigger 03:34:02 OK: 9 MiB in 16 packages 03:34:02 Removing intermediate container 6508e252e651 03:34:02 ---> 1a3412308102 03:34:02 Step 17/27 : RUN apk --no-cache upgrade 03:34:02 ---> Running in 695dffcd1388 03:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:34:02 Upgrading critical system libraries and apk-tools: 03:34:02 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:34:02 Executing busybox-1.36.1-r29.trigger 03:34:02 Continuing the upgrade transaction with new apk-tools: 03:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:34:03 OK: 9 MiB in 16 packages 03:34:03 Removing intermediate container 695dffcd1388 03:34:03 ---> 829aca959418 03:34:03 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:34:03 ---> affbd0b750a6 03:34:03 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:34:03 ---> 69c19455e5e0 03:34:03 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:34:03 ---> 52dc48e8d5ec 03:34:03 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:34:05 ---> cef3c442ae90 03:34:05 Step 22/27 : EXPOSE 59712 03:34:05 ---> Running in a5d437d95683 03:34:05 Removing intermediate container a5d437d95683 03:34:05 ---> 7820dc7767e4 03:34:05 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:34:05 ---> Running in 5dbf1113f58f 03:34:05 Removing intermediate container 5dbf1113f58f 03:34:05 ---> b7b37ae5dbe0 03:34:05 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:34:05 ---> Running in 4d29dfead99f 03:34:05 Removing intermediate container 4d29dfead99f 03:34:05 ---> 75cdcbc35d5b 03:34:05 Step 25/27 : LABEL arch=amd64 03:34:05 ---> Running in f62a3d9f2440 03:34:05 Removing intermediate container f62a3d9f2440 03:34:05 ---> 581faca97c5c 03:34:05 Step 26/27 : LABEL git_sha=00d62283156a85a394a25b44db0a6ee84d8728cf 03:34:05 ---> Running in 93e99bd1a5cd 03:34:05 Removing intermediate container 93e99bd1a5cd 03:34:05 ---> 7bd5b28d43c1 03:34:05 Step 27/27 : LABEL version=0.0.0 03:34:05 ---> Running in 348253e7a3d1 03:34:06 Removing intermediate container 348253e7a3d1 03:34:06 ---> c9a38cfcdaa3 03:34:06 [Warning] One or more build-args [ARCH] were not consumed 03:34:06 Successfully built c9a38cfcdaa3 03:34:06 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:07 c9f46d7d2bd2: Pull complete 03:34:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:34:07 03:34:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:34:07 latest: Pulling from edgex-lftools-log-publisher 03:34:07 5eb5b503b376: Pulling fs layer 03:34:07 5c69ac0246d0: Pulling fs layer 03:34:07 ec43610c2a17: Pulling fs layer 03:34:07 3a2ae6a8a46f: Pulling fs layer 03:34:07 33b1e0a273af: Pulling fs layer 03:34:07 5d3b04190fa2: Pulling fs layer 03:34:07 2f39f015ded8: Pulling fs layer 03:34:07 5d3b04190fa2: Waiting 03:34:07 2f39f015ded8: Waiting 03:34:07 3a2ae6a8a46f: Waiting 03:34:07 33b1e0a273af: Waiting 03:34:07 5c69ac0246d0: Download complete 03:34:07 3a2ae6a8a46f: Verifying Checksum 03:34:07 3a2ae6a8a46f: Download complete 03:34:07 33b1e0a273af: Download complete 03:34:07 ec43610c2a17: Verifying Checksum 03:34:07 ec43610c2a17: Download complete 03:34:07 5d3b04190fa2: Verifying Checksum 03:34:07 5d3b04190fa2: Download complete 03:34:07 5eb5b503b376: Verifying Checksum 03:34:07 5eb5b503b376: Download complete 03:34:08 c5a475d317c9: Pull complete 03:34:08 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 03:34:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 03:34:08 ---> be29e6b0f0d4 03:34:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:34:08 2f39f015ded8: Download complete 03:34:09 5eb5b503b376: Pull complete 03:34:09 5c69ac0246d0: Pull complete 03:34:09 ---> Running in 501225abc5bb 03:34:09 ec43610c2a17: Pull complete 03:34:09 Removing intermediate container 501225abc5bb 03:34:09 ---> ef7eeae33ff3 03:34:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:34:09 ---> Running in 63486d7802fb 03:34:09 3a2ae6a8a46f: Pull complete 03:34:09 33b1e0a273af: Pull complete 03:34:09 Removing intermediate container 63486d7802fb 03:34:09 ---> 757acb2a4344 03:34:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:34:09 ---> Running in e5c841f7db6d 03:34:10 5d3b04190fa2: Pull complete 03:34:10 Removing intermediate container e5c841f7db6d 03:34:10 ---> e35a762f512e 03:34:10 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:34:10 ---> Running in bfde5bb1e51f 03:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:34:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:34:13 OK: 238 MiB in 54 packages 03:34:14 Removing intermediate container bfde5bb1e51f 03:34:14 ---> 309fb7ed04f6 03:34:14 Step 7/12 : WORKDIR /app 03:34:14 ---> Running in a6b3128e4bce 03:34:14 2f39f015ded8: Pull complete 03:34:14 Removing intermediate container a6b3128e4bce 03:34:14 ---> 409de9979739 03:34:14 Step 8/12 : COPY go.mod vendor* ./ 03:34:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:34:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:34:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:14 prd-ubuntu20.04-docker-8c-8g-22838 does not seem to be running inside a container 03:34:14 $ 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-147 -v /w/workspace/foundry_app-record-replay_PR-147:/w/workspace/foundry_app-record-replay_PR-147:rw,z -v /w/workspace/foundry_app-record-replay_PR-147@tmp:/w/workspace/foundry_app-record-replay_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:34:14 ---> ee6a8ff12806 03:34:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:14 ---> Running in 39271643aa6e 03:34:22 $ docker top 912ad150f1fb3363340b447462d4c09bd4b7537a6354379a103bb42d4ab525c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:23 ---> job-cost.sh 03:34:23 lf-activate-venv: SKIPPING 03:34:23 INFO: No Stack... 03:34:23 INFO: Retrieving Pricing Info for: v3-standard-8 03:34:23 INFO: Archiving Costs [Pipeline] sh 03:34:24 + cat /w/workspace/foundry_app-record-replay_PR-147/archives/cost.csv 03:34:24 + cut -d, -f6 [Pipeline] lock 03:34:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-147-1-stack-cost] 03:34:24 Resource [jenkins-edgexfoundry-app-record-replay-PR-147-1-stack-cost] did not exist. Created. 03:34:24 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:34:24 + echo total: 0.2199999988079071 [Pipeline] stash 03:34:24 Stashed 1 file(s) [Pipeline] } 03:34:24 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:34:24 $ docker stop --time=1 912ad150f1fb3363340b447462d4c09bd4b7537a6354379a103bb42d4ab525c2 03:34:26 $ docker rm -f --volumes 912ad150f1fb3363340b447462d4c09bd4b7537a6354379a103bb42d4ab525c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:36:07 Removing intermediate container 39271643aa6e 03:36:07 ---> 41aef024b8bd 03:36:07 Step 10/12 : COPY . . 03:36:07 ---> b575c9724504 03:36:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:36:07 ---> Running in eda5f9737197 03:36:07 Removing intermediate container eda5f9737197 03:36:07 ---> 3a37ac9536e0 03:36:07 Step 12/12 : RUN $MAKE 03:36:07 ---> Running in 6148466217ed 03:36:07 noop 03:36:07 Removing intermediate container 6148466217ed 03:36:07 ---> 76bce02c13d4 03:36:07 Successfully built 76bce02c13d4 03:36:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:07 + docker inspect -f . ci-base-image-arm64 03:36:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:08 prd-ubuntu20.04-docker-arm64-4c-16g-22840 does not seem to be running inside a container 03:36:08 $ 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 ******** ci-base-image-arm64 cat 03:36:09 $ docker top c2fac83d278fc561cf5e7763dcfb278560fae356f5eab09f69c785b55e255a1b -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:10 + go version 03:36:10 go version go1.23.2 linux/arm64 [Pipeline] } 03:36:10 $ docker stop --time=1 c2fac83d278fc561cf5e7763dcfb278560fae356f5eab09f69c785b55e255a1b 03:36:12 $ docker rm -f --volumes c2fac83d278fc561cf5e7763dcfb278560fae356f5eab09f69c785b55e255a1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:13 + docker inspect -f . ci-base-image-arm64 03:36:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:13 prd-ubuntu20.04-docker-arm64-4c-16g-22840 does not seem to be running inside a container 03:36:13 $ 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 ******** ci-base-image-arm64 cat 03:36:14 $ docker top eb74c78ac7a8f8cb4d26887671b9919a06491fbd3f9b3c2200620a2705418f37 -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:15 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:36:16 + make test 03:36:16 go test -race -coverprofile=coverage.out ./... 03:41:08 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 03:41:11 ok github.com/edgexfoundry/app-record-replay/internal/app 1.119s coverage: 88.0% of statements 03:41:18 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:41:18 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 03:41:20 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:41:23 ok github.com/edgexfoundry/app-record-replay/internal/application 9.823s coverage: 98.7% of statements 03:41:23 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.431s coverage: 89.7% of statements 03:41:23 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.077s coverage: 100.0% of statements 03:41:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:41:25 go vet ./... 03:45:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:45:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:45:46 ./bin/test-attribution-txt.sh 03:45:46 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 03:45:46 An attribution for github.com/jackc/pgerrcode is missing from Attribution.txt, please add 03:45:46 An attribution for github.com/jackc/pgpassfile is missing from Attribution.txt, please add 03:45:46 An attribution for github.com/jackc/pgservicefile is missing from Attribution.txt, please add 03:45:46 An attribution for github.com/jackc/pgx/v5 is missing from Attribution.txt, please add 03:45:46 An attribution for github.com/jackc/puddle/v2 is missing from Attribution.txt, please add [Pipeline] echo 03:45:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:45:47 $ docker stop --time=1 eb74c78ac7a8f8cb4d26887671b9919a06491fbd3f9b3c2200620a2705418f37 03:45:48 $ docker rm -f --volumes eb74c78ac7a8f8cb4d26887671b9919a06491fbd3f9b3c2200620a2705418f37 [Pipeline] // withDockerContainer [Pipeline] sh 03:45:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:45:51 Warning: overwriting stash ‘coverage-report’ 03:45:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:45:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:45:53 + ls -al . 03:45:53 total 272 03:45:53 drwxrwxr-x 9 jenkins jenkins 4096 Oct 15 03:36 . 03:45:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 03:33 .. 03:45:53 -rw-rw-r-- 1 jenkins jenkins 119 Oct 15 03:33 .dockerignore 03:45:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 03:33 .git 03:45:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 03:33 .github 03:45:53 -rw-rw-r-- 1 jenkins jenkins 164 Oct 15 03:33 .gitignore 03:45:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 15 03:33 .golangci.yml 03:45:53 -rw-rw-r-- 1 jenkins jenkins 20126 Oct 15 03:33 Attribution.txt 03:45:53 -rw-rw-r-- 1 jenkins jenkins 458 Oct 15 03:33 CHANGELOG.md 03:45:53 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 15 03:33 Dockerfile 03:45:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 15 03:33 GOVERNANCE.md 03:45:53 -rw-rw-r-- 1 jenkins jenkins 681 Oct 15 03:33 Jenkinsfile 03:45:53 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 15 03:33 LICENSE 03:45:53 -rw-rw-r-- 1 jenkins jenkins 3805 Oct 15 03:33 Makefile 03:45:53 -rw-rw-r-- 1 jenkins jenkins 611 Oct 15 03:33 OWNERS.md 03:45:53 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 15 03:33 README.md 03:45:53 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 15 03:33 Record and Reply.postman_collection.json 03:45:53 -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 03:30 VERSION 03:45:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 03:33 bin 03:45:53 -rw-r--r-- 1 jenkins jenkins 34248 Oct 15 03:41 coverage.out 03:45:53 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 15 03:33 go.mod 03:45:53 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 15 03:33 go.sum 03:45:53 drwxrwxr-x 7 jenkins jenkins 4096 Oct 15 03:33 internal 03:45:53 -rw-rw-r-- 1 jenkins jenkins 913 Oct 15 03:33 main.go 03:45:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 03:33 openapi 03:45:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 15 03:33 pkg 03:45:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 03:33 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:53 + 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=00d62283156a85a394a25b44db0a6ee84d8728cf --label arch=arm64 --label version=0.0.0 . 03:45:53 Sending build context to Docker daemon 373.2kB 03:45:53 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 03:45:53 Step 2/27 : FROM ${BASE} AS builder 03:45:53 ---> 76bce02c13d4 03:45:53 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:45:53 ---> Running in c3f2de8f510e 03:45:54 Removing intermediate container c3f2de8f510e 03:45:54 ---> 27018c24ed0a 03:45:54 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:45:54 ---> Running in 414c95dc2382 03:45:54 Removing intermediate container 414c95dc2382 03:45:54 ---> 0816a75b2e9c 03:45:54 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:45:54 ---> Running in 012faf070e60 03:45:54 Removing intermediate container 012faf070e60 03:45:54 ---> e4021498c11b 03:45:54 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:45:54 ---> Running in e07a0f06a11f 03:45:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:45:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:45:58 OK: 238 MiB in 54 packages 03:45:58 Removing intermediate container e07a0f06a11f 03:45:58 ---> 53c1686c32cc 03:45:58 Step 7/27 : WORKDIR /app 03:45:58 ---> Running in 0d21cb1e5ab0 03:45:59 Removing intermediate container 0d21cb1e5ab0 03:45:59 ---> 77067c74b6ee 03:45:59 Step 8/27 : COPY go.mod vendor* ./ 03:45:59 ---> 64ae1c732438 03:45:59 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:45:59 ---> Running in 93c0dc7f8bde 03:46:02 Removing intermediate container 93c0dc7f8bde 03:46:02 ---> 4bc2efe2c420 03:46:02 Step 10/27 : COPY . . 03:46:02 ---> 8bd12f8715dd 03:46:02 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:46:02 ---> Running in a93abcd6bbe4 03:46:02 Removing intermediate container a93abcd6bbe4 03:46:02 ---> aafb14672fff 03:46:02 Step 12/27 : RUN $MAKE 03:46:03 ---> Running in 58a5e6e93ab3 03:46:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.56 -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 03:49:41 Removing intermediate container 58a5e6e93ab3 03:49:41 ---> f045951fbd0f 03:49:41 Step 13/27 : FROM alpine:3.20 03:49:41 3.20: Pulling from library/alpine 03:49:41 cf04c63912e1: Already exists 03:49:41 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 03:49:41 Status: Downloaded newer image for alpine:3.20 03:49:41 ---> c157a85ed455 03:49:41 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:49:41 ---> Running in 8bbb1f33e216 03:49:41 Removing intermediate container 8bbb1f33e216 03:49:41 ---> 8dd04175e505 03:49:41 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:49:41 ---> Running in 9af1dc7ca1f8 03:49:41 Removing intermediate container 9af1dc7ca1f8 03:49:41 ---> 89754d463041 03:49:41 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:49:41 ---> Running in b8e69e058f4b 03:49:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:49:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:49:43 (1/2) Installing ca-certificates (20240705-r0) 03:49:43 (2/2) Installing dumb-init (1.2.5-r3) 03:49:43 Executing busybox-1.36.1-r29.trigger 03:49:43 Executing ca-certificates-20240705-r0.trigger 03:49:43 OK: 10 MiB in 16 packages 03:49:44 Removing intermediate container b8e69e058f4b 03:49:44 ---> 1ad72997dd77 03:49:44 Step 17/27 : RUN apk --no-cache upgrade 03:49:44 ---> Running in e8a9da34acdc 03:49:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:49:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:49:47 Upgrading critical system libraries and apk-tools: 03:49:47 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:49:47 Executing busybox-1.36.1-r29.trigger 03:49:47 Continuing the upgrade transaction with new apk-tools: 03:49:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:49:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:49:49 OK: 10 MiB in 16 packages 03:49:49 Removing intermediate container e8a9da34acdc 03:49:49 ---> 733c08052c70 03:49:49 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:49:50 ---> f00da3d50278 03:49:50 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:49:50 ---> 57540f0f12ad 03:49:50 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:49:51 ---> fbe9d9a3d256 03:49:51 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:49:53 ---> 9374ca016c34 03:49:53 Step 22/27 : EXPOSE 59712 03:49:53 ---> Running in 5ad2219ba841 03:49:53 Removing intermediate container 5ad2219ba841 03:49:53 ---> 52e09f6cc7e3 03:49:53 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:49:53 ---> Running in 0e859114233d 03:49:54 Removing intermediate container 0e859114233d 03:49:54 ---> 9206118ca639 03:49:54 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:49:54 ---> Running in aba7c3409e07 03:49:54 Removing intermediate container aba7c3409e07 03:49:54 ---> 6e8e6c6fbfe7 03:49:54 Step 25/27 : LABEL arch=arm64 03:49:54 ---> Running in b9c8fb062a75 03:49:54 Removing intermediate container b9c8fb062a75 03:49:54 ---> f2ceff698894 03:49:54 Step 26/27 : LABEL git_sha=00d62283156a85a394a25b44db0a6ee84d8728cf 03:49:55 ---> Running in 3fdf709fb98b 03:49:55 Removing intermediate container 3fdf709fb98b 03:49:55 ---> 6e2e20dc2dba 03:49:55 Step 27/27 : LABEL version=0.0.0 03:49:55 ---> Running in c7aba58dfcfb 03:49:55 Removing intermediate container c7aba58dfcfb 03:49:55 ---> f2a4b08bec12 03:49:55 [Warning] One or more build-args [ARCH] were not consumed 03:49:55 Successfully built f2a4b08bec12 03:49:55 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 03:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:49:56 03:49:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:49:56 arm64: Pulling from edgex-lftools-log-publisher 03:49:56 8998bd30e6a1: Pulling fs layer 03:49:56 04944245beec: Pulling fs layer 03:49:56 699f458cf7ca: Pulling fs layer 03:49:56 765212b225bb: Pulling fs layer 03:49:56 f23df028b6ca: Pulling fs layer 03:49:56 d65c8cfc05b1: Pulling fs layer 03:49:56 2437ff75d9bd: Pulling fs layer 03:49:56 f23df028b6ca: Waiting 03:49:56 d65c8cfc05b1: Waiting 03:49:56 2437ff75d9bd: Waiting 03:49:56 765212b225bb: Waiting 03:49:57 04944245beec: Verifying Checksum 03:49:57 04944245beec: Download complete 03:49:57 765212b225bb: Verifying Checksum 03:49:57 765212b225bb: Download complete 03:49:57 f23df028b6ca: Download complete 03:49:57 d65c8cfc05b1: Verifying Checksum 03:49:57 d65c8cfc05b1: Download complete 03:49:57 699f458cf7ca: Verifying Checksum 03:49:57 699f458cf7ca: Download complete 03:49:57 8998bd30e6a1: Verifying Checksum 03:49:57 8998bd30e6a1: Download complete 03:50:00 2437ff75d9bd: Verifying Checksum 03:50:00 2437ff75d9bd: Download complete 03:50:02 8998bd30e6a1: Pull complete 03:50:02 04944245beec: Pull complete 03:50:04 699f458cf7ca: Pull complete 03:50:04 765212b225bb: Pull complete 03:50:05 f23df028b6ca: Pull complete 03:50:05 d65c8cfc05b1: Pull complete 03:50:23 2437ff75d9bd: Pull complete 03:50:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:50:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:50:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:50:24 prd-ubuntu20.04-docker-arm64-4c-16g-22840 does not seem to be running inside a container 03:50:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:50:26 $ docker top 8975b2288ebacd1ca5d4ad6a2330998e5d9109f0ed6b9576b974e6ef4f1ffadb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:50:27 ---> job-cost.sh 03:50:27 lf-activate-venv: SKIPPING 03:50:27 INFO: No Stack... 03:50:28 INFO: Retrieving Pricing Info for: v3-standard-4 03:50:29 INFO: Archiving Costs [Pipeline] sh 03:50:30 + cut -d, -f6 03:50:30 + cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock 03:50:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-147-1-stack-cost] 03:50:30 Resource [jenkins-edgexfoundry-app-record-replay-PR-147-1-stack-cost] did not exist. Created. 03:50:30 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:50:30 /w/workspace/app-record-replay/1@tmp/durable-393d6e4f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:50:30 + echo total: 0.10999999940395355 [Pipeline] stash 03:50:31 Warning: overwriting stash ‘stack-cost’ 03:50:31 Stashed 1 file(s) [Pipeline] } 03:50:31 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:50:31 $ docker stop --time=1 8975b2288ebacd1ca5d4ad6a2330998e5d9109f0ed6b9576b974e6ef4f1ffadb 03:50:32 $ docker rm -f --volumes 8975b2288ebacd1ca5d4ad6a2330998e5d9109f0ed6b9576b974e6ef4f1ffadb [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 03:50:33 provisioning config files... 03:50:33 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-147@tmp/config6965759769504066428tmp [Pipeline] { [Pipeline] sh 03:50:34 + set +x 03:50:34 + bash -s -- 03:50:34 + curl -s https://codecov.io/bash 03:50:34 03:50:34 _____ _ 03:50:34 / ____| | | 03:50:34 | | ___ __| | ___ ___ _____ __ 03:50:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:50:34 | |___| (_) | (_| | __/ (_| (_) \ V / 03:50:34 \_____\___/ \__,_|\___|\___\___/ \_/ 03:50:34 Bash-1.0.6 03:50:34 03:50:34 03:50:34 ==> git version 2.25.1 found 03:50:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:50:34 Release-Date: 2020-01-08 03:50:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:50:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:50:34 ==> Jenkins CI detected. 03:50:34 current dir:  /w/workspace/foundry_app-record-replay_PR-147 03:50:34 project root: . 03:50:34 --> token set from env 03:50:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:50:34 ==> Running gcov in . (disable via -X gcov) 03:50:34 ==> Python coveragepy not found 03:50:34 ==> Searching for coverage reports in: 03:50:34 + . 03:50:34 -> Found 1 reports 03:50:34 ==> Detecting git/mercurial file structure 03:50:34 ==> Reading reports 03:50:34 + ./coverage.out bytes=34248 03:50:34 ==> Appending adjustments 03:50:34 https://docs.codecov.io/docs/fixing-reports 03:50:34 + Found adjustments 03:50:34 ==> Gzipping contents 03:50:34 8.0K /tmp/codecov.EoYM20.gz 03:50:34 ==> Uploading reports 03:50:34 url: https://codecov.io 03:50:34 query: branch=PR-147&commit=00d62283156a85a394a25b44db0a6ee84d8728cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=147&job=&cmd_args= 03:50:34 -> Pinging Codecov 03:50:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-147&commit=00d62283156a85a394a25b44db0a6ee84d8728cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=147&job=&cmd_args= 03:50:34 -> Uploading to 03:50:34 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/00d62283156a85a394a25b44db0a6ee84d8728cf/2e092d30-75ed-4580-8b8e-93bd7dbc4bd1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241015%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241015T035034Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=f508eba3cb66f9cc641464dc9b843acf0fff8736d3a4b7bcb25a171577707316 03:50:34 % Total % Received % Xferd Average Speed Time Time Time Current 03:50:34 Dload Upload Total Spent Left Speed 03:50:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5391 0 0 100 5391 0 23439 --:--:-- --:--:-- --:--:-- 23439 03:50:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/00d62283156a85a394a25b44db0a6ee84d8728cf [Pipeline] } 03:50:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:50:41 + [ -d /w/workspace/foundry_app-record-replay_PR-147/archives ] 03:50:41 + ls -al /w/workspace/foundry_app-record-replay_PR-147/archives 03:50:41 total 16 03:50:41 drwxr-xr-x 3 root root 4096 Oct 15 03:34 . 03:50:41 drwxrwxr-x 11 jenkins jenkins 4096 Oct 15 03:34 .. 03:50:41 drwxr-xr-x 2 root root 4096 Oct 15 03:34 cost 03:50:41 -rw-r--r-- 1 root root 89 Oct 15 03:34 cost.csv 03:50:41 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-147/archives 03:50:41 + ls -al /w/workspace/foundry_app-record-replay_PR-147/archives 03:50:41 total 16 03:50:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 15 03:34 . 03:50:41 drwxrwxr-x 11 jenkins jenkins 4096 Oct 15 03:34 .. 03:50:41 drwxr-xr-x 2 jenkins jenkins 4096 Oct 15 03:34 cost 03:50:41 -rw-r--r-- 1 jenkins jenkins 89 Oct 15 03:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:50:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:50:42 ---> package-listing.sh 03:50:42 ++ facter osfamily 03:50:42 ++ tr '[:upper:]' '[:lower:]' 03:50:42 + OS_FAMILY=debian 03:50:42 + workspace=/w/workspace/foundry_app-record-replay_PR-147 03:50:42 + START_PACKAGES=/tmp/packages_start.txt 03:50:42 + END_PACKAGES=/tmp/packages_end.txt 03:50:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:50:42 + PACKAGES=/tmp/packages_start.txt 03:50:42 + '[' /w/workspace/foundry_app-record-replay_PR-147 ']' 03:50:42 + PACKAGES=/tmp/packages_end.txt 03:50:42 + case "${OS_FAMILY}" in 03:50:42 + dpkg -l 03:50:42 + grep '^ii' 03:50:42 + '[' -f /tmp/packages_start.txt ']' 03:50:42 + '[' -f /tmp/packages_end.txt ']' 03:50:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:50:42 + '[' /w/workspace/foundry_app-record-replay_PR-147 ']' 03:50:42 + mkdir -p /w/workspace/foundry_app-record-replay_PR-147/archives/ 03:50:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-147/archives/ [Pipeline] echo 03:50:42 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-147/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:50:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:50:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:50:43 prd-ubuntu20.04-docker-8c-8g-22838 does not seem to be running inside a container 03:50:43 $ 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-147/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-147 -v /w/workspace/foundry_app-record-replay_PR-147:/w/workspace/foundry_app-record-replay_PR-147:rw,z -v /w/workspace/foundry_app-record-replay_PR-147@tmp:/w/workspace/foundry_app-record-replay_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:50:44 $ docker top 02c0d0ff208e01a9ddd1140405f57b09e5180cf9fc60949fca1727ff7adc1a24 -eo pid,comm [Pipeline] { [Pipeline] sh 03:50:44 + touch /tmp/pre-build-complete [Pipeline] sh 03:50:44 + mkdir -p /var/log/sysstat [Pipeline] sh 03:50:45 + ls /var/log/sa-host 03:50:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:50:45 provisioning config files... 03:50:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-147@tmp/config4917063152403274037tmp [Pipeline] { [Pipeline] echo 03:50:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:50:45 ---> create-netrc.sh [Pipeline] } 03:50:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:50:46 ---> python-tools-install.sh [Pipeline] echo 03:50:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:50:46 ---> sudo-logs.sh 03:50:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:50:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:50:47 ---> job-cost.sh 03:50:47 lf-activate-venv: SKIPPING 03:50:47 DEBUG: total: 0.2199999988079071 03:50:47 INFO: Retrieving Stack Cost... 03:50:47 INFO: Retrieving Pricing Info for: v3-standard-8 03:50:47 INFO: Archiving Costs [Pipeline] echo 03:50:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:50:48 ---> logs-deploy.sh 03:50:48 lf-activate-venv: SKIPPING 03:50:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-147/1 03:50:48 INFO: archiving workspace using pattern(s): 03:50:50 Archives upload complete. 03:50:50 INFO: archiving logs to Nexus