Pull request #112 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8dcb3a5048ef3db9c158107dca04027efde0227c+e27574318321310232daceea80e5370fcd7cad9c (ce896b80ccfcbd921dadd174abcc800fea15c278) 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-ssh8504644885398690638.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh2280409896485138569.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-112/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-112/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11187057421550198773.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-112/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14714719916768976190.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh7222153294347297350.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-112/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-112/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15821092460862419106.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 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-24872 in /w/workspace/foundry_app-record-replay_PR-112 [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-112 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e27574318321310232daceea80e5370fcd7cad9c into PR head commit 8dcb3a5048ef3db9c158107dca04027efde0227c Merge succeeded, producing 8dcb3a5048ef3db9c158107dca04027efde0227c Checking out Revision 8dcb3a5048ef3db9c158107dca04027efde0227c (PR-112) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/112/head:refs/remotes/origin/PR-112 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dcb3a5048ef3db9c158107dca04027efde0227c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e27574318321310232daceea80e5370fcd7cad9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dcb3a5048ef3db9c158107dca04027efde0227c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:01:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:01:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:01:25 ========================================================= 04:01:25 EdgeX Global Pipelines Version Info 04:01:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:01:26 ------------------- 04:01:26 stable info: 04:01:26 ------------------- 04:01:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:01:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:01:26 Message: update stable to v1.0.258 04:01:26 ------------------- 04:01:26 experimental info: 04:01:26 ------------------- 04:01:26 Commited By: **** collab-it+edgex@linuxfoundation.org 04:01:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:01:26 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-112 [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-112 [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-112 [Pipeline] echo 04:01:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8dcb3a5048ef3db9c158107dca04027efde0227c [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8dcb3a5 [Pipeline] echo 04:01:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:29 provisioning config files... 04:01:29 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-112@tmp/config14978000628737537715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:29 ---> ****-login.sh 04:01:29 nexus3.edgexfoundry.org:10001 04:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:29 Configure a credential helper to remove this warning. See 04:01:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:29 04:01:29 Login Succeeded 04:01:29 nexus3.edgexfoundry.org:10002 04:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:29 Configure a credential helper to remove this warning. See 04:01:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:29 04:01:29 Login Succeeded 04:01:29 nexus3.edgexfoundry.org:10003 04:01:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:30 Configure a credential helper to remove this warning. See 04:01:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:30 04:01:30 Login Succeeded 04:01:30 nexus3.edgexfoundry.org:10004 04:01:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:30 Configure a credential helper to remove this warning. See 04:01:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:30 04:01:30 Login Succeeded 04:01:30 ****.io 04:01:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:30 Configure a credential helper to remove this warning. See 04:01:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:30 04:01:30 Login Succeeded 04:01:30 ---> ****-login.sh ends [Pipeline] } 04:01:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:01:31 + git rev-list -1 --merges 8dcb3a5048ef3db9c158107dca04027efde0227c~1..8dcb3a5048ef3db9c158107dca04027efde0227c [Pipeline] echo 04:01:31 -----------> git rev-list -1 --merges 8dcb3a5048ef3db9c158107dca04027efde0227c~1..8dcb3a5048ef3db9c158107dca04027efde0227c 8dcb3a5048ef3db9c158107dca04027efde0227c [false] [Pipeline] sh 04:01:31 + git log --format=format:%s -1 8dcb3a5048ef3db9c158107dca04027efde0227c [Pipeline] echo 04:01:31 ========================================================= 04:01:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:01:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:32 + git log --format=format:%s -1 8dcb3a5048ef3db9c158107dca04027efde0227c [Pipeline] echo 04:01:32 [semverPrep] GIT_COMMIT: 8dcb3a5048ef3db9c158107dca04027efde0227c, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 04:01:32 [semverPrep] This is not a build commit. [Pipeline] sh 04:01:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:01:32 + grep -v github /etc/ssh/ssh_known_hosts 04:01:32 + [ -e /tmp/ssh_known_hosts ] 04:01:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:01:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:01:32 + sudo tee -a /etc/ssh/ssh_known_hosts 04:01:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:33 04:01:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:33 0.1.4: Pulling from edgex-devops/py-git-semver 04:01:33 b85a868b505f: Pulling fs layer 04:01:33 e2be974225ed: Pulling fs layer 04:01:33 339a4e72a1f5: Pulling fs layer 04:01:33 988bab9f4d93: Pulling fs layer 04:01:33 1469e6f7b9e6: Pulling fs layer 04:01:33 eaf3925da568: Pulling fs layer 04:01:33 bab4dde63d76: Pulling fs layer 04:01:33 bde34c3a00c8: Pulling fs layer 04:01:33 b352a97aabf1: Pulling fs layer 04:01:33 4872d77fe225: Pulling fs layer 04:01:33 5851b861e8e6: Pulling fs layer 04:01:33 b352a97aabf1: Waiting 04:01:33 eaf3925da568: Waiting 04:01:33 bab4dde63d76: Waiting 04:01:33 4872d77fe225: Waiting 04:01:33 5851b861e8e6: Waiting 04:01:33 bde34c3a00c8: Waiting 04:01:33 1469e6f7b9e6: Waiting 04:01:33 e2be974225ed: Download complete 04:01:33 988bab9f4d93: Download complete 04:01:33 1469e6f7b9e6: Verifying Checksum 04:01:33 339a4e72a1f5: Verifying Checksum 04:01:33 339a4e72a1f5: Download complete 04:01:33 eaf3925da568: Verifying Checksum 04:01:33 eaf3925da568: Download complete 04:01:33 bde34c3a00c8: Verifying Checksum 04:01:33 bde34c3a00c8: Download complete 04:01:33 b352a97aabf1: Verifying Checksum 04:01:33 b352a97aabf1: Download complete 04:01:33 4872d77fe225: Verifying Checksum 04:01:33 4872d77fe225: Download complete 04:01:33 5851b861e8e6: Verifying Checksum 04:01:33 5851b861e8e6: Download complete 04:01:33 b85a868b505f: Verifying Checksum 04:01:33 b85a868b505f: Download complete 04:01:34 bab4dde63d76: Verifying Checksum 04:01:34 bab4dde63d76: Download complete 04:01:35 b85a868b505f: Pull complete 04:01:35 e2be974225ed: Pull complete 04:01:35 339a4e72a1f5: Pull complete 04:01:35 988bab9f4d93: Pull complete 04:01:36 1469e6f7b9e6: Pull complete 04:01:36 eaf3925da568: Pull complete 04:01:38 bab4dde63d76: Pull complete 04:01:38 bde34c3a00c8: Pull complete 04:01:38 b352a97aabf1: Pull complete 04:01:38 4872d77fe225: Pull complete 04:01:38 5851b861e8e6: Pull complete 04:01:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:38 prd-ubuntu20.04-docker-8c-8g-24872 does not seem to be running inside a container 04:01:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-112 -v /w/workspace/foundry_app-record-replay_PR-112:/w/workspace/foundry_app-record-replay_PR-112:rw,z -v /w/workspace/foundry_app-record-replay_PR-112@tmp:/w/workspace/foundry_app-record-replay_PR-112@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:01:42 $ docker top 1cdd368ba0a83b110dd15bcfa963dff1c526dee38f3a8975569c1715e262532f -eo pid,comm 04:01:42 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). 04:01:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:01:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:42 [ssh-agent] Looking for ssh-agent implementation... 04:01:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:42 $ docker exec 1cdd368ba0a83b110dd15bcfa963dff1c526dee38f3a8975569c1715e262532f ssh-agent 04:01:42 SSH_AUTH_SOCK=/tmp/ssh-TVFysFYBwb9Q/agent.32 04:01:42 SSH_AGENT_PID=38 04:01:42 Running ssh-add (command line suppressed) 04:01:42 Identity added: /w/workspace/foundry_app-record-replay_PR-112@tmp/private_key_17921813189105117992.key (/w/workspace/foundry_app-record-replay_PR-112@tmp/private_key_17921813189105117992.key) 04:01:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:43 + git tag --points-at HEAD [Pipeline] } 04:01:43 $ docker exec --env ******** --env ******** 1cdd368ba0a83b110dd15bcfa963dff1c526dee38f3a8975569c1715e262532f ssh-agent -k 04:01:43 unset SSH_AUTH_SOCK; 04:01:43 unset SSH_AGENT_PID; 04:01:43 echo Agent pid 38 killed; 04:01:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:01:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:43 [ssh-agent] Looking for ssh-agent implementation... 04:01:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:43 $ docker exec 1cdd368ba0a83b110dd15bcfa963dff1c526dee38f3a8975569c1715e262532f ssh-agent 04:01:43 SSH_AUTH_SOCK=/tmp/ssh-k6Cvl8UtiCvd/agent.70 04:01:43 SSH_AGENT_PID=76 04:01:43 Running ssh-add (command line suppressed) 04:01:43 Identity added: /w/workspace/foundry_app-record-replay_PR-112@tmp/private_key_7847599530673041884.key (/w/workspace/foundry_app-record-replay_PR-112@tmp/private_key_7847599530673041884.key) 04:01:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:44 + git semver init 04:01:44 2023-12-12 04:01:44,506 [run_init] DEBUG init version:0.0.0 force:False 04:01:44 2023-12-12 04:01:44,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-112/.semver 04:01:44 2023-12-12 04:01:44,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-112/.semver 04:01:44 2023-12-12 04:01:44,508 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-112/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-112, universal_newlines=False, shell=None, istream=None) 04:01:45 2023-12-12 04:01:45,491 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-112/.git/info/exclude 04:01:45 2023-12-12 04:01:45,492 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-112/.semver/PR-112 with force:False 04:01:45 2023-12-12 04:01:45,492 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-112/.semver/PR-112 04:01:45 2023-12-12 04:01:45,496 [execute] INFO git cat-file --batch-check 04:01:45 2023-12-12 04:01:45,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-112/.semver, universal_newlines=False, shell=None, istream=) 04:01:45 2023-12-12 04:01:45,503 [execute] INFO git cat-file --batch 04:01:45 2023-12-12 04:01:45,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-112/.semver, universal_newlines=False, shell=None, istream=) 04:01:45 2023-12-12 04:01:45,510 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-112/.semver/PR-112 04:01:45 0.0.0 [Pipeline] } 04:01:45 $ docker exec --env ******** --env ******** 1cdd368ba0a83b110dd15bcfa963dff1c526dee38f3a8975569c1715e262532f ssh-agent -k 04:01:45 unset SSH_AUTH_SOCK; 04:01:45 unset SSH_AGENT_PID; 04:01:45 echo Agent pid 76 killed; 04:01:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:01:46 + git semver [Pipeline] } 04:01:46 $ docker stop --time=1 1cdd368ba0a83b110dd15bcfa963dff1c526dee38f3a8975569c1715e262532f 04:01:47 $ docker rm -f --volumes 1cdd368ba0a83b110dd15bcfa963dff1c526dee38f3a8975569c1715e262532f [Pipeline] // withDockerContainer [Pipeline] sh 04:01:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:01:48 Stashed 1 file(s) [Pipeline] echo 04:01:48 [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 04:01:49 provisioning config files... 04:01:49 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-112@tmp/config16551073266367934063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:49 ---> ****-login.sh 04:01:49 nexus3.edgexfoundry.org:10001 04:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:49 Configure a credential helper to remove this warning. See 04:01:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:49 04:01:49 Login Succeeded 04:01:49 nexus3.edgexfoundry.org:10002 04:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:49 Configure a credential helper to remove this warning. See 04:01:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:49 04:01:49 Login Succeeded 04:01:49 nexus3.edgexfoundry.org:10003 04:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:50 Configure a credential helper to remove this warning. See 04:01:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:50 04:01:50 Login Succeeded 04:01:50 nexus3.edgexfoundry.org:10004 04:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:50 Configure a credential helper to remove this warning. See 04:01:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:50 04:01:50 Login Succeeded 04:01:50 ****.io 04:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:50 Configure a credential helper to remove this warning. See 04:01:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:50 04:01:50 Login Succeeded 04:01:50 ---> ****-login.sh ends [Pipeline] } 04:01:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:01:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:01:50 ========================================================= 04:01:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:01:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:01:51 Sending build context to Docker daemon 6.707MB 04:01:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:01:51 Step 2/12 : FROM ${BASE} AS builder 04:01:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:51 7264a8db6415: Pulling fs layer 04:01:51 c4d48a809fc2: Pulling fs layer 04:01:51 4f1c88b9dad5: Pulling fs layer 04:01:51 ad3a456e5733: Pulling fs layer 04:01:51 69c7f0334f64: Pulling fs layer 04:01:51 1f1c1a5573a3: Pulling fs layer 04:01:51 ce7588e14bc9: Pulling fs layer 04:01:51 b5e4710f87ac: Pulling fs layer 04:01:51 69c7f0334f64: Waiting 04:01:51 1f1c1a5573a3: Waiting 04:01:51 ce7588e14bc9: Waiting 04:01:51 b5e4710f87ac: Waiting 04:01:51 ad3a456e5733: Waiting 04:01:51 c4d48a809fc2: Verifying Checksum 04:01:51 c4d48a809fc2: Download complete 04:01:51 ad3a456e5733: Download complete 04:01:51 69c7f0334f64: Download complete 04:01:51 7264a8db6415: Verifying Checksum 04:01:51 7264a8db6415: Download complete 04:01:51 1f1c1a5573a3: Verifying Checksum 04:01:51 1f1c1a5573a3: Download complete 04:01:51 7264a8db6415: Pull complete 04:01:51 b5e4710f87ac: Verifying Checksum 04:01:51 b5e4710f87ac: Download complete 04:01:51 c4d48a809fc2: Pull complete 04:01:51 4f1c88b9dad5: Verifying Checksum 04:01:51 4f1c88b9dad5: Download complete 04:01:52 ce7588e14bc9: Verifying Checksum 04:01:52 ce7588e14bc9: Download complete 04:01:55 4f1c88b9dad5: Pull complete 04:01:55 ad3a456e5733: Pull complete 04:01:55 69c7f0334f64: Pull complete 04:01:55 1f1c1a5573a3: Pull complete 04:01:58 ce7588e14bc9: Pull complete 04:01:58 b5e4710f87ac: Pull complete 04:01:58 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:01:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:01:58 ---> 88b5674ff536 04:01:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:02:02 ---> Running in da628aad34a8 04:02:02 Removing intermediate container da628aad34a8 04:02:02 ---> 9a77d2fa3302 04:02:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:02:02 ---> Running in 25d1e14694cb 04:02:02 Removing intermediate container 25d1e14694cb 04:02:02 ---> e74db9c9b8ce 04:02:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:02:02 ---> Running in acefacd8fbde 04:02:03 Removing intermediate container acefacd8fbde 04:02:03 ---> 0eac584bf872 04:02:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:03 ---> Running in d9ada621c914 04:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:02:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:02:03 OK: 264 MiB in 52 packages 04:02:03 Removing intermediate container d9ada621c914 04:02:03 ---> ec4f82dfab04 04:02:03 Step 7/12 : WORKDIR /app 04:02:03 ---> Running in 7977767c8040 04:02:04 Removing intermediate container 7977767c8040 04:02:04 ---> 94d71356a81d 04:02:04 Step 8/12 : COPY go.mod vendor* ./ 04:02:04 ---> 2adcb049954a 04:02:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:04 ---> Running in d5d31521c263 04:02:04 Still waiting to schedule task 04:02:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:03:00 Removing intermediate container d5d31521c263 04:03:00 ---> b4a7d8cec28d 04:03:00 Step 10/12 : COPY . . 04:03:00 ---> d71ff4a8a0e3 04:03:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:03:00 ---> Running in bb9241325b53 04:03:00 Removing intermediate container bb9241325b53 04:03:00 ---> 83750bad7637 04:03:00 Step 12/12 : RUN $MAKE 04:03:00 ---> Running in b6fa4a03e3ca 04:03:00 noop 04:03:00 Removing intermediate container b6fa4a03e3ca 04:03:00 ---> 3aa706c9f089 04:03:00 Successfully built 3aa706c9f089 04:03:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:00 + docker inspect -f . ci-base-image-x86_64 04:03:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:01 prd-ubuntu20.04-docker-8c-8g-24872 does not seem to be running inside a container 04:03:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-112 -v /w/workspace/foundry_app-record-replay_PR-112:/w/workspace/foundry_app-record-replay_PR-112:rw,z -v /w/workspace/foundry_app-record-replay_PR-112@tmp:/w/workspace/foundry_app-record-replay_PR-112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:03:01 $ docker top 73f836642172d489c2d3e5551f81b18ced0b4cd8ed9c3ad96bd610908d73edfe -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:01 + go version 04:03:01 go version go1.21.0 linux/amd64 [Pipeline] } 04:03:01 $ docker stop --time=1 73f836642172d489c2d3e5551f81b18ced0b4cd8ed9c3ad96bd610908d73edfe 04:03:03 $ docker rm -f --volumes 73f836642172d489c2d3e5551f81b18ced0b4cd8ed9c3ad96bd610908d73edfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:04 + docker inspect -f . ci-base-image-x86_64 04:03:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:04 prd-ubuntu20.04-docker-8c-8g-24872 does not seem to be running inside a container 04:03:04 $ 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-112 -v /w/workspace/foundry_app-record-replay_PR-112:/w/workspace/foundry_app-record-replay_PR-112:rw,z -v /w/workspace/foundry_app-record-replay_PR-112@tmp:/w/workspace/foundry_app-record-replay_PR-112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:03:04 $ docker top 8efa3fc1aa2a382ed72c22a1d5cf3bdefff19ea81d7e3e7d7139062c3ed6fcbf -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:05 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-112 [Pipeline] fileExists [Pipeline] sh 04:03:05 + make test 04:03:05 go test -race -coverprofile=coverage.out ./... 04:03:23 ? github.com/edgexfoundry/app-record-replay [no test files] 04:03:23 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:03:23 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:03:23 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:03:24 ok github.com/edgexfoundry/app-record-replay/internal/app 1.042s coverage: 88.0% of statements 04:03:34 ok github.com/edgexfoundry/app-record-replay/internal/application 9.619s coverage: 98.7% of statements 04:03:34 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.123s coverage: 89.7% of statements 04:03:34 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.035s coverage: 100.0% of statements 04:03:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24873 in /w/workspace/foundry_app-record-replay_PR-112 [Pipeline] { [Pipeline] ws 04:03:51 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 04:03:52 Selected Git installation does not exist. Using Default 04:03:52 The recommended git tool is: NONE 04:03:57 using credential edgex-jenkins-ssh 04:03:57 Cloning the remote Git repository 04:03:57 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 04:03:57 > git init /w/workspace/app-record-replay/1 # timeout=10 04:03:57 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:03:57 > git --version # timeout=10 04:03:57 > git --version # 'git version 2.25.1' 04:03:57 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:59 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:03:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:04:00 Merging remotes/origin/main commit e27574318321310232daceea80e5370fcd7cad9c into PR head commit 8dcb3a5048ef3db9c158107dca04027efde0227c 04:04:00 Merge succeeded, producing 8dcb3a5048ef3db9c158107dca04027efde0227c 04:04:00 Checking out Revision 8dcb3a5048ef3db9c158107dca04027efde0227c (PR-112) 04:04:00 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:04:00 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:04:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:04:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/112/head:refs/remotes/origin/PR-112 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:04:00 > git config core.sparsecheckout # timeout=10 04:04:00 > git checkout -f 8dcb3a5048ef3db9c158107dca04027efde0227c # timeout=10 04:04:00 > git remote # timeout=10 04:04:00 > git config --get remote.origin.url # timeout=10 04:04:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:04:00 > git merge e27574318321310232daceea80e5370fcd7cad9c # timeout=10 04:04:00 > git rev-parse HEAD^{commit} # timeout=10 04:04:00 > git config core.sparsecheckout # timeout=10 04:04:00 > git checkout -f 8dcb3a5048ef3db9c158107dca04027efde0227c # timeout=10 04:04:00 go vet ./... 04:04:01 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 04:04:01 > git --version # timeout=10 04:04:01 > git --version # 'git version 2.25.1' 04:04:01 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:04:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:04:02 Dload Upload Total Spent Left Speed 04:04:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 64704 0 --:--:-- --:--:-- --:--:-- 65035 [Pipeline] sh 04:04:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:04:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:04:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:04:03 ./bin/test-attribution-txt.sh 04:04:03 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 04:04:03 04:04:03 { 04:04:03 "registry-mirrors": [ 04:04:03 "https://nexus3.edgexfoundry.org:10001" 04:04:03 ], 04:04:03 "bip": "10.250.0.254/24", 04:04:03 "hosts": [ 04:04:03 "tcp://0.0.0.0:5555", 04:04:03 "unix:///var/run/docker.sock" 04:04:03 ], 04:04:03 "mtu": 1458, 04:04:03 "selinux-enabled": true, 04:04:03 "seccomp-profile": "/etc/docker/seccomp.json" 04:04:03 } [Pipeline] echo 04:04:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [Pipeline] } 04:04:03 $ docker stop --time=1 8efa3fc1aa2a382ed72c22a1d5cf3bdefff19ea81d7e3e7d7139062c3ed6fcbf 04:04:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 04:04:08 $ docker rm -f --volumes 8efa3fc1aa2a382ed72c22a1d5cf3bdefff19ea81d7e3e7d7139062c3ed6fcbf [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 04:04:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:04:09 + sudo service docker restart 04:04:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:04:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:04:10 + ls -al . 04:04:10 total 192 04:04:10 drwxrwxr-x 10 jenkins jenkins 4096 Dec 12 04:03 . 04:04:10 drwxrwxr-x 4 jenkins jenkins 4096 Dec 12 04:01 .. 04:04:10 -rw-rw-r-- 1 jenkins jenkins 119 Dec 12 04:01 .dockerignore 04:04:10 drwxrwxr-x 8 jenkins jenkins 4096 Dec 12 04:03 .git 04:04:10 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 04:01 .github 04:04:10 -rw-rw-r-- 1 jenkins jenkins 164 Dec 12 04:01 .gitignore 04:04:10 -rw-rw-r-- 1 jenkins jenkins 41 Dec 12 04:01 .golangci.yml 04:04:10 drwxr-xr-x 3 jenkins jenkins 4096 Dec 12 04:01 .semver 04:04:10 -rw-rw-r-- 1 jenkins jenkins 11301 Dec 12 04:01 Attribution.txt 04:04:10 -rw-rw-r-- 1 jenkins jenkins 458 Dec 12 04:01 CHANGELOG.md 04:04:10 -rw-rw-r-- 1 jenkins jenkins 1725 Dec 12 04:01 Dockerfile 04:04:10 -rw-rw-r-- 1 jenkins jenkins 677 Dec 12 04:01 GOVERNANCE.md 04:04:10 -rw-rw-r-- 1 jenkins jenkins 681 Dec 12 04:01 Jenkinsfile 04:04:10 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 12 04:01 LICENSE 04:04:10 -rw-rw-r-- 1 jenkins jenkins 3136 Dec 12 04:01 Makefile 04:04:10 -rw-rw-r-- 1 jenkins jenkins 611 Dec 12 04:01 OWNERS.md 04:04:10 -rw-rw-r-- 1 jenkins jenkins 4107 Dec 12 04:01 README.md 04:04:10 -rw-rw-r-- 1 jenkins jenkins 7789 Dec 12 04:01 Record and Reply.postman_collection.json 04:04:10 -rw-rw-r-- 1 jenkins jenkins 5 Dec 12 04:01 VERSION 04:04:10 drwxrwxr-x 2 jenkins jenkins 4096 Dec 12 04:01 bin 04:04:10 -rw-r--r-- 1 jenkins jenkins 24666 Dec 12 04:03 coverage.out 04:04:10 -rw-rw-r-- 1 jenkins jenkins 3901 Dec 12 04:01 go.mod 04:04:10 -rw-rw-r-- 1 jenkins jenkins 34881 Dec 12 04:01 go.sum 04:04:10 drwxrwxr-x 7 jenkins jenkins 4096 Dec 12 04:01 internal 04:04:10 -rw-rw-r-- 1 jenkins jenkins 913 Dec 12 04:01 main.go 04:04:10 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 04:01 openapi 04:04:10 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 04:01 pkg 04:04:10 drwxrwxr-x 2 jenkins jenkins 4096 Dec 12 04:01 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:11 + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8dcb3a5048ef3db9c158107dca04027efde0227c --label arch=amd64 --label version=0.0.0 . 04:04:11 Sending build context to Docker daemon 6.733MB 04:04:11 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:04:11 Step 2/27 : FROM ${BASE} AS builder 04:04:11 ---> 3aa706c9f089 04:04:11 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 04:04:11 ---> Running in 34ea747eafc3 04:04:11 Removing intermediate container 34ea747eafc3 04:04:11 ---> 08595081cb1d 04:04:11 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 04:04:11 ---> Running in 65a9f7d26b1c 04:04:11 Removing intermediate container 65a9f7d26b1c 04:04:11 ---> 4bec5753c814 04:04:11 Step 5/27 : ARG ADD_BUILD_TAGS="" 04:04:11 ---> Running in 42b71a013295 04:04:11 Removing intermediate container 42b71a013295 04:04:11 ---> 8d10db5c8d5e 04:04:11 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:11 ---> Running in 46828629637a 04:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:04:12 OK: 264 MiB in 52 packages 04:04:12 Removing intermediate container 46828629637a 04:04:12 ---> f3d383f40381 04:04:12 Step 7/27 : WORKDIR /app 04:04:12 ---> Running in 2dc23a04a109 04:04:12 Removing intermediate container 2dc23a04a109 04:04:12 ---> b4ef6c0034c4 04:04:12 Step 8/27 : COPY go.mod vendor* ./ 04:04:12 ---> 3741d10f08b6 04:04:12 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:12 ---> Running in e7dce0f349e7 04:04:13 Removing intermediate container e7dce0f349e7 04:04:13 ---> d1afd4684ebd 04:04:13 Step 10/27 : COPY . . 04:04:14 ---> 1ee21e09547e 04:04:14 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:14 ---> Running in 3cb40ed19556 04:04:14 Removing intermediate container 3cb40ed19556 04:04:14 ---> 16d6e46ec9ec 04:04:14 Step 12/27 : RUN $MAKE 04:04:14 ---> Running in d6653633c753 04:04:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:27 provisioning config files... 04:04:27 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config10365623568468435984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:28 ---> ****-login.sh 04:04:28 nexus3.edgexfoundry.org:10001 04:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:28 Configure a credential helper to remove this warning. See 04:04:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:28 04:04:28 Login Succeeded 04:04:28 nexus3.edgexfoundry.org:10002 04:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:29 Configure a credential helper to remove this warning. See 04:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:29 04:04:29 Login Succeeded 04:04:29 nexus3.edgexfoundry.org:10003 04:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:29 Configure a credential helper to remove this warning. See 04:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:29 04:04:29 Login Succeeded 04:04:29 nexus3.edgexfoundry.org:10004 04:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:29 Configure a credential helper to remove this warning. See 04:04:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:29 04:04:29 Login Succeeded 04:04:29 ****.io 04:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:04:30 Configure a credential helper to remove this warning. See 04:04:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:04:30 04:04:30 Login Succeeded 04:04:30 ---> ****-login.sh ends [Pipeline] } 04:04:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:04:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:04:30 ========================================================= 04:04:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:04:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:04:32 #0 building with "default" instance using docker driver 04:04:32 04:04:32 #1 [internal] load build definition from Dockerfile 04:04:32 #1 transferring dockerfile: 1.76kB done 04:04:32 #1 DONE 0.1s 04:04:32 04:04:32 #2 [internal] load .dockerignore 04:04:32 #2 transferring context: 159B done 04:04:32 #2 DONE 0.1s 04:04:32 04:04:32 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:04:32 #3 DONE 0.1s 04:04:32 04:04:32 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:04:32 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:04:32 #4 ... 04:04:32 04:04:32 #5 [internal] load build context 04:04:32 #5 transferring context: 220.65kB 0.0s done 04:04:32 #5 DONE 0.1s 04:04:32 04:04:32 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:04:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 04:04:32 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:04:32 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 04:04:32 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:04:32 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.1s 04:04:32 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:04:33 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 04:04:33 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 04:04:33 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:04:33 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 0B / 440B 0.2s 04:04:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 7.34MB / 63.99MB 0.3s 04:04:33 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:04:33 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.3s 04:04:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 3.15MB / 97.63MB 0.3s 04:04:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.83MB / 63.99MB 0.5s 04:04:33 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.5s 04:04:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.53MB / 97.63MB 0.5s 04:04:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.07MB / 63.99MB 0.6s 04:04:33 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 04:04:33 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 04:04:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.8s 04:04:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 0.8s 04:04:33 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 04:04:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.89MB / 63.99MB 0.9s 04:04:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.46MB / 97.63MB 0.9s 04:04:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 46.51MB / 63.99MB 1.0s 04:04:33 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:04:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.38MB / 63.99MB 1.1s 04:04:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 38.80MB / 97.63MB 1.1s 04:04:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.2s 04:04:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 45.09MB / 97.63MB 1.2s 04:04:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 51.38MB / 97.63MB 1.3s 04:04:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s 04:04:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.93MB / 97.63MB 1.4s 04:04:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s done 04:04:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 1.6s 04:04:34 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:04:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 79.69MB / 97.63MB 1.8s 04:04:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.98MB / 97.63MB 1.9s 04:04:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.27MB / 97.63MB 2.0s 04:04:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 04:04:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s done 04:04:36 Removing intermediate container d6653633c753 04:04:36 ---> f1948b436339 04:04:36 Step 13/27 : FROM alpine:3.18 04:04:36 3.18: Pulling from library/alpine 04:04:36 c926b61bad3b: Pulling fs layer 04:04:36 c926b61bad3b: Download complete 04:04:36 c926b61bad3b: Pull complete 04:04:36 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:04:36 Status: Downloaded newer image for alpine:3.18 04:04:36 ---> b541f2080109 04:04:36 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:04:36 ---> Running in 30c16c55039d 04:04:36 Removing intermediate container 30c16c55039d 04:04:36 ---> 3084829cecc8 04:04:36 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 04:04:36 ---> Running in c01a9dd07667 04:04:36 Removing intermediate container c01a9dd07667 04:04:36 ---> 81a34e179a16 04:04:36 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 04:04:36 ---> Running in aead6db048a6 04:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:04:37 (1/2) Installing ca-certificates (20230506-r0) 04:04:37 (2/2) Installing dumb-init (1.2.5-r2) 04:04:37 Executing busybox-1.36.1-r5.trigger 04:04:37 Executing ca-certificates-20230506-r0.trigger 04:04:37 OK: 8 MiB in 17 packages 04:04:37 Removing intermediate container aead6db048a6 04:04:37 ---> d4485cc24740 04:04:37 Step 17/27 : RUN apk --no-cache upgrade 04:04:37 ---> Running in 04a6bc2dc0da 04:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:04:38 OK: 8 MiB in 17 packages 04:04:38 Removing intermediate container 04a6bc2dc0da 04:04:38 ---> 5b40ba4db11f 04:04:38 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:04:38 ---> 43df9d46f225 04:04:38 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 04:04:38 ---> b3664bfbdb7a 04:04:38 Step 20/27 : COPY --from=builder /app/res/ /res/ 04:04:39 ---> 1961fb12e8f6 04:04:39 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 04:04:40 ---> ba984e8c943c 04:04:40 Step 22/27 : EXPOSE 59712 04:04:40 ---> Running in eb7e1dc6a789 04:04:40 Removing intermediate container eb7e1dc6a789 04:04:40 ---> 15d070ff1518 04:04:40 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 04:04:40 ---> Running in cd4b073f5f47 04:04:40 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.5s 04:04:40 Removing intermediate container cd4b073f5f47 04:04:40 ---> cb2816b1c0d9 04:04:40 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:04:40 ---> Running in 8acd4a9b3085 04:04:40 Removing intermediate container 8acd4a9b3085 04:04:40 ---> 3eda747e76b8 04:04:40 Step 25/27 : LABEL arch=amd64 04:04:40 ---> Running in 514518cf3636 04:04:40 Removing intermediate container 514518cf3636 04:04:40 ---> 9641e17edcdf 04:04:40 Step 26/27 : LABEL git_sha=8dcb3a5048ef3db9c158107dca04027efde0227c 04:04:40 ---> Running in eb17c7a43248 04:04:40 Removing intermediate container eb17c7a43248 04:04:40 ---> 5258c4ad42f6 04:04:40 Step 27/27 : LABEL version=0.0.0 04:04:40 ---> Running in f72bf27237a3 04:04:40 Removing intermediate container f72bf27237a3 04:04:40 ---> d78cdebb1103 04:04:40 [Warning] One or more build-args [ARCH] were not consumed 04:04:40 Successfully built d78cdebb1103 04:04:40 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:42 04:04:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:42 latest: Pulling from edgex-lftools-log-publisher 04:04:42 5eb5b503b376: Pulling fs layer 04:04:42 5c69ac0246d0: Pulling fs layer 04:04:42 ec43610c2a17: Pulling fs layer 04:04:42 3a2ae6a8a46f: Pulling fs layer 04:04:42 33b1e0a273af: Pulling fs layer 04:04:42 5d3b04190fa2: Pulling fs layer 04:04:42 2f39f015ded8: Pulling fs layer 04:04:42 5d3b04190fa2: Waiting 04:04:42 2f39f015ded8: Waiting 04:04:42 3a2ae6a8a46f: Waiting 04:04:42 33b1e0a273af: Waiting 04:04:42 5c69ac0246d0: Verifying Checksum 04:04:42 5c69ac0246d0: Download complete 04:04:42 3a2ae6a8a46f: Verifying Checksum 04:04:42 3a2ae6a8a46f: Download complete 04:04:42 33b1e0a273af: Download complete 04:04:42 5d3b04190fa2: Download complete 04:04:42 ec43610c2a17: Verifying Checksum 04:04:42 ec43610c2a17: Download complete 04:04:42 5eb5b503b376: Download complete 04:04:43 2f39f015ded8: Verifying Checksum 04:04:43 2f39f015ded8: Download complete 04:04:43 5eb5b503b376: Pull complete 04:04:44 5c69ac0246d0: Pull complete 04:04:44 ec43610c2a17: Pull complete 04:04:44 3a2ae6a8a46f: Pull complete 04:04:44 33b1e0a273af: Pull complete 04:04:44 5d3b04190fa2: Pull complete 04:04:45 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s 04:04:49 2f39f015ded8: Pull complete 04:04:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:49 prd-ubuntu20.04-docker-8c-8g-24872 does not seem to be running inside a container 04:04:49 $ 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-112 -v /w/workspace/foundry_app-record-replay_PR-112:/w/workspace/foundry_app-record-replay_PR-112:rw,z -v /w/workspace/foundry_app-record-replay_PR-112@tmp:/w/workspace/foundry_app-record-replay_PR-112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:04:52 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.1s done 04:04:54 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:04:54 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 04:04:54 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:04:54 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 04:04:54 $ docker top db1e2167770a02160f4d9ab3de15b416d00c10a2fc9d1430191e70f75bb25530 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:55 ---> job-cost.sh 04:04:55 lf-activate-venv: SKIPPING 04:04:55 INFO: No Stack... 04:04:56 INFO: Retrieving Pricing Info for: v3-standard-8 04:04:56 INFO: Archiving Costs [Pipeline] sh 04:04:56 + cat /w/workspace/foundry_app-record-replay_PR-112/archives/cost.csv 04:04:56 + cut -d, -f6 [Pipeline] lock 04:04:56 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-112-1-stack-cost] 04:04:56 Resource [jenkins-edgexfoundry-app-record-replay-PR-112-1-stack-cost] did not exist. Created. 04:04:56 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-112-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:57 + echo total: 0.2199999988079071 [Pipeline] stash 04:04:57 Stashed 1 file(s) [Pipeline] } 04:04:57 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-112-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:57 $ docker stop --time=1 db1e2167770a02160f4d9ab3de15b416d00c10a2fc9d1430191e70f75bb25530 04:04:58 $ docker rm -f --volumes db1e2167770a02160f4d9ab3de15b416d00c10a2fc9d1430191e70f75bb25530 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:04:59 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 04:05:02 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.0s done 04:05:02 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 04:05:04 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 04:05:04 #4 DONE 31.5s 04:05:04 04:05:04 #6 [builder 2/7] RUN apk add --update --no-cache make git 04:05:04 #6 0.680 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:05:05 #6 1.053 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:05:06 #6 2.039 OK: 266 MiB in 52 packages 04:05:08 #6 DONE 3.9s 04:05:08 04:05:08 #7 [builder 3/7] WORKDIR /app 04:05:08 #7 DONE 0.1s 04:05:08 04:05:08 #8 [builder 4/7] COPY go.mod vendor* ./ 04:05:08 #8 DONE 0.1s 04:05:08 04:05:08 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:40 #9 DONE 27.4s 04:05:40 04:05:40 #10 [builder 6/7] COPY . . 04:05:40 #10 DONE 0.1s 04:05:40 04:05:40 #11 [builder 7/7] RUN echo noop 04:05:40 #11 0.589 noop 04:05:40 #11 DONE 0.8s 04:05:40 04:05:40 #12 exporting to image 04:05:40 #12 exporting layers 04:05:58 #12 exporting layers 20.8s done 04:05:58 #12 writing image sha256:8ca658d2ca786d566d17fa7541423bcb437e06e010e96bce4f78ca0c0ce10460 done 04:05:58 #12 naming to docker.io/library/ci-base-image-arm64 done 04:05:58 #12 DONE 20.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:59 + docker inspect -f . ci-base-image-arm64 04:05:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:59 prd-ubuntu20.04-docker-arm64-4c-16g-24873 does not seem to be running inside a container 04:05:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:06:00 $ docker top 1eb0cd478db99a2e027b03c05bf90e3a9671813d0934cd6efc234c62de0b4a4f -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:01 + go version 04:06:01 go version go1.21.0 linux/arm64 [Pipeline] } 04:06:01 $ docker stop --time=1 1eb0cd478db99a2e027b03c05bf90e3a9671813d0934cd6efc234c62de0b4a4f 04:06:05 $ docker rm -f --volumes 1eb0cd478db99a2e027b03c05bf90e3a9671813d0934cd6efc234c62de0b4a4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:07 + docker inspect -f . ci-base-image-arm64 04:06:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:07 prd-ubuntu20.04-docker-arm64-4c-16g-24873 does not seem to be running inside a container 04:06:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:06:08 $ docker top 23240f8a3f9e470b58d705060834453322a87849d4d48054c03156c0ea4fa103 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:08 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 04:06:09 + make test 04:06:09 go test -race -coverprofile=coverage.out ./... 04:07:45 ? github.com/edgexfoundry/app-record-replay [no test files] 04:07:45 ok github.com/edgexfoundry/app-record-replay/internal/app 1.208s coverage: 88.0% of statements 04:07:45 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:07:45 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:07:45 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:07:49 ok github.com/edgexfoundry/app-record-replay/internal/application 9.913s coverage: 98.7% of statements 04:07:49 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.610s coverage: 89.7% of statements 04:07:49 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.167s coverage: 100.0% of statements 04:07:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:07:50 go vet ./... 04:09:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:09:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:09:01 ./bin/test-attribution-txt.sh [Pipeline] echo 04:09:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:09:01 $ docker stop --time=1 23240f8a3f9e470b58d705060834453322a87849d4d48054c03156c0ea4fa103 04:09:03 $ docker rm -f --volumes 23240f8a3f9e470b58d705060834453322a87849d4d48054c03156c0ea4fa103 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:05 Warning: overwriting stash ‘coverage-report’ 04:09:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:06 + ls -al . 04:09:06 total 188 04:09:06 drwxrwxr-x 9 jenkins jenkins 4096 Dec 12 04:06 . 04:09:06 drwxrwxr-x 4 jenkins jenkins 4096 Dec 12 04:03 .. 04:09:06 -rw-rw-r-- 1 jenkins jenkins 119 Dec 12 04:04 .dockerignore 04:09:06 drwxrwxr-x 8 jenkins jenkins 4096 Dec 12 04:04 .git 04:09:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 04:04 .github 04:09:06 -rw-rw-r-- 1 jenkins jenkins 164 Dec 12 04:04 .gitignore 04:09:06 -rw-rw-r-- 1 jenkins jenkins 41 Dec 12 04:04 .golangci.yml 04:09:06 -rw-rw-r-- 1 jenkins jenkins 11301 Dec 12 04:04 Attribution.txt 04:09:06 -rw-rw-r-- 1 jenkins jenkins 458 Dec 12 04:04 CHANGELOG.md 04:09:06 -rw-rw-r-- 1 jenkins jenkins 1725 Dec 12 04:04 Dockerfile 04:09:06 -rw-rw-r-- 1 jenkins jenkins 677 Dec 12 04:04 GOVERNANCE.md 04:09:06 -rw-rw-r-- 1 jenkins jenkins 681 Dec 12 04:04 Jenkinsfile 04:09:06 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 12 04:04 LICENSE 04:09:06 -rw-rw-r-- 1 jenkins jenkins 3136 Dec 12 04:04 Makefile 04:09:06 -rw-rw-r-- 1 jenkins jenkins 611 Dec 12 04:04 OWNERS.md 04:09:06 -rw-rw-r-- 1 jenkins jenkins 4107 Dec 12 04:04 README.md 04:09:06 -rw-rw-r-- 1 jenkins jenkins 7789 Dec 12 04:04 Record and Reply.postman_collection.json 04:09:06 -rw-rw-r-- 1 jenkins jenkins 5 Dec 12 04:01 VERSION 04:09:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 12 04:04 bin 04:09:06 -rw-r--r-- 1 jenkins jenkins 24666 Dec 12 04:07 coverage.out 04:09:06 -rw-rw-r-- 1 jenkins jenkins 3901 Dec 12 04:04 go.mod 04:09:06 -rw-rw-r-- 1 jenkins jenkins 34881 Dec 12 04:04 go.sum 04:09:06 drwxrwxr-x 7 jenkins jenkins 4096 Dec 12 04:04 internal 04:09:06 -rw-rw-r-- 1 jenkins jenkins 913 Dec 12 04:04 main.go 04:09:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 04:04 openapi 04:09:06 drwxrwxr-x 3 jenkins jenkins 4096 Dec 12 04:04 pkg 04:09:06 drwxrwxr-x 2 jenkins jenkins 4096 Dec 12 04:04 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:07 + 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=8dcb3a5048ef3db9c158107dca04027efde0227c --label arch=arm64 --label version=0.0.0 . 04:09:08 #0 building with "default" instance using docker driver 04:09:08 04:09:08 #1 [internal] load build definition from Dockerfile 04:09:08 #1 transferring dockerfile: 1.76kB 0.0s done 04:09:08 #1 DONE 0.0s 04:09:08 04:09:08 #2 [internal] load .dockerignore 04:09:08 #2 transferring context: 159B done 04:09:08 #2 DONE 0.0s 04:09:08 04:09:08 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:09:08 #3 DONE 0.0s 04:09:08 04:09:08 #4 [internal] load metadata for docker.io/library/alpine:3.18 04:09:09 #4 DONE 0.9s 04:09:09 04:09:09 #5 [internal] load build context 04:09:09 #5 transferring context: 26.74kB 0.0s done 04:09:09 #5 DONE 0.1s 04:09:09 04:09:09 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:09:09 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 04:09:09 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 04:09:09 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 04:09:09 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s 04:09:09 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 04:09:09 #6 ... 04:09:09 04:09:09 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:09:09 #7 DONE 0.2s 04:09:09 04:09:09 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:09:09 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.2s 04:09:09 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.3s done 04:09:09 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 04:09:09 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 04:09:10 #6 DONE 1.0s 04:09:10 04:09:10 #8 [stage-1 2/7] RUN apk add --update --no-cache ca-certificates dumb-init 04:09:10 #8 0.637 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:09:10 #8 0.968 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:09:11 #8 ... 04:09:11 04:09:11 #9 [builder 2/7] RUN apk add --update --no-cache make git 04:09:11 #9 0.633 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:09:11 #9 1.046 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:09:11 #9 2.144 OK: 266 MiB in 52 packages 04:09:11 #9 DONE 2.4s 04:09:11 04:09:11 #10 [builder 3/7] WORKDIR /app 04:09:11 #10 DONE 0.1s 04:09:11 04:09:11 #11 [builder 4/7] COPY go.mod vendor* ./ 04:09:11 #11 DONE 0.1s 04:09:11 04:09:11 #8 [stage-1 2/7] RUN apk add --update --no-cache ca-certificates dumb-init 04:09:12 #8 2.043 (1/2) Installing ca-certificates (20230506-r0) 04:09:12 #8 2.136 (2/2) Installing dumb-init (1.2.5-r2) 04:09:12 #8 2.146 Executing busybox-1.36.1-r5.trigger 04:09:12 #8 2.168 Executing ca-certificates-20230506-r0.trigger 04:09:12 #8 2.393 OK: 9 MiB in 17 packages 04:09:13 #8 DONE 2.7s 04:09:13 04:09:13 #12 [stage-1 3/7] RUN apk --no-cache upgrade 04:09:13 #12 ... 04:09:13 04:09:13 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:13 #13 DONE 1.7s 04:09:13 04:09:13 #12 [stage-1 3/7] RUN apk --no-cache upgrade 04:09:13 #12 0.806 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:09:13 #12 ... 04:09:13 04:09:13 #14 [builder 6/7] COPY . . 04:09:13 #14 DONE 0.1s 04:09:13 04:09:13 #15 [builder 7/7] RUN make build 04:09:14 #15 0.637 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:09:15 #15 ... 04:09:15 04:09:15 #12 [stage-1 3/7] RUN apk --no-cache upgrade 04:09:15 #12 1.194 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:09:15 #12 2.220 OK: 9 MiB in 17 packages 04:09:15 #12 DONE 2.5s 04:09:15 04:09:15 #15 [builder 7/7] RUN make build 04:10:23 #15 DONE 60.7s 04:10:23 04:10:23 #16 [stage-1 4/7] COPY --from=builder /app/Attribution.txt /Attribution.txt 04:10:23 #16 DONE 0.1s 04:10:23 04:10:23 #17 [stage-1 5/7] COPY --from=builder /app/LICENSE /LICENSE 04:10:23 #17 DONE 0.1s 04:10:23 04:10:23 #18 [stage-1 6/7] COPY --from=builder /app/res/ /res/ 04:10:23 #18 DONE 0.1s 04:10:23 04:10:23 #19 [stage-1 7/7] COPY --from=builder /app/app-record-replay /app-record-replay 04:10:23 #19 DONE 0.3s 04:10:23 04:10:23 #20 exporting to image 04:10:23 #20 exporting layers 04:10:23 #20 exporting layers 0.3s done 04:10:23 #20 writing image sha256:56ce88cb26f58a700fef6642a4d2ba02622bceaf88515868534dcacdd5ddb191 done 04:10:23 #20 naming to docker.io/library/app-record-replay-arm64 done 04:10:23 #20 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:10:24 04:10:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:10:25 arm64: Pulling from edgex-lftools-log-publisher 04:10:25 8998bd30e6a1: Pulling fs layer 04:10:25 04944245beec: Pulling fs layer 04:10:25 699f458cf7ca: Pulling fs layer 04:10:25 765212b225bb: Pulling fs layer 04:10:25 f23df028b6ca: Pulling fs layer 04:10:25 d65c8cfc05b1: Pulling fs layer 04:10:25 2437ff75d9bd: Pulling fs layer 04:10:25 f23df028b6ca: Waiting 04:10:25 765212b225bb: Waiting 04:10:25 d65c8cfc05b1: Waiting 04:10:25 2437ff75d9bd: Waiting 04:10:25 04944245beec: Download complete 04:10:25 765212b225bb: Verifying Checksum 04:10:25 765212b225bb: Download complete 04:10:25 f23df028b6ca: Verifying Checksum 04:10:25 f23df028b6ca: Download complete 04:10:25 d65c8cfc05b1: Verifying Checksum 04:10:25 d65c8cfc05b1: Download complete 04:10:25 699f458cf7ca: Verifying Checksum 04:10:25 699f458cf7ca: Download complete 04:10:26 8998bd30e6a1: Verifying Checksum 04:10:26 8998bd30e6a1: Download complete 04:10:28 2437ff75d9bd: Download complete 04:10:32 8998bd30e6a1: Pull complete 04:10:32 04944245beec: Pull complete 04:10:34 699f458cf7ca: Pull complete 04:10:34 765212b225bb: Pull complete 04:10:37 f23df028b6ca: Pull complete 04:10:37 d65c8cfc05b1: Pull complete 04:10:59 2437ff75d9bd: Pull complete 04:10:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:10:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:59 prd-ubuntu20.04-docker-arm64-4c-16g-24873 does not seem to be running inside a container 04:10:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:11:01 $ docker top aa0cca94a68771e23c2e8145bbd8d20326836227a114379604e9061693d18031 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:02 ---> job-cost.sh 04:11:02 lf-activate-venv: SKIPPING 04:11:02 INFO: No Stack... 04:11:02 INFO: Retrieving Pricing Info for: v3-standard-8 04:11:03 INFO: Archiving Costs [Pipeline] sh 04:11:04 + cat /w/workspace/app-record-replay/1/archives/cost.csv 04:11:04 + cut -d, -f6 [Pipeline] lock 04:11:06 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-112-1-stack-cost] 04:11:06 Resource [jenkins-edgexfoundry-app-record-replay-PR-112-1-stack-cost] did not exist. Created. 04:11:06 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-112-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:11:07 /w/workspace/app-record-replay/1@tmp/durable-7f29de8b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:11:07 + echo total: 0.2199999988079071 [Pipeline] stash 04:11:07 Warning: overwriting stash ‘stack-cost’ 04:11:07 Stashed 1 file(s) [Pipeline] } 04:11:07 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-112-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:11:07 $ docker stop --time=1 aa0cca94a68771e23c2e8145bbd8d20326836227a114379604e9061693d18031 04:11:09 $ docker rm -f --volumes aa0cca94a68771e23c2e8145bbd8d20326836227a114379604e9061693d18031 [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 04:11:11 provisioning config files... 04:11:11 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-112@tmp/config6086856142738142700tmp [Pipeline] { [Pipeline] sh 04:11:11 + set +x 04:11:11 + + curl -s https://codecov.io/bash 04:11:11 bash -s -- 04:11:11 04:11:11 _____ _ 04:11:11 / ____| | | 04:11:11 | | ___ __| | ___ ___ _____ __ 04:11:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:11:11 | |___| (_) | (_| | __/ (_| (_) \ V / 04:11:11 \_____\___/ \__,_|\___|\___\___/ \_/ 04:11:11 Bash-1.0.6 04:11:11 04:11:11 04:11:11 ==> git version 2.25.1 found 04:11:11 ==> 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 04:11:11 Release-Date: 2020-01-08 04:11:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:11:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:11:11 ==> Jenkins CI detected. 04:11:11 current dir:  /w/workspace/foundry_app-record-replay_PR-112 04:11:11 project root: . 04:11:11 --> token set from env 04:11:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:11:11 ==> Running gcov in . (disable via -X gcov) 04:11:11 ==> Python coveragepy not found 04:11:11 ==> Searching for coverage reports in: 04:11:11 + . 04:11:11 -> Found 1 reports 04:11:11 ==> Detecting git/mercurial file structure 04:11:11 ==> Reading reports 04:11:11 + ./coverage.out bytes=24666 04:11:11 ==> Appending adjustments 04:11:11 https://docs.codecov.io/docs/fixing-reports 04:11:11 + Found adjustments 04:11:11 ==> Gzipping contents 04:11:11 8.0K /tmp/codecov.vUpWJM.gz 04:11:11 ==> Uploading reports 04:11:11 url: https://codecov.io 04:11:11 query: branch=PR-112&commit=8dcb3a5048ef3db9c158107dca04027efde0227c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-112%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=112&job=&cmd_args= 04:11:11 -> Pinging Codecov 04:11:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-112&commit=8dcb3a5048ef3db9c158107dca04027efde0227c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-112%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=112&job=&cmd_args= 04:11:11 -> Uploading to 04:11:11 https://storage.googleapis.com/codecov/v4/raw/2023-12-12/F467761B9912B4F32F9BC62907045C81/8dcb3a5048ef3db9c158107dca04027efde0227c/e57b8b2e-89d9-4542-a5cb-75b556daff95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231212%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231212T041111Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=460dc0a34e2c0144209fafbdcacc508aeee2d6df37afbae784e4e04a806a9f40 04:11:11 % Total % Received % Xferd Average Speed Time Time Time Current 04:11:11 Dload Upload Total Spent Left Speed 04:11:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4847 0 0 100 4847 0 20451 --:--:-- --:--:-- --:--:-- 20451 04:11:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/8dcb3a5048ef3db9c158107dca04027efde0227c [Pipeline] } 04:11:12 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:11:15 + [ -d /w/workspace/foundry_app-record-replay_PR-112/archives ] 04:11:15 + ls -al /w/workspace/foundry_app-record-replay_PR-112/archives 04:11:15 total 16 04:11:15 drwxr-xr-x 3 root root 4096 Dec 12 04:04 . 04:11:15 drwxrwxr-x 11 jenkins jenkins 4096 Dec 12 04:04 .. 04:11:15 drwxr-xr-x 2 root root 4096 Dec 12 04:04 cost 04:11:15 -rw-r--r-- 1 root root 89 Dec 12 04:04 cost.csv 04:11:15 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-112/archives 04:11:15 + ls -al /w/workspace/foundry_app-record-replay_PR-112/archives 04:11:15 total 16 04:11:15 drwxr-xr-x 3 jenkins jenkins 4096 Dec 12 04:04 . 04:11:15 drwxrwxr-x 11 jenkins jenkins 4096 Dec 12 04:04 .. 04:11:15 drwxr-xr-x 2 jenkins jenkins 4096 Dec 12 04:04 cost 04:11:15 -rw-r--r-- 1 jenkins jenkins 89 Dec 12 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:11:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:11:16 ---> package-listing.sh 04:11:16 ++ facter osfamily 04:11:16 ++ tr '[:upper:]' '[:lower:]' 04:11:16 + OS_FAMILY=debian 04:11:16 + workspace=/w/workspace/foundry_app-record-replay_PR-112 04:11:16 + START_PACKAGES=/tmp/packages_start.txt 04:11:16 + END_PACKAGES=/tmp/packages_end.txt 04:11:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:11:16 + PACKAGES=/tmp/packages_start.txt 04:11:16 + '[' /w/workspace/foundry_app-record-replay_PR-112 ']' 04:11:16 + PACKAGES=/tmp/packages_end.txt 04:11:16 + case "${OS_FAMILY}" in 04:11:16 + dpkg -l 04:11:16 + grep '^ii' 04:11:16 + '[' -f /tmp/packages_start.txt ']' 04:11:16 + '[' -f /tmp/packages_end.txt ']' 04:11:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:11:16 + '[' /w/workspace/foundry_app-record-replay_PR-112 ']' 04:11:16 + mkdir -p /w/workspace/foundry_app-record-replay_PR-112/archives/ 04:11:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-112/archives/ [Pipeline] echo 04:11:16 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-112/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:11:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:18 prd-ubuntu20.04-docker-8c-8g-24872 does not seem to be running inside a container 04:11:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_app-record-replay_PR-112/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-112 -v /w/workspace/foundry_app-record-replay_PR-112:/w/workspace/foundry_app-record-replay_PR-112:rw,z -v /w/workspace/foundry_app-record-replay_PR-112@tmp:/w/workspace/foundry_app-record-replay_PR-112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:11:18 $ docker top dac9f1e1685d4ac926cd4132130c4f584ea6e54a739b57ad8bf6203b5f7e6123 -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:18 + touch /tmp/pre-build-complete [Pipeline] sh 04:11:19 + mkdir -p /var/log/sysstat [Pipeline] sh 04:11:19 + ls /var/log/sa-host 04:11:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:19 provisioning config files... 04:11:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-112@tmp/config7653385052616540555tmp [Pipeline] { [Pipeline] echo 04:11:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:11:20 ---> create-netrc.sh [Pipeline] } 04:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:11:20 ---> python-tools-install.sh [Pipeline] echo 04:11:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:11:21 ---> sudo-logs.sh 04:11:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:11:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:11:21 ---> job-cost.sh 04:11:21 lf-activate-venv: SKIPPING 04:11:21 DEBUG: total: 0.2199999988079071 04:11:21 INFO: Retrieving Stack Cost... 04:11:21 INFO: Retrieving Pricing Info for: v3-standard-8 04:11:22 INFO: Archiving Costs [Pipeline] echo 04:11:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:11:22 ---> logs-deploy.sh 04:11:22 lf-activate-venv: SKIPPING 04:11:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-112/1 04:11:22 INFO: archiving workspace using pattern(s): 04:11:23 Archives upload complete. 04:11:23 INFO: archiving logs to Nexus