Pull request #152 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/app-record-replay Obtained Jenkinsfile from f726f1f1e54e453d465af1427730aa5e1b37ac9c+62ddbc5b0f189cb0e082a652d86835a7c06dea97 (91851220da096a1d313243ce657af41fd457fbda) 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-ssh12890773358610171222.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-ssh18181334982982720810.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16393871609567193952.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 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-ssh16876618552171371799.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14395977439479000947.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24999 in /w/workspace/foundry_app-record-replay_PR-152 [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-152 # 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/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 62ddbc5b0f189cb0e082a652d86835a7c06dea97 into PR head commit f726f1f1e54e453d465af1427730aa5e1b37ac9c Merge succeeded, producing f726f1f1e54e453d465af1427730aa5e1b37ac9c Checking out Revision f726f1f1e54e453d465af1427730aa5e1b37ac9c (PR-152) > git config core.sparsecheckout # timeout=10 > git checkout -f f726f1f1e54e453d465af1427730aa5e1b37ac9c # 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 62ddbc5b0f189cb0e082a652d86835a7c06dea97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f726f1f1e54e453d465af1427730aa5e1b37ac9c # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git rev-list --no-walk d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:05:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:05:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:05:44 ========================================================= 03:05:44 EdgeX Global Pipelines Version Info 03:05:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:05:45 ------------------- 03:05:45 stable info: 03:05:45 ------------------- 03:05:45 Commited By: Ginny Guan ginny@iotechsys.com 03:05:45 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 03:05:45 Message: update stable to v1.0.265 03:05:46 ------------------- 03:05:46 experimental info: 03:05:46 ------------------- 03:05:46 Commited By: Cherry Wang cherry@iotechsys.com 03:05:46 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 03:05:46 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f726f1f1e54e453d465af1427730aa5e1b37ac9c [Pipeline] echo 03:05:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f726f1f [Pipeline] echo 03:05:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:05:47 provisioning config files... 03:05:47 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config12876111943950923493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:05:47 ---> ****-login.sh 03:05:47 nexus3.edgexfoundry.org:10001 03:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:47 Configure a credential helper to remove this warning. See 03:05:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:47 03:05:47 Login Succeeded 03:05:47 nexus3.edgexfoundry.org:10002 03:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:47 Configure a credential helper to remove this warning. See 03:05:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:47 03:05:47 Login Succeeded 03:05:47 nexus3.edgexfoundry.org:10003 03:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:47 Configure a credential helper to remove this warning. See 03:05:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:47 03:05:47 Login Succeeded 03:05:47 nexus3.edgexfoundry.org:10004 03:05:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:48 Configure a credential helper to remove this warning. See 03:05:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:48 03:05:48 Login Succeeded 03:05:48 ****.io 03:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:05:48 Configure a credential helper to remove this warning. See 03:05:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:05:48 03:05:48 Login Succeeded 03:05:48 ---> ****-login.sh ends [Pipeline] } 03:05:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:05:48 + git rev-list -1 --merges f726f1f1e54e453d465af1427730aa5e1b37ac9c~1..f726f1f1e54e453d465af1427730aa5e1b37ac9c [Pipeline] echo 03:05:49 -----------> git rev-list -1 --merges f726f1f1e54e453d465af1427730aa5e1b37ac9c~1..f726f1f1e54e453d465af1427730aa5e1b37ac9c f726f1f1e54e453d465af1427730aa5e1b37ac9c [false] [Pipeline] sh 03:05:49 + git log --format=format:%s -1 f726f1f1e54e453d465af1427730aa5e1b37ac9c [Pipeline] echo 03:05:49 ========================================================= 03:05:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:05:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:05:49 + git log --format=format:%s -1 f726f1f1e54e453d465af1427730aa5e1b37ac9c [Pipeline] echo 03:05:49 [semverPrep] GIT_COMMIT: f726f1f1e54e453d465af1427730aa5e1b37ac9c, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo 03:05:49 [semverPrep] This is not a build commit. [Pipeline] sh 03:05:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:05:50 + grep -v github /etc/ssh/ssh_known_hosts 03:05:50 + [ -e /tmp/ssh_known_hosts ] 03:05:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:05:50 + + sudo tee -a /etc/ssh/ssh_known_hosts 03:05:50 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:05:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:05:51 03:05:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:05:52 0.1.4: Pulling from edgex-devops/py-git-semver 03:05:52 b85a868b505f: Pulling fs layer 03:05:52 e2be974225ed: Pulling fs layer 03:05:52 339a4e72a1f5: Pulling fs layer 03:05:52 988bab9f4d93: Pulling fs layer 03:05:52 1469e6f7b9e6: Pulling fs layer 03:05:52 eaf3925da568: Pulling fs layer 03:05:52 bab4dde63d76: Pulling fs layer 03:05:52 bde34c3a00c8: Pulling fs layer 03:05:52 b352a97aabf1: Pulling fs layer 03:05:52 4872d77fe225: Pulling fs layer 03:05:52 5851b861e8e6: Pulling fs layer 03:05:52 988bab9f4d93: Waiting 03:05:52 1469e6f7b9e6: Waiting 03:05:52 eaf3925da568: Waiting 03:05:52 b352a97aabf1: Waiting 03:05:52 5851b861e8e6: Waiting 03:05:52 bde34c3a00c8: Waiting 03:05:52 4872d77fe225: Waiting 03:05:52 bab4dde63d76: Waiting 03:05:52 e2be974225ed: Download complete 03:05:52 988bab9f4d93: Verifying Checksum 03:05:52 988bab9f4d93: Download complete 03:05:52 1469e6f7b9e6: Verifying Checksum 03:05:52 1469e6f7b9e6: Download complete 03:05:52 eaf3925da568: Verifying Checksum 03:05:52 eaf3925da568: Download complete 03:05:52 339a4e72a1f5: Verifying Checksum 03:05:52 339a4e72a1f5: Download complete 03:05:52 bde34c3a00c8: Verifying Checksum 03:05:52 bde34c3a00c8: Download complete 03:05:52 b352a97aabf1: Verifying Checksum 03:05:52 b352a97aabf1: Download complete 03:05:52 4872d77fe225: Verifying Checksum 03:05:52 4872d77fe225: Download complete 03:05:52 5851b861e8e6: Verifying Checksum 03:05:52 5851b861e8e6: Download complete 03:05:52 b85a868b505f: Download complete 03:05:53 bab4dde63d76: Verifying Checksum 03:05:53 bab4dde63d76: Download complete 03:05:54 b85a868b505f: Pull complete 03:05:55 e2be974225ed: Pull complete 03:05:57 339a4e72a1f5: Pull complete 03:05:57 988bab9f4d93: Pull complete 03:05:58 1469e6f7b9e6: Pull complete 03:05:58 eaf3925da568: Pull complete 03:06:01 bab4dde63d76: Pull complete 03:06:02 bde34c3a00c8: Pull complete 03:06:03 b352a97aabf1: Pull complete 03:06:03 4872d77fe225: Pull complete 03:06:04 5851b861e8e6: Pull complete 03:06:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:06:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:06:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:06:05 prd-ubuntu20.04-docker-8c-8g-24999 does not seem to be running inside a container 03:06:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:06:17 $ docker top 5ea501723c2b5e73108fd8d2b6feda0fc49647697975a0d7169331d66067839d -eo pid,comm 03:06:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:06:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:06:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:06:17 [ssh-agent] Looking for ssh-agent implementation... 03:06:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:06:17 $ docker exec 5ea501723c2b5e73108fd8d2b6feda0fc49647697975a0d7169331d66067839d ssh-agent 03:06:17 SSH_AUTH_SOCK=/tmp/ssh-ukkwvxaLebUX/agent.32 03:06:17 SSH_AGENT_PID=38 03:06:17 Running ssh-add (command line suppressed) 03:06:17 Identity added: /w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_14129285612623073370.key (/w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_14129285612623073370.key) 03:06:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:06:17 + git tag --points-at HEAD [Pipeline] } 03:06:17 $ docker exec --env ******** --env ******** 5ea501723c2b5e73108fd8d2b6feda0fc49647697975a0d7169331d66067839d ssh-agent -k 03:06:18 unset SSH_AUTH_SOCK; 03:06:18 unset SSH_AGENT_PID; 03:06:18 echo Agent pid 38 killed; 03:06:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:06:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:06:18 [ssh-agent] Looking for ssh-agent implementation... 03:06:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:06:18 $ docker exec 5ea501723c2b5e73108fd8d2b6feda0fc49647697975a0d7169331d66067839d ssh-agent 03:06:18 SSH_AUTH_SOCK=/tmp/ssh-vMGhpC2ALtzk/agent.71 03:06:18 SSH_AGENT_PID=77 03:06:18 Running ssh-add (command line suppressed) 03:06:18 Identity added: /w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_14723754734043479596.key (/w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_14723754734043479596.key) 03:06:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:06:18 + git semver init 03:06:19 2024-11-08 03:06:19,007 [run_init] DEBUG init version:0.0.0 force:False 03:06:19 2024-11-08 03:06:19,008 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-152/.semver 03:06:19 2024-11-08 03:06:19,008 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-152/.semver 03:06:19 2024-11-08 03:06:19,008 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-152/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-152, universal_newlines=False, shell=None, istream=None) 03:06:21 2024-11-08 03:06:21,090 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-152/.git/info/exclude 03:06:21 2024-11-08 03:06:21,090 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-152/.semver/PR-152 with force:False 03:06:21 2024-11-08 03:06:21,091 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-152/.semver/PR-152 03:06:21 2024-11-08 03:06:21,095 [execute] INFO git cat-file --batch-check 03:06:21 2024-11-08 03:06:21,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-152/.semver, universal_newlines=False, shell=None, istream=) 03:06:21 2024-11-08 03:06:21,117 [execute] INFO git cat-file --batch 03:06:21 2024-11-08 03:06:21,117 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-152/.semver, universal_newlines=False, shell=None, istream=) 03:06:21 2024-11-08 03:06:21,123 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-152/.semver/PR-152 03:06:21 0.0.0 [Pipeline] } 03:06:21 $ docker exec --env ******** --env ******** 5ea501723c2b5e73108fd8d2b6feda0fc49647697975a0d7169331d66067839d ssh-agent -k 03:06:21 unset SSH_AUTH_SOCK; 03:06:21 unset SSH_AGENT_PID; 03:06:21 echo Agent pid 77 killed; 03:06:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:06:22 + git semver [Pipeline] } 03:06:22 $ docker stop --time=1 5ea501723c2b5e73108fd8d2b6feda0fc49647697975a0d7169331d66067839d 03:06:23 $ docker rm -f --volumes 5ea501723c2b5e73108fd8d2b6feda0fc49647697975a0d7169331d66067839d [Pipeline] // withDockerContainer [Pipeline] sh 03:06:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:06:24 Stashed 1 file(s) [Pipeline] echo 03:06: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:06:24 provisioning config files... 03:06:24 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config18366176075608571951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:06:24 ---> ****-login.sh 03:06:24 nexus3.edgexfoundry.org:10001 03:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:24 Configure a credential helper to remove this warning. See 03:06:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:24 03:06:24 Login Succeeded 03:06:24 nexus3.edgexfoundry.org:10002 03:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:24 Configure a credential helper to remove this warning. See 03:06:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:24 03:06:24 Login Succeeded 03:06:24 nexus3.edgexfoundry.org:10003 03:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:25 Configure a credential helper to remove this warning. See 03:06:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:25 03:06:25 Login Succeeded 03:06:25 nexus3.edgexfoundry.org:10004 03:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:25 Configure a credential helper to remove this warning. See 03:06:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:25 03:06:25 Login Succeeded 03:06:25 ****.io 03:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:06:25 Configure a credential helper to remove this warning. See 03:06:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:06:25 03:06:25 Login Succeeded 03:06:25 ---> ****-login.sh ends [Pipeline] } 03:06:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:06:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:06:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:06:25 ========================================================= 03:06:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:06:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:25 + 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:06:25 Sending build context to Docker daemon 9.803MB 03:06:25 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:06:25 Step 2/12 : FROM ${BASE} AS builder 03:06:25 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:06:25 43c4264eed91: Pulling fs layer 03:06:25 4cc291be95ef: Pulling fs layer 03:06:25 2ac1f1163629: Pulling fs layer 03:06:25 5c3c966382ef: Pulling fs layer 03:06:25 4f4fb700ef54: Pulling fs layer 03:06:25 5d5c8e513c77: Pulling fs layer 03:06:25 9f66e0745190: Pulling fs layer 03:06:25 f49a43e4bbc0: Pulling fs layer 03:06:25 561ebcabdf7f: Pulling fs layer 03:06:25 5c3c966382ef: Waiting 03:06:25 4f4fb700ef54: Waiting 03:06:25 5d5c8e513c77: Waiting 03:06:25 9f66e0745190: Waiting 03:06:25 561ebcabdf7f: Waiting 03:06:25 f49a43e4bbc0: Waiting 03:06:25 4cc291be95ef: Download complete 03:06:26 5c3c966382ef: Download complete 03:06:26 4f4fb700ef54: Verifying Checksum 03:06:26 4f4fb700ef54: Download complete 03:06:26 5d5c8e513c77: Verifying Checksum 03:06:26 5d5c8e513c77: Download complete 03:06:26 43c4264eed91: Download complete 03:06:26 9f66e0745190: Verifying Checksum 03:06:26 9f66e0745190: Download complete 03:06:26 43c4264eed91: Pull complete 03:06:26 561ebcabdf7f: Verifying Checksum 03:06:26 561ebcabdf7f: Download complete 03:06:26 4cc291be95ef: Pull complete 03:06:26 2ac1f1163629: Verifying Checksum 03:06:26 2ac1f1163629: Download complete 03:06:26 f49a43e4bbc0: Verifying Checksum 03:06:26 f49a43e4bbc0: Download complete 03:06:32 2ac1f1163629: Pull complete 03:06:33 5c3c966382ef: Pull complete 03:06:34 4f4fb700ef54: Pull complete 03:06:34 5d5c8e513c77: Pull complete 03:06:35 9f66e0745190: Pull complete 03:06:38 f49a43e4bbc0: Pull complete 03:06:38 561ebcabdf7f: Pull complete 03:06:38 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 03:06:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:06:38 ---> 3a752c3f9dda 03:06:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:06:39 Still waiting to schedule task 03:06:39 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:06:46 ---> Running in 884255101c35 03:06:47 Removing intermediate container 884255101c35 03:06:47 ---> aa858189a09b 03:06:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:06:48 ---> Running in 74beadd5ad06 03:06:48 Removing intermediate container 74beadd5ad06 03:06:48 ---> 81699ce0ba8d 03:06:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:06:48 ---> Running in 88282ab062cc 03:06:49 Removing intermediate container 88282ab062cc 03:06:49 ---> d32564aed28c 03:06:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:06:49 ---> Running in bc6657f75ca9 03:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:06:50 OK: 246 MiB in 54 packages 03:06:51 Removing intermediate container bc6657f75ca9 03:06:51 ---> 94b3dc7b364b 03:06:51 Step 7/12 : WORKDIR /app 03:06:51 ---> Running in 6d13170b3958 03:06:52 Removing intermediate container 6d13170b3958 03:06:52 ---> 752871429a53 03:06:52 Step 8/12 : COPY go.mod vendor* ./ 03:06:52 ---> 4eab7a7e8483 03:06:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:06:52 ---> Running in c1c9c904d7da 03:08:29 Removing intermediate container c1c9c904d7da 03:08:29 ---> 0d9d903e5042 03:08:29 Step 10/12 : COPY . . 03:08:29 ---> c08588beb027 03:08:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:08:29 ---> Running in 5ca9e8d327b0 03:08:29 Removing intermediate container 5ca9e8d327b0 03:08:29 ---> 19532aa4873c 03:08:29 Step 12/12 : RUN $MAKE 03:08:29 ---> Running in fff561015233 03:08:29 noop 03:08:29 Removing intermediate container fff561015233 03:08:29 ---> d25477124a56 03:08:29 Successfully built d25477124a56 03:08:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:29 + docker inspect -f . ci-base-image-x86_64 03:08:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:08:29 prd-ubuntu20.04-docker-8c-8g-24999 does not seem to be running inside a container 03:08:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:08:30 $ docker top 522b44193018eed47b24a97a7a6fc6c1afe0e31d6cdeaed21375e09ff28f4e54 -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:30 + go version 03:08:30 go version go1.23.2 linux/amd64 [Pipeline] } 03:08:30 $ docker stop --time=1 522b44193018eed47b24a97a7a6fc6c1afe0e31d6cdeaed21375e09ff28f4e54 03:08:31 $ docker rm -f --volumes 522b44193018eed47b24a97a7a6fc6c1afe0e31d6cdeaed21375e09ff28f4e54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:32 + docker inspect -f . ci-base-image-x86_64 03:08:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:08:32 prd-ubuntu20.04-docker-8c-8g-24999 does not seem to be running inside a container 03:08:32 $ 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-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:08:32 $ docker top 6ea5bd7066d94b6e47178f395d21015e670eda0d52c6ac4272317e5f80cceef9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:32 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-152 [Pipeline] fileExists [Pipeline] sh 03:08:33 + make test 03:08:33 go test -race -coverprofile=coverage.out ./... 03:09:05 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:09:05 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:09:05 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 03:09:05 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 03:09:06 ok github.com/edgexfoundry/app-record-replay/internal/app 1.037s coverage: 88.0% of statements 03:09:16 ok github.com/edgexfoundry/app-record-replay/internal/application 9.586s coverage: 98.7% of statements 03:09:16 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.103s coverage: 89.7% of statements 03:09:16 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.020s coverage: 100.0% of statements 03:09:16 running golangci-lint 03:09:16 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 03:09:16 go version go1.23.2 linux/amd64 03:09:16 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 03:09:16 level=info msg="[config_reader] Used config file .golangci.yml" 03:09:16 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 03:09:42 level=info msg="[loader] Go packages loading at mode 575 (deps|exports_file|files|imports|name|compiled_files|types_sizes) took 27.171425982s" 03:09:42 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 5.290017ms" 03:09:55 level=info msg="[linters_context/goanalysis] analyzers took 54.92393945s with top 10 stages: buildir: 43.2211555s, inspect: 2.133138813s, fact_deprecated: 2.019341853s, ctrlflow: 1.49537317s, printf: 1.348489989s, fact_purity: 1.008284087s, nilness: 799.215299ms, typedness: 625.378952ms, SA5012: 469.653204ms, gosec: 234.637787ms" 03:09:55 level=info msg="[runner] Issues before processing: 10, after processing: 0" 03:09:55 level=info msg="[runner] Processors filtering stat (in/out): path_prettifier: 10/10, cgo: 10/10, skip_files: 10/10, skip_dirs: 10/10, autogenerated_exclude: 10/10, invalid_issue: 10/10, exclude: 10/10, exclude-rules: 10/0, filename_unadjuster: 10/10, identifier_marker: 10/10" 03:09:55 level=info msg="[runner] processing took 961.739µs with stages: identifier_marker: 467.499µs, autogenerated_exclude: 165.693µs, exclude-rules: 133.203µs, skip_dirs: 102.222µs, path_prettifier: 75.321µs, cgo: 4.881µs, invalid_issue: 3.04µs, nolint: 1.89µs, filename_unadjuster: 1.39µs, max_same_issues: 1.37µs, uniq_by_line: 830ns, max_from_linter: 680ns, fixer: 540ns, skip_files: 520ns, exclude: 470ns, sort_results: 420ns, severity-rules: 400ns, source_code: 300ns, diff: 290ns, path_shortener: 270ns, path_prefixer: 260ns, max_per_file_from_linter: 250ns" 03:09:55 level=info msg="[runner] linters took 10.663134643s with stages: goanalysis_metalinter: 10.662010441s" 03:09:55 level=info msg="File cache stats: 0 entries of total size 0B" 03:09:55 level=info msg="Memory: 380 samples, avg is 204.8MB, max is 1011.7MB" 03:09:55 level=info msg="Execution took 37.847542168s" 03:09:55 go vet ./... 03:10:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:10:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:10:01 ./bin/test-attribution-txt.sh [Pipeline] echo 03:10:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:10:01 $ docker stop --time=1 6ea5bd7066d94b6e47178f395d21015e670eda0d52c6ac4272317e5f80cceef9 03:10:08 $ docker rm -f --volumes 6ea5bd7066d94b6e47178f395d21015e670eda0d52c6ac4272317e5f80cceef9 [Pipeline] // withDockerContainer [Pipeline] sh 03:10:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:10:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:10:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:10:10 + ls -al . 03:10:10 total 280 03:10:10 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:08 . 03:10:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:05 .. 03:10:10 -rw-rw-r-- 1 jenkins jenkins 119 Nov 8 03:05 .dockerignore 03:10:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:09 .git 03:10:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:05 .github 03:10:10 -rw-rw-r-- 1 jenkins jenkins 164 Nov 8 03:05 .gitignore 03:10:10 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 03:05 .golangci.yml 03:10:10 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:06 .semver 03:10:10 -rw-rw-r-- 1 jenkins jenkins 20885 Nov 8 03:05 Attribution.txt 03:10:10 -rw-rw-r-- 1 jenkins jenkins 458 Nov 8 03:05 CHANGELOG.md 03:10:10 -rw-rw-r-- 1 jenkins jenkins 1725 Nov 8 03:05 Dockerfile 03:10:10 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:05 GOVERNANCE.md 03:10:10 -rw-rw-r-- 1 jenkins jenkins 681 Nov 8 03:05 Jenkinsfile 03:10:10 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 03:05 LICENSE 03:10:10 -rw-rw-r-- 1 jenkins jenkins 3851 Nov 8 03:05 Makefile 03:10:10 -rw-rw-r-- 1 jenkins jenkins 611 Nov 8 03:05 OWNERS.md 03:10:10 -rw-rw-r-- 1 jenkins jenkins 4107 Nov 8 03:05 README.md 03:10:10 -rw-rw-r-- 1 jenkins jenkins 7789 Nov 8 03:05 Record and Reply.postman_collection.json 03:10:10 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 03:06 VERSION 03:10:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:05 bin 03:10:10 -rw-r--r-- 1 jenkins jenkins 34247 Nov 8 03:09 coverage.out 03:10:10 -rw-rw-r-- 1 jenkins jenkins 7488 Nov 8 03:05 go.mod 03:10:10 -rw-rw-r-- 1 jenkins jenkins 100896 Nov 8 03:05 go.sum 03:10:10 drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 03:05 internal 03:10:10 -rw-rw-r-- 1 jenkins jenkins 913 Nov 8 03:05 main.go 03:10:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:05 openapi 03:10:10 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:05 pkg 03:10:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:05 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:10 + 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=f726f1f1e54e453d465af1427730aa5e1b37ac9c --label arch=amd64 --label version=0.0.0 . 03:10:10 Sending build context to Docker daemon 9.838MB 03:10:10 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 03:10:10 Step 2/27 : FROM ${BASE} AS builder 03:10:10 ---> d25477124a56 03:10:10 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:10:10 ---> Running in 9405389e0709 03:10:10 Removing intermediate container 9405389e0709 03:10:10 ---> 8d20d36a6f4d 03:10:10 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:10:10 ---> Running in 86acbd607d1e 03:10:10 Removing intermediate container 86acbd607d1e 03:10:10 ---> e95e5f00a30b 03:10:10 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:10:10 ---> Running in 4206d64316c3 03:10:10 Removing intermediate container 4206d64316c3 03:10:10 ---> e0274c5ca2e6 03:10:10 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:10:10 ---> Running in 8c4b1d47106b 03:10:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:10:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:10:11 OK: 246 MiB in 54 packages 03:10:12 Removing intermediate container 8c4b1d47106b 03:10:12 ---> 1495b04b35b1 03:10:12 Step 7/27 : WORKDIR /app 03:10:12 ---> Running in 64413ef0018d 03:10:12 Removing intermediate container 64413ef0018d 03:10:12 ---> 0f8dd98766ce 03:10:12 Step 8/27 : COPY go.mod vendor* ./ 03:10:12 ---> 540097ce75b7 03:10:12 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:10:12 ---> Running in 0eaa78774bf7 03:10:13 Removing intermediate container 0eaa78774bf7 03:10:13 ---> 312237713f9c 03:10:13 Step 10/27 : COPY . . 03:10:13 ---> 183fb797d2cf 03:10:13 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:10:13 ---> Running in 89c7bdf55a7f 03:10:14 Removing intermediate container 89c7bdf55a7f 03:10:14 ---> cf4375f3c321 03:10:14 Step 12/27 : RUN $MAKE 03:10:14 ---> Running in 4f0aa9d3f363 03:10:14 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o app-record-replay 03:11:01 Removing intermediate container 4f0aa9d3f363 03:11:01 ---> b0085087d446 03:11:01 Step 13/27 : FROM alpine:3.20 03:11:01 3.20: Pulling from library/alpine 03:11:01 43c4264eed91: Already exists 03:11:01 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 03:11:01 Status: Downloaded newer image for alpine:3.20 03:11:01 ---> 91ef0af61f39 03:11:01 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:11:01 ---> Running in 1001349e8fbb 03:11:01 Removing intermediate container 1001349e8fbb 03:11:01 ---> ab90a85adc1b 03:11:01 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:11:01 ---> Running in 3bf754ec7319 03:11:01 Removing intermediate container 3bf754ec7319 03:11:01 ---> 3c0c785791a5 03:11:01 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:11:01 ---> Running in 991770f39759 03:11:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:11:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:11:01 (1/2) Installing ca-certificates (20240705-r0) 03:11:01 (2/2) Installing dumb-init (1.2.5-r3) 03:11:01 Executing busybox-1.36.1-r29.trigger 03:11:01 Executing ca-certificates-20240705-r0.trigger 03:11:01 OK: 9 MiB in 16 packages 03:11:02 Removing intermediate container 991770f39759 03:11:02 ---> 35ae1dbd308e 03:11:02 Step 17/27 : RUN apk --no-cache upgrade 03:11:02 ---> Running in c4ab1026c38a 03:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:11:03 Upgrading critical system libraries and apk-tools: 03:11:03 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:11:03 Executing busybox-1.36.1-r29.trigger 03:11:03 Continuing the upgrade transaction with new apk-tools: 03:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:11:03 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:11:03 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:11:03 Executing ca-certificates-20240705-r0.trigger 03:11:03 OK: 9 MiB in 16 packages 03:11:04 Removing intermediate container c4ab1026c38a 03:11:04 ---> 42172dd0ed54 03:11:04 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:11:04 ---> 13db55db02fa 03:11:04 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:11:04 ---> 7bda98bd3856 03:11:04 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:11:04 ---> 1cd91ab61c78 03:11:04 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:11:06 ---> f5ad6c863b7b 03:11:06 Step 22/27 : EXPOSE 59712 03:11:06 ---> Running in 58b8c377fe3f 03:11:07 Removing intermediate container 58b8c377fe3f 03:11:07 ---> 0e6148e5afc9 03:11:07 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:11:07 ---> Running in 6aceb5e65640 03:11:07 Removing intermediate container 6aceb5e65640 03:11:07 ---> 26a05f5a4986 03:11:07 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:11:07 ---> Running in 8a1f95657021 03:11:07 Removing intermediate container 8a1f95657021 03:11:07 ---> 9371acee3b05 03:11:07 Step 25/27 : LABEL arch=amd64 03:11:07 ---> Running in bc32b9794295 03:11:07 Removing intermediate container bc32b9794295 03:11:07 ---> 31dd6f24a120 03:11:07 Step 26/27 : LABEL git_sha=f726f1f1e54e453d465af1427730aa5e1b37ac9c 03:11:07 ---> Running in 5b384d12145f 03:11:07 Removing intermediate container 5b384d12145f 03:11:07 ---> 3d7e94926d36 03:11:07 Step 27/27 : LABEL version=0.0.0 03:11:07 ---> Running in f8b334e0bfc3 03:11:07 Removing intermediate container f8b334e0bfc3 03:11:07 ---> 1a4971cb8030 03:11:07 [Warning] One or more build-args [ARCH] were not consumed 03:11:07 Successfully built 1a4971cb8030 03:11:07 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:11:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:08 03:11:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:08 latest: Pulling from edgex-lftools-log-publisher 03:11:08 5eb5b503b376: Pulling fs layer 03:11:08 5c69ac0246d0: Pulling fs layer 03:11:08 ec43610c2a17: Pulling fs layer 03:11:08 3a2ae6a8a46f: Pulling fs layer 03:11:08 33b1e0a273af: Pulling fs layer 03:11:08 5d3b04190fa2: Pulling fs layer 03:11:08 2f39f015ded8: Pulling fs layer 03:11:08 5d3b04190fa2: Waiting 03:11:08 2f39f015ded8: Waiting 03:11:08 3a2ae6a8a46f: Waiting 03:11:08 33b1e0a273af: Waiting 03:11:08 5c69ac0246d0: Download complete 03:11:08 3a2ae6a8a46f: Verifying Checksum 03:11:08 3a2ae6a8a46f: Download complete 03:11:08 33b1e0a273af: Verifying Checksum 03:11:08 33b1e0a273af: Download complete 03:11:08 5d3b04190fa2: Verifying Checksum 03:11:08 5d3b04190fa2: Download complete 03:11:08 ec43610c2a17: Verifying Checksum 03:11:08 ec43610c2a17: Download complete 03:11:08 5eb5b503b376: Verifying Checksum 03:11:08 5eb5b503b376: Download complete 03:11:09 2f39f015ded8: Verifying Checksum 03:11:09 2f39f015ded8: Download complete 03:11:10 5eb5b503b376: Pull complete 03:11:10 5c69ac0246d0: Pull complete 03:11:10 ec43610c2a17: Pull complete 03:11:10 3a2ae6a8a46f: Pull complete 03:11:11 33b1e0a273af: Pull complete 03:11:11 5d3b04190fa2: Pull complete 03:11:16 2f39f015ded8: Pull complete 03:11:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:16 prd-ubuntu20.04-docker-8c-8g-24999 does not seem to be running inside a container 03:11:16 $ 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-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:11:25 $ docker top 006b51beb95bfb8329a2924794a0f2685d175c19ee359f2d36ca7b6625b53151 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:11:26 ---> job-cost.sh 03:11:26 lf-activate-venv: SKIPPING 03:11:26 INFO: No Stack... 03:11:26 INFO: Retrieving Pricing Info for: v3-standard-8 03:11:26 INFO: Archiving Costs [Pipeline] sh 03:11:26 + cat /w/workspace/foundry_app-record-replay_PR-152/archives/cost.csv 03:11:26 + cut -d, -f6 [Pipeline] lock 03:11:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-2-stack-cost] 03:11:26 Resource [jenkins-edgexfoundry-app-record-replay-PR-152-2-stack-cost] did not exist. Created. 03:11:26 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:11:27 + echo total: 0.2199999988079071 [Pipeline] stash 03:11:27 Stashed 1 file(s) [Pipeline] } 03:11:27 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:11:27 $ docker stop --time=1 006b51beb95bfb8329a2924794a0f2685d175c19ee359f2d36ca7b6625b53151 03:11:28 $ docker rm -f --volumes 006b51beb95bfb8329a2924794a0f2685d175c19ee359f2d36ca7b6625b53151 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:24:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25683 in /w/workspace/foundry_app-record-replay_PR-152 [Pipeline] { [Pipeline] ws 03:24:12 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 03:24:15 Selected Git installation does not exist. Using Default 03:24:15 The recommended git tool is: NONE 03:24:22 using credential edgex-jenkins-ssh 03:24:22 Cloning the remote Git repository 03:24:22 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:24:22 > git init /w/workspace/app-record-replay/2 # timeout=10 03:24:22 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:24:22 > git --version # timeout=10 03:24:22 > git --version # 'git version 2.25.1' 03:24:23 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:24:25 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:24:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:24:27 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:24:27 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:24:27 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:24:27 Merging remotes/origin/main commit 62ddbc5b0f189cb0e082a652d86835a7c06dea97 into PR head commit f726f1f1e54e453d465af1427730aa5e1b37ac9c 03:24:28 Merge succeeded, producing f726f1f1e54e453d465af1427730aa5e1b37ac9c 03:24:28 Checking out Revision f726f1f1e54e453d465af1427730aa5e1b37ac9c (PR-152) 03:24:27 > git config core.sparsecheckout # timeout=10 03:24:27 > git checkout -f f726f1f1e54e453d465af1427730aa5e1b37ac9c # timeout=10 03:24:28 > git remote # timeout=10 03:24:28 > git config --get remote.origin.url # timeout=10 03:24:28 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:28 > git merge 62ddbc5b0f189cb0e082a652d86835a7c06dea97 # timeout=10 03:24:28 > git rev-parse HEAD^{commit} # timeout=10 03:24:28 > git config core.sparsecheckout # timeout=10 03:24:28 > git checkout -f f726f1f1e54e453d465af1427730aa5e1b37ac9c # timeout=10 03:24:31 Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:24:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:24:33 % Total % Received % Xferd Average Speed Time Time Time Current 03:24:33 Dload Upload Total Spent Left Speed 03:24:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh 03:24:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:24:34 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 03:24:34 tee /etc/docker/daemon.new 03:24:34 { 03:24:34 "registry-mirrors": [ 03:24:34 "https://nexus3.edgexfoundry.org:10001" 03:24:34 ], 03:24:34 "bip": "10.250.0.254/24", 03:24:34 "hosts": [ 03:24:34 "tcp://0.0.0.0:5555", 03:24:34 "unix:///var/run/docker.sock" 03:24:34 ], 03:24:34 "mtu": 1458, 03:24:34 "selinux-enabled": true, 03:24:34 "seccomp-profile": "/etc/docker/seccomp.json" 03:24:34 } [Pipeline] sh 03:24:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:24:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:53 provisioning config files... 03:24:53 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config4048984045496965782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:53 ---> ****-login.sh 03:24:53 nexus3.edgexfoundry.org:10001 03:24:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:54 Configure a credential helper to remove this warning. See 03:24:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:54 03:24:54 Login Succeeded 03:24:54 nexus3.edgexfoundry.org:10002 03:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:55 Configure a credential helper to remove this warning. See 03:24:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:55 03:24:55 Login Succeeded 03:24:55 nexus3.edgexfoundry.org:10003 03:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:55 Configure a credential helper to remove this warning. See 03:24:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:55 03:24:55 Login Succeeded 03:24:55 nexus3.edgexfoundry.org:10004 03:24:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:56 Configure a credential helper to remove this warning. See 03:24:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:56 03:24:56 Login Succeeded 03:24:56 ****.io 03:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:56 Configure a credential helper to remove this warning. See 03:24:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:56 03:24:56 Login Succeeded 03:24:56 ---> ****-login.sh ends [Pipeline] } 03:24:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:24:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:24:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:24:57 ========================================================= 03:24:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 03:24:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:57 + 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:24:57 Sending build context to Docker daemon 337.9kB 03:24:57 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:24:57 Step 2/12 : FROM ${BASE} AS builder 03:24:58 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:24:58 cf04c63912e1: Pulling fs layer 03:24:58 55b35a11ae5e: Pulling fs layer 03:24:58 a37a00ec5f00: Pulling fs layer 03:24:58 50b3750afda1: Pulling fs layer 03:24:58 4f4fb700ef54: Pulling fs layer 03:24:58 80978eb59214: Pulling fs layer 03:24:58 c9f46d7d2bd2: Pulling fs layer 03:24:58 c5a475d317c9: Pulling fs layer 03:24:58 4f4fb700ef54: Waiting 03:24:58 50b3750afda1: Waiting 03:24:58 c9f46d7d2bd2: Waiting 03:24:58 c5a475d317c9: Waiting 03:24:58 80978eb59214: Waiting 03:24:58 55b35a11ae5e: Verifying Checksum 03:24:58 55b35a11ae5e: Download complete 03:24:58 50b3750afda1: Verifying Checksum 03:24:58 50b3750afda1: Download complete 03:24:58 4f4fb700ef54: Verifying Checksum 03:24:58 4f4fb700ef54: Download complete 03:24:58 80978eb59214: Verifying Checksum 03:24:58 80978eb59214: Download complete 03:24:58 cf04c63912e1: Verifying Checksum 03:24:58 cf04c63912e1: Download complete 03:24:59 c5a475d317c9: Verifying Checksum 03:24:59 c5a475d317c9: Download complete 03:24:59 cf04c63912e1: Pull complete 03:25:00 55b35a11ae5e: Pull complete 03:25:00 a37a00ec5f00: Verifying Checksum 03:25:00 a37a00ec5f00: Download complete 03:25:01 c9f46d7d2bd2: Verifying Checksum 03:25:01 c9f46d7d2bd2: Download complete 03:25:16 a37a00ec5f00: Pull complete 03:25:16 50b3750afda1: Pull complete 03:25:16 4f4fb700ef54: Pull complete 03:25:16 80978eb59214: Pull complete 03:25:25 c9f46d7d2bd2: Pull complete 03:25:25 c5a475d317c9: Pull complete 03:25:25 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 03:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 03:25:25 ---> be29e6b0f0d4 03:25:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:25:27 ---> Running in 629668b4afbd 03:25:27 Removing intermediate container 629668b4afbd 03:25:27 ---> 1ab32fd4dd20 03:25:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:25:27 ---> Running in 0635270e6e17 03:25:27 Removing intermediate container 0635270e6e17 03:25:27 ---> 653ee1379b11 03:25:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:25:27 ---> Running in b85cd628fab8 03:25:28 Removing intermediate container b85cd628fab8 03:25:28 ---> c8d10c813296 03:25:28 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:25:28 ---> Running in af0a4011258b 03:25:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:25:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:25:31 OK: 238 MiB in 54 packages 03:25:32 Removing intermediate container af0a4011258b 03:25:32 ---> d63e06ec5840 03:25:32 Step 7/12 : WORKDIR /app 03:25:32 ---> Running in 560760a673a4 03:25:33 Removing intermediate container 560760a673a4 03:25:33 ---> 3342cb4e919c 03:25:33 Step 8/12 : COPY go.mod vendor* ./ 03:25:34 ---> 6957e33a230b 03:25:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:34 ---> Running in 54fc4bc7c868 03:27:42 Removing intermediate container 54fc4bc7c868 03:27:42 ---> 3d8e198568d8 03:27:42 Step 10/12 : COPY . . 03:27:42 ---> 74884116640a 03:27:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:27:42 ---> Running in 91cd5c5e08fa 03:27:42 Removing intermediate container 91cd5c5e08fa 03:27:42 ---> 85784883467b 03:27:42 Step 12/12 : RUN $MAKE 03:27:42 ---> Running in 9d55614e3140 03:27:42 noop 03:27:43 Removing intermediate container 9d55614e3140 03:27:43 ---> 0f825923018b 03:27:43 Successfully built 0f825923018b 03:27:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:44 + docker inspect -f . ci-base-image-arm64 03:27:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:44 prd-ubuntu20.04-docker-arm64-4c-16g-25683 does not seem to be running inside a container 03:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:27:46 $ docker top c2ce481d6e1c35e39ac83ec6ec36c2ed4cca1fe0c91b69aecaab94c1552b8fee -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:47 + go version 03:27:47 go version go1.23.2 linux/arm64 [Pipeline] } 03:27:47 $ docker stop --time=1 c2ce481d6e1c35e39ac83ec6ec36c2ed4cca1fe0c91b69aecaab94c1552b8fee 03:27:48 $ docker rm -f --volumes c2ce481d6e1c35e39ac83ec6ec36c2ed4cca1fe0c91b69aecaab94c1552b8fee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:49 + docker inspect -f . ci-base-image-arm64 03:27:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:49 prd-ubuntu20.04-docker-arm64-4c-16g-25683 does not seem to be running inside a container 03:27:49 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:27:51 $ docker top 5f12d21541110092ebe10d141a4199f20cbb797b6eace592a3fd8e6bff0600b7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:52 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 03:27:53 + make test 03:27:53 go test -race -coverprofile=coverage.out ./... 03:34:15 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 03:34:24 ok github.com/edgexfoundry/app-record-replay/internal/app 1.154s coverage: 88.0% of statements 03:34:28 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:34:28 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 03:34:31 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:34:38 ok github.com/edgexfoundry/app-record-replay/internal/application 9.924s coverage: 98.7% of statements 03:34:38 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.529s coverage: 89.7% of statements 03:34:38 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.084s coverage: 100.0% of statements 03:34:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:34:39 go vet ./... 03:40:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:40:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:40:17 ./bin/test-attribution-txt.sh [Pipeline] echo 03:40:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:40:18 $ docker stop --time=1 5f12d21541110092ebe10d141a4199f20cbb797b6eace592a3fd8e6bff0600b7 03:40:21 $ docker rm -f --volumes 5f12d21541110092ebe10d141a4199f20cbb797b6eace592a3fd8e6bff0600b7 [Pipeline] // withDockerContainer [Pipeline] sh 03:40:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:40:24 Warning: overwriting stash ‘coverage-report’ 03:40:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:40:26 + ls -al . 03:40:26 total 276 03:40:26 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 03:27 . 03:40:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:24 .. 03:40:26 -rw-rw-r-- 1 jenkins jenkins 119 Nov 8 03:24 .dockerignore 03:40:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:24 .git 03:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:24 .github 03:40:26 -rw-rw-r-- 1 jenkins jenkins 164 Nov 8 03:24 .gitignore 03:40:26 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 03:24 .golangci.yml 03:40:26 -rw-rw-r-- 1 jenkins jenkins 20885 Nov 8 03:24 Attribution.txt 03:40:26 -rw-rw-r-- 1 jenkins jenkins 458 Nov 8 03:24 CHANGELOG.md 03:40:26 -rw-rw-r-- 1 jenkins jenkins 1725 Nov 8 03:24 Dockerfile 03:40:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:24 GOVERNANCE.md 03:40:26 -rw-rw-r-- 1 jenkins jenkins 681 Nov 8 03:24 Jenkinsfile 03:40:26 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 03:24 LICENSE 03:40:26 -rw-rw-r-- 1 jenkins jenkins 3851 Nov 8 03:24 Makefile 03:40:26 -rw-rw-r-- 1 jenkins jenkins 611 Nov 8 03:24 OWNERS.md 03:40:26 -rw-rw-r-- 1 jenkins jenkins 4107 Nov 8 03:24 README.md 03:40:26 -rw-rw-r-- 1 jenkins jenkins 7789 Nov 8 03:24 Record and Reply.postman_collection.json 03:40:26 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 03:06 VERSION 03:40:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:24 bin 03:40:26 -rw-r--r-- 1 jenkins jenkins 34247 Nov 8 03:34 coverage.out 03:40:26 -rw-rw-r-- 1 jenkins jenkins 7488 Nov 8 03:24 go.mod 03:40:26 -rw-rw-r-- 1 jenkins jenkins 100896 Nov 8 03:24 go.sum 03:40:26 drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 03:24 internal 03:40:26 -rw-rw-r-- 1 jenkins jenkins 913 Nov 8 03:24 main.go 03:40:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:24 openapi 03:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:24 pkg 03:40:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:24 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:26 + 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=f726f1f1e54e453d465af1427730aa5e1b37ac9c --label arch=arm64 --label version=0.0.0 . 03:40:27 Sending build context to Docker daemon 372.7kB 03:40:27 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 03:40:27 Step 2/27 : FROM ${BASE} AS builder 03:40:27 ---> 0f825923018b 03:40:27 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:40:27 ---> Running in 2b9f3557d23b 03:40:27 Removing intermediate container 2b9f3557d23b 03:40:27 ---> 9c05104cb217 03:40:27 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:40:27 ---> Running in f06b8f32e9e1 03:40:28 Removing intermediate container f06b8f32e9e1 03:40:28 ---> a66837317def 03:40:28 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:40:28 ---> Running in 661b111ba0a3 03:40:28 Removing intermediate container 661b111ba0a3 03:40:28 ---> cdb117c926e5 03:40:28 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:40:28 ---> Running in 25f6820275e4 03:40:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:40:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:40:33 OK: 238 MiB in 54 packages 03:40:34 Removing intermediate container 25f6820275e4 03:40:34 ---> 12cc1c67ffce 03:40:34 Step 7/27 : WORKDIR /app 03:40:34 ---> Running in f8e462ba27bc 03:40:34 Removing intermediate container f8e462ba27bc 03:40:34 ---> d2b4229b1871 03:40:34 Step 8/27 : COPY go.mod vendor* ./ 03:40:35 ---> 0c6794bfbf43 03:40:35 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:40:35 ---> Running in e8cd2c5ad98a 03:40:38 Removing intermediate container e8cd2c5ad98a 03:40:38 ---> 983364914066 03:40:38 Step 10/27 : COPY . . 03:40:39 ---> 07485acaca8e 03:40:39 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:40:39 ---> Running in 246855c38fda 03:40:39 Removing intermediate container 246855c38fda 03:40:39 ---> a1c31943ac5e 03:40:39 Step 12/27 : RUN $MAKE 03:40:40 ---> Running in 25dd20d7cdee 03:40:41 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o app-record-replay 03:45:49 Removing intermediate container 25dd20d7cdee 03:45:49 ---> 796fd6f9b4b3 03:45:49 Step 13/27 : FROM alpine:3.20 03:45:49 3.20: Pulling from library/alpine 03:45:49 cf04c63912e1: Already exists 03:45:49 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 03:45:49 Status: Downloaded newer image for alpine:3.20 03:45:49 ---> c157a85ed455 03:45:49 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:45:49 ---> Running in 43ca16dfd9a1 03:45:49 Removing intermediate container 43ca16dfd9a1 03:45:49 ---> 4f2da4d86046 03:45:49 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:45:49 ---> Running in 31661a030bfd 03:45:49 Removing intermediate container 31661a030bfd 03:45:49 ---> 1bc50a45a7c5 03:45:49 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:45:49 ---> Running in 82bbf0c73f05 03:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:45:49 (1/2) Installing ca-certificates (20240705-r0) 03:45:49 (2/2) Installing dumb-init (1.2.5-r3) 03:45:49 Executing busybox-1.36.1-r29.trigger 03:45:49 Executing ca-certificates-20240705-r0.trigger 03:45:49 OK: 10 MiB in 16 packages 03:45:49 Removing intermediate container 82bbf0c73f05 03:45:49 ---> 0483f27446a7 03:45:49 Step 17/27 : RUN apk --no-cache upgrade 03:45:49 ---> Running in ed5fe4362472 03:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:45:49 Upgrading critical system libraries and apk-tools: 03:45:49 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:45:49 Executing busybox-1.36.1-r29.trigger 03:45:49 Continuing the upgrade transaction with new apk-tools: 03:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:45:49 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:45:49 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:45:49 Executing ca-certificates-20240705-r0.trigger 03:45:49 OK: 10 MiB in 16 packages 03:45:49 Removing intermediate container ed5fe4362472 03:45:49 ---> d039d060418d 03:45:49 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:45:50 ---> 83fca528a47c 03:45:50 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:45:50 ---> ea9c1fb9c573 03:45:50 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:45:51 ---> b4d664979199 03:45:51 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:45:54 ---> 273397e50ce2 03:45:54 Step 22/27 : EXPOSE 59712 03:45:54 ---> Running in cda18e3ab34c 03:45:54 Removing intermediate container cda18e3ab34c 03:45:54 ---> a7385811f5d7 03:45:54 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:45:54 ---> Running in 7868d88fb33a 03:45:54 Removing intermediate container 7868d88fb33a 03:45:54 ---> 666a1bd8f85d 03:45:54 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:45:54 ---> Running in 2f5c29a91c62 03:45:55 Removing intermediate container 2f5c29a91c62 03:45:55 ---> 3ac2dd99dc48 03:45:55 Step 25/27 : LABEL arch=arm64 03:45:55 ---> Running in 86f7d1a07fbb 03:45:55 Removing intermediate container 86f7d1a07fbb 03:45:55 ---> fc997bf175b5 03:45:55 Step 26/27 : LABEL git_sha=f726f1f1e54e453d465af1427730aa5e1b37ac9c 03:45:56 ---> Running in 6e3141929aec 03:45:56 Removing intermediate container 6e3141929aec 03:45:56 ---> 9daa49d23584 03:45:56 Step 27/27 : LABEL version=0.0.0 03:45:56 ---> Running in 81b935ffe11f 03:45:56 Removing intermediate container 81b935ffe11f 03:45:56 ---> ce70c75fa5ed 03:45:56 [Warning] One or more build-args [ARCH] were not consumed 03:45:56 Successfully built ce70c75fa5ed 03:45:56 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:45:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:45:57 03:45:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:45:58 arm64: Pulling from edgex-lftools-log-publisher 03:45:58 8998bd30e6a1: Pulling fs layer 03:45:58 04944245beec: Pulling fs layer 03:45:58 699f458cf7ca: Pulling fs layer 03:45:58 765212b225bb: Pulling fs layer 03:45:58 f23df028b6ca: Pulling fs layer 03:45:58 d65c8cfc05b1: Pulling fs layer 03:45:58 2437ff75d9bd: Pulling fs layer 03:45:58 765212b225bb: Waiting 03:45:58 d65c8cfc05b1: Waiting 03:45:58 f23df028b6ca: Waiting 03:45:58 2437ff75d9bd: Waiting 03:45:58 04944245beec: Verifying Checksum 03:45:58 04944245beec: Download complete 03:45:58 765212b225bb: Verifying Checksum 03:45:58 765212b225bb: Download complete 03:45:58 f23df028b6ca: Download complete 03:45:58 d65c8cfc05b1: Verifying Checksum 03:45:58 d65c8cfc05b1: Download complete 03:45:58 699f458cf7ca: Verifying Checksum 03:45:58 699f458cf7ca: Download complete 03:45:58 8998bd30e6a1: Verifying Checksum 03:45:58 8998bd30e6a1: Download complete 03:46:01 2437ff75d9bd: Verifying Checksum 03:46:01 2437ff75d9bd: Download complete 03:46:04 8998bd30e6a1: Pull complete 03:46:04 04944245beec: Pull complete 03:46:06 699f458cf7ca: Pull complete 03:46:06 765212b225bb: Pull complete 03:46:07 f23df028b6ca: Pull complete 03:46:07 d65c8cfc05b1: Pull complete 03:46:25 2437ff75d9bd: Pull complete 03:46:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:46:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:46:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:26 prd-ubuntu20.04-docker-arm64-4c-16g-25683 does not seem to be running inside a container 03:46:26 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:46:29 $ docker top 3eb3ebd47b1909b7cfa206a0d89cce02427886efae0c679b21d44ae5c2ed70e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:46:29 ---> job-cost.sh 03:46:29 lf-activate-venv: SKIPPING 03:46:29 INFO: No Stack... 03:46:30 INFO: Retrieving Pricing Info for: v3-standard-4 03:46:31 INFO: Archiving Costs [Pipeline] sh 03:46:32 + cat /w/workspace/app-record-replay/2/archives/cost.csv 03:46:32 + cut -d, -f6 [Pipeline] lock 03:46:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-2-stack-cost] 03:46:32 Resource [jenkins-edgexfoundry-app-record-replay-PR-152-2-stack-cost] did not exist. Created. 03:46:32 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:46:32 /w/workspace/app-record-replay/2@tmp/durable-cdeaf2d2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:46:33 + echo total: 0.10999999940395355 [Pipeline] stash 03:46:33 Warning: overwriting stash ‘stack-cost’ 03:46:33 Stashed 1 file(s) [Pipeline] } 03:46:33 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:46:33 $ docker stop --time=1 3eb3ebd47b1909b7cfa206a0d89cce02427886efae0c679b21d44ae5c2ed70e5 03:46:35 $ docker rm -f --volumes 3eb3ebd47b1909b7cfa206a0d89cce02427886efae0c679b21d44ae5c2ed70e5 [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:46:35 provisioning config files... 03:46:35 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config8278253974272051979tmp [Pipeline] { [Pipeline] sh 03:46:36 + set +x 03:46:36 + + curl -s https://codecov.io/bash 03:46:36 bash -s -- 03:46:36 03:46:36 _____ _ 03:46:36 / ____| | | 03:46:36 | | ___ __| | ___ ___ _____ __ 03:46:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:46:36 | |___| (_) | (_| | __/ (_| (_) \ V / 03:46:36 \_____\___/ \__,_|\___|\___\___/ \_/ 03:46:36 Bash-1.0.6 03:46:36 03:46:36 03:46:36 ==> git version 2.25.1 found 03:46:36 ==> 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:46:36 Release-Date: 2020-01-08 03:46:36 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:46:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:46:36 ==> Jenkins CI detected. 03:46:36 current dir:  /w/workspace/foundry_app-record-replay_PR-152 03:46:36 project root: . 03:46:36 --> token set from env 03:46:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:46:36 ==> Running gcov in . (disable via -X gcov) 03:46:36 ==> Python coveragepy not found 03:46:36 ==> Searching for coverage reports in: 03:46:36 + . 03:46:36 -> Found 1 reports 03:46:36 ==> Detecting git/mercurial file structure 03:46:36 ==> Reading reports 03:46:36 + ./coverage.out bytes=34247 03:46:36 ==> Appending adjustments 03:46:36 https://docs.codecov.io/docs/fixing-reports 03:46:36 + Found adjustments 03:46:36 ==> Gzipping contents 03:46:36 8.0K /tmp/codecov.wY6Mr0.gz 03:46:36 ==> Uploading reports 03:46:36 url: https://codecov.io 03:46:36 query: branch=PR-152&commit=f726f1f1e54e453d465af1427730aa5e1b37ac9c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-152%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=152&job=&cmd_args= 03:46:36 -> Pinging Codecov 03:46:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-152&commit=f726f1f1e54e453d465af1427730aa5e1b37ac9c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-152%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=152&job=&cmd_args= 03:46:36 -> Uploading to 03:46:36 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/f726f1f1e54e453d465af1427730aa5e1b37ac9c/38144f2e-d50b-4211-9bc3-345059ddb4c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T034636Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e02ac550dec2dc41dcd31b78fc4b96390bc0a42791d713c1b9d39a9ea76acfca 03:46:36 % Total % Received % Xferd Average Speed Time Time Time Current 03:46:36 Dload Upload Total Spent Left Speed 03:46:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5391 0 0 100 5391 0 24283 --:--:-- --:--:-- --:--:-- 24174 03:46:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/f726f1f1e54e453d465af1427730aa5e1b37ac9c [Pipeline] } 03:46:36 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:46:37 + [ -d /w/workspace/foundry_app-record-replay_PR-152/archives ] 03:46:37 + ls -al /w/workspace/foundry_app-record-replay_PR-152/archives 03:46:37 total 16 03:46:37 drwxr-xr-x 3 root root 4096 Nov 8 03:11 . 03:46:37 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 03:11 .. 03:46:37 drwxr-xr-x 2 root root 4096 Nov 8 03:11 cost 03:46:37 -rw-r--r-- 1 root root 89 Nov 8 03:11 cost.csv 03:46:37 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-152/archives 03:46:37 + ls -al /w/workspace/foundry_app-record-replay_PR-152/archives 03:46:37 total 16 03:46:37 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:11 . 03:46:37 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 03:11 .. 03:46:37 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 03:11 cost 03:46:37 -rw-r--r-- 1 jenkins jenkins 89 Nov 8 03:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:46:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:46:39 ---> package-listing.sh 03:46:39 ++ facter osfamily 03:46:39 ++ tr '[:upper:]' '[:lower:]' 03:46:39 + OS_FAMILY=debian 03:46:39 + workspace=/w/workspace/foundry_app-record-replay_PR-152 03:46:39 + START_PACKAGES=/tmp/packages_start.txt 03:46:39 + END_PACKAGES=/tmp/packages_end.txt 03:46:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:46:39 + PACKAGES=/tmp/packages_start.txt 03:46:39 + '[' /w/workspace/foundry_app-record-replay_PR-152 ']' 03:46:39 + PACKAGES=/tmp/packages_end.txt 03:46:39 + case "${OS_FAMILY}" in 03:46:39 + dpkg -l 03:46:39 + grep '^ii' 03:46:39 + '[' -f /tmp/packages_start.txt ']' 03:46:39 + '[' -f /tmp/packages_end.txt ']' 03:46:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:46:39 + '[' /w/workspace/foundry_app-record-replay_PR-152 ']' 03:46:39 + mkdir -p /w/workspace/foundry_app-record-replay_PR-152/archives/ 03:46:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-152/archives/ [Pipeline] echo 03:46:39 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:46:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:46:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:40 prd-ubuntu20.04-docker-8c-8g-24999 does not seem to be running inside a container 03:46:40 $ 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-152/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-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:46:40 $ docker top bd1726f9a43e6e982557e501277139f17caf072bee2b909849b0e807a1f296c6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:46:41 + touch /tmp/pre-build-complete [Pipeline] sh 03:46:41 + mkdir -p /var/log/sysstat [Pipeline] sh 03:46:41 + ls /var/log/sa-host 03:46:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:46:41 provisioning config files... 03:46:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config8631400702730395769tmp [Pipeline] { [Pipeline] echo 03:46:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:46:41 ---> create-netrc.sh [Pipeline] } 03:46:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:46:42 ---> python-tools-install.sh [Pipeline] echo 03:46:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:46:42 ---> sudo-logs.sh 03:46:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:46:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:46:42 ---> job-cost.sh 03:46:42 lf-activate-venv: SKIPPING 03:46:42 DEBUG: total: 0.2199999988079071 03:46:42 INFO: Retrieving Stack Cost... 03:46:43 INFO: Retrieving Pricing Info for: v3-standard-8 03:46:43 INFO: Archiving Costs [Pipeline] echo 03:46:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:46:44 ---> logs-deploy.sh 03:46:44 lf-activate-venv: SKIPPING 03:46:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-152/2 03:46:44 INFO: archiving workspace using pattern(s): 03:46:44 Archives upload complete. 03:46:45 INFO: archiving logs to Nexus 03:46:45 ---> uname -a: 03:46:45 Linux prd-ubuntu20-04-docker-8c-8g-24999 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:46:45 03:46:45 03:46:45 ---> lscpu: 03:46:45 Architecture: x86_64 03:46:45 CPU op-mode(s): 32-bit, 64-bit 03:46:45 Byte Order: Little Endian 03:46:45 Address sizes: 40 bits physical, 48 bits virtual 03:46:45 CPU(s): 8 03:46:45 On-line CPU(s) list: 0-7 03:46:45 Thread(s) per core: 1 03:46:45 Core(s) per socket: 1 03:46:45 Socket(s): 8 03:46:45 NUMA node(s): 1 03:46:45 Vendor ID: AuthenticAMD 03:46:45 CPU family: 23 03:46:45 Model: 49 03:46:45 Model name: AMD EPYC-Rome Processor 03:46:45 Stepping: 0 03:46:45 CPU MHz: 2800.000 03:46:45 BogoMIPS: 5600.00 03:46:45 Virtualization: AMD-V 03:46:45 Hypervisor vendor: KVM 03:46:45 Virtualization type: full 03:46:45 L1d cache: 256 KiB 03:46:45 L1i cache: 256 KiB 03:46:45 L2 cache: 4 MiB 03:46:45 L3 cache: 128 MiB 03:46:45 NUMA node0 CPU(s): 0-7 03:46:45 Vulnerability Itlb multihit: Not affected 03:46:45 Vulnerability L1tf: Not affected 03:46:45 Vulnerability Mds: Not affected 03:46:45 Vulnerability Meltdown: Not affected 03:46:45 Vulnerability Mmio stale data: Not affected 03:46:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:46:45 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:46:45 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:46:45 Vulnerability Srbds: Not affected 03:46:45 Vulnerability Tsx async abort: Not affected 03:46:45 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:46:45 03:46:45 03:46:45 ---> nproc: 03:46:45 8 03:46:45 03:46:45