Pull request #106 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from f8316f954191747d09b41915d8340790a9d07b38+17bff3b2376047bc87c499615cc452c2e61935d4 (07a20fc53abd31bd0b8c97fba2d166cda19f4e16) 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-ssh13421030481654029398.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh8716108422968012436.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-106/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-106/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1739975724218447922.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-106/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17259044695819862845.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh14528551105029491340.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-106/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-106/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13827811259437513443.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17500 in /w/workspace/foundry_app-record-replay_PR-106 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/foundry_app-record-replay_PR-106 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/106/head:refs/remotes/origin/PR-106 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 17bff3b2376047bc87c499615cc452c2e61935d4 into PR head commit f8316f954191747d09b41915d8340790a9d07b38 Merge succeeded, producing f8316f954191747d09b41915d8340790a9d07b38 Checking out Revision f8316f954191747d09b41915d8340790a9d07b38 (PR-106) > git config core.sparsecheckout # timeout=10 > git checkout -f f8316f954191747d09b41915d8340790a9d07b38 # 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 17bff3b2376047bc87c499615cc452c2e61935d4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f8316f954191747d09b41915d8340790a9d07b38 # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T18:14:58.993Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T18:14:59.186Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T18:14:59.301Z] ========================================================= [2023-11-14T18:14:59.301Z] EdgeX Global Pipelines Version Info [2023-11-14T18:14:59.301Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:15:00.095Z] ------------------- [2023-11-14T18:15:00.095Z] stable info: [2023-11-14T18:15:00.095Z] ------------------- [2023-11-14T18:15:00.095Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T18:15:00.095Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:15:00.095Z] Message: update stable to v1.0.257 [2023-11-14T18:15:00.664Z] ------------------- [2023-11-14T18:15:00.664Z] experimental info: [2023-11-14T18:15:00.664Z] ------------------- [2023-11-14T18:15:00.664Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T18:15:00.664Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:15:00.664Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T18:15:00.956Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-11-14T18:15:01.002Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-11-14T18:15:01.053Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T18:15:01.096Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T18:15:01.135Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T18:15:01.175Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T18:15:01.219Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T18:15:01.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T18:15:01.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T18:15:01.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T18:15:01.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T18:15:01.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-11-14T18:15:01.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T18:15:01.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T18:15:01.582Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:15:01.626Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:15:01.665Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:15:01.705Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:15:01.745Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T18:15:01.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T18:15:01.826Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T18:15:01.863Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T18:15:01.903Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T18:15:01.939Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T18:15:01.981Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T18:15:02.021Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T18:15:02.061Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T18:15:02.104Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-106 [Pipeline] echo [2023-11-14T18:15:02.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-106 [Pipeline] echo [2023-11-14T18:15:02.193Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-106 [Pipeline] echo [2023-11-14T18:15:02.235Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f8316f954191747d09b41915d8340790a9d07b38 [Pipeline] echo [2023-11-14T18:15:02.275Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f8316f9 [Pipeline] echo [2023-11-14T18:15:02.315Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:15:02.415Z] provisioning config files... [2023-11-14T18:15:02.430Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-106@tmp/config10390299857866284825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:15:02.767Z] ---> docker-login.sh [2023-11-14T18:15:02.767Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:15:03.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:03.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:03.027Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:03.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:03.027Z] [2023-11-14T18:15:03.027Z] Login Succeeded [2023-11-14T18:15:03.027Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:15:03.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:03.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:03.301Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:03.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:03.301Z] [2023-11-14T18:15:03.301Z] Login Succeeded [2023-11-14T18:15:03.301Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:15:03.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:03.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:03.301Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:03.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:03.301Z] [2023-11-14T18:15:03.301Z] Login Succeeded [2023-11-14T18:15:03.301Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:15:03.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:03.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:03.562Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:03.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:03.562Z] [2023-11-14T18:15:03.562Z] Login Succeeded [2023-11-14T18:15:03.562Z] docker.io [2023-11-14T18:15:03.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:03.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:03.824Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:03.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:03.824Z] [2023-11-14T18:15:03.824Z] Login Succeeded [2023-11-14T18:15:03.824Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:15:03.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T18:15:04.484Z] + git rev-list -1 --merges f8316f954191747d09b41915d8340790a9d07b38~1..f8316f954191747d09b41915d8340790a9d07b38 [Pipeline] echo [2023-11-14T18:15:04.575Z] -----------> git rev-list -1 --merges f8316f954191747d09b41915d8340790a9d07b38~1..f8316f954191747d09b41915d8340790a9d07b38 f8316f954191747d09b41915d8340790a9d07b38 [false] [Pipeline] sh [2023-11-14T18:15:04.899Z] + git log --format=format:%s -1 f8316f954191747d09b41915d8340790a9d07b38 [Pipeline] echo [2023-11-14T18:15:04.939Z] ========================================================= [2023-11-14T18:15:04.939Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T18:15:04.939Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:15:05.367Z] + git log --format=format:%s -1 f8316f954191747d09b41915d8340790a9d07b38 [Pipeline] echo [2023-11-14T18:15:05.398Z] [semverPrep] GIT_COMMIT: f8316f954191747d09b41915d8340790a9d07b38, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo [2023-11-14T18:15:05.425Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T18:15:05.809Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T18:15:05.810Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T18:15:05.810Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T18:15:05.810Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T18:15:05.810Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T18:15:05.810Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T18:15:05.810Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:15:06.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:15:06.230Z] [2023-11-14T18:15:06.231Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:15:06.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:15:06.620Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T18:15:06.620Z] b85a868b505f: Pulling fs layer [2023-11-14T18:15:06.620Z] e2be974225ed: Pulling fs layer [2023-11-14T18:15:06.620Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T18:15:06.620Z] 988bab9f4d93: Pulling fs layer [2023-11-14T18:15:06.620Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T18:15:06.620Z] eaf3925da568: Pulling fs layer [2023-11-14T18:15:06.620Z] bab4dde63d76: Pulling fs layer [2023-11-14T18:15:06.620Z] 988bab9f4d93: Waiting [2023-11-14T18:15:06.620Z] bde34c3a00c8: Pulling fs layer [2023-11-14T18:15:06.620Z] b352a97aabf1: Pulling fs layer [2023-11-14T18:15:06.620Z] 4872d77fe225: Pulling fs layer [2023-11-14T18:15:06.620Z] eaf3925da568: Waiting [2023-11-14T18:15:06.620Z] 5851b861e8e6: Pulling fs layer [2023-11-14T18:15:06.620Z] bde34c3a00c8: Waiting [2023-11-14T18:15:06.620Z] bab4dde63d76: Waiting [2023-11-14T18:15:06.620Z] 4872d77fe225: Waiting [2023-11-14T18:15:06.620Z] b352a97aabf1: Waiting [2023-11-14T18:15:06.620Z] 1469e6f7b9e6: Waiting [2023-11-14T18:15:06.882Z] e2be974225ed: Verifying Checksum [2023-11-14T18:15:06.882Z] e2be974225ed: Download complete [2023-11-14T18:15:06.882Z] 988bab9f4d93: Verifying Checksum [2023-11-14T18:15:06.882Z] 988bab9f4d93: Download complete [2023-11-14T18:15:06.882Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T18:15:06.882Z] 1469e6f7b9e6: Download complete [2023-11-14T18:15:06.882Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T18:15:06.882Z] 339a4e72a1f5: Download complete [2023-11-14T18:15:06.882Z] eaf3925da568: Download complete [2023-11-14T18:15:06.882Z] bde34c3a00c8: Verifying Checksum [2023-11-14T18:15:06.882Z] bde34c3a00c8: Download complete [2023-11-14T18:15:06.882Z] b352a97aabf1: Verifying Checksum [2023-11-14T18:15:06.882Z] b352a97aabf1: Download complete [2023-11-14T18:15:07.160Z] 4872d77fe225: Verifying Checksum [2023-11-14T18:15:07.160Z] 4872d77fe225: Download complete [2023-11-14T18:15:07.160Z] 5851b861e8e6: Verifying Checksum [2023-11-14T18:15:07.160Z] 5851b861e8e6: Download complete [2023-11-14T18:15:07.160Z] b85a868b505f: Verifying Checksum [2023-11-14T18:15:07.160Z] b85a868b505f: Download complete [2023-11-14T18:15:07.420Z] bab4dde63d76: Verifying Checksum [2023-11-14T18:15:07.420Z] bab4dde63d76: Download complete [2023-11-14T18:15:08.364Z] b85a868b505f: Pull complete [2023-11-14T18:15:08.623Z] e2be974225ed: Pull complete [2023-11-14T18:15:09.194Z] 339a4e72a1f5: Pull complete [2023-11-14T18:15:09.194Z] 988bab9f4d93: Pull complete [2023-11-14T18:15:09.762Z] 1469e6f7b9e6: Pull complete [2023-11-14T18:15:10.023Z] eaf3925da568: Pull complete [2023-11-14T18:15:11.934Z] bab4dde63d76: Pull complete [2023-11-14T18:15:12.194Z] bde34c3a00c8: Pull complete [2023-11-14T18:15:12.194Z] b352a97aabf1: Pull complete [2023-11-14T18:15:12.455Z] 4872d77fe225: Pull complete [2023-11-14T18:15:12.455Z] 5851b861e8e6: Pull complete [2023-11-14T18:15:12.455Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T18:15:12.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:15:12.455Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:15:12.712Z] prd-ubuntu20.04-docker-8c-8g-17500 does not seem to be running inside a container [2023-11-14T18:15:12.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-106 -v /w/workspace/foundry_app-record-replay_PR-106:/w/workspace/foundry_app-record-replay_PR-106:rw,z -v /w/workspace/foundry_app-record-replay_PR-106@tmp:/w/workspace/foundry_app-record-replay_PR-106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-14T18:15:19.574Z] $ docker top 94e044dc3ea2bde3e8599e28918b3d872d68991eb5ed57785eb61b75da92c366 -eo pid,comm [2023-11-14T18:15:19.639Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-14T18:15:19.639Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T18:15:19.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:15:19.762Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:15:19.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:15:19.872Z] $ docker exec 94e044dc3ea2bde3e8599e28918b3d872d68991eb5ed57785eb61b75da92c366 ssh-agent [2023-11-14T18:15:19.998Z] SSH_AUTH_SOCK=/tmp/ssh-hY4H6O3T3Kgg/agent.33 [2023-11-14T18:15:19.998Z] SSH_AGENT_PID=40 [2023-11-14T18:15:20.008Z] Running ssh-add (command line suppressed) [2023-11-14T18:15:20.117Z] Identity added: /w/workspace/foundry_app-record-replay_PR-106@tmp/private_key_17445369561491606682.key (/w/workspace/foundry_app-record-replay_PR-106@tmp/private_key_17445369561491606682.key) [2023-11-14T18:15:20.133Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:15:20.471Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T18:15:20.497Z] $ docker exec --env ******** --env ******** 94e044dc3ea2bde3e8599e28918b3d872d68991eb5ed57785eb61b75da92c366 ssh-agent -k [2023-11-14T18:15:20.590Z] unset SSH_AUTH_SOCK; [2023-11-14T18:15:20.591Z] unset SSH_AGENT_PID; [2023-11-14T18:15:20.591Z] echo Agent pid 40 killed; [2023-11-14T18:15:20.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T18:15:20.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:15:20.691Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:15:20.806Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:15:20.812Z] $ docker exec 94e044dc3ea2bde3e8599e28918b3d872d68991eb5ed57785eb61b75da92c366 ssh-agent [2023-11-14T18:15:20.923Z] SSH_AUTH_SOCK=/tmp/ssh-9wDy9LnjACVF/agent.72 [2023-11-14T18:15:20.923Z] SSH_AGENT_PID=78 [2023-11-14T18:15:20.928Z] Running ssh-add (command line suppressed) [2023-11-14T18:15:21.042Z] Identity added: /w/workspace/foundry_app-record-replay_PR-106@tmp/private_key_16673997997195321800.key (/w/workspace/foundry_app-record-replay_PR-106@tmp/private_key_16673997997195321800.key) [2023-11-14T18:15:21.054Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:15:21.392Z] + git semver init [2023-11-14T18:15:21.658Z] 2023-11-14 18:15:21,627 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T18:15:21.658Z] 2023-11-14 18:15:21,629 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-106/.semver [2023-11-14T18:15:21.658Z] 2023-11-14 18:15:21,630 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-106/.semver [2023-11-14T18:15:21.658Z] 2023-11-14 18:15:21,631 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-106/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-106, universal_newlines=False, shell=None, istream=None) [2023-11-14T18:15:22.598Z] 2023-11-14 18:15:22,569 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-106/.git/info/exclude [2023-11-14T18:15:22.598Z] 2023-11-14 18:15:22,569 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-106/.semver/PR-106 with force:False [2023-11-14T18:15:22.598Z] 2023-11-14 18:15:22,569 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-106/.semver/PR-106 [2023-11-14T18:15:22.598Z] 2023-11-14 18:15:22,574 [execute] INFO git cat-file --batch-check [2023-11-14T18:15:22.598Z] 2023-11-14 18:15:22,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-106/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:15:22.598Z] 2023-11-14 18:15:22,579 [execute] INFO git cat-file --batch [2023-11-14T18:15:22.598Z] 2023-11-14 18:15:22,580 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-106/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:15:22.598Z] 2023-11-14 18:15:22,583 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-106/.semver/PR-106 [2023-11-14T18:15:22.598Z] 0.0.0 [Pipeline] } [2023-11-14T18:15:22.917Z] $ docker exec --env ******** --env ******** 94e044dc3ea2bde3e8599e28918b3d872d68991eb5ed57785eb61b75da92c366 ssh-agent -k [2023-11-14T18:15:23.024Z] unset SSH_AUTH_SOCK; [2023-11-14T18:15:23.025Z] unset SSH_AGENT_PID; [2023-11-14T18:15:23.025Z] echo Agent pid 78 killed; [2023-11-14T18:15:23.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T18:15:23.457Z] + git semver [Pipeline] } [2023-11-14T18:15:23.746Z] $ docker stop --time=1 94e044dc3ea2bde3e8599e28918b3d872d68991eb5ed57785eb61b75da92c366 [2023-11-14T18:15:25.328Z] $ docker rm -f --volumes 94e044dc3ea2bde3e8599e28918b3d872d68991eb5ed57785eb61b75da92c366 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:15:25.760Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T18:15:26.076Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T18:15:26.094Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:15:26.703Z] provisioning config files... [2023-11-14T18:15:26.713Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-106@tmp/config3012591956482147419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:15:27.089Z] ---> docker-login.sh [2023-11-14T18:15:27.089Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:15:27.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:27.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:27.089Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:27.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:27.089Z] [2023-11-14T18:15:27.089Z] Login Succeeded [2023-11-14T18:15:27.089Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:15:27.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:27.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:27.352Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:27.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:27.352Z] [2023-11-14T18:15:27.352Z] Login Succeeded [2023-11-14T18:15:27.352Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:15:27.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:27.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:27.352Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:27.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:27.352Z] [2023-11-14T18:15:27.352Z] Login Succeeded [2023-11-14T18:15:27.352Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:15:27.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:27.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:27.619Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:27.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:27.619Z] [2023-11-14T18:15:27.619Z] Login Succeeded [2023-11-14T18:15:27.619Z] docker.io [2023-11-14T18:15:27.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:15:27.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:15:27.878Z] Configure a credential helper to remove this warning. See [2023-11-14T18:15:27.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:15:27.878Z] [2023-11-14T18:15:27.878Z] Login Succeeded [2023-11-14T18:15:27.878Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:15:27.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:15:28.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:15:28.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:15:28.198Z] ========================================================= [2023-11-14T18:15:28.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T18:15:28.198Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:15:28.684Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T18:15:28.684Z] Sending build context to Docker daemon 652.3kB [2023-11-14T18:15:28.684Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:15:28.684Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T18:15:28.963Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T18:15:28.963Z] 7264a8db6415: Pulling fs layer [2023-11-14T18:15:28.963Z] c4d48a809fc2: Pulling fs layer [2023-11-14T18:15:28.963Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T18:15:28.963Z] ad3a456e5733: Pulling fs layer [2023-11-14T18:15:28.963Z] 69c7f0334f64: Pulling fs layer [2023-11-14T18:15:28.963Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T18:15:28.963Z] ce7588e14bc9: Pulling fs layer [2023-11-14T18:15:28.963Z] b5e4710f87ac: Pulling fs layer [2023-11-14T18:15:28.963Z] 1f1c1a5573a3: Waiting [2023-11-14T18:15:28.963Z] ad3a456e5733: Waiting [2023-11-14T18:15:28.963Z] ce7588e14bc9: Waiting [2023-11-14T18:15:28.963Z] b5e4710f87ac: Waiting [2023-11-14T18:15:28.963Z] 69c7f0334f64: Waiting [2023-11-14T18:15:28.963Z] c4d48a809fc2: Download complete [2023-11-14T18:15:28.963Z] ad3a456e5733: Download complete [2023-11-14T18:15:28.963Z] 69c7f0334f64: Verifying Checksum [2023-11-14T18:15:28.963Z] 69c7f0334f64: Download complete [2023-11-14T18:15:28.963Z] 7264a8db6415: Verifying Checksum [2023-11-14T18:15:28.963Z] 7264a8db6415: Download complete [2023-11-14T18:15:29.222Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T18:15:29.222Z] 1f1c1a5573a3: Download complete [2023-11-14T18:15:29.222Z] 7264a8db6415: Pull complete [2023-11-14T18:15:29.486Z] b5e4710f87ac: Verifying Checksum [2023-11-14T18:15:29.486Z] b5e4710f87ac: Download complete [2023-11-14T18:15:29.486Z] c4d48a809fc2: Pull complete [2023-11-14T18:15:29.486Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T18:15:29.486Z] 4f1c88b9dad5: Download complete [2023-11-14T18:15:30.055Z] ce7588e14bc9: Verifying Checksum [2023-11-14T18:15:30.055Z] ce7588e14bc9: Download complete [2023-11-14T18:15:35.399Z] 4f1c88b9dad5: Pull complete [2023-11-14T18:15:35.399Z] ad3a456e5733: Pull complete [2023-11-14T18:15:36.344Z] 69c7f0334f64: Pull complete [2023-11-14T18:15:37.724Z] 1f1c1a5573a3: Pull complete [2023-11-14T18:15:41.520Z] Still waiting to schedule task [2023-11-14T18:15:41.521Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17499’ [2023-11-14T18:15:42.060Z] ce7588e14bc9: Pull complete [2023-11-14T18:15:42.632Z] b5e4710f87ac: Pull complete [2023-11-14T18:15:43.201Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T18:15:43.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T18:15:43.770Z] ---> 88b5674ff536 [2023-11-14T18:15:43.770Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T18:16:10.713Z] ---> Running in 0d493391250e [2023-11-14T18:16:10.713Z] Removing intermediate container 0d493391250e [2023-11-14T18:16:10.713Z] ---> 43d3983365f8 [2023-11-14T18:16:10.713Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:16:11.280Z] ---> Running in 1f5fa6121e14 [2023-11-14T18:16:11.849Z] Removing intermediate container 1f5fa6121e14 [2023-11-14T18:16:11.849Z] ---> c8139d7c97e0 [2023-11-14T18:16:11.849Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:16:12.112Z] ---> Running in 7193a771a13f [2023-11-14T18:16:12.681Z] Removing intermediate container 7193a771a13f [2023-11-14T18:16:12.681Z] ---> ef81a073180e [2023-11-14T18:16:12.681Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:16:13.252Z] ---> Running in 2fe59009bb64 [2023-11-14T18:16:13.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:16:14.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:16:14.342Z] OK: 264 MiB in 52 packages [2023-11-14T18:16:16.264Z] Removing intermediate container 2fe59009bb64 [2023-11-14T18:16:16.264Z] ---> fe834c37a79e [2023-11-14T18:16:16.264Z] Step 7/12 : WORKDIR /app [2023-11-14T18:16:16.523Z] ---> Running in ba405c30faa3 [2023-11-14T18:16:16.783Z] Removing intermediate container ba405c30faa3 [2023-11-14T18:16:16.783Z] ---> aee8f02ad80f [2023-11-14T18:16:16.783Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-14T18:16:18.163Z] ---> df16b379ec18 [2023-11-14T18:16:18.163Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:16:18.432Z] ---> Running in 1987be9f3d16 [2023-11-14T18:17:14.715Z] Removing intermediate container 1987be9f3d16 [2023-11-14T18:17:14.715Z] ---> da3e3a02bc95 [2023-11-14T18:17:14.715Z] Step 10/12 : COPY . . [2023-11-14T18:17:14.715Z] ---> 583a87f13756 [2023-11-14T18:17:14.715Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:17:14.715Z] ---> Running in e2c1ad3462ed [2023-11-14T18:17:14.715Z] Removing intermediate container e2c1ad3462ed [2023-11-14T18:17:14.715Z] ---> 3e3c03a40121 [2023-11-14T18:17:14.715Z] Step 12/12 : RUN $MAKE [2023-11-14T18:17:14.715Z] ---> Running in 20b877c6a0c8 [2023-11-14T18:17:14.715Z] noop [2023-11-14T18:17:14.715Z] Removing intermediate container 20b877c6a0c8 [2023-11-14T18:17:14.715Z] ---> c557edcd97a7 [2023-11-14T18:17:14.715Z] Successfully built c557edcd97a7 [2023-11-14T18:17:14.715Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:17:15.178Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:17:15.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:17:15.335Z] prd-ubuntu20.04-docker-8c-8g-17500 does not seem to be running inside a container [2023-11-14T18:17:15.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-106 -v /w/workspace/foundry_app-record-replay_PR-106:/w/workspace/foundry_app-record-replay_PR-106:rw,z -v /w/workspace/foundry_app-record-replay_PR-106@tmp:/w/workspace/foundry_app-record-replay_PR-106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T18:17:16.084Z] $ docker top ab5674da3dceb88eeec4083c01b6176912226cdf21971547ff23cf3b68bb7c67 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:17:16.491Z] + go version [2023-11-14T18:17:16.492Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T18:17:16.524Z] $ docker stop --time=1 ab5674da3dceb88eeec4083c01b6176912226cdf21971547ff23cf3b68bb7c67 [2023-11-14T18:17:17.912Z] $ docker rm -f --volumes ab5674da3dceb88eeec4083c01b6176912226cdf21971547ff23cf3b68bb7c67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:17:18.714Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:17:18.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:17:18.872Z] prd-ubuntu20.04-docker-8c-8g-17500 does not seem to be running inside a container [2023-11-14T18:17:18.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_app-record-replay_PR-106 -v /w/workspace/foundry_app-record-replay_PR-106:/w/workspace/foundry_app-record-replay_PR-106:rw,z -v /w/workspace/foundry_app-record-replay_PR-106@tmp:/w/workspace/foundry_app-record-replay_PR-106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T18:17:19.493Z] $ docker top c7d4f36adbb9c7f218d9056d576b042df6735539213b2ee8f9f1fc02a48b9559 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:17:19.902Z] + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-106 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:17:20.263Z] + make test [2023-11-14T18:17:20.263Z] go test -race -coverprofile=coverage.out ./... [2023-11-14T18:17:42.211Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-11-14T18:17:42.211Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-11-14T18:17:42.211Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-11-14T18:17:42.211Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-11-14T18:17:42.472Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.052s coverage: 88.0% of statements [2023-11-14T18:17:52.783Z] ok github.com/edgexfoundry/app-record-replay/internal/application 10.502s coverage: 98.7% of statements [2023-11-14T18:17:52.783Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.131s coverage: 89.7% of statements [2023-11-14T18:17:52.783Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.038s coverage: 100.0% of statements [2023-11-14T18:18:14.718Z] go vet ./... [2023-11-14T18:18:18.016Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:18:18.016Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:18:18.016Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:18:18.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:18:18.087Z] $ docker stop --time=1 c7d4f36adbb9c7f218d9056d576b042df6735539213b2ee8f9f1fc02a48b9559 [2023-11-14T18:18:23.455Z] $ docker rm -f --volumes c7d4f36adbb9c7f218d9056d576b042df6735539213b2ee8f9f1fc02a48b9559 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:18:24.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:18:24.130Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T18:18:24.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:18:25.049Z] + ls -al . [2023-11-14T18:18:25.049Z] total 192 [2023-11-14T18:18:25.049Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:17 . [2023-11-14T18:18:25.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:14 .. [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 119 Nov 14 18:14 .dockerignore [2023-11-14T18:18:25.049Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:17 .git [2023-11-14T18:18:25.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:14 .github [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 164 Nov 14 18:14 .gitignore [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:14 .golangci.yml [2023-11-14T18:18:25.049Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:15 .semver [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 11301 Nov 14 18:14 Attribution.txt [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 458 Nov 14 18:14 CHANGELOG.md [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 1725 Nov 14 18:14 Dockerfile [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:14 GOVERNANCE.md [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 681 Nov 14 18:14 Jenkinsfile [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 14 18:14 LICENSE [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 3139 Nov 14 18:14 Makefile [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 611 Nov 14 18:14 OWNERS.md [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 4107 Nov 14 18:14 README.md [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 7789 Nov 14 18:14 Record and Reply.postman_collection.json [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:15 VERSION [2023-11-14T18:18:25.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:14 bin [2023-11-14T18:18:25.049Z] -rw-r--r-- 1 jenkins jenkins 24666 Nov 14 18:17 coverage.out [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 3859 Nov 14 18:14 go.mod [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 34797 Nov 14 18:14 go.sum [2023-11-14T18:18:25.049Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 18:14 internal [2023-11-14T18:18:25.049Z] -rw-rw-r-- 1 jenkins jenkins 913 Nov 14 18:14 main.go [2023-11-14T18:18:25.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:14 openapi [2023-11-14T18:18:25.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:14 pkg [2023-11-14T18:18:25.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:14 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:18:25.460Z] + 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=f8316f954191747d09b41915d8340790a9d07b38 --label arch=amd64 --label version=0.0.0 . [2023-11-14T18:18:25.460Z] Sending build context to Docker daemon 677.9kB [2023-11-14T18:18:25.460Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:18:25.460Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-14T18:18:25.460Z] ---> c557edcd97a7 [2023-11-14T18:18:25.460Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T18:18:25.719Z] ---> Running in 96331063fd2e [2023-11-14T18:18:25.978Z] Removing intermediate container 96331063fd2e [2023-11-14T18:18:25.978Z] ---> 594cac2dbb6a [2023-11-14T18:18:25.978Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:18:25.978Z] ---> Running in f2b12012b7ef [2023-11-14T18:18:25.978Z] Removing intermediate container f2b12012b7ef [2023-11-14T18:18:25.978Z] ---> 8f882c6d53ad [2023-11-14T18:18:25.978Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:18:25.978Z] ---> Running in 8108b40db755 [2023-11-14T18:18:26.237Z] Removing intermediate container 8108b40db755 [2023-11-14T18:18:26.237Z] ---> 551348db0bf1 [2023-11-14T18:18:26.237Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:18:26.237Z] ---> Running in e0d23f52e104 [2023-11-14T18:18:26.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:18:26.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:18:27.013Z] OK: 264 MiB in 52 packages [2023-11-14T18:18:27.581Z] Removing intermediate container e0d23f52e104 [2023-11-14T18:18:27.581Z] ---> 4c62c20321f2 [2023-11-14T18:18:27.581Z] Step 7/27 : WORKDIR /app [2023-11-14T18:18:27.581Z] ---> Running in 4f0c18426ae9 [2023-11-14T18:18:27.581Z] Removing intermediate container 4f0c18426ae9 [2023-11-14T18:18:27.581Z] ---> 73a5573c0a24 [2023-11-14T18:18:27.581Z] Step 8/27 : COPY go.mod vendor* ./ [2023-11-14T18:18:27.840Z] ---> 8e005fd711f5 [2023-11-14T18:18:27.840Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:18:27.840Z] ---> Running in d65632e169cd [2023-11-14T18:18:28.777Z] Removing intermediate container d65632e169cd [2023-11-14T18:18:28.777Z] ---> 35d152b48122 [2023-11-14T18:18:28.777Z] Step 10/27 : COPY . . [2023-11-14T18:18:29.035Z] ---> 59b8d10d37b9 [2023-11-14T18:18:29.035Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:18:29.035Z] ---> Running in 4b154b9a5287 [2023-11-14T18:18:29.035Z] Removing intermediate container 4b154b9a5287 [2023-11-14T18:18:29.035Z] ---> 324bace830b8 [2023-11-14T18:18:29.035Z] Step 12/27 : RUN $MAKE [2023-11-14T18:18:29.035Z] ---> Running in fbfc85630525 [2023-11-14T18:18:29.293Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-11-14T18:18:55.900Z] Removing intermediate container fbfc85630525 [2023-11-14T18:18:55.901Z] ---> c8ec55a8a62d [2023-11-14T18:18:55.901Z] Step 13/27 : FROM alpine:3.18 [2023-11-14T18:18:55.901Z] 3.18: Pulling from library/alpine [2023-11-14T18:18:55.901Z] 96526aa774ef: Pulling fs layer [2023-11-14T18:18:55.901Z] 96526aa774ef: Verifying Checksum [2023-11-14T18:18:55.901Z] 96526aa774ef: Download complete [2023-11-14T18:18:55.901Z] 96526aa774ef: Pull complete [2023-11-14T18:18:55.901Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:18:55.901Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:18:55.901Z] ---> 8ca4688f4f35 [2023-11-14T18:18:55.901Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T18:18:55.901Z] ---> Running in e191f623461e [2023-11-14T18:18:55.901Z] Removing intermediate container e191f623461e [2023-11-14T18:18:55.901Z] ---> 0a3f2752f382 [2023-11-14T18:18:55.901Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2023-11-14T18:18:55.901Z] ---> Running in 5bd66bdb622c [2023-11-14T18:18:56.159Z] Removing intermediate container 5bd66bdb622c [2023-11-14T18:18:56.159Z] ---> 979e607a2385 [2023-11-14T18:18:56.159Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-11-14T18:18:56.159Z] ---> Running in c886f1b15c0c [2023-11-14T18:18:56.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:18:56.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:18:56.973Z] (1/2) Installing ca-certificates (20230506-r0) [2023-11-14T18:18:56.973Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-11-14T18:18:56.973Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:18:56.973Z] Executing ca-certificates-20230506-r0.trigger [2023-11-14T18:18:57.231Z] OK: 8 MiB in 17 packages [2023-11-14T18:18:57.797Z] Removing intermediate container c886f1b15c0c [2023-11-14T18:18:57.797Z] ---> a71a1ee4cc6d [2023-11-14T18:18:57.797Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-14T18:18:57.797Z] ---> Running in a120809a62c2 [2023-11-14T18:18:58.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:18:58.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:18:58.314Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:18:58.314Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:18:58.314Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:18:58.314Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:18:58.314Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:18:58.314Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:18:58.314Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:18:58.314Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:18:58.314Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:18:58.314Z] Executing ca-certificates-20230506-r0.trigger [2023-11-14T18:18:58.314Z] OK: 8 MiB in 17 packages [2023-11-14T18:19:00.250Z] Removing intermediate container a120809a62c2 [2023-11-14T18:19:00.250Z] ---> a9fcf7baf5f0 [2023-11-14T18:19:00.250Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-11-14T18:19:00.509Z] ---> b1ccfc168cdc [2023-11-14T18:19:00.509Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2023-11-14T18:19:00.769Z] ---> 53fd7c489680 [2023-11-14T18:19:00.769Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2023-11-14T18:19:00.769Z] ---> da30727b87d3 [2023-11-14T18:19:00.769Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-11-14T18:19:01.311Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17502 in /w/workspace/foundry_app-record-replay_PR-106 [Pipeline] { [Pipeline] ws [2023-11-14T18:19:01.368Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2023-11-14T18:19:01.455Z] Selected Git installation does not exist. Using Default [2023-11-14T18:19:01.455Z] The recommended git tool is: NONE [2023-11-14T18:19:02.149Z] ---> 6cdff030a4da [2023-11-14T18:19:02.150Z] Step 22/27 : EXPOSE 59712 [2023-11-14T18:19:02.150Z] ---> Running in 18c547663e05 [2023-11-14T18:19:02.410Z] Removing intermediate container 18c547663e05 [2023-11-14T18:19:02.410Z] ---> 4d1c4292427f [2023-11-14T18:19:02.410Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2023-11-14T18:19:02.410Z] ---> Running in d750fea70f2a [2023-11-14T18:19:02.410Z] Removing intermediate container d750fea70f2a [2023-11-14T18:19:02.410Z] ---> 48bbaad72055 [2023-11-14T18:19:02.410Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T18:19:02.410Z] ---> Running in 7e0ae32cf68d [2023-11-14T18:19:02.670Z] Removing intermediate container 7e0ae32cf68d [2023-11-14T18:19:02.670Z] ---> 510024b2702e [2023-11-14T18:19:02.670Z] Step 25/27 : LABEL arch=amd64 [2023-11-14T18:19:02.670Z] ---> Running in 96d11e9e6126 [2023-11-14T18:19:02.670Z] Removing intermediate container 96d11e9e6126 [2023-11-14T18:19:02.670Z] ---> 2d94e90c2fc4 [2023-11-14T18:19:02.670Z] Step 26/27 : LABEL git_sha=f8316f954191747d09b41915d8340790a9d07b38 [2023-11-14T18:19:02.670Z] ---> Running in 96630e5ba8e8 [2023-11-14T18:19:02.670Z] Removing intermediate container 96630e5ba8e8 [2023-11-14T18:19:02.670Z] ---> ea6f541109e7 [2023-11-14T18:19:02.670Z] Step 27/27 : LABEL version=0.0.0 [2023-11-14T18:19:02.933Z] ---> Running in 40a570aa89cc [2023-11-14T18:19:02.933Z] Removing intermediate container 40a570aa89cc [2023-11-14T18:19:02.933Z] ---> b2621cc77669 [2023-11-14T18:19:02.933Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:19:02.933Z] Successfully built b2621cc77669 [2023-11-14T18:19:02.933Z] Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:19:03.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:19:03.821Z] [2023-11-14T18:19:03.821Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:19:04.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:19:04.204Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T18:19:04.204Z] 5eb5b503b376: Pulling fs layer [2023-11-14T18:19:04.204Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T18:19:04.204Z] ec43610c2a17: Pulling fs layer [2023-11-14T18:19:04.204Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T18:19:04.204Z] 33b1e0a273af: Pulling fs layer [2023-11-14T18:19:04.204Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T18:19:04.204Z] 2f39f015ded8: Pulling fs layer [2023-11-14T18:19:04.204Z] 3a2ae6a8a46f: Waiting [2023-11-14T18:19:04.204Z] 33b1e0a273af: Waiting [2023-11-14T18:19:04.204Z] 2f39f015ded8: Waiting [2023-11-14T18:19:04.204Z] 5d3b04190fa2: Waiting [2023-11-14T18:19:04.204Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T18:19:04.204Z] 5c69ac0246d0: Download complete [2023-11-14T18:19:04.204Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T18:19:04.204Z] 3a2ae6a8a46f: Download complete [2023-11-14T18:19:04.463Z] 33b1e0a273af: Verifying Checksum [2023-11-14T18:19:04.463Z] 33b1e0a273af: Download complete [2023-11-14T18:19:04.463Z] 5d3b04190fa2: Download complete [2023-11-14T18:19:04.463Z] ec43610c2a17: Verifying Checksum [2023-11-14T18:19:04.463Z] ec43610c2a17: Download complete [2023-11-14T18:19:04.463Z] 5eb5b503b376: Download complete [2023-11-14T18:19:05.032Z] 2f39f015ded8: Download complete [2023-11-14T18:19:05.971Z] 5eb5b503b376: Pull complete [2023-11-14T18:19:05.971Z] 5c69ac0246d0: Pull complete [2023-11-14T18:19:06.452Z] using credential edgex-jenkins-ssh [2023-11-14T18:19:06.467Z] Cloning the remote Git repository [2023-11-14T18:19:06.536Z] ec43610c2a17: Pull complete [2023-11-14T18:19:06.536Z] 3a2ae6a8a46f: Pull complete [2023-11-14T18:19:06.519Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-11-14T18:19:06.797Z] 33b1e0a273af: Pull complete [2023-11-14T18:19:06.797Z] 5d3b04190fa2: Pull complete [2023-11-14T18:19:06.619Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2023-11-14T18:19:06.768Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-11-14T18:19:06.769Z] > git --version # timeout=10 [2023-11-14T18:19:06.792Z] > git --version # 'git version 2.25.1' [2023-11-14T18:19:06.795Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:19:06.947Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:19:07.738Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-11-14T18:19:07.756Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:19:08.598Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-11-14T18:19:08.640Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-11-14T18:19:08.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:19:08.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/106/head:refs/remotes/origin/PR-106 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T18:19:09.287Z] Merging remotes/origin/main commit 17bff3b2376047bc87c499615cc452c2e61935d4 into PR head commit f8316f954191747d09b41915d8340790a9d07b38 [2023-11-14T18:19:09.641Z] Merge succeeded, producing f8316f954191747d09b41915d8340790a9d07b38 [2023-11-14T18:19:09.641Z] Checking out Revision f8316f954191747d09b41915d8340790a9d07b38 (PR-106) [2023-11-14T18:19:09.321Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:19:09.434Z] > git checkout -f f8316f954191747d09b41915d8340790a9d07b38 # timeout=10 [2023-11-14T18:19:09.521Z] > git remote # timeout=10 [2023-11-14T18:19:09.542Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T18:19:09.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:19:09.583Z] > git merge 17bff3b2376047bc87c499615cc452c2e61935d4 # timeout=10 [2023-11-14T18:19:09.611Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T18:19:09.651Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:19:09.670Z] > git checkout -f f8316f954191747d09b41915d8340790a9d07b38 # timeout=10 [2023-11-14T18:19:13.160Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T18:19:13.219Z] > git --version # timeout=10 [2023-11-14T18:19:13.231Z] > git --version # 'git version 2.25.1' [2023-11-14T18:19:13.243Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:19:13.701Z] [2023-11-14T18:19:13.701Z] GitHub has been notified of this commit’s build result [2023-11-14T18:19:13.701Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:19:14.452Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T18:19:14.452Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:19:14.452Z] Dload Upload Total Spent Left Speed [2023-11-14T18:19:14.452Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93940 0 --:--:-- --:--:-- --:--:-- 94641 [Pipeline] sh [2023-11-14T18:19:15.262Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T18:19:15.616Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T18:19:15.616Z] + sudo tee /etc/docker/daemon.new [2023-11-14T18:19:15.616Z] { [2023-11-14T18:19:15.616Z] "registry-mirrors": [ [2023-11-14T18:19:15.616Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T18:19:15.616Z] ], [2023-11-14T18:19:15.616Z] "bip": "10.250.0.254/24", [2023-11-14T18:19:15.616Z] "hosts": [ [2023-11-14T18:19:15.616Z] "tcp://0.0.0.0:5555", [2023-11-14T18:19:15.616Z] "unix:///var/run/docker.sock" [2023-11-14T18:19:15.616Z] ], [2023-11-14T18:19:15.616Z] "mtu": 1458, [2023-11-14T18:19:15.616Z] "selinux-enabled": true, [2023-11-14T18:19:15.616Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T18:19:15.616Z] } [Pipeline] sh [2023-11-14T18:19:15.970Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T18:19:16.328Z] + sudo service docker restart [2023-11-14T18:19:21.695Z] 2f39f015ded8: Pull complete [2023-11-14T18:19:21.695Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T18:19:21.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:19:21.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:19:21.938Z] prd-ubuntu20.04-docker-8c-8g-17500 does not seem to be running inside a container [2023-11-14T18:19:21.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_app-record-replay_PR-106 -v /w/workspace/foundry_app-record-replay_PR-106:/w/workspace/foundry_app-record-replay_PR-106:rw,z -v /w/workspace/foundry_app-record-replay_PR-106@tmp:/w/workspace/foundry_app-record-replay_PR-106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T18:19:22.459Z] $ docker top 907f0c269ec2d68d24ea26c7d04802ec19b25d3029926bc0c31edef976d8da35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:19:22.890Z] ---> job-cost.sh [2023-11-14T18:19:22.890Z] lf-activate-venv: SKIPPING [2023-11-14T18:19:22.890Z] INFO: No Stack... [2023-11-14T18:19:23.148Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:19:23.411Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:19:23.722Z] + cat /w/workspace/foundry_app-record-replay_PR-106/archives/cost.csv [2023-11-14T18:19:23.722Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T18:19:23.766Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-106-1-stack-cost] [2023-11-14T18:19:23.771Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-106-1-stack-cost] did not exist. Created. [2023-11-14T18:19:23.771Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-106-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:19:24.158Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T18:19:24.208Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:19:24.239Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-106-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:19:24.329Z] $ docker stop --time=1 907f0c269ec2d68d24ea26c7d04802ec19b25d3029926bc0c31edef976d8da35 [2023-11-14T18:19:26.010Z] $ docker rm -f --volumes 907f0c269ec2d68d24ea26c7d04802ec19b25d3029926bc0c31edef976d8da35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:19:34.681Z] provisioning config files... [2023-11-14T18:19:34.707Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config4425312235868503095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:19:35.103Z] ---> docker-login.sh [2023-11-14T18:19:35.104Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:19:35.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:19:35.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:19:35.651Z] Configure a credential helper to remove this warning. See [2023-11-14T18:19:35.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:19:35.651Z] [2023-11-14T18:19:35.651Z] Login Succeeded [2023-11-14T18:19:35.651Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:19:35.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:19:36.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:19:36.196Z] Configure a credential helper to remove this warning. See [2023-11-14T18:19:36.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:19:36.196Z] [2023-11-14T18:19:36.196Z] Login Succeeded [2023-11-14T18:19:36.196Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:19:36.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:19:36.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:19:36.467Z] Configure a credential helper to remove this warning. See [2023-11-14T18:19:36.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:19:36.467Z] [2023-11-14T18:19:36.467Z] Login Succeeded [2023-11-14T18:19:36.467Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:19:36.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:19:36.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:19:36.740Z] Configure a credential helper to remove this warning. See [2023-11-14T18:19:36.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:19:36.740Z] [2023-11-14T18:19:36.740Z] Login Succeeded [2023-11-14T18:19:36.740Z] docker.io [2023-11-14T18:19:37.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:19:37.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:19:37.277Z] Configure a credential helper to remove this warning. See [2023-11-14T18:19:37.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:19:37.277Z] [2023-11-14T18:19:37.277Z] Login Succeeded [2023-11-14T18:19:37.277Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:19:37.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:19:37.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:19:37.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:19:37.778Z] ========================================================= [2023-11-14T18:19:37.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T18:19:37.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:19:38.285Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T18:19:38.285Z] Sending build context to Docker daemon 258.6kB [2023-11-14T18:19:38.568Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:19:38.568Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T18:19:38.568Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T18:19:38.568Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T18:19:38.568Z] 5d54e960e981: Pulling fs layer [2023-11-14T18:19:38.568Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T18:19:38.568Z] f0e02332f6b5: Pulling fs layer [2023-11-14T18:19:38.568Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T18:19:38.568Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T18:19:38.568Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T18:19:38.568Z] 0c6a40ed1a82: Waiting [2023-11-14T18:19:38.568Z] f0e02332f6b5: Waiting [2023-11-14T18:19:38.568Z] 872ee5b61b7b: Waiting [2023-11-14T18:19:38.568Z] 94ae7d8d031c: Waiting [2023-11-14T18:19:38.841Z] 5d54e960e981: Verifying Checksum [2023-11-14T18:19:38.841Z] 5d54e960e981: Download complete [2023-11-14T18:19:38.841Z] f0e02332f6b5: Verifying Checksum [2023-11-14T18:19:38.841Z] f0e02332f6b5: Download complete [2023-11-14T18:19:38.841Z] 872ee5b61b7b: Verifying Checksum [2023-11-14T18:19:38.841Z] 872ee5b61b7b: Download complete [2023-11-14T18:19:38.841Z] 9fda8d8052c6: Download complete [2023-11-14T18:19:39.429Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T18:19:39.429Z] 94ae7d8d031c: Download complete [2023-11-14T18:19:40.847Z] c4a7e357bf2a: Download complete [2023-11-14T18:19:43.433Z] 9fda8d8052c6: Pull complete [2023-11-14T18:19:43.433Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T18:19:43.433Z] 0c6a40ed1a82: Download complete [2023-11-14T18:19:43.702Z] 5d54e960e981: Pull complete [2023-11-14T18:19:58.710Z] c4a7e357bf2a: Pull complete [2023-11-14T18:19:58.710Z] f0e02332f6b5: Pull complete [2023-11-14T18:19:58.710Z] 872ee5b61b7b: Pull complete [2023-11-14T18:20:06.946Z] 0c6a40ed1a82: Pull complete [2023-11-14T18:20:07.530Z] 94ae7d8d031c: Pull complete [2023-11-14T18:20:07.530Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T18:20:07.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T18:20:07.530Z] ---> 86de565de09d [2023-11-14T18:20:07.530Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T18:20:08.939Z] ---> Running in cfa3ff0d8f7b [2023-11-14T18:20:09.208Z] Removing intermediate container cfa3ff0d8f7b [2023-11-14T18:20:09.208Z] ---> 36ec059ae2d9 [2023-11-14T18:20:09.208Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:20:09.489Z] ---> Running in 610dee74007d [2023-11-14T18:20:09.755Z] Removing intermediate container 610dee74007d [2023-11-14T18:20:09.755Z] ---> a9eb591452ea [2023-11-14T18:20:09.755Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:20:09.755Z] ---> Running in 1e3c9d3a2e9e [2023-11-14T18:20:10.027Z] Removing intermediate container 1e3c9d3a2e9e [2023-11-14T18:20:10.027Z] ---> fb9b1805d552 [2023-11-14T18:20:10.027Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:20:10.293Z] ---> Running in 46f6fff42059 [2023-11-14T18:20:11.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:20:11.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:20:12.797Z] OK: 266 MiB in 52 packages [2023-11-14T18:20:13.761Z] Removing intermediate container 46f6fff42059 [2023-11-14T18:20:13.761Z] ---> f3655d2ad68a [2023-11-14T18:20:13.761Z] Step 7/12 : WORKDIR /app [2023-11-14T18:20:13.761Z] ---> Running in 698ac6699c6d [2023-11-14T18:20:14.028Z] Removing intermediate container 698ac6699c6d [2023-11-14T18:20:14.028Z] ---> 7a7f909e5569 [2023-11-14T18:20:14.028Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-14T18:20:14.611Z] ---> a4805de647a3 [2023-11-14T18:20:14.611Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:20:14.611Z] ---> Running in 2457c6b9af9c [2023-11-14T18:21:36.234Z] Removing intermediate container 2457c6b9af9c [2023-11-14T18:21:36.234Z] ---> c1baa1f86c04 [2023-11-14T18:21:36.234Z] Step 10/12 : COPY . . [2023-11-14T18:21:36.234Z] ---> 5708d685d848 [2023-11-14T18:21:36.234Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:21:36.234Z] ---> Running in cb06d52ddcea [2023-11-14T18:21:36.234Z] Removing intermediate container cb06d52ddcea [2023-11-14T18:21:36.234Z] ---> edadd7b0f3e4 [2023-11-14T18:21:36.234Z] Step 12/12 : RUN $MAKE [2023-11-14T18:21:36.234Z] ---> Running in 551af6be0c7b [2023-11-14T18:21:36.234Z] noop [2023-11-14T18:21:36.234Z] Removing intermediate container 551af6be0c7b [2023-11-14T18:21:36.234Z] ---> 92b1ae8096ac [2023-11-14T18:21:36.234Z] Successfully built 92b1ae8096ac [2023-11-14T18:21:36.234Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:21:36.707Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:21:36.707Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:21:36.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-17502 does not seem to be running inside a container [2023-11-14T18:21:37.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T18:21:38.336Z] $ docker top 4fd4ec6cde6283fa2203d3b3a728130527950a9657af97fb3c519fd95c427045 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:21:39.228Z] + go version [2023-11-14T18:21:39.229Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T18:21:39.268Z] $ docker stop --time=1 4fd4ec6cde6283fa2203d3b3a728130527950a9657af97fb3c519fd95c427045 [2023-11-14T18:21:40.884Z] $ docker rm -f --volumes 4fd4ec6cde6283fa2203d3b3a728130527950a9657af97fb3c519fd95c427045 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:21:41.748Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:21:41.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:21:42.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-17502 does not seem to be running inside a container [2023-11-14T18:21:42.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T18:21:43.321Z] $ docker top 4a143e341c9d61e36585aa054abf5d284f189237491ee100190665bd45ca2fc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:21:44.201Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:21:44.926Z] + make test [2023-11-14T18:21:44.926Z] go test -race -coverprofile=coverage.out ./... [2023-11-14T18:24:21.654Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-11-14T18:24:25.912Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.428s coverage: 88.0% of statements [2023-11-14T18:24:30.163Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-11-14T18:24:30.163Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-11-14T18:24:31.593Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-11-14T18:24:39.808Z] ok github.com/edgexfoundry/app-record-replay/internal/application 10.007s coverage: 98.7% of statements [2023-11-14T18:24:39.808Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.586s coverage: 89.7% of statements [2023-11-14T18:24:39.808Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.203s coverage: 100.0% of statements [2023-11-14T18:24:40.396Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T18:24:40.396Z] go vet ./... [2023-11-14T18:26:32.330Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:26:32.330Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:26:32.330Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:26:32.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:26:32.403Z] $ docker stop --time=1 4a143e341c9d61e36585aa054abf5d284f189237491ee100190665bd45ca2fc3 [2023-11-14T18:26:34.260Z] $ docker rm -f --volumes 4a143e341c9d61e36585aa054abf5d284f189237491ee100190665bd45ca2fc3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:26:35.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:26:35.894Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T18:26:36.379Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:26:36.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:26:37.295Z] + ls -al . [2023-11-14T18:26:37.295Z] total 188 [2023-11-14T18:26:37.295Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 18:21 . [2023-11-14T18:26:37.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:19 .. [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 119 Nov 14 18:19 .dockerignore [2023-11-14T18:26:37.295Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:19 .git [2023-11-14T18:26:37.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:19 .github [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 164 Nov 14 18:19 .gitignore [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:19 .golangci.yml [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 11301 Nov 14 18:19 Attribution.txt [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 458 Nov 14 18:19 CHANGELOG.md [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 1725 Nov 14 18:19 Dockerfile [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:19 GOVERNANCE.md [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 681 Nov 14 18:19 Jenkinsfile [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 14 18:19 LICENSE [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 3139 Nov 14 18:19 Makefile [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 611 Nov 14 18:19 OWNERS.md [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 4107 Nov 14 18:19 README.md [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 7789 Nov 14 18:19 Record and Reply.postman_collection.json [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:15 VERSION [2023-11-14T18:26:37.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:19 bin [2023-11-14T18:26:37.295Z] -rw-r--r-- 1 jenkins jenkins 24666 Nov 14 18:24 coverage.out [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 3859 Nov 14 18:19 go.mod [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 34797 Nov 14 18:19 go.sum [2023-11-14T18:26:37.295Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 18:19 internal [2023-11-14T18:26:37.295Z] -rw-rw-r-- 1 jenkins jenkins 913 Nov 14 18:19 main.go [2023-11-14T18:26:37.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:19 openapi [2023-11-14T18:26:37.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:19 pkg [2023-11-14T18:26:37.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:19 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:26:37.716Z] + 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=f8316f954191747d09b41915d8340790a9d07b38 --label arch=arm64 --label version=0.0.0 . [2023-11-14T18:26:37.983Z] Sending build context to Docker daemon 284.2kB [2023-11-14T18:26:37.983Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:26:37.983Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-14T18:26:37.983Z] ---> 92b1ae8096ac [2023-11-14T18:26:37.983Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-14T18:26:40.564Z] ---> Running in 9527ef313315 [2023-11-14T18:26:40.564Z] Removing intermediate container 9527ef313315 [2023-11-14T18:26:40.564Z] ---> 7ed948a3e4e7 [2023-11-14T18:26:40.564Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T18:26:40.828Z] ---> Running in 69f31b6ca685 [2023-11-14T18:26:41.094Z] Removing intermediate container 69f31b6ca685 [2023-11-14T18:26:41.094Z] ---> c4ebe665c8a2 [2023-11-14T18:26:41.094Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2023-11-14T18:26:41.094Z] ---> Running in 3de4e4a6e73d [2023-11-14T18:26:41.362Z] Removing intermediate container 3de4e4a6e73d [2023-11-14T18:26:41.362Z] ---> 3a96325136db [2023-11-14T18:26:41.362Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T18:26:41.362Z] ---> Running in b61d7502136b [2023-11-14T18:26:42.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:26:42.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:26:43.866Z] OK: 266 MiB in 52 packages [2023-11-14T18:26:44.825Z] Removing intermediate container b61d7502136b [2023-11-14T18:26:44.825Z] ---> 927df4671852 [2023-11-14T18:26:44.825Z] Step 7/27 : WORKDIR /app [2023-11-14T18:26:44.825Z] ---> Running in 3eff0fb989f3 [2023-11-14T18:26:45.091Z] Removing intermediate container 3eff0fb989f3 [2023-11-14T18:26:45.091Z] ---> 1a6c10a1b311 [2023-11-14T18:26:45.091Z] Step 8/27 : COPY go.mod vendor* ./ [2023-11-14T18:26:45.673Z] ---> 4128b32f9052 [2023-11-14T18:26:45.673Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:26:45.673Z] ---> Running in 61bea862ab4b [2023-11-14T18:26:48.253Z] Removing intermediate container 61bea862ab4b [2023-11-14T18:26:48.253Z] ---> 0a095df26651 [2023-11-14T18:26:48.253Z] Step 10/27 : COPY . . [2023-11-14T18:26:48.524Z] ---> 583d783adddf [2023-11-14T18:26:48.524Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T18:26:48.524Z] ---> Running in 5710390ccc57 [2023-11-14T18:26:49.107Z] Removing intermediate container 5710390ccc57 [2023-11-14T18:26:49.107Z] ---> 8e7c97d14d33 [2023-11-14T18:26:49.107Z] Step 12/27 : RUN $MAKE [2023-11-14T18:26:49.107Z] ---> Running in 5e1946c7f0aa [2023-11-14T18:26:50.068Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-11-14T18:28:56.744Z] Removing intermediate container 5e1946c7f0aa [2023-11-14T18:28:56.744Z] ---> 56a72005813e [2023-11-14T18:28:56.744Z] Step 13/27 : FROM alpine:3.18 [2023-11-14T18:28:56.744Z] 3.18: Pulling from library/alpine [2023-11-14T18:28:56.744Z] 579b34f0a95b: Pulling fs layer [2023-11-14T18:28:56.744Z] 579b34f0a95b: Download complete [2023-11-14T18:28:56.744Z] 579b34f0a95b: Pull complete [2023-11-14T18:28:56.744Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:28:56.744Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:28:56.744Z] ---> 3cc203321400 [2023-11-14T18:28:56.744Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T18:28:56.744Z] ---> Running in 35737a85ff25 [2023-11-14T18:28:56.744Z] Removing intermediate container 35737a85ff25 [2023-11-14T18:28:56.744Z] ---> 2a131a282ae2 [2023-11-14T18:28:56.744Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2023-11-14T18:28:56.744Z] ---> Running in 4f6760e8ae1b [2023-11-14T18:28:56.744Z] Removing intermediate container 4f6760e8ae1b [2023-11-14T18:28:56.744Z] ---> e198233e1aef [2023-11-14T18:28:56.744Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-11-14T18:28:56.744Z] ---> Running in 2181b94ff1e6 [2023-11-14T18:28:56.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:28:56.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:28:56.744Z] (1/2) Installing ca-certificates (20230506-r0) [2023-11-14T18:28:56.744Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-11-14T18:28:56.744Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:28:56.744Z] Executing ca-certificates-20230506-r0.trigger [2023-11-14T18:28:56.744Z] OK: 9 MiB in 17 packages [2023-11-14T18:28:56.744Z] Removing intermediate container 2181b94ff1e6 [2023-11-14T18:28:56.744Z] ---> f72e33eb704d [2023-11-14T18:28:56.744Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-14T18:28:56.744Z] ---> Running in ac640876d2ca [2023-11-14T18:28:56.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:28:56.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:28:56.744Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:28:56.744Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:28:56.744Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:28:56.744Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:28:56.744Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:28:56.744Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:28:56.744Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:28:56.744Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:28:56.744Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:28:56.744Z] Executing ca-certificates-20230506-r0.trigger [2023-11-14T18:28:56.744Z] OK: 9 MiB in 17 packages [2023-11-14T18:28:56.744Z] Removing intermediate container ac640876d2ca [2023-11-14T18:28:56.744Z] ---> 38c184f0eac7 [2023-11-14T18:28:56.744Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-11-14T18:28:56.744Z] ---> 1ff8ee220782 [2023-11-14T18:28:56.744Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2023-11-14T18:28:56.744Z] ---> 8f85c1963fde [2023-11-14T18:28:56.744Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2023-11-14T18:28:56.744Z] ---> acf16fb3a327 [2023-11-14T18:28:56.744Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-11-14T18:28:58.691Z] ---> c3ed3e720047 [2023-11-14T18:28:58.691Z] Step 22/27 : EXPOSE 59712 [2023-11-14T18:28:58.691Z] ---> Running in 1de6b74ee003 [2023-11-14T18:28:58.691Z] Removing intermediate container 1de6b74ee003 [2023-11-14T18:28:58.691Z] ---> 3018122e27c3 [2023-11-14T18:28:58.691Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2023-11-14T18:28:58.959Z] ---> Running in d9a80b9da52d [2023-11-14T18:28:59.226Z] Removing intermediate container d9a80b9da52d [2023-11-14T18:28:59.226Z] ---> bfa6043bdc62 [2023-11-14T18:28:59.226Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T18:28:59.226Z] ---> Running in f3620ae8715d [2023-11-14T18:28:59.493Z] Removing intermediate container f3620ae8715d [2023-11-14T18:28:59.494Z] ---> 1ff4697ac943 [2023-11-14T18:28:59.494Z] Step 25/27 : LABEL arch=arm64 [2023-11-14T18:28:59.764Z] ---> Running in e025c2ca18c2 [2023-11-14T18:29:00.031Z] Removing intermediate container e025c2ca18c2 [2023-11-14T18:29:00.031Z] ---> 0d44046ffd32 [2023-11-14T18:29:00.031Z] Step 26/27 : LABEL git_sha=f8316f954191747d09b41915d8340790a9d07b38 [2023-11-14T18:29:00.031Z] ---> Running in 3783470eceb2 [2023-11-14T18:29:00.299Z] Removing intermediate container 3783470eceb2 [2023-11-14T18:29:00.299Z] ---> 2ada8a5df7dd [2023-11-14T18:29:00.299Z] Step 27/27 : LABEL version=0.0.0 [2023-11-14T18:29:00.299Z] ---> Running in 901198f2a4d0 [2023-11-14T18:29:00.880Z] Removing intermediate container 901198f2a4d0 [2023-11-14T18:29:00.880Z] ---> 0a8a3acfaa98 [2023-11-14T18:29:00.880Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:29:00.880Z] Successfully built 0a8a3acfaa98 [2023-11-14T18:29:00.880Z] Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:29:01.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:29:01.712Z] [2023-11-14T18:29:01.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:29:02.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:29:02.396Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T18:29:02.396Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T18:29:02.396Z] 04944245beec: Pulling fs layer [2023-11-14T18:29:02.396Z] 699f458cf7ca: Pulling fs layer [2023-11-14T18:29:02.396Z] 765212b225bb: Pulling fs layer [2023-11-14T18:29:02.396Z] f23df028b6ca: Pulling fs layer [2023-11-14T18:29:02.396Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T18:29:02.396Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T18:29:02.396Z] 765212b225bb: Waiting [2023-11-14T18:29:02.396Z] f23df028b6ca: Waiting [2023-11-14T18:29:02.396Z] d65c8cfc05b1: Waiting [2023-11-14T18:29:02.396Z] 2437ff75d9bd: Waiting [2023-11-14T18:29:02.396Z] 04944245beec: Verifying Checksum [2023-11-14T18:29:02.396Z] 04944245beec: Download complete [2023-11-14T18:29:02.396Z] 765212b225bb: Verifying Checksum [2023-11-14T18:29:02.396Z] 765212b225bb: Download complete [2023-11-14T18:29:02.396Z] f23df028b6ca: Verifying Checksum [2023-11-14T18:29:02.396Z] f23df028b6ca: Download complete [2023-11-14T18:29:02.396Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T18:29:02.396Z] d65c8cfc05b1: Download complete [2023-11-14T18:29:02.663Z] 699f458cf7ca: Verifying Checksum [2023-11-14T18:29:02.663Z] 699f458cf7ca: Download complete [2023-11-14T18:29:03.249Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T18:29:03.249Z] 8998bd30e6a1: Download complete [2023-11-14T18:29:05.833Z] 2437ff75d9bd: Download complete [2023-11-14T18:29:07.775Z] 8998bd30e6a1: Pull complete [2023-11-14T18:29:08.361Z] 04944245beec: Pull complete [2023-11-14T18:29:12.600Z] 699f458cf7ca: Pull complete [2023-11-14T18:29:12.600Z] 765212b225bb: Pull complete [2023-11-14T18:29:13.181Z] f23df028b6ca: Pull complete [2023-11-14T18:29:13.446Z] d65c8cfc05b1: Pull complete [2023-11-14T18:29:31.643Z] 2437ff75d9bd: Pull complete [2023-11-14T18:29:31.643Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T18:29:31.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:29:31.643Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:29:31.979Z] prd-ubuntu20.04-docker-arm64-4c-16g-17502 does not seem to be running inside a container [2023-11-14T18:29:32.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-14T18:29:34.747Z] $ docker top 8b73abf3fef804ce07889bcc79b4542a7d75b7a5fba0673eaa2fa94d456f5384 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:29:35.639Z] ---> job-cost.sh [2023-11-14T18:29:35.639Z] lf-activate-venv: SKIPPING [2023-11-14T18:29:35.639Z] INFO: No Stack... [2023-11-14T18:29:36.218Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T18:29:36.797Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:29:37.472Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [2023-11-14T18:29:37.472Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T18:29:37.557Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-106-1-stack-cost] [2023-11-14T18:29:37.562Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-106-1-stack-cost] did not exist. Created. [2023-11-14T18:29:37.562Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-106-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:29:38.002Z] /w/workspace/app-record-replay/1@tmp/durable-3ed82a6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T18:29:38.688Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T18:29:38.729Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T18:29:38.807Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:29:38.827Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-106-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:29:38.908Z] $ docker stop --time=1 8b73abf3fef804ce07889bcc79b4542a7d75b7a5fba0673eaa2fa94d456f5384 [2023-11-14T18:29:43.058Z] $ docker rm -f --volumes 8b73abf3fef804ce07889bcc79b4542a7d75b7a5fba0673eaa2fa94d456f5384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-14T18:30:00.099Z] provisioning config files... [2023-11-14T18:30:00.106Z] copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-106@tmp/config7965093352339763737tmp [Pipeline] { [Pipeline] sh [2023-11-14T18:30:00.448Z] + set +x [2023-11-14T18:30:00.448Z] + curl+ -s https://codecov.io/bash [2023-11-14T18:30:00.448Z] bash -s -- [2023-11-14T18:30:00.448Z] [2023-11-14T18:30:00.448Z] _____ _ [2023-11-14T18:30:00.448Z] / ____| | | [2023-11-14T18:30:00.448Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T18:30:00.448Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T18:30:00.448Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T18:30:00.448Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T18:30:00.448Z] Bash-1.0.6 [2023-11-14T18:30:00.448Z] [2023-11-14T18:30:00.448Z] [2023-11-14T18:30:00.448Z] ==> git version 2.25.1 found [2023-11-14T18:30:00.448Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-14T18:30:00.448Z] Release-Date: 2020-01-08 [2023-11-14T18:30:00.448Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-14T18:30:00.448Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T18:30:00.448Z] ==> Jenkins CI detected. [2023-11-14T18:30:00.448Z] current dir:  /w/workspace/foundry_app-record-replay_PR-106 [2023-11-14T18:30:00.448Z] project root: . [2023-11-14T18:30:00.448Z] --> token set from env [2023-11-14T18:30:00.448Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T18:30:00.448Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T18:30:00.448Z] ==> Python coveragepy not found [2023-11-14T18:30:00.448Z] ==> Searching for coverage reports in: [2023-11-14T18:30:00.448Z] + . [2023-11-14T18:30:00.707Z] -> Found 1 reports [2023-11-14T18:30:00.707Z] ==> Detecting git/mercurial file structure [2023-11-14T18:30:00.707Z] ==> Reading reports [2023-11-14T18:30:00.707Z] + ./coverage.out bytes=24666 [2023-11-14T18:30:00.707Z] ==> Appending adjustments [2023-11-14T18:30:00.707Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T18:30:00.707Z] + Found adjustments [2023-11-14T18:30:00.707Z] ==> Gzipping contents [2023-11-14T18:30:00.707Z] 8.0K /tmp/codecov.IV4GHz.gz [2023-11-14T18:30:00.707Z] ==> Uploading reports [2023-11-14T18:30:00.707Z] url: https://codecov.io [2023-11-14T18:30:00.707Z] query: branch=PR-106&commit=f8316f954191747d09b41915d8340790a9d07b38&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-106%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=106&job=&cmd_args= [2023-11-14T18:30:00.707Z] -> Pinging Codecov [2023-11-14T18:30:00.707Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6761a825-4501-4abd-88ee-552c6fc4520a&branch=PR-106&commit=f8316f954191747d09b41915d8340790a9d07b38&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-106%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=106&job=&cmd_args= [2023-11-14T18:30:00.966Z] -> Uploading to [2023-11-14T18:30:00.966Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/F467761B9912B4F32F9BC62907045C81/f8316f954191747d09b41915d8340790a9d07b38/b0f6b47c-baa9-42fb-9589-2b7ccfd20670.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T183000Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12a81e9d5665fe005f346da3bedba89ea7c30411693c25f71c068da4ce020cbd [2023-11-14T18:30:00.966Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:30:00.966Z] Dload Upload Total Spent Left Speed [2023-11-14T18:30:01.226Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4850 0 0 100 4850 0 17572 --:--:-- --:--:-- --:--:-- 17572 [2023-11-14T18:30:01.226Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/f8316f954191747d09b41915d8340790a9d07b38 [Pipeline] } [2023-11-14T18:30:01.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-14T18:30:03.000Z] + [ -d /w/workspace/foundry_app-record-replay_PR-106/archives ] [2023-11-14T18:30:03.000Z] + ls -al /w/workspace/foundry_app-record-replay_PR-106/archives [2023-11-14T18:30:03.000Z] total 16 [2023-11-14T18:30:03.000Z] drwxr-xr-x 3 root root 4096 Nov 14 18:19 . [2023-11-14T18:30:03.000Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 14 18:19 .. [2023-11-14T18:30:03.000Z] drwxr-xr-x 2 root root 4096 Nov 14 18:19 cost [2023-11-14T18:30:03.000Z] -rw-r--r-- 1 root root 89 Nov 14 18:19 cost.csv [2023-11-14T18:30:03.000Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-106/archives [2023-11-14T18:30:03.000Z] + ls -al /w/workspace/foundry_app-record-replay_PR-106/archives [2023-11-14T18:30:03.000Z] total 16 [2023-11-14T18:30:03.000Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:19 . [2023-11-14T18:30:03.000Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 14 18:19 .. [2023-11-14T18:30:03.000Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:19 cost [2023-11-14T18:30:03.000Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 14 18:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:30:03.328Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:30:04.217Z] ---> package-listing.sh [2023-11-14T18:30:04.217Z] ++ facter osfamily [2023-11-14T18:30:04.217Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T18:30:04.477Z] + OS_FAMILY=debian [2023-11-14T18:30:04.477Z] + workspace=/w/workspace/foundry_app-record-replay_PR-106 [2023-11-14T18:30:04.477Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T18:30:04.477Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T18:30:04.477Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T18:30:04.477Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T18:30:04.477Z] + '[' /w/workspace/foundry_app-record-replay_PR-106 ']' [2023-11-14T18:30:04.477Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T18:30:04.477Z] + case "${OS_FAMILY}" in [2023-11-14T18:30:04.477Z] + dpkg -l [2023-11-14T18:30:04.477Z] + grep '^ii' [2023-11-14T18:30:04.477Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T18:30:04.477Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T18:30:04.477Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T18:30:04.477Z] + '[' /w/workspace/foundry_app-record-replay_PR-106 ']' [2023-11-14T18:30:04.477Z] + mkdir -p /w/workspace/foundry_app-record-replay_PR-106/archives/ [2023-11-14T18:30:04.477Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-106/archives/ [Pipeline] echo [2023-11-14T18:30:04.512Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_app-record-replay_PR-106/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T18:30:04.805Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:30:05.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:30:05.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:30:05.570Z] prd-ubuntu20.04-docker-8c-8g-17500 does not seem to be running inside a container [2023-11-14T18:30:05.602Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_app-record-replay_PR-106/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_app-record-replay_PR-106 -v /w/workspace/foundry_app-record-replay_PR-106:/w/workspace/foundry_app-record-replay_PR-106:rw,z -v /w/workspace/foundry_app-record-replay_PR-106@tmp:/w/workspace/foundry_app-record-replay_PR-106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T18:30:05.785Z] $ docker top 5f7e9c453650a67e362b4bd7fa977d3d8827553aa42d79b422e184a89aa43706 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:30:06.172Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T18:30:06.486Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T18:30:06.794Z] + ls /var/log/sa-host [2023-11-14T18:30:06.794Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:30:06.933Z] provisioning config files... [2023-11-14T18:30:06.942Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-106@tmp/config7540952145934582918tmp [Pipeline] { [Pipeline] echo [2023-11-14T18:30:06.992Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:30:07.305Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T18:30:07.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:30:07.740Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T18:30:07.771Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:30:08.081Z] ---> sudo-logs.sh [2023-11-14T18:30:08.081Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T18:30:08.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:30:08.486Z] ---> job-cost.sh [2023-11-14T18:30:08.486Z] lf-activate-venv: SKIPPING [2023-11-14T18:30:08.486Z] DEBUG: total: 0.2199999988079071 [2023-11-14T18:30:08.486Z] INFO: Retrieving Stack Cost... [2023-11-14T18:30:08.746Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:30:09.314Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T18:30:09.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:30:09.670Z] ---> logs-deploy.sh [2023-11-14T18:30:09.670Z] lf-activate-venv: SKIPPING [2023-11-14T18:30:09.670Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-106/1 [2023-11-14T18:30:09.670Z] INFO: archiving workspace using pattern(s): [2023-11-14T18:30:10.612Z] Archives upload complete. [2023-11-14T18:30:10.612Z] INFO: archiving logs to Nexus