Pull request #50 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from 064fa5a74bb5a679404765c0fe6309ded3aada87+c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 (a6539ebe2c7349acdbdba7b63db5563dc4c73968) 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-ssh13927273694838811122.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4152818295069866628.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-50/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-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5764706935183904897.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-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8731511745699372540.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh6332369733528553105.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-50/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-50/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10990469220257140774.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 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-2290 in /w/workspace/xfoundry_app-record-replay_PR-50 [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/xfoundry_app-record-replay_PR-50 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 into PR head commit 064fa5a74bb5a679404765c0fe6309ded3aada87 Merge succeeded, producing 064fa5a74bb5a679404765c0fe6309ded3aada87 Checking out Revision 064fa5a74bb5a679404765c0fe6309ded3aada87 (PR-50) > git config core.sparsecheckout # timeout=10 > git checkout -f 064fa5a74bb5a679404765c0fe6309ded3aada87 # 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 c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 064fa5a74bb5a679404765c0fe6309ded3aada87 # timeout=10 Commit message: "feat: Implement app layer Record Status" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-26T22:11:29.743Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-26T22:11:29.934Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-26T22:11:30.048Z] ========================================================= [2023-07-26T22:11:30.048Z] EdgeX Global Pipelines Version Info [2023-07-26T22:11:30.048Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:11:30.783Z] ------------------- [2023-07-26T22:11:30.783Z] stable info: [2023-07-26T22:11:30.783Z] ------------------- [2023-07-26T22:11:30.783Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-26T22:11:30.783Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T22:11:30.783Z] Message: update stable to v1.0.250 [2023-07-26T22:11:31.356Z] ------------------- [2023-07-26T22:11:31.356Z] experimental info: [2023-07-26T22:11:31.356Z] ------------------- [2023-07-26T22:11:31.356Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-26T22:11:31.356Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T22:11:31.356Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-26T22:11:31.637Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-07-26T22:11:31.680Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-07-26T22:11:31.721Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-26T22:11:31.765Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-26T22:11:31.802Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-26T22:11:31.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-26T22:11:31.884Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-26T22:11:31.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-26T22:11:31.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-26T22:11:32.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-26T22:11:32.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-26T22:11:32.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-07-26T22:11:32.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-26T22:11:32.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-26T22:11:32.240Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T22:11:32.286Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-26T22:11:32.327Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T22:11:32.367Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-26T22:11:32.409Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-26T22:11:32.452Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-26T22:11:32.492Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-26T22:11:32.533Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-26T22:11:32.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-26T22:11:32.617Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-26T22:11:32.660Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-26T22:11:32.702Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-26T22:11:32.747Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-26T22:11:32.794Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo [2023-07-26T22:11:32.846Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo [2023-07-26T22:11:32.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo [2023-07-26T22:11:32.933Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 064fa5a74bb5a679404765c0fe6309ded3aada87 [Pipeline] echo [2023-07-26T22:11:32.976Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 064fa5a [Pipeline] echo [2023-07-26T22:11:33.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T22:11:33.149Z] provisioning config files... [2023-07-26T22:11:33.165Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config1846932507333344952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:11:41.106Z] ---> docker-login.sh [2023-07-26T22:11:41.106Z] nexus3.edgexfoundry.org:10001 [2023-07-26T22:11:41.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:11:41.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:11:41.367Z] Configure a credential helper to remove this warning. See [2023-07-26T22:11:41.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:11:41.367Z] [2023-07-26T22:11:41.367Z] Login Succeeded [2023-07-26T22:11:41.367Z] nexus3.edgexfoundry.org:10002 [2023-07-26T22:11:41.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:11:41.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:11:41.626Z] Configure a credential helper to remove this warning. See [2023-07-26T22:11:41.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:11:41.626Z] [2023-07-26T22:11:41.626Z] Login Succeeded [2023-07-26T22:11:41.626Z] nexus3.edgexfoundry.org:10003 [2023-07-26T22:11:41.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:11:41.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:11:41.626Z] Configure a credential helper to remove this warning. See [2023-07-26T22:11:41.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:11:41.626Z] [2023-07-26T22:11:41.626Z] Login Succeeded [2023-07-26T22:11:41.626Z] nexus3.edgexfoundry.org:10004 [2023-07-26T22:11:41.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:11:41.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:11:41.626Z] Configure a credential helper to remove this warning. See [2023-07-26T22:11:41.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:11:41.626Z] [2023-07-26T22:11:41.626Z] Login Succeeded [2023-07-26T22:11:41.626Z] docker.io [2023-07-26T22:11:41.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:11:42.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:11:42.148Z] Configure a credential helper to remove this warning. See [2023-07-26T22:11:42.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:11:42.148Z] [2023-07-26T22:11:42.148Z] Login Succeeded [2023-07-26T22:11:42.148Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T22:11:42.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-26T22:11:42.792Z] + git rev-list -1 --merges 064fa5a74bb5a679404765c0fe6309ded3aada87~1..064fa5a74bb5a679404765c0fe6309ded3aada87 [Pipeline] echo [2023-07-26T22:11:42.853Z] -----------> git rev-list -1 --merges 064fa5a74bb5a679404765c0fe6309ded3aada87~1..064fa5a74bb5a679404765c0fe6309ded3aada87 064fa5a74bb5a679404765c0fe6309ded3aada87 [false] [Pipeline] sh [2023-07-26T22:11:44.730Z] + git log --format=format:%s -1 064fa5a74bb5a679404765c0fe6309ded3aada87 [Pipeline] echo [2023-07-26T22:11:44.767Z] ========================================================= [2023-07-26T22:11:44.767Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-26T22:11:44.767Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T22:11:46.178Z] + git log --format=format:%s -1 064fa5a74bb5a679404765c0fe6309ded3aada87 [Pipeline] echo [2023-07-26T22:11:46.211Z] [semverPrep] GIT_COMMIT: 064fa5a74bb5a679404765c0fe6309ded3aada87, Commit Message: feat: Implement app layer Record Status [Pipeline] echo [2023-07-26T22:11:46.240Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-26T22:11:46.694Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-26T22:11:46.694Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-26T22:11:46.694Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-26T22:11:46.694Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-26T22:11:46.694Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-26T22:11:46.694Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-26T22:11:46.694Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:11:47.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T22:11:47.129Z] [2023-07-26T22:11:47.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:11:47.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T22:11:47.524Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-26T22:11:47.524Z] b85a868b505f: Pulling fs layer [2023-07-26T22:11:47.524Z] e2be974225ed: Pulling fs layer [2023-07-26T22:11:47.524Z] 339a4e72a1f5: Pulling fs layer [2023-07-26T22:11:47.524Z] 988bab9f4d93: Pulling fs layer [2023-07-26T22:11:47.524Z] 1469e6f7b9e6: Pulling fs layer [2023-07-26T22:11:47.524Z] eaf3925da568: Pulling fs layer [2023-07-26T22:11:47.524Z] bab4dde63d76: Pulling fs layer [2023-07-26T22:11:47.524Z] bde34c3a00c8: Pulling fs layer [2023-07-26T22:11:47.524Z] b352a97aabf1: Pulling fs layer [2023-07-26T22:11:47.524Z] 4872d77fe225: Pulling fs layer [2023-07-26T22:11:47.524Z] 5851b861e8e6: Pulling fs layer [2023-07-26T22:11:47.524Z] eaf3925da568: Waiting [2023-07-26T22:11:47.524Z] bab4dde63d76: Waiting [2023-07-26T22:11:47.524Z] bde34c3a00c8: Waiting [2023-07-26T22:11:47.524Z] b352a97aabf1: Waiting [2023-07-26T22:11:47.524Z] 4872d77fe225: Waiting [2023-07-26T22:11:47.524Z] 5851b861e8e6: Waiting [2023-07-26T22:11:47.524Z] 988bab9f4d93: Waiting [2023-07-26T22:11:47.524Z] 1469e6f7b9e6: Waiting [2023-07-26T22:11:47.524Z] e2be974225ed: Download complete [2023-07-26T22:11:47.524Z] 988bab9f4d93: Download complete [2023-07-26T22:11:47.524Z] 1469e6f7b9e6: Verifying Checksum [2023-07-26T22:11:47.524Z] 1469e6f7b9e6: Download complete [2023-07-26T22:11:47.524Z] 339a4e72a1f5: Verifying Checksum [2023-07-26T22:11:47.524Z] 339a4e72a1f5: Download complete [2023-07-26T22:11:47.524Z] eaf3925da568: Download complete [2023-07-26T22:11:47.524Z] bde34c3a00c8: Download complete [2023-07-26T22:11:47.785Z] b352a97aabf1: Verifying Checksum [2023-07-26T22:11:47.785Z] b352a97aabf1: Download complete [2023-07-26T22:11:47.785Z] 4872d77fe225: Verifying Checksum [2023-07-26T22:11:47.785Z] 4872d77fe225: Download complete [2023-07-26T22:11:47.785Z] 5851b861e8e6: Verifying Checksum [2023-07-26T22:11:47.785Z] 5851b861e8e6: Download complete [2023-07-26T22:11:47.785Z] b85a868b505f: Verifying Checksum [2023-07-26T22:11:47.785Z] b85a868b505f: Download complete [2023-07-26T22:11:48.044Z] bab4dde63d76: Verifying Checksum [2023-07-26T22:11:48.044Z] bab4dde63d76: Download complete [2023-07-26T22:11:48.983Z] b85a868b505f: Pull complete [2023-07-26T22:11:48.983Z] e2be974225ed: Pull complete [2023-07-26T22:11:49.552Z] 339a4e72a1f5: Pull complete [2023-07-26T22:11:49.552Z] 988bab9f4d93: Pull complete [2023-07-26T22:11:49.811Z] 1469e6f7b9e6: Pull complete [2023-07-26T22:11:49.811Z] eaf3925da568: Pull complete [2023-07-26T22:11:51.716Z] bab4dde63d76: Pull complete [2023-07-26T22:11:51.716Z] bde34c3a00c8: Pull complete [2023-07-26T22:11:51.716Z] b352a97aabf1: Pull complete [2023-07-26T22:11:51.716Z] 4872d77fe225: Pull complete [2023-07-26T22:11:51.716Z] 5851b861e8e6: Pull complete [2023-07-26T22:11:51.716Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-26T22:11:51.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-26T22:11:51.716Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T22:11:51.954Z] prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container [2023-07-26T22:11:52.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-26T22:11:53.160Z] $ docker top 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a -eo pid,comm [2023-07-26T22:11:53.109Z] 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). [2023-07-26T22:11:53.109Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-26T22:11:53.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T22:11:53.240Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T22:11:53.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T22:11:53.460Z] $ docker exec 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a ssh-agent [2023-07-26T22:11:53.462Z] SSH_AUTH_SOCK=/tmp/ssh-d6YFsZMyzJht/agent.33 [2023-07-26T22:11:53.462Z] SSH_AGENT_PID=39 [2023-07-26T22:11:53.469Z] Running ssh-add (command line suppressed) [2023-07-26T22:11:53.675Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_10938691165742018652.key (/w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_10938691165742018652.key) [2023-07-26T22:11:53.578Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T22:11:53.913Z] + git tag --points-at HEAD [Pipeline] } [2023-07-26T22:11:54.050Z] $ docker exec --env ******** --env ******** 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a ssh-agent -k [2023-07-26T22:11:54.146Z] unset SSH_AUTH_SOCK; [2023-07-26T22:11:54.147Z] unset SSH_AGENT_PID; [2023-07-26T22:11:54.147Z] echo Agent pid 39 killed; [2023-07-26T22:11:54.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-26T22:11:54.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-26T22:11:54.138Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-26T22:11:54.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-26T22:11:54.368Z] $ docker exec 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a ssh-agent [2023-07-26T22:11:54.361Z] SSH_AUTH_SOCK=/tmp/ssh-vohsd1yj7UJo/agent.71 [2023-07-26T22:11:54.362Z] SSH_AGENT_PID=77 [2023-07-26T22:11:54.367Z] Running ssh-add (command line suppressed) [2023-07-26T22:11:54.586Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_5759815191172280367.key (/w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_5759815191172280367.key) [2023-07-26T22:11:54.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-26T22:11:54.812Z] + git semver init [2023-07-26T22:11:55.071Z] 2023-07-26 22:11:55,114 [run_init] DEBUG init version:0.0.0 force:False [2023-07-26T22:11:55.071Z] 2023-07-26 22:11:55,115 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-50/.semver [2023-07-26T22:11:55.071Z] 2023-07-26 22:11:55,115 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-50/.semver [2023-07-26T22:11:55.071Z] 2023-07-26 22:11:55,116 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-50/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-50, universal_newlines=False, shell=None, istream=None) [2023-07-26T22:11:56.008Z] 2023-07-26 22:11:55,790 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-50/.git/info/exclude [2023-07-26T22:11:56.008Z] 2023-07-26 22:11:55,791 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-50/.semver/PR-50 with force:False [2023-07-26T22:11:56.008Z] 2023-07-26 22:11:55,791 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-50/.semver/PR-50 [2023-07-26T22:11:56.008Z] 2023-07-26 22:11:55,795 [execute] INFO git cat-file --batch-check [2023-07-26T22:11:56.008Z] 2023-07-26 22:11:55,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-50/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T22:11:56.008Z] 2023-07-26 22:11:55,801 [execute] INFO git cat-file --batch [2023-07-26T22:11:56.008Z] 2023-07-26 22:11:55,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-50/.semver, universal_newlines=False, shell=None, istream=) [2023-07-26T22:11:56.008Z] 2023-07-26 22:11:55,805 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-50/.semver/PR-50 [2023-07-26T22:11:56.008Z] 0.0.0 [Pipeline] } [2023-07-26T22:11:56.157Z] $ docker exec --env ******** --env ******** 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a ssh-agent -k [2023-07-26T22:11:56.250Z] unset SSH_AUTH_SOCK; [2023-07-26T22:11:56.251Z] unset SSH_AGENT_PID; [2023-07-26T22:11:56.251Z] echo Agent pid 77 killed; [2023-07-26T22:11:56.135Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-26T22:11:56.562Z] + git semver [Pipeline] } [2023-07-26T22:11:56.974Z] $ docker stop --time=1 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a [2023-07-26T22:11:58.275Z] $ docker rm -f --volumes 727e2b93f89b6cdb4a7e885c32579027221583c551ab6b7521befc0b84b40e0a [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T22:11:58.542Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-26T22:11:58.790Z] Stashed 1 file(s) [Pipeline] echo [2023-07-26T22:11:58.806Z] [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 [2023-07-26T22:11:59.412Z] provisioning config files... [2023-07-26T22:11:59.421Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config5502493255180868775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:11:59.775Z] ---> docker-login.sh [2023-07-26T22:11:59.775Z] nexus3.edgexfoundry.org:10001 [2023-07-26T22:11:59.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:11:59.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:11:59.775Z] Configure a credential helper to remove this warning. See [2023-07-26T22:11:59.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:11:59.775Z] [2023-07-26T22:11:59.775Z] Login Succeeded [2023-07-26T22:11:59.775Z] nexus3.edgexfoundry.org:10002 [2023-07-26T22:11:59.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:11:59.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:11:59.775Z] Configure a credential helper to remove this warning. See [2023-07-26T22:11:59.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:11:59.775Z] [2023-07-26T22:11:59.775Z] Login Succeeded [2023-07-26T22:11:59.775Z] nexus3.edgexfoundry.org:10003 [2023-07-26T22:12:00.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:12:00.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:12:00.033Z] Configure a credential helper to remove this warning. See [2023-07-26T22:12:00.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:12:00.033Z] [2023-07-26T22:12:00.033Z] Login Succeeded [2023-07-26T22:12:00.033Z] nexus3.edgexfoundry.org:10004 [2023-07-26T22:12:00.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:12:00.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:12:00.033Z] Configure a credential helper to remove this warning. See [2023-07-26T22:12:00.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:12:00.033Z] [2023-07-26T22:12:00.033Z] Login Succeeded [2023-07-26T22:12:00.033Z] docker.io [2023-07-26T22:12:00.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:12:00.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:12:00.292Z] Configure a credential helper to remove this warning. See [2023-07-26T22:12:00.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:12:00.292Z] [2023-07-26T22:12:00.292Z] Login Succeeded [2023-07-26T22:12:00.292Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T22:12:00.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T22:12:00.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T22:12:00.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T22:12:00.579Z] ========================================================= [2023-07-26T22:12:00.579Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-26T22:12:00.579Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:12:01.045Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-26T22:12:01.045Z] Sending build context to Docker daemon 388.1kB [2023-07-26T22:12:01.046Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T22:12:01.046Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-26T22:12:01.046Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-26T22:12:01.046Z] 4db1b89c0bd1: Pulling fs layer [2023-07-26T22:12:01.046Z] 6911f1a30b25: Pulling fs layer [2023-07-26T22:12:01.046Z] e194b8c5c2a9: Pulling fs layer [2023-07-26T22:12:01.046Z] 6863d3e3a2b1: Pulling fs layer [2023-07-26T22:12:01.046Z] ec0bb842ea78: Pulling fs layer [2023-07-26T22:12:01.046Z] 40a00589a448: Pulling fs layer [2023-07-26T22:12:01.046Z] 6c08303d61cc: Pulling fs layer [2023-07-26T22:12:01.046Z] 798269fcf238: Pulling fs layer [2023-07-26T22:12:01.046Z] ec0bb842ea78: Waiting [2023-07-26T22:12:01.046Z] 6c08303d61cc: Waiting [2023-07-26T22:12:01.046Z] 798269fcf238: Waiting [2023-07-26T22:12:01.046Z] 40a00589a448: Waiting [2023-07-26T22:12:01.046Z] 6863d3e3a2b1: Waiting [2023-07-26T22:12:01.046Z] 6911f1a30b25: Verifying Checksum [2023-07-26T22:12:01.046Z] 6911f1a30b25: Download complete [2023-07-26T22:12:01.046Z] 6863d3e3a2b1: Verifying Checksum [2023-07-26T22:12:01.046Z] 6863d3e3a2b1: Download complete [2023-07-26T22:12:01.046Z] ec0bb842ea78: Verifying Checksum [2023-07-26T22:12:01.046Z] ec0bb842ea78: Download complete [2023-07-26T22:12:01.046Z] 4db1b89c0bd1: Verifying Checksum [2023-07-26T22:12:01.046Z] 4db1b89c0bd1: Download complete [2023-07-26T22:12:01.046Z] 40a00589a448: Verifying Checksum [2023-07-26T22:12:01.046Z] 40a00589a448: Download complete [2023-07-26T22:12:01.306Z] 4db1b89c0bd1: Pull complete [2023-07-26T22:12:01.306Z] 6911f1a30b25: Pull complete [2023-07-26T22:12:01.566Z] 798269fcf238: Verifying Checksum [2023-07-26T22:12:01.566Z] 798269fcf238: Download complete [2023-07-26T22:12:01.825Z] e194b8c5c2a9: Verifying Checksum [2023-07-26T22:12:01.825Z] e194b8c5c2a9: Download complete [2023-07-26T22:12:01.825Z] 6c08303d61cc: Verifying Checksum [2023-07-26T22:12:01.825Z] 6c08303d61cc: Download complete [2023-07-26T22:12:05.112Z] e194b8c5c2a9: Pull complete [2023-07-26T22:12:05.112Z] 6863d3e3a2b1: Pull complete [2023-07-26T22:12:05.112Z] ec0bb842ea78: Pull complete [2023-07-26T22:12:05.112Z] 40a00589a448: Pull complete [2023-07-26T22:12:07.012Z] 6c08303d61cc: Pull complete [2023-07-26T22:12:07.949Z] 798269fcf238: Pull complete [2023-07-26T22:12:07.949Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-26T22:12:07.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-26T22:12:07.949Z] ---> ec979cd7f677 [2023-07-26T22:12:07.949Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-26T22:12:09.329Z] ---> Running in 65284484c954 [2023-07-26T22:12:09.329Z] Removing intermediate container 65284484c954 [2023-07-26T22:12:09.329Z] ---> 89ce7f77dfec [2023-07-26T22:12:09.329Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-26T22:12:09.329Z] ---> Running in a22e5b0136eb [2023-07-26T22:12:09.589Z] Removing intermediate container a22e5b0136eb [2023-07-26T22:12:09.589Z] ---> eddf1e4d9c4e [2023-07-26T22:12:09.589Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-26T22:12:09.589Z] ---> Running in 3edc8d6a98fa [2023-07-26T22:12:09.589Z] Removing intermediate container 3edc8d6a98fa [2023-07-26T22:12:09.589Z] ---> ad51a5a313a0 [2023-07-26T22:12:09.589Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T22:12:09.589Z] ---> Running in f3992821e01d [2023-07-26T22:12:09.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-26T22:12:10.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-26T22:12:10.380Z] OK: 265 MiB in 53 packages [2023-07-26T22:12:10.639Z] Removing intermediate container f3992821e01d [2023-07-26T22:12:10.639Z] ---> eb28ea1c0e56 [2023-07-26T22:12:10.639Z] Step 7/12 : WORKDIR /app [2023-07-26T22:12:10.639Z] ---> Running in 7a0b3efeac36 [2023-07-26T22:12:10.897Z] Removing intermediate container 7a0b3efeac36 [2023-07-26T22:12:10.897Z] ---> 9dcfbf151550 [2023-07-26T22:12:10.897Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-26T22:12:10.897Z] ---> ed6bdf5ea91e [2023-07-26T22:12:10.897Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T22:12:10.897Z] ---> Running in b8e6c80ab2f3 [2023-07-26T22:12:14.231Z] Still waiting to schedule task [2023-07-26T22:12:14.231Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-26T22:12:57.577Z] Removing intermediate container b8e6c80ab2f3 [2023-07-26T22:12:57.577Z] ---> 85a5263360a4 [2023-07-26T22:12:57.577Z] Step 10/12 : COPY . . [2023-07-26T22:12:57.577Z] ---> 3ad64e4d4fa2 [2023-07-26T22:12:57.577Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T22:12:57.577Z] ---> Running in 8425241390d8 [2023-07-26T22:12:57.577Z] Removing intermediate container 8425241390d8 [2023-07-26T22:12:57.577Z] ---> 07b5f5e29d14 [2023-07-26T22:12:57.577Z] Step 12/12 : RUN $MAKE [2023-07-26T22:12:57.577Z] ---> Running in 7b2fedaf0eae [2023-07-26T22:12:57.577Z] noop [2023-07-26T22:12:57.577Z] Removing intermediate container 7b2fedaf0eae [2023-07-26T22:12:57.577Z] ---> 9d5519db866b [2023-07-26T22:12:57.577Z] Successfully built 9d5519db866b [2023-07-26T22:12:57.577Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:12:58.023Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T22:12:58.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T22:12:58.161Z] prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container [2023-07-26T22:12:58.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-26T22:12:58.554Z] $ docker top a44beeca3772505d38dd3c2fa6be8f1a6653fbe01b11e0f856d7ea0d188bcd84 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T22:12:58.959Z] + go version [2023-07-26T22:12:58.959Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-26T22:12:58.981Z] $ docker stop --time=1 a44beeca3772505d38dd3c2fa6be8f1a6653fbe01b11e0f856d7ea0d188bcd84 [2023-07-26T22:13:00.270Z] $ docker rm -f --volumes a44beeca3772505d38dd3c2fa6be8f1a6653fbe01b11e0f856d7ea0d188bcd84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:13:00.989Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-26T22:13:00.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T22:13:01.143Z] prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container [2023-07-26T22:13:01.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-26T22:13:01.496Z] $ docker top 657477e8cc578bf62e9759f5702dfaf97b8fb85cdff26383692f97163bb15f04 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T22:13:01.901Z] + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-50 [Pipeline] fileExists [Pipeline] sh [2023-07-26T22:13:02.257Z] + make test [2023-07-26T22:13:02.257Z] go test -race -coverprofile=coverage.out ./... [2023-07-26T22:13:24.184Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-07-26T22:13:24.184Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.078s coverage: 87.5% of statements [2023-07-26T22:13:24.184Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-07-26T22:13:24.184Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-07-26T22:13:24.184Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-07-26T22:13:24.184Z] ok github.com/edgexfoundry/app-record-replay/internal/application 0.063s coverage: 95.3% of statements [2023-07-26T22:13:24.184Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 0.105s coverage: 85.6% of statements [2023-07-26T22:13:42.301Z] internal/application/manager_test.go:253:11: SA9003: empty branch (staticcheck) [2023-07-26T22:13:42.301Z] } else { [2023-07-26T22:13:42.301Z] ^ [2023-07-26T22:13:42.301Z] make: *** [Makefile:63: lint] Error 1 [Pipeline] } [2023-07-26T22:13:42.323Z] $ docker stop --time=1 657477e8cc578bf62e9759f5702dfaf97b8fb85cdff26383692f97163bb15f04 [2023-07-26T22:13:42.749Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2291 in /w/workspace/xfoundry_app-record-replay_PR-50 [2023-07-26T22:13:44.398Z] $ docker rm -f --volumes 657477e8cc578bf62e9759f5702dfaf97b8fb85cdff26383692f97163bb15f04 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2023-07-26T22:13:44.801Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout [2023-07-26T22:13:44.943Z] Selected Git installation does not exist. Using Default [2023-07-26T22:13:44.943Z] The recommended git tool is: NONE Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:13:45.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T22:13:45.728Z] [2023-07-26T22:13:45.728Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:13:46.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T22:13:46.103Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-26T22:13:46.103Z] 5eb5b503b376: Pulling fs layer [2023-07-26T22:13:46.103Z] 5c69ac0246d0: Pulling fs layer [2023-07-26T22:13:46.103Z] ec43610c2a17: Pulling fs layer [2023-07-26T22:13:46.103Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-26T22:13:46.103Z] 33b1e0a273af: Pulling fs layer [2023-07-26T22:13:46.103Z] 5d3b04190fa2: Pulling fs layer [2023-07-26T22:13:46.103Z] 2f39f015ded8: Pulling fs layer [2023-07-26T22:13:46.103Z] 3a2ae6a8a46f: Waiting [2023-07-26T22:13:46.103Z] 33b1e0a273af: Waiting [2023-07-26T22:13:46.103Z] 5d3b04190fa2: Waiting [2023-07-26T22:13:46.103Z] 2f39f015ded8: Waiting [2023-07-26T22:13:46.103Z] 5c69ac0246d0: Verifying Checksum [2023-07-26T22:13:46.103Z] 5c69ac0246d0: Download complete [2023-07-26T22:13:46.103Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-26T22:13:46.103Z] 3a2ae6a8a46f: Download complete [2023-07-26T22:13:46.103Z] 33b1e0a273af: Verifying Checksum [2023-07-26T22:13:46.103Z] 33b1e0a273af: Download complete [2023-07-26T22:13:46.103Z] ec43610c2a17: Verifying Checksum [2023-07-26T22:13:46.103Z] ec43610c2a17: Download complete [2023-07-26T22:13:46.103Z] 5d3b04190fa2: Download complete [2023-07-26T22:13:46.362Z] 5eb5b503b376: Verifying Checksum [2023-07-26T22:13:46.362Z] 5eb5b503b376: Download complete [2023-07-26T22:13:46.930Z] 2f39f015ded8: Download complete [2023-07-26T22:13:47.495Z] 5eb5b503b376: Pull complete [2023-07-26T22:13:47.495Z] 5c69ac0246d0: Pull complete [2023-07-26T22:13:48.061Z] ec43610c2a17: Pull complete [2023-07-26T22:13:48.061Z] 3a2ae6a8a46f: Pull complete [2023-07-26T22:13:48.319Z] 33b1e0a273af: Pull complete [2023-07-26T22:13:48.319Z] 5d3b04190fa2: Pull complete [2023-07-26T22:13:49.634Z] using credential edgex-jenkins-ssh [2023-07-26T22:13:49.649Z] Cloning the remote Git repository [2023-07-26T22:13:49.694Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-07-26T22:13:49.790Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2023-07-26T22:13:49.930Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-07-26T22:13:49.930Z] > git --version # timeout=10 [2023-07-26T22:13:49.951Z] > git --version # 'git version 2.25.1' [2023-07-26T22:13:49.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T22:13:50.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T22:13:50.767Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-07-26T22:13:50.807Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-26T22:13:52.235Z] Merging remotes/origin/main commit c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 into PR head commit 064fa5a74bb5a679404765c0fe6309ded3aada87 [2023-07-26T22:13:51.587Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-07-26T22:13:51.621Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-07-26T22:13:51.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T22:13:51.638Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-26T22:13:52.254Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T22:13:52.512Z] Merge succeeded, producing 064fa5a74bb5a679404765c0fe6309ded3aada87 [2023-07-26T22:13:52.513Z] Checking out Revision 064fa5a74bb5a679404765c0fe6309ded3aada87 (PR-50) [2023-07-26T22:13:52.521Z] 2f39f015ded8: Pull complete [2023-07-26T22:13:52.521Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-26T22:13:52.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T22:13:52.521Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T22:13:52.737Z] prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container [2023-07-26T22:13:52.742Z] $ 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/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-26T22:13:52.333Z] > git checkout -f 064fa5a74bb5a679404765c0fe6309ded3aada87 # timeout=10 [2023-07-26T22:13:52.416Z] > git remote # timeout=10 [2023-07-26T22:13:52.436Z] > git config --get remote.origin.url # timeout=10 [2023-07-26T22:13:52.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-26T22:13:52.476Z] > git merge c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 # timeout=10 [2023-07-26T22:13:52.498Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-26T22:13:52.521Z] > git config core.sparsecheckout # timeout=10 [2023-07-26T22:13:52.536Z] > git checkout -f 064fa5a74bb5a679404765c0fe6309ded3aada87 # timeout=10 [2023-07-26T22:13:53.680Z] $ docker top 79399173223d6423cb99c1a8ecb08829e0c80f5e2a3138c283d5ffea6c5cf7c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:13:54.169Z] ---> job-cost.sh [2023-07-26T22:13:54.169Z] lf-activate-venv: SKIPPING [2023-07-26T22:13:54.169Z] INFO: No Stack... [2023-07-26T22:13:54.427Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T22:13:54.688Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T22:13:55.001Z] + cat /w/workspace/xfoundry_app-record-replay_PR-50/archives/cost.csv [2023-07-26T22:13:55.001Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T22:13:55.040Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [2023-07-26T22:13:55.045Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] did not exist. Created. [2023-07-26T22:13:55.046Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T22:13:55.428Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-26T22:13:55.485Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T22:13:55.510Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T22:13:55.568Z] $ docker stop --time=1 79399173223d6423cb99c1a8ecb08829e0c80f5e2a3138c283d5ffea6c5cf7c2 [2023-07-26T22:13:56.011Z] Commit message: "feat: Implement app layer Record Status" [2023-07-26T22:13:56.059Z] > git --version # timeout=10 [2023-07-26T22:13:56.071Z] > git --version # 'git version 2.25.1' [2023-07-26T22:13:56.086Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-26T22:13:56.522Z] [2023-07-26T22:13:56.522Z] GitHub has been notified of this commit’s build result [2023-07-26T22:13:56.522Z] [2023-07-26T22:13:56.716Z] $ docker rm -f --volumes 79399173223d6423cb99c1a8ecb08829e0c80f5e2a3138c283d5ffea6c5cf7c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-26T22:13:57.069Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T22:13:57.697Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-26T22:13:57.697Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-26T22:13:57.697Z] Dload Upload Total Spent Left Speed [2023-07-26T22:13:57.697Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-07-26T22:13:58.363Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-26T22:13:58.697Z] + sudo tee /etc/docker/daemon.new [2023-07-26T22:13:58.698Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-26T22:13:58.698Z] { [2023-07-26T22:13:58.698Z] "registry-mirrors": [ [2023-07-26T22:13:58.698Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-26T22:13:58.698Z] ], [2023-07-26T22:13:58.698Z] "bip": "10.250.0.254/24", [2023-07-26T22:13:58.698Z] "hosts": [ [2023-07-26T22:13:58.698Z] "tcp://0.0.0.0:5555", [2023-07-26T22:13:58.698Z] "unix:///var/run/docker.sock" [2023-07-26T22:13:58.698Z] ], [2023-07-26T22:13:58.698Z] "mtu": 1458, [2023-07-26T22:13:58.698Z] "selinux-enabled": true, [2023-07-26T22:13:58.698Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-26T22:13:58.698Z] } [Pipeline] sh [2023-07-26T22:13:59.033Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-26T22:13:59.377Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T22:14:17.668Z] provisioning config files... [2023-07-26T22:14:17.693Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config9234027769732346030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:14:18.078Z] ---> docker-login.sh [2023-07-26T22:14:18.078Z] nexus3.edgexfoundry.org:10001 [2023-07-26T22:14:18.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:14:18.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:14:18.617Z] Configure a credential helper to remove this warning. See [2023-07-26T22:14:18.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:14:18.617Z] [2023-07-26T22:14:18.617Z] Login Succeeded [2023-07-26T22:14:18.617Z] nexus3.edgexfoundry.org:10002 [2023-07-26T22:14:18.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:14:18.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:14:18.886Z] Configure a credential helper to remove this warning. See [2023-07-26T22:14:18.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:14:18.886Z] [2023-07-26T22:14:18.886Z] Login Succeeded [2023-07-26T22:14:18.886Z] nexus3.edgexfoundry.org:10003 [2023-07-26T22:14:19.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:14:19.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:14:19.422Z] Configure a credential helper to remove this warning. See [2023-07-26T22:14:19.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:14:19.422Z] [2023-07-26T22:14:19.422Z] Login Succeeded [2023-07-26T22:14:19.422Z] nexus3.edgexfoundry.org:10004 [2023-07-26T22:14:19.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:14:19.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:14:19.701Z] Configure a credential helper to remove this warning. See [2023-07-26T22:14:19.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:14:19.701Z] [2023-07-26T22:14:19.701Z] Login Succeeded [2023-07-26T22:14:19.701Z] docker.io [2023-07-26T22:14:19.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-26T22:14:20.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-26T22:14:20.236Z] Configure a credential helper to remove this warning. See [2023-07-26T22:14:20.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-26T22:14:20.236Z] [2023-07-26T22:14:20.236Z] Login Succeeded [2023-07-26T22:14:20.236Z] ---> docker-login.sh ends [Pipeline] } [2023-07-26T22:14:20.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-26T22:14:20.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T22:14:20.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-26T22:14:20.699Z] ========================================================= [2023-07-26T22:14:20.699Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-26T22:14:20.699Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:14:21.192Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-26T22:14:21.193Z] Sending build context to Docker daemon 178.7kB [2023-07-26T22:14:21.462Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T22:14:21.462Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-26T22:14:22.049Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-26T22:14:22.049Z] edb6bdbacee9: Pulling fs layer [2023-07-26T22:14:22.049Z] 5f9638ab2659: Pulling fs layer [2023-07-26T22:14:22.049Z] 8d51d6327a98: Pulling fs layer [2023-07-26T22:14:22.049Z] 8b374f2dd631: Pulling fs layer [2023-07-26T22:14:22.049Z] ec14aa9079de: Pulling fs layer [2023-07-26T22:14:22.049Z] 8b374f2dd631: Waiting [2023-07-26T22:14:22.049Z] 2f466654f4bb: Pulling fs layer [2023-07-26T22:14:22.049Z] ec14aa9079de: Waiting [2023-07-26T22:14:22.049Z] 2f466654f4bb: Waiting [2023-07-26T22:14:22.049Z] 554e91adad29: Pulling fs layer [2023-07-26T22:14:22.049Z] 554e91adad29: Waiting [2023-07-26T22:14:22.049Z] 5f9638ab2659: Verifying Checksum [2023-07-26T22:14:22.049Z] 5f9638ab2659: Download complete [2023-07-26T22:14:22.049Z] 8b374f2dd631: Verifying Checksum [2023-07-26T22:14:22.049Z] 8b374f2dd631: Download complete [2023-07-26T22:14:22.049Z] ec14aa9079de: Verifying Checksum [2023-07-26T22:14:22.049Z] ec14aa9079de: Download complete [2023-07-26T22:14:22.049Z] edb6bdbacee9: Verifying Checksum [2023-07-26T22:14:23.024Z] edb6bdbacee9: Pull complete [2023-07-26T22:14:23.294Z] 554e91adad29: Verifying Checksum [2023-07-26T22:14:23.294Z] 554e91adad29: Download complete [2023-07-26T22:14:23.889Z] 5f9638ab2659: Pull complete [2023-07-26T22:14:24.473Z] 8d51d6327a98: Verifying Checksum [2023-07-26T22:14:24.473Z] 8d51d6327a98: Download complete [2023-07-26T22:14:24.473Z] 2f466654f4bb: Verifying Checksum [2023-07-26T22:14:24.473Z] 2f466654f4bb: Download complete [2023-07-26T22:14:36.818Z] 8d51d6327a98: Pull complete [2023-07-26T22:14:36.818Z] 8b374f2dd631: Pull complete [2023-07-26T22:14:36.818Z] ec14aa9079de: Pull complete [2023-07-26T22:14:42.163Z] 2f466654f4bb: Pull complete [2023-07-26T22:14:44.752Z] 554e91adad29: Pull complete [2023-07-26T22:14:44.752Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-26T22:14:44.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-26T22:14:44.752Z] ---> 1e15ea492957 [2023-07-26T22:14:44.752Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-26T22:14:46.688Z] ---> Running in 1307f1bdad65 [2023-07-26T22:14:46.688Z] Removing intermediate container 1307f1bdad65 [2023-07-26T22:14:46.688Z] ---> 4d467a65724c [2023-07-26T22:14:46.688Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-26T22:14:46.954Z] ---> Running in b44237add9a1 [2023-07-26T22:14:47.221Z] Removing intermediate container b44237add9a1 [2023-07-26T22:14:47.221Z] ---> f9bbb8a39fd5 [2023-07-26T22:14:47.221Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-26T22:14:47.221Z] ---> Running in 1b51518348e2 [2023-07-26T22:14:47.491Z] Removing intermediate container 1b51518348e2 [2023-07-26T22:14:47.491Z] ---> c74d32a65de5 [2023-07-26T22:14:47.491Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T22:14:47.491Z] ---> Running in 323d7cd9c3b3 [2023-07-26T22:14:48.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T22:14:49.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T22:14:50.126Z] OK: 263 MiB in 53 packages [2023-07-26T22:14:50.712Z] Removing intermediate container 323d7cd9c3b3 [2023-07-26T22:14:50.712Z] ---> a7b8573101b8 [2023-07-26T22:14:50.712Z] Step 7/12 : WORKDIR /app [2023-07-26T22:14:50.980Z] ---> Running in fb6a6029dc6b [2023-07-26T22:14:51.247Z] Removing intermediate container fb6a6029dc6b [2023-07-26T22:14:51.247Z] ---> 2912d750b35c [2023-07-26T22:14:51.247Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-26T22:14:51.514Z] ---> 14e44676a109 [2023-07-26T22:14:51.514Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T22:14:51.781Z] ---> Running in 5d503b9336be [2023-07-26T22:15:59.645Z] Removing intermediate container 5d503b9336be [2023-07-26T22:15:59.645Z] ---> 3117cc21d7fa [2023-07-26T22:15:59.645Z] Step 10/12 : COPY . . [2023-07-26T22:15:59.645Z] ---> 38f6c07676b4 [2023-07-26T22:15:59.645Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T22:15:59.645Z] ---> Running in 6f9de6dde51b [2023-07-26T22:15:59.645Z] Removing intermediate container 6f9de6dde51b [2023-07-26T22:15:59.645Z] ---> 4ee9107f51b2 [2023-07-26T22:15:59.645Z] Step 12/12 : RUN $MAKE [2023-07-26T22:15:59.645Z] ---> Running in 271925e712c6 [2023-07-26T22:15:59.645Z] noop [2023-07-26T22:15:59.645Z] Removing intermediate container 271925e712c6 [2023-07-26T22:15:59.645Z] ---> ab5312f8364e [2023-07-26T22:15:59.645Z] Successfully built ab5312f8364e [2023-07-26T22:15:59.645Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:16:00.140Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T22:16:00.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T22:16:00.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-2291 does not seem to be running inside a container [2023-07-26T22:16:00.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-26T22:16:01.653Z] $ docker top a534f02418248b1392a799f455bfc02fd14cb1f191379361ee156213e668f7b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T22:16:02.514Z] + go version [2023-07-26T22:16:02.514Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-26T22:16:02.547Z] $ docker stop --time=1 a534f02418248b1392a799f455bfc02fd14cb1f191379361ee156213e668f7b3 [2023-07-26T22:16:04.130Z] $ docker rm -f --volumes a534f02418248b1392a799f455bfc02fd14cb1f191379361ee156213e668f7b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:16:04.955Z] + docker inspect -f . ci-base-image-arm64 [2023-07-26T22:16:04.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T22:16:05.205Z] prd-ubuntu20.04-docker-arm64-4c-16g-2291 does not seem to be running inside a container [2023-07-26T22:16:05.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-26T22:16:07.961Z] $ docker top df4d60677d9e879452564b355376b9db87a149c70570e046fb374424592f8172 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T22:16:08.512Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2023-07-26T22:16:09.158Z] + make test [2023-07-26T22:16:09.158Z] go test -race -coverprofile=coverage.out ./... [2023-07-26T22:19:00.875Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-07-26T22:19:00.875Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-07-26T22:19:00.875Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-07-26T22:19:00.875Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-07-26T22:19:00.875Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.287s coverage: 87.5% of statements [2023-07-26T22:19:00.875Z] ok github.com/edgexfoundry/app-record-replay/internal/application 0.350s coverage: 95.3% of statements [2023-07-26T22:19:00.875Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 0.432s coverage: 85.6% of statements [2023-07-26T22:19:00.875Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-26T22:19:00.876Z] go vet ./... [2023-07-26T22:21:22.589Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-26T22:21:22.589Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-26T22:21:22.589Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-26T22:21:22.628Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-26T22:21:22.658Z] $ docker stop --time=1 df4d60677d9e879452564b355376b9db87a149c70570e046fb374424592f8172 [2023-07-26T22:21:24.544Z] $ docker rm -f --volumes df4d60677d9e879452564b355376b9db87a149c70570e046fb374424592f8172 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-26T22:21:26.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-26T22:21:26.778Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-26T22:21:27.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-26T22:21:27.952Z] + ls -al . [2023-07-26T22:21:27.952Z] total 164 [2023-07-26T22:21:27.952Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 22:16 . [2023-07-26T22:21:27.952Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 22:13 .. [2023-07-26T22:21:27.952Z] -rw-rw-r-- 1 jenkins jenkins 119 Jul 26 22:13 .dockerignore [2023-07-26T22:21:27.952Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 22:13 .git [2023-07-26T22:21:27.952Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 22:13 .github [2023-07-26T22:21:27.952Z] -rw-rw-r-- 1 jenkins jenkins 164 Jul 26 22:13 .gitignore [2023-07-26T22:21:27.952Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 22:13 .golangci.yml [2023-07-26T22:21:27.952Z] -rw-rw-r-- 1 jenkins jenkins 10642 Jul 26 22:13 Attribution.txt [2023-07-26T22:21:27.952Z] -rw-rw-r-- 1 jenkins jenkins 258 Jul 26 22:13 CHANGELOG.md [2023-07-26T22:21:27.952Z] -rw-rw-r-- 1 jenkins jenkins 1616 Jul 26 22:13 Dockerfile [2023-07-26T22:21:27.952Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 22:13 GOVERNANCE.md [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 681 Jul 26 22:13 Jenkinsfile [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 26 22:13 LICENSE [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jul 26 22:13 Makefile [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 611 Jul 26 22:13 OWNERS.md [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 2363 Jul 26 22:13 README.md [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 4285 Jul 26 22:13 Record and Reply.postman_collection.json [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 22:11 VERSION [2023-07-26T22:21:27.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 22:13 bin [2023-07-26T22:21:27.953Z] -rw-r--r-- 1 jenkins jenkins 11988 Jul 26 22:18 coverage.out [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 3680 Jul 26 22:13 go.mod [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 32847 Jul 26 22:13 go.sum [2023-07-26T22:21:27.953Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 26 22:13 internal [2023-07-26T22:21:27.953Z] -rw-rw-r-- 1 jenkins jenkins 913 Jul 26 22:13 main.go [2023-07-26T22:21:27.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 22:13 pkg [2023-07-26T22:21:27.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 22:13 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:21:28.395Z] + 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=064fa5a74bb5a679404765c0fe6309ded3aada87 --label arch=arm64 --label version=0.0.0 . [2023-07-26T22:21:28.395Z] Sending build context to Docker daemon 191.5kB [2023-07-26T22:21:28.666Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-07-26T22:21:28.666Z] Step 2/26 : FROM ${BASE} AS builder [2023-07-26T22:21:28.666Z] ---> ab5312f8364e [2023-07-26T22:21:28.666Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git" [2023-07-26T22:21:29.251Z] ---> Running in b06e87acf730 [2023-07-26T22:21:29.523Z] Removing intermediate container b06e87acf730 [2023-07-26T22:21:29.523Z] ---> f70d2c1a9d3a [2023-07-26T22:21:29.523Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-07-26T22:21:29.793Z] ---> Running in 0c3fe73e067c [2023-07-26T22:21:30.061Z] Removing intermediate container 0c3fe73e067c [2023-07-26T22:21:30.061Z] ---> 323fc70510c4 [2023-07-26T22:21:30.061Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-07-26T22:21:30.061Z] ---> Running in ddd8cd568c59 [2023-07-26T22:21:30.330Z] Removing intermediate container ddd8cd568c59 [2023-07-26T22:21:30.331Z] ---> 88e8e76beb69 [2023-07-26T22:21:30.331Z] Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-26T22:21:30.331Z] ---> Running in 97644f4caae8 [2023-07-26T22:21:31.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T22:21:31.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T22:21:32.841Z] OK: 263 MiB in 53 packages [2023-07-26T22:21:33.807Z] Removing intermediate container 97644f4caae8 [2023-07-26T22:21:33.807Z] ---> 69d8e4fa1fc7 [2023-07-26T22:21:33.807Z] Step 7/26 : WORKDIR /app [2023-07-26T22:21:33.807Z] ---> Running in ecf6e8ab60dc [2023-07-26T22:21:34.076Z] Removing intermediate container ecf6e8ab60dc [2023-07-26T22:21:34.076Z] ---> afb8539cd604 [2023-07-26T22:21:34.076Z] Step 8/26 : COPY go.mod vendor* ./ [2023-07-26T22:21:34.670Z] ---> 519ced77c2a5 [2023-07-26T22:21:34.670Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-26T22:21:34.670Z] ---> Running in 0c72028c9923 [2023-07-26T22:21:37.277Z] Removing intermediate container 0c72028c9923 [2023-07-26T22:21:37.277Z] ---> 2642811f13f8 [2023-07-26T22:21:37.277Z] Step 10/26 : COPY . . [2023-07-26T22:21:37.545Z] ---> 1b781023fa95 [2023-07-26T22:21:37.545Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-26T22:21:37.545Z] ---> Running in 68f415094ade [2023-07-26T22:21:37.816Z] Removing intermediate container 68f415094ade [2023-07-26T22:21:37.816Z] ---> c2bb1f442c5e [2023-07-26T22:21:37.816Z] Step 12/26 : RUN $MAKE [2023-07-26T22:21:37.816Z] ---> Running in 1d8c0b2a9dd8 [2023-07-26T22:21:38.782Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-07-26T22:24:00.458Z] Removing intermediate container 1d8c0b2a9dd8 [2023-07-26T22:24:00.458Z] ---> ae5d6946be67 [2023-07-26T22:24:00.458Z] Step 13/26 : FROM alpine:3.17 [2023-07-26T22:24:00.458Z] 3.17: Pulling from library/alpine [2023-07-26T22:24:00.458Z] edb6bdbacee9: Already exists [2023-07-26T22:24:00.458Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-26T22:24:00.458Z] Status: Downloaded newer image for alpine:3.17 [2023-07-26T22:24:00.458Z] ---> 779605e5fbc0 [2023-07-26T22:24:00.458Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-26T22:24:00.458Z] ---> Running in bcbefbe91cc3 [2023-07-26T22:24:00.458Z] Removing intermediate container bcbefbe91cc3 [2023-07-26T22:24:00.458Z] ---> 234b2b7ef6e0 [2023-07-26T22:24:00.458Z] Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} [2023-07-26T22:24:00.458Z] ---> Running in 9c0afe8868da [2023-07-26T22:24:00.458Z] Removing intermediate container 9c0afe8868da [2023-07-26T22:24:00.458Z] ---> b3e5169c0f31 [2023-07-26T22:24:00.458Z] Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-07-26T22:24:00.458Z] ---> Running in eefe73e4606a [2023-07-26T22:24:00.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-26T22:24:00.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-26T22:24:00.458Z] (1/2) Installing ca-certificates (20230506-r0) [2023-07-26T22:24:00.458Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-07-26T22:24:00.458Z] Executing busybox-1.35.0-r29.trigger [2023-07-26T22:24:00.458Z] Executing ca-certificates-20230506-r0.trigger [2023-07-26T22:24:00.458Z] OK: 8 MiB in 17 packages [2023-07-26T22:24:00.458Z] Removing intermediate container eefe73e4606a [2023-07-26T22:24:00.458Z] ---> c70c33551f76 [2023-07-26T22:24:00.458Z] Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-07-26T22:24:00.458Z] ---> 28044d791d56 [2023-07-26T22:24:00.458Z] Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE [2023-07-26T22:24:00.458Z] ---> c26b74779b75 [2023-07-26T22:24:00.458Z] Step 19/26 : COPY --from=builder /app/res/ /res/ [2023-07-26T22:24:00.458Z] ---> d9485fce2e8e [2023-07-26T22:24:00.458Z] Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-07-26T22:24:00.458Z] ---> 0bbe1a192088 [2023-07-26T22:24:00.458Z] Step 21/26 : EXPOSE 59712 [2023-07-26T22:24:00.458Z] ---> Running in 4ef5504aaee2 [2023-07-26T22:24:00.458Z] Removing intermediate container 4ef5504aaee2 [2023-07-26T22:24:00.458Z] ---> e8859cd28160 [2023-07-26T22:24:00.458Z] Step 22/26 : ENTRYPOINT ["/app-record-replay"] [2023-07-26T22:24:00.458Z] ---> Running in 2f9b39597f2e [2023-07-26T22:24:00.458Z] Removing intermediate container 2f9b39597f2e [2023-07-26T22:24:00.458Z] ---> cb8c68288229 [2023-07-26T22:24:00.458Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-26T22:24:00.458Z] ---> Running in 3ac5b6383213 [2023-07-26T22:24:00.458Z] Removing intermediate container 3ac5b6383213 [2023-07-26T22:24:00.458Z] ---> dc64add8dccb [2023-07-26T22:24:00.458Z] Step 24/26 : LABEL arch=arm64 [2023-07-26T22:24:00.458Z] ---> Running in 3dfd443a0392 [2023-07-26T22:24:00.458Z] Removing intermediate container 3dfd443a0392 [2023-07-26T22:24:00.458Z] ---> 7474da45fce3 [2023-07-26T22:24:00.458Z] Step 25/26 : LABEL git_sha=064fa5a74bb5a679404765c0fe6309ded3aada87 [2023-07-26T22:24:00.458Z] ---> Running in e18d6c2a62fb [2023-07-26T22:24:00.458Z] Removing intermediate container e18d6c2a62fb [2023-07-26T22:24:00.458Z] ---> 5ee7548191f7 [2023-07-26T22:24:00.458Z] Step 26/26 : LABEL version=0.0.0 [2023-07-26T22:24:00.458Z] ---> Running in 9938b631b44b [2023-07-26T22:24:00.458Z] Removing intermediate container 9938b631b44b [2023-07-26T22:24:00.458Z] ---> c0f23bff6a72 [2023-07-26T22:24:00.458Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-26T22:24:00.458Z] Successfully built c0f23bff6a72 [2023-07-26T22:24:00.458Z] Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:24:01.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T22:24:01.285Z] [2023-07-26T22:24:01.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:24:01.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T22:24:01.688Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-26T22:24:01.688Z] 8998bd30e6a1: Pulling fs layer [2023-07-26T22:24:01.688Z] 04944245beec: Pulling fs layer [2023-07-26T22:24:01.688Z] 699f458cf7ca: Pulling fs layer [2023-07-26T22:24:01.688Z] 765212b225bb: Pulling fs layer [2023-07-26T22:24:01.688Z] f23df028b6ca: Pulling fs layer [2023-07-26T22:24:01.688Z] d65c8cfc05b1: Pulling fs layer [2023-07-26T22:24:01.688Z] 2437ff75d9bd: Pulling fs layer [2023-07-26T22:24:01.689Z] 765212b225bb: Waiting [2023-07-26T22:24:01.689Z] f23df028b6ca: Waiting [2023-07-26T22:24:01.689Z] d65c8cfc05b1: Waiting [2023-07-26T22:24:01.689Z] 2437ff75d9bd: Waiting [2023-07-26T22:24:01.961Z] 04944245beec: Verifying Checksum [2023-07-26T22:24:01.961Z] 04944245beec: Download complete [2023-07-26T22:24:01.961Z] 765212b225bb: Download complete [2023-07-26T22:24:01.961Z] f23df028b6ca: Verifying Checksum [2023-07-26T22:24:01.961Z] f23df028b6ca: Download complete [2023-07-26T22:24:01.961Z] d65c8cfc05b1: Verifying Checksum [2023-07-26T22:24:01.961Z] d65c8cfc05b1: Download complete [2023-07-26T22:24:02.229Z] 699f458cf7ca: Verifying Checksum [2023-07-26T22:24:02.229Z] 699f458cf7ca: Download complete [2023-07-26T22:24:02.497Z] 8998bd30e6a1: Verifying Checksum [2023-07-26T22:24:02.497Z] 8998bd30e6a1: Download complete [2023-07-26T22:24:05.074Z] 2437ff75d9bd: Verifying Checksum [2023-07-26T22:24:05.075Z] 2437ff75d9bd: Download complete [2023-07-26T22:24:06.492Z] 8998bd30e6a1: Pull complete [2023-07-26T22:24:06.759Z] 04944245beec: Pull complete [2023-07-26T22:24:08.164Z] 699f458cf7ca: Pull complete [2023-07-26T22:24:08.164Z] 765212b225bb: Pull complete [2023-07-26T22:24:09.138Z] f23df028b6ca: Pull complete [2023-07-26T22:24:09.138Z] d65c8cfc05b1: Pull complete [2023-07-26T22:24:24.119Z] 2437ff75d9bd: Pull complete [2023-07-26T22:24:24.119Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-26T22:24:24.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-26T22:24:24.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T22:24:24.430Z] prd-ubuntu20.04-docker-arm64-4c-16g-2291 does not seem to be running inside a container [2023-07-26T22:24:24.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-26T22:24:27.186Z] $ docker top 7f549971d5308679b6c8d8c2ab3f26c0defe0cdddab91f8af99d4045ce7525a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:24:28.086Z] ---> job-cost.sh [2023-07-26T22:24:28.086Z] lf-activate-venv: SKIPPING [2023-07-26T22:24:28.086Z] INFO: No Stack... [2023-07-26T22:24:28.351Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-26T22:24:29.309Z] INFO: Archiving Costs [Pipeline] sh [2023-07-26T22:24:29.966Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [2023-07-26T22:24:29.966Z] + cut -d, -f6 [Pipeline] lock [2023-07-26T22:24:30.049Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [2023-07-26T22:24:30.054Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] did not exist. Created. [2023-07-26T22:24:30.054Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-26T22:24:30.775Z] /w/workspace/app-record-replay/1@tmp/durable-22ddbb0a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-26T22:24:31.128Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-26T22:24:31.424Z] Warning: overwriting stash ‘stack-cost’ [2023-07-26T22:24:31.471Z] Stashed 1 file(s) [Pipeline] } [2023-07-26T22:24:31.486Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-26T22:24:31.560Z] $ docker stop --time=1 7f549971d5308679b6c8d8c2ab3f26c0defe0cdddab91f8af99d4045ce7525a5 [2023-07-26T22:24:33.018Z] $ docker rm -f --volumes 7f549971d5308679b6c8d8c2ab3f26c0defe0cdddab91f8af99d4045ce7525a5 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-26T22:24:35.693Z] + [ -d /w/workspace/xfoundry_app-record-replay_PR-50/archives ] [2023-07-26T22:24:35.693Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-50/archives [2023-07-26T22:24:35.693Z] total 16 [2023-07-26T22:24:35.693Z] drwxr-xr-x 3 root root 4096 Jul 26 22:13 . [2023-07-26T22:24:35.693Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 22:13 .. [2023-07-26T22:24:35.693Z] drwxr-xr-x 2 root root 4096 Jul 26 22:13 cost [2023-07-26T22:24:35.693Z] -rw-r--r-- 1 root root 88 Jul 26 22:13 cost.csv [2023-07-26T22:24:35.693Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-50/archives [2023-07-26T22:24:35.693Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-50/archives [2023-07-26T22:24:35.693Z] total 16 [2023-07-26T22:24:35.693Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 22:13 . [2023-07-26T22:24:35.693Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 22:13 .. [2023-07-26T22:24:35.693Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 22:13 cost [2023-07-26T22:24:35.693Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 26 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:24:36.020Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:24:36.905Z] ---> package-listing.sh [2023-07-26T22:24:36.905Z] ++ facter osfamily [2023-07-26T22:24:36.905Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-26T22:24:37.164Z] + OS_FAMILY=debian [2023-07-26T22:24:37.164Z] + workspace=/w/workspace/xfoundry_app-record-replay_PR-50 [2023-07-26T22:24:37.164Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-26T22:24:37.164Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-26T22:24:37.164Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-26T22:24:37.164Z] + PACKAGES=/tmp/packages_start.txt [2023-07-26T22:24:37.164Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-50 ']' [2023-07-26T22:24:37.164Z] + PACKAGES=/tmp/packages_end.txt [2023-07-26T22:24:37.164Z] + case "${OS_FAMILY}" in [2023-07-26T22:24:37.164Z] + dpkg -l [2023-07-26T22:24:37.164Z] + grep '^ii' [2023-07-26T22:24:37.164Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-26T22:24:37.164Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-26T22:24:37.164Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-26T22:24:37.164Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-50 ']' [2023-07-26T22:24:37.164Z] + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-50/archives/ [2023-07-26T22:24:37.164Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-50/archives/ [Pipeline] echo [2023-07-26T22:24:37.204Z] 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/xfoundry_app-record-replay_PR-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-26T22:24:37.497Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-26T22:24:38.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-26T22:24:38.125Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-26T22:24:38.272Z] prd-ubuntu20.04-docker-8c-8g-2290 does not seem to be running inside a container [2023-07-26T22:24:38.275Z] $ 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/xfoundry_app-record-replay_PR-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-26T22:24:38.455Z] $ docker top 1b4375e4fb3bebf8d7fd485207879f5a43b8b1e55b8f9cddee5af3aa45b71235 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-26T22:24:38.871Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-26T22:24:39.180Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-26T22:24:39.489Z] + ls /var/log/sa-host [2023-07-26T22:24:39.489Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-26T22:24:39.704Z] provisioning config files... [2023-07-26T22:24:39.714Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config13461853654960819195tmp [Pipeline] { [Pipeline] echo [2023-07-26T22:24:39.764Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:24:40.074Z] ---> create-netrc.sh [Pipeline] } [2023-07-26T22:24:40.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:24:40.516Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-26T22:24:40.549Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:24:40.861Z] ---> sudo-logs.sh [2023-07-26T22:24:40.861Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-26T22:24:40.952Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:24:41.262Z] ---> job-cost.sh [2023-07-26T22:24:41.262Z] lf-activate-venv: SKIPPING [2023-07-26T22:24:41.262Z] DEBUG: total: 0.2199999988079071 [2023-07-26T22:24:41.262Z] INFO: Retrieving Stack Cost... [2023-07-26T22:24:41.522Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-26T22:24:42.089Z] INFO: Archiving Costs [Pipeline] echo [2023-07-26T22:24:42.126Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-26T22:24:42.433Z] ---> logs-deploy.sh [2023-07-26T22:24:42.433Z] lf-activate-venv: SKIPPING [2023-07-26T22:24:42.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-50/1 [2023-07-26T22:24:42.433Z] INFO: archiving workspace using pattern(s): [2023-07-26T22:24:43.367Z] Archives upload complete. [2023-07-26T22:24:43.367Z] INFO: archiving logs to Nexus