Pull request #131 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 52c78a47f2f46016c87edc8f3e64a05d5d2862ab+b579943a118980ce83a5f3b26e5c96da3a93eb4b (280df33849e05221935c0692dab377e1fc09ecfc) 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-ssh17409468627763319653.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18292717405703856875.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-131/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-131/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17339404610843927408.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-131/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14484118974465437284.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12120674666262857946.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-131/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-131/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12051421696476623358.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5459’ Running on prd-ubuntu20.04-docker-8c-8g-5461 in /w/workspace/foundry_app-record-replay_PR-131 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/foundry_app-record-replay_PR-131 # 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/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b579943a118980ce83a5f3b26e5c96da3a93eb4b into PR head commit 52c78a47f2f46016c87edc8f3e64a05d5d2862ab Merge succeeded, producing 52c78a47f2f46016c87edc8f3e64a05d5d2862ab Checking out Revision 52c78a47f2f46016c87edc8f3e64a05d5d2862ab (PR-131) > git config core.sparsecheckout # timeout=10 > git checkout -f 52c78a47f2f46016c87edc8f3e64a05d5d2862ab # 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 b579943a118980ce83a5f3b26e5c96da3a93eb4b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52c78a47f2f46016c87edc8f3e64a05d5d2862ab # timeout=10 Commit message: "build: [RecordReplay] Add ldflags to strip debug info from binary" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-11T17:13:04.741Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-11T17:13:04.959Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-11T17:13:05.080Z] ========================================================= [2024-03-11T17:13:05.080Z] EdgeX Global Pipelines Version Info [2024-03-11T17:13:05.080Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:13:06.209Z] ------------------- [2024-03-11T17:13:06.209Z] stable info: [2024-03-11T17:13:06.209Z] ------------------- [2024-03-11T17:13:06.209Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-11T17:13:06.209Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-11T17:13:06.209Z] Message: update stable to v1.0.258 [2024-03-11T17:13:06.780Z] ------------------- [2024-03-11T17:13:06.780Z] experimental info: [2024-03-11T17:13:06.780Z] ------------------- [2024-03-11T17:13:06.780Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-11T17:13:06.780Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-11T17:13:06.780Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-11T17:13:06.992Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2024-03-11T17:13:07.042Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2024-03-11T17:13:07.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-11T17:13:07.146Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-11T17:13:07.205Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-11T17:13:07.269Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-11T17:13:07.337Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-11T17:13:07.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-11T17:13:07.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-11T17:13:07.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-11T17:13:07.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-11T17:13:07.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2024-03-11T17:13:07.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-11T17:13:07.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-11T17:13:07.839Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-11T17:13:07.906Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-11T17:13:07.968Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-11T17:13:08.034Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-11T17:13:08.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-11T17:13:08.179Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-11T17:13:08.245Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-11T17:13:08.313Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-11T17:13:08.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-11T17:13:08.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-11T17:13:08.520Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-11T17:13:08.588Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-11T17:13:08.668Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-11T17:13:08.742Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-131 [Pipeline] echo [2024-03-11T17:13:08.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-131 [Pipeline] echo [2024-03-11T17:13:08.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-131 [Pipeline] echo [2024-03-11T17:13:08.978Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52c78a47f2f46016c87edc8f3e64a05d5d2862ab [Pipeline] echo [2024-03-11T17:13:09.054Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 52c78a4 [Pipeline] echo [2024-03-11T17:13:09.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-11T17:13:09.308Z] provisioning config files... [2024-03-11T17:13:09.326Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-131@tmp/config5068230627019368704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:13:09.738Z] ---> ****-login.sh [2024-03-11T17:13:09.738Z] nexus3.edgexfoundry.org:10001 [2024-03-11T17:13:09.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:09.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:09.999Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:09.999Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:09.999Z] [2024-03-11T17:13:09.999Z] Login Succeeded [2024-03-11T17:13:09.999Z] nexus3.edgexfoundry.org:10002 [2024-03-11T17:13:09.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:09.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:09.999Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:09.999Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:09.999Z] [2024-03-11T17:13:09.999Z] Login Succeeded [2024-03-11T17:13:09.999Z] nexus3.edgexfoundry.org:10003 [2024-03-11T17:13:10.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:10.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:10.259Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:10.259Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:10.259Z] [2024-03-11T17:13:10.259Z] Login Succeeded [2024-03-11T17:13:10.259Z] nexus3.edgexfoundry.org:10004 [2024-03-11T17:13:10.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:10.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:10.260Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:10.260Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:10.260Z] [2024-03-11T17:13:10.260Z] Login Succeeded [2024-03-11T17:13:10.260Z] ****.io [2024-03-11T17:13:10.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:10.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:10.521Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:10.522Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:10.522Z] [2024-03-11T17:13:10.522Z] Login Succeeded [2024-03-11T17:13:10.522Z] ---> ****-login.sh ends [Pipeline] } [2024-03-11T17:13:10.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-11T17:13:11.370Z] + git rev-list -1 --merges 52c78a47f2f46016c87edc8f3e64a05d5d2862ab~1..52c78a47f2f46016c87edc8f3e64a05d5d2862ab [Pipeline] echo [2024-03-11T17:13:11.411Z] -----------> git rev-list -1 --merges 52c78a47f2f46016c87edc8f3e64a05d5d2862ab~1..52c78a47f2f46016c87edc8f3e64a05d5d2862ab 52c78a47f2f46016c87edc8f3e64a05d5d2862ab [false] [Pipeline] sh [2024-03-11T17:13:11.750Z] + git log --format=format:%s -1 52c78a47f2f46016c87edc8f3e64a05d5d2862ab [Pipeline] echo [2024-03-11T17:13:11.791Z] ========================================================= [2024-03-11T17:13:11.791Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-11T17:13:11.791Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-11T17:13:12.297Z] + git log --format=format:%s -1 52c78a47f2f46016c87edc8f3e64a05d5d2862ab [Pipeline] echo [2024-03-11T17:13:12.333Z] [semverPrep] GIT_COMMIT: 52c78a47f2f46016c87edc8f3e64a05d5d2862ab, Commit Message: build: [RecordReplay] Add ldflags to strip debug info from binary [Pipeline] echo [2024-03-11T17:13:12.388Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-11T17:13:12.811Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-11T17:13:12.811Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-11T17:13:12.811Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-11T17:13:12.811Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-11T17:13:12.811Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-11T17:13:12.811Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-11T17:13:12.811Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:13:13.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-11T17:13:13.272Z] [2024-03-11T17:13:13.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:13:13.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-11T17:13:13.667Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-11T17:13:13.667Z] b85a868b505f: Pulling fs layer [2024-03-11T17:13:13.667Z] e2be974225ed: Pulling fs layer [2024-03-11T17:13:13.667Z] 339a4e72a1f5: Pulling fs layer [2024-03-11T17:13:13.667Z] 988bab9f4d93: Pulling fs layer [2024-03-11T17:13:13.667Z] 1469e6f7b9e6: Pulling fs layer [2024-03-11T17:13:13.667Z] eaf3925da568: Pulling fs layer [2024-03-11T17:13:13.667Z] 988bab9f4d93: Waiting [2024-03-11T17:13:13.667Z] 1469e6f7b9e6: Waiting [2024-03-11T17:13:13.667Z] eaf3925da568: Waiting [2024-03-11T17:13:13.667Z] bab4dde63d76: Pulling fs layer [2024-03-11T17:13:13.667Z] bde34c3a00c8: Pulling fs layer [2024-03-11T17:13:13.667Z] bab4dde63d76: Waiting [2024-03-11T17:13:13.667Z] b352a97aabf1: Pulling fs layer [2024-03-11T17:13:13.667Z] 4872d77fe225: Pulling fs layer [2024-03-11T17:13:13.667Z] 5851b861e8e6: Pulling fs layer [2024-03-11T17:13:13.667Z] bde34c3a00c8: Waiting [2024-03-11T17:13:13.667Z] b352a97aabf1: Waiting [2024-03-11T17:13:13.667Z] 4872d77fe225: Waiting [2024-03-11T17:13:13.667Z] 5851b861e8e6: Waiting [2024-03-11T17:13:13.667Z] e2be974225ed: Verifying Checksum [2024-03-11T17:13:13.667Z] e2be974225ed: Download complete [2024-03-11T17:13:13.667Z] 988bab9f4d93: Verifying Checksum [2024-03-11T17:13:13.667Z] 988bab9f4d93: Download complete [2024-03-11T17:13:13.927Z] 1469e6f7b9e6: Verifying Checksum [2024-03-11T17:13:13.927Z] 1469e6f7b9e6: Download complete [2024-03-11T17:13:13.927Z] 339a4e72a1f5: Verifying Checksum [2024-03-11T17:13:13.927Z] 339a4e72a1f5: Download complete [2024-03-11T17:13:13.927Z] eaf3925da568: Download complete [2024-03-11T17:13:13.927Z] bde34c3a00c8: Verifying Checksum [2024-03-11T17:13:13.927Z] bde34c3a00c8: Download complete [2024-03-11T17:13:13.927Z] b352a97aabf1: Download complete [2024-03-11T17:13:13.927Z] 4872d77fe225: Verifying Checksum [2024-03-11T17:13:13.927Z] 4872d77fe225: Download complete [2024-03-11T17:13:13.927Z] 5851b861e8e6: Verifying Checksum [2024-03-11T17:13:13.927Z] 5851b861e8e6: Download complete [2024-03-11T17:13:13.927Z] b85a868b505f: Verifying Checksum [2024-03-11T17:13:13.927Z] b85a868b505f: Download complete [2024-03-11T17:13:14.186Z] bab4dde63d76: Verifying Checksum [2024-03-11T17:13:14.186Z] bab4dde63d76: Download complete [2024-03-11T17:13:15.123Z] b85a868b505f: Pull complete [2024-03-11T17:13:15.123Z] e2be974225ed: Pull complete [2024-03-11T17:13:15.696Z] 339a4e72a1f5: Pull complete [2024-03-11T17:13:15.696Z] 988bab9f4d93: Pull complete [2024-03-11T17:13:15.956Z] 1469e6f7b9e6: Pull complete [2024-03-11T17:13:15.956Z] eaf3925da568: Pull complete [2024-03-11T17:13:17.332Z] bab4dde63d76: Pull complete [2024-03-11T17:13:17.332Z] bde34c3a00c8: Pull complete [2024-03-11T17:13:17.592Z] b352a97aabf1: Pull complete [2024-03-11T17:13:17.592Z] 4872d77fe225: Pull complete [2024-03-11T17:13:17.592Z] 5851b861e8e6: Pull complete [2024-03-11T17:13:17.592Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-11T17:13:17.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-11T17:13:17.855Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T17:13:18.202Z] prd-ubuntu20.04-docker-8c-8g-5461 does not seem to be running inside a container [2024-03-11T17:13:18.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-131 -v /w/workspace/foundry_app-record-replay_PR-131:/w/workspace/foundry_app-record-replay_PR-131:rw,z -v /w/workspace/foundry_app-record-replay_PR-131@tmp:/w/workspace/foundry_app-record-replay_PR-131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-11T17:13:21.888Z] $ docker top fd284985d83de734770c6a0a28c78ec1046855d4457853492665d4b111aa14cd -eo pid,comm [2024-03-11T17:13:21.936Z] 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). [2024-03-11T17:13:21.936Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-11T17:13:22.146Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-11T17:13:22.146Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-11T17:13:22.257Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-11T17:13:22.261Z] $ docker exec fd284985d83de734770c6a0a28c78ec1046855d4457853492665d4b111aa14cd ssh-agent [2024-03-11T17:13:22.358Z] SSH_AUTH_SOCK=/tmp/ssh-xHkYYaKd8ie9/agent.32 [2024-03-11T17:13:22.358Z] SSH_AGENT_PID=38 [2024-03-11T17:13:22.363Z] Running ssh-add (command line suppressed) [2024-03-11T17:13:22.455Z] Identity added: /w/workspace/foundry_app-record-replay_PR-131@tmp/private_key_17027601298497833583.key (/w/workspace/foundry_app-record-replay_PR-131@tmp/private_key_17027601298497833583.key) [2024-03-11T17:13:22.465Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-11T17:13:22.818Z] + git tag --points-at HEAD [Pipeline] } [2024-03-11T17:13:22.848Z] $ docker exec --env ******** --env ******** fd284985d83de734770c6a0a28c78ec1046855d4457853492665d4b111aa14cd ssh-agent -k [2024-03-11T17:13:22.962Z] unset SSH_AUTH_SOCK; [2024-03-11T17:13:22.963Z] unset SSH_AGENT_PID; [2024-03-11T17:13:22.963Z] echo Agent pid 38 killed; [2024-03-11T17:13:22.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-11T17:13:23.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-11T17:13:23.110Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-11T17:13:23.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-11T17:13:23.235Z] $ docker exec fd284985d83de734770c6a0a28c78ec1046855d4457853492665d4b111aa14cd ssh-agent [2024-03-11T17:13:23.351Z] SSH_AUTH_SOCK=/tmp/ssh-KX0XR5Mweq7k/agent.70 [2024-03-11T17:13:23.351Z] SSH_AGENT_PID=76 [2024-03-11T17:13:23.355Z] Running ssh-add (command line suppressed) [2024-03-11T17:13:23.443Z] Identity added: /w/workspace/foundry_app-record-replay_PR-131@tmp/private_key_12269901285837043789.key (/w/workspace/foundry_app-record-replay_PR-131@tmp/private_key_12269901285837043789.key) [2024-03-11T17:13:23.456Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-11T17:13:23.811Z] + git semver init [2024-03-11T17:13:24.072Z] 2024-03-11 17:13:24,014 [run_init] DEBUG init version:0.0.0 force:False [2024-03-11T17:13:24.072Z] 2024-03-11 17:13:24,015 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-131/.semver [2024-03-11T17:13:24.072Z] 2024-03-11 17:13:24,015 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-131/.semver [2024-03-11T17:13:24.072Z] 2024-03-11 17:13:24,016 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-131/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-131, universal_newlines=False, shell=None, istream=None) [2024-03-11T17:13:25.010Z] 2024-03-11 17:13:24,986 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-131/.git/info/exclude [2024-03-11T17:13:25.010Z] 2024-03-11 17:13:24,987 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-131/.semver/PR-131 with force:False [2024-03-11T17:13:25.011Z] 2024-03-11 17:13:24,988 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-131/.semver/PR-131 [2024-03-11T17:13:25.011Z] 2024-03-11 17:13:24,992 [execute] INFO git cat-file --batch-check [2024-03-11T17:13:25.011Z] 2024-03-11 17:13:24,993 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-131/.semver, universal_newlines=False, shell=None, istream=) [2024-03-11T17:13:25.011Z] 2024-03-11 17:13:25,000 [execute] INFO git cat-file --batch [2024-03-11T17:13:25.011Z] 2024-03-11 17:13:25,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-131/.semver, universal_newlines=False, shell=None, istream=) [2024-03-11T17:13:25.011Z] 2024-03-11 17:13:25,007 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-131/.semver/PR-131 [2024-03-11T17:13:25.011Z] 0.0.0 [Pipeline] } [2024-03-11T17:13:25.292Z] $ docker exec --env ******** --env ******** fd284985d83de734770c6a0a28c78ec1046855d4457853492665d4b111aa14cd ssh-agent -k [2024-03-11T17:13:25.384Z] unset SSH_AUTH_SOCK; [2024-03-11T17:13:25.385Z] unset SSH_AGENT_PID; [2024-03-11T17:13:25.385Z] echo Agent pid 76 killed; [2024-03-11T17:13:25.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-11T17:13:25.936Z] + git semver [Pipeline] } [2024-03-11T17:13:26.223Z] $ docker stop --time=1 fd284985d83de734770c6a0a28c78ec1046855d4457853492665d4b111aa14cd [2024-03-11T17:13:27.541Z] $ docker rm -f --volumes fd284985d83de734770c6a0a28c78ec1046855d4457853492665d4b111aa14cd [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-11T17:13:27.988Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-11T17:13:28.303Z] Stashed 1 file(s) [Pipeline] echo [2024-03-11T17:13:28.322Z] [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 [2024-03-11T17:13:29.323Z] provisioning config files... [2024-03-11T17:13:29.334Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-131@tmp/config11207670955725879032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:13:29.737Z] ---> ****-login.sh [2024-03-11T17:13:29.737Z] nexus3.edgexfoundry.org:10001 [2024-03-11T17:13:29.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:29.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:29.737Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:29.737Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:29.737Z] [2024-03-11T17:13:29.737Z] Login Succeeded [2024-03-11T17:13:29.737Z] nexus3.edgexfoundry.org:10002 [2024-03-11T17:13:29.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:29.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:29.998Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:29.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:29.998Z] [2024-03-11T17:13:29.998Z] Login Succeeded [2024-03-11T17:13:29.998Z] nexus3.edgexfoundry.org:10003 [2024-03-11T17:13:29.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:29.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:29.998Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:29.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:29.998Z] [2024-03-11T17:13:29.998Z] Login Succeeded [2024-03-11T17:13:29.998Z] nexus3.edgexfoundry.org:10004 [2024-03-11T17:13:29.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:30.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:30.258Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:30.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:30.258Z] [2024-03-11T17:13:30.258Z] Login Succeeded [2024-03-11T17:13:30.258Z] ****.io [2024-03-11T17:13:30.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:13:30.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:13:30.518Z] Configure a credential helper to remove this warning. See [2024-03-11T17:13:30.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:13:30.518Z] [2024-03-11T17:13:30.518Z] Login Succeeded [2024-03-11T17:13:30.518Z] ---> ****-login.sh ends [Pipeline] } [2024-03-11T17:13:30.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-11T17:13:30.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T17:13:30.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T17:13:30.999Z] ========================================================= [2024-03-11T17:13:30.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-11T17:13:30.999Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:13:31.563Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-11T17:13:31.563Z] Sending build context to Docker daemon 6.731MB [2024-03-11T17:13:31.563Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T17:13:31.563Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-11T17:13:31.563Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-11T17:13:31.563Z] 7264a8db6415: Pulling fs layer [2024-03-11T17:13:31.563Z] c4d48a809fc2: Pulling fs layer [2024-03-11T17:13:31.563Z] 4f1c88b9dad5: Pulling fs layer [2024-03-11T17:13:31.563Z] ad3a456e5733: Pulling fs layer [2024-03-11T17:13:31.563Z] 69c7f0334f64: Pulling fs layer [2024-03-11T17:13:31.563Z] 1f1c1a5573a3: Pulling fs layer [2024-03-11T17:13:31.563Z] ce7588e14bc9: Pulling fs layer [2024-03-11T17:13:31.563Z] b5e4710f87ac: Pulling fs layer [2024-03-11T17:13:31.563Z] 69c7f0334f64: Waiting [2024-03-11T17:13:31.563Z] 1f1c1a5573a3: Waiting [2024-03-11T17:13:31.563Z] ce7588e14bc9: Waiting [2024-03-11T17:13:31.563Z] b5e4710f87ac: Waiting [2024-03-11T17:13:31.563Z] ad3a456e5733: Waiting [2024-03-11T17:13:31.563Z] c4d48a809fc2: Download complete [2024-03-11T17:13:31.563Z] ad3a456e5733: Download complete [2024-03-11T17:13:31.563Z] 69c7f0334f64: Verifying Checksum [2024-03-11T17:13:31.563Z] 69c7f0334f64: Download complete [2024-03-11T17:13:31.563Z] 7264a8db6415: Verifying Checksum [2024-03-11T17:13:31.563Z] 7264a8db6415: Download complete [2024-03-11T17:13:31.823Z] 1f1c1a5573a3: Verifying Checksum [2024-03-11T17:13:31.823Z] 1f1c1a5573a3: Download complete [2024-03-11T17:13:31.823Z] 7264a8db6415: Pull complete [2024-03-11T17:13:32.082Z] b5e4710f87ac: Verifying Checksum [2024-03-11T17:13:32.082Z] b5e4710f87ac: Download complete [2024-03-11T17:13:32.082Z] c4d48a809fc2: Pull complete [2024-03-11T17:13:32.082Z] 4f1c88b9dad5: Verifying Checksum [2024-03-11T17:13:32.082Z] 4f1c88b9dad5: Download complete [2024-03-11T17:13:32.339Z] ce7588e14bc9: Verifying Checksum [2024-03-11T17:13:32.339Z] ce7588e14bc9: Download complete [2024-03-11T17:13:34.870Z] 4f1c88b9dad5: Pull complete [2024-03-11T17:13:34.870Z] ad3a456e5733: Pull complete [2024-03-11T17:13:35.129Z] 69c7f0334f64: Pull complete [2024-03-11T17:13:35.129Z] 1f1c1a5573a3: Pull complete [2024-03-11T17:13:37.661Z] ce7588e14bc9: Pull complete [2024-03-11T17:13:37.661Z] b5e4710f87ac: Pull complete [2024-03-11T17:13:37.661Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-11T17:13:37.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-11T17:13:37.661Z] ---> 88b5674ff536 [2024-03-11T17:13:37.661Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2024-03-11T17:13:40.954Z] ---> Running in 6b950ceb0a84 [2024-03-11T17:13:40.954Z] Removing intermediate container 6b950ceb0a84 [2024-03-11T17:13:40.954Z] ---> 8196df34a9ab [2024-03-11T17:13:40.954Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T17:13:40.955Z] ---> Running in 23ddc4f6f53e [2024-03-11T17:13:41.214Z] Removing intermediate container 23ddc4f6f53e [2024-03-11T17:13:41.214Z] ---> ceea21012268 [2024-03-11T17:13:41.214Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-11T17:13:41.214Z] ---> Running in 76a1e26b9573 [2024-03-11T17:13:41.214Z] Removing intermediate container 76a1e26b9573 [2024-03-11T17:13:41.214Z] ---> e4a32771c517 [2024-03-11T17:13:41.214Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T17:13:41.214Z] ---> Running in e87db3d4cabe [2024-03-11T17:13:41.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T17:13:41.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T17:13:41.995Z] OK: 264 MiB in 52 packages [2024-03-11T17:13:42.255Z] Removing intermediate container e87db3d4cabe [2024-03-11T17:13:42.255Z] ---> 5e1c87183d09 [2024-03-11T17:13:42.255Z] Step 7/12 : WORKDIR /app [2024-03-11T17:13:42.255Z] ---> Running in 2d529d3d97c6 [2024-03-11T17:13:42.515Z] Removing intermediate container 2d529d3d97c6 [2024-03-11T17:13:42.515Z] ---> a7604b7b9fc5 [2024-03-11T17:13:42.515Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-11T17:13:42.515Z] ---> c282ce040673 [2024-03-11T17:13:42.515Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T17:13:42.774Z] ---> Running in 9b395eadfc0a [2024-03-11T17:13:44.048Z] Still waiting to schedule task [2024-03-11T17:13:44.050Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5460’ [2024-03-11T17:14:09.336Z] Removing intermediate container 9b395eadfc0a [2024-03-11T17:14:09.336Z] ---> eef9170af97e [2024-03-11T17:14:09.336Z] Step 10/12 : COPY . . [2024-03-11T17:14:09.336Z] ---> 44a0f9bbe60f [2024-03-11T17:14:09.336Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T17:14:09.336Z] ---> Running in 0da4df6818a4 [2024-03-11T17:14:09.336Z] Removing intermediate container 0da4df6818a4 [2024-03-11T17:14:09.336Z] ---> 66a266be0cfc [2024-03-11T17:14:09.336Z] Step 12/12 : RUN $MAKE [2024-03-11T17:14:09.336Z] ---> Running in 64132eb77e19 [2024-03-11T17:14:09.336Z] noop [2024-03-11T17:14:09.336Z] Removing intermediate container 64132eb77e19 [2024-03-11T17:14:09.336Z] ---> 7c441221c4f6 [2024-03-11T17:14:09.336Z] Successfully built 7c441221c4f6 [2024-03-11T17:14:09.336Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:14:09.902Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-11T17:14:09.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T17:14:10.114Z] prd-ubuntu20.04-docker-8c-8g-5461 does not seem to be running inside a container [2024-03-11T17:14:10.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-131 -v /w/workspace/foundry_app-record-replay_PR-131:/w/workspace/foundry_app-record-replay_PR-131:rw,z -v /w/workspace/foundry_app-record-replay_PR-131@tmp:/w/workspace/foundry_app-record-replay_PR-131@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 ******** ci-base-image-x86_64 cat [2024-03-11T17:14:10.454Z] $ docker top 4c17698e8e825ade6fdc48f84832954955fc7b19748101e38b64ae46f1dc5d18 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T17:14:10.902Z] + go version [2024-03-11T17:14:10.903Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-11T17:14:10.936Z] $ docker stop --time=1 4c17698e8e825ade6fdc48f84832954955fc7b19748101e38b64ae46f1dc5d18 [2024-03-11T17:14:12.220Z] $ docker rm -f --volumes 4c17698e8e825ade6fdc48f84832954955fc7b19748101e38b64ae46f1dc5d18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:14:13.180Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-11T17:14:13.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T17:14:13.400Z] prd-ubuntu20.04-docker-8c-8g-5461 does not seem to be running inside a container [2024-03-11T17:14:13.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_app-record-replay_PR-131 -v /w/workspace/foundry_app-record-replay_PR-131:/w/workspace/foundry_app-record-replay_PR-131:rw,z -v /w/workspace/foundry_app-record-replay_PR-131@tmp:/w/workspace/foundry_app-record-replay_PR-131@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 ******** ci-base-image-x86_64 cat [2024-03-11T17:14:13.801Z] $ docker top 58638c97ecfa5d45bbab33f2f07e508ceb456bcb29f23e919b6a2fd6efed76b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T17:14:14.337Z] + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-131 [Pipeline] fileExists [Pipeline] sh [2024-03-11T17:14:14.733Z] + make test [2024-03-11T17:14:14.733Z] go test -race -coverprofile=coverage.out ./... [2024-03-11T17:14:36.706Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2024-03-11T17:14:36.706Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2024-03-11T17:14:36.706Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2024-03-11T17:14:36.706Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2024-03-11T17:14:36.706Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.047s coverage: 88.0% of statements [2024-03-11T17:14:44.834Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.599s coverage: 98.7% of statements [2024-03-11T17:14:44.834Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.111s coverage: 89.7% of statements [2024-03-11T17:14:44.834Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.034s coverage: 100.0% of statements [2024-03-11T17:15:06.764Z] go vet ./... [2024-03-11T17:15:07.699Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-11T17:15:07.699Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-11T17:15:07.699Z] ./bin/test-attribution-txt.sh [2024-03-11T17:15:07.699Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-11T17:15:07.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-11T17:15:07.814Z] $ docker stop --time=1 58638c97ecfa5d45bbab33f2f07e508ceb456bcb29f23e919b6a2fd6efed76b6 [2024-03-11T17:15:10.509Z] $ docker rm -f --volumes 58638c97ecfa5d45bbab33f2f07e508ceb456bcb29f23e919b6a2fd6efed76b6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-11T17:15:11.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-11T17:15:11.216Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-11T17:15:12.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-11T17:15:12.356Z] + ls -al . [2024-03-11T17:15:12.356Z] total 192 [2024-03-11T17:15:12.356Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 17:14 . [2024-03-11T17:15:12.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 17:12 .. [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 119 Mar 11 17:13 .dockerignore [2024-03-11T17:15:12.356Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 17:14 .git [2024-03-11T17:15:12.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 17:13 .github [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 164 Mar 11 17:13 .gitignore [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 17:13 .golangci.yml [2024-03-11T17:15:12.356Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 17:13 .semver [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 11301 Mar 11 17:13 Attribution.txt [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 458 Mar 11 17:13 CHANGELOG.md [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 1725 Mar 11 17:13 Dockerfile [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 17:13 GOVERNANCE.md [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 681 Mar 11 17:13 Jenkinsfile [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 11 17:13 LICENSE [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 3142 Mar 11 17:13 Makefile [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 611 Mar 11 17:13 OWNERS.md [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 4107 Mar 11 17:13 README.md [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 7789 Mar 11 17:13 Record and Reply.postman_collection.json [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 17:13 VERSION [2024-03-11T17:15:12.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 17:13 bin [2024-03-11T17:15:12.356Z] -rw-r--r-- 1 jenkins jenkins 24666 Mar 11 17:14 coverage.out [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 3951 Mar 11 17:13 go.mod [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 36103 Mar 11 17:13 go.sum [2024-03-11T17:15:12.356Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 11 17:13 internal [2024-03-11T17:15:12.356Z] -rw-rw-r-- 1 jenkins jenkins 913 Mar 11 17:13 main.go [2024-03-11T17:15:12.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 17:13 openapi [2024-03-11T17:15:12.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 17:13 pkg [2024-03-11T17:15:12.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 17:13 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:15:12.850Z] + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=52c78a47f2f46016c87edc8f3e64a05d5d2862ab --label arch=amd64 --label version=0.0.0 . [2024-03-11T17:15:12.850Z] Sending build context to Docker daemon 6.756MB [2024-03-11T17:15:12.850Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T17:15:12.850Z] Step 2/27 : FROM ${BASE} AS builder [2024-03-11T17:15:12.850Z] ---> 7c441221c4f6 [2024-03-11T17:15:12.850Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2024-03-11T17:15:13.108Z] ---> Running in 03fc4cc8e84a [2024-03-11T17:15:13.108Z] Removing intermediate container 03fc4cc8e84a [2024-03-11T17:15:13.108Z] ---> 22af5c10904d [2024-03-11T17:15:13.108Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T17:15:13.108Z] ---> Running in 4a17ffe57b2e [2024-03-11T17:15:13.108Z] Removing intermediate container 4a17ffe57b2e [2024-03-11T17:15:13.108Z] ---> 263a03b0975d [2024-03-11T17:15:13.108Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2024-03-11T17:15:13.108Z] ---> Running in cbf7d5e7a873 [2024-03-11T17:15:13.366Z] Removing intermediate container cbf7d5e7a873 [2024-03-11T17:15:13.366Z] ---> b5a555670a51 [2024-03-11T17:15:13.366Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T17:15:13.366Z] ---> Running in 2b3aa9bdad43 [2024-03-11T17:15:13.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T17:15:13.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T17:15:14.145Z] OK: 264 MiB in 52 packages [2024-03-11T17:15:14.403Z] Removing intermediate container 2b3aa9bdad43 [2024-03-11T17:15:14.403Z] ---> ddf080c2ff0b [2024-03-11T17:15:14.403Z] Step 7/27 : WORKDIR /app [2024-03-11T17:15:14.403Z] ---> Running in eb859570ff35 [2024-03-11T17:15:14.794Z] Removing intermediate container eb859570ff35 [2024-03-11T17:15:14.794Z] ---> 64514a3a8bca [2024-03-11T17:15:14.794Z] Step 8/27 : COPY go.mod vendor* ./ [2024-03-11T17:15:14.794Z] ---> 1d58e56b5197 [2024-03-11T17:15:14.794Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T17:15:14.794Z] ---> Running in 3fd285139328 [2024-03-11T17:15:15.404Z] Removing intermediate container 3fd285139328 [2024-03-11T17:15:15.404Z] ---> 4e7af5eec733 [2024-03-11T17:15:15.404Z] Step 10/27 : COPY . . [2024-03-11T17:15:15.667Z] ---> 9a38b4ae4adb [2024-03-11T17:15:15.667Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T17:15:15.667Z] ---> Running in 15df06b2bacc [2024-03-11T17:15:15.667Z] Removing intermediate container 15df06b2bacc [2024-03-11T17:15:15.667Z] ---> c407d6292bef [2024-03-11T17:15:15.667Z] Step 12/27 : RUN $MAKE [2024-03-11T17:15:15.667Z] ---> Running in 0e6e65f70409 [2024-03-11T17:15:15.939Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2024-03-11T17:15:37.865Z] Removing intermediate container 0e6e65f70409 [2024-03-11T17:15:37.865Z] ---> 45619d7857db [2024-03-11T17:15:37.865Z] Step 13/27 : FROM alpine:3.18 [2024-03-11T17:15:37.865Z] 3.18: Pulling from library/alpine [2024-03-11T17:15:37.865Z] 619be1103602: Pulling fs layer [2024-03-11T17:15:37.865Z] 619be1103602: Verifying Checksum [2024-03-11T17:15:37.865Z] 619be1103602: Download complete [2024-03-11T17:15:37.865Z] 619be1103602: Pull complete [2024-03-11T17:15:37.865Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-11T17:15:37.865Z] Status: Downloaded newer image for alpine:3.18 [2024-03-11T17:15:37.865Z] ---> d3782b16ccc9 [2024-03-11T17:15:37.865Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-11T17:15:37.865Z] ---> Running in 8fecec5c133d [2024-03-11T17:15:37.865Z] Removing intermediate container 8fecec5c133d [2024-03-11T17:15:37.865Z] ---> aee765a531b0 [2024-03-11T17:15:37.865Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2024-03-11T17:15:37.865Z] ---> Running in cfb6a41718f0 [2024-03-11T17:15:37.865Z] Removing intermediate container cfb6a41718f0 [2024-03-11T17:15:37.865Z] ---> e4b68aa29b30 [2024-03-11T17:15:37.866Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2024-03-11T17:15:37.866Z] ---> Running in 528538b14e59 [2024-03-11T17:15:37.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T17:15:37.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T17:15:37.866Z] (1/2) Installing ca-certificates (20230506-r0) [2024-03-11T17:15:37.866Z] (2/2) Installing dumb-init (1.2.5-r2) [2024-03-11T17:15:37.866Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T17:15:37.866Z] Executing ca-certificates-20230506-r0.trigger [2024-03-11T17:15:37.866Z] OK: 8 MiB in 17 packages [2024-03-11T17:15:38.125Z] Removing intermediate container 528538b14e59 [2024-03-11T17:15:38.125Z] ---> 6662a060646a [2024-03-11T17:15:38.125Z] Step 17/27 : RUN apk --no-cache upgrade [2024-03-11T17:15:38.125Z] ---> Running in 939b36c383bd [2024-03-11T17:15:38.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T17:15:38.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T17:15:38.901Z] OK: 8 MiB in 17 packages [2024-03-11T17:15:39.161Z] Removing intermediate container 939b36c383bd [2024-03-11T17:15:39.161Z] ---> d5633e4d06ac [2024-03-11T17:15:39.161Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2024-03-11T17:15:39.161Z] ---> 875f0c0583c5 [2024-03-11T17:15:39.161Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2024-03-11T17:15:39.421Z] ---> 7d20581fbe32 [2024-03-11T17:15:39.421Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2024-03-11T17:15:39.421Z] ---> 49b42a6dfd60 [2024-03-11T17:15:39.421Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2024-03-11T17:15:40.361Z] ---> 5428bff44095 [2024-03-11T17:15:40.361Z] Step 22/27 : EXPOSE 59712 [2024-03-11T17:15:40.361Z] ---> Running in 7e0c9844950d [2024-03-11T17:15:40.361Z] Removing intermediate container 7e0c9844950d [2024-03-11T17:15:40.361Z] ---> 9f343cec259a [2024-03-11T17:15:40.361Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2024-03-11T17:15:40.361Z] ---> Running in 7b68ae7148b6 [2024-03-11T17:15:40.361Z] Removing intermediate container 7b68ae7148b6 [2024-03-11T17:15:40.361Z] ---> 8e62c44f70c5 [2024-03-11T17:15:40.361Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-11T17:15:40.621Z] ---> Running in d8795115d832 [2024-03-11T17:15:40.621Z] Removing intermediate container d8795115d832 [2024-03-11T17:15:40.621Z] ---> 98a03453efe4 [2024-03-11T17:15:40.621Z] Step 25/27 : LABEL arch=amd64 [2024-03-11T17:15:40.621Z] ---> Running in f63de260800a [2024-03-11T17:15:40.621Z] Removing intermediate container f63de260800a [2024-03-11T17:15:40.621Z] ---> c5da179be9cd [2024-03-11T17:15:40.621Z] Step 26/27 : LABEL git_sha=52c78a47f2f46016c87edc8f3e64a05d5d2862ab [2024-03-11T17:15:40.621Z] ---> Running in c16e2ce7dc3d [2024-03-11T17:15:40.880Z] Removing intermediate container c16e2ce7dc3d [2024-03-11T17:15:40.880Z] ---> e009a3cb1e78 [2024-03-11T17:15:40.880Z] Step 27/27 : LABEL version=0.0.0 [2024-03-11T17:15:40.880Z] ---> Running in f533559abef4 [2024-03-11T17:15:40.880Z] Removing intermediate container f533559abef4 [2024-03-11T17:15:40.880Z] ---> 6d4d6b6e9d9f [2024-03-11T17:15:40.880Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-11T17:15:40.880Z] Successfully built 6d4d6b6e9d9f [2024-03-11T17:15:40.880Z] Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:15:42.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T17:15:42.167Z] [2024-03-11T17:15:42.167Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:15:42.588Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T17:15:42.588Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-11T17:15:42.588Z] 5eb5b503b376: Pulling fs layer [2024-03-11T17:15:42.588Z] 5c69ac0246d0: Pulling fs layer [2024-03-11T17:15:42.588Z] ec43610c2a17: Pulling fs layer [2024-03-11T17:15:42.588Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-11T17:15:42.588Z] 33b1e0a273af: Pulling fs layer [2024-03-11T17:15:42.588Z] 5d3b04190fa2: Pulling fs layer [2024-03-11T17:15:42.588Z] 2f39f015ded8: Pulling fs layer [2024-03-11T17:15:42.588Z] 3a2ae6a8a46f: Waiting [2024-03-11T17:15:42.588Z] 33b1e0a273af: Waiting [2024-03-11T17:15:42.588Z] 5d3b04190fa2: Waiting [2024-03-11T17:15:42.588Z] 2f39f015ded8: Waiting [2024-03-11T17:15:42.588Z] 5c69ac0246d0: Verifying Checksum [2024-03-11T17:15:42.588Z] 5c69ac0246d0: Download complete [2024-03-11T17:15:42.588Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-11T17:15:42.588Z] 3a2ae6a8a46f: Download complete [2024-03-11T17:15:42.849Z] 33b1e0a273af: Download complete [2024-03-11T17:15:42.849Z] ec43610c2a17: Verifying Checksum [2024-03-11T17:15:42.849Z] ec43610c2a17: Download complete [2024-03-11T17:15:42.849Z] 5d3b04190fa2: Verifying Checksum [2024-03-11T17:15:42.849Z] 5d3b04190fa2: Download complete [2024-03-11T17:15:42.849Z] 5eb5b503b376: Verifying Checksum [2024-03-11T17:15:42.849Z] 5eb5b503b376: Download complete [2024-03-11T17:15:43.414Z] 2f39f015ded8: Download complete [2024-03-11T17:15:44.348Z] 5eb5b503b376: Pull complete [2024-03-11T17:15:44.348Z] 5c69ac0246d0: Pull complete [2024-03-11T17:15:44.915Z] ec43610c2a17: Pull complete [2024-03-11T17:15:44.915Z] 3a2ae6a8a46f: Pull complete [2024-03-11T17:15:45.173Z] 33b1e0a273af: Pull complete [2024-03-11T17:15:45.173Z] 5d3b04190fa2: Pull complete [2024-03-11T17:15:49.523Z] 2f39f015ded8: Pull complete [2024-03-11T17:15:49.523Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-11T17:15:49.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T17:15:49.523Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T17:15:49.906Z] prd-ubuntu20.04-docker-8c-8g-5461 does not seem to be running inside a container [2024-03-11T17:15:49.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_app-record-replay_PR-131 -v /w/workspace/foundry_app-record-replay_PR-131:/w/workspace/foundry_app-record-replay_PR-131:rw,z -v /w/workspace/foundry_app-record-replay_PR-131@tmp:/w/workspace/foundry_app-record-replay_PR-131@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 [2024-03-11T17:15:55.901Z] $ docker top c9a0d3d2ad2902a1721ce4b8957b36f05ee5de6560891a2554bdd8c5ccbb6d75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:15:56.415Z] ---> job-cost.sh [2024-03-11T17:15:56.415Z] lf-activate-venv: SKIPPING [2024-03-11T17:15:56.415Z] INFO: No Stack... [2024-03-11T17:15:56.675Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-11T17:15:57.246Z] INFO: Archiving Costs [Pipeline] sh [2024-03-11T17:15:57.570Z] + cat /w/workspace/foundry_app-record-replay_PR-131/archives/cost.csv [2024-03-11T17:15:57.570Z] + cut -d, -f6 [Pipeline] lock [2024-03-11T17:15:57.615Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-131-1-stack-cost] [2024-03-11T17:15:57.621Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-131-1-stack-cost] did not exist. Created. [2024-03-11T17:15:57.627Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-11T17:15:58.082Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-11T17:15:58.141Z] Stashed 1 file(s) [Pipeline] } [2024-03-11T17:15:58.208Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-11T17:15:58.367Z] $ docker stop --time=1 c9a0d3d2ad2902a1721ce4b8957b36f05ee5de6560891a2554bdd8c5ccbb6d75 [2024-03-11T17:15:59.530Z] $ docker rm -f --volumes c9a0d3d2ad2902a1721ce4b8957b36f05ee5de6560891a2554bdd8c5ccbb6d75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-11T17:17:17.683Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5462 in /w/workspace/foundry_app-record-replay_PR-131 [Pipeline] { [Pipeline] ws [2024-03-11T17:17:17.779Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2024-03-11T17:17:20.921Z] Selected Git installation does not exist. Using Default [2024-03-11T17:17:20.921Z] The recommended git tool is: NONE [2024-03-11T17:17:26.438Z] using credential edgex-jenkins-ssh [2024-03-11T17:17:26.461Z] Cloning the remote Git repository [2024-03-11T17:17:26.510Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2024-03-11T17:17:26.612Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2024-03-11T17:17:26.752Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2024-03-11T17:17:26.753Z] > git --version # timeout=10 [2024-03-11T17:17:26.774Z] > git --version # 'git version 2.25.1' [2024-03-11T17:17:26.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-11T17:17:26.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-11T17:17:28.569Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2024-03-11T17:17:28.597Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-11T17:17:29.557Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2024-03-11T17:17:29.607Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2024-03-11T17:17:29.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-11T17:17:29.627Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/131/head:refs/remotes/origin/PR-131 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-11T17:17:30.271Z] Merging remotes/origin/main commit b579943a118980ce83a5f3b26e5c96da3a93eb4b into PR head commit 52c78a47f2f46016c87edc8f3e64a05d5d2862ab [2024-03-11T17:17:30.594Z] Merge succeeded, producing 52c78a47f2f46016c87edc8f3e64a05d5d2862ab [2024-03-11T17:17:30.595Z] Checking out Revision 52c78a47f2f46016c87edc8f3e64a05d5d2862ab (PR-131) [2024-03-11T17:17:30.297Z] > git config core.sparsecheckout # timeout=10 [2024-03-11T17:17:30.384Z] > git checkout -f 52c78a47f2f46016c87edc8f3e64a05d5d2862ab # timeout=10 [2024-03-11T17:17:30.483Z] > git remote # timeout=10 [2024-03-11T17:17:30.503Z] > git config --get remote.origin.url # timeout=10 [2024-03-11T17:17:30.530Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-11T17:17:30.546Z] > git merge b579943a118980ce83a5f3b26e5c96da3a93eb4b # timeout=10 [2024-03-11T17:17:30.576Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-11T17:17:30.604Z] > git config core.sparsecheckout # timeout=10 [2024-03-11T17:17:30.622Z] > git checkout -f 52c78a47f2f46016c87edc8f3e64a05d5d2862ab # timeout=10 [2024-03-11T17:17:34.201Z] Commit message: "build: [RecordReplay] Add ldflags to strip debug info from binary" [2024-03-11T17:17:34.254Z] > git --version # timeout=10 [2024-03-11T17:17:34.311Z] > git --version # 'git version 2.25.1' [2024-03-11T17:17:34.331Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-11T17:17:35.906Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-11T17:17:35.906Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-11T17:17:35.906Z] Dload Upload Total Spent Left Speed [2024-03-11T17:17:35.906Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh [2024-03-11T17:17:36.253Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-11T17:17:36.593Z] + sudo tee /etc/docker/daemon.new [2024-03-11T17:17:36.593Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-11T17:17:36.594Z] { [2024-03-11T17:17:36.594Z] "registry-mirrors": [ [2024-03-11T17:17:36.594Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-11T17:17:36.594Z] ], [2024-03-11T17:17:36.594Z] "bip": "10.250.0.254/24", [2024-03-11T17:17:36.594Z] "hosts": [ [2024-03-11T17:17:36.594Z] "tcp://0.0.0.0:5555", [2024-03-11T17:17:36.594Z] "unix:///var/run/docker.sock" [2024-03-11T17:17:36.594Z] ], [2024-03-11T17:17:36.594Z] "mtu": 1458, [2024-03-11T17:17:36.594Z] "selinux-enabled": true, [2024-03-11T17:17:36.594Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-11T17:17:36.594Z] } [Pipeline] sh [2024-03-11T17:17:36.968Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-11T17:17:37.318Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-11T17:17:55.716Z] provisioning config files... [2024-03-11T17:17:55.746Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config6721169994203500868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:17:56.279Z] ---> ****-login.sh [2024-03-11T17:17:56.279Z] nexus3.edgexfoundry.org:10001 [2024-03-11T17:17:56.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:17:56.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:17:56.876Z] Configure a credential helper to remove this warning. See [2024-03-11T17:17:56.876Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:17:56.876Z] [2024-03-11T17:17:56.876Z] Login Succeeded [2024-03-11T17:17:56.876Z] nexus3.edgexfoundry.org:10002 [2024-03-11T17:17:57.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:17:57.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:17:57.417Z] Configure a credential helper to remove this warning. See [2024-03-11T17:17:57.417Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:17:57.417Z] [2024-03-11T17:17:57.417Z] Login Succeeded [2024-03-11T17:17:57.417Z] nexus3.edgexfoundry.org:10003 [2024-03-11T17:17:57.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:17:57.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:17:57.686Z] Configure a credential helper to remove this warning. See [2024-03-11T17:17:57.686Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:17:57.686Z] [2024-03-11T17:17:57.686Z] Login Succeeded [2024-03-11T17:17:57.686Z] nexus3.edgexfoundry.org:10004 [2024-03-11T17:17:57.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:17:57.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:17:57.956Z] Configure a credential helper to remove this warning. See [2024-03-11T17:17:57.956Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:17:57.956Z] [2024-03-11T17:17:57.956Z] Login Succeeded [2024-03-11T17:17:57.956Z] ****.io [2024-03-11T17:17:58.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T17:17:58.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T17:17:58.491Z] Configure a credential helper to remove this warning. See [2024-03-11T17:17:58.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T17:17:58.491Z] [2024-03-11T17:17:58.491Z] Login Succeeded [2024-03-11T17:17:58.491Z] ---> ****-login.sh ends [Pipeline] } [2024-03-11T17:17:58.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-11T17:17:59.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T17:17:59.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T17:17:59.240Z] ========================================================= [2024-03-11T17:17:59.240Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-11T17:17:59.240Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:17:59.922Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-11T17:17:59.922Z] Sending build context to Docker daemon 260.1kB [2024-03-11T17:18:00.190Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T17:18:00.191Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-11T17:18:00.191Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-11T17:18:00.191Z] 9fda8d8052c6: Pulling fs layer [2024-03-11T17:18:00.191Z] 5d54e960e981: Pulling fs layer [2024-03-11T17:18:00.191Z] c4a7e357bf2a: Pulling fs layer [2024-03-11T17:18:00.191Z] f0e02332f6b5: Pulling fs layer [2024-03-11T17:18:00.191Z] 872ee5b61b7b: Pulling fs layer [2024-03-11T17:18:00.191Z] 0c6a40ed1a82: Pulling fs layer [2024-03-11T17:18:00.191Z] 94ae7d8d031c: Pulling fs layer [2024-03-11T17:18:00.191Z] f0e02332f6b5: Waiting [2024-03-11T17:18:00.191Z] 872ee5b61b7b: Waiting [2024-03-11T17:18:00.191Z] 0c6a40ed1a82: Waiting [2024-03-11T17:18:00.191Z] 94ae7d8d031c: Waiting [2024-03-11T17:18:00.459Z] 5d54e960e981: Verifying Checksum [2024-03-11T17:18:00.459Z] 5d54e960e981: Download complete [2024-03-11T17:18:00.459Z] f0e02332f6b5: Verifying Checksum [2024-03-11T17:18:00.459Z] f0e02332f6b5: Download complete [2024-03-11T17:18:00.459Z] 872ee5b61b7b: Verifying Checksum [2024-03-11T17:18:00.459Z] 872ee5b61b7b: Download complete [2024-03-11T17:18:00.459Z] 9fda8d8052c6: Download complete [2024-03-11T17:18:00.730Z] 94ae7d8d031c: Verifying Checksum [2024-03-11T17:18:00.730Z] 94ae7d8d031c: Download complete [2024-03-11T17:18:01.319Z] 9fda8d8052c6: Pull complete [2024-03-11T17:18:01.913Z] 5d54e960e981: Pull complete [2024-03-11T17:18:02.182Z] c4a7e357bf2a: Verifying Checksum [2024-03-11T17:18:02.182Z] c4a7e357bf2a: Download complete [2024-03-11T17:18:03.158Z] 0c6a40ed1a82: Download complete [2024-03-11T17:18:15.493Z] c4a7e357bf2a: Pull complete [2024-03-11T17:18:15.493Z] f0e02332f6b5: Pull complete [2024-03-11T17:18:15.493Z] 872ee5b61b7b: Pull complete [2024-03-11T17:18:23.702Z] 0c6a40ed1a82: Pull complete [2024-03-11T17:18:24.295Z] 94ae7d8d031c: Pull complete [2024-03-11T17:18:24.572Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-11T17:18:24.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-11T17:18:24.572Z] ---> 86de565de09d [2024-03-11T17:18:24.572Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2024-03-11T17:18:26.518Z] ---> Running in 4981801a060a [2024-03-11T17:18:26.785Z] Removing intermediate container 4981801a060a [2024-03-11T17:18:26.785Z] ---> 9d67241140e8 [2024-03-11T17:18:26.785Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T17:18:26.785Z] ---> Running in a4112f143ceb [2024-03-11T17:18:27.371Z] Removing intermediate container a4112f143ceb [2024-03-11T17:18:27.371Z] ---> b1b1f5364c7c [2024-03-11T17:18:27.371Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-03-11T17:18:27.371Z] ---> Running in 1358f1e7644d [2024-03-11T17:18:27.641Z] Removing intermediate container 1358f1e7644d [2024-03-11T17:18:27.641Z] ---> f1735ff057d4 [2024-03-11T17:18:27.641Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T17:18:27.641Z] ---> Running in 88d6560d0b9d [2024-03-11T17:18:29.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T17:18:29.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T17:18:30.746Z] OK: 266 MiB in 52 packages [2024-03-11T17:18:31.335Z] Removing intermediate container 88d6560d0b9d [2024-03-11T17:18:31.335Z] ---> f2d8769cdf87 [2024-03-11T17:18:31.335Z] Step 7/12 : WORKDIR /app [2024-03-11T17:18:31.602Z] ---> Running in 72b76a99edbc [2024-03-11T17:18:31.871Z] Removing intermediate container 72b76a99edbc [2024-03-11T17:18:31.871Z] ---> 0f7ecec44891 [2024-03-11T17:18:31.871Z] Step 8/12 : COPY go.mod vendor* ./ [2024-03-11T17:18:32.455Z] ---> fd6c901eb060 [2024-03-11T17:18:32.455Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T17:18:32.455Z] ---> Running in 26badde7ccc6 [2024-03-11T17:19:40.325Z] Removing intermediate container 26badde7ccc6 [2024-03-11T17:19:40.325Z] ---> c4e2bfd7a087 [2024-03-11T17:19:40.325Z] Step 10/12 : COPY . . [2024-03-11T17:19:40.325Z] ---> 1fbc419ce1e7 [2024-03-11T17:19:40.325Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T17:19:40.325Z] ---> Running in 2f3d2227b5cc [2024-03-11T17:19:40.325Z] Removing intermediate container 2f3d2227b5cc [2024-03-11T17:19:40.325Z] ---> f2c85c2846ed [2024-03-11T17:19:40.325Z] Step 12/12 : RUN $MAKE [2024-03-11T17:19:40.325Z] ---> Running in 1fea9f953f4b [2024-03-11T17:19:40.325Z] noop [2024-03-11T17:19:40.325Z] Removing intermediate container 1fea9f953f4b [2024-03-11T17:19:40.325Z] ---> a722c0694460 [2024-03-11T17:19:40.325Z] Successfully built a722c0694460 [2024-03-11T17:19:40.325Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:19:40.955Z] + docker inspect -f . ci-base-image-arm64 [2024-03-11T17:19:40.956Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T17:19:41.324Z] prd-ubuntu20.04-docker-arm64-4c-16g-5462 does not seem to be running inside a container [2024-03-11T17:19:41.396Z] $ 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 [2024-03-11T17:19:42.736Z] $ docker top 53c4bce82b1920d76c1b119722908bfd2fd61902621e6c648bb5ecf7051ce1f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T17:19:43.747Z] + go version [2024-03-11T17:19:43.747Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-11T17:19:43.784Z] $ docker stop --time=1 53c4bce82b1920d76c1b119722908bfd2fd61902621e6c648bb5ecf7051ce1f5 [2024-03-11T17:19:45.439Z] $ docker rm -f --volumes 53c4bce82b1920d76c1b119722908bfd2fd61902621e6c648bb5ecf7051ce1f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:19:46.678Z] + docker inspect -f . ci-base-image-arm64 [2024-03-11T17:19:46.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T17:19:47.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-5462 does not seem to be running inside a container [2024-03-11T17:19:47.073Z] $ 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 [2024-03-11T17:19:48.346Z] $ docker top 4b3ed1c20b2da22cf2e6d86b6677597142b99c3634facc5c9081041f20609677 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T17:19:49.296Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2024-03-11T17:19:50.042Z] + make test [2024-03-11T17:19:50.042Z] go test -race -coverprofile=coverage.out ./... [2024-03-11T17:22:12.034Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2024-03-11T17:22:13.975Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.224s coverage: 88.0% of statements [2024-03-11T17:22:15.925Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2024-03-11T17:22:15.925Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2024-03-11T17:22:17.872Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2024-03-11T17:22:26.088Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.997s coverage: 98.7% of statements [2024-03-11T17:22:26.088Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.520s coverage: 89.7% of statements [2024-03-11T17:22:26.088Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.168s coverage: 100.0% of statements [2024-03-11T17:22:27.059Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-11T17:22:27.059Z] go vet ./... [2024-03-11T17:24:33.761Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-11T17:24:33.761Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-11T17:24:33.761Z] ./bin/test-attribution-txt.sh [2024-03-11T17:24:33.761Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-11T17:24:33.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-11T17:24:33.887Z] $ docker stop --time=1 4b3ed1c20b2da22cf2e6d86b6677597142b99c3634facc5c9081041f20609677 [2024-03-11T17:24:35.789Z] $ docker rm -f --volumes 4b3ed1c20b2da22cf2e6d86b6677597142b99c3634facc5c9081041f20609677 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-11T17:24:37.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-11T17:24:37.650Z] Warning: overwriting stash ‘coverage-report’ [2024-03-11T17:24:38.241Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-11T17:24:39.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-11T17:24:39.459Z] + ls -al . [2024-03-11T17:24:39.459Z] total 188 [2024-03-11T17:24:39.459Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 17:19 . [2024-03-11T17:24:39.459Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 17:17 .. [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 119 Mar 11 17:17 .dockerignore [2024-03-11T17:24:39.459Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 17:17 .git [2024-03-11T17:24:39.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 17:17 .github [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 164 Mar 11 17:17 .gitignore [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 17:17 .golangci.yml [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 11301 Mar 11 17:17 Attribution.txt [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 458 Mar 11 17:17 CHANGELOG.md [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 1725 Mar 11 17:17 Dockerfile [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 17:17 GOVERNANCE.md [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 681 Mar 11 17:17 Jenkinsfile [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 11 17:17 LICENSE [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 3142 Mar 11 17:17 Makefile [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 611 Mar 11 17:17 OWNERS.md [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 4107 Mar 11 17:17 README.md [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 7789 Mar 11 17:17 Record and Reply.postman_collection.json [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 17:13 VERSION [2024-03-11T17:24:39.459Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 17:17 bin [2024-03-11T17:24:39.459Z] -rw-r--r-- 1 jenkins jenkins 24666 Mar 11 17:22 coverage.out [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 3951 Mar 11 17:17 go.mod [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 36103 Mar 11 17:17 go.sum [2024-03-11T17:24:39.459Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 11 17:17 internal [2024-03-11T17:24:39.459Z] -rw-rw-r-- 1 jenkins jenkins 913 Mar 11 17:17 main.go [2024-03-11T17:24:39.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 17:17 openapi [2024-03-11T17:24:39.459Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 17:17 pkg [2024-03-11T17:24:39.459Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 17:17 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:24:40.034Z] + 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=52c78a47f2f46016c87edc8f3e64a05d5d2862ab --label arch=arm64 --label version=0.0.0 . [2024-03-11T17:24:40.310Z] Sending build context to Docker daemon 285.7kB [2024-03-11T17:24:40.310Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T17:24:40.310Z] Step 2/27 : FROM ${BASE} AS builder [2024-03-11T17:24:40.310Z] ---> a722c0694460 [2024-03-11T17:24:40.310Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2024-03-11T17:24:40.310Z] ---> Running in d92fe2bfaa2e [2024-03-11T17:24:40.590Z] Removing intermediate container d92fe2bfaa2e [2024-03-11T17:24:40.590Z] ---> 4b21d076a830 [2024-03-11T17:24:40.590Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T17:24:40.862Z] ---> Running in 73be1a4ed9bb [2024-03-11T17:24:41.128Z] Removing intermediate container 73be1a4ed9bb [2024-03-11T17:24:41.128Z] ---> c2245b753ca6 [2024-03-11T17:24:41.128Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2024-03-11T17:24:41.128Z] ---> Running in a2d0a431d30d [2024-03-11T17:24:41.400Z] Removing intermediate container a2d0a431d30d [2024-03-11T17:24:41.400Z] ---> 0df910d1fcc6 [2024-03-11T17:24:41.400Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T17:24:41.668Z] ---> Running in f6415eb9f654 [2024-03-11T17:24:42.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T17:24:43.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T17:24:44.184Z] OK: 266 MiB in 52 packages [2024-03-11T17:24:45.143Z] Removing intermediate container f6415eb9f654 [2024-03-11T17:24:45.143Z] ---> 0611c5a803ae [2024-03-11T17:24:45.143Z] Step 7/27 : WORKDIR /app [2024-03-11T17:24:45.410Z] ---> Running in 99e594349f96 [2024-03-11T17:24:45.679Z] Removing intermediate container 99e594349f96 [2024-03-11T17:24:45.679Z] ---> c3f805713cb3 [2024-03-11T17:24:45.679Z] Step 8/27 : COPY go.mod vendor* ./ [2024-03-11T17:24:46.259Z] ---> cde7a7e5b438 [2024-03-11T17:24:46.259Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T17:24:46.259Z] ---> Running in d07be8105807 [2024-03-11T17:24:48.198Z] Removing intermediate container d07be8105807 [2024-03-11T17:24:48.198Z] ---> d03900571998 [2024-03-11T17:24:48.198Z] Step 10/27 : COPY . . [2024-03-11T17:24:48.787Z] ---> 22023f9dd01f [2024-03-11T17:24:48.787Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T17:24:48.787Z] ---> Running in 1704c531042c [2024-03-11T17:24:49.057Z] Removing intermediate container 1704c531042c [2024-03-11T17:24:49.057Z] ---> dc8edd8f7f98 [2024-03-11T17:24:49.057Z] Step 12/27 : RUN $MAKE [2024-03-11T17:24:49.057Z] ---> Running in 02335d0cb2b6 [2024-03-11T17:24:50.017Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2024-03-11T17:26:56.687Z] Removing intermediate container 02335d0cb2b6 [2024-03-11T17:26:56.687Z] ---> 90d5b7b13f16 [2024-03-11T17:26:56.687Z] Step 13/27 : FROM alpine:3.18 [2024-03-11T17:26:56.687Z] 3.18: Pulling from library/alpine [2024-03-11T17:26:56.687Z] c6b39de5b339: Pulling fs layer [2024-03-11T17:26:56.687Z] c6b39de5b339: Verifying Checksum [2024-03-11T17:26:56.687Z] c6b39de5b339: Download complete [2024-03-11T17:26:56.687Z] c6b39de5b339: Pull complete [2024-03-11T17:26:56.687Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-11T17:26:56.687Z] Status: Downloaded newer image for alpine:3.18 [2024-03-11T17:26:56.687Z] ---> 33abbf032149 [2024-03-11T17:26:56.687Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-11T17:26:56.687Z] ---> Running in a01a2caa095c [2024-03-11T17:26:56.687Z] Removing intermediate container a01a2caa095c [2024-03-11T17:26:56.687Z] ---> d4dc9b3c1250 [2024-03-11T17:26:56.687Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2024-03-11T17:26:56.687Z] ---> Running in f947a28693a0 [2024-03-11T17:26:56.687Z] Removing intermediate container f947a28693a0 [2024-03-11T17:26:56.687Z] ---> 533d6b51efaf [2024-03-11T17:26:56.687Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2024-03-11T17:26:56.687Z] ---> Running in 9202e2dc96fb [2024-03-11T17:26:56.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T17:26:56.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T17:26:57.643Z] (1/2) Installing ca-certificates (20230506-r0) [2024-03-11T17:26:57.643Z] (2/2) Installing dumb-init (1.2.5-r2) [2024-03-11T17:26:57.643Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T17:26:57.643Z] Executing ca-certificates-20230506-r0.trigger [2024-03-11T17:26:57.916Z] OK: 9 MiB in 17 packages [2024-03-11T17:26:59.322Z] Removing intermediate container 9202e2dc96fb [2024-03-11T17:26:59.322Z] ---> b54491dd2ab3 [2024-03-11T17:26:59.322Z] Step 17/27 : RUN apk --no-cache upgrade [2024-03-11T17:26:59.322Z] ---> Running in 30f5f9fe6513 [2024-03-11T17:27:00.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T17:27:00.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T17:27:01.497Z] OK: 9 MiB in 17 packages [2024-03-11T17:27:02.455Z] Removing intermediate container 30f5f9fe6513 [2024-03-11T17:27:02.455Z] ---> 760d77e88bbd [2024-03-11T17:27:02.455Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2024-03-11T17:27:02.721Z] ---> 0093cd891bc2 [2024-03-11T17:27:02.721Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2024-03-11T17:27:03.302Z] ---> 732982cf6a11 [2024-03-11T17:27:03.302Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2024-03-11T17:27:03.881Z] ---> 92b3e5e1a1a2 [2024-03-11T17:27:03.881Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2024-03-11T17:27:05.305Z] ---> f8808363ddec [2024-03-11T17:27:05.305Z] Step 22/27 : EXPOSE 59712 [2024-03-11T17:27:05.305Z] ---> Running in 6aace607eb6f [2024-03-11T17:27:05.305Z] Removing intermediate container 6aace607eb6f [2024-03-11T17:27:05.305Z] ---> 9c51bd988a07 [2024-03-11T17:27:05.305Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2024-03-11T17:27:05.570Z] ---> Running in afd013d0488a [2024-03-11T17:27:05.835Z] Removing intermediate container afd013d0488a [2024-03-11T17:27:05.836Z] ---> 434932f724a0 [2024-03-11T17:27:05.836Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-11T17:27:05.836Z] ---> Running in 76010183c2fa [2024-03-11T17:27:06.102Z] Removing intermediate container 76010183c2fa [2024-03-11T17:27:06.102Z] ---> 686c09bf2028 [2024-03-11T17:27:06.102Z] Step 25/27 : LABEL arch=arm64 [2024-03-11T17:27:06.367Z] ---> Running in 0c7ea8a6253a [2024-03-11T17:27:06.634Z] Removing intermediate container 0c7ea8a6253a [2024-03-11T17:27:06.634Z] ---> 50395669c29f [2024-03-11T17:27:06.634Z] Step 26/27 : LABEL git_sha=52c78a47f2f46016c87edc8f3e64a05d5d2862ab [2024-03-11T17:27:06.634Z] ---> Running in d33322c76836 [2024-03-11T17:27:06.901Z] Removing intermediate container d33322c76836 [2024-03-11T17:27:06.901Z] ---> 2de4aef7b11f [2024-03-11T17:27:06.901Z] Step 27/27 : LABEL version=0.0.0 [2024-03-11T17:27:06.901Z] ---> Running in 6d82ffd7a7d1 [2024-03-11T17:27:07.166Z] Removing intermediate container 6d82ffd7a7d1 [2024-03-11T17:27:07.166Z] ---> f200b71e1b0f [2024-03-11T17:27:07.166Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-11T17:27:07.166Z] Successfully built f200b71e1b0f [2024-03-11T17:27:07.166Z] 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 [2024-03-11T17:27:08.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-11T17:27:08.517Z] [2024-03-11T17:27:08.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:27:08.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-11T17:27:08.964Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-11T17:27:08.964Z] 8998bd30e6a1: Pulling fs layer [2024-03-11T17:27:08.964Z] 04944245beec: Pulling fs layer [2024-03-11T17:27:08.964Z] 699f458cf7ca: Pulling fs layer [2024-03-11T17:27:08.964Z] 765212b225bb: Pulling fs layer [2024-03-11T17:27:08.964Z] f23df028b6ca: Pulling fs layer [2024-03-11T17:27:08.964Z] d65c8cfc05b1: Pulling fs layer [2024-03-11T17:27:08.964Z] 2437ff75d9bd: Pulling fs layer [2024-03-11T17:27:08.964Z] 765212b225bb: Waiting [2024-03-11T17:27:08.965Z] f23df028b6ca: Waiting [2024-03-11T17:27:08.965Z] d65c8cfc05b1: Waiting [2024-03-11T17:27:08.965Z] 2437ff75d9bd: Waiting [2024-03-11T17:27:09.228Z] 04944245beec: Verifying Checksum [2024-03-11T17:27:09.228Z] 04944245beec: Download complete [2024-03-11T17:27:09.228Z] 765212b225bb: Verifying Checksum [2024-03-11T17:27:09.228Z] 765212b225bb: Download complete [2024-03-11T17:27:09.228Z] f23df028b6ca: Verifying Checksum [2024-03-11T17:27:09.228Z] f23df028b6ca: Download complete [2024-03-11T17:27:09.228Z] d65c8cfc05b1: Verifying Checksum [2024-03-11T17:27:09.228Z] d65c8cfc05b1: Download complete [2024-03-11T17:27:09.492Z] 699f458cf7ca: Verifying Checksum [2024-03-11T17:27:09.492Z] 699f458cf7ca: Download complete [2024-03-11T17:27:09.755Z] 8998bd30e6a1: Download complete [2024-03-11T17:27:12.322Z] 2437ff75d9bd: Verifying Checksum [2024-03-11T17:27:12.322Z] 2437ff75d9bd: Download complete [2024-03-11T17:27:14.257Z] 8998bd30e6a1: Pull complete [2024-03-11T17:27:14.839Z] 04944245beec: Pull complete [2024-03-11T17:27:16.244Z] 699f458cf7ca: Pull complete [2024-03-11T17:27:16.511Z] 765212b225bb: Pull complete [2024-03-11T17:27:17.470Z] f23df028b6ca: Pull complete [2024-03-11T17:27:17.739Z] d65c8cfc05b1: Pull complete [2024-03-11T17:27:35.951Z] 2437ff75d9bd: Pull complete [2024-03-11T17:27:35.951Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-11T17:27:35.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-11T17:27:35.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T17:27:36.483Z] prd-ubuntu20.04-docker-arm64-4c-16g-5462 does not seem to be running inside a container [2024-03-11T17:27:36.552Z] $ 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 [2024-03-11T17:27:39.253Z] $ docker top 5d0da480a0ff922378fc9aa8784f501078f7fef9ad6c5b010562fdc555723eb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:27:39.913Z] ---> job-cost.sh [2024-03-11T17:27:40.180Z] lf-activate-venv: SKIPPING [2024-03-11T17:27:40.180Z] INFO: No Stack... [2024-03-11T17:27:40.760Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-11T17:27:41.339Z] INFO: Archiving Costs [Pipeline] sh [2024-03-11T17:27:41.994Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [2024-03-11T17:27:41.994Z] + cut -d, -f6 [Pipeline] lock [2024-03-11T17:27:42.043Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-131-1-stack-cost] [2024-03-11T17:27:42.049Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-131-1-stack-cost] did not exist. Created. [2024-03-11T17:27:42.054Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-131-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-11T17:27:42.559Z] /w/workspace/app-record-replay/1@tmp/durable-0a6137ee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-11T17:27:42.907Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-11T17:27:42.943Z] Warning: overwriting stash ‘stack-cost’ [2024-03-11T17:27:43.001Z] Stashed 1 file(s) [Pipeline] } [2024-03-11T17:27:43.033Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-131-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-11T17:27:43.209Z] $ docker stop --time=1 5d0da480a0ff922378fc9aa8784f501078f7fef9ad6c5b010562fdc555723eb0 [2024-03-11T17:27:44.729Z] $ docker rm -f --volumes 5d0da480a0ff922378fc9aa8784f501078f7fef9ad6c5b010562fdc555723eb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-03-11T17:27:46.780Z] provisioning config files... [2024-03-11T17:27:46.788Z] copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-131@tmp/config357987317674310839tmp [Pipeline] { [Pipeline] sh [2024-03-11T17:27:47.232Z] + set +x [2024-03-11T17:27:47.232Z] + curl -s https://codecov.io/bash [2024-03-11T17:27:47.232Z] + bash -s -- [2024-03-11T17:27:47.232Z] [2024-03-11T17:27:47.232Z] _____ _ [2024-03-11T17:27:47.232Z] / ____| | | [2024-03-11T17:27:47.232Z] | | ___ __| | ___ ___ _____ __ [2024-03-11T17:27:47.232Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-11T17:27:47.232Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-11T17:27:47.232Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-11T17:27:47.232Z] Bash-1.0.6 [2024-03-11T17:27:47.232Z] [2024-03-11T17:27:47.232Z] [2024-03-11T17:27:47.232Z] ==> git version 2.25.1 found [2024-03-11T17:27:47.232Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-03-11T17:27:47.232Z] Release-Date: 2020-01-08 [2024-03-11T17:27:47.232Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-11T17:27:47.232Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-11T17:27:47.232Z] ==> Jenkins CI detected. [2024-03-11T17:27:47.232Z] current dir:  /w/workspace/foundry_app-record-replay_PR-131 [2024-03-11T17:27:47.232Z] project root: . [2024-03-11T17:27:47.232Z] --> token set from env [2024-03-11T17:27:47.232Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-11T17:27:47.232Z] ==> Running gcov in . (disable via -X gcov) [2024-03-11T17:27:47.232Z] ==> Python coveragepy not found [2024-03-11T17:27:47.232Z] ==> Searching for coverage reports in: [2024-03-11T17:27:47.232Z] + . [2024-03-11T17:27:47.232Z] -> Found 1 reports [2024-03-11T17:27:47.232Z] ==> Detecting git/mercurial file structure [2024-03-11T17:27:47.492Z] ==> Reading reports [2024-03-11T17:27:47.492Z] + ./coverage.out bytes=24666 [2024-03-11T17:27:47.492Z] ==> Appending adjustments [2024-03-11T17:27:47.492Z] https://docs.codecov.io/docs/fixing-reports [2024-03-11T17:27:47.492Z] + Found adjustments [2024-03-11T17:27:47.492Z] ==> Gzipping contents [2024-03-11T17:27:47.492Z] 8.0K /tmp/codecov.opdo1P.gz [2024-03-11T17:27:47.492Z] ==> Uploading reports [2024-03-11T17:27:47.492Z] url: https://codecov.io [2024-03-11T17:27:47.492Z] query: branch=PR-131&commit=52c78a47f2f46016c87edc8f3e64a05d5d2862ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=131&job=&cmd_args= [2024-03-11T17:27:47.492Z] -> Pinging Codecov [2024-03-11T17:27:47.492Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-131&commit=52c78a47f2f46016c87edc8f3e64a05d5d2862ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-131%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=131&job=&cmd_args= [2024-03-11T17:27:47.753Z] -> Uploading to [2024-03-11T17:27:47.753Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-11/F467761B9912B4F32F9BC62907045C81/52c78a47f2f46016c87edc8f3e64a05d5d2862ab/980beb8c-e05e-4171-bda1-6bfbe3f74462.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240311T172747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a572735531c1d4b2bba076cfdb77fdebb5211305397c7ef01882c5657b91fff9 [2024-03-11T17:27:47.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-11T17:27:47.753Z] Dload Upload Total Spent Left Speed [2024-03-11T17:27:48.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4850 0 0 100 4850 0 23891 --:--:-- --:--:-- --:--:-- 23774 100 4850 0 0 100 4850 0 17830 --:--:-- --:--:-- --:--:-- 17765 [2024-03-11T17:27:48.013Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/52c78a47f2f46016c87edc8f3e64a05d5d2862ab [Pipeline] } [2024-03-11T17:27:48.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-11T17:27:51.529Z] + [ -d /w/workspace/foundry_app-record-replay_PR-131/archives ] [2024-03-11T17:27:51.530Z] + ls -al /w/workspace/foundry_app-record-replay_PR-131/archives [2024-03-11T17:27:51.530Z] total 16 [2024-03-11T17:27:51.530Z] drwxr-xr-x 3 root root 4096 Mar 11 17:15 . [2024-03-11T17:27:51.530Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 17:15 .. [2024-03-11T17:27:51.530Z] drwxr-xr-x 2 root root 4096 Mar 11 17:15 cost [2024-03-11T17:27:51.530Z] -rw-r--r-- 1 root root 89 Mar 11 17:15 cost.csv [2024-03-11T17:27:51.530Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-131/archives [2024-03-11T17:27:51.530Z] + ls -al /w/workspace/foundry_app-record-replay_PR-131/archives [2024-03-11T17:27:51.530Z] total 16 [2024-03-11T17:27:51.530Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 17:15 . [2024-03-11T17:27:51.530Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 17:15 .. [2024-03-11T17:27:51.530Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 17:15 cost [2024-03-11T17:27:51.530Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 11 17:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:27:51.862Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:27:52.761Z] ---> package-listing.sh [2024-03-11T17:27:52.761Z] ++ facter osfamily [2024-03-11T17:27:52.761Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-11T17:27:53.021Z] + OS_FAMILY=debian [2024-03-11T17:27:53.021Z] + workspace=/w/workspace/foundry_app-record-replay_PR-131 [2024-03-11T17:27:53.021Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-11T17:27:53.021Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-11T17:27:53.021Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-11T17:27:53.021Z] + PACKAGES=/tmp/packages_start.txt [2024-03-11T17:27:53.021Z] + '[' /w/workspace/foundry_app-record-replay_PR-131 ']' [2024-03-11T17:27:53.021Z] + PACKAGES=/tmp/packages_end.txt [2024-03-11T17:27:53.021Z] + case "${OS_FAMILY}" in [2024-03-11T17:27:53.021Z] + dpkg -l [2024-03-11T17:27:53.021Z] + grep '^ii' [2024-03-11T17:27:53.021Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-11T17:27:53.021Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-11T17:27:53.021Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-11T17:27:53.021Z] + '[' /w/workspace/foundry_app-record-replay_PR-131 ']' [2024-03-11T17:27:53.021Z] + mkdir -p /w/workspace/foundry_app-record-replay_PR-131/archives/ [2024-03-11T17:27:53.021Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-131/archives/ [Pipeline] echo [2024-03-11T17:27:53.061Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_app-record-replay_PR-131/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-11T17:27:53.356Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T17:27:54.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T17:27:54.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T17:27:54.304Z] prd-ubuntu20.04-docker-8c-8g-5461 does not seem to be running inside a container [2024-03-11T17:27:54.332Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_app-record-replay_PR-131/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_app-record-replay_PR-131 -v /w/workspace/foundry_app-record-replay_PR-131:/w/workspace/foundry_app-record-replay_PR-131:rw,z -v /w/workspace/foundry_app-record-replay_PR-131@tmp:/w/workspace/foundry_app-record-replay_PR-131@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-11T17:27:54.522Z] $ docker top 21966a641356e3066b89d7518012d5028c7f4cda23d6e8a20d411fa8c59b703d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T17:27:55.025Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-11T17:27:55.338Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-11T17:27:55.648Z] + ls /var/log/sa-host [2024-03-11T17:27:55.649Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-11T17:27:55.895Z] provisioning config files... [2024-03-11T17:27:55.909Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-131@tmp/config8139380845589569523tmp [Pipeline] { [Pipeline] echo [2024-03-11T17:27:56.061Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:27:56.373Z] ---> create-netrc.sh [Pipeline] } [2024-03-11T17:27:56.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:27:56.924Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-11T17:27:56.956Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:27:57.273Z] ---> sudo-logs.sh [2024-03-11T17:27:57.273Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-11T17:27:57.414Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:27:57.731Z] ---> job-cost.sh [2024-03-11T17:27:57.731Z] lf-activate-venv: SKIPPING [2024-03-11T17:27:57.731Z] DEBUG: total: 0.2199999988079071 [2024-03-11T17:27:57.731Z] INFO: Retrieving Stack Cost... [2024-03-11T17:27:57.990Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-11T17:27:58.559Z] INFO: Archiving Costs [Pipeline] echo [2024-03-11T17:27:58.592Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T17:27:58.901Z] ---> logs-deploy.sh [2024-03-11T17:27:58.901Z] lf-activate-venv: SKIPPING [2024-03-11T17:27:58.901Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-131/1 [2024-03-11T17:27:58.901Z] INFO: archiving workspace using pattern(s): [2024-03-11T17:27:59.838Z] Archives upload complete. [2024-03-11T17:27:59.838Z] INFO: archiving logs to Nexus