Pull request #109 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 ccf6d47c1721ddfd84bc3b576d63207132cbae1c+8c2c99c7fdf3e1e1347488c6fa267e75b198ea32 (47e64485cd9477b7f333d801034eb42305c05777) 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-ssh1521378311319444744.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-ssh16679775656871244737.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-109/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-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15349050369967426987.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-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15879347696171942185.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-ssh14795674173760145281.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-109/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-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh425054308672428631.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1679 in /w/workspace/foundry_app-record-replay_PR-109 [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-109 # 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/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8c2c99c7fdf3e1e1347488c6fa267e75b198ea32 into PR head commit ccf6d47c1721ddfd84bc3b576d63207132cbae1c Merge succeeded, producing ccf6d47c1721ddfd84bc3b576d63207132cbae1c Checking out Revision ccf6d47c1721ddfd84bc3b576d63207132cbae1c (PR-109) > git config core.sparsecheckout # timeout=10 > git checkout -f ccf6d47c1721ddfd84bc3b576d63207132cbae1c # 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 8c2c99c7fdf3e1e1347488c6fa267e75b198ea32 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccf6d47c1721ddfd84bc3b576d63207132cbae1c # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods" 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 [2023-11-28T18:50:34.740Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T18:50:34.962Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T18:50:35.084Z] ========================================================= [2023-11-28T18:50:35.084Z] EdgeX Global Pipelines Version Info [2023-11-28T18:50:35.084Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:50:35.834Z] ------------------- [2023-11-28T18:50:35.835Z] stable info: [2023-11-28T18:50:35.835Z] ------------------- [2023-11-28T18:50:35.835Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T18:50:35.835Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:50:35.835Z] Message: update stable to v1.0.258 [2023-11-28T18:50:36.776Z] ------------------- [2023-11-28T18:50:36.776Z] experimental info: [2023-11-28T18:50:36.776Z] ------------------- [2023-11-28T18:50:36.776Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T18:50:36.776Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:50:36.776Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T18:50:37.010Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-11-28T18:50:37.070Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-11-28T18:50:37.131Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T18:50:37.197Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T18:50:37.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T18:50:37.319Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T18:50:37.384Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T18:50:37.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T18:50:37.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T18:50:37.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T18:50:37.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T18:50:37.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-11-28T18:50:37.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T18:50:37.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T18:50:37.953Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:50:38.019Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:50:38.086Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:50:38.158Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:50:38.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T18:50:38.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T18:50:38.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T18:50:38.444Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T18:50:38.520Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T18:50:38.588Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T18:50:38.659Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T18:50:38.739Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T18:50:38.822Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T18:50:38.898Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-109 [Pipeline] echo [2023-11-28T18:50:38.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-109 [Pipeline] echo [2023-11-28T18:50:39.045Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-109 [Pipeline] echo [2023-11-28T18:50:39.161Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccf6d47c1721ddfd84bc3b576d63207132cbae1c [Pipeline] echo [2023-11-28T18:50:39.243Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccf6d47 [Pipeline] echo [2023-11-28T18:50:39.328Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:50:39.524Z] provisioning config files... [2023-11-28T18:50:39.539Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-109@tmp/config12659845376386920337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:50:39.949Z] ---> ****-login.sh [2023-11-28T18:50:39.949Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:50:40.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:50:40.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:50:40.211Z] Configure a credential helper to remove this warning. See [2023-11-28T18:50:40.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:50:40.211Z] [2023-11-28T18:50:40.211Z] Login Succeeded [2023-11-28T18:50:40.211Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:50:40.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:50:40.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:50:40.473Z] Configure a credential helper to remove this warning. See [2023-11-28T18:50:40.473Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:50:40.473Z] [2023-11-28T18:50:40.473Z] Login Succeeded [2023-11-28T18:50:40.473Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:50:40.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:50:40.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:50:40.473Z] Configure a credential helper to remove this warning. See [2023-11-28T18:50:40.473Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:50:40.473Z] [2023-11-28T18:50:40.473Z] Login Succeeded [2023-11-28T18:50:40.473Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:50:40.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:50:40.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:50:40.736Z] Configure a credential helper to remove this warning. See [2023-11-28T18:50:40.736Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:50:40.736Z] [2023-11-28T18:50:40.736Z] Login Succeeded [2023-11-28T18:50:40.736Z] ****.io [2023-11-28T18:50:40.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:50:40.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:50:40.997Z] Configure a credential helper to remove this warning. See [2023-11-28T18:50:40.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:50:40.998Z] [2023-11-28T18:50:40.998Z] Login Succeeded [2023-11-28T18:50:40.998Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:50:41.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T18:50:41.853Z] + git rev-list -1 --merges ccf6d47c1721ddfd84bc3b576d63207132cbae1c~1..ccf6d47c1721ddfd84bc3b576d63207132cbae1c [Pipeline] echo [2023-11-28T18:50:41.892Z] -----------> git rev-list -1 --merges ccf6d47c1721ddfd84bc3b576d63207132cbae1c~1..ccf6d47c1721ddfd84bc3b576d63207132cbae1c ccf6d47c1721ddfd84bc3b576d63207132cbae1c [false] [Pipeline] sh [2023-11-28T18:50:42.231Z] + git log --format=format:%s -1 ccf6d47c1721ddfd84bc3b576d63207132cbae1c [Pipeline] echo [2023-11-28T18:50:42.268Z] ========================================================= [2023-11-28T18:50:42.268Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T18:50:42.268Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T18:50:42.776Z] + git log --format=format:%s -1 ccf6d47c1721ddfd84bc3b576d63207132cbae1c [Pipeline] echo [2023-11-28T18:50:42.814Z] [semverPrep] GIT_COMMIT: ccf6d47c1721ddfd84bc3b576d63207132cbae1c, Commit Message: build: Update to latest 3.2.0 dev go-mods [Pipeline] echo [2023-11-28T18:50:42.870Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T18:50:43.287Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T18:50:43.287Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T18:50:43.287Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T18:50:43.287Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T18:50:43.287Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T18:50:43.287Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T18:50:43.287Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:50:43.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:50:43.797Z] [2023-11-28T18:50:43.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:50:44.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:50:44.211Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T18:50:44.211Z] b85a868b505f: Pulling fs layer [2023-11-28T18:50:44.211Z] e2be974225ed: Pulling fs layer [2023-11-28T18:50:44.211Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T18:50:44.211Z] 988bab9f4d93: Pulling fs layer [2023-11-28T18:50:44.211Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T18:50:44.211Z] 988bab9f4d93: Waiting [2023-11-28T18:50:44.211Z] eaf3925da568: Pulling fs layer [2023-11-28T18:50:44.211Z] bab4dde63d76: Pulling fs layer [2023-11-28T18:50:44.211Z] 1469e6f7b9e6: Waiting [2023-11-28T18:50:44.211Z] bab4dde63d76: Waiting [2023-11-28T18:50:44.211Z] bde34c3a00c8: Pulling fs layer [2023-11-28T18:50:44.211Z] b352a97aabf1: Pulling fs layer [2023-11-28T18:50:44.211Z] 4872d77fe225: Pulling fs layer [2023-11-28T18:50:44.211Z] bde34c3a00c8: Waiting [2023-11-28T18:50:44.211Z] b352a97aabf1: Waiting [2023-11-28T18:50:44.211Z] 5851b861e8e6: Pulling fs layer [2023-11-28T18:50:44.211Z] 4872d77fe225: Waiting [2023-11-28T18:50:44.211Z] 5851b861e8e6: Waiting [2023-11-28T18:50:44.211Z] e2be974225ed: Download complete [2023-11-28T18:50:44.211Z] 988bab9f4d93: Download complete [2023-11-28T18:50:44.211Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T18:50:44.211Z] 1469e6f7b9e6: Download complete [2023-11-28T18:50:44.471Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T18:50:44.471Z] 339a4e72a1f5: Download complete [2023-11-28T18:50:44.471Z] eaf3925da568: Verifying Checksum [2023-11-28T18:50:44.471Z] eaf3925da568: Download complete [2023-11-28T18:50:44.471Z] bde34c3a00c8: Download complete [2023-11-28T18:50:44.471Z] b352a97aabf1: Download complete [2023-11-28T18:50:44.471Z] 4872d77fe225: Verifying Checksum [2023-11-28T18:50:44.471Z] 4872d77fe225: Download complete [2023-11-28T18:50:44.471Z] 5851b861e8e6: Verifying Checksum [2023-11-28T18:50:44.471Z] 5851b861e8e6: Download complete [2023-11-28T18:50:44.471Z] b85a868b505f: Verifying Checksum [2023-11-28T18:50:44.471Z] b85a868b505f: Download complete [2023-11-28T18:50:44.730Z] bab4dde63d76: Verifying Checksum [2023-11-28T18:50:44.730Z] bab4dde63d76: Download complete [2023-11-28T18:50:45.684Z] b85a868b505f: Pull complete [2023-11-28T18:50:45.971Z] e2be974225ed: Pull complete [2023-11-28T18:50:46.540Z] 339a4e72a1f5: Pull complete [2023-11-28T18:50:46.540Z] 988bab9f4d93: Pull complete [2023-11-28T18:50:46.801Z] 1469e6f7b9e6: Pull complete [2023-11-28T18:50:46.801Z] eaf3925da568: Pull complete [2023-11-28T18:50:48.718Z] bab4dde63d76: Pull complete [2023-11-28T18:50:48.718Z] bde34c3a00c8: Pull complete [2023-11-28T18:50:48.718Z] b352a97aabf1: Pull complete [2023-11-28T18:50:48.982Z] 4872d77fe225: Pull complete [2023-11-28T18:50:48.982Z] 5851b861e8e6: Pull complete [2023-11-28T18:50:48.982Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T18:50:48.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:50:48.982Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:50:49.364Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2023-11-28T18:50:49.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-109 -v /w/workspace/foundry_app-record-replay_PR-109:/w/workspace/foundry_app-record-replay_PR-109:rw,z -v /w/workspace/foundry_app-record-replay_PR-109@tmp:/w/workspace/foundry_app-record-replay_PR-109@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 [2023-11-28T18:50:52.085Z] $ docker top c7f1ab6b802931b16e26a448b8506c94fb6aaad5fb497d619773613bedd1c74a -eo pid,comm [2023-11-28T18:50:52.146Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-28T18:50:52.146Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T18:50:52.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:50:52.362Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:50:52.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:50:52.490Z] $ docker exec c7f1ab6b802931b16e26a448b8506c94fb6aaad5fb497d619773613bedd1c74a ssh-agent [2023-11-28T18:50:52.613Z] SSH_AUTH_SOCK=/tmp/ssh-em8LuWswUR1l/agent.32 [2023-11-28T18:50:52.613Z] SSH_AGENT_PID=38 [2023-11-28T18:50:52.622Z] Running ssh-add (command line suppressed) [2023-11-28T18:50:52.717Z] Identity added: /w/workspace/foundry_app-record-replay_PR-109@tmp/private_key_6735714005721383287.key (/w/workspace/foundry_app-record-replay_PR-109@tmp/private_key_6735714005721383287.key) [2023-11-28T18:50:52.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:50:53.122Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T18:50:53.158Z] $ docker exec --env ******** --env ******** c7f1ab6b802931b16e26a448b8506c94fb6aaad5fb497d619773613bedd1c74a ssh-agent -k [2023-11-28T18:50:53.275Z] unset SSH_AUTH_SOCK; [2023-11-28T18:50:53.276Z] unset SSH_AGENT_PID; [2023-11-28T18:50:53.276Z] echo Agent pid 38 killed; [2023-11-28T18:50:53.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T18:50:53.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:50:53.439Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:50:53.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:50:53.561Z] $ docker exec c7f1ab6b802931b16e26a448b8506c94fb6aaad5fb497d619773613bedd1c74a ssh-agent [2023-11-28T18:50:53.677Z] SSH_AUTH_SOCK=/tmp/ssh-3506KvHDqCrl/agent.70 [2023-11-28T18:50:53.677Z] SSH_AGENT_PID=76 [2023-11-28T18:50:53.682Z] Running ssh-add (command line suppressed) [2023-11-28T18:50:53.785Z] Identity added: /w/workspace/foundry_app-record-replay_PR-109@tmp/private_key_4218742264166090848.key (/w/workspace/foundry_app-record-replay_PR-109@tmp/private_key_4218742264166090848.key) [2023-11-28T18:50:53.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:50:54.177Z] + git semver init [2023-11-28T18:50:54.437Z] 2023-11-28 18:50:54,368 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T18:50:54.437Z] 2023-11-28 18:50:54,369 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-109/.semver [2023-11-28T18:50:54.437Z] 2023-11-28 18:50:54,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-109/.semver [2023-11-28T18:50:54.437Z] 2023-11-28 18:50:54,369 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-109/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-109, universal_newlines=False, shell=None, istream=None) [2023-11-28T18:50:55.822Z] 2023-11-28 18:50:55,385 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-109/.git/info/exclude [2023-11-28T18:50:55.822Z] 2023-11-28 18:50:55,386 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-109/.semver/PR-109 with force:False [2023-11-28T18:50:55.822Z] 2023-11-28 18:50:55,386 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-109/.semver/PR-109 [2023-11-28T18:50:55.822Z] 2023-11-28 18:50:55,388 [execute] INFO git cat-file --batch-check [2023-11-28T18:50:55.822Z] 2023-11-28 18:50:55,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-109/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:50:55.822Z] 2023-11-28 18:50:55,394 [execute] INFO git cat-file --batch [2023-11-28T18:50:55.822Z] 2023-11-28 18:50:55,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-109/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:50:55.822Z] 2023-11-28 18:50:55,401 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-109/.semver/PR-109 [2023-11-28T18:50:55.822Z] 0.0.0 [Pipeline] } [2023-11-28T18:50:55.845Z] $ docker exec --env ******** --env ******** c7f1ab6b802931b16e26a448b8506c94fb6aaad5fb497d619773613bedd1c74a ssh-agent -k [2023-11-28T18:50:55.938Z] unset SSH_AUTH_SOCK; [2023-11-28T18:50:55.938Z] unset SSH_AGENT_PID; [2023-11-28T18:50:55.939Z] echo Agent pid 76 killed; [2023-11-28T18:50:55.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T18:50:56.485Z] + git semver [Pipeline] } [2023-11-28T18:50:56.765Z] $ docker stop --time=1 c7f1ab6b802931b16e26a448b8506c94fb6aaad5fb497d619773613bedd1c74a [2023-11-28T18:50:58.068Z] $ docker rm -f --volumes c7f1ab6b802931b16e26a448b8506c94fb6aaad5fb497d619773613bedd1c74a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:50:58.529Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T18:50:58.862Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T18:50:58.880Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:50:59.837Z] provisioning config files... [2023-11-28T18:50:59.847Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-109@tmp/config10087000445181915182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:51:00.250Z] ---> ****-login.sh [2023-11-28T18:51:00.250Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:51:00.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:51:00.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:51:00.250Z] Configure a credential helper to remove this warning. See [2023-11-28T18:51:00.251Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:51:00.251Z] [2023-11-28T18:51:00.251Z] Login Succeeded [2023-11-28T18:51:00.251Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:51:00.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:51:00.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:51:00.512Z] Configure a credential helper to remove this warning. See [2023-11-28T18:51:00.512Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:51:00.512Z] [2023-11-28T18:51:00.512Z] Login Succeeded [2023-11-28T18:51:00.512Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:51:00.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:51:00.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:51:00.512Z] Configure a credential helper to remove this warning. See [2023-11-28T18:51:00.512Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:51:00.512Z] [2023-11-28T18:51:00.512Z] Login Succeeded [2023-11-28T18:51:00.512Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:51:00.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:51:00.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:51:00.773Z] Configure a credential helper to remove this warning. See [2023-11-28T18:51:00.773Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:51:00.773Z] [2023-11-28T18:51:00.773Z] Login Succeeded [2023-11-28T18:51:00.773Z] ****.io [2023-11-28T18:51:00.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:51:01.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:51:01.034Z] Configure a credential helper to remove this warning. See [2023-11-28T18:51:01.034Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:51:01.034Z] [2023-11-28T18:51:01.034Z] Login Succeeded [2023-11-28T18:51:01.034Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:51:01.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T18:51:01.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:51:01.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:51:01.608Z] ========================================================= [2023-11-28T18:51:01.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T18:51:01.608Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:51:02.203Z] + 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 . [2023-11-28T18:51:02.203Z] Sending build context to Docker daemon 6.687MB [2023-11-28T18:51:02.203Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:51:02.203Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T18:51:02.203Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T18:51:02.203Z] 7264a8db6415: Pulling fs layer [2023-11-28T18:51:02.203Z] c4d48a809fc2: Pulling fs layer [2023-11-28T18:51:02.203Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T18:51:02.203Z] ad3a456e5733: Pulling fs layer [2023-11-28T18:51:02.203Z] 69c7f0334f64: Pulling fs layer [2023-11-28T18:51:02.203Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T18:51:02.203Z] ce7588e14bc9: Pulling fs layer [2023-11-28T18:51:02.203Z] b5e4710f87ac: Pulling fs layer [2023-11-28T18:51:02.203Z] 1f1c1a5573a3: Waiting [2023-11-28T18:51:02.203Z] 69c7f0334f64: Waiting [2023-11-28T18:51:02.203Z] ce7588e14bc9: Waiting [2023-11-28T18:51:02.203Z] ad3a456e5733: Waiting [2023-11-28T18:51:02.203Z] c4d48a809fc2: Verifying Checksum [2023-11-28T18:51:02.203Z] c4d48a809fc2: Download complete [2023-11-28T18:51:02.203Z] ad3a456e5733: Verifying Checksum [2023-11-28T18:51:02.203Z] ad3a456e5733: Download complete [2023-11-28T18:51:02.468Z] 69c7f0334f64: Verifying Checksum [2023-11-28T18:51:02.468Z] 69c7f0334f64: Download complete [2023-11-28T18:51:02.468Z] 7264a8db6415: Download complete [2023-11-28T18:51:02.468Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T18:51:02.468Z] 1f1c1a5573a3: Download complete [2023-11-28T18:51:02.468Z] 7264a8db6415: Pull complete [2023-11-28T18:51:02.728Z] b5e4710f87ac: Download complete [2023-11-28T18:51:02.728Z] c4d48a809fc2: Pull complete [2023-11-28T18:51:02.987Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T18:51:02.987Z] 4f1c88b9dad5: Download complete [2023-11-28T18:51:03.247Z] ce7588e14bc9: Verifying Checksum [2023-11-28T18:51:03.247Z] ce7588e14bc9: Download complete [2023-11-28T18:51:06.538Z] 4f1c88b9dad5: Pull complete [2023-11-28T18:51:06.538Z] ad3a456e5733: Pull complete [2023-11-28T18:51:06.538Z] 69c7f0334f64: Pull complete [2023-11-28T18:51:06.538Z] 1f1c1a5573a3: Pull complete [2023-11-28T18:51:08.441Z] ce7588e14bc9: Pull complete [2023-11-28T18:51:09.008Z] b5e4710f87ac: Pull complete [2023-11-28T18:51:09.008Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T18:51:09.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T18:51:09.008Z] ---> 88b5674ff536 [2023-11-28T18:51:09.008Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-11-28T18:51:13.216Z] ---> Running in 91fa3044b80c [2023-11-28T18:51:13.216Z] Removing intermediate container 91fa3044b80c [2023-11-28T18:51:13.216Z] ---> c891fe68ce91 [2023-11-28T18:51:13.216Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:51:13.216Z] ---> Running in 03db1210549c [2023-11-28T18:51:13.216Z] Removing intermediate container 03db1210549c [2023-11-28T18:51:13.216Z] ---> e158270efbbb [2023-11-28T18:51:13.216Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:51:13.216Z] ---> Running in 1b15f436c0df [2023-11-28T18:51:13.475Z] Removing intermediate container 1b15f436c0df [2023-11-28T18:51:13.475Z] ---> 183d68d794f7 [2023-11-28T18:51:13.475Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:51:13.475Z] ---> Running in 03067f6c6255 [2023-11-28T18:51:13.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:51:13.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:51:14.256Z] OK: 264 MiB in 52 packages [2023-11-28T18:51:14.516Z] Removing intermediate container 03067f6c6255 [2023-11-28T18:51:14.516Z] ---> ae09f266995f [2023-11-28T18:51:14.516Z] Step 7/12 : WORKDIR /app [2023-11-28T18:51:14.516Z] ---> Running in 79168bbec84b [2023-11-28T18:51:14.516Z] Removing intermediate container 79168bbec84b [2023-11-28T18:51:14.516Z] ---> a2893d599c7e [2023-11-28T18:51:14.516Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-28T18:51:14.570Z] Still waiting to schedule task [2023-11-28T18:51:14.570Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T18:51:14.775Z] ---> 971d9a672e94 [2023-11-28T18:51:14.775Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:51:14.775Z] ---> Running in ccfce20a4649 [2023-11-28T18:51:53.540Z] Removing intermediate container ccfce20a4649 [2023-11-28T18:51:53.540Z] ---> 22d5bc5c8b7b [2023-11-28T18:51:53.540Z] Step 10/12 : COPY . . [2023-11-28T18:51:53.540Z] ---> 2020774c283d [2023-11-28T18:51:53.540Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:51:53.540Z] ---> Running in 37459c7bc002 [2023-11-28T18:51:53.540Z] Removing intermediate container 37459c7bc002 [2023-11-28T18:51:53.540Z] ---> 0ba7173b3266 [2023-11-28T18:51:53.540Z] Step 12/12 : RUN $MAKE [2023-11-28T18:51:53.540Z] ---> Running in ffc1f6ada560 [2023-11-28T18:51:53.540Z] noop [2023-11-28T18:51:53.540Z] Removing intermediate container ffc1f6ada560 [2023-11-28T18:51:53.540Z] ---> e6b462612940 [2023-11-28T18:51:53.540Z] Successfully built e6b462612940 [2023-11-28T18:51:53.540Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:51:54.092Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:51:54.092Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:51:54.321Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2023-11-28T18:51:54.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-109 -v /w/workspace/foundry_app-record-replay_PR-109:/w/workspace/foundry_app-record-replay_PR-109:rw,z -v /w/workspace/foundry_app-record-replay_PR-109@tmp:/w/workspace/foundry_app-record-replay_PR-109@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 [2023-11-28T18:51:54.758Z] $ docker top 62364e5268015ac0fcba870ed39f09b8d7e1e2218f4d9301548dad83bbf6489a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:51:55.201Z] + go version [2023-11-28T18:51:55.201Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T18:51:55.246Z] $ docker stop --time=1 62364e5268015ac0fcba870ed39f09b8d7e1e2218f4d9301548dad83bbf6489a [2023-11-28T18:51:56.522Z] $ docker rm -f --volumes 62364e5268015ac0fcba870ed39f09b8d7e1e2218f4d9301548dad83bbf6489a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:51:57.534Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:51:57.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:51:57.752Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2023-11-28T18:51:57.787Z] $ 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-109 -v /w/workspace/foundry_app-record-replay_PR-109:/w/workspace/foundry_app-record-replay_PR-109:rw,z -v /w/workspace/foundry_app-record-replay_PR-109@tmp:/w/workspace/foundry_app-record-replay_PR-109@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 [2023-11-28T18:51:58.117Z] $ docker top 60c247b9e8b47e4673408514066af92a787b41787669383f4e233419530b650c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:51:58.560Z] + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-109 [Pipeline] fileExists [Pipeline] sh [2023-11-28T18:51:58.956Z] + make test [2023-11-28T18:51:58.956Z] go test -race -coverprofile=coverage.out ./... [2023-11-28T18:52:17.049Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-11-28T18:52:17.308Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-11-28T18:52:17.308Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-11-28T18:52:17.308Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-11-28T18:52:18.247Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.041s coverage: 88.0% of statements [2023-11-28T18:52:28.239Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.616s coverage: 98.7% of statements [2023-11-28T18:52:28.239Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.093s coverage: 89.7% of statements [2023-11-28T18:52:28.239Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.041s coverage: 100.0% of statements [2023-11-28T18:52:46.312Z] go vet ./... [2023-11-28T18:52:47.687Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T18:52:47.687Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T18:52:47.687Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T18:52:47.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T18:52:48.049Z] $ docker stop --time=1 60c247b9e8b47e4673408514066af92a787b41787669383f4e233419530b650c [2023-11-28T18:52:52.022Z] $ docker rm -f --volumes 60c247b9e8b47e4673408514066af92a787b41787669383f4e233419530b650c [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:52:52.687Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T18:52:52.765Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T18:52:53.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T18:52:53.982Z] + ls -al . [2023-11-28T18:52:53.982Z] total 192 [2023-11-28T18:52:53.982Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 18:51 . [2023-11-28T18:52:53.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:50 .. [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 119 Nov 28 18:50 .dockerignore [2023-11-28T18:52:53.982Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:52 .git [2023-11-28T18:52:53.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:50 .github [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 164 Nov 28 18:50 .gitignore [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 18:50 .golangci.yml [2023-11-28T18:52:53.982Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:50 .semver [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 11301 Nov 28 18:50 Attribution.txt [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 458 Nov 28 18:50 CHANGELOG.md [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 1725 Nov 28 18:50 Dockerfile [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 18:50 GOVERNANCE.md [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 681 Nov 28 18:50 Jenkinsfile [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 28 18:50 LICENSE [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 3136 Nov 28 18:50 Makefile [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 611 Nov 28 18:50 OWNERS.md [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 4107 Nov 28 18:50 README.md [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 7789 Nov 28 18:50 Record and Reply.postman_collection.json [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:50 VERSION [2023-11-28T18:52:53.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:50 bin [2023-11-28T18:52:53.982Z] -rw-r--r-- 1 jenkins jenkins 24667 Nov 28 18:52 coverage.out [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 3901 Nov 28 18:50 go.mod [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 34881 Nov 28 18:50 go.sum [2023-11-28T18:52:53.982Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 28 18:50 internal [2023-11-28T18:52:53.982Z] -rw-rw-r-- 1 jenkins jenkins 913 Nov 28 18:50 main.go [2023-11-28T18:52:53.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:50 openapi [2023-11-28T18:52:53.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:50 pkg [2023-11-28T18:52:53.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:50 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:52:54.478Z] + 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=ccf6d47c1721ddfd84bc3b576d63207132cbae1c --label arch=amd64 --label version=0.0.0 . [2023-11-28T18:52:54.478Z] Sending build context to Docker daemon 6.712MB [2023-11-28T18:52:54.478Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:52:54.478Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-28T18:52:54.478Z] ---> e6b462612940 [2023-11-28T18:52:54.478Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-28T18:52:54.740Z] ---> Running in 3dbce2ae708c [2023-11-28T18:52:54.740Z] Removing intermediate container 3dbce2ae708c [2023-11-28T18:52:54.740Z] ---> a063eff24e91 [2023-11-28T18:52:54.740Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:52:54.740Z] ---> Running in 0cec172fec7b [2023-11-28T18:52:54.740Z] Removing intermediate container 0cec172fec7b [2023-11-28T18:52:54.740Z] ---> 5c23854681b4 [2023-11-28T18:52:54.740Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:52:54.740Z] ---> Running in 3527aebce45e [2023-11-28T18:52:55.006Z] Removing intermediate container 3527aebce45e [2023-11-28T18:52:55.006Z] ---> 36b019980ada [2023-11-28T18:52:55.006Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:52:55.006Z] ---> Running in 01db9cf43709 [2023-11-28T18:52:55.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:52:55.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:52:55.528Z] OK: 264 MiB in 52 packages [2023-11-28T18:52:55.789Z] Removing intermediate container 01db9cf43709 [2023-11-28T18:52:55.789Z] ---> 8f1cad114fb2 [2023-11-28T18:52:55.789Z] Step 7/27 : WORKDIR /app [2023-11-28T18:52:56.049Z] ---> Running in f6f909511c19 [2023-11-28T18:52:56.049Z] Removing intermediate container f6f909511c19 [2023-11-28T18:52:56.049Z] ---> 4f9b28500c64 [2023-11-28T18:52:56.049Z] Step 8/27 : COPY go.mod vendor* ./ [2023-11-28T18:52:56.049Z] ---> 139958e0d1b7 [2023-11-28T18:52:56.049Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:52:56.049Z] ---> Running in df8f7fb6c578 [2023-11-28T18:52:57.026Z] Removing intermediate container df8f7fb6c578 [2023-11-28T18:52:57.026Z] ---> 34397d1bb1a6 [2023-11-28T18:52:57.026Z] Step 10/27 : COPY . . [2023-11-28T18:52:57.286Z] ---> f324724f2d3a [2023-11-28T18:52:57.286Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:52:57.286Z] ---> Running in 2b1d7eb2065d [2023-11-28T18:52:57.286Z] Removing intermediate container 2b1d7eb2065d [2023-11-28T18:52:57.286Z] ---> 89a149bbe09d [2023-11-28T18:52:57.286Z] Step 12/27 : RUN $MAKE [2023-11-28T18:52:57.286Z] ---> Running in fc2978276fa7 [2023-11-28T18:52:57.544Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.1 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-11-28T18:53:19.539Z] Removing intermediate container fc2978276fa7 [2023-11-28T18:53:19.539Z] ---> 2d075fd0d1a8 [2023-11-28T18:53:19.539Z] Step 13/27 : FROM alpine:3.18 [2023-11-28T18:53:19.539Z] 3.18: Pulling from library/alpine [2023-11-28T18:53:19.539Z] 96526aa774ef: Pulling fs layer [2023-11-28T18:53:19.539Z] 96526aa774ef: Verifying Checksum [2023-11-28T18:53:19.539Z] 96526aa774ef: Download complete [2023-11-28T18:53:19.540Z] 96526aa774ef: Pull complete [2023-11-28T18:53:19.540Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T18:53:19.540Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T18:53:19.540Z] ---> 8ca4688f4f35 [2023-11-28T18:53:19.540Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T18:53:19.540Z] ---> Running in 074fe68deb19 [2023-11-28T18:53:19.540Z] Removing intermediate container 074fe68deb19 [2023-11-28T18:53:19.540Z] ---> 862be8821b44 [2023-11-28T18:53:19.540Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2023-11-28T18:53:19.540Z] ---> Running in cd8c555e11e3 [2023-11-28T18:53:19.540Z] Removing intermediate container cd8c555e11e3 [2023-11-28T18:53:19.540Z] ---> a27b9e96634e [2023-11-28T18:53:19.540Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-11-28T18:53:19.540Z] ---> Running in 95dfd3924e17 [2023-11-28T18:53:19.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:53:19.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:53:19.540Z] (1/2) Installing ca-certificates (20230506-r0) [2023-11-28T18:53:19.540Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-11-28T18:53:19.540Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T18:53:19.540Z] Executing ca-certificates-20230506-r0.trigger [2023-11-28T18:53:19.540Z] OK: 8 MiB in 17 packages [2023-11-28T18:53:19.540Z] Removing intermediate container 95dfd3924e17 [2023-11-28T18:53:19.540Z] ---> a259f004ebd0 [2023-11-28T18:53:19.540Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-28T18:53:19.540Z] ---> Running in b3bc27d5b56a [2023-11-28T18:53:19.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:53:19.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:53:19.540Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:53:19.540Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:53:19.540Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T18:53:19.540Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:53:19.540Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:53:19.540Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:53:19.540Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:53:19.540Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:53:19.540Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:53:19.540Z] Executing ca-certificates-20230506-r0.trigger [2023-11-28T18:53:19.540Z] OK: 8 MiB in 17 packages [2023-11-28T18:53:20.107Z] Removing intermediate container b3bc27d5b56a [2023-11-28T18:53:20.107Z] ---> 249734382143 [2023-11-28T18:53:20.107Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-11-28T18:53:20.107Z] ---> cc0a7c6ee156 [2023-11-28T18:53:20.107Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2023-11-28T18:53:20.366Z] ---> be22c0209c5b [2023-11-28T18:53:20.366Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2023-11-28T18:53:20.366Z] ---> e604fa71df32 [2023-11-28T18:53:20.366Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-11-28T18:53:21.303Z] ---> 3fd99ac4f329 [2023-11-28T18:53:21.303Z] Step 22/27 : EXPOSE 59712 [2023-11-28T18:53:21.303Z] ---> Running in bd626437f0c6 [2023-11-28T18:53:21.564Z] Removing intermediate container bd626437f0c6 [2023-11-28T18:53:21.564Z] ---> 2f12d31d5c60 [2023-11-28T18:53:21.564Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2023-11-28T18:53:21.564Z] ---> Running in a318aa0aafba [2023-11-28T18:53:21.564Z] Removing intermediate container a318aa0aafba [2023-11-28T18:53:21.564Z] ---> 46fa66f65351 [2023-11-28T18:53:21.564Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T18:53:21.564Z] ---> Running in 621ccd58dece [2023-11-28T18:53:21.564Z] Removing intermediate container 621ccd58dece [2023-11-28T18:53:21.564Z] ---> 73f532cf054d [2023-11-28T18:53:21.564Z] Step 25/27 : LABEL arch=amd64 [2023-11-28T18:53:21.564Z] ---> Running in ae5fd521a794 [2023-11-28T18:53:21.823Z] Removing intermediate container ae5fd521a794 [2023-11-28T18:53:21.823Z] ---> 5f4dc376302e [2023-11-28T18:53:21.823Z] Step 26/27 : LABEL git_sha=ccf6d47c1721ddfd84bc3b576d63207132cbae1c [2023-11-28T18:53:21.823Z] ---> Running in 44ce456642e8 [2023-11-28T18:53:21.823Z] Removing intermediate container 44ce456642e8 [2023-11-28T18:53:21.823Z] ---> 2ff035e3883c [2023-11-28T18:53:21.823Z] Step 27/27 : LABEL version=0.0.0 [2023-11-28T18:53:21.823Z] ---> Running in 2b05473f9b0a [2023-11-28T18:53:21.823Z] Removing intermediate container 2b05473f9b0a [2023-11-28T18:53:21.823Z] ---> ec15b63e05b6 [2023-11-28T18:53:21.823Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T18:53:21.823Z] Successfully built ec15b63e05b6 [2023-11-28T18:53:21.823Z] 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 [2023-11-28T18:53:23.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:53:23.585Z] [2023-11-28T18:53:23.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:53:24.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:53:24.002Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T18:53:24.002Z] 5eb5b503b376: Pulling fs layer [2023-11-28T18:53:24.002Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T18:53:24.002Z] ec43610c2a17: Pulling fs layer [2023-11-28T18:53:24.002Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T18:53:24.002Z] 33b1e0a273af: Pulling fs layer [2023-11-28T18:53:24.002Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T18:53:24.002Z] 2f39f015ded8: Pulling fs layer [2023-11-28T18:53:24.002Z] 33b1e0a273af: Waiting [2023-11-28T18:53:24.002Z] 2f39f015ded8: Waiting [2023-11-28T18:53:24.002Z] 3a2ae6a8a46f: Waiting [2023-11-28T18:53:24.002Z] 5d3b04190fa2: Waiting [2023-11-28T18:53:24.002Z] 5c69ac0246d0: Download complete [2023-11-28T18:53:24.002Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T18:53:24.002Z] 3a2ae6a8a46f: Download complete [2023-11-28T18:53:24.002Z] 33b1e0a273af: Verifying Checksum [2023-11-28T18:53:24.002Z] 33b1e0a273af: Download complete [2023-11-28T18:53:24.002Z] ec43610c2a17: Verifying Checksum [2023-11-28T18:53:24.002Z] ec43610c2a17: Download complete [2023-11-28T18:53:24.002Z] 5d3b04190fa2: Download complete [2023-11-28T18:53:24.262Z] 5eb5b503b376: Verifying Checksum [2023-11-28T18:53:24.262Z] 5eb5b503b376: Download complete [2023-11-28T18:53:24.828Z] 2f39f015ded8: Download complete [2023-11-28T18:53:25.403Z] 5eb5b503b376: Pull complete [2023-11-28T18:53:25.403Z] 5c69ac0246d0: Pull complete [2023-11-28T18:53:25.969Z] ec43610c2a17: Pull complete [2023-11-28T18:53:25.969Z] 3a2ae6a8a46f: Pull complete [2023-11-28T18:53:26.228Z] 33b1e0a273af: Pull complete [2023-11-28T18:53:26.228Z] 5d3b04190fa2: Pull complete [2023-11-28T18:53:30.410Z] 2f39f015ded8: Pull complete [2023-11-28T18:53:30.410Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T18:53:30.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:53:30.410Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:53:30.769Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2023-11-28T18:53:30.802Z] $ 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-109 -v /w/workspace/foundry_app-record-replay_PR-109:/w/workspace/foundry_app-record-replay_PR-109:rw,z -v /w/workspace/foundry_app-record-replay_PR-109@tmp:/w/workspace/foundry_app-record-replay_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T18:53:35.583Z] $ docker top fb2d2753c355e792c2841c67fad69d987350806c325fe296d814b17c5d75c6c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:53:36.099Z] ---> job-cost.sh [2023-11-28T18:53:36.099Z] lf-activate-venv: SKIPPING [2023-11-28T18:53:36.099Z] INFO: No Stack... [2023-11-28T18:53:36.359Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T18:53:36.619Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T18:53:36.931Z] + cat /w/workspace/foundry_app-record-replay_PR-109/archives/cost.csv [2023-11-28T18:53:36.931Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T18:53:36.970Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-109-1-stack-cost] [2023-11-28T18:53:36.976Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-109-1-stack-cost] did not exist. Created. [2023-11-28T18:53:36.976Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T18:53:37.436Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T18:53:37.488Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T18:53:37.557Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-109-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T18:53:37.710Z] $ docker stop --time=1 fb2d2753c355e792c2841c67fad69d987350806c325fe296d814b17c5d75c6c5 [2023-11-28T18:53:38.856Z] $ docker rm -f --volumes fb2d2753c355e792c2841c67fad69d987350806c325fe296d814b17c5d75c6c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T19:37:05.831Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3967 in /w/workspace/foundry_app-record-replay_PR-109 [Pipeline] { [Pipeline] ws [2023-11-28T19:37:05.933Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2023-11-28T19:37:06.055Z] Selected Git installation does not exist. Using Default [2023-11-28T19:37:06.055Z] The recommended git tool is: NONE [2023-11-28T19:37:12.049Z] using credential edgex-jenkins-ssh [2023-11-28T19:37:12.074Z] Cloning the remote Git repository [2023-11-28T19:37:12.129Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-11-28T19:37:12.249Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2023-11-28T19:37:12.446Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-11-28T19:37:12.448Z] > git --version # timeout=10 [2023-11-28T19:37:12.475Z] > git --version # 'git version 2.25.1' [2023-11-28T19:37:12.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:37:12.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:37:14.414Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-11-28T19:37:14.449Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:37:16.178Z] Merging remotes/origin/main commit 8c2c99c7fdf3e1e1347488c6fa267e75b198ea32 into PR head commit ccf6d47c1721ddfd84bc3b576d63207132cbae1c [2023-11-28T19:37:15.485Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-11-28T19:37:15.526Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-11-28T19:37:15.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:37:15.546Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T19:37:16.201Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:37:16.275Z] > git checkout -f ccf6d47c1721ddfd84bc3b576d63207132cbae1c # timeout=10 [2023-11-28T19:37:16.469Z] Merge succeeded, producing ccf6d47c1721ddfd84bc3b576d63207132cbae1c [2023-11-28T19:37:16.469Z] Checking out Revision ccf6d47c1721ddfd84bc3b576d63207132cbae1c (PR-109) [2023-11-28T19:37:16.366Z] > git remote # timeout=10 [2023-11-28T19:37:16.389Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T19:37:16.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:37:16.425Z] > git merge 8c2c99c7fdf3e1e1347488c6fa267e75b198ea32 # timeout=10 [2023-11-28T19:37:16.453Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T19:37:16.478Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:37:16.495Z] > git checkout -f ccf6d47c1721ddfd84bc3b576d63207132cbae1c # timeout=10 [2023-11-28T19:37:20.219Z] Commit message: "build: Update to latest 3.2.0 dev go-mods" [2023-11-28T19:37:20.282Z] > git --version # timeout=10 [2023-11-28T19:37:20.296Z] > git --version # 'git version 2.25.1' [2023-11-28T19:37:20.313Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:37:21.715Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T19:37:21.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:37:21.715Z] Dload Upload Total Spent Left Speed [2023-11-28T19:37:21.715Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 82350 0 --:--:-- --:--:-- --:--:-- 82350 [Pipeline] sh [2023-11-28T19:37:22.068Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T19:37:22.432Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T19:37:22.432Z] + sudo tee /etc/docker/daemon.new [2023-11-28T19:37:22.432Z] { [2023-11-28T19:37:22.432Z] "registry-mirrors": [ [2023-11-28T19:37:22.432Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T19:37:22.432Z] ], [2023-11-28T19:37:22.432Z] "bip": "10.250.0.254/24", [2023-11-28T19:37:22.432Z] "hosts": [ [2023-11-28T19:37:22.432Z] "tcp://0.0.0.0:5555", [2023-11-28T19:37:22.432Z] "unix:///var/run/docker.sock" [2023-11-28T19:37:22.432Z] ], [2023-11-28T19:37:22.432Z] "mtu": 1458, [2023-11-28T19:37:22.432Z] "selinux-enabled": true, [2023-11-28T19:37:22.432Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T19:37:22.432Z] } [Pipeline] sh [2023-11-28T19:37:22.785Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T19:37:23.164Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:37:41.534Z] provisioning config files... [2023-11-28T19:37:41.572Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config2547599462000674374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:37:42.084Z] ---> ****-login.sh [2023-11-28T19:37:42.084Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:37:42.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:42.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:42.627Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:42.627Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:42.627Z] [2023-11-28T19:37:42.627Z] Login Succeeded [2023-11-28T19:37:42.627Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:37:42.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:42.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:42.896Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:42.896Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:42.896Z] [2023-11-28T19:37:42.896Z] Login Succeeded [2023-11-28T19:37:42.896Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:37:43.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:43.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:43.432Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:43.433Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:43.433Z] [2023-11-28T19:37:43.433Z] Login Succeeded [2023-11-28T19:37:43.433Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:37:43.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:43.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:43.701Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:43.701Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:43.701Z] [2023-11-28T19:37:43.701Z] Login Succeeded [2023-11-28T19:37:43.701Z] ****.io [2023-11-28T19:37:43.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:44.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:44.236Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:44.236Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:44.236Z] [2023-11-28T19:37:44.236Z] Login Succeeded [2023-11-28T19:37:44.236Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:37:44.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T19:37:44.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:37:44.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:37:44.966Z] ========================================================= [2023-11-28T19:37:44.966Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T19:37:44.966Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:37:45.670Z] + 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 . [2023-11-28T19:37:45.670Z] Sending build context to Docker daemon 259.1kB [2023-11-28T19:37:45.938Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:37:45.938Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T19:37:45.938Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T19:37:45.938Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T19:37:45.938Z] 5d54e960e981: Pulling fs layer [2023-11-28T19:37:45.938Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T19:37:45.938Z] f0e02332f6b5: Pulling fs layer [2023-11-28T19:37:45.938Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T19:37:45.938Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T19:37:45.938Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T19:37:45.938Z] f0e02332f6b5: Waiting [2023-11-28T19:37:45.938Z] 872ee5b61b7b: Waiting [2023-11-28T19:37:45.938Z] 0c6a40ed1a82: Waiting [2023-11-28T19:37:45.938Z] 94ae7d8d031c: Waiting [2023-11-28T19:37:46.205Z] 5d54e960e981: Verifying Checksum [2023-11-28T19:37:46.205Z] 5d54e960e981: Download complete [2023-11-28T19:37:46.205Z] f0e02332f6b5: Verifying Checksum [2023-11-28T19:37:46.205Z] f0e02332f6b5: Download complete [2023-11-28T19:37:46.205Z] 872ee5b61b7b: Verifying Checksum [2023-11-28T19:37:46.205Z] 872ee5b61b7b: Download complete [2023-11-28T19:37:46.205Z] 9fda8d8052c6: Download complete [2023-11-28T19:37:46.806Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T19:37:46.806Z] 94ae7d8d031c: Download complete [2023-11-28T19:37:47.771Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T19:37:47.771Z] c4a7e357bf2a: Download complete [2023-11-28T19:37:48.737Z] 0c6a40ed1a82: Download complete [2023-11-28T19:37:50.149Z] 9fda8d8052c6: Pull complete [2023-11-28T19:37:50.418Z] 5d54e960e981: Pull complete [2023-11-28T19:38:05.429Z] c4a7e357bf2a: Pull complete [2023-11-28T19:38:05.429Z] f0e02332f6b5: Pull complete [2023-11-28T19:38:05.429Z] 872ee5b61b7b: Pull complete [2023-11-28T19:38:13.686Z] 0c6a40ed1a82: Pull complete [2023-11-28T19:38:15.643Z] 94ae7d8d031c: Pull complete [2023-11-28T19:38:15.643Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T19:38:15.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T19:38:15.643Z] ---> 86de565de09d [2023-11-28T19:38:15.643Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-11-28T19:38:17.592Z] ---> Running in 0541adccfe46 [2023-11-28T19:38:17.861Z] Removing intermediate container 0541adccfe46 [2023-11-28T19:38:17.861Z] ---> a63f99ea9edb [2023-11-28T19:38:17.861Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:38:17.861Z] ---> Running in 29f45c1bff76 [2023-11-28T19:38:18.131Z] Removing intermediate container 29f45c1bff76 [2023-11-28T19:38:18.131Z] ---> 958d3e78622e [2023-11-28T19:38:18.131Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:38:18.482Z] ---> Running in a39f51551771 [2023-11-28T19:38:18.754Z] Removing intermediate container a39f51551771 [2023-11-28T19:38:18.754Z] ---> 061901b5588a [2023-11-28T19:38:18.754Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:38:18.754Z] ---> Running in 0f95b217e81e [2023-11-28T19:38:20.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:38:20.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:38:21.420Z] OK: 266 MiB in 52 packages [2023-11-28T19:38:22.385Z] Removing intermediate container 0f95b217e81e [2023-11-28T19:38:22.385Z] ---> 513e3ba1d2ba [2023-11-28T19:38:22.385Z] Step 7/12 : WORKDIR /app [2023-11-28T19:38:22.385Z] ---> Running in 1ecc024c716b [2023-11-28T19:38:22.971Z] Removing intermediate container 1ecc024c716b [2023-11-28T19:38:22.971Z] ---> 212106eaa9c6 [2023-11-28T19:38:22.971Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-28T19:38:23.560Z] ---> e2771286c99d [2023-11-28T19:38:23.560Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:38:23.560Z] ---> Running in 50df22984f3e [2023-11-28T19:39:45.237Z] Removing intermediate container 50df22984f3e [2023-11-28T19:39:45.237Z] ---> a81fa710d715 [2023-11-28T19:39:45.237Z] Step 10/12 : COPY . . [2023-11-28T19:39:45.237Z] ---> f2a1ce269c52 [2023-11-28T19:39:45.237Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:39:45.237Z] ---> Running in c79076685ee7 [2023-11-28T19:39:45.237Z] Removing intermediate container c79076685ee7 [2023-11-28T19:39:45.237Z] ---> 4c8d39cae00c [2023-11-28T19:39:45.237Z] Step 12/12 : RUN $MAKE [2023-11-28T19:39:45.237Z] ---> Running in bee914fb2b3b [2023-11-28T19:39:45.237Z] noop [2023-11-28T19:39:45.237Z] Removing intermediate container bee914fb2b3b [2023-11-28T19:39:45.237Z] ---> cf094814dff1 [2023-11-28T19:39:45.237Z] Successfully built cf094814dff1 [2023-11-28T19:39:45.237Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:39:46.125Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:39:46.125Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:39:46.501Z] prd-ubuntu20.04-docker-arm64-4c-16g-3967 does not seem to be running inside a container [2023-11-28T19:39:46.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T19:39:47.790Z] $ docker top 26af7ca286889504236c1d500514c246ad18f7ac96bc188aa76471ed43bc7573 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:39:48.761Z] + go version [2023-11-28T19:39:48.761Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T19:39:48.801Z] $ docker stop --time=1 26af7ca286889504236c1d500514c246ad18f7ac96bc188aa76471ed43bc7573 [2023-11-28T19:39:50.426Z] $ docker rm -f --volumes 26af7ca286889504236c1d500514c246ad18f7ac96bc188aa76471ed43bc7573 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:39:51.674Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:39:51.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:39:52.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-3967 does not seem to be running inside a container [2023-11-28T19:39:52.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T19:39:53.408Z] $ docker top edbfb8ae09aae15619a1c66b56d8deca362c23aa0a1de45c88d83df5232e2480 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:39:54.374Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2023-11-28T19:39:55.119Z] + make test [2023-11-28T19:39:55.119Z] go test -race -coverprofile=coverage.out ./... [2023-11-28T19:42:46.866Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-11-28T19:42:46.866Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.511s coverage: 88.0% of statements [2023-11-28T19:42:51.154Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-11-28T19:42:51.154Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-11-28T19:42:52.586Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-11-28T19:43:00.793Z] ok github.com/edgexfoundry/app-record-replay/internal/application 10.323s coverage: 98.7% of statements [2023-11-28T19:43:00.793Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.871s coverage: 89.7% of statements [2023-11-28T19:43:00.793Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.190s coverage: 100.0% of statements [2023-11-28T19:43:01.758Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T19:43:01.758Z] go vet ./... [2023-11-28T19:45:08.451Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T19:45:08.451Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T19:45:08.451Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T19:45:08.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T19:45:08.572Z] $ docker stop --time=1 edbfb8ae09aae15619a1c66b56d8deca362c23aa0a1de45c88d83df5232e2480 [2023-11-28T19:45:10.537Z] $ docker rm -f --volumes edbfb8ae09aae15619a1c66b56d8deca362c23aa0a1de45c88d83df5232e2480 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:45:12.399Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T19:45:12.435Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T19:45:13.003Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:45:13.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T19:45:14.252Z] + ls -al . [2023-11-28T19:45:14.252Z] total 188 [2023-11-28T19:45:14.252Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:40 . [2023-11-28T19:45:14.252Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:37 .. [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 119 Nov 28 19:37 .dockerignore [2023-11-28T19:45:14.252Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:37 .git [2023-11-28T19:45:14.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:37 .github [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 164 Nov 28 19:37 .gitignore [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:37 .golangci.yml [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 11301 Nov 28 19:37 Attribution.txt [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 458 Nov 28 19:37 CHANGELOG.md [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 1725 Nov 28 19:37 Dockerfile [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:37 GOVERNANCE.md [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 681 Nov 28 19:37 Jenkinsfile [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 28 19:37 LICENSE [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 3136 Nov 28 19:37 Makefile [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 611 Nov 28 19:37 OWNERS.md [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 4107 Nov 28 19:37 README.md [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 7789 Nov 28 19:37 Record and Reply.postman_collection.json [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:50 VERSION [2023-11-28T19:45:14.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:37 bin [2023-11-28T19:45:14.252Z] -rw-r--r-- 1 jenkins jenkins 24666 Nov 28 19:43 coverage.out [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 3901 Nov 28 19:37 go.mod [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 34881 Nov 28 19:37 go.sum [2023-11-28T19:45:14.252Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 28 19:37 internal [2023-11-28T19:45:14.252Z] -rw-rw-r-- 1 jenkins jenkins 913 Nov 28 19:37 main.go [2023-11-28T19:45:14.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:37 openapi [2023-11-28T19:45:14.252Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:37 pkg [2023-11-28T19:45:14.252Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:37 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:45:14.829Z] + 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=ccf6d47c1721ddfd84bc3b576d63207132cbae1c --label arch=arm64 --label version=0.0.0 . [2023-11-28T19:45:15.109Z] Sending build context to Docker daemon 284.7kB [2023-11-28T19:45:15.109Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:45:15.109Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-28T19:45:15.109Z] ---> cf094814dff1 [2023-11-28T19:45:15.109Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-28T19:45:15.109Z] ---> Running in 115beed88024 [2023-11-28T19:45:15.390Z] Removing intermediate container 115beed88024 [2023-11-28T19:45:15.390Z] ---> 689baf33f52d [2023-11-28T19:45:15.391Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:45:15.688Z] ---> Running in 4f07d09cb7d3 [2023-11-28T19:45:15.968Z] Removing intermediate container 4f07d09cb7d3 [2023-11-28T19:45:15.968Z] ---> 22ca46f61949 [2023-11-28T19:45:15.968Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:45:15.968Z] ---> Running in 0d2ea6020143 [2023-11-28T19:45:16.253Z] Removing intermediate container 0d2ea6020143 [2023-11-28T19:45:16.253Z] ---> 2c2a3afe63ae [2023-11-28T19:45:16.253Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:45:16.253Z] ---> Running in eaac25cc8881 [2023-11-28T19:45:17.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:45:17.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:45:18.908Z] OK: 266 MiB in 52 packages [2023-11-28T19:45:20.320Z] Removing intermediate container eaac25cc8881 [2023-11-28T19:45:20.320Z] ---> 058431a9cd77 [2023-11-28T19:45:20.320Z] Step 7/27 : WORKDIR /app [2023-11-28T19:45:20.320Z] ---> Running in 34b3d55991c1 [2023-11-28T19:45:20.589Z] Removing intermediate container 34b3d55991c1 [2023-11-28T19:45:20.589Z] ---> c753de2d102b [2023-11-28T19:45:20.589Z] Step 8/27 : COPY go.mod vendor* ./ [2023-11-28T19:45:21.175Z] ---> b24af85680ef [2023-11-28T19:45:21.175Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:45:21.175Z] ---> Running in 288e40986f19 [2023-11-28T19:45:23.766Z] Removing intermediate container 288e40986f19 [2023-11-28T19:45:23.766Z] ---> 425734823bf9 [2023-11-28T19:45:23.766Z] Step 10/27 : COPY . . [2023-11-28T19:45:24.350Z] ---> 03055f1a1e5b [2023-11-28T19:45:24.351Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:45:24.619Z] ---> Running in 468c9b820134 [2023-11-28T19:45:24.887Z] Removing intermediate container 468c9b820134 [2023-11-28T19:45:24.887Z] ---> 5cf2038449df [2023-11-28T19:45:24.887Z] Step 12/27 : RUN $MAKE [2023-11-28T19:45:24.887Z] ---> Running in d19b57f1c970 [2023-11-28T19:45:25.846Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.1 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-11-28T19:47:17.493Z] Removing intermediate container d19b57f1c970 [2023-11-28T19:47:17.493Z] ---> 556f772ed67f [2023-11-28T19:47:17.493Z] Step 13/27 : FROM alpine:3.18 [2023-11-28T19:47:17.493Z] 3.18: Pulling from library/alpine [2023-11-28T19:47:17.764Z] 579b34f0a95b: Pulling fs layer [2023-11-28T19:47:18.031Z] 579b34f0a95b: Verifying Checksum [2023-11-28T19:47:18.031Z] 579b34f0a95b: Download complete [2023-11-28T19:47:18.615Z] 579b34f0a95b: Pull complete [2023-11-28T19:47:18.615Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T19:47:18.615Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T19:47:18.615Z] ---> 3cc203321400 [2023-11-28T19:47:18.615Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T19:47:18.615Z] ---> Running in 973575eadf7a [2023-11-28T19:47:18.881Z] Removing intermediate container 973575eadf7a [2023-11-28T19:47:18.881Z] ---> 244bb89baf2b [2023-11-28T19:47:18.881Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2023-11-28T19:47:19.148Z] ---> Running in c25834f5675f [2023-11-28T19:47:19.417Z] Removing intermediate container c25834f5675f [2023-11-28T19:47:19.417Z] ---> 10a76fad0c32 [2023-11-28T19:47:19.417Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-11-28T19:47:19.417Z] ---> Running in 6705c2099274 [2023-11-28T19:47:20.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:47:20.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:47:22.051Z] (1/2) Installing ca-certificates (20230506-r0) [2023-11-28T19:47:22.051Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-11-28T19:47:22.051Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T19:47:22.051Z] Executing ca-certificates-20230506-r0.trigger [2023-11-28T19:47:22.322Z] OK: 9 MiB in 17 packages [2023-11-28T19:47:23.733Z] Removing intermediate container 6705c2099274 [2023-11-28T19:47:23.733Z] ---> aae24e41953f [2023-11-28T19:47:23.733Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-28T19:47:23.733Z] ---> Running in 63e71dec05fd [2023-11-28T19:47:24.691Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:47:24.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:47:25.916Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:47:26.182Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:47:26.182Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T19:47:26.182Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:47:26.182Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:47:26.182Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:47:26.182Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:47:26.182Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:47:26.448Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:47:26.448Z] Executing ca-certificates-20230506-r0.trigger [2023-11-28T19:47:26.448Z] OK: 9 MiB in 17 packages [2023-11-28T19:47:29.804Z] Removing intermediate container 63e71dec05fd [2023-11-28T19:47:29.804Z] ---> 8d1c39e11544 [2023-11-28T19:47:29.804Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-11-28T19:47:30.070Z] ---> e93f96c8c674 [2023-11-28T19:47:30.070Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2023-11-28T19:47:30.654Z] ---> 9c9a3b670e3e [2023-11-28T19:47:30.654Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2023-11-28T19:47:31.237Z] ---> a9b5a76033e2 [2023-11-28T19:47:31.237Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-11-28T19:47:32.648Z] ---> d366d31aacb8 [2023-11-28T19:47:32.648Z] Step 22/27 : EXPOSE 59712 [2023-11-28T19:47:32.648Z] ---> Running in 515a3ce656c5 [2023-11-28T19:47:32.917Z] Removing intermediate container 515a3ce656c5 [2023-11-28T19:47:32.917Z] ---> 4fd034a8efe6 [2023-11-28T19:47:32.917Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2023-11-28T19:47:33.182Z] ---> Running in ea500a694e13 [2023-11-28T19:47:33.448Z] Removing intermediate container ea500a694e13 [2023-11-28T19:47:33.448Z] ---> be0e256fd8d0 [2023-11-28T19:47:33.448Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T19:47:33.448Z] ---> Running in dc0bd3288559 [2023-11-28T19:47:33.715Z] Removing intermediate container dc0bd3288559 [2023-11-28T19:47:33.715Z] ---> a0253c3f9148 [2023-11-28T19:47:33.715Z] Step 25/27 : LABEL arch=arm64 [2023-11-28T19:47:33.715Z] ---> Running in 9bb5a264f2a2 [2023-11-28T19:47:33.986Z] Removing intermediate container 9bb5a264f2a2 [2023-11-28T19:47:33.986Z] ---> 37b83de43b4e [2023-11-28T19:47:33.986Z] Step 26/27 : LABEL git_sha=ccf6d47c1721ddfd84bc3b576d63207132cbae1c [2023-11-28T19:47:33.986Z] ---> Running in 055a437759fa [2023-11-28T19:47:34.257Z] Removing intermediate container 055a437759fa [2023-11-28T19:47:34.257Z] ---> 4962b6fc5426 [2023-11-28T19:47:34.257Z] Step 27/27 : LABEL version=0.0.0 [2023-11-28T19:47:34.524Z] ---> Running in c86a63513793 [2023-11-28T19:47:34.791Z] Removing intermediate container c86a63513793 [2023-11-28T19:47:34.791Z] ---> c5445918149c [2023-11-28T19:47:34.791Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T19:47:34.791Z] Successfully built c5445918149c [2023-11-28T19:47:34.791Z] Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:47:36.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:47:36.068Z] [2023-11-28T19:47:36.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:47:36.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:47:36.528Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T19:47:36.528Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T19:47:36.528Z] 04944245beec: Pulling fs layer [2023-11-28T19:47:36.528Z] 699f458cf7ca: Pulling fs layer [2023-11-28T19:47:36.528Z] 765212b225bb: Pulling fs layer [2023-11-28T19:47:36.528Z] f23df028b6ca: Pulling fs layer [2023-11-28T19:47:36.528Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T19:47:36.528Z] 765212b225bb: Waiting [2023-11-28T19:47:36.528Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T19:47:36.528Z] f23df028b6ca: Waiting [2023-11-28T19:47:36.528Z] d65c8cfc05b1: Waiting [2023-11-28T19:47:36.796Z] 04944245beec: Verifying Checksum [2023-11-28T19:47:36.796Z] 04944245beec: Download complete [2023-11-28T19:47:36.796Z] 765212b225bb: Verifying Checksum [2023-11-28T19:47:36.796Z] 765212b225bb: Download complete [2023-11-28T19:47:36.796Z] f23df028b6ca: Verifying Checksum [2023-11-28T19:47:36.796Z] f23df028b6ca: Download complete [2023-11-28T19:47:36.796Z] d65c8cfc05b1: Download complete [2023-11-28T19:47:36.796Z] 699f458cf7ca: Download complete [2023-11-28T19:47:37.379Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T19:47:37.379Z] 8998bd30e6a1: Download complete [2023-11-28T19:47:39.962Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T19:47:39.962Z] 2437ff75d9bd: Download complete [2023-11-28T19:47:43.302Z] 8998bd30e6a1: Pull complete [2023-11-28T19:47:43.302Z] 04944245beec: Pull complete [2023-11-28T19:47:44.708Z] 699f458cf7ca: Pull complete [2023-11-28T19:47:44.976Z] 765212b225bb: Pull complete [2023-11-28T19:47:45.934Z] f23df028b6ca: Pull complete [2023-11-28T19:47:45.934Z] d65c8cfc05b1: Pull complete [2023-11-28T19:48:04.138Z] 2437ff75d9bd: Pull complete [2023-11-28T19:48:04.138Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T19:48:04.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:48:04.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:48:04.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-3967 does not seem to be running inside a container [2023-11-28T19:48:04.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-28T19:48:07.710Z] $ docker top f4a72f94d205dad65cde3b08d778a0cb4f4870beac6e16f40182cfa84accd936 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:48:08.707Z] ---> job-cost.sh [2023-11-28T19:48:08.707Z] lf-activate-venv: SKIPPING [2023-11-28T19:48:08.707Z] INFO: No Stack... [2023-11-28T19:48:09.292Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T19:48:09.877Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T19:48:10.540Z] + cut -d, -f6 [2023-11-28T19:48:10.541Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock [2023-11-28T19:48:10.621Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-109-1-stack-cost] [2023-11-28T19:48:10.628Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-109-1-stack-cost] did not exist. Created. [2023-11-28T19:48:10.628Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T19:48:11.448Z] /w/workspace/app-record-replay/1@tmp/durable-076a1816/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T19:48:12.108Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T19:48:12.147Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T19:48:12.201Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T19:48:12.234Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-109-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T19:48:12.406Z] $ docker stop --time=1 f4a72f94d205dad65cde3b08d778a0cb4f4870beac6e16f40182cfa84accd936 [2023-11-28T19:48:13.919Z] $ docker rm -f --volumes f4a72f94d205dad65cde3b08d778a0cb4f4870beac6e16f40182cfa84accd936 [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 [2023-11-28T19:48:15.854Z] provisioning config files... [2023-11-28T19:48:15.862Z] copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-109@tmp/config6820627534833394539tmp [Pipeline] { [Pipeline] sh [2023-11-28T19:48:16.309Z] + set +x [2023-11-28T19:48:16.309Z] + curl+ -s https://codecov.io/bash [2023-11-28T19:48:16.309Z] bash -s -- [2023-11-28T19:48:16.309Z] [2023-11-28T19:48:16.309Z] _____ _ [2023-11-28T19:48:16.309Z] / ____| | | [2023-11-28T19:48:16.309Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T19:48:16.309Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T19:48:16.309Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T19:48:16.309Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T19:48:16.309Z] Bash-1.0.6 [2023-11-28T19:48:16.309Z] [2023-11-28T19:48:16.309Z] [2023-11-28T19:48:16.309Z] ==> git version 2.25.1 found [2023-11-28T19:48:16.309Z] ==> 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 [2023-11-28T19:48:16.309Z] Release-Date: 2020-01-08 [2023-11-28T19:48:16.309Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-28T19:48:16.309Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T19:48:16.309Z] ==> Jenkins CI detected. [2023-11-28T19:48:16.309Z] current dir:  /w/workspace/foundry_app-record-replay_PR-109 [2023-11-28T19:48:16.309Z] project root: . [2023-11-28T19:48:16.309Z] --> token set from env [2023-11-28T19:48:16.309Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T19:48:16.309Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T19:48:16.309Z] ==> Python coveragepy not found [2023-11-28T19:48:16.309Z] ==> Searching for coverage reports in: [2023-11-28T19:48:16.309Z] + . [2023-11-28T19:48:16.309Z] -> Found 1 reports [2023-11-28T19:48:16.309Z] ==> Detecting git/mercurial file structure [2023-11-28T19:48:16.309Z] ==> Reading reports [2023-11-28T19:48:16.309Z] + ./coverage.out bytes=24666 [2023-11-28T19:48:16.309Z] ==> Appending adjustments [2023-11-28T19:48:16.309Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T19:48:16.568Z] + Found adjustments [2023-11-28T19:48:16.568Z] ==> Gzipping contents [2023-11-28T19:48:16.568Z] 8.0K /tmp/codecov.PEEDQb.gz [2023-11-28T19:48:16.568Z] ==> Uploading reports [2023-11-28T19:48:16.568Z] url: https://codecov.io [2023-11-28T19:48:16.568Z] query: branch=PR-109&commit=ccf6d47c1721ddfd84bc3b576d63207132cbae1c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=109&job=&cmd_args= [2023-11-28T19:48:16.568Z] -> Pinging Codecov [2023-11-28T19:48:16.568Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-109&commit=ccf6d47c1721ddfd84bc3b576d63207132cbae1c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=109&job=&cmd_args= [2023-11-28T19:48:16.568Z] -> Uploading to [2023-11-28T19:48:16.568Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/F467761B9912B4F32F9BC62907045C81/ccf6d47c1721ddfd84bc3b576d63207132cbae1c/9eddc293-d577-4f2b-a19f-7a26635e6bed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T194816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e908939e54d0aaa172aff11d819376881e7a13bddd5ce5a9af2375fef93a689c [2023-11-28T19:48:16.568Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:48:16.568Z] Dload Upload Total Spent Left Speed [2023-11-28T19:48:16.826Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4850 0 0 100 4850 0 19477 --:--:-- --:--:-- --:--:-- 19477 [2023-11-28T19:48:16.826Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/ccf6d47c1721ddfd84bc3b576d63207132cbae1c [Pipeline] } [2023-11-28T19:48:16.851Z] 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 [2023-11-28T19:48:19.963Z] + [ -d /w/workspace/foundry_app-record-replay_PR-109/archives ] [2023-11-28T19:48:19.963Z] + ls -al /w/workspace/foundry_app-record-replay_PR-109/archives [2023-11-28T19:48:19.963Z] total 16 [2023-11-28T19:48:19.963Z] drwxr-xr-x 3 root root 4096 Nov 28 18:53 . [2023-11-28T19:48:19.964Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 28 18:53 .. [2023-11-28T19:48:19.964Z] drwxr-xr-x 2 root root 4096 Nov 28 18:53 cost [2023-11-28T19:48:19.964Z] -rw-r--r-- 1 root root 89 Nov 28 18:53 cost.csv [2023-11-28T19:48:19.964Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-109/archives [2023-11-28T19:48:19.964Z] + ls -al /w/workspace/foundry_app-record-replay_PR-109/archives [2023-11-28T19:48:19.964Z] total 16 [2023-11-28T19:48:19.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:53 . [2023-11-28T19:48:19.964Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 28 18:53 .. [2023-11-28T19:48:19.964Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 18:53 cost [2023-11-28T19:48:19.964Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 28 18:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:48:20.282Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:48:21.167Z] ---> package-listing.sh [2023-11-28T19:48:21.167Z] ++ facter osfamily [2023-11-28T19:48:21.167Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T19:48:21.427Z] + OS_FAMILY=debian [2023-11-28T19:48:21.427Z] + workspace=/w/workspace/foundry_app-record-replay_PR-109 [2023-11-28T19:48:21.427Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T19:48:21.427Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T19:48:21.427Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T19:48:21.427Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T19:48:21.427Z] + '[' /w/workspace/foundry_app-record-replay_PR-109 ']' [2023-11-28T19:48:21.427Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T19:48:21.427Z] + case "${OS_FAMILY}" in [2023-11-28T19:48:21.427Z] + dpkg -l [2023-11-28T19:48:21.427Z] + grep '^ii' [2023-11-28T19:48:21.427Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T19:48:21.427Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T19:48:21.427Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T19:48:21.427Z] + '[' /w/workspace/foundry_app-record-replay_PR-109 ']' [2023-11-28T19:48:21.427Z] + mkdir -p /w/workspace/foundry_app-record-replay_PR-109/archives/ [2023-11-28T19:48:21.427Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-109/archives/ [Pipeline] echo [2023-11-28T19:48:21.461Z] 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-109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T19:48:21.749Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:48:22.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:48:22.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:48:22.673Z] prd-ubuntu20.04-docker-8c-8g-1679 does not seem to be running inside a container [2023-11-28T19:48:22.724Z] $ 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-109/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-109 -v /w/workspace/foundry_app-record-replay_PR-109:/w/workspace/foundry_app-record-replay_PR-109:rw,z -v /w/workspace/foundry_app-record-replay_PR-109@tmp:/w/workspace/foundry_app-record-replay_PR-109@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 [2023-11-28T19:48:22.919Z] $ docker top f0073208b07c17046e163588ac438206e3d85c187b3224ecd7f21356e281faa0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:48:23.386Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T19:48:23.691Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T19:48:24.010Z] + ls /var/log/sa-host [2023-11-28T19:48:24.010Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:48:24.188Z] provisioning config files... [2023-11-28T19:48:24.199Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-109@tmp/config1970746675522132851tmp [Pipeline] { [Pipeline] echo [2023-11-28T19:48:24.357Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:48:24.665Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T19:48:24.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:48:25.176Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T19:48:25.213Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:48:25.520Z] ---> sudo-logs.sh [2023-11-28T19:48:25.520Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T19:48:25.659Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:48:25.972Z] ---> job-cost.sh [2023-11-28T19:48:25.972Z] lf-activate-venv: SKIPPING [2023-11-28T19:48:25.972Z] DEBUG: total: 0.2199999988079071 [2023-11-28T19:48:25.972Z] INFO: Retrieving Stack Cost... [2023-11-28T19:48:26.538Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T19:48:26.795Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T19:48:26.830Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:48:27.139Z] ---> logs-deploy.sh [2023-11-28T19:48:27.139Z] lf-activate-venv: SKIPPING [2023-11-28T19:48:27.139Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-109/1 [2023-11-28T19:48:27.139Z] INFO: archiving workspace using pattern(s): [2023-11-28T19:48:28.077Z] Archives upload complete. [2023-11-28T19:48:28.077Z] INFO: archiving logs to Nexus