Pull request #149 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 weichou1229 for edgexfoundry/app-record-replay Obtained Jenkinsfile from 3122737150792d1db66637461d446b3c7de78dbd+fb1cfc1ed001b91dc8782235128666e14fb0baf6 (6433fe83d7ed9f448d8825184e711266863b7489) 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-ssh577677552719878953.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh5221594931588979178.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15565109283771843871.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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh228259891647718143.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh16818708825870750561.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-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9529775042271568436.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23262 in /w/workspace/foundry_app-record-replay_PR-149 [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-149 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fb1cfc1ed001b91dc8782235128666e14fb0baf6 into PR head commit 3122737150792d1db66637461d446b3c7de78dbd > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3122737150792d1db66637461d446b3c7de78dbd # timeout=10 Merge succeeded, producing 3122737150792d1db66637461d446b3c7de78dbd Checking out Revision 3122737150792d1db66637461d446b3c7de78dbd (PR-149) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fb1cfc1ed001b91dc8782235128666e14fb0baf6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3122737150792d1db66637461d446b3c7de78dbd # timeout=10 Commit message: "build: Upgrade core-contracts and sdk" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-18T12:23:16.537Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-18T12:23:16.777Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-18T12:23:16.905Z] ========================================================= [2024-10-18T12:23:16.905Z] EdgeX Global Pipelines Version Info [2024-10-18T12:23:16.905Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:23:17.694Z] ------------------- [2024-10-18T12:23:17.694Z] stable info: [2024-10-18T12:23:17.694Z] ------------------- [2024-10-18T12:23:17.694Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-18T12:23:17.694Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-18T12:23:17.694Z] Message: update stable to v1.0.265 [2024-10-18T12:23:18.268Z] ------------------- [2024-10-18T12:23:18.268Z] experimental info: [2024-10-18T12:23:18.268Z] ------------------- [2024-10-18T12:23:18.268Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-18T12:23:18.268Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-18T12:23:18.268Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-18T12:23:18.503Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2024-10-18T12:23:18.567Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2024-10-18T12:23:18.633Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-18T12:23:18.690Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-18T12:23:18.750Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-18T12:23:18.807Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-18T12:23:18.867Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-18T12:23:18.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-18T12:23:18.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-18T12:23:19.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-18T12:23:19.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-18T12:23:19.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2024-10-18T12:23:19.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-18T12:23:19.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-18T12:23:19.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-18T12:23:19.448Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-18T12:23:19.511Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-18T12:23:19.571Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-18T12:23:19.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-18T12:23:19.697Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-18T12:23:19.762Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-18T12:23:19.825Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-18T12:23:19.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-18T12:23:19.939Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-18T12:23:20.000Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-18T12:23:20.060Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-18T12:23:20.122Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-18T12:23:20.180Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2024-10-18T12:23:20.241Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2024-10-18T12:23:20.303Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2024-10-18T12:23:20.363Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3122737150792d1db66637461d446b3c7de78dbd [Pipeline] echo [2024-10-18T12:23:20.423Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3122737 [Pipeline] echo [2024-10-18T12:23:20.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T12:23:20.641Z] provisioning config files... [2024-10-18T12:23:20.656Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-149@tmp/config7090977757789643303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:23:21.062Z] ---> ****-login.sh [2024-10-18T12:23:21.062Z] nexus3.edgexfoundry.org:10001 [2024-10-18T12:23:21.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:21.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:21.323Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:21.323Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:21.323Z] [2024-10-18T12:23:21.323Z] Login Succeeded [2024-10-18T12:23:21.323Z] nexus3.edgexfoundry.org:10002 [2024-10-18T12:23:21.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:21.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:21.584Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:21.585Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:21.585Z] [2024-10-18T12:23:21.585Z] Login Succeeded [2024-10-18T12:23:21.585Z] nexus3.edgexfoundry.org:10003 [2024-10-18T12:23:21.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:21.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:21.585Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:21.585Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:21.585Z] [2024-10-18T12:23:21.585Z] Login Succeeded [2024-10-18T12:23:21.585Z] nexus3.edgexfoundry.org:10004 [2024-10-18T12:23:21.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:21.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:21.846Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:21.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:21.847Z] [2024-10-18T12:23:21.847Z] Login Succeeded [2024-10-18T12:23:21.847Z] ****.io [2024-10-18T12:23:21.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:22.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:22.108Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:22.108Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:22.108Z] [2024-10-18T12:23:22.108Z] Login Succeeded [2024-10-18T12:23:22.108Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T12:23:22.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-18T12:23:22.847Z] + git rev-list -1 --merges 3122737150792d1db66637461d446b3c7de78dbd~1..3122737150792d1db66637461d446b3c7de78dbd [Pipeline] echo [2024-10-18T12:23:22.898Z] -----------> git rev-list -1 --merges 3122737150792d1db66637461d446b3c7de78dbd~1..3122737150792d1db66637461d446b3c7de78dbd 3122737150792d1db66637461d446b3c7de78dbd [false] [Pipeline] sh [2024-10-18T12:23:23.224Z] + git log --format=format:%s -1 3122737150792d1db66637461d446b3c7de78dbd [Pipeline] echo [2024-10-18T12:23:23.266Z] ========================================================= [2024-10-18T12:23:23.266Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-18T12:23:23.266Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T12:23:23.733Z] + git log --format=format:%s -1 3122737150792d1db66637461d446b3c7de78dbd [Pipeline] echo [2024-10-18T12:23:23.773Z] [semverPrep] GIT_COMMIT: 3122737150792d1db66637461d446b3c7de78dbd, Commit Message: build: Upgrade core-contracts and sdk [Pipeline] echo [2024-10-18T12:23:23.817Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-18T12:23:24.232Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-18T12:23:24.232Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-18T12:23:24.232Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-18T12:23:24.232Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-18T12:23:24.232Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-18T12:23:24.232Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-18T12:23:24.232Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:23:24.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T12:23:24.769Z] [2024-10-18T12:23:24.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:23:25.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T12:23:25.183Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-18T12:23:25.183Z] b85a868b505f: Pulling fs layer [2024-10-18T12:23:25.183Z] e2be974225ed: Pulling fs layer [2024-10-18T12:23:25.183Z] 339a4e72a1f5: Pulling fs layer [2024-10-18T12:23:25.183Z] 988bab9f4d93: Pulling fs layer [2024-10-18T12:23:25.183Z] 1469e6f7b9e6: Pulling fs layer [2024-10-18T12:23:25.183Z] eaf3925da568: Pulling fs layer [2024-10-18T12:23:25.183Z] bab4dde63d76: Pulling fs layer [2024-10-18T12:23:25.183Z] bde34c3a00c8: Pulling fs layer [2024-10-18T12:23:25.183Z] b352a97aabf1: Pulling fs layer [2024-10-18T12:23:25.183Z] 4872d77fe225: Pulling fs layer [2024-10-18T12:23:25.183Z] 5851b861e8e6: Pulling fs layer [2024-10-18T12:23:25.183Z] eaf3925da568: Waiting [2024-10-18T12:23:25.183Z] bab4dde63d76: Waiting [2024-10-18T12:23:25.183Z] bde34c3a00c8: Waiting [2024-10-18T12:23:25.183Z] b352a97aabf1: Waiting [2024-10-18T12:23:25.183Z] 4872d77fe225: Waiting [2024-10-18T12:23:25.183Z] 5851b861e8e6: Waiting [2024-10-18T12:23:25.183Z] 988bab9f4d93: Waiting [2024-10-18T12:23:25.183Z] e2be974225ed: Verifying Checksum [2024-10-18T12:23:25.183Z] e2be974225ed: Download complete [2024-10-18T12:23:25.183Z] 988bab9f4d93: Verifying Checksum [2024-10-18T12:23:25.183Z] 988bab9f4d93: Download complete [2024-10-18T12:23:25.443Z] 1469e6f7b9e6: Verifying Checksum [2024-10-18T12:23:25.443Z] 1469e6f7b9e6: Download complete [2024-10-18T12:23:25.443Z] eaf3925da568: Download complete [2024-10-18T12:23:25.443Z] 339a4e72a1f5: Verifying Checksum [2024-10-18T12:23:25.443Z] 339a4e72a1f5: Download complete [2024-10-18T12:23:25.443Z] bde34c3a00c8: Verifying Checksum [2024-10-18T12:23:25.443Z] bde34c3a00c8: Download complete [2024-10-18T12:23:25.443Z] b352a97aabf1: Verifying Checksum [2024-10-18T12:23:25.443Z] b352a97aabf1: Download complete [2024-10-18T12:23:25.443Z] 4872d77fe225: Download complete [2024-10-18T12:23:25.443Z] 5851b861e8e6: Verifying Checksum [2024-10-18T12:23:25.443Z] 5851b861e8e6: Download complete [2024-10-18T12:23:25.443Z] b85a868b505f: Verifying Checksum [2024-10-18T12:23:25.443Z] b85a868b505f: Download complete [2024-10-18T12:23:25.703Z] bab4dde63d76: Verifying Checksum [2024-10-18T12:23:25.703Z] bab4dde63d76: Download complete [2024-10-18T12:23:26.645Z] b85a868b505f: Pull complete [2024-10-18T12:23:26.904Z] e2be974225ed: Pull complete [2024-10-18T12:23:27.472Z] 339a4e72a1f5: Pull complete [2024-10-18T12:23:27.472Z] 988bab9f4d93: Pull complete [2024-10-18T12:23:27.731Z] 1469e6f7b9e6: Pull complete [2024-10-18T12:23:27.990Z] eaf3925da568: Pull complete [2024-10-18T12:23:29.938Z] bab4dde63d76: Pull complete [2024-10-18T12:23:29.938Z] bde34c3a00c8: Pull complete [2024-10-18T12:23:29.938Z] b352a97aabf1: Pull complete [2024-10-18T12:23:29.938Z] 4872d77fe225: Pull complete [2024-10-18T12:23:30.202Z] 5851b861e8e6: Pull complete [2024-10-18T12:23:30.202Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-18T12:23:30.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T12:23:30.202Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T12:23:30.497Z] prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container [2024-10-18T12:23:30.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-18T12:23:32.983Z] $ docker top 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a -eo pid,comm [2024-10-18T12:23:33.042Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-18T12:23:33.042Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-18T12:23:33.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T12:23:33.208Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T12:23:33.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T12:23:33.319Z] $ docker exec 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a ssh-agent [2024-10-18T12:23:33.423Z] SSH_AUTH_SOCK=/tmp/ssh-PZDUTpyhPf7A/agent.34 [2024-10-18T12:23:33.423Z] SSH_AGENT_PID=40 [2024-10-18T12:23:33.430Z] Running ssh-add (command line suppressed) [2024-10-18T12:23:33.517Z] Identity added: /w/workspace/foundry_app-record-replay_PR-149@tmp/private_key_10367475791199803782.key (/w/workspace/foundry_app-record-replay_PR-149@tmp/private_key_10367475791199803782.key) [2024-10-18T12:23:33.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T12:23:33.894Z] + git tag --points-at HEAD [Pipeline] } [2024-10-18T12:23:33.915Z] $ docker exec --env ******** --env ******** 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a ssh-agent -k [2024-10-18T12:23:34.008Z] unset SSH_AUTH_SOCK; [2024-10-18T12:23:34.009Z] unset SSH_AGENT_PID; [2024-10-18T12:23:34.009Z] echo Agent pid 40 killed; [2024-10-18T12:23:34.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-18T12:23:34.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T12:23:34.140Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T12:23:34.246Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T12:23:34.242Z] $ docker exec 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a ssh-agent [2024-10-18T12:23:34.357Z] SSH_AUTH_SOCK=/tmp/ssh-JgXz8MiupLfx/agent.73 [2024-10-18T12:23:34.357Z] SSH_AGENT_PID=79 [2024-10-18T12:23:34.363Z] Running ssh-add (command line suppressed) [2024-10-18T12:23:34.450Z] Identity added: /w/workspace/foundry_app-record-replay_PR-149@tmp/private_key_198014525833270982.key (/w/workspace/foundry_app-record-replay_PR-149@tmp/private_key_198014525833270982.key) [2024-10-18T12:23:34.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T12:23:34.823Z] + git semver init [2024-10-18T12:23:35.083Z] 2024-10-18 12:23:34,988 [run_init] DEBUG init version:0.0.0 force:False [2024-10-18T12:23:35.083Z] 2024-10-18 12:23:34,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-149/.semver [2024-10-18T12:23:35.083Z] 2024-10-18 12:23:34,990 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-149/.semver [2024-10-18T12:23:35.083Z] 2024-10-18 12:23:34,990 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-149/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-149, universal_newlines=False, shell=None, istream=None) [2024-10-18T12:23:36.994Z] 2024-10-18 12:23:36,694 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-149/.git/info/exclude [2024-10-18T12:23:36.994Z] 2024-10-18 12:23:36,694 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-149/.semver/PR-149 with force:False [2024-10-18T12:23:36.994Z] 2024-10-18 12:23:36,694 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-149/.semver/PR-149 [2024-10-18T12:23:36.994Z] 2024-10-18 12:23:36,698 [execute] INFO git cat-file --batch-check [2024-10-18T12:23:36.994Z] 2024-10-18 12:23:36,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2024-10-18T12:23:36.994Z] 2024-10-18 12:23:36,705 [execute] INFO git cat-file --batch [2024-10-18T12:23:36.994Z] 2024-10-18 12:23:36,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2024-10-18T12:23:36.994Z] 2024-10-18 12:23:36,711 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-149/.semver/PR-149 [2024-10-18T12:23:36.994Z] 0.0.0 [Pipeline] } [2024-10-18T12:23:37.016Z] $ docker exec --env ******** --env ******** 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a ssh-agent -k [2024-10-18T12:23:37.108Z] unset SSH_AUTH_SOCK; [2024-10-18T12:23:37.109Z] unset SSH_AGENT_PID; [2024-10-18T12:23:37.109Z] echo Agent pid 79 killed; [2024-10-18T12:23:37.125Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-18T12:23:37.566Z] + git semver [Pipeline] } [2024-10-18T12:23:37.849Z] $ docker stop --time=1 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a [2024-10-18T12:23:39.171Z] $ docker rm -f --volumes 362b0c7e7061d34f34a29fd4996ce2851d364bf01d525e34ba90e1d79f74694a [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-18T12:23:39.585Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-18T12:23:39.880Z] Stashed 1 file(s) [Pipeline] echo [2024-10-18T12:23:39.903Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T12:23:40.602Z] provisioning config files... [2024-10-18T12:23:40.612Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-149@tmp/config7180477012193298954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:23:40.982Z] ---> ****-login.sh [2024-10-18T12:23:40.982Z] nexus3.edgexfoundry.org:10001 [2024-10-18T12:23:40.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:40.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:40.982Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:40.982Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:40.982Z] [2024-10-18T12:23:40.982Z] Login Succeeded [2024-10-18T12:23:40.982Z] nexus3.edgexfoundry.org:10002 [2024-10-18T12:23:40.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:40.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:40.982Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:40.982Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:40.982Z] [2024-10-18T12:23:40.982Z] Login Succeeded [2024-10-18T12:23:40.982Z] nexus3.edgexfoundry.org:10003 [2024-10-18T12:23:41.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:41.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:41.246Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:41.246Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:41.246Z] [2024-10-18T12:23:41.246Z] Login Succeeded [2024-10-18T12:23:41.246Z] nexus3.edgexfoundry.org:10004 [2024-10-18T12:23:41.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:41.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:41.246Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:41.247Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:41.247Z] [2024-10-18T12:23:41.247Z] Login Succeeded [2024-10-18T12:23:41.247Z] ****.io [2024-10-18T12:23:41.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:23:41.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:23:41.507Z] Configure a credential helper to remove this warning. See [2024-10-18T12:23:41.507Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:23:41.507Z] [2024-10-18T12:23:41.507Z] Login Succeeded [2024-10-18T12:23:41.507Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T12:23:41.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-18T12:23:41.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T12:23:41.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T12:23:41.883Z] ========================================================= [2024-10-18T12:23:41.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-18T12:23:41.883Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:23:42.419Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-18T12:23:42.419Z] Sending build context to Docker daemon 9.755MB [2024-10-18T12:23:42.419Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T12:23:42.419Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-18T12:23:42.419Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-18T12:23:42.419Z] 43c4264eed91: Pulling fs layer [2024-10-18T12:23:42.419Z] 4cc291be95ef: Pulling fs layer [2024-10-18T12:23:42.419Z] 2ac1f1163629: Pulling fs layer [2024-10-18T12:23:42.419Z] 5c3c966382ef: Pulling fs layer [2024-10-18T12:23:42.419Z] 4f4fb700ef54: Pulling fs layer [2024-10-18T12:23:42.419Z] 5d5c8e513c77: Pulling fs layer [2024-10-18T12:23:42.419Z] 9f66e0745190: Pulling fs layer [2024-10-18T12:23:42.419Z] f49a43e4bbc0: Pulling fs layer [2024-10-18T12:23:42.419Z] 561ebcabdf7f: Pulling fs layer [2024-10-18T12:23:42.419Z] 5c3c966382ef: Waiting [2024-10-18T12:23:42.419Z] 4f4fb700ef54: Waiting [2024-10-18T12:23:42.419Z] 5d5c8e513c77: Waiting [2024-10-18T12:23:42.419Z] 9f66e0745190: Waiting [2024-10-18T12:23:42.419Z] f49a43e4bbc0: Waiting [2024-10-18T12:23:42.419Z] 561ebcabdf7f: Waiting [2024-10-18T12:23:42.419Z] 4cc291be95ef: Verifying Checksum [2024-10-18T12:23:42.419Z] 4cc291be95ef: Download complete [2024-10-18T12:23:42.419Z] 5c3c966382ef: Verifying Checksum [2024-10-18T12:23:42.419Z] 5c3c966382ef: Download complete [2024-10-18T12:23:42.419Z] 4f4fb700ef54: Verifying Checksum [2024-10-18T12:23:42.419Z] 4f4fb700ef54: Download complete [2024-10-18T12:23:42.679Z] 5d5c8e513c77: Download complete [2024-10-18T12:23:42.680Z] 43c4264eed91: Download complete [2024-10-18T12:23:42.680Z] 9f66e0745190: Verifying Checksum [2024-10-18T12:23:42.680Z] 9f66e0745190: Download complete [2024-10-18T12:23:42.680Z] 43c4264eed91: Pull complete [2024-10-18T12:23:42.680Z] 561ebcabdf7f: Download complete [2024-10-18T12:23:42.939Z] 4cc291be95ef: Pull complete [2024-10-18T12:23:42.939Z] 2ac1f1163629: Verifying Checksum [2024-10-18T12:23:42.939Z] 2ac1f1163629: Download complete [2024-10-18T12:23:43.199Z] f49a43e4bbc0: Verifying Checksum [2024-10-18T12:23:43.199Z] f49a43e4bbc0: Download complete [2024-10-18T12:23:46.489Z] 2ac1f1163629: Pull complete [2024-10-18T12:23:46.489Z] 5c3c966382ef: Pull complete [2024-10-18T12:23:46.489Z] 4f4fb700ef54: Pull complete [2024-10-18T12:23:46.750Z] 5d5c8e513c77: Pull complete [2024-10-18T12:23:46.750Z] 9f66e0745190: Pull complete [2024-10-18T12:23:49.289Z] f49a43e4bbc0: Pull complete [2024-10-18T12:23:49.548Z] 561ebcabdf7f: Pull complete [2024-10-18T12:23:49.548Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-18T12:23:49.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-18T12:23:49.548Z] ---> 3a752c3f9dda [2024-10-18T12:23:49.548Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T12:23:53.741Z] ---> Running in 903d25c800cb [2024-10-18T12:23:53.741Z] Removing intermediate container 903d25c800cb [2024-10-18T12:23:53.741Z] ---> ea000258861b [2024-10-18T12:23:53.741Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T12:23:53.741Z] ---> Running in f75c16de8952 [2024-10-18T12:23:53.741Z] Removing intermediate container f75c16de8952 [2024-10-18T12:23:53.741Z] ---> ac298e01b31e [2024-10-18T12:23:53.741Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-18T12:23:53.741Z] ---> Running in e7ad74d81db0 [2024-10-18T12:23:53.741Z] Removing intermediate container e7ad74d81db0 [2024-10-18T12:23:53.741Z] ---> 9be6f025426d [2024-10-18T12:23:53.741Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T12:23:53.741Z] ---> Running in b168a3aab21d [2024-10-18T12:23:54.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T12:23:54.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T12:23:54.520Z] OK: 246 MiB in 54 packages [2024-10-18T12:23:54.778Z] Removing intermediate container b168a3aab21d [2024-10-18T12:23:54.778Z] ---> 115cfd03a686 [2024-10-18T12:23:54.778Z] Step 7/12 : WORKDIR /app [2024-10-18T12:23:54.778Z] ---> Running in 76968be75aec [2024-10-18T12:23:54.778Z] Removing intermediate container 76968be75aec [2024-10-18T12:23:54.778Z] ---> c3b50dbe0b75 [2024-10-18T12:23:54.778Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-18T12:23:55.038Z] ---> c5595306d903 [2024-10-18T12:23:55.038Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T12:23:55.038Z] ---> Running in c4e80fd6b566 [2024-10-18T12:23:55.385Z] Still waiting to schedule task [2024-10-18T12:23:55.386Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-18T12:24:51.343Z] Removing intermediate container c4e80fd6b566 [2024-10-18T12:24:51.343Z] ---> 6a193bac3bf6 [2024-10-18T12:24:51.343Z] Step 10/12 : COPY . . [2024-10-18T12:24:51.343Z] ---> 677c368260cc [2024-10-18T12:24:51.343Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T12:24:51.343Z] ---> Running in 147a10fbe71e [2024-10-18T12:24:51.343Z] Removing intermediate container 147a10fbe71e [2024-10-18T12:24:51.343Z] ---> c746ebb90a8e [2024-10-18T12:24:51.343Z] Step 12/12 : RUN $MAKE [2024-10-18T12:24:51.343Z] ---> Running in d8984c4d1d9b [2024-10-18T12:24:51.343Z] noop [2024-10-18T12:24:51.343Z] Removing intermediate container d8984c4d1d9b [2024-10-18T12:24:51.343Z] ---> 1d007a44274b [2024-10-18T12:24:51.343Z] Successfully built 1d007a44274b [2024-10-18T12:24:51.343Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:24:51.823Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-18T12:24:51.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T12:24:51.986Z] prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container [2024-10-18T12:24:52.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-18T12:24:52.362Z] $ docker top 319a5a2e39f3aa435cfdad321f8b51c4cf30802122abe15db0930a8545928a7c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T12:24:52.773Z] + go version [2024-10-18T12:24:52.773Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-18T12:24:52.810Z] $ docker stop --time=1 319a5a2e39f3aa435cfdad321f8b51c4cf30802122abe15db0930a8545928a7c [2024-10-18T12:24:54.085Z] $ docker rm -f --volumes 319a5a2e39f3aa435cfdad321f8b51c4cf30802122abe15db0930a8545928a7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:24:54.860Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-18T12:24:54.860Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T12:24:55.020Z] prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container [2024-10-18T12:24:55.053Z] $ 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-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-18T12:24:55.382Z] $ docker top dff20ddffe2e1ea19fa3d47650867e59704e72644473c63159424cadffbb57c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T12:24:55.783Z] + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-149 [Pipeline] fileExists [Pipeline] sh [2024-10-18T12:24:56.160Z] + make test [2024-10-18T12:24:56.160Z] go test -race -coverprofile=coverage.out ./... [2024-10-18T12:25:28.267Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2024-10-18T12:25:28.267Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2024-10-18T12:25:28.267Z] github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements [2024-10-18T12:25:28.267Z] github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements [2024-10-18T12:25:29.205Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.028s coverage: 88.0% of statements [2024-10-18T12:25:39.193Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.616s coverage: 98.7% of statements [2024-10-18T12:25:39.193Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.082s coverage: 89.7% of statements [2024-10-18T12:25:39.193Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.020s coverage: 100.0% of statements [2024-10-18T12:25:39.193Z] running golangci-lint [2024-10-18T12:25:39.193Z] golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z [2024-10-18T12:25:39.193Z] go version go1.23.2 linux/amd64 [2024-10-18T12:25:39.193Z] level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" [2024-10-18T12:25:39.193Z] level=info msg="[config_reader] Used config file .golangci.yml" [2024-10-18T12:25:39.193Z] level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" [2024-10-18T12:25:39.859Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23263 in /w/workspace/foundry_app-record-replay_PR-149 [Pipeline] { [Pipeline] ws [2024-10-18T12:25:39.931Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2024-10-18T12:25:43.038Z] Selected Git installation does not exist. Using Default [2024-10-18T12:25:43.038Z] The recommended git tool is: NONE [2024-10-18T12:25:48.653Z] using credential edgex-jenkins-ssh [2024-10-18T12:25:48.678Z] Cloning the remote Git repository [2024-10-18T12:25:48.731Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2024-10-18T12:25:48.843Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2024-10-18T12:25:49.028Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2024-10-18T12:25:49.030Z] > git --version # timeout=10 [2024-10-18T12:25:49.058Z] > git --version # 'git version 2.25.1' [2024-10-18T12:25:49.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T12:25:49.237Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-18T12:25:52.024Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2024-10-18T12:25:52.055Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-18T12:25:53.172Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2024-10-18T12:25:53.220Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2024-10-18T12:25:53.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T12:25:53.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-18T12:25:53.860Z] Merging remotes/origin/main commit fb1cfc1ed001b91dc8782235128666e14fb0baf6 into PR head commit 3122737150792d1db66637461d446b3c7de78dbd [2024-10-18T12:25:54.214Z] Merge succeeded, producing 3122737150792d1db66637461d446b3c7de78dbd [2024-10-18T12:25:54.215Z] Checking out Revision 3122737150792d1db66637461d446b3c7de78dbd (PR-149) [2024-10-18T12:25:53.877Z] > git config core.sparsecheckout # timeout=10 [2024-10-18T12:25:53.981Z] > git checkout -f 3122737150792d1db66637461d446b3c7de78dbd # timeout=10 [2024-10-18T12:25:54.087Z] > git remote # timeout=10 [2024-10-18T12:25:54.114Z] > git config --get remote.origin.url # timeout=10 [2024-10-18T12:25:54.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T12:25:54.160Z] > git merge fb1cfc1ed001b91dc8782235128666e14fb0baf6 # timeout=10 [2024-10-18T12:25:54.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-18T12:25:54.219Z] > git config core.sparsecheckout # timeout=10 [2024-10-18T12:25:54.235Z] > git checkout -f 3122737150792d1db66637461d446b3c7de78dbd # timeout=10 [2024-10-18T12:25:57.933Z] Commit message: "build: Upgrade core-contracts and sdk" [2024-10-18T12:25:57.994Z] > git --version # timeout=10 [2024-10-18T12:25:58.094Z] > git --version # 'git version 2.25.1' [2024-10-18T12:25:58.139Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T12:26:00.597Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-18T12:26:00.597Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-18T12:26:00.597Z] Dload Upload Total Spent Left Speed [2024-10-18T12:26:00.597Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2024-10-18T12:26:00.951Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-18T12:26:01.308Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-18T12:26:01.308Z] + sudo tee /etc/docker/daemon.new [2024-10-18T12:26:01.308Z] { [2024-10-18T12:26:01.308Z] "registry-mirrors": [ [2024-10-18T12:26:01.308Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-18T12:26:01.308Z] ], [2024-10-18T12:26:01.308Z] "bip": "10.250.0.254/24", [2024-10-18T12:26:01.308Z] "hosts": [ [2024-10-18T12:26:01.308Z] "tcp://0.0.0.0:5555", [2024-10-18T12:26:01.308Z] "unix:///var/run/docker.sock" [2024-10-18T12:26:01.308Z] ], [2024-10-18T12:26:01.308Z] "mtu": 1458, [2024-10-18T12:26:01.308Z] "selinux-enabled": true, [2024-10-18T12:26:01.308Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-18T12:26:01.308Z] } [Pipeline] sh [2024-10-18T12:26:01.682Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-18T12:26:02.047Z] + sudo service docker restart [2024-10-18T12:26:05.745Z] level=info msg="[loader] Go packages loading at mode 575 (deps|files|imports|types_sizes|compiled_files|exports_file|name) took 23.719746593s" [2024-10-18T12:26:05.745Z] level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 8.416088ms" [2024-10-18T12:26:13.875Z] level=info msg="[linters_context/goanalysis] analyzers took 56.837536164s with top 10 stages: buildir: 46.95701734s, inspect: 2.018587859s, fact_deprecated: 1.525868554s, printf: 1.063164236s, ctrlflow: 1.043654822s, fact_purity: 967.643433ms, nilness: 873.13155ms, typedness: 513.268505ms, SA5012: 502.940993ms, gosec: 194.13734ms" [2024-10-18T12:26:13.875Z] level=info msg="[runner] Issues before processing: 10, after processing: 0" [2024-10-18T12:26:13.875Z] level=info msg="[runner] Processors filtering stat (in/out): invalid_issue: 10/10, autogenerated_exclude: 10/10, identifier_marker: 10/10, exclude-rules: 10/0, skip_dirs: 10/10, cgo: 10/10, path_prettifier: 10/10, skip_files: 10/10, filename_unadjuster: 10/10, exclude: 10/10" [2024-10-18T12:26:13.875Z] level=info msg="[runner] processing took 1.070609ms with stages: identifier_marker: 537.174µs, autogenerated_exclude: 181.911µs, exclude-rules: 135.019µs, path_prettifier: 122.918µs, skip_dirs: 74.105µs, cgo: 4.051µs, invalid_issue: 3.81µs, filename_unadjuster: 2.07µs, nolint: 1.52µs, max_same_issues: 1.36µs, uniq_by_line: 1.14µs, exclude: 1µs, fixer: 870ns, skip_files: 820ns, max_from_linter: 621ns, sort_results: 560ns, source_code: 340ns, diff: 290ns, path_prefixer: 270ns, path_shortener: 260ns, max_per_file_from_linter: 260ns, severity-rules: 240ns" [2024-10-18T12:26:13.875Z] level=info msg="[runner] linters took 10.976044559s with stages: goanalysis_metalinter: 10.97478346s" [2024-10-18T12:26:13.875Z] level=info msg="File cache stats: 0 entries of total size 0B" [2024-10-18T12:26:13.875Z] level=info msg="Memory: 349 samples, avg is 237.9MB, max is 1068.4MB" [2024-10-18T12:26:13.875Z] level=info msg="Execution took 34.711205553s" [2024-10-18T12:26:13.875Z] go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T12:26:20.434Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-18T12:26:20.434Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-18T12:26:20.434Z] ./bin/test-attribution-txt.sh [2024-10-18T12:26:20.435Z] provisioning config files... [2024-10-18T12:26:20.463Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config15542891557706384796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] echo [2024-10-18T12:26:20.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-18T12:26:20.831Z] $ docker stop --time=1 dff20ddffe2e1ea19fa3d47650867e59704e72644473c63159424cadffbb57c0 [2024-10-18T12:26:20.998Z] ---> ****-login.sh [2024-10-18T12:26:20.998Z] nexus3.edgexfoundry.org:10001 [2024-10-18T12:26:21.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:26:21.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:26:21.586Z] Configure a credential helper to remove this warning. See [2024-10-18T12:26:21.586Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:26:21.586Z] [2024-10-18T12:26:21.586Z] Login Succeeded [2024-10-18T12:26:21.586Z] nexus3.edgexfoundry.org:10002 [2024-10-18T12:26:21.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:26:22.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:26:22.123Z] Configure a credential helper to remove this warning. See [2024-10-18T12:26:22.123Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:26:22.123Z] [2024-10-18T12:26:22.123Z] Login Succeeded [2024-10-18T12:26:22.123Z] nexus3.edgexfoundry.org:10003 [2024-10-18T12:26:22.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:26:22.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:26:22.396Z] Configure a credential helper to remove this warning. See [2024-10-18T12:26:22.396Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:26:22.396Z] [2024-10-18T12:26:22.396Z] Login Succeeded [2024-10-18T12:26:22.396Z] nexus3.edgexfoundry.org:10004 [2024-10-18T12:26:22.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:26:22.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:26:22.664Z] Configure a credential helper to remove this warning. See [2024-10-18T12:26:22.664Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:26:22.664Z] [2024-10-18T12:26:22.664Z] Login Succeeded [2024-10-18T12:26:22.664Z] ****.io [2024-10-18T12:26:22.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T12:26:23.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T12:26:23.209Z] Configure a credential helper to remove this warning. See [2024-10-18T12:26:23.209Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T12:26:23.209Z] [2024-10-18T12:26:23.209Z] Login Succeeded [2024-10-18T12:26:23.209Z] ---> ****-login.sh ends [2024-10-18T12:26:25.196Z] $ docker rm -f --volumes dff20ddffe2e1ea19fa3d47650867e59704e72644473c63159424cadffbb57c0 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [2024-10-18T12:26:25.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-10-18T12:26:26.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-18T12:26:26.211Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] echo [2024-10-18T12:26:26.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T12:26:26.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T12:26:26.547Z] ========================================================= [2024-10-18T12:26:26.547Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-18T12:26:26.547Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2024-10-18T12:26:27.031Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-18T12:26:27.278Z] + sudo chown -R jenkins:jenkins . [2024-10-18T12:26:27.300Z] Sending build context to Docker daemon 338.4kB [2024-10-18T12:26:27.300Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T12:26:27.300Z] Step 2/12 : FROM ${BASE} AS builder [Pipeline] sh [2024-10-18T12:26:27.599Z] + ls -al . [2024-10-18T12:26:27.599Z] total 280 [2024-10-18T12:26:27.599Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 12:24 . [2024-10-18T12:26:27.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 12:23 .. [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 18 12:23 .dockerignore [2024-10-18T12:26:27.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 12:25 .git [2024-10-18T12:26:27.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:23 .github [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 164 Oct 18 12:23 .gitignore [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 12:23 .golangci.yml [2024-10-18T12:26:27.599Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 12:23 .semver [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 20885 Oct 18 12:23 Attribution.txt [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 458 Oct 18 12:23 CHANGELOG.md [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 1725 Oct 18 12:23 Dockerfile [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 12:23 GOVERNANCE.md [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 681 Oct 18 12:23 Jenkinsfile [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 18 12:23 LICENSE [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 3805 Oct 18 12:23 Makefile [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 611 Oct 18 12:23 OWNERS.md [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 4107 Oct 18 12:23 README.md [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 7789 Oct 18 12:23 Record and Reply.postman_collection.json [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 12:23 VERSION [2024-10-18T12:26:27.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:23 bin [2024-10-18T12:26:27.599Z] -rw-r--r-- 1 jenkins jenkins 34247 Oct 18 12:25 coverage.out [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 7488 Oct 18 12:23 go.mod [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 100896 Oct 18 12:23 go.sum [2024-10-18T12:26:27.599Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 18 12:23 internal [2024-10-18T12:26:27.599Z] -rw-rw-r-- 1 jenkins jenkins 913 Oct 18 12:23 main.go [2024-10-18T12:26:27.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:23 openapi [2024-10-18T12:26:27.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:23 pkg [2024-10-18T12:26:27.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:23 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:26:27.887Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-18T12:26:27.888Z] cf04c63912e1: Pulling fs layer [2024-10-18T12:26:27.888Z] 55b35a11ae5e: Pulling fs layer [2024-10-18T12:26:27.888Z] a37a00ec5f00: Pulling fs layer [2024-10-18T12:26:27.888Z] 50b3750afda1: Pulling fs layer [2024-10-18T12:26:27.888Z] 4f4fb700ef54: Pulling fs layer [2024-10-18T12:26:27.888Z] 50b3750afda1: Waiting [2024-10-18T12:26:27.888Z] 4f4fb700ef54: Waiting [2024-10-18T12:26:27.888Z] 80978eb59214: Pulling fs layer [2024-10-18T12:26:27.888Z] c9f46d7d2bd2: Pulling fs layer [2024-10-18T12:26:27.888Z] c5a475d317c9: Pulling fs layer [2024-10-18T12:26:27.888Z] 80978eb59214: Waiting [2024-10-18T12:26:27.888Z] c9f46d7d2bd2: Waiting [2024-10-18T12:26:27.888Z] c5a475d317c9: Waiting [2024-10-18T12:26:27.888Z] 55b35a11ae5e: Verifying Checksum [2024-10-18T12:26:27.888Z] 55b35a11ae5e: Download complete [2024-10-18T12:26:27.888Z] 50b3750afda1: Verifying Checksum [2024-10-18T12:26:27.888Z] 50b3750afda1: Download complete [2024-10-18T12:26:28.105Z] + 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=3122737150792d1db66637461d446b3c7de78dbd --label arch=amd64 --label version=0.0.0 . [2024-10-18T12:26:28.105Z] Sending build context to Docker daemon 9.79MB [2024-10-18T12:26:28.105Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T12:26:28.105Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-18T12:26:28.105Z] ---> 1d007a44274b [2024-10-18T12:26:28.105Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T12:26:28.156Z] 4f4fb700ef54: Verifying Checksum [2024-10-18T12:26:28.156Z] 4f4fb700ef54: Download complete [2024-10-18T12:26:28.156Z] 80978eb59214: Verifying Checksum [2024-10-18T12:26:28.156Z] 80978eb59214: Download complete [2024-10-18T12:26:28.156Z] cf04c63912e1: Verifying Checksum [2024-10-18T12:26:28.156Z] cf04c63912e1: Download complete [2024-10-18T12:26:28.366Z] ---> Running in bce56964a2ac [2024-10-18T12:26:28.366Z] Removing intermediate container bce56964a2ac [2024-10-18T12:26:28.366Z] ---> 72e9d0f37f8e [2024-10-18T12:26:28.366Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T12:26:28.366Z] ---> Running in 89b1c18764c3 [2024-10-18T12:26:28.366Z] Removing intermediate container 89b1c18764c3 [2024-10-18T12:26:28.366Z] ---> eb60ccf1ccec [2024-10-18T12:26:28.366Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2024-10-18T12:26:28.366Z] ---> Running in 09b1d2664643 [2024-10-18T12:26:28.626Z] Removing intermediate container 09b1d2664643 [2024-10-18T12:26:28.626Z] ---> f64a2a2c330b [2024-10-18T12:26:28.626Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T12:26:28.626Z] ---> Running in d22004fcf5b9 [2024-10-18T12:26:28.745Z] c5a475d317c9: Verifying Checksum [2024-10-18T12:26:28.745Z] c5a475d317c9: Download complete [2024-10-18T12:26:28.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T12:26:28.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T12:26:29.014Z] cf04c63912e1: Pull complete [2024-10-18T12:26:29.453Z] OK: 246 MiB in 54 packages [2024-10-18T12:26:29.600Z] 55b35a11ae5e: Pull complete [2024-10-18T12:26:29.712Z] Removing intermediate container d22004fcf5b9 [2024-10-18T12:26:29.712Z] ---> 96e16ed6a1d2 [2024-10-18T12:26:29.712Z] Step 7/27 : WORKDIR /app [2024-10-18T12:26:29.712Z] ---> Running in 3a2f000e32b8 [2024-10-18T12:26:29.712Z] Removing intermediate container 3a2f000e32b8 [2024-10-18T12:26:29.712Z] ---> 93a0a08c8364 [2024-10-18T12:26:29.712Z] Step 8/27 : COPY go.mod vendor* ./ [2024-10-18T12:26:29.712Z] ---> 963f20c6646f [2024-10-18T12:26:29.712Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T12:26:29.712Z] ---> Running in f1fbaf0459a0 [2024-10-18T12:26:29.868Z] a37a00ec5f00: Verifying Checksum [2024-10-18T12:26:29.868Z] a37a00ec5f00: Download complete [2024-10-18T12:26:30.649Z] Removing intermediate container f1fbaf0459a0 [2024-10-18T12:26:30.649Z] ---> ac0d1a50eb08 [2024-10-18T12:26:30.649Z] Step 10/27 : COPY . . [2024-10-18T12:26:30.831Z] c9f46d7d2bd2: Download complete [2024-10-18T12:26:31.218Z] ---> a591d3ef0cf7 [2024-10-18T12:26:31.218Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T12:26:31.218Z] ---> Running in dbf67fe30066 [2024-10-18T12:26:31.218Z] Removing intermediate container dbf67fe30066 [2024-10-18T12:26:31.218Z] ---> 18286aaeb11c [2024-10-18T12:26:31.218Z] Step 12/27 : RUN $MAKE [2024-10-18T12:26:31.218Z] ---> Running in 4028332e5b86 [2024-10-18T12:26:31.480Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-record-replay [2024-10-18T12:26:43.172Z] a37a00ec5f00: Pull complete [2024-10-18T12:26:43.172Z] 50b3750afda1: Pull complete [2024-10-18T12:26:43.443Z] 4f4fb700ef54: Pull complete [2024-10-18T12:26:43.710Z] 80978eb59214: Pull complete [2024-10-18T12:26:51.938Z] c9f46d7d2bd2: Pull complete [2024-10-18T12:26:53.351Z] c5a475d317c9: Pull complete [2024-10-18T12:26:53.351Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-18T12:26:53.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-18T12:26:53.351Z] ---> be29e6b0f0d4 [2024-10-18T12:26:53.351Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T12:26:54.314Z] ---> Running in 9aca2e0fa070 [2024-10-18T12:26:54.901Z] Removing intermediate container 9aca2e0fa070 [2024-10-18T12:26:54.901Z] ---> 31e70378f52b [2024-10-18T12:26:54.901Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T12:26:54.901Z] ---> Running in d68214538fd6 [2024-10-18T12:26:55.169Z] Removing intermediate container d68214538fd6 [2024-10-18T12:26:55.169Z] ---> 2f86be4ab789 [2024-10-18T12:26:55.169Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-18T12:26:55.169Z] ---> Running in 25fad7434ac2 [2024-10-18T12:26:55.764Z] Removing intermediate container 25fad7434ac2 [2024-10-18T12:26:55.764Z] ---> 11a28e7826e5 [2024-10-18T12:26:55.764Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T12:26:55.764Z] ---> Running in a85bff270df6 [2024-10-18T12:26:56.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T12:26:57.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T12:26:58.719Z] OK: 238 MiB in 54 packages [2024-10-18T12:26:59.682Z] Removing intermediate container a85bff270df6 [2024-10-18T12:26:59.682Z] ---> 89d827116211 [2024-10-18T12:26:59.682Z] Step 7/12 : WORKDIR /app [2024-10-18T12:26:59.959Z] ---> Running in bc145b02d661 [2024-10-18T12:27:00.226Z] Removing intermediate container bc145b02d661 [2024-10-18T12:27:00.226Z] ---> 846b86659482 [2024-10-18T12:27:00.226Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-18T12:27:00.810Z] ---> 6c1c43712511 [2024-10-18T12:27:00.810Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T12:27:00.810Z] ---> Running in 6a15a98038ef [2024-10-18T12:27:10.209Z] Removing intermediate container 4028332e5b86 [2024-10-18T12:27:10.209Z] ---> e36b8980c7d6 [2024-10-18T12:27:10.209Z] Step 13/27 : FROM alpine:3.20 [2024-10-18T12:27:10.209Z] 3.20: Pulling from library/alpine [2024-10-18T12:27:10.209Z] 43c4264eed91: Already exists [2024-10-18T12:27:10.209Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-18T12:27:10.209Z] Status: Downloaded newer image for alpine:3.20 [2024-10-18T12:27:10.209Z] ---> 91ef0af61f39 [2024-10-18T12:27:10.209Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-18T12:27:10.209Z] ---> Running in c307c5b76f62 [2024-10-18T12:27:10.209Z] Removing intermediate container c307c5b76f62 [2024-10-18T12:27:10.209Z] ---> 0f7fd40f0d36 [2024-10-18T12:27:10.209Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2024-10-18T12:27:10.209Z] ---> Running in 8492cf799576 [2024-10-18T12:27:10.209Z] Removing intermediate container 8492cf799576 [2024-10-18T12:27:10.209Z] ---> bcad9a4fc9f2 [2024-10-18T12:27:10.209Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2024-10-18T12:27:10.209Z] ---> Running in 66dd4edcc35d [2024-10-18T12:27:10.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T12:27:10.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T12:27:10.209Z] (1/2) Installing ca-certificates (20240705-r0) [2024-10-18T12:27:10.209Z] (2/2) Installing dumb-init (1.2.5-r3) [2024-10-18T12:27:10.209Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T12:27:10.209Z] Executing ca-certificates-20240705-r0.trigger [2024-10-18T12:27:10.209Z] OK: 9 MiB in 16 packages [2024-10-18T12:27:10.209Z] Removing intermediate container 66dd4edcc35d [2024-10-18T12:27:10.209Z] ---> 8f98926f2470 [2024-10-18T12:27:10.209Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-18T12:27:10.209Z] ---> Running in c375fa691e1b [2024-10-18T12:27:10.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T12:27:10.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T12:27:10.209Z] Upgrading critical system libraries and apk-tools: [2024-10-18T12:27:10.209Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-18T12:27:10.209Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T12:27:10.209Z] Continuing the upgrade transaction with new apk-tools: [2024-10-18T12:27:10.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T12:27:10.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T12:27:10.209Z] OK: 9 MiB in 16 packages [2024-10-18T12:27:10.209Z] Removing intermediate container c375fa691e1b [2024-10-18T12:27:10.209Z] ---> bf1720253e84 [2024-10-18T12:27:10.209Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2024-10-18T12:27:10.209Z] ---> f75a163101aa [2024-10-18T12:27:10.209Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2024-10-18T12:27:10.209Z] ---> a29a01721db1 [2024-10-18T12:27:10.209Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2024-10-18T12:27:10.209Z] ---> 083be1049912 [2024-10-18T12:27:10.209Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2024-10-18T12:27:11.157Z] ---> b33002ec339b [2024-10-18T12:27:11.157Z] Step 22/27 : EXPOSE 59712 [2024-10-18T12:27:11.418Z] ---> Running in 52545855de32 [2024-10-18T12:27:11.418Z] Removing intermediate container 52545855de32 [2024-10-18T12:27:11.418Z] ---> 73f4265ce02a [2024-10-18T12:27:11.418Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2024-10-18T12:27:11.418Z] ---> Running in 18c209645e7b [2024-10-18T12:27:11.418Z] Removing intermediate container 18c209645e7b [2024-10-18T12:27:11.418Z] ---> b38ad5b2c7c7 [2024-10-18T12:27:11.418Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-18T12:27:11.418Z] ---> Running in e5a153ef8e8b [2024-10-18T12:27:11.418Z] Removing intermediate container e5a153ef8e8b [2024-10-18T12:27:11.418Z] ---> 2e20802ea84b [2024-10-18T12:27:11.418Z] Step 25/27 : LABEL arch=amd64 [2024-10-18T12:27:11.677Z] ---> Running in 75da4baf3044 [2024-10-18T12:27:11.677Z] Removing intermediate container 75da4baf3044 [2024-10-18T12:27:11.677Z] ---> 88664daad213 [2024-10-18T12:27:11.677Z] Step 26/27 : LABEL git_sha=3122737150792d1db66637461d446b3c7de78dbd [2024-10-18T12:27:11.677Z] ---> Running in b26524592c4b [2024-10-18T12:27:11.677Z] Removing intermediate container b26524592c4b [2024-10-18T12:27:11.677Z] ---> 6922fa5570fb [2024-10-18T12:27:11.677Z] Step 27/27 : LABEL version=0.0.0 [2024-10-18T12:27:11.677Z] ---> Running in bc561a5aa9d5 [2024-10-18T12:27:11.677Z] Removing intermediate container bc561a5aa9d5 [2024-10-18T12:27:11.677Z] ---> 49aaf6b68883 [2024-10-18T12:27:11.677Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-18T12:27:11.677Z] Successfully built 49aaf6b68883 [2024-10-18T12:27:11.936Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:27:12.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T12:27:12.956Z] [2024-10-18T12:27:12.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:27:13.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T12:27:13.347Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-18T12:27:13.347Z] 5eb5b503b376: Pulling fs layer [2024-10-18T12:27:13.347Z] 5c69ac0246d0: Pulling fs layer [2024-10-18T12:27:13.347Z] ec43610c2a17: Pulling fs layer [2024-10-18T12:27:13.347Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-18T12:27:13.347Z] 33b1e0a273af: Pulling fs layer [2024-10-18T12:27:13.347Z] 5d3b04190fa2: Pulling fs layer [2024-10-18T12:27:13.347Z] 2f39f015ded8: Pulling fs layer [2024-10-18T12:27:13.347Z] 3a2ae6a8a46f: Waiting [2024-10-18T12:27:13.347Z] 2f39f015ded8: Waiting [2024-10-18T12:27:13.347Z] 33b1e0a273af: Waiting [2024-10-18T12:27:13.347Z] 5d3b04190fa2: Waiting [2024-10-18T12:27:13.347Z] 5c69ac0246d0: Verifying Checksum [2024-10-18T12:27:13.347Z] 5c69ac0246d0: Download complete [2024-10-18T12:27:13.347Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-18T12:27:13.347Z] 3a2ae6a8a46f: Download complete [2024-10-18T12:27:13.347Z] 33b1e0a273af: Verifying Checksum [2024-10-18T12:27:13.347Z] 33b1e0a273af: Download complete [2024-10-18T12:27:13.347Z] ec43610c2a17: Verifying Checksum [2024-10-18T12:27:13.347Z] ec43610c2a17: Download complete [2024-10-18T12:27:13.347Z] 5d3b04190fa2: Download complete [2024-10-18T12:27:13.605Z] 5eb5b503b376: Verifying Checksum [2024-10-18T12:27:13.605Z] 5eb5b503b376: Download complete [2024-10-18T12:27:14.171Z] 2f39f015ded8: Verifying Checksum [2024-10-18T12:27:14.171Z] 2f39f015ded8: Download complete [2024-10-18T12:27:14.738Z] 5eb5b503b376: Pull complete [2024-10-18T12:27:14.738Z] 5c69ac0246d0: Pull complete [2024-10-18T12:27:15.304Z] ec43610c2a17: Pull complete [2024-10-18T12:27:15.304Z] 3a2ae6a8a46f: Pull complete [2024-10-18T12:27:15.562Z] 33b1e0a273af: Pull complete [2024-10-18T12:27:15.562Z] 5d3b04190fa2: Pull complete [2024-10-18T12:27:19.753Z] 2f39f015ded8: Pull complete [2024-10-18T12:27:19.753Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-18T12:27:19.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T12:27:19.753Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T12:27:20.028Z] prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container [2024-10-18T12:27:20.061Z] $ 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-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-18T12:27:24.399Z] $ docker top f5b2a72b00de8dc132cc9f365f25aca39c2c0362301802012f26dc3ccf971b4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:27:24.884Z] ---> job-cost.sh [2024-10-18T12:27:24.884Z] lf-activate-venv: SKIPPING [2024-10-18T12:27:24.884Z] INFO: No Stack... [2024-10-18T12:27:25.144Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-18T12:27:25.403Z] INFO: Archiving Costs [Pipeline] sh [2024-10-18T12:27:25.729Z] + cat /w/workspace/foundry_app-record-replay_PR-149/archives/cost.csv [2024-10-18T12:27:25.729Z] + cut -d, -f6 [Pipeline] lock [2024-10-18T12:27:25.783Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [2024-10-18T12:27:25.790Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] did not exist. Created. [2024-10-18T12:27:25.796Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-18T12:27:26.225Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-18T12:27:26.283Z] Stashed 1 file(s) [Pipeline] } [2024-10-18T12:27:26.323Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-18T12:27:26.426Z] $ docker stop --time=1 f5b2a72b00de8dc132cc9f365f25aca39c2c0362301802012f26dc3ccf971b4e [2024-10-18T12:27:27.567Z] $ docker rm -f --volumes f5b2a72b00de8dc132cc9f365f25aca39c2c0362301802012f26dc3ccf971b4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-18T12:28:52.516Z] Removing intermediate container 6a15a98038ef [2024-10-18T12:28:52.516Z] ---> 87f3eff6e56f [2024-10-18T12:28:52.516Z] Step 10/12 : COPY . . [2024-10-18T12:28:52.789Z] ---> 25d1bb87afc2 [2024-10-18T12:28:52.789Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T12:28:53.059Z] ---> Running in 6cdab7521abf [2024-10-18T12:28:53.328Z] Removing intermediate container 6cdab7521abf [2024-10-18T12:28:53.328Z] ---> b3f4393fa1df [2024-10-18T12:28:53.328Z] Step 12/12 : RUN $MAKE [2024-10-18T12:28:53.328Z] ---> Running in 5b64d6952433 [2024-10-18T12:28:54.295Z] noop [2024-10-18T12:28:54.881Z] Removing intermediate container 5b64d6952433 [2024-10-18T12:28:54.881Z] ---> 74ec4f2bb5df [2024-10-18T12:28:54.881Z] Successfully built 74ec4f2bb5df [2024-10-18T12:28:54.881Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:28:55.413Z] + docker inspect -f . ci-base-image-arm64 [2024-10-18T12:28:55.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T12:28:55.713Z] prd-ubuntu20.04-docker-arm64-4c-16g-23263 does not seem to be running inside a container [2024-10-18T12:28:55.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-18T12:28:57.118Z] $ docker top f8555c358b061099c1a4aa55ef18fa5e8185d0586218d4b16fbf0012e14fb9d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T12:28:58.141Z] + go version [2024-10-18T12:28:58.142Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-18T12:28:58.187Z] $ docker stop --time=1 f8555c358b061099c1a4aa55ef18fa5e8185d0586218d4b16fbf0012e14fb9d9 [2024-10-18T12:28:59.890Z] $ docker rm -f --volumes f8555c358b061099c1a4aa55ef18fa5e8185d0586218d4b16fbf0012e14fb9d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:29:00.884Z] + docker inspect -f . ci-base-image-arm64 [2024-10-18T12:29:00.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T12:29:01.155Z] prd-ubuntu20.04-docker-arm64-4c-16g-23263 does not seem to be running inside a container [2024-10-18T12:29:01.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-18T12:29:02.435Z] $ docker top bb7dfaf0ac4cad087c9ebbb9e7082074a474d2cc879ca4ae03d0ac31c92e8794 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T12:29:03.347Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2024-10-18T12:29:04.086Z] + make test [2024-10-18T12:29:04.086Z] go test -race -coverprofile=coverage.out ./... [2024-10-18T12:33:41.019Z] github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements [2024-10-18T12:33:51.112Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.143s coverage: 88.0% of statements [2024-10-18T12:33:55.365Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2024-10-18T12:33:55.365Z] github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements [2024-10-18T12:33:58.718Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2024-10-18T12:34:01.298Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.828s coverage: 98.7% of statements [2024-10-18T12:34:01.298Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.435s coverage: 89.7% of statements [2024-10-18T12:34:01.298Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.082s coverage: 100.0% of statements [2024-10-18T12:34:02.707Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-18T12:34:02.707Z] go vet ./... [2024-10-18T12:38:09.586Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-18T12:38:09.586Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-18T12:38:09.586Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-18T12:38:09.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-18T12:38:09.680Z] $ docker stop --time=1 bb7dfaf0ac4cad087c9ebbb9e7082074a474d2cc879ca4ae03d0ac31c92e8794 [2024-10-18T12:38:11.488Z] $ docker rm -f --volumes bb7dfaf0ac4cad087c9ebbb9e7082074a474d2cc879ca4ae03d0ac31c92e8794 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-18T12:38:13.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-18T12:38:13.903Z] Warning: overwriting stash ‘coverage-report’ [2024-10-18T12:38:14.393Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T12:38:15.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-18T12:38:15.405Z] + ls -al . [2024-10-18T12:38:15.405Z] total 276 [2024-10-18T12:38:15.405Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 12:29 . [2024-10-18T12:38:15.405Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 12:25 .. [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 119 Oct 18 12:25 .dockerignore [2024-10-18T12:38:15.405Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 12:25 .git [2024-10-18T12:38:15.405Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:25 .github [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 164 Oct 18 12:25 .gitignore [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 12:25 .golangci.yml [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 20885 Oct 18 12:25 Attribution.txt [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 458 Oct 18 12:25 CHANGELOG.md [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 1725 Oct 18 12:25 Dockerfile [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 12:25 GOVERNANCE.md [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 681 Oct 18 12:25 Jenkinsfile [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 18 12:25 LICENSE [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 3805 Oct 18 12:25 Makefile [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 611 Oct 18 12:25 OWNERS.md [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 4107 Oct 18 12:25 README.md [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 7789 Oct 18 12:25 Record and Reply.postman_collection.json [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 12:23 VERSION [2024-10-18T12:38:15.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:25 bin [2024-10-18T12:38:15.405Z] -rw-r--r-- 1 jenkins jenkins 34248 Oct 18 12:34 coverage.out [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 7488 Oct 18 12:25 go.mod [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 100896 Oct 18 12:25 go.sum [2024-10-18T12:38:15.405Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 18 12:25 internal [2024-10-18T12:38:15.405Z] -rw-rw-r-- 1 jenkins jenkins 913 Oct 18 12:25 main.go [2024-10-18T12:38:15.405Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:25 openapi [2024-10-18T12:38:15.405Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 12:25 pkg [2024-10-18T12:38:15.405Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 12:25 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:38:15.874Z] + 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=3122737150792d1db66637461d446b3c7de78dbd --label arch=arm64 --label version=0.0.0 . [2024-10-18T12:38:16.142Z] Sending build context to Docker daemon 373.2kB [2024-10-18T12:38:16.142Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T12:38:16.142Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-18T12:38:16.142Z] ---> 74ec4f2bb5df [2024-10-18T12:38:16.142Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T12:38:16.142Z] ---> Running in c50ae6455caf [2024-10-18T12:38:16.728Z] Removing intermediate container c50ae6455caf [2024-10-18T12:38:16.728Z] ---> 6d937393f845 [2024-10-18T12:38:16.728Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T12:38:16.728Z] ---> Running in 902ff0b550ac [2024-10-18T12:38:16.996Z] Removing intermediate container 902ff0b550ac [2024-10-18T12:38:16.996Z] ---> 1fdc581c5221 [2024-10-18T12:38:16.996Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2024-10-18T12:38:16.996Z] ---> Running in 3dfaff6b988d [2024-10-18T12:38:17.264Z] Removing intermediate container 3dfaff6b988d [2024-10-18T12:38:17.264Z] ---> 9b2c301705e2 [2024-10-18T12:38:17.264Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T12:38:17.538Z] ---> Running in 203fc8c91099 [2024-10-18T12:38:18.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T12:38:18.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T12:38:20.175Z] OK: 238 MiB in 54 packages [2024-10-18T12:38:21.174Z] Removing intermediate container 203fc8c91099 [2024-10-18T12:38:21.174Z] ---> b7ad158df168 [2024-10-18T12:38:21.174Z] Step 7/27 : WORKDIR /app [2024-10-18T12:38:21.443Z] ---> Running in 22df873b393c [2024-10-18T12:38:21.711Z] Removing intermediate container 22df873b393c [2024-10-18T12:38:21.711Z] ---> 3576ea801d4c [2024-10-18T12:38:21.711Z] Step 8/27 : COPY go.mod vendor* ./ [2024-10-18T12:38:22.300Z] ---> 3a9d8836c56e [2024-10-18T12:38:22.300Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T12:38:22.300Z] ---> Running in 09d186f442e5 [2024-10-18T12:38:24.882Z] Removing intermediate container 09d186f442e5 [2024-10-18T12:38:24.882Z] ---> cf5a6bc38d1e [2024-10-18T12:38:24.882Z] Step 10/27 : COPY . . [2024-10-18T12:38:25.464Z] ---> 95228791415a [2024-10-18T12:38:25.464Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T12:38:25.464Z] ---> Running in d0b35ef1ed13 [2024-10-18T12:38:25.733Z] Removing intermediate container d0b35ef1ed13 [2024-10-18T12:38:25.733Z] ---> 873620e79f1c [2024-10-18T12:38:25.733Z] Step 12/27 : RUN $MAKE [2024-10-18T12:38:25.733Z] ---> Running in 95e6398ac2df [2024-10-18T12:38:26.692Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.57 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o app-record-replay [2024-10-18T12:42:18.478Z] Removing intermediate container 95e6398ac2df [2024-10-18T12:42:18.478Z] ---> c8d26a16ff38 [2024-10-18T12:42:18.478Z] Step 13/27 : FROM alpine:3.20 [2024-10-18T12:42:18.478Z] 3.20: Pulling from library/alpine [2024-10-18T12:42:18.478Z] cf04c63912e1: Already exists [2024-10-18T12:42:18.478Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-18T12:42:18.478Z] Status: Downloaded newer image for alpine:3.20 [2024-10-18T12:42:18.478Z] ---> c157a85ed455 [2024-10-18T12:42:18.478Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-18T12:42:18.478Z] ---> Running in 67f2ac2fb801 [2024-10-18T12:42:18.478Z] Removing intermediate container 67f2ac2fb801 [2024-10-18T12:42:18.478Z] ---> c1878f023c6c [2024-10-18T12:42:18.478Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2024-10-18T12:42:18.478Z] ---> Running in 066d0d2bcf42 [2024-10-18T12:42:18.478Z] Removing intermediate container 066d0d2bcf42 [2024-10-18T12:42:18.478Z] ---> 6da4abe4e278 [2024-10-18T12:42:18.478Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2024-10-18T12:42:18.478Z] ---> Running in e43d3aa33bf3 [2024-10-18T12:42:18.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T12:42:18.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T12:42:18.478Z] (1/2) Installing ca-certificates (20240705-r0) [2024-10-18T12:42:18.478Z] (2/2) Installing dumb-init (1.2.5-r3) [2024-10-18T12:42:18.478Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T12:42:18.478Z] Executing ca-certificates-20240705-r0.trigger [2024-10-18T12:42:18.478Z] OK: 10 MiB in 16 packages [2024-10-18T12:42:18.478Z] Removing intermediate container e43d3aa33bf3 [2024-10-18T12:42:18.478Z] ---> 83c074efd12f [2024-10-18T12:42:18.478Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-18T12:42:18.478Z] ---> Running in a2dacd85ee77 [2024-10-18T12:42:18.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T12:42:18.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T12:42:18.478Z] Upgrading critical system libraries and apk-tools: [2024-10-18T12:42:18.478Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-18T12:42:18.478Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T12:42:18.478Z] Continuing the upgrade transaction with new apk-tools: [2024-10-18T12:42:18.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T12:42:18.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T12:42:19.061Z] OK: 10 MiB in 16 packages [2024-10-18T12:42:20.026Z] Removing intermediate container a2dacd85ee77 [2024-10-18T12:42:20.026Z] ---> 47ad279dff09 [2024-10-18T12:42:20.026Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2024-10-18T12:42:20.615Z] ---> 6cdfa9ffc00c [2024-10-18T12:42:20.615Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2024-10-18T12:42:21.198Z] ---> 12864e8a4d91 [2024-10-18T12:42:21.198Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2024-10-18T12:42:21.782Z] ---> eb2cc660a344 [2024-10-18T12:42:21.782Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2024-10-18T12:42:24.369Z] ---> 6c578ce91b41 [2024-10-18T12:42:24.369Z] Step 22/27 : EXPOSE 59712 [2024-10-18T12:42:24.369Z] ---> Running in efa6009d3900 [2024-10-18T12:42:24.636Z] Removing intermediate container efa6009d3900 [2024-10-18T12:42:24.636Z] ---> 0903da45eca1 [2024-10-18T12:42:24.636Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2024-10-18T12:42:24.636Z] ---> Running in 59d798b6a1d9 [2024-10-18T12:42:24.913Z] Removing intermediate container 59d798b6a1d9 [2024-10-18T12:42:24.913Z] ---> 4d9790c8f5e0 [2024-10-18T12:42:24.913Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-18T12:42:25.180Z] ---> Running in b12514a25f0b [2024-10-18T12:42:25.463Z] Removing intermediate container b12514a25f0b [2024-10-18T12:42:25.463Z] ---> a2e1ee8fb0ba [2024-10-18T12:42:25.463Z] Step 25/27 : LABEL arch=arm64 [2024-10-18T12:42:25.463Z] ---> Running in dbaebde79cda [2024-10-18T12:42:25.744Z] Removing intermediate container dbaebde79cda [2024-10-18T12:42:25.744Z] ---> 56a1c98f5f66 [2024-10-18T12:42:25.744Z] Step 26/27 : LABEL git_sha=3122737150792d1db66637461d446b3c7de78dbd [2024-10-18T12:42:26.012Z] ---> Running in 70e5369f7b67 [2024-10-18T12:42:26.279Z] Removing intermediate container 70e5369f7b67 [2024-10-18T12:42:26.279Z] ---> 9d85c666ff3f [2024-10-18T12:42:26.279Z] Step 27/27 : LABEL version=0.0.0 [2024-10-18T12:42:26.279Z] ---> Running in 93059ed5c936 [2024-10-18T12:42:26.545Z] Removing intermediate container 93059ed5c936 [2024-10-18T12:42:26.545Z] ---> 069a76d5db81 [2024-10-18T12:42:26.545Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-18T12:42:26.545Z] Successfully built 069a76d5db81 [2024-10-18T12:42:26.545Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:42:27.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T12:42:27.471Z] [2024-10-18T12:42:27.471Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:42:27.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T12:42:27.946Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-18T12:42:27.946Z] 8998bd30e6a1: Pulling fs layer [2024-10-18T12:42:27.946Z] 04944245beec: Pulling fs layer [2024-10-18T12:42:27.946Z] 699f458cf7ca: Pulling fs layer [2024-10-18T12:42:27.946Z] 765212b225bb: Pulling fs layer [2024-10-18T12:42:27.946Z] f23df028b6ca: Pulling fs layer [2024-10-18T12:42:27.946Z] d65c8cfc05b1: Pulling fs layer [2024-10-18T12:42:27.946Z] 2437ff75d9bd: Pulling fs layer [2024-10-18T12:42:27.946Z] f23df028b6ca: Waiting [2024-10-18T12:42:27.946Z] d65c8cfc05b1: Waiting [2024-10-18T12:42:27.946Z] 2437ff75d9bd: Waiting [2024-10-18T12:42:27.946Z] 765212b225bb: Waiting [2024-10-18T12:42:28.219Z] 04944245beec: Verifying Checksum [2024-10-18T12:42:28.219Z] 04944245beec: Download complete [2024-10-18T12:42:28.219Z] 765212b225bb: Verifying Checksum [2024-10-18T12:42:28.219Z] 765212b225bb: Download complete [2024-10-18T12:42:28.219Z] f23df028b6ca: Verifying Checksum [2024-10-18T12:42:28.219Z] f23df028b6ca: Download complete [2024-10-18T12:42:28.219Z] d65c8cfc05b1: Verifying Checksum [2024-10-18T12:42:28.219Z] d65c8cfc05b1: Download complete [2024-10-18T12:42:28.492Z] 699f458cf7ca: Verifying Checksum [2024-10-18T12:42:28.492Z] 699f458cf7ca: Download complete [2024-10-18T12:42:28.764Z] 8998bd30e6a1: Verifying Checksum [2024-10-18T12:42:28.764Z] 8998bd30e6a1: Download complete [2024-10-18T12:42:31.349Z] 2437ff75d9bd: Verifying Checksum [2024-10-18T12:42:31.349Z] 2437ff75d9bd: Download complete [2024-10-18T12:42:33.293Z] 8998bd30e6a1: Pull complete [2024-10-18T12:42:33.876Z] 04944245beec: Pull complete [2024-10-18T12:42:35.287Z] 699f458cf7ca: Pull complete [2024-10-18T12:42:35.554Z] 765212b225bb: Pull complete [2024-10-18T12:42:36.515Z] f23df028b6ca: Pull complete [2024-10-18T12:42:36.783Z] d65c8cfc05b1: Pull complete [2024-10-18T12:42:54.983Z] 2437ff75d9bd: Pull complete [2024-10-18T12:42:54.983Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-18T12:42:54.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T12:42:54.983Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T12:42:55.355Z] prd-ubuntu20.04-docker-arm64-4c-16g-23263 does not seem to be running inside a container [2024-10-18T12:42:55.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-18T12:42:58.186Z] $ docker top 7384ab7be951fc25a82f19abea40c8351637217967a75b0d0b6854ce9f744675 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:42:59.129Z] ---> job-cost.sh [2024-10-18T12:42:59.129Z] lf-activate-venv: SKIPPING [2024-10-18T12:42:59.129Z] INFO: No Stack... [2024-10-18T12:42:59.713Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-18T12:43:00.297Z] INFO: Archiving Costs [Pipeline] sh [2024-10-18T12:43:01.080Z] + cut -d, -f6 [2024-10-18T12:43:01.080Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock [2024-10-18T12:43:01.154Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [2024-10-18T12:43:01.161Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] did not exist. Created. [2024-10-18T12:43:01.167Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-18T12:43:01.930Z] /w/workspace/app-record-replay/1@tmp/durable-877957a6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-18T12:43:02.654Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-18T12:43:02.709Z] Warning: overwriting stash ‘stack-cost’ [2024-10-18T12:43:02.772Z] Stashed 1 file(s) [Pipeline] } [2024-10-18T12:43:02.794Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-149-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-18T12:43:02.888Z] $ docker stop --time=1 7384ab7be951fc25a82f19abea40c8351637217967a75b0d0b6854ce9f744675 [2024-10-18T12:43:04.458Z] $ docker rm -f --volumes 7384ab7be951fc25a82f19abea40c8351637217967a75b0d0b6854ce9f744675 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-18T12:43:05.876Z] provisioning config files... [2024-10-18T12:43:05.884Z] copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-149@tmp/config13145560396225611851tmp [Pipeline] { [Pipeline] sh [2024-10-18T12:43:06.239Z] + set +x [2024-10-18T12:43:06.239Z] + bash -s -- [2024-10-18T12:43:06.239Z] + curl -s https://codecov.io/bash [2024-10-18T12:43:06.239Z] [2024-10-18T12:43:06.239Z] _____ _ [2024-10-18T12:43:06.239Z] / ____| | | [2024-10-18T12:43:06.239Z] | | ___ __| | ___ ___ _____ __ [2024-10-18T12:43:06.239Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-18T12:43:06.239Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-18T12:43:06.239Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-18T12:43:06.239Z] Bash-1.0.6 [2024-10-18T12:43:06.239Z] [2024-10-18T12:43:06.239Z] [2024-10-18T12:43:06.239Z] ==> git version 2.25.1 found [2024-10-18T12:43:06.239Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-18T12:43:06.239Z] Release-Date: 2020-01-08 [2024-10-18T12:43:06.239Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-18T12:43:06.239Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-18T12:43:06.239Z] ==> Jenkins CI detected. [2024-10-18T12:43:06.239Z] current dir:  /w/workspace/foundry_app-record-replay_PR-149 [2024-10-18T12:43:06.239Z] project root: . [2024-10-18T12:43:06.239Z] --> token set from env [2024-10-18T12:43:06.239Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-18T12:43:06.239Z] ==> Running gcov in . (disable via -X gcov) [2024-10-18T12:43:06.239Z] ==> Python coveragepy not found [2024-10-18T12:43:06.239Z] ==> Searching for coverage reports in: [2024-10-18T12:43:06.239Z] + . [2024-10-18T12:43:06.502Z] -> Found 1 reports [2024-10-18T12:43:06.502Z] ==> Detecting git/mercurial file structure [2024-10-18T12:43:06.502Z] ==> Reading reports [2024-10-18T12:43:06.502Z] + ./coverage.out bytes=34248 [2024-10-18T12:43:06.502Z] ==> Appending adjustments [2024-10-18T12:43:06.502Z] https://docs.codecov.io/docs/fixing-reports [2024-10-18T12:43:06.502Z] + Found adjustments [2024-10-18T12:43:06.502Z] ==> Gzipping contents [2024-10-18T12:43:06.502Z] 8.0K /tmp/codecov.snXipJ.gz [2024-10-18T12:43:06.502Z] ==> Uploading reports [2024-10-18T12:43:06.502Z] url: https://codecov.io [2024-10-18T12:43:06.502Z] query: branch=PR-149&commit=3122737150792d1db66637461d446b3c7de78dbd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=149&job=&cmd_args= [2024-10-18T12:43:06.502Z] -> Pinging Codecov [2024-10-18T12:43:06.502Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-149&commit=3122737150792d1db66637461d446b3c7de78dbd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-149%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=149&job=&cmd_args= [2024-10-18T12:43:06.762Z] -> Uploading to [2024-10-18T12:43:06.762Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/3122737150792d1db66637461d446b3c7de78dbd/c4d042fe-6b0f-4afa-a51e-3e86104a990a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241018%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241018T124306Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2205b319c6269e159ef7afd908f081760f3521a5eb77c66a75234c3e5c5b27fd [2024-10-18T12:43:06.762Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-18T12:43:06.762Z] Dload Upload Total Spent Left Speed [2024-10-18T12:43:07.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5387 0 0 100 5387 0 22923 --:--:-- --:--:-- --:--:-- 22923 [2024-10-18T12:43:07.021Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/3122737150792d1db66637461d446b3c7de78dbd [Pipeline] } [2024-10-18T12:43:07.052Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-18T12:43:09.383Z] + [ -d /w/workspace/foundry_app-record-replay_PR-149/archives ] [2024-10-18T12:43:09.383Z] + ls -al /w/workspace/foundry_app-record-replay_PR-149/archives [2024-10-18T12:43:09.383Z] total 16 [2024-10-18T12:43:09.383Z] drwxr-xr-x 3 root root 4096 Oct 18 12:27 . [2024-10-18T12:43:09.383Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 12:27 .. [2024-10-18T12:43:09.383Z] drwxr-xr-x 2 root root 4096 Oct 18 12:27 cost [2024-10-18T12:43:09.383Z] -rw-r--r-- 1 root root 89 Oct 18 12:27 cost.csv [2024-10-18T12:43:09.383Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-149/archives [2024-10-18T12:43:09.383Z] + ls -al /w/workspace/foundry_app-record-replay_PR-149/archives [2024-10-18T12:43:09.383Z] total 16 [2024-10-18T12:43:09.383Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 12:27 . [2024-10-18T12:43:09.383Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 12:27 .. [2024-10-18T12:43:09.383Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 12:27 cost [2024-10-18T12:43:09.383Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 18 12:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:43:09.724Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:43:10.629Z] ---> package-listing.sh [2024-10-18T12:43:10.629Z] ++ facter osfamily [2024-10-18T12:43:10.629Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-18T12:43:10.889Z] + OS_FAMILY=debian [2024-10-18T12:43:10.889Z] + workspace=/w/workspace/foundry_app-record-replay_PR-149 [2024-10-18T12:43:10.889Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-18T12:43:10.889Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-18T12:43:10.889Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-18T12:43:10.889Z] + PACKAGES=/tmp/packages_start.txt [2024-10-18T12:43:10.889Z] + '[' /w/workspace/foundry_app-record-replay_PR-149 ']' [2024-10-18T12:43:10.889Z] + PACKAGES=/tmp/packages_end.txt [2024-10-18T12:43:10.889Z] + case "${OS_FAMILY}" in [2024-10-18T12:43:10.889Z] + dpkg -l [2024-10-18T12:43:10.889Z] + grep '^ii' [2024-10-18T12:43:10.889Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-18T12:43:10.889Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-18T12:43:10.889Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-18T12:43:10.889Z] + '[' /w/workspace/foundry_app-record-replay_PR-149 ']' [2024-10-18T12:43:10.889Z] + mkdir -p /w/workspace/foundry_app-record-replay_PR-149/archives/ [2024-10-18T12:43:10.889Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-149/archives/ [Pipeline] echo [2024-10-18T12:43:10.934Z] 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-18T12:43:11.231Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T12:43:11.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T12:43:11.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T12:43:12.058Z] prd-ubuntu20.04-docker-8c-8g-23262 does not seem to be running inside a container [2024-10-18T12:43:12.100Z] $ 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-149/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-149 -v /w/workspace/foundry_app-record-replay_PR-149:/w/workspace/foundry_app-record-replay_PR-149:rw,z -v /w/workspace/foundry_app-record-replay_PR-149@tmp:/w/workspace/foundry_app-record-replay_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-18T12:43:12.303Z] $ docker top fa28795a744e2cec5c1ce5b8f1769ca2a4b40fb98a07c2f70c82eff9c0d78a8b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T12:43:12.713Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-18T12:43:13.035Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-18T12:43:13.356Z] + ls /var/log/sa-host [2024-10-18T12:43:13.356Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T12:43:13.616Z] provisioning config files... [2024-10-18T12:43:13.628Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-149@tmp/config11506441938902325534tmp [Pipeline] { [Pipeline] echo [2024-10-18T12:43:13.696Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:43:14.023Z] ---> create-netrc.sh [Pipeline] } [2024-10-18T12:43:14.058Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:43:14.493Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-18T12:43:14.535Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:43:14.862Z] ---> sudo-logs.sh [2024-10-18T12:43:14.862Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-18T12:43:14.967Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:43:15.292Z] ---> job-cost.sh [2024-10-18T12:43:15.292Z] lf-activate-venv: SKIPPING [2024-10-18T12:43:15.292Z] DEBUG: total: 0.2199999988079071 [2024-10-18T12:43:15.292Z] INFO: Retrieving Stack Cost... [2024-10-18T12:43:15.552Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-18T12:43:16.121Z] INFO: Archiving Costs [Pipeline] echo [2024-10-18T12:43:16.166Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T12:43:16.496Z] ---> logs-deploy.sh [2024-10-18T12:43:16.496Z] lf-activate-venv: SKIPPING [2024-10-18T12:43:16.496Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-149/1 [2024-10-18T12:43:16.496Z] INFO: archiving workspace using pattern(s): [2024-10-18T12:43:17.435Z] Archives upload complete. [2024-10-18T12:43:17.435Z] INFO: archiving logs to Nexus