Pull request #149 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/app-record-replay Obtained Jenkinsfile from 3122737150792d1db66637461d446b3c7de78dbd+fb1cfc1ed001b91dc8782235128666e14fb0baf6 (6433fe83d7ed9f448d8825184e711266863b7489) 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-ssh577677552719878953.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-ssh5221594931588979178.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15565109283771843871.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh228259891647718143.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16818708825870750561.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9529775042271568436.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23262 in /w/workspace/foundry_app-record-replay_PR-149 [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-149 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fb1cfc1ed001b91dc8782235128666e14fb0baf6 into PR head commit 3122737150792d1db66637461d446b3c7de78dbd > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3122737150792d1db66637461d446b3c7de78dbd # timeout=10 Merge succeeded, producing 3122737150792d1db66637461d446b3c7de78dbd Checking out Revision 3122737150792d1db66637461d446b3c7de78dbd (PR-149) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fb1cfc1ed001b91dc8782235128666e14fb0baf6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3122737150792d1db66637461d446b3c7de78dbd # timeout=10 Commit message: "build: Upgrade core-contracts and sdk" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:23:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:23:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:23:16 ========================================================= 12:23:16 EdgeX Global Pipelines Version Info 12:23:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:23:17 ------------------- 12:23:17 stable info: 12:23:17 ------------------- 12:23:17 Commited By: Ginny Guan ginny@iotechsys.com 12:23:17 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 12:23:17 Message: update stable to v1.0.265 12:23:18 ------------------- 12:23:18 experimental info: 12:23:18 ------------------- 12:23:18 Commited By: Cherry Wang cherry@iotechsys.com 12:23:18 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 12:23:18 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:23:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 12:23:18 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 12:23:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:23:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:23:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:23:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 12:23:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:23:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:23:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:23:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:23:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:23:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:23:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 12:23:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 12:23:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 12:23:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3122737150792d1db66637461d446b3c7de78dbd [Pipeline] echo 12:23:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3122737 [Pipeline] echo 12:23:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:23:20 provisioning config files... 12:23:20 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-149@tmp/config7090977757789643303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:21 ---> ****-login.sh 12:23:21 nexus3.edgexfoundry.org:10001 12:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:21 Configure a credential helper to remove this warning. See 12:23:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:21 12:23:21 Login Succeeded 12:23:21 nexus3.edgexfoundry.org:10002 12:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:21 Configure a credential helper to remove this warning. See 12:23:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:21 12:23:21 Login Succeeded 12:23:21 nexus3.edgexfoundry.org:10003 12:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:21 Configure a credential helper to remove this warning. See 12:23:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:21 12:23:21 Login Succeeded 12:23:21 nexus3.edgexfoundry.org:10004 12:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:21 Configure a credential helper to remove this warning. See 12:23:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:21 12:23:21 Login Succeeded 12:23:21 ****.io 12:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:22 Configure a credential helper to remove this warning. See 12:23:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:22 12:23:22 Login Succeeded 12:23:22 ---> ****-login.sh ends [Pipeline] } 12:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:23:22 + git rev-list -1 --merges 3122737150792d1db66637461d446b3c7de78dbd~1..3122737150792d1db66637461d446b3c7de78dbd [Pipeline] echo 12:23:22 -----------> git rev-list -1 --merges 3122737150792d1db66637461d446b3c7de78dbd~1..3122737150792d1db66637461d446b3c7de78dbd 3122737150792d1db66637461d446b3c7de78dbd [false] [Pipeline] sh 12:23:23 + git log --format=format:%s -1 3122737150792d1db66637461d446b3c7de78dbd [Pipeline] echo 12:23:23 ========================================================= 12:23:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:23:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:23:23 + git log --format=format:%s -1 3122737150792d1db66637461d446b3c7de78dbd [Pipeline] echo 12:23:23 [semverPrep] GIT_COMMIT: 3122737150792d1db66637461d446b3c7de78dbd, Commit Message: build: Upgrade core-contracts and sdk [Pipeline] echo 12:23:23 [semverPrep] This is not a build commit. [Pipeline] sh 12:23:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:23:24 + grep -v github /etc/ssh/ssh_known_hosts 12:23:24 + [ -e /tmp/ssh_known_hosts ] 12:23:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:23:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:23:24 + sudo tee -a /etc/ssh/ssh_known_hosts 12:23:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:23:24 12:23:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:23:25 0.1.4: Pulling from edgex-devops/py-git-semver 12:23:25 b85a868b505f: Pulling fs layer 12:23:25 e2be974225ed: Pulling fs layer 12:23:25 339a4e72a1f5: Pulling fs layer 12:23:25 988bab9f4d93: Pulling fs layer 12:23:25 1469e6f7b9e6: Pulling fs layer 12:23:25 eaf3925da568: Pulling fs layer 12:23:25 bab4dde63d76: Pulling fs layer 12:23:25 bde34c3a00c8: Pulling fs layer 12:23:25 b352a97aabf1: Pulling fs layer 12:23:25 4872d77fe225: Pulling fs layer 12:23:25 5851b861e8e6: Pulling fs layer 12:23:25 eaf3925da568: Waiting 12:23:25 bab4dde63d76: Waiting 12:23:25 bde34c3a00c8: Waiting 12:23:25 b352a97aabf1: Waiting 12:23:25 4872d77fe225: Waiting 12:23:25 5851b861e8e6: Waiting 12:23:25 988bab9f4d93: Waiting 12:23:25 e2be974225ed: Verifying Checksum 12:23:25 e2be974225ed: Download complete 12:23:25 988bab9f4d93: Verifying Checksum 12:23:25 988bab9f4d93: Download complete 12:23:25 1469e6f7b9e6: Verifying Checksum 12:23:25 1469e6f7b9e6: Download complete 12:23:25 eaf3925da568: Download complete 12:23:25 339a4e72a1f5: Verifying Checksum 12:23:25 339a4e72a1f5: Download complete 12:23:25 bde34c3a00c8: Verifying Checksum 12:23:25 bde34c3a00c8: Download complete 12:23:25 b352a97aabf1: Verifying Checksum 12:23:25 b352a97aabf1: Download complete 12:23:25 4872d77fe225: Download complete 12:23:25 5851b861e8e6: Verifying Checksum 12:23:25 5851b861e8e6: Download complete 12:23:25 b85a868b505f: Verifying Checksum 12:23:25 b85a868b505f: Download complete 12:23:25 bab4dde63d76: Verifying Checksum 12:23:25 bab4dde63d76: Download complete 12:23:26 b85a868b505f: Pull complete 12:23:26 e2be974225ed: Pull complete 12:23:27 339a4e72a1f5: Pull complete 12:23:27 988bab9f4d93: Pull complete 12:23:27 1469e6f7b9e6: Pull complete 12:23:27 eaf3925da568: Pull complete 12:23:29 bab4dde63d76: Pull complete 12:23:29 bde34c3a00c8: Pull complete 12:23:29 b352a97aabf1: Pull complete 12:23:29 4872d77fe225: Pull complete 12:23:30 5851b861e8e6: Pull complete 12:23:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:23:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:23:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:30 prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container 12:23:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:23:32 $ docker top 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a -eo pid,comm 12:23:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:23:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:23:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:23:33 [ssh-agent] Looking for ssh-agent implementation... 12:23:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:23:33 $ docker exec 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a ssh-agent 12:23:33 SSH_AUTH_SOCK=/tmp/ssh-PZDUTpyhPf7A/agent.34 12:23:33 SSH_AGENT_PID=40 12:23:33 Running ssh-add (command line suppressed) 12:23:33 Identity added: /w/workspace/foundry_app-record-replay_PR-149@tmp/private_key_10367475791199803782.key (/w/workspace/foundry_app-record-replay_PR-149@tmp/private_key_10367475791199803782.key) 12:23:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:23:33 + git tag --points-at HEAD [Pipeline] } 12:23:33 $ docker exec --env ******** --env ******** 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a ssh-agent -k 12:23:34 unset SSH_AUTH_SOCK; 12:23:34 unset SSH_AGENT_PID; 12:23:34 echo Agent pid 40 killed; 12:23:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:23:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:23:34 [ssh-agent] Looking for ssh-agent implementation... 12:23:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:23:34 $ docker exec 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a ssh-agent 12:23:34 SSH_AUTH_SOCK=/tmp/ssh-JgXz8MiupLfx/agent.73 12:23:34 SSH_AGENT_PID=79 12:23:34 Running ssh-add (command line suppressed) 12:23:34 Identity added: /w/workspace/foundry_app-record-replay_PR-149@tmp/private_key_198014525833270982.key (/w/workspace/foundry_app-record-replay_PR-149@tmp/private_key_198014525833270982.key) 12:23:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:23:34 + git semver init 12:23:35 2024-10-18 12:23:34,988 [run_init] DEBUG init version:0.0.0 force:False 12:23:35 2024-10-18 12:23:34,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-149/.semver 12:23:35 2024-10-18 12:23:34,990 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-149/.semver 12:23:35 2024-10-18 12:23:34,990 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-149/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-149, universal_newlines=False, shell=None, istream=None) 12:23:36 2024-10-18 12:23:36,694 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-149/.git/info/exclude 12:23:36 2024-10-18 12:23:36,694 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-149/.semver/PR-149 with force:False 12:23:36 2024-10-18 12:23:36,694 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-149/.semver/PR-149 12:23:36 2024-10-18 12:23:36,698 [execute] INFO git cat-file --batch-check 12:23:36 2024-10-18 12:23:36,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-149/.semver, universal_newlines=False, shell=None, istream=) 12:23:36 2024-10-18 12:23:36,705 [execute] INFO git cat-file --batch 12:23:36 2024-10-18 12:23:36,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-149/.semver, universal_newlines=False, shell=None, istream=) 12:23:36 2024-10-18 12:23:36,711 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-149/.semver/PR-149 12:23:36 0.0.0 [Pipeline] } 12:23:37 $ docker exec --env ******** --env ******** 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a ssh-agent -k 12:23:37 unset SSH_AUTH_SOCK; 12:23:37 unset SSH_AGENT_PID; 12:23:37 echo Agent pid 79 killed; 12:23:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:23:37 + git semver [Pipeline] } 12:23:37 $ docker stop --time=1 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a 12:23:39 $ docker rm -f --volumes 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a [Pipeline] // withDockerContainer [Pipeline] sh 12:23:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:23:39 Stashed 1 file(s) [Pipeline] echo 12:23:39 [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 12:23:40 provisioning config files... 12:23:40 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-149@tmp/config7180477012193298954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:40 ---> ****-login.sh 12:23:40 nexus3.edgexfoundry.org:10001 12:23:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:40 Configure a credential helper to remove this warning. See 12:23:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:40 12:23:40 Login Succeeded 12:23:40 nexus3.edgexfoundry.org:10002 12:23:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:40 Configure a credential helper to remove this warning. See 12:23:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:40 12:23:40 Login Succeeded 12:23:40 nexus3.edgexfoundry.org:10003 12:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:41 Configure a credential helper to remove this warning. See 12:23:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:41 12:23:41 Login Succeeded 12:23:41 nexus3.edgexfoundry.org:10004 12:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:41 Configure a credential helper to remove this warning. See 12:23:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:41 12:23:41 Login Succeeded 12:23:41 ****.io 12:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:23:41 Configure a credential helper to remove this warning. See 12:23:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:23:41 12:23:41 Login Succeeded 12:23:41 ---> ****-login.sh ends [Pipeline] } 12:23:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:23:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:23:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:23:41 ========================================================= 12:23:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 12:23:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 12:23:42 Sending build context to Docker daemon 9.755MB 12:23:42 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 12:23:42 Step 2/12 : FROM ${BASE} AS builder 12:23:42 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 12:23:42 43c4264eed91: Pulling fs layer 12:23:42 4cc291be95ef: Pulling fs layer 12:23:42 2ac1f1163629: Pulling fs layer 12:23:42 5c3c966382ef: Pulling fs layer 12:23:42 4f4fb700ef54: Pulling fs layer 12:23:42 5d5c8e513c77: Pulling fs layer 12:23:42 9f66e0745190: Pulling fs layer 12:23:42 f49a43e4bbc0: Pulling fs layer 12:23:42 561ebcabdf7f: Pulling fs layer 12:23:42 5c3c966382ef: Waiting 12:23:42 4f4fb700ef54: Waiting 12:23:42 5d5c8e513c77: Waiting 12:23:42 9f66e0745190: Waiting 12:23:42 f49a43e4bbc0: Waiting 12:23:42 561ebcabdf7f: Waiting 12:23:42 4cc291be95ef: Verifying Checksum 12:23:42 4cc291be95ef: Download complete 12:23:42 5c3c966382ef: Verifying Checksum 12:23:42 5c3c966382ef: Download complete 12:23:42 4f4fb700ef54: Verifying Checksum 12:23:42 4f4fb700ef54: Download complete 12:23:42 5d5c8e513c77: Download complete 12:23:42 43c4264eed91: Download complete 12:23:42 9f66e0745190: Verifying Checksum 12:23:42 9f66e0745190: Download complete 12:23:42 43c4264eed91: Pull complete 12:23:42 561ebcabdf7f: Download complete 12:23:42 4cc291be95ef: Pull complete 12:23:42 2ac1f1163629: Verifying Checksum 12:23:42 2ac1f1163629: Download complete 12:23:43 f49a43e4bbc0: Verifying Checksum 12:23:43 f49a43e4bbc0: Download complete 12:23:46 2ac1f1163629: Pull complete 12:23:46 5c3c966382ef: Pull complete 12:23:46 4f4fb700ef54: Pull complete 12:23:46 5d5c8e513c77: Pull complete 12:23:46 9f66e0745190: Pull complete 12:23:49 f49a43e4bbc0: Pull complete 12:23:49 561ebcabdf7f: Pull complete 12:23:49 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 12:23:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 12:23:49 ---> 3a752c3f9dda 12:23:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:23:53 ---> Running in 903d25c800cb 12:23:53 Removing intermediate container 903d25c800cb 12:23:53 ---> ea000258861b 12:23:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:23:53 ---> Running in f75c16de8952 12:23:53 Removing intermediate container f75c16de8952 12:23:53 ---> ac298e01b31e 12:23:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:23:53 ---> Running in e7ad74d81db0 12:23:53 Removing intermediate container e7ad74d81db0 12:23:53 ---> 9be6f025426d 12:23:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:23:53 ---> Running in b168a3aab21d 12:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:23:54 OK: 246 MiB in 54 packages 12:23:54 Removing intermediate container b168a3aab21d 12:23:54 ---> 115cfd03a686 12:23:54 Step 7/12 : WORKDIR /app 12:23:54 ---> Running in 76968be75aec 12:23:54 Removing intermediate container 76968be75aec 12:23:54 ---> c3b50dbe0b75 12:23:54 Step 8/12 : COPY go.mod vendor* ./ 12:23:55 ---> c5595306d903 12:23:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:23:55 ---> Running in c4e80fd6b566 12:23:55 Still waiting to schedule task 12:23:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:24:51 Removing intermediate container c4e80fd6b566 12:24:51 ---> 6a193bac3bf6 12:24:51 Step 10/12 : COPY . . 12:24:51 ---> 677c368260cc 12:24:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:24:51 ---> Running in 147a10fbe71e 12:24:51 Removing intermediate container 147a10fbe71e 12:24:51 ---> c746ebb90a8e 12:24:51 Step 12/12 : RUN $MAKE 12:24:51 ---> Running in d8984c4d1d9b 12:24:51 noop 12:24:51 Removing intermediate container d8984c4d1d9b 12:24:51 ---> 1d007a44274b 12:24:51 Successfully built 1d007a44274b 12:24:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:51 + docker inspect -f . ci-base-image-x86_64 12:24:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:51 prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container 12:24:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:24:52 $ docker top 319a5a2e39f3aa435cfdad321f8b51c4cf30802122abe15db0930a8545928a7c -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:52 + go version 12:24:52 go version go1.23.2 linux/amd64 [Pipeline] } 12:24:52 $ docker stop --time=1 319a5a2e39f3aa435cfdad321f8b51c4cf30802122abe15db0930a8545928a7c 12:24:54 $ docker rm -f --volumes 319a5a2e39f3aa435cfdad321f8b51c4cf30802122abe15db0930a8545928a7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:54 + docker inspect -f . ci-base-image-x86_64 12:24:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:55 prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container 12:24:55 $ 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-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:24:55 $ docker top dff20ddffe2e1ea19fa3d47650867e59704e72644473c63159424cadffbb57c0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:55 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-149 [Pipeline] fileExists [Pipeline] sh 12:24:56 + make test 12:24:56 go test -race -coverprofile=coverage.out ./... 12:25:28 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 12:25:28 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 12:25:28 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 12:25:28 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 12:25:29 ok github.com/edgexfoundry/app-record-replay/internal/app 1.028s coverage: 88.0% of statements 12:25:39 ok github.com/edgexfoundry/app-record-replay/internal/application 9.616s coverage: 98.7% of statements 12:25:39 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.082s coverage: 89.7% of statements 12:25:39 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.020s coverage: 100.0% of statements 12:25:39 running golangci-lint 12:25:39 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 12:25:39 go version go1.23.2 linux/amd64 12:25:39 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 12:25:39 level=info msg="[config_reader] Used config file .golangci.yml" 12:25:39 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 12:25:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23263 in /w/workspace/foundry_app-record-replay_PR-149 [Pipeline] { [Pipeline] ws 12:25:39 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 12:25:43 Selected Git installation does not exist. Using Default 12:25:43 The recommended git tool is: NONE 12:25:48 using credential edgex-jenkins-ssh 12:25:48 Cloning the remote Git repository 12:25:48 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 12:25:48 > git init /w/workspace/app-record-replay/1 # timeout=10 12:25:49 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 12:25:49 > git --version # timeout=10 12:25:49 > git --version # 'git version 2.25.1' 12:25:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:52 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 12:25:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:25:53 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 12:25:53 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 12:25:53 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:25:53 Merging remotes/origin/main commit fb1cfc1ed001b91dc8782235128666e14fb0baf6 into PR head commit 3122737150792d1db66637461d446b3c7de78dbd 12:25:54 Merge succeeded, producing 3122737150792d1db66637461d446b3c7de78dbd 12:25:54 Checking out Revision 3122737150792d1db66637461d446b3c7de78dbd (PR-149) 12:25:53 > git config core.sparsecheckout # timeout=10 12:25:53 > git checkout -f 3122737150792d1db66637461d446b3c7de78dbd # timeout=10 12:25:54 > git remote # timeout=10 12:25:54 > git config --get remote.origin.url # timeout=10 12:25:54 using GIT_SSH to set credentials SSH Credentials for GitHub 12:25:54 > git merge fb1cfc1ed001b91dc8782235128666e14fb0baf6 # timeout=10 12:25:54 > git rev-parse HEAD^{commit} # timeout=10 12:25:54 > git config core.sparsecheckout # timeout=10 12:25:54 > git checkout -f 3122737150792d1db66637461d446b3c7de78dbd # timeout=10 12:25:57 Commit message: "build: Upgrade core-contracts and sdk" 12:25:57 > git --version # timeout=10 12:25:58 > git --version # 'git version 2.25.1' 12:25:58 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:26:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:26:00 % Total % Received % Xferd Average Speed Time Time Time Current 12:26:00 Dload Upload Total Spent Left Speed 12:26:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 12:26:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:26:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:26:01 + sudo tee /etc/docker/daemon.new 12:26:01 { 12:26:01 "registry-mirrors": [ 12:26:01 "https://nexus3.edgexfoundry.org:10001" 12:26:01 ], 12:26:01 "bip": "10.250.0.254/24", 12:26:01 "hosts": [ 12:26:01 "tcp://0.0.0.0:5555", 12:26:01 "unix:///var/run/docker.sock" 12:26:01 ], 12:26:01 "mtu": 1458, 12:26:01 "selinux-enabled": true, 12:26:01 "seccomp-profile": "/etc/docker/seccomp.json" 12:26:01 } [Pipeline] sh 12:26:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:26:02 + sudo service docker restart 12:26:05 level=info msg="[loader] Go packages loading at mode 575 (deps|files|imports|types_sizes|compiled_files|exports_file|name) took 23.719746593s" 12:26:05 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 8.416088ms" 12:26:13 level=info msg="[linters_context/goanalysis] analyzers took 56.837536164s with top 10 stages: buildir: 46.95701734s, inspect: 2.018587859s, fact_deprecated: 1.525868554s, printf: 1.063164236s, ctrlflow: 1.043654822s, fact_purity: 967.643433ms, nilness: 873.13155ms, typedness: 513.268505ms, SA5012: 502.940993ms, gosec: 194.13734ms" 12:26:13 level=info msg="[runner] Issues before processing: 10, after processing: 0" 12:26:13 level=info msg="[runner] Processors filtering stat (in/out): invalid_issue: 10/10, autogenerated_exclude: 10/10, identifier_marker: 10/10, exclude-rules: 10/0, skip_dirs: 10/10, cgo: 10/10, path_prettifier: 10/10, skip_files: 10/10, filename_unadjuster: 10/10, exclude: 10/10" 12:26:13 level=info msg="[runner] processing took 1.070609ms with stages: identifier_marker: 537.174µs, autogenerated_exclude: 181.911µs, exclude-rules: 135.019µs, path_prettifier: 122.918µs, skip_dirs: 74.105µs, cgo: 4.051µs, invalid_issue: 3.81µs, filename_unadjuster: 2.07µs, nolint: 1.52µs, max_same_issues: 1.36µs, uniq_by_line: 1.14µs, exclude: 1µs, fixer: 870ns, skip_files: 820ns, max_from_linter: 621ns, sort_results: 560ns, source_code: 340ns, diff: 290ns, path_prefixer: 270ns, path_shortener: 260ns, max_per_file_from_linter: 260ns, severity-rules: 240ns" 12:26:13 level=info msg="[runner] linters took 10.976044559s with stages: goanalysis_metalinter: 10.97478346s" 12:26:13 level=info msg="File cache stats: 0 entries of total size 0B" 12:26:13 level=info msg="Memory: 349 samples, avg is 237.9MB, max is 1068.4MB" 12:26:13 level=info msg="Execution took 34.711205553s" 12:26:13 go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:26:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:26:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:26:20 ./bin/test-attribution-txt.sh 12:26:20 provisioning config files... 12:26:20 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config15542891557706384796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] echo 12:26:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:26:20 $ docker stop --time=1 dff20ddffe2e1ea19fa3d47650867e59704e72644473c63159424cadffbb57c0 12:26:20 ---> ****-login.sh 12:26:20 nexus3.edgexfoundry.org:10001 12:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:21 Configure a credential helper to remove this warning. See 12:26:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:21 12:26:21 Login Succeeded 12:26:21 nexus3.edgexfoundry.org:10002 12:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:22 Configure a credential helper to remove this warning. See 12:26:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:22 12:26:22 Login Succeeded 12:26:22 nexus3.edgexfoundry.org:10003 12:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:22 Configure a credential helper to remove this warning. See 12:26:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:22 12:26:22 Login Succeeded 12:26:22 nexus3.edgexfoundry.org:10004 12:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:22 Configure a credential helper to remove this warning. See 12:26:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:22 12:26:22 Login Succeeded 12:26:22 ****.io 12:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:23 Configure a credential helper to remove this warning. See 12:26:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:23 12:26:23 Login Succeeded 12:26:23 ---> ****-login.sh ends 12:26:25 $ docker rm -f --volumes dff20ddffe2e1ea19fa3d47650867e59704e72644473c63159424cadffbb57c0 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 12:26:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 12:26:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:26:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] echo 12:26:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:26:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:26:26 ========================================================= 12:26:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 12:26:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 12:26:27 + 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 . 12:26:27 + sudo chown -R jenkins:jenkins . 12:26:27 Sending build context to Docker daemon 338.4kB 12:26:27 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 12:26:27 Step 2/12 : FROM ${BASE} AS builder [Pipeline] sh 12:26:27 + ls -al . 12:26:27 total 280 12:26:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 12:24 . 12:26:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 12:23 .. 12:26:27 -rw-rw-r-- 1 jenkins jenkins 119 Oct 18 12:23 .dockerignore 12:26:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 12:25 .git 12:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:23 .github 12:26:27 -rw-rw-r-- 1 jenkins jenkins 164 Oct 18 12:23 .gitignore 12:26:27 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 12:23 .golangci.yml 12:26:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 12:23 .semver 12:26:27 -rw-rw-r-- 1 jenkins jenkins 20885 Oct 18 12:23 Attribution.txt 12:26:27 -rw-rw-r-- 1 jenkins jenkins 458 Oct 18 12:23 CHANGELOG.md 12:26:27 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 18 12:23 Dockerfile 12:26:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 12:23 GOVERNANCE.md 12:26:27 -rw-rw-r-- 1 jenkins jenkins 681 Oct 18 12:23 Jenkinsfile 12:26:27 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 18 12:23 LICENSE 12:26:27 -rw-rw-r-- 1 jenkins jenkins 3805 Oct 18 12:23 Makefile 12:26:27 -rw-rw-r-- 1 jenkins jenkins 611 Oct 18 12:23 OWNERS.md 12:26:27 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 18 12:23 README.md 12:26:27 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 18 12:23 Record and Reply.postman_collection.json 12:26:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 12:23 VERSION 12:26:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:23 bin 12:26:27 -rw-r--r-- 1 jenkins jenkins 34247 Oct 18 12:25 coverage.out 12:26:27 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 18 12:23 go.mod 12:26:27 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 18 12:23 go.sum 12:26:27 drwxrwxr-x 7 jenkins jenkins 4096 Oct 18 12:23 internal 12:26:27 -rw-rw-r-- 1 jenkins jenkins 913 Oct 18 12:23 main.go 12:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:23 openapi 12:26:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:23 pkg 12:26:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:23 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:27 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:26:27 cf04c63912e1: Pulling fs layer 12:26:27 55b35a11ae5e: Pulling fs layer 12:26:27 a37a00ec5f00: Pulling fs layer 12:26:27 50b3750afda1: Pulling fs layer 12:26:27 4f4fb700ef54: Pulling fs layer 12:26:27 50b3750afda1: Waiting 12:26:27 4f4fb700ef54: Waiting 12:26:27 80978eb59214: Pulling fs layer 12:26:27 c9f46d7d2bd2: Pulling fs layer 12:26:27 c5a475d317c9: Pulling fs layer 12:26:27 80978eb59214: Waiting 12:26:27 c9f46d7d2bd2: Waiting 12:26:27 c5a475d317c9: Waiting 12:26:27 55b35a11ae5e: Verifying Checksum 12:26:27 55b35a11ae5e: Download complete 12:26:27 50b3750afda1: Verifying Checksum 12:26:27 50b3750afda1: Download complete 12:26:28 + 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=3122737150792d1db66637461d446b3c7de78dbd --label arch=amd64 --label version=0.0.0 . 12:26:28 Sending build context to Docker daemon 9.79MB 12:26:28 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 12:26:28 Step 2/27 : FROM ${BASE} AS builder 12:26:28 ---> 1d007a44274b 12:26:28 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:26:28 4f4fb700ef54: Verifying Checksum 12:26:28 4f4fb700ef54: Download complete 12:26:28 80978eb59214: Verifying Checksum 12:26:28 80978eb59214: Download complete 12:26:28 cf04c63912e1: Verifying Checksum 12:26:28 cf04c63912e1: Download complete 12:26:28 ---> Running in bce56964a2ac 12:26:28 Removing intermediate container bce56964a2ac 12:26:28 ---> 72e9d0f37f8e 12:26:28 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:26:28 ---> Running in 89b1c18764c3 12:26:28 Removing intermediate container 89b1c18764c3 12:26:28 ---> eb60ccf1ccec 12:26:28 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:26:28 ---> Running in 09b1d2664643 12:26:28 Removing intermediate container 09b1d2664643 12:26:28 ---> f64a2a2c330b 12:26:28 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:26:28 ---> Running in d22004fcf5b9 12:26:28 c5a475d317c9: Verifying Checksum 12:26:28 c5a475d317c9: Download complete 12:26:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:26:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:26:29 cf04c63912e1: Pull complete 12:26:29 OK: 246 MiB in 54 packages 12:26:29 55b35a11ae5e: Pull complete 12:26:29 Removing intermediate container d22004fcf5b9 12:26:29 ---> 96e16ed6a1d2 12:26:29 Step 7/27 : WORKDIR /app 12:26:29 ---> Running in 3a2f000e32b8 12:26:29 Removing intermediate container 3a2f000e32b8 12:26:29 ---> 93a0a08c8364 12:26:29 Step 8/27 : COPY go.mod vendor* ./ 12:26:29 ---> 963f20c6646f 12:26:29 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:26:29 ---> Running in f1fbaf0459a0 12:26:29 a37a00ec5f00: Verifying Checksum 12:26:29 a37a00ec5f00: Download complete 12:26:30 Removing intermediate container f1fbaf0459a0 12:26:30 ---> ac0d1a50eb08 12:26:30 Step 10/27 : COPY . . 12:26:30 c9f46d7d2bd2: Download complete 12:26:31 ---> a591d3ef0cf7 12:26:31 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:26:31 ---> Running in dbf67fe30066 12:26:31 Removing intermediate container dbf67fe30066 12:26:31 ---> 18286aaeb11c 12:26:31 Step 12/27 : RUN $MAKE 12:26:31 ---> Running in 4028332e5b86 12:26:31 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" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-record-replay 12:26:43 a37a00ec5f00: Pull complete 12:26:43 50b3750afda1: Pull complete 12:26:43 4f4fb700ef54: Pull complete 12:26:43 80978eb59214: Pull complete 12:26:51 c9f46d7d2bd2: Pull complete 12:26:53 c5a475d317c9: Pull complete 12:26:53 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 12:26:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 12:26:53 ---> be29e6b0f0d4 12:26:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:26:54 ---> Running in 9aca2e0fa070 12:26:54 Removing intermediate container 9aca2e0fa070 12:26:54 ---> 31e70378f52b 12:26:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:26:54 ---> Running in d68214538fd6 12:26:55 Removing intermediate container d68214538fd6 12:26:55 ---> 2f86be4ab789 12:26:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:26:55 ---> Running in 25fad7434ac2 12:26:55 Removing intermediate container 25fad7434ac2 12:26:55 ---> 11a28e7826e5 12:26:55 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:26:55 ---> Running in a85bff270df6 12:26:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:26:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:26:58 OK: 238 MiB in 54 packages 12:26:59 Removing intermediate container a85bff270df6 12:26:59 ---> 89d827116211 12:26:59 Step 7/12 : WORKDIR /app 12:26:59 ---> Running in bc145b02d661 12:27:00 Removing intermediate container bc145b02d661 12:27:00 ---> 846b86659482 12:27:00 Step 8/12 : COPY go.mod vendor* ./ 12:27:00 ---> 6c1c43712511 12:27:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:27:00 ---> Running in 6a15a98038ef 12:27:10 Removing intermediate container 4028332e5b86 12:27:10 ---> e36b8980c7d6 12:27:10 Step 13/27 : FROM alpine:3.20 12:27:10 3.20: Pulling from library/alpine 12:27:10 43c4264eed91: Already exists 12:27:10 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 12:27:10 Status: Downloaded newer image for alpine:3.20 12:27:10 ---> 91ef0af61f39 12:27:10 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:27:10 ---> Running in c307c5b76f62 12:27:10 Removing intermediate container c307c5b76f62 12:27:10 ---> 0f7fd40f0d36 12:27:10 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 12:27:10 ---> Running in 8492cf799576 12:27:10 Removing intermediate container 8492cf799576 12:27:10 ---> bcad9a4fc9f2 12:27:10 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:27:10 ---> Running in 66dd4edcc35d 12:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:27:10 (1/2) Installing ca-certificates (20240705-r0) 12:27:10 (2/2) Installing dumb-init (1.2.5-r3) 12:27:10 Executing busybox-1.36.1-r29.trigger 12:27:10 Executing ca-certificates-20240705-r0.trigger 12:27:10 OK: 9 MiB in 16 packages 12:27:10 Removing intermediate container 66dd4edcc35d 12:27:10 ---> 8f98926f2470 12:27:10 Step 17/27 : RUN apk --no-cache upgrade 12:27:10 ---> Running in c375fa691e1b 12:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:27:10 Upgrading critical system libraries and apk-tools: 12:27:10 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 12:27:10 Executing busybox-1.36.1-r29.trigger 12:27:10 Continuing the upgrade transaction with new apk-tools: 12:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 12:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 12:27:10 OK: 9 MiB in 16 packages 12:27:10 Removing intermediate container c375fa691e1b 12:27:10 ---> bf1720253e84 12:27:10 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:27:10 ---> f75a163101aa 12:27:10 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:27:10 ---> a29a01721db1 12:27:10 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:27:10 ---> 083be1049912 12:27:10 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 12:27:11 ---> b33002ec339b 12:27:11 Step 22/27 : EXPOSE 59712 12:27:11 ---> Running in 52545855de32 12:27:11 Removing intermediate container 52545855de32 12:27:11 ---> 73f4265ce02a 12:27:11 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 12:27:11 ---> Running in 18c209645e7b 12:27:11 Removing intermediate container 18c209645e7b 12:27:11 ---> b38ad5b2c7c7 12:27:11 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:27:11 ---> Running in e5a153ef8e8b 12:27:11 Removing intermediate container e5a153ef8e8b 12:27:11 ---> 2e20802ea84b 12:27:11 Step 25/27 : LABEL arch=amd64 12:27:11 ---> Running in 75da4baf3044 12:27:11 Removing intermediate container 75da4baf3044 12:27:11 ---> 88664daad213 12:27:11 Step 26/27 : LABEL git_sha=3122737150792d1db66637461d446b3c7de78dbd 12:27:11 ---> Running in b26524592c4b 12:27:11 Removing intermediate container b26524592c4b 12:27:11 ---> 6922fa5570fb 12:27:11 Step 27/27 : LABEL version=0.0.0 12:27:11 ---> Running in bc561a5aa9d5 12:27:11 Removing intermediate container bc561a5aa9d5 12:27:11 ---> 49aaf6b68883 12:27:11 [Warning] One or more build-args [ARCH] were not consumed 12:27:11 Successfully built 49aaf6b68883 12:27:11 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:27:12 12:27:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:27:13 latest: Pulling from edgex-lftools-log-publisher 12:27:13 5eb5b503b376: Pulling fs layer 12:27:13 5c69ac0246d0: Pulling fs layer 12:27:13 ec43610c2a17: Pulling fs layer 12:27:13 3a2ae6a8a46f: Pulling fs layer 12:27:13 33b1e0a273af: Pulling fs layer 12:27:13 5d3b04190fa2: Pulling fs layer 12:27:13 2f39f015ded8: Pulling fs layer 12:27:13 3a2ae6a8a46f: Waiting 12:27:13 2f39f015ded8: Waiting 12:27:13 33b1e0a273af: Waiting 12:27:13 5d3b04190fa2: Waiting 12:27:13 5c69ac0246d0: Verifying Checksum 12:27:13 5c69ac0246d0: Download complete 12:27:13 3a2ae6a8a46f: Verifying Checksum 12:27:13 3a2ae6a8a46f: Download complete 12:27:13 33b1e0a273af: Verifying Checksum 12:27:13 33b1e0a273af: Download complete 12:27:13 ec43610c2a17: Verifying Checksum 12:27:13 ec43610c2a17: Download complete 12:27:13 5d3b04190fa2: Download complete 12:27:13 5eb5b503b376: Verifying Checksum 12:27:13 5eb5b503b376: Download complete 12:27:14 2f39f015ded8: Verifying Checksum 12:27:14 2f39f015ded8: Download complete 12:27:14 5eb5b503b376: Pull complete 12:27:14 5c69ac0246d0: Pull complete 12:27:15 ec43610c2a17: Pull complete 12:27:15 3a2ae6a8a46f: Pull complete 12:27:15 33b1e0a273af: Pull complete 12:27:15 5d3b04190fa2: Pull complete 12:27:19 2f39f015ded8: Pull complete 12:27:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:27:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:27:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:20 prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container 12:27:20 $ 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-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:27:24 $ docker top f5b2a72b00de8dc132cc9f365f25aca39c2c0362301802012f26dc3ccf971b4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:27:24 ---> job-cost.sh 12:27:24 lf-activate-venv: SKIPPING 12:27:24 INFO: No Stack... 12:27:25 INFO: Retrieving Pricing Info for: v3-standard-8 12:27:25 INFO: Archiving Costs [Pipeline] sh 12:27:25 + cat /w/workspace/foundry_app-record-replay_PR-149/archives/cost.csv 12:27:25 + cut -d, -f6 [Pipeline] lock 12:27:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] 12:27:25 Resource [jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] did not exist. Created. 12:27:25 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:27:26 + echo total: 0.2199999988079071 [Pipeline] stash 12:27:26 Stashed 1 file(s) [Pipeline] } 12:27:26 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:27:26 $ docker stop --time=1 f5b2a72b00de8dc132cc9f365f25aca39c2c0362301802012f26dc3ccf971b4e 12:27:27 $ docker rm -f --volumes f5b2a72b00de8dc132cc9f365f25aca39c2c0362301802012f26dc3ccf971b4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:28:52 Removing intermediate container 6a15a98038ef 12:28:52 ---> 87f3eff6e56f 12:28:52 Step 10/12 : COPY . . 12:28:52 ---> 25d1bb87afc2 12:28:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:28:53 ---> Running in 6cdab7521abf 12:28:53 Removing intermediate container 6cdab7521abf 12:28:53 ---> b3f4393fa1df 12:28:53 Step 12/12 : RUN $MAKE 12:28:53 ---> Running in 5b64d6952433 12:28:54 noop 12:28:54 Removing intermediate container 5b64d6952433 12:28:54 ---> 74ec4f2bb5df 12:28:54 Successfully built 74ec4f2bb5df 12:28:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:28:55 + docker inspect -f . ci-base-image-arm64 12:28:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:28:55 prd-ubuntu20.04-docker-arm64-4c-16g-23263 does not seem to be running inside a container 12:28:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:28:57 $ docker top f8555c358b061099c1a4aa55ef18fa5e8185d0586218d4b16fbf0012e14fb9d9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:28:58 + go version 12:28:58 go version go1.23.2 linux/arm64 [Pipeline] } 12:28:58 $ docker stop --time=1 f8555c358b061099c1a4aa55ef18fa5e8185d0586218d4b16fbf0012e14fb9d9 12:28:59 $ docker rm -f --volumes f8555c358b061099c1a4aa55ef18fa5e8185d0586218d4b16fbf0012e14fb9d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:00 + docker inspect -f . ci-base-image-arm64 12:29:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:29:01 prd-ubuntu20.04-docker-arm64-4c-16g-23263 does not seem to be running inside a container 12:29:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:29:02 $ docker top bb7dfaf0ac4cad087c9ebbb9e7082074a474d2cc879ca4ae03d0ac31c92e8794 -eo pid,comm [Pipeline] { [Pipeline] sh 12:29:03 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 12:29:04 + make test 12:29:04 go test -race -coverprofile=coverage.out ./... 12:33:41 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 12:33:51 ok github.com/edgexfoundry/app-record-replay/internal/app 1.143s coverage: 88.0% of statements 12:33:55 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 12:33:55 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 12:33:58 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 12:34:01 ok github.com/edgexfoundry/app-record-replay/internal/application 9.828s coverage: 98.7% of statements 12:34:01 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.435s coverage: 89.7% of statements 12:34:01 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.082s coverage: 100.0% of statements 12:34:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:34:02 go vet ./... 12:38:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:38:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:38:09 ./bin/test-attribution-txt.sh [Pipeline] echo 12:38:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:38:09 $ docker stop --time=1 bb7dfaf0ac4cad087c9ebbb9e7082074a474d2cc879ca4ae03d0ac31c92e8794 12:38:11 $ docker rm -f --volumes bb7dfaf0ac4cad087c9ebbb9e7082074a474d2cc879ca4ae03d0ac31c92e8794 [Pipeline] // withDockerContainer [Pipeline] sh 12:38:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:38:13 Warning: overwriting stash ‘coverage-report’ 12:38:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:38:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:38:15 + ls -al . 12:38:15 total 276 12:38:15 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 12:29 . 12:38:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 12:25 .. 12:38:15 -rw-rw-r-- 1 jenkins jenkins 119 Oct 18 12:25 .dockerignore 12:38:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 12:25 .git 12:38:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:25 .github 12:38:15 -rw-rw-r-- 1 jenkins jenkins 164 Oct 18 12:25 .gitignore 12:38:15 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 12:25 .golangci.yml 12:38:15 -rw-rw-r-- 1 jenkins jenkins 20885 Oct 18 12:25 Attribution.txt 12:38:15 -rw-rw-r-- 1 jenkins jenkins 458 Oct 18 12:25 CHANGELOG.md 12:38:15 -rw-rw-r-- 1 jenkins jenkins 1725 Oct 18 12:25 Dockerfile 12:38:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 12:25 GOVERNANCE.md 12:38:15 -rw-rw-r-- 1 jenkins jenkins 681 Oct 18 12:25 Jenkinsfile 12:38:15 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 18 12:25 LICENSE 12:38:15 -rw-rw-r-- 1 jenkins jenkins 3805 Oct 18 12:25 Makefile 12:38:15 -rw-rw-r-- 1 jenkins jenkins 611 Oct 18 12:25 OWNERS.md 12:38:15 -rw-rw-r-- 1 jenkins jenkins 4107 Oct 18 12:25 README.md 12:38:15 -rw-rw-r-- 1 jenkins jenkins 7789 Oct 18 12:25 Record and Reply.postman_collection.json 12:38:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 12:23 VERSION 12:38:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:25 bin 12:38:15 -rw-r--r-- 1 jenkins jenkins 34248 Oct 18 12:34 coverage.out 12:38:15 -rw-rw-r-- 1 jenkins jenkins 7488 Oct 18 12:25 go.mod 12:38:15 -rw-rw-r-- 1 jenkins jenkins 100896 Oct 18 12:25 go.sum 12:38:15 drwxrwxr-x 7 jenkins jenkins 4096 Oct 18 12:25 internal 12:38:15 -rw-rw-r-- 1 jenkins jenkins 913 Oct 18 12:25 main.go 12:38:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:25 openapi 12:38:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:25 pkg 12:38:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:25 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:15 + 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=3122737150792d1db66637461d446b3c7de78dbd --label arch=arm64 --label version=0.0.0 . 12:38:16 Sending build context to Docker daemon 373.2kB 12:38:16 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 12:38:16 Step 2/27 : FROM ${BASE} AS builder 12:38:16 ---> 74ec4f2bb5df 12:38:16 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:38:16 ---> Running in c50ae6455caf 12:38:16 Removing intermediate container c50ae6455caf 12:38:16 ---> 6d937393f845 12:38:16 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:38:16 ---> Running in 902ff0b550ac 12:38:16 Removing intermediate container 902ff0b550ac 12:38:16 ---> 1fdc581c5221 12:38:16 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:38:16 ---> Running in 3dfaff6b988d 12:38:17 Removing intermediate container 3dfaff6b988d 12:38:17 ---> 9b2c301705e2 12:38:17 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:38:17 ---> Running in 203fc8c91099 12:38:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:38:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:38:20 OK: 238 MiB in 54 packages 12:38:21 Removing intermediate container 203fc8c91099 12:38:21 ---> b7ad158df168 12:38:21 Step 7/27 : WORKDIR /app 12:38:21 ---> Running in 22df873b393c 12:38:21 Removing intermediate container 22df873b393c 12:38:21 ---> 3576ea801d4c 12:38:21 Step 8/27 : COPY go.mod vendor* ./ 12:38:22 ---> 3a9d8836c56e 12:38:22 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:38:22 ---> Running in 09d186f442e5 12:38:24 Removing intermediate container 09d186f442e5 12:38:24 ---> cf5a6bc38d1e 12:38:24 Step 10/27 : COPY . . 12:38:25 ---> 95228791415a 12:38:25 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:38:25 ---> Running in d0b35ef1ed13 12:38:25 Removing intermediate container d0b35ef1ed13 12:38:25 ---> 873620e79f1c 12:38:25 Step 12/27 : RUN $MAKE 12:38:25 ---> Running in 95e6398ac2df 12:38:26 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" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-record-replay 12:42:18 Removing intermediate container 95e6398ac2df 12:42:18 ---> c8d26a16ff38 12:42:18 Step 13/27 : FROM alpine:3.20 12:42:18 3.20: Pulling from library/alpine 12:42:18 cf04c63912e1: Already exists 12:42:18 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 12:42:18 Status: Downloaded newer image for alpine:3.20 12:42:18 ---> c157a85ed455 12:42:18 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:42:18 ---> Running in 67f2ac2fb801 12:42:18 Removing intermediate container 67f2ac2fb801 12:42:18 ---> c1878f023c6c 12:42:18 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 12:42:18 ---> Running in 066d0d2bcf42 12:42:18 Removing intermediate container 066d0d2bcf42 12:42:18 ---> 6da4abe4e278 12:42:18 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:42:18 ---> Running in e43d3aa33bf3 12:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:42:18 (1/2) Installing ca-certificates (20240705-r0) 12:42:18 (2/2) Installing dumb-init (1.2.5-r3) 12:42:18 Executing busybox-1.36.1-r29.trigger 12:42:18 Executing ca-certificates-20240705-r0.trigger 12:42:18 OK: 10 MiB in 16 packages 12:42:18 Removing intermediate container e43d3aa33bf3 12:42:18 ---> 83c074efd12f 12:42:18 Step 17/27 : RUN apk --no-cache upgrade 12:42:18 ---> Running in a2dacd85ee77 12:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:42:18 Upgrading critical system libraries and apk-tools: 12:42:18 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 12:42:18 Executing busybox-1.36.1-r29.trigger 12:42:18 Continuing the upgrade transaction with new apk-tools: 12:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 12:42:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 12:42:19 OK: 10 MiB in 16 packages 12:42:20 Removing intermediate container a2dacd85ee77 12:42:20 ---> 47ad279dff09 12:42:20 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:42:20 ---> 6cdfa9ffc00c 12:42:20 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:42:21 ---> 12864e8a4d91 12:42:21 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:42:21 ---> eb2cc660a344 12:42:21 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 12:42:24 ---> 6c578ce91b41 12:42:24 Step 22/27 : EXPOSE 59712 12:42:24 ---> Running in efa6009d3900 12:42:24 Removing intermediate container efa6009d3900 12:42:24 ---> 0903da45eca1 12:42:24 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 12:42:24 ---> Running in 59d798b6a1d9 12:42:24 Removing intermediate container 59d798b6a1d9 12:42:24 ---> 4d9790c8f5e0 12:42:24 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:42:25 ---> Running in b12514a25f0b 12:42:25 Removing intermediate container b12514a25f0b 12:42:25 ---> a2e1ee8fb0ba 12:42:25 Step 25/27 : LABEL arch=arm64 12:42:25 ---> Running in dbaebde79cda 12:42:25 Removing intermediate container dbaebde79cda 12:42:25 ---> 56a1c98f5f66 12:42:25 Step 26/27 : LABEL git_sha=3122737150792d1db66637461d446b3c7de78dbd 12:42:26 ---> Running in 70e5369f7b67 12:42:26 Removing intermediate container 70e5369f7b67 12:42:26 ---> 9d85c666ff3f 12:42:26 Step 27/27 : LABEL version=0.0.0 12:42:26 ---> Running in 93059ed5c936 12:42:26 Removing intermediate container 93059ed5c936 12:42:26 ---> 069a76d5db81 12:42:26 [Warning] One or more build-args [ARCH] were not consumed 12:42:26 Successfully built 069a76d5db81 12:42:26 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 12:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:42:27 12:42:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:42:27 arm64: Pulling from edgex-lftools-log-publisher 12:42:27 8998bd30e6a1: Pulling fs layer 12:42:27 04944245beec: Pulling fs layer 12:42:27 699f458cf7ca: Pulling fs layer 12:42:27 765212b225bb: Pulling fs layer 12:42:27 f23df028b6ca: Pulling fs layer 12:42:27 d65c8cfc05b1: Pulling fs layer 12:42:27 2437ff75d9bd: Pulling fs layer 12:42:27 f23df028b6ca: Waiting 12:42:27 d65c8cfc05b1: Waiting 12:42:27 2437ff75d9bd: Waiting 12:42:27 765212b225bb: Waiting 12:42:28 04944245beec: Verifying Checksum 12:42:28 04944245beec: Download complete 12:42:28 765212b225bb: Verifying Checksum 12:42:28 765212b225bb: Download complete 12:42:28 f23df028b6ca: Verifying Checksum 12:42:28 f23df028b6ca: Download complete 12:42:28 d65c8cfc05b1: Verifying Checksum 12:42:28 d65c8cfc05b1: Download complete 12:42:28 699f458cf7ca: Verifying Checksum 12:42:28 699f458cf7ca: Download complete 12:42:28 8998bd30e6a1: Verifying Checksum 12:42:28 8998bd30e6a1: Download complete 12:42:31 2437ff75d9bd: Verifying Checksum 12:42:31 2437ff75d9bd: Download complete 12:42:33 8998bd30e6a1: Pull complete 12:42:33 04944245beec: Pull complete 12:42:35 699f458cf7ca: Pull complete 12:42:35 765212b225bb: Pull complete 12:42:36 f23df028b6ca: Pull complete 12:42:36 d65c8cfc05b1: Pull complete 12:42:54 2437ff75d9bd: Pull complete 12:42:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:42:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:42:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:42:55 prd-ubuntu20.04-docker-arm64-4c-16g-23263 does not seem to be running inside a container 12:42:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:42:58 $ docker top 7384ab7be951fc25a82f19abea40c8351637217967a75b0d0b6854ce9f744675 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:42:59 ---> job-cost.sh 12:42:59 lf-activate-venv: SKIPPING 12:42:59 INFO: No Stack... 12:42:59 INFO: Retrieving Pricing Info for: v3-standard-4 12:43:00 INFO: Archiving Costs [Pipeline] sh 12:43:01 + cut -d, -f6 12:43:01 + cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock 12:43:01 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] 12:43:01 Resource [jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] did not exist. Created. 12:43:01 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:43:01 /w/workspace/app-record-replay/1@tmp/durable-877957a6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:43:02 + echo total: 0.10999999940395355 [Pipeline] stash 12:43:02 Warning: overwriting stash ‘stack-cost’ 12:43:02 Stashed 1 file(s) [Pipeline] } 12:43:02 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:43:02 $ docker stop --time=1 7384ab7be951fc25a82f19abea40c8351637217967a75b0d0b6854ce9f744675 12:43:04 $ docker rm -f --volumes 7384ab7be951fc25a82f19abea40c8351637217967a75b0d0b6854ce9f744675 [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 12:43:05 provisioning config files... 12:43:05 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-149@tmp/config13145560396225611851tmp [Pipeline] { [Pipeline] sh 12:43:06 + set +x 12:43:06 + bash -s -- 12:43:06 + curl -s https://codecov.io/bash 12:43:06 12:43:06 _____ _ 12:43:06 / ____| | | 12:43:06 | | ___ __| | ___ ___ _____ __ 12:43:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:43:06 | |___| (_) | (_| | __/ (_| (_) \ V / 12:43:06 \_____\___/ \__,_|\___|\___\___/ \_/ 12:43:06 Bash-1.0.6 12:43:06 12:43:06 12:43:06 ==> git version 2.25.1 found 12:43:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:43:06 Release-Date: 2020-01-08 12:43:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:43:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:43:06 ==> Jenkins CI detected. 12:43:06 current dir:  /w/workspace/foundry_app-record-replay_PR-149 12:43:06 project root: . 12:43:06 --> token set from env 12:43:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:43:06 ==> Running gcov in . (disable via -X gcov) 12:43:06 ==> Python coveragepy not found 12:43:06 ==> Searching for coverage reports in: 12:43:06 + . 12:43:06 -> Found 1 reports 12:43:06 ==> Detecting git/mercurial file structure 12:43:06 ==> Reading reports 12:43:06 + ./coverage.out bytes=34248 12:43:06 ==> Appending adjustments 12:43:06 https://docs.codecov.io/docs/fixing-reports 12:43:06 + Found adjustments 12:43:06 ==> Gzipping contents 12:43:06 8.0K /tmp/codecov.snXipJ.gz 12:43:06 ==> Uploading reports 12:43:06 url: https://codecov.io 12:43:06 query: branch=PR-149&commit=3122737150792d1db66637461d446b3c7de78dbd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=149&job=&cmd_args= 12:43:06 -> Pinging Codecov 12:43:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-149&commit=3122737150792d1db66637461d446b3c7de78dbd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=149&job=&cmd_args= 12:43:06 -> Uploading to 12:43:06 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/3122737150792d1db66637461d446b3c7de78dbd/c4d042fe-6b0f-4afa-a51e-3e86104a990a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241018%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241018T124306Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2205b319c6269e159ef7afd908f081760f3521a5eb77c66a75234c3e5c5b27fd 12:43:06 % Total % Received % Xferd Average Speed Time Time Time Current 12:43:06 Dload Upload Total Spent Left Speed 12:43:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5387 0 0 100 5387 0 22923 --:--:-- --:--:-- --:--:-- 22923 12:43:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/3122737150792d1db66637461d446b3c7de78dbd [Pipeline] } 12:43:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:43:09 + [ -d /w/workspace/foundry_app-record-replay_PR-149/archives ] 12:43:09 + ls -al /w/workspace/foundry_app-record-replay_PR-149/archives 12:43:09 total 16 12:43:09 drwxr-xr-x 3 root root 4096 Oct 18 12:27 . 12:43:09 drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 12:27 .. 12:43:09 drwxr-xr-x 2 root root 4096 Oct 18 12:27 cost 12:43:09 -rw-r--r-- 1 root root 89 Oct 18 12:27 cost.csv 12:43:09 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-149/archives 12:43:09 + ls -al /w/workspace/foundry_app-record-replay_PR-149/archives 12:43:09 total 16 12:43:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 12:27 . 12:43:09 drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 12:27 .. 12:43:09 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 12:27 cost 12:43:09 -rw-r--r-- 1 jenkins jenkins 89 Oct 18 12:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:43:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:43:10 ---> package-listing.sh 12:43:10 ++ facter osfamily 12:43:10 ++ tr '[:upper:]' '[:lower:]' 12:43:10 + OS_FAMILY=debian 12:43:10 + workspace=/w/workspace/foundry_app-record-replay_PR-149 12:43:10 + START_PACKAGES=/tmp/packages_start.txt 12:43:10 + END_PACKAGES=/tmp/packages_end.txt 12:43:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:43:10 + PACKAGES=/tmp/packages_start.txt 12:43:10 + '[' /w/workspace/foundry_app-record-replay_PR-149 ']' 12:43:10 + PACKAGES=/tmp/packages_end.txt 12:43:10 + case "${OS_FAMILY}" in 12:43:10 + dpkg -l 12:43:10 + grep '^ii' 12:43:10 + '[' -f /tmp/packages_start.txt ']' 12:43:10 + '[' -f /tmp/packages_end.txt ']' 12:43:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:43:10 + '[' /w/workspace/foundry_app-record-replay_PR-149 ']' 12:43:10 + mkdir -p /w/workspace/foundry_app-record-replay_PR-149/archives/ 12:43:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-149/archives/ [Pipeline] echo 12:43:10 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:43:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:43:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:43:12 prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container 12:43:12 $ 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-149/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-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:43:12 $ docker top fa28795a744e2cec5c1ce5b8f1769ca2a4b40fb98a07c2f70c82eff9c0d78a8b -eo pid,comm [Pipeline] { [Pipeline] sh 12:43:12 + touch /tmp/pre-build-complete [Pipeline] sh 12:43:13 + mkdir -p /var/log/sysstat [Pipeline] sh 12:43:13 + ls /var/log/sa-host 12:43:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:43:13 provisioning config files... 12:43:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-149@tmp/config11506441938902325534tmp [Pipeline] { [Pipeline] echo 12:43:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:43:14 ---> create-netrc.sh [Pipeline] } 12:43:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:43:14 ---> python-tools-install.sh [Pipeline] echo 12:43:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:43:14 ---> sudo-logs.sh 12:43:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:43:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:43:15 ---> job-cost.sh 12:43:15 lf-activate-venv: SKIPPING 12:43:15 DEBUG: total: 0.2199999988079071 12:43:15 INFO: Retrieving Stack Cost... 12:43:15 INFO: Retrieving Pricing Info for: v3-standard-8 12:43:16 INFO: Archiving Costs [Pipeline] echo 12:43:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:43:16 ---> logs-deploy.sh 12:43:16 lf-activate-venv: SKIPPING 12:43:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-149/1 12:43:16 INFO: archiving workspace using pattern(s): 12:43:17 Archives upload complete. 12:43:17 INFO: archiving logs to Nexus