Pull request #80 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53c42d67c8ef98b6b878bfe21a601be39bbde023+71f8f64bcad1ab42414dea6ad01fdbff4824520b (b48570ea6275dbc77b215f59c0b74865d62ea158) 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-ssh248739093715928242.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7957487592427210721.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-80/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-80/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7070145432560568946.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-80/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10450351874047830786.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh3800622339942136439.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-80/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-80/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14514374966554528100.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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 ‘prd-ubuntu20.04-docker-8c-8g-6659’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6662 in /w/workspace/xfoundry_app-record-replay_PR-80 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-80 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 71f8f64bcad1ab42414dea6ad01fdbff4824520b into PR head commit 53c42d67c8ef98b6b878bfe21a601be39bbde023 Merge succeeded, producing 53c42d67c8ef98b6b878bfe21a601be39bbde023 Checking out Revision 53c42d67c8ef98b6b878bfe21a601be39bbde023 (PR-80) > 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/80/head:refs/remotes/origin/PR-80 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53c42d67c8ef98b6b878bfe21a601be39bbde023 # 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 71f8f64bcad1ab42414dea6ad01fdbff4824520b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53c42d67c8ef98b6b878bfe21a601be39bbde023 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T03:46:08.755Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T03:46:08.945Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T03:46:09.054Z] ========================================================= [2023-09-20T03:46:09.054Z] EdgeX Global Pipelines Version Info [2023-09-20T03:46:09.054Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:46:09.791Z] ------------------- [2023-09-20T03:46:09.791Z] stable info: [2023-09-20T03:46:09.791Z] ------------------- [2023-09-20T03:46:09.792Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T03:46:09.792Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T03:46:09.792Z] Message: update stable to v1.0.254 [2023-09-20T03:46:10.364Z] ------------------- [2023-09-20T03:46:10.364Z] experimental info: [2023-09-20T03:46:10.364Z] ------------------- [2023-09-20T03:46:10.364Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T03:46:10.364Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T03:46:10.364Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T03:46:10.643Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-09-20T03:46:10.686Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-09-20T03:46:10.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T03:46:10.761Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T03:46:10.805Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T03:46:10.842Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T03:46:10.879Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T03:46:10.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T03:46:10.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T03:46:10.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T03:46:11.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T03:46:11.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-09-20T03:46:11.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T03:46:11.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T03:46:11.182Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T03:46:11.218Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T03:46:11.256Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T03:46:11.294Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T03:46:11.332Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T03:46:11.372Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T03:46:11.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T03:46:11.453Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T03:46:11.493Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T03:46:11.534Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T03:46:11.575Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T03:46:11.616Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T03:46:11.662Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T03:46:11.701Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-80 [Pipeline] echo [2023-09-20T03:46:11.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-80 [Pipeline] echo [2023-09-20T03:46:11.779Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-80 [Pipeline] echo [2023-09-20T03:46:11.815Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53c42d67c8ef98b6b878bfe21a601be39bbde023 [Pipeline] echo [2023-09-20T03:46:11.855Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53c42d6 [Pipeline] echo [2023-09-20T03:46:11.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T03:46:12.045Z] provisioning config files... [2023-09-20T03:46:12.082Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-80@tmp/config10734828233280064792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:46:12.424Z] ---> docker-login.sh [2023-09-20T03:46:12.424Z] nexus3.edgexfoundry.org:10001 [2023-09-20T03:46:12.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:12.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:12.684Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:12.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:12.684Z] [2023-09-20T03:46:12.684Z] Login Succeeded [2023-09-20T03:46:12.684Z] nexus3.edgexfoundry.org:10002 [2023-09-20T03:46:12.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:12.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:12.943Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:12.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:12.943Z] [2023-09-20T03:46:12.943Z] Login Succeeded [2023-09-20T03:46:12.943Z] nexus3.edgexfoundry.org:10003 [2023-09-20T03:46:12.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:12.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:12.943Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:12.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:12.943Z] [2023-09-20T03:46:12.943Z] Login Succeeded [2023-09-20T03:46:12.943Z] nexus3.edgexfoundry.org:10004 [2023-09-20T03:46:13.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:13.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:13.203Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:13.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:13.203Z] [2023-09-20T03:46:13.203Z] Login Succeeded [2023-09-20T03:46:13.203Z] docker.io [2023-09-20T03:46:13.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:13.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:13.463Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:13.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:13.463Z] [2023-09-20T03:46:13.463Z] Login Succeeded [2023-09-20T03:46:13.463Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T03:46:13.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T03:46:14.130Z] + git rev-list -1 --merges 53c42d67c8ef98b6b878bfe21a601be39bbde023~1..53c42d67c8ef98b6b878bfe21a601be39bbde023 [Pipeline] echo [2023-09-20T03:46:14.186Z] -----------> git rev-list -1 --merges 53c42d67c8ef98b6b878bfe21a601be39bbde023~1..53c42d67c8ef98b6b878bfe21a601be39bbde023 53c42d67c8ef98b6b878bfe21a601be39bbde023 [false] [Pipeline] sh [2023-09-20T03:46:14.496Z] + git log --format=format:%s -1 53c42d67c8ef98b6b878bfe21a601be39bbde023 [Pipeline] echo [2023-09-20T03:46:14.533Z] ========================================================= [2023-09-20T03:46:14.533Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T03:46:14.533Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T03:46:14.972Z] + git log --format=format:%s -1 53c42d67c8ef98b6b878bfe21a601be39bbde023 [Pipeline] echo [2023-09-20T03:46:15.009Z] [semverPrep] GIT_COMMIT: 53c42d67c8ef98b6b878bfe21a601be39bbde023, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo [2023-09-20T03:46:15.039Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T03:46:15.420Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T03:46:15.420Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T03:46:15.420Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T03:46:15.420Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T03:46:15.420Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T03:46:15.420Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T03:46:15.420Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:46:15.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T03:46:15.848Z] [2023-09-20T03:46:15.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:46:16.207Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T03:46:16.207Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T03:46:16.207Z] b85a868b505f: Pulling fs layer [2023-09-20T03:46:16.207Z] e2be974225ed: Pulling fs layer [2023-09-20T03:46:16.207Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T03:46:16.207Z] 988bab9f4d93: Pulling fs layer [2023-09-20T03:46:16.207Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T03:46:16.207Z] eaf3925da568: Pulling fs layer [2023-09-20T03:46:16.207Z] bab4dde63d76: Pulling fs layer [2023-09-20T03:46:16.207Z] bde34c3a00c8: Pulling fs layer [2023-09-20T03:46:16.207Z] b352a97aabf1: Pulling fs layer [2023-09-20T03:46:16.207Z] 4872d77fe225: Pulling fs layer [2023-09-20T03:46:16.207Z] 5851b861e8e6: Pulling fs layer [2023-09-20T03:46:16.207Z] eaf3925da568: Waiting [2023-09-20T03:46:16.207Z] 4872d77fe225: Waiting [2023-09-20T03:46:16.207Z] 5851b861e8e6: Waiting [2023-09-20T03:46:16.207Z] bab4dde63d76: Waiting [2023-09-20T03:46:16.207Z] bde34c3a00c8: Waiting [2023-09-20T03:46:16.207Z] 988bab9f4d93: Waiting [2023-09-20T03:46:16.207Z] 1469e6f7b9e6: Waiting [2023-09-20T03:46:16.207Z] e2be974225ed: Verifying Checksum [2023-09-20T03:46:16.207Z] e2be974225ed: Download complete [2023-09-20T03:46:16.207Z] 988bab9f4d93: Download complete [2023-09-20T03:46:16.207Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T03:46:16.207Z] 1469e6f7b9e6: Download complete [2023-09-20T03:46:16.468Z] eaf3925da568: Download complete [2023-09-20T03:46:16.468Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T03:46:16.468Z] 339a4e72a1f5: Download complete [2023-09-20T03:46:16.468Z] bde34c3a00c8: Verifying Checksum [2023-09-20T03:46:16.468Z] bde34c3a00c8: Download complete [2023-09-20T03:46:16.468Z] b352a97aabf1: Verifying Checksum [2023-09-20T03:46:16.468Z] b352a97aabf1: Download complete [2023-09-20T03:46:16.468Z] 4872d77fe225: Download complete [2023-09-20T03:46:16.468Z] 5851b861e8e6: Verifying Checksum [2023-09-20T03:46:16.468Z] 5851b861e8e6: Download complete [2023-09-20T03:46:16.468Z] b85a868b505f: Verifying Checksum [2023-09-20T03:46:16.468Z] b85a868b505f: Download complete [2023-09-20T03:46:16.728Z] bab4dde63d76: Verifying Checksum [2023-09-20T03:46:16.728Z] bab4dde63d76: Download complete [2023-09-20T03:46:18.130Z] b85a868b505f: Pull complete [2023-09-20T03:46:18.130Z] e2be974225ed: Pull complete [2023-09-20T03:46:19.073Z] 339a4e72a1f5: Pull complete [2023-09-20T03:46:19.073Z] 988bab9f4d93: Pull complete [2023-09-20T03:46:19.332Z] 1469e6f7b9e6: Pull complete [2023-09-20T03:46:19.332Z] eaf3925da568: Pull complete [2023-09-20T03:46:21.238Z] bab4dde63d76: Pull complete [2023-09-20T03:46:21.238Z] bde34c3a00c8: Pull complete [2023-09-20T03:46:21.238Z] b352a97aabf1: Pull complete [2023-09-20T03:46:21.238Z] 4872d77fe225: Pull complete [2023-09-20T03:46:21.238Z] 5851b861e8e6: Pull complete [2023-09-20T03:46:21.500Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T03:46:21.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T03:46:21.500Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T03:46:21.736Z] prd-ubuntu20.04-docker-8c-8g-6662 does not seem to be running inside a container [2023-09-20T03:46:21.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-80 -v /w/workspace/xfoundry_app-record-replay_PR-80:/w/workspace/xfoundry_app-record-replay_PR-80:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-80@tmp:/w/workspace/xfoundry_app-record-replay_PR-80@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T03:46:24.346Z] $ docker top 8aff2a22370e88369cf76ef4f0129e27fc42e6ee8cfe9513b838186ead675a2b -eo pid,comm [2023-09-20T03:46:24.419Z] 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-09-20T03:46:24.419Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T03:46:24.549Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T03:46:24.549Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T03:46:24.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T03:46:24.675Z] $ docker exec 8aff2a22370e88369cf76ef4f0129e27fc42e6ee8cfe9513b838186ead675a2b ssh-agent [2023-09-20T03:46:24.768Z] SSH_AUTH_SOCK=/tmp/ssh-ji8fGrM10Wf6/agent.31 [2023-09-20T03:46:24.768Z] SSH_AGENT_PID=37 [2023-09-20T03:46:24.774Z] Running ssh-add (command line suppressed) [2023-09-20T03:46:24.866Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-80@tmp/private_key_12428456354222022334.key (/w/workspace/xfoundry_app-record-replay_PR-80@tmp/private_key_12428456354222022334.key) [2023-09-20T03:46:24.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T03:46:25.221Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T03:46:25.249Z] $ docker exec --env ******** --env ******** 8aff2a22370e88369cf76ef4f0129e27fc42e6ee8cfe9513b838186ead675a2b ssh-agent -k [2023-09-20T03:46:25.344Z] unset SSH_AUTH_SOCK; [2023-09-20T03:46:25.344Z] unset SSH_AGENT_PID; [2023-09-20T03:46:25.344Z] echo Agent pid 37 killed; [2023-09-20T03:46:25.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T03:46:25.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T03:46:25.441Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T03:46:25.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T03:46:25.547Z] $ docker exec 8aff2a22370e88369cf76ef4f0129e27fc42e6ee8cfe9513b838186ead675a2b ssh-agent [2023-09-20T03:46:25.662Z] SSH_AUTH_SOCK=/tmp/ssh-Qt74FOBTJc0o/agent.70 [2023-09-20T03:46:25.662Z] SSH_AGENT_PID=76 [2023-09-20T03:46:25.666Z] Running ssh-add (command line suppressed) [2023-09-20T03:46:25.763Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-80@tmp/private_key_13852964815306489239.key (/w/workspace/xfoundry_app-record-replay_PR-80@tmp/private_key_13852964815306489239.key) [2023-09-20T03:46:25.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T03:46:26.101Z] + git semver init [2023-09-20T03:46:26.364Z] 2023-09-20 03:46:26,270 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T03:46:26.365Z] 2023-09-20 03:46:26,270 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-80/.semver [2023-09-20T03:46:26.365Z] 2023-09-20 03:46:26,271 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-80/.semver [2023-09-20T03:46:26.365Z] 2023-09-20 03:46:26,271 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-80/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-80, universal_newlines=False, shell=None, istream=None) [2023-09-20T03:46:26.932Z] 2023-09-20 03:46:26,906 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-80/.git/info/exclude [2023-09-20T03:46:26.932Z] 2023-09-20 03:46:26,907 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-80/.semver/PR-80 with force:False [2023-09-20T03:46:26.932Z] 2023-09-20 03:46:26,907 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-80/.semver/PR-80 [2023-09-20T03:46:26.933Z] 2023-09-20 03:46:26,910 [execute] INFO git cat-file --batch-check [2023-09-20T03:46:26.933Z] 2023-09-20 03:46:26,910 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-80/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T03:46:26.933Z] 2023-09-20 03:46:26,916 [execute] INFO git cat-file --batch [2023-09-20T03:46:26.933Z] 2023-09-20 03:46:26,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-80/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T03:46:26.933Z] 2023-09-20 03:46:26,920 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-80/.semver/PR-80 [2023-09-20T03:46:26.933Z] 0.0.0 [Pipeline] } [2023-09-20T03:46:26.960Z] $ docker exec --env ******** --env ******** 8aff2a22370e88369cf76ef4f0129e27fc42e6ee8cfe9513b838186ead675a2b ssh-agent -k [2023-09-20T03:46:27.062Z] unset SSH_AUTH_SOCK; [2023-09-20T03:46:27.063Z] unset SSH_AGENT_PID; [2023-09-20T03:46:27.063Z] echo Agent pid 76 killed; [2023-09-20T03:46:27.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T03:46:27.495Z] + git semver [Pipeline] } [2023-09-20T03:46:27.779Z] $ docker stop --time=1 8aff2a22370e88369cf76ef4f0129e27fc42e6ee8cfe9513b838186ead675a2b [2023-09-20T03:46:29.127Z] $ docker rm -f --volumes 8aff2a22370e88369cf76ef4f0129e27fc42e6ee8cfe9513b838186ead675a2b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T03:46:29.530Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T03:46:29.838Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T03:46:29.853Z] [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-09-20T03:46:30.470Z] provisioning config files... [2023-09-20T03:46:30.479Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-80@tmp/config17607565345852191260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:46:30.836Z] ---> docker-login.sh [2023-09-20T03:46:30.836Z] nexus3.edgexfoundry.org:10001 [2023-09-20T03:46:30.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:30.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:30.836Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:30.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:30.836Z] [2023-09-20T03:46:30.836Z] Login Succeeded [2023-09-20T03:46:30.836Z] nexus3.edgexfoundry.org:10002 [2023-09-20T03:46:30.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:30.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:30.836Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:30.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:30.836Z] [2023-09-20T03:46:30.836Z] Login Succeeded [2023-09-20T03:46:30.836Z] nexus3.edgexfoundry.org:10003 [2023-09-20T03:46:31.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:31.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:31.096Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:31.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:31.096Z] [2023-09-20T03:46:31.096Z] Login Succeeded [2023-09-20T03:46:31.096Z] nexus3.edgexfoundry.org:10004 [2023-09-20T03:46:31.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:31.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:31.096Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:31.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:31.096Z] [2023-09-20T03:46:31.096Z] Login Succeeded [2023-09-20T03:46:31.096Z] docker.io [2023-09-20T03:46:31.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:46:31.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:46:31.355Z] Configure a credential helper to remove this warning. See [2023-09-20T03:46:31.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:46:31.355Z] [2023-09-20T03:46:31.355Z] Login Succeeded [2023-09-20T03:46:31.355Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T03:46:31.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T03:46:31.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T03:46:31.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T03:46:31.679Z] ========================================================= [2023-09-20T03:46:31.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T03:46:31.679Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:46:32.147Z] + 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-09-20T03:46:32.147Z] Sending build context to Docker daemon 580.1kB [2023-09-20T03:46:32.147Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T03:46:32.147Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T03:46:32.423Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T03:46:32.423Z] 7264a8db6415: Pulling fs layer [2023-09-20T03:46:32.423Z] c4d48a809fc2: Pulling fs layer [2023-09-20T03:46:32.423Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T03:46:32.423Z] ad3a456e5733: Pulling fs layer [2023-09-20T03:46:32.423Z] ad3a456e5733: Waiting [2023-09-20T03:46:32.423Z] 9e4f439ed901: Pulling fs layer [2023-09-20T03:46:32.423Z] feaf6a47b606: Pulling fs layer [2023-09-20T03:46:32.423Z] 5e8b037d7d82: Pulling fs layer [2023-09-20T03:46:32.423Z] 8ac70367396e: Pulling fs layer [2023-09-20T03:46:32.423Z] 6db16350a2e2: Pulling fs layer [2023-09-20T03:46:32.423Z] 9250d5d63582: Pulling fs layer [2023-09-20T03:46:32.423Z] 5e8b037d7d82: Waiting [2023-09-20T03:46:32.423Z] 8ac70367396e: Waiting [2023-09-20T03:46:32.423Z] 6db16350a2e2: Waiting [2023-09-20T03:46:32.423Z] 9250d5d63582: Waiting [2023-09-20T03:46:32.423Z] feaf6a47b606: Waiting [2023-09-20T03:46:32.423Z] c4d48a809fc2: Verifying Checksum [2023-09-20T03:46:32.423Z] c4d48a809fc2: Download complete [2023-09-20T03:46:32.423Z] ad3a456e5733: Verifying Checksum [2023-09-20T03:46:32.423Z] ad3a456e5733: Download complete [2023-09-20T03:46:32.423Z] 9e4f439ed901: Verifying Checksum [2023-09-20T03:46:32.423Z] 9e4f439ed901: Download complete [2023-09-20T03:46:32.423Z] 7264a8db6415: Verifying Checksum [2023-09-20T03:46:32.423Z] 7264a8db6415: Download complete [2023-09-20T03:46:32.423Z] feaf6a47b606: Verifying Checksum [2023-09-20T03:46:32.423Z] feaf6a47b606: Download complete [2023-09-20T03:46:32.682Z] 8ac70367396e: Verifying Checksum [2023-09-20T03:46:32.682Z] 8ac70367396e: Download complete [2023-09-20T03:46:32.682Z] 7264a8db6415: Pull complete [2023-09-20T03:46:32.939Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T03:46:32.939Z] 4f1c88b9dad5: Download complete [2023-09-20T03:46:32.939Z] c4d48a809fc2: Pull complete [2023-09-20T03:46:32.939Z] 6db16350a2e2: Verifying Checksum [2023-09-20T03:46:32.939Z] 6db16350a2e2: Download complete [2023-09-20T03:46:33.197Z] 5e8b037d7d82: Verifying Checksum [2023-09-20T03:46:33.197Z] 5e8b037d7d82: Download complete [2023-09-20T03:46:33.197Z] 9250d5d63582: Verifying Checksum [2023-09-20T03:46:33.197Z] 9250d5d63582: Download complete [2023-09-20T03:46:36.480Z] 4f1c88b9dad5: Pull complete [2023-09-20T03:46:36.480Z] ad3a456e5733: Pull complete [2023-09-20T03:46:36.480Z] 9e4f439ed901: Pull complete [2023-09-20T03:46:36.480Z] feaf6a47b606: Pull complete [2023-09-20T03:46:39.012Z] 5e8b037d7d82: Pull complete [2023-09-20T03:46:39.270Z] 8ac70367396e: Pull complete [2023-09-20T03:46:39.529Z] 6db16350a2e2: Pull complete [2023-09-20T03:46:40.096Z] 9250d5d63582: Pull complete [2023-09-20T03:46:40.096Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-20T03:46:40.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T03:46:40.096Z] ---> fa269f55d9b9 [2023-09-20T03:46:40.096Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T03:46:44.285Z] ---> Running in 520b5c226ab2 [2023-09-20T03:46:44.285Z] Removing intermediate container 520b5c226ab2 [2023-09-20T03:46:44.285Z] ---> 434975c98916 [2023-09-20T03:46:44.285Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T03:46:44.285Z] ---> Running in be0beb8b8d23 [2023-09-20T03:46:44.543Z] Removing intermediate container be0beb8b8d23 [2023-09-20T03:46:44.543Z] ---> bf0134cde033 [2023-09-20T03:46:44.543Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T03:46:44.543Z] ---> Running in ce9c44e8d2e2 [2023-09-20T03:46:44.544Z] Removing intermediate container ce9c44e8d2e2 [2023-09-20T03:46:44.544Z] ---> cd70d4bc2164 [2023-09-20T03:46:44.544Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T03:46:44.544Z] ---> Running in 8b03ea646638 [2023-09-20T03:46:44.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T03:46:45.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T03:46:45.285Z] Still waiting to schedule task [2023-09-20T03:46:45.286Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-20T03:46:45.966Z] OK: 265 MiB in 56 packages [2023-09-20T03:46:46.226Z] Removing intermediate container 8b03ea646638 [2023-09-20T03:46:46.226Z] ---> d4636cbc9b8b [2023-09-20T03:46:46.226Z] Step 7/12 : WORKDIR /app [2023-09-20T03:46:46.226Z] ---> Running in 03be15bebb69 [2023-09-20T03:46:46.226Z] Removing intermediate container 03be15bebb69 [2023-09-20T03:46:46.226Z] ---> 242a501d7f7c [2023-09-20T03:46:46.226Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T03:46:46.226Z] ---> be64f3611717 [2023-09-20T03:46:46.226Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T03:46:46.226Z] ---> Running in 17956b6036a9 [2023-09-20T03:47:12.797Z] Removing intermediate container 17956b6036a9 [2023-09-20T03:47:12.797Z] ---> dc0e04777fa2 [2023-09-20T03:47:12.797Z] Step 10/12 : COPY . . [2023-09-20T03:47:12.797Z] ---> b20a098a56f5 [2023-09-20T03:47:12.797Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T03:47:12.797Z] ---> Running in 52fd0e24c69a [2023-09-20T03:47:12.797Z] Removing intermediate container 52fd0e24c69a [2023-09-20T03:47:12.797Z] ---> 60f1e59945e4 [2023-09-20T03:47:12.797Z] Step 12/12 : RUN $MAKE [2023-09-20T03:47:12.797Z] ---> Running in fe8e10d6fe7e [2023-09-20T03:47:13.055Z] noop [2023-09-20T03:47:13.313Z] Removing intermediate container fe8e10d6fe7e [2023-09-20T03:47:13.313Z] ---> 14750f8946df [2023-09-20T03:47:13.313Z] Successfully built 14750f8946df [2023-09-20T03:47:13.313Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:47:13.776Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T03:47:13.776Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T03:47:13.923Z] prd-ubuntu20.04-docker-8c-8g-6662 does not seem to be running inside a container [2023-09-20T03:47:13.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-80 -v /w/workspace/xfoundry_app-record-replay_PR-80:/w/workspace/xfoundry_app-record-replay_PR-80:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-80@tmp:/w/workspace/xfoundry_app-record-replay_PR-80@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 ******** ci-base-image-x86_64 cat [2023-09-20T03:47:14.321Z] $ docker top 3613d73c3d66cbf88f25d3859c80d0962e28cd3ee293ef4c483b385123929b8e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T03:47:14.715Z] + go version [2023-09-20T03:47:14.715Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T03:47:14.752Z] $ docker stop --time=1 3613d73c3d66cbf88f25d3859c80d0962e28cd3ee293ef4c483b385123929b8e [2023-09-20T03:47:16.025Z] $ docker rm -f --volumes 3613d73c3d66cbf88f25d3859c80d0962e28cd3ee293ef4c483b385123929b8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:47:16.743Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T03:47:16.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T03:47:16.892Z] prd-ubuntu20.04-docker-8c-8g-6662 does not seem to be running inside a container [2023-09-20T03:47:16.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-80 -v /w/workspace/xfoundry_app-record-replay_PR-80:/w/workspace/xfoundry_app-record-replay_PR-80:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-80@tmp:/w/workspace/xfoundry_app-record-replay_PR-80@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 ******** ci-base-image-x86_64 cat [2023-09-20T03:47:17.272Z] $ docker top 86ccdb4e26cd63de54e32617a60c9213185296caf7a02eb70e5f2a9898200741 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T03:47:17.669Z] + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-80 [Pipeline] fileExists [Pipeline] sh [2023-09-20T03:47:18.025Z] + make test [2023-09-20T03:47:18.025Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T03:47:39.989Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-09-20T03:47:39.989Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-09-20T03:47:39.989Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-09-20T03:47:39.989Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-09-20T03:47:39.989Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.047s coverage: 88.0% of statements [2023-09-20T03:47:48.104Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.610s coverage: 98.7% of statements [2023-09-20T03:47:48.104Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.103s coverage: 78.7% of statements [2023-09-20T03:47:48.104Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.039s coverage: 100.0% of statements [2023-09-20T03:48:10.057Z] go vet ./... [2023-09-20T03:48:12.723Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T03:48:12.723Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T03:48:12.723Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T03:48:12.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T03:48:12.795Z] $ docker stop --time=1 86ccdb4e26cd63de54e32617a60c9213185296caf7a02eb70e5f2a9898200741 [2023-09-20T03:48:14.997Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6663 in /w/workspace/xfoundry_app-record-replay_PR-80 [2023-09-20T03:48:16.091Z] $ docker rm -f --volumes 86ccdb4e26cd63de54e32617a60c9213185296caf7a02eb70e5f2a9898200741 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-09-20T03:48:16.508Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2023-09-20T03:48:16.581Z] Selected Git installation does not exist. Using Default [2023-09-20T03:48:16.581Z] The recommended git tool is: NONE [2023-09-20T03:48:16.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T03:48:16.791Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T03:48:17.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T03:48:17.833Z] + ls -al . [2023-09-20T03:48:17.833Z] total 184 [2023-09-20T03:48:17.833Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 03:47 . [2023-09-20T03:48:17.833Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 03:46 .. [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 119 Sep 20 03:46 .dockerignore [2023-09-20T03:48:17.833Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 03:47 .git [2023-09-20T03:48:17.833Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 03:46 .github [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 164 Sep 20 03:46 .gitignore [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 03:46 .golangci.yml [2023-09-20T03:48:17.833Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 03:46 .semver [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 11301 Sep 20 03:46 Attribution.txt [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 258 Sep 20 03:46 CHANGELOG.md [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 1616 Sep 20 03:46 Dockerfile [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 03:46 GOVERNANCE.md [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 681 Sep 20 03:46 Jenkinsfile [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 03:46 LICENSE [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 3139 Sep 20 03:46 Makefile [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 611 Sep 20 03:46 OWNERS.md [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 2363 Sep 20 03:46 README.md [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 7594 Sep 20 03:46 Record and Reply.postman_collection.json [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 03:46 VERSION [2023-09-20T03:48:17.833Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 03:46 bin [2023-09-20T03:48:17.833Z] -rw-r--r-- 1 jenkins jenkins 24552 Sep 20 03:47 coverage.out [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 3917 Sep 20 03:46 go.mod [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 35420 Sep 20 03:46 go.sum [2023-09-20T03:48:17.833Z] drwxrwxr-x 7 jenkins jenkins 4096 Sep 20 03:46 internal [2023-09-20T03:48:17.833Z] -rw-rw-r-- 1 jenkins jenkins 913 Sep 20 03:46 main.go [2023-09-20T03:48:17.833Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 03:46 openapi [2023-09-20T03:48:17.833Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 03:46 pkg [2023-09-20T03:48:17.833Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 03:46 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:48:18.380Z] + 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=53c42d67c8ef98b6b878bfe21a601be39bbde023 --label arch=amd64 --label version=0.0.0 . [2023-09-20T03:48:18.380Z] Sending build context to Docker daemon 605.2kB [2023-09-20T03:48:18.380Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T03:48:18.380Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-20T03:48:18.380Z] ---> 14750f8946df [2023-09-20T03:48:18.380Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T03:48:18.380Z] ---> Running in ec5984232d14 [2023-09-20T03:48:18.638Z] Removing intermediate container ec5984232d14 [2023-09-20T03:48:18.638Z] ---> 0a4141b82eb1 [2023-09-20T03:48:18.638Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T03:48:18.638Z] ---> Running in 314a014e1c1b [2023-09-20T03:48:18.638Z] Removing intermediate container 314a014e1c1b [2023-09-20T03:48:18.638Z] ---> e403848cbb67 [2023-09-20T03:48:18.638Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-09-20T03:48:18.638Z] ---> Running in ea38866de17c [2023-09-20T03:48:18.638Z] Removing intermediate container ea38866de17c [2023-09-20T03:48:18.638Z] ---> d480470188fe [2023-09-20T03:48:18.638Z] Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T03:48:18.897Z] ---> Running in 6dca1eafa366 [2023-09-20T03:48:19.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T03:48:19.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T03:48:19.414Z] OK: 265 MiB in 56 packages [2023-09-20T03:48:19.982Z] Removing intermediate container 6dca1eafa366 [2023-09-20T03:48:19.982Z] ---> 81cc10523265 [2023-09-20T03:48:19.982Z] Step 7/26 : WORKDIR /app [2023-09-20T03:48:19.982Z] ---> Running in 8928c80ad3ca [2023-09-20T03:48:19.982Z] Removing intermediate container 8928c80ad3ca [2023-09-20T03:48:19.982Z] ---> 54bd700315dd [2023-09-20T03:48:19.982Z] Step 8/26 : COPY go.mod vendor* ./ [2023-09-20T03:48:19.982Z] ---> c33a671ec42f [2023-09-20T03:48:19.982Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T03:48:20.242Z] ---> Running in b1f391d6c569 [2023-09-20T03:48:21.175Z] Removing intermediate container b1f391d6c569 [2023-09-20T03:48:21.175Z] ---> da1b04cb45c0 [2023-09-20T03:48:21.175Z] Step 10/26 : COPY . . [2023-09-20T03:48:21.175Z] ---> a92f7a75e131 [2023-09-20T03:48:21.175Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T03:48:21.175Z] ---> Running in 5fb5bb373c7a [2023-09-20T03:48:21.175Z] Removing intermediate container 5fb5bb373c7a [2023-09-20T03:48:21.175Z] ---> 50578b080a1a [2023-09-20T03:48:21.175Z] Step 12/26 : RUN $MAKE [2023-09-20T03:48:21.175Z] ---> Running in 1dcac0e8ea9e [2023-09-20T03:48:21.432Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-09-20T03:48:21.771Z] using credential edgex-jenkins-ssh [2023-09-20T03:48:21.791Z] Cloning the remote Git repository [2023-09-20T03:48:21.826Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-09-20T03:48:21.911Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2023-09-20T03:48:22.046Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-09-20T03:48:22.047Z] > git --version # timeout=10 [2023-09-20T03:48:22.071Z] > git --version # 'git version 2.25.1' [2023-09-20T03:48:22.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T03:48:22.209Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T03:48:22.847Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-09-20T03:48:22.880Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T03:48:23.695Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-09-20T03:48:23.732Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-09-20T03:48:23.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T03:48:23.748Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/80/head:refs/remotes/origin/PR-80 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T03:48:24.191Z] Merging remotes/origin/main commit 71f8f64bcad1ab42414dea6ad01fdbff4824520b into PR head commit 53c42d67c8ef98b6b878bfe21a601be39bbde023 [2023-09-20T03:48:24.452Z] Merge succeeded, producing 53c42d67c8ef98b6b878bfe21a601be39bbde023 [2023-09-20T03:48:24.453Z] Checking out Revision 53c42d67c8ef98b6b878bfe21a601be39bbde023 (PR-80) [2023-09-20T03:48:24.890Z] Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" [2023-09-20T03:48:24.931Z] > git --version # timeout=10 [2023-09-20T03:48:24.942Z] > git --version # 'git version 2.25.1' [2023-09-20T03:48:24.957Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T03:48:24.202Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T03:48:24.275Z] > git checkout -f 53c42d67c8ef98b6b878bfe21a601be39bbde023 # timeout=10 [2023-09-20T03:48:24.355Z] > git remote # timeout=10 [2023-09-20T03:48:24.371Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T03:48:24.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T03:48:24.404Z] > git merge 71f8f64bcad1ab42414dea6ad01fdbff4824520b # timeout=10 [2023-09-20T03:48:24.429Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T03:48:24.455Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T03:48:24.480Z] > git checkout -f 53c42d67c8ef98b6b878bfe21a601be39bbde023 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T03:48:26.219Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T03:48:26.219Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T03:48:26.219Z] Dload Upload Total Spent Left Speed [2023-09-20T03:48:26.219Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 108k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2023-09-20T03:48:26.738Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T03:48:27.079Z] + sudo tee /etc/docker/daemon.new [2023-09-20T03:48:27.079Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T03:48:27.079Z] { [2023-09-20T03:48:27.079Z] "registry-mirrors": [ [2023-09-20T03:48:27.079Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T03:48:27.079Z] ], [2023-09-20T03:48:27.079Z] "bip": "10.250.0.254/24", [2023-09-20T03:48:27.079Z] "hosts": [ [2023-09-20T03:48:27.079Z] "tcp://0.0.0.0:5555", [2023-09-20T03:48:27.079Z] "unix:///var/run/docker.sock" [2023-09-20T03:48:27.079Z] ], [2023-09-20T03:48:27.079Z] "mtu": 1458, [2023-09-20T03:48:27.079Z] "selinux-enabled": true, [2023-09-20T03:48:27.079Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T03:48:27.079Z] } [Pipeline] sh [2023-09-20T03:48:27.417Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T03:48:27.769Z] + sudo service docker restart [2023-09-20T03:48:43.365Z] Removing intermediate container 1dcac0e8ea9e [2023-09-20T03:48:43.365Z] ---> 418caf0ca75f [2023-09-20T03:48:43.365Z] Step 13/26 : FROM alpine:3.18 [2023-09-20T03:48:43.365Z] 3.18: Pulling from library/alpine [2023-09-20T03:48:43.365Z] 7264a8db6415: Already exists [2023-09-20T03:48:43.365Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T03:48:43.365Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T03:48:43.365Z] ---> 7e01a0d0a1dc [2023-09-20T03:48:43.365Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T03:48:43.365Z] ---> Running in 9001c3a6fcc2 [2023-09-20T03:48:43.365Z] Removing intermediate container 9001c3a6fcc2 [2023-09-20T03:48:43.365Z] ---> a69b56742be7 [2023-09-20T03:48:43.365Z] Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} [2023-09-20T03:48:43.365Z] ---> Running in 23a2650460e0 [2023-09-20T03:48:43.365Z] Removing intermediate container 23a2650460e0 [2023-09-20T03:48:43.365Z] ---> 753642ff0b8d [2023-09-20T03:48:43.365Z] Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-09-20T03:48:43.365Z] ---> Running in c943c1defa34 [2023-09-20T03:48:43.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T03:48:43.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T03:48:43.624Z] (1/2) Installing ca-certificates (20230506-r0) [2023-09-20T03:48:43.624Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-09-20T03:48:43.624Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T03:48:43.624Z] Executing ca-certificates-20230506-r0.trigger [2023-09-20T03:48:43.624Z] OK: 8 MiB in 17 packages [2023-09-20T03:48:44.190Z] Removing intermediate container c943c1defa34 [2023-09-20T03:48:44.190Z] ---> cd1724718cc1 [2023-09-20T03:48:44.190Z] Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-09-20T03:48:44.190Z] ---> 0e64d2eb027e [2023-09-20T03:48:44.190Z] Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE [2023-09-20T03:48:44.448Z] ---> 82143a38a66c [2023-09-20T03:48:44.448Z] Step 19/26 : COPY --from=builder /app/res/ /res/ [2023-09-20T03:48:44.448Z] ---> 09065ba63b88 [2023-09-20T03:48:44.448Z] Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-09-20T03:48:45.382Z] ---> f791113eef5d [2023-09-20T03:48:45.382Z] Step 21/26 : EXPOSE 59712 [2023-09-20T03:48:45.382Z] ---> Running in 3d417135a172 [2023-09-20T03:48:45.382Z] Removing intermediate container 3d417135a172 [2023-09-20T03:48:45.382Z] ---> 57ffc6c7d565 [2023-09-20T03:48:45.382Z] Step 22/26 : ENTRYPOINT ["/app-record-replay"] [2023-09-20T03:48:45.382Z] ---> Running in 02a12682af59 [2023-09-20T03:48:45.641Z] Removing intermediate container 02a12682af59 [2023-09-20T03:48:45.641Z] ---> 4b25b1bb927e [2023-09-20T03:48:45.641Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T03:48:45.641Z] ---> Running in a0a92dd5e7cb [2023-09-20T03:48:45.641Z] Removing intermediate container a0a92dd5e7cb [2023-09-20T03:48:45.641Z] ---> 4368df8c2daa [2023-09-20T03:48:45.641Z] Step 24/26 : LABEL arch=amd64 [2023-09-20T03:48:45.641Z] ---> Running in 2c84624aa11a [2023-09-20T03:48:45.642Z] Removing intermediate container 2c84624aa11a [2023-09-20T03:48:45.642Z] ---> ecfe9a43e6b4 [2023-09-20T03:48:45.642Z] Step 25/26 : LABEL git_sha=53c42d67c8ef98b6b878bfe21a601be39bbde023 [2023-09-20T03:48:45.900Z] ---> Running in c490ca57585e [2023-09-20T03:48:45.900Z] Removing intermediate container c490ca57585e [2023-09-20T03:48:45.900Z] ---> d57f45589402 [2023-09-20T03:48:45.900Z] Step 26/26 : LABEL version=0.0.0 [2023-09-20T03:48:45.900Z] ---> Running in 4d9e13b5ceed [2023-09-20T03:48:45.900Z] Removing intermediate container 4d9e13b5ceed [2023-09-20T03:48:45.900Z] ---> e1a54a140b6f [2023-09-20T03:48:45.900Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T03:48:45.900Z] Successfully built e1a54a140b6f [2023-09-20T03:48:45.900Z] Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] configFileProvider [2023-09-20T03:48:46.100Z] provisioning config files... [Pipeline] stage [2023-09-20T03:48:46.127Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config17842811278207627344tmp [Pipeline] { (Docker Push) [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 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 [2023-09-20T03:48:46.499Z] ---> docker-login.sh [2023-09-20T03:48:46.500Z] nexus3.edgexfoundry.org:10001 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:48:46.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:48:46.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T03:48:46.944Z] [2023-09-20T03:48:46.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:48:47.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T03:48:47.326Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T03:48:47.326Z] 5eb5b503b376: Pulling fs layer [2023-09-20T03:48:47.326Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T03:48:47.326Z] ec43610c2a17: Pulling fs layer [2023-09-20T03:48:47.326Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T03:48:47.326Z] 33b1e0a273af: Pulling fs layer [2023-09-20T03:48:47.326Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T03:48:47.326Z] 2f39f015ded8: Pulling fs layer [2023-09-20T03:48:47.326Z] 5d3b04190fa2: Waiting [2023-09-20T03:48:47.326Z] 3a2ae6a8a46f: Waiting [2023-09-20T03:48:47.326Z] 33b1e0a273af: Waiting [2023-09-20T03:48:47.326Z] 2f39f015ded8: Waiting [2023-09-20T03:48:47.326Z] 5c69ac0246d0: Download complete [2023-09-20T03:48:47.326Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T03:48:47.326Z] 3a2ae6a8a46f: Download complete [2023-09-20T03:48:47.326Z] 33b1e0a273af: Verifying Checksum [2023-09-20T03:48:47.326Z] 33b1e0a273af: Download complete [2023-09-20T03:48:47.326Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T03:48:47.326Z] 5d3b04190fa2: Download complete [2023-09-20T03:48:47.326Z] ec43610c2a17: Verifying Checksum [2023-09-20T03:48:47.326Z] ec43610c2a17: Download complete [2023-09-20T03:48:47.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:48:47.357Z] Configure a credential helper to remove this warning. See [2023-09-20T03:48:47.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:48:47.357Z] [2023-09-20T03:48:47.357Z] Login Succeeded [2023-09-20T03:48:47.357Z] nexus3.edgexfoundry.org:10002 [2023-09-20T03:48:47.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:48:47.586Z] 5eb5b503b376: Verifying Checksum [2023-09-20T03:48:47.586Z] 5eb5b503b376: Download complete [2023-09-20T03:48:47.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:48:47.629Z] Configure a credential helper to remove this warning. See [2023-09-20T03:48:47.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:48:47.629Z] [2023-09-20T03:48:47.629Z] Login Succeeded [2023-09-20T03:48:47.629Z] nexus3.edgexfoundry.org:10003 [2023-09-20T03:48:47.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:48:47.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:48:47.899Z] Configure a credential helper to remove this warning. See [2023-09-20T03:48:47.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:48:47.899Z] [2023-09-20T03:48:47.899Z] Login Succeeded [2023-09-20T03:48:47.899Z] nexus3.edgexfoundry.org:10004 [2023-09-20T03:48:48.155Z] 2f39f015ded8: Verifying Checksum [2023-09-20T03:48:48.155Z] 2f39f015ded8: Download complete [2023-09-20T03:48:48.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:48:48.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:48:48.171Z] Configure a credential helper to remove this warning. See [2023-09-20T03:48:48.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:48:48.171Z] [2023-09-20T03:48:48.171Z] Login Succeeded [2023-09-20T03:48:48.171Z] docker.io [2023-09-20T03:48:48.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T03:48:48.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T03:48:48.705Z] Configure a credential helper to remove this warning. See [2023-09-20T03:48:48.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T03:48:48.705Z] [2023-09-20T03:48:48.705Z] Login Succeeded [2023-09-20T03:48:48.705Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T03:48:48.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-09-20T03:48:49.096Z] 5eb5b503b376: Pull complete [2023-09-20T03:48:49.096Z] 5c69ac0246d0: Pull complete [Pipeline] echo [2023-09-20T03:48:49.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T03:48:49.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T03:48:49.206Z] ========================================================= [2023-09-20T03:48:49.206Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T03:48:49.206Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:48:49.668Z] ec43610c2a17: Pull complete [2023-09-20T03:48:49.668Z] 3a2ae6a8a46f: Pull complete [2023-09-20T03:48:49.668Z] 33b1e0a273af: Pull complete [2023-09-20T03:48:49.700Z] + 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-09-20T03:48:49.700Z] Sending build context to Docker daemon 258kB [2023-09-20T03:48:49.927Z] 5d3b04190fa2: Pull complete [2023-09-20T03:48:49.988Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T03:48:49.988Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T03:48:49.988Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T03:48:49.988Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T03:48:49.988Z] 5d54e960e981: Pulling fs layer [2023-09-20T03:48:49.988Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T03:48:49.988Z] f0e02332f6b5: Pulling fs layer [2023-09-20T03:48:49.988Z] 66412af1f25a: Pulling fs layer [2023-09-20T03:48:49.988Z] 1baf3a5c0e64: Pulling fs layer [2023-09-20T03:48:49.988Z] 9a37bb91b891: Pulling fs layer [2023-09-20T03:48:49.988Z] a29adfc67d43: Pulling fs layer [2023-09-20T03:48:49.988Z] d5de9f91c1a4: Pulling fs layer [2023-09-20T03:48:49.988Z] f0e02332f6b5: Waiting [2023-09-20T03:48:49.988Z] 9a37bb91b891: Waiting [2023-09-20T03:48:49.988Z] 66412af1f25a: Waiting [2023-09-20T03:48:49.988Z] 1baf3a5c0e64: Waiting [2023-09-20T03:48:49.988Z] a29adfc67d43: Waiting [2023-09-20T03:48:49.988Z] d5de9f91c1a4: Waiting [2023-09-20T03:48:49.988Z] 5d54e960e981: Verifying Checksum [2023-09-20T03:48:49.988Z] 5d54e960e981: Download complete [2023-09-20T03:48:50.266Z] f0e02332f6b5: Verifying Checksum [2023-09-20T03:48:50.266Z] f0e02332f6b5: Download complete [2023-09-20T03:48:50.266Z] 66412af1f25a: Verifying Checksum [2023-09-20T03:48:50.266Z] 66412af1f25a: Download complete [2023-09-20T03:48:50.266Z] 9fda8d8052c6: Download complete [2023-09-20T03:48:50.864Z] 9a37bb91b891: Verifying Checksum [2023-09-20T03:48:50.864Z] 9a37bb91b891: Download complete [2023-09-20T03:48:51.456Z] 9fda8d8052c6: Pull complete [2023-09-20T03:48:51.456Z] a29adfc67d43: Download complete [2023-09-20T03:48:52.046Z] 5d54e960e981: Pull complete [2023-09-20T03:48:52.316Z] d5de9f91c1a4: Verifying Checksum [2023-09-20T03:48:52.316Z] d5de9f91c1a4: Download complete [2023-09-20T03:48:52.316Z] c4a7e357bf2a: Download complete [2023-09-20T03:48:53.376Z] 1baf3a5c0e64: Verifying Checksum [2023-09-20T03:48:53.376Z] 1baf3a5c0e64: Download complete [2023-09-20T03:48:55.192Z] 2f39f015ded8: Pull complete [2023-09-20T03:48:55.192Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T03:48:55.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T03:48:55.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T03:48:55.424Z] prd-ubuntu20.04-docker-8c-8g-6662 does not seem to be running inside a container [2023-09-20T03:48:55.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-80 -v /w/workspace/xfoundry_app-record-replay_PR-80:/w/workspace/xfoundry_app-record-replay_PR-80:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-80@tmp:/w/workspace/xfoundry_app-record-replay_PR-80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T03:48:59.315Z] $ docker top cb5d8f81f9211c2f1f5d7cb1e14099d2cc074ca7656fe5dcfebdde252a959dfa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:48:59.746Z] ---> job-cost.sh [2023-09-20T03:48:59.746Z] lf-activate-venv: SKIPPING [2023-09-20T03:48:59.746Z] INFO: No Stack... [2023-09-20T03:49:00.315Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T03:49:00.576Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T03:49:00.891Z] + cat /w/workspace/xfoundry_app-record-replay_PR-80/archives/cost.csv [2023-09-20T03:49:00.891Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T03:49:00.929Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-80-1-stack-cost] [2023-09-20T03:49:00.934Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-80-1-stack-cost] did not exist. Created. [2023-09-20T03:49:00.934Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-80-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T03:49:01.314Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T03:49:01.364Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T03:49:01.393Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-80-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T03:49:01.486Z] $ docker stop --time=1 cb5d8f81f9211c2f1f5d7cb1e14099d2cc074ca7656fe5dcfebdde252a959dfa [2023-09-20T03:49:02.648Z] $ docker rm -f --volumes cb5d8f81f9211c2f1f5d7cb1e14099d2cc074ca7656fe5dcfebdde252a959dfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T03:49:03.483Z] c4a7e357bf2a: Pull complete [2023-09-20T03:49:03.483Z] f0e02332f6b5: Pull complete [2023-09-20T03:49:03.483Z] 66412af1f25a: Pull complete [2023-09-20T03:49:10.136Z] 1baf3a5c0e64: Pull complete [2023-09-20T03:49:11.555Z] 9a37bb91b891: Pull complete [2023-09-20T03:49:12.521Z] a29adfc67d43: Pull complete [2023-09-20T03:49:16.774Z] d5de9f91c1a4: Pull complete [2023-09-20T03:49:16.774Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-20T03:49:16.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T03:49:16.774Z] ---> 746ca1b523b5 [2023-09-20T03:49:16.774Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T03:49:18.196Z] ---> Running in 961b81de57b3 [2023-09-20T03:49:18.464Z] Removing intermediate container 961b81de57b3 [2023-09-20T03:49:18.464Z] ---> 4825c3563ddb [2023-09-20T03:49:18.464Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T03:49:18.464Z] ---> Running in ac6ed8a87ec3 [2023-09-20T03:49:18.731Z] Removing intermediate container ac6ed8a87ec3 [2023-09-20T03:49:18.731Z] ---> b62abb685d2d [2023-09-20T03:49:18.731Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T03:49:18.731Z] ---> Running in 8c952279a568 [2023-09-20T03:49:19.006Z] Removing intermediate container 8c952279a568 [2023-09-20T03:49:19.006Z] ---> 14c385920464 [2023-09-20T03:49:19.006Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T03:49:19.273Z] ---> Running in ae1e3c71a8fe [2023-09-20T03:49:20.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T03:49:20.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T03:49:21.908Z] OK: 267 MiB in 56 packages [2023-09-20T03:49:22.493Z] Removing intermediate container ae1e3c71a8fe [2023-09-20T03:49:22.493Z] ---> 3398d8959539 [2023-09-20T03:49:22.493Z] Step 7/12 : WORKDIR /app [2023-09-20T03:49:22.493Z] ---> Running in edc283022f5c [2023-09-20T03:49:22.760Z] Removing intermediate container edc283022f5c [2023-09-20T03:49:22.760Z] ---> 0a44712f8df1 [2023-09-20T03:49:22.760Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-20T03:49:23.346Z] ---> 4c93a1acef35 [2023-09-20T03:49:23.346Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T03:49:23.346Z] ---> Running in 4beae3256811 [2023-09-20T03:50:31.218Z] Removing intermediate container 4beae3256811 [2023-09-20T03:50:31.218Z] ---> 25288b150743 [2023-09-20T03:50:31.218Z] Step 10/12 : COPY . . [2023-09-20T03:50:31.218Z] ---> 556c880f55fb [2023-09-20T03:50:31.218Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T03:50:31.218Z] ---> Running in c13cb8f4ffe6 [2023-09-20T03:50:31.218Z] Removing intermediate container c13cb8f4ffe6 [2023-09-20T03:50:31.218Z] ---> ace5d2cf661b [2023-09-20T03:50:31.218Z] Step 12/12 : RUN $MAKE [2023-09-20T03:50:31.218Z] ---> Running in fbb4471afeea [2023-09-20T03:50:31.218Z] noop [2023-09-20T03:50:31.218Z] Removing intermediate container fbb4471afeea [2023-09-20T03:50:31.218Z] ---> c3b7630a9f81 [2023-09-20T03:50:31.218Z] Successfully built c3b7630a9f81 [2023-09-20T03:50:31.218Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:50:31.709Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T03:50:31.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T03:50:31.979Z] prd-ubuntu20.04-docker-arm64-4c-16g-6663 does not seem to be running inside a container [2023-09-20T03:50:32.032Z] $ 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 ******** ci-base-image-arm64 cat [2023-09-20T03:50:33.193Z] $ docker top 774b78eb863be9769851705ae7cf283ab8c35c2fcfdb9c49b14976ac8af172e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T03:50:34.072Z] + go version [2023-09-20T03:50:34.072Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T03:50:34.100Z] $ docker stop --time=1 774b78eb863be9769851705ae7cf283ab8c35c2fcfdb9c49b14976ac8af172e5 [2023-09-20T03:50:36.809Z] $ docker rm -f --volumes 774b78eb863be9769851705ae7cf283ab8c35c2fcfdb9c49b14976ac8af172e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:50:37.668Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T03:50:37.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T03:50:37.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-6663 does not seem to be running inside a container [2023-09-20T03:50:37.983Z] $ 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 ******** ci-base-image-arm64 cat [2023-09-20T03:50:39.114Z] $ docker top af4bbcfba1ee8c74a08b256d4f59e7d07ea9d50111d1b76455ce8e99ab239cc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T03:50:39.672Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2023-09-20T03:50:40.048Z] + make test [2023-09-20T03:50:40.048Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T03:52:46.752Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-09-20T03:52:46.752Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.256s coverage: 88.0% of statements [2023-09-20T03:52:48.686Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-09-20T03:52:48.686Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-09-20T03:52:50.092Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-09-20T03:53:00.171Z] ok github.com/edgexfoundry/app-record-replay/internal/application 10.178s coverage: 98.7% of statements [2023-09-20T03:53:00.171Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.536s coverage: 78.7% of statements [2023-09-20T03:53:00.171Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.224s coverage: 100.0% of statements [2023-09-20T03:53:00.171Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T03:53:00.171Z] go vet ./... [2023-09-20T03:54:51.812Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T03:54:51.812Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T03:54:51.812Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T03:54:51.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T03:54:51.880Z] $ docker stop --time=1 af4bbcfba1ee8c74a08b256d4f59e7d07ea9d50111d1b76455ce8e99ab239cc9 [2023-09-20T03:54:53.777Z] $ docker rm -f --volumes af4bbcfba1ee8c74a08b256d4f59e7d07ea9d50111d1b76455ce8e99ab239cc9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T03:54:55.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T03:54:55.435Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T03:54:55.854Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T03:54:56.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T03:54:56.803Z] + ls -al . [2023-09-20T03:54:56.803Z] total 180 [2023-09-20T03:54:56.803Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 03:50 . [2023-09-20T03:54:56.803Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 03:48 .. [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 119 Sep 20 03:48 .dockerignore [2023-09-20T03:54:56.803Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 03:48 .git [2023-09-20T03:54:56.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 03:48 .github [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 164 Sep 20 03:48 .gitignore [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 03:48 .golangci.yml [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 11301 Sep 20 03:48 Attribution.txt [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 258 Sep 20 03:48 CHANGELOG.md [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 1616 Sep 20 03:48 Dockerfile [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 03:48 GOVERNANCE.md [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 681 Sep 20 03:48 Jenkinsfile [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 03:48 LICENSE [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 3139 Sep 20 03:48 Makefile [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 611 Sep 20 03:48 OWNERS.md [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 2363 Sep 20 03:48 README.md [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 7594 Sep 20 03:48 Record and Reply.postman_collection.json [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 03:46 VERSION [2023-09-20T03:54:56.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 03:48 bin [2023-09-20T03:54:56.803Z] -rw-r--r-- 1 jenkins jenkins 24552 Sep 20 03:52 coverage.out [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 3917 Sep 20 03:48 go.mod [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 35420 Sep 20 03:48 go.sum [2023-09-20T03:54:56.803Z] drwxrwxr-x 7 jenkins jenkins 4096 Sep 20 03:48 internal [2023-09-20T03:54:56.803Z] -rw-rw-r-- 1 jenkins jenkins 913 Sep 20 03:48 main.go [2023-09-20T03:54:56.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 03:48 openapi [2023-09-20T03:54:56.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 03:48 pkg [2023-09-20T03:54:56.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 03:48 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:54:57.219Z] + 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=53c42d67c8ef98b6b878bfe21a601be39bbde023 --label arch=arm64 --label version=0.0.0 . [2023-09-20T03:54:57.485Z] Sending build context to Docker daemon 283.1kB [2023-09-20T03:54:57.485Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T03:54:57.485Z] Step 2/26 : FROM ${BASE} AS builder [2023-09-20T03:54:57.485Z] ---> c3b7630a9f81 [2023-09-20T03:54:57.485Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git" [2023-09-20T03:54:57.485Z] ---> Running in 510ffb5195f0 [2023-09-20T03:54:57.755Z] Removing intermediate container 510ffb5195f0 [2023-09-20T03:54:57.755Z] ---> 7abd4ced0a08 [2023-09-20T03:54:57.755Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T03:54:58.028Z] ---> Running in 549cb5017fc1 [2023-09-20T03:54:58.295Z] Removing intermediate container 549cb5017fc1 [2023-09-20T03:54:58.295Z] ---> 3d68703aebe8 [2023-09-20T03:54:58.295Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-09-20T03:54:58.295Z] ---> Running in 14fc249973fc [2023-09-20T03:54:58.563Z] Removing intermediate container 14fc249973fc [2023-09-20T03:54:58.563Z] ---> 15544e01c28c [2023-09-20T03:54:58.563Z] Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T03:54:58.563Z] ---> Running in c66d29b43004 [2023-09-20T03:54:59.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T03:55:00.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T03:55:01.061Z] OK: 267 MiB in 56 packages [2023-09-20T03:55:02.019Z] Removing intermediate container c66d29b43004 [2023-09-20T03:55:02.019Z] ---> 4f0c39edd782 [2023-09-20T03:55:02.019Z] Step 7/26 : WORKDIR /app [2023-09-20T03:55:02.019Z] ---> Running in 0cc565f4f8f3 [2023-09-20T03:55:02.287Z] Removing intermediate container 0cc565f4f8f3 [2023-09-20T03:55:02.287Z] ---> c86f2c6e3851 [2023-09-20T03:55:02.287Z] Step 8/26 : COPY go.mod vendor* ./ [2023-09-20T03:55:04.225Z] ---> 609f41538886 [2023-09-20T03:55:04.225Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T03:55:04.225Z] ---> Running in 4363c04eee0b [2023-09-20T03:55:06.805Z] Removing intermediate container 4363c04eee0b [2023-09-20T03:55:06.805Z] ---> 103e51f1f137 [2023-09-20T03:55:06.805Z] Step 10/26 : COPY . . [2023-09-20T03:55:06.805Z] ---> 108dddf714f2 [2023-09-20T03:55:06.805Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T03:55:06.805Z] ---> Running in f7b09e96e314 [2023-09-20T03:55:07.080Z] Removing intermediate container f7b09e96e314 [2023-09-20T03:55:07.080Z] ---> 901cf2575869 [2023-09-20T03:55:07.080Z] Step 12/26 : RUN $MAKE [2023-09-20T03:55:07.347Z] ---> Running in 57c5f41cac0e [2023-09-20T03:55:08.309Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-09-20T03:56:59.939Z] Removing intermediate container 57c5f41cac0e [2023-09-20T03:56:59.939Z] ---> 3d8c5f7f2f26 [2023-09-20T03:56:59.939Z] Step 13/26 : FROM alpine:3.18 [2023-09-20T03:56:59.939Z] 3.18: Pulling from library/alpine [2023-09-20T03:56:59.939Z] 9fda8d8052c6: Already exists [2023-09-20T03:56:59.939Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T03:56:59.939Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T03:56:59.939Z] ---> f6648c04cd6c [2023-09-20T03:56:59.939Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T03:56:59.939Z] ---> Running in cabb0d6e187d [2023-09-20T03:56:59.939Z] Removing intermediate container cabb0d6e187d [2023-09-20T03:56:59.939Z] ---> 26e0b1685b98 [2023-09-20T03:56:59.939Z] Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} [2023-09-20T03:56:59.939Z] ---> Running in 50d9883df3c9 [2023-09-20T03:56:59.939Z] Removing intermediate container 50d9883df3c9 [2023-09-20T03:56:59.939Z] ---> d22800ffc34a [2023-09-20T03:56:59.939Z] Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-09-20T03:56:59.939Z] ---> Running in 2edb135f812f [2023-09-20T03:56:59.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T03:56:59.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T03:56:59.939Z] (1/2) Installing ca-certificates (20230506-r0) [2023-09-20T03:56:59.939Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-09-20T03:56:59.939Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T03:56:59.939Z] Executing ca-certificates-20230506-r0.trigger [2023-09-20T03:56:59.939Z] OK: 9 MiB in 17 packages [2023-09-20T03:56:59.939Z] Removing intermediate container 2edb135f812f [2023-09-20T03:56:59.939Z] ---> c52be06f613d [2023-09-20T03:56:59.939Z] Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-09-20T03:56:59.939Z] ---> a8d245cdfb0d [2023-09-20T03:56:59.939Z] Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE [2023-09-20T03:56:59.939Z] ---> 24478ec1048b [2023-09-20T03:56:59.939Z] Step 19/26 : COPY --from=builder /app/res/ /res/ [2023-09-20T03:56:59.939Z] ---> c3bd9316e3de [2023-09-20T03:56:59.939Z] Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-09-20T03:56:59.939Z] ---> ac35dbfedbe5 [2023-09-20T03:56:59.939Z] Step 21/26 : EXPOSE 59712 [2023-09-20T03:56:59.939Z] ---> Running in 4fe951345c63 [2023-09-20T03:56:59.939Z] Removing intermediate container 4fe951345c63 [2023-09-20T03:56:59.939Z] ---> c4df97f88704 [2023-09-20T03:56:59.939Z] Step 22/26 : ENTRYPOINT ["/app-record-replay"] [2023-09-20T03:56:59.939Z] ---> Running in 4d366a63cd5b [2023-09-20T03:56:59.939Z] Removing intermediate container 4d366a63cd5b [2023-09-20T03:56:59.939Z] ---> 3dd10e5ef9e5 [2023-09-20T03:56:59.939Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T03:56:59.939Z] ---> Running in 33dcbaafb749 [2023-09-20T03:56:59.939Z] Removing intermediate container 33dcbaafb749 [2023-09-20T03:56:59.939Z] ---> 751fb00802ac [2023-09-20T03:56:59.939Z] Step 24/26 : LABEL arch=arm64 [2023-09-20T03:56:59.939Z] ---> Running in 52da136571ba [2023-09-20T03:56:59.939Z] Removing intermediate container 52da136571ba [2023-09-20T03:56:59.939Z] ---> c60a51fb2b33 [2023-09-20T03:56:59.939Z] Step 25/26 : LABEL git_sha=53c42d67c8ef98b6b878bfe21a601be39bbde023 [2023-09-20T03:56:59.939Z] ---> Running in 9e06b31480fb [2023-09-20T03:56:59.939Z] Removing intermediate container 9e06b31480fb [2023-09-20T03:56:59.939Z] ---> 7cb0e0ee8c1b [2023-09-20T03:56:59.939Z] Step 26/26 : LABEL version=0.0.0 [2023-09-20T03:56:59.939Z] ---> Running in 1488c8e482fc [2023-09-20T03:56:59.939Z] Removing intermediate container 1488c8e482fc [2023-09-20T03:56:59.939Z] ---> 660abafee6a3 [2023-09-20T03:56:59.939Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T03:56:59.939Z] Successfully built 660abafee6a3 [2023-09-20T03:56:59.939Z] 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-09-20T03:57:00.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T03:57:00.739Z] [2023-09-20T03:57:00.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:57:01.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T03:57:01.135Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T03:57:01.136Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T03:57:01.136Z] 04944245beec: Pulling fs layer [2023-09-20T03:57:01.136Z] 699f458cf7ca: Pulling fs layer [2023-09-20T03:57:01.136Z] 765212b225bb: Pulling fs layer [2023-09-20T03:57:01.136Z] f23df028b6ca: Pulling fs layer [2023-09-20T03:57:01.136Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T03:57:01.136Z] 765212b225bb: Waiting [2023-09-20T03:57:01.136Z] f23df028b6ca: Waiting [2023-09-20T03:57:01.136Z] d65c8cfc05b1: Waiting [2023-09-20T03:57:01.136Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T03:57:01.136Z] 2437ff75d9bd: Waiting [2023-09-20T03:57:01.404Z] 04944245beec: Verifying Checksum [2023-09-20T03:57:01.404Z] 04944245beec: Download complete [2023-09-20T03:57:01.404Z] 765212b225bb: Verifying Checksum [2023-09-20T03:57:01.404Z] 765212b225bb: Download complete [2023-09-20T03:57:01.404Z] f23df028b6ca: Verifying Checksum [2023-09-20T03:57:01.404Z] f23df028b6ca: Download complete [2023-09-20T03:57:01.404Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T03:57:01.404Z] d65c8cfc05b1: Download complete [2023-09-20T03:57:01.404Z] 699f458cf7ca: Verifying Checksum [2023-09-20T03:57:01.404Z] 699f458cf7ca: Download complete [2023-09-20T03:57:02.002Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T03:57:02.002Z] 8998bd30e6a1: Download complete [2023-09-20T03:57:04.069Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T03:57:04.069Z] 2437ff75d9bd: Download complete [2023-09-20T03:57:06.695Z] 8998bd30e6a1: Pull complete [2023-09-20T03:57:07.278Z] 04944245beec: Pull complete [2023-09-20T03:57:08.688Z] 699f458cf7ca: Pull complete [2023-09-20T03:57:08.688Z] 765212b225bb: Pull complete [2023-09-20T03:57:09.650Z] f23df028b6ca: Pull complete [2023-09-20T03:57:09.650Z] d65c8cfc05b1: Pull complete [2023-09-20T03:57:24.634Z] 2437ff75d9bd: Pull complete [2023-09-20T03:57:24.634Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T03:57:24.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T03:57:24.634Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T03:57:24.958Z] prd-ubuntu20.04-docker-arm64-4c-16g-6663 does not seem to be running inside a container [2023-09-20T03:57:25.013Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T03:57:27.417Z] $ docker top 5bd6ceb08d30eef404f0f24bdb82df7491a2af006efbfe4e4189e79885969a06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:57:27.991Z] ---> job-cost.sh [2023-09-20T03:57:28.257Z] lf-activate-venv: SKIPPING [2023-09-20T03:57:28.257Z] INFO: No Stack... [2023-09-20T03:57:28.835Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T03:57:29.789Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T03:57:30.130Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [2023-09-20T03:57:30.130Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T03:57:30.218Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-80-1-stack-cost] [2023-09-20T03:57:30.223Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-80-1-stack-cost] did not exist. Created. [2023-09-20T03:57:30.223Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-80-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T03:57:30.632Z] /w/workspace/app-record-replay/1@tmp/durable-a0f8d4da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T03:57:30.970Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T03:57:31.004Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T03:57:31.053Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T03:57:31.067Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-80-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T03:57:31.143Z] $ docker stop --time=1 5bd6ceb08d30eef404f0f24bdb82df7491a2af006efbfe4e4189e79885969a06 [2023-09-20T03:57:34.034Z] $ docker rm -f --volumes 5bd6ceb08d30eef404f0f24bdb82df7491a2af006efbfe4e4189e79885969a06 [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-09-20T03:57:35.007Z] provisioning config files... [2023-09-20T03:57:35.015Z] copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-80@tmp/config8156425803351788311tmp [Pipeline] { [Pipeline] sh [2023-09-20T03:57:35.467Z] + set +x [2023-09-20T03:57:35.467Z] + curl -s https://codecov.io/bash [2023-09-20T03:57:35.467Z] + bash -s -- [2023-09-20T03:57:35.467Z] [2023-09-20T03:57:35.467Z] _____ _ [2023-09-20T03:57:35.467Z] / ____| | | [2023-09-20T03:57:35.467Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T03:57:35.467Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T03:57:35.467Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T03:57:35.467Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T03:57:35.467Z] Bash-1.0.6 [2023-09-20T03:57:35.467Z] [2023-09-20T03:57:35.467Z] [2023-09-20T03:57:35.467Z] ==> git version 2.25.1 found [2023-09-20T03:57:35.467Z] ==> 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-09-20T03:57:35.467Z] Release-Date: 2020-01-08 [2023-09-20T03:57:35.467Z] 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-09-20T03:57:35.467Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T03:57:35.467Z] ==> Jenkins CI detected. [2023-09-20T03:57:35.467Z] current dir:  /w/workspace/xfoundry_app-record-replay_PR-80 [2023-09-20T03:57:35.467Z] project root: . [2023-09-20T03:57:35.467Z] --> token set from env [2023-09-20T03:57:35.467Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T03:57:35.467Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T03:57:35.467Z] ==> Python coveragepy not found [2023-09-20T03:57:35.467Z] ==> Searching for coverage reports in: [2023-09-20T03:57:35.467Z] + . [2023-09-20T03:57:35.467Z] -> Found 1 reports [2023-09-20T03:57:35.467Z] ==> Detecting git/mercurial file structure [2023-09-20T03:57:35.467Z] ==> Reading reports [2023-09-20T03:57:35.726Z] + ./coverage.out bytes=24552 [2023-09-20T03:57:35.726Z] ==> Appending adjustments [2023-09-20T03:57:35.726Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T03:57:35.726Z] + Found adjustments [2023-09-20T03:57:35.726Z] ==> Gzipping contents [2023-09-20T03:57:35.726Z] 8.0K /tmp/codecov.i2m8nO.gz [2023-09-20T03:57:35.726Z] ==> Uploading reports [2023-09-20T03:57:35.726Z] url: https://codecov.io [2023-09-20T03:57:35.726Z] query: branch=PR-80&commit=53c42d67c8ef98b6b878bfe21a601be39bbde023&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-80%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=80&job=&cmd_args= [2023-09-20T03:57:35.726Z] -> Pinging Codecov [2023-09-20T03:57:35.726Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6761a825-4501-4abd-88ee-552c6fc4520a&branch=PR-80&commit=53c42d67c8ef98b6b878bfe21a601be39bbde023&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-80%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=80&job=&cmd_args= [2023-09-20T03:57:35.726Z] -> Uploading to [2023-09-20T03:57:35.726Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/F467761B9912B4F32F9BC62907045C81/53c42d67c8ef98b6b878bfe21a601be39bbde023/b8d866fd-6d7e-40ab-9b6a-95e08d0facfd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T035735Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f73a93cd162cd064c6f152df436da7f485a4ae0bc5ae87fb8ba5f2e56682a8f7 [2023-09-20T03:57:35.726Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T03:57:35.726Z] Dload Upload Total Spent Left Speed [2023-09-20T03:57:35.984Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4844 0 0 100 4844 0 22635 --:--:-- --:--:-- --:--:-- 22635 [2023-09-20T03:57:35.984Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/53c42d67c8ef98b6b878bfe21a601be39bbde023 [Pipeline] } [2023-09-20T03:57:36.017Z] 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-09-20T03:57:37.771Z] + [ -d /w/workspace/xfoundry_app-record-replay_PR-80/archives ] [2023-09-20T03:57:37.771Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-80/archives [2023-09-20T03:57:37.771Z] total 16 [2023-09-20T03:57:37.771Z] drwxr-xr-x 3 root root 4096 Sep 20 03:49 . [2023-09-20T03:57:37.771Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 03:49 .. [2023-09-20T03:57:37.771Z] drwxr-xr-x 2 root root 4096 Sep 20 03:49 cost [2023-09-20T03:57:37.771Z] -rw-r--r-- 1 root root 88 Sep 20 03:49 cost.csv [2023-09-20T03:57:37.771Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-80/archives [2023-09-20T03:57:37.771Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-80/archives [2023-09-20T03:57:37.771Z] total 16 [2023-09-20T03:57:37.771Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 03:49 . [2023-09-20T03:57:37.771Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 03:49 .. [2023-09-20T03:57:37.771Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 03:49 cost [2023-09-20T03:57:37.771Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 20 03:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:57:38.099Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:57:38.987Z] ---> package-listing.sh [2023-09-20T03:57:38.987Z] ++ facter osfamily [2023-09-20T03:57:38.987Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T03:57:39.251Z] + OS_FAMILY=debian [2023-09-20T03:57:39.251Z] + workspace=/w/workspace/xfoundry_app-record-replay_PR-80 [2023-09-20T03:57:39.251Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T03:57:39.251Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T03:57:39.251Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T03:57:39.251Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T03:57:39.251Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-80 ']' [2023-09-20T03:57:39.251Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T03:57:39.251Z] + case "${OS_FAMILY}" in [2023-09-20T03:57:39.251Z] + dpkg -l [2023-09-20T03:57:39.251Z] + grep '^ii' [2023-09-20T03:57:39.251Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T03:57:39.251Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T03:57:39.251Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T03:57:39.251Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-80 ']' [2023-09-20T03:57:39.251Z] + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-80/archives/ [2023-09-20T03:57:39.251Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-80/archives/ [Pipeline] echo [2023-09-20T03:57:39.284Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-80/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T03:57:39.577Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T03:57:40.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T03:57:40.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T03:57:40.354Z] prd-ubuntu20.04-docker-8c-8g-6662 does not seem to be running inside a container [2023-09-20T03:57:40.389Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-80/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-80 -v /w/workspace/xfoundry_app-record-replay_PR-80:/w/workspace/xfoundry_app-record-replay_PR-80:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-80@tmp:/w/workspace/xfoundry_app-record-replay_PR-80@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T03:57:40.585Z] $ docker top 10b214e1eba612af6bd999e1227c6f3f03c61c37691e6614795c502f6e9bc3a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T03:57:40.955Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T03:57:41.263Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T03:57:41.571Z] + ls /var/log/sa-host [2023-09-20T03:57:41.571Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T03:57:41.699Z] provisioning config files... [2023-09-20T03:57:41.710Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-80@tmp/config16824593840133768361tmp [Pipeline] { [Pipeline] echo [2023-09-20T03:57:41.764Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:57:42.077Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T03:57:42.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:57:42.505Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T03:57:42.538Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:57:42.850Z] ---> sudo-logs.sh [2023-09-20T03:57:42.850Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T03:57:42.939Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:57:43.251Z] ---> job-cost.sh [2023-09-20T03:57:43.251Z] lf-activate-venv: SKIPPING [2023-09-20T03:57:43.251Z] DEBUG: total: 0.2199999988079071 [2023-09-20T03:57:43.251Z] INFO: Retrieving Stack Cost... [2023-09-20T03:57:43.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T03:57:44.079Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T03:57:44.115Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T03:57:44.432Z] ---> logs-deploy.sh [2023-09-20T03:57:44.433Z] lf-activate-venv: SKIPPING [2023-09-20T03:57:44.433Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-80/1 [2023-09-20T03:57:44.433Z] INFO: archiving workspace using pattern(s): [2023-09-20T03:57:45.371Z] Archives upload complete. [2023-09-20T03:57:45.371Z] INFO: archiving logs to Nexus