Pull request #152 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 jackchenjc for edgexfoundry/app-record-replay Obtained Jenkinsfile from d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de+62ddbc5b0f189cb0e082a652d86835a7c06dea97 (0d25a209f4ff164f028d7215161b6e793a12a772) 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-ssh1627382055522335530.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-ssh67492465515494664.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-152/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-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5005883028499428735.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-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14728635070840597644.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-ssh6759076350931833401.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-152/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-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6747278985181752928.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24752 in /w/workspace/foundry_app-record-replay_PR-152 [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-152 # 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 62ddbc5b0f189cb0e082a652d86835a7c06dea97 into PR head commit d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de > 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/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de # timeout=10 Merge succeeded, producing d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de Checking out Revision d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de (PR-152) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 62ddbc5b0f189cb0e082a652d86835a7c06dea97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" 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-11-07T09:28:03.407Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-07T09:28:03.628Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-07T09:28:03.758Z] ========================================================= [2024-11-07T09:28:03.758Z] EdgeX Global Pipelines Version Info [2024-11-07T09:28:03.758Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:28:04.530Z] ------------------- [2024-11-07T09:28:04.530Z] stable info: [2024-11-07T09:28:04.530Z] ------------------- [2024-11-07T09:28:04.530Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-07T09:28:04.530Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-07T09:28:04.530Z] Message: update stable to v1.0.265 [2024-11-07T09:28:05.099Z] ------------------- [2024-11-07T09:28:05.099Z] experimental info: [2024-11-07T09:28:05.099Z] ------------------- [2024-11-07T09:28:05.099Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-07T09:28:05.099Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-07T09:28:05.099Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-07T09:28:05.314Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2024-11-07T09:28:05.373Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2024-11-07T09:28:05.433Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-07T09:28:05.488Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-07T09:28:05.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-07T09:28:05.601Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-07T09:28:05.665Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-07T09:28:05.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-07T09:28:05.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-07T09:28:05.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-07T09:28:05.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-07T09:28:05.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2024-11-07T09:28:06.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-07T09:28:06.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-07T09:28:06.146Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:28:06.206Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:28:06.264Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:28:06.321Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:28:06.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-07T09:28:06.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-07T09:28:06.493Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-07T09:28:06.550Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-07T09:28:06.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-07T09:28:06.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-07T09:28:06.720Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-07T09:28:06.786Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-07T09:28:06.849Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-07T09:28:06.906Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo [2024-11-07T09:28:06.965Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo [2024-11-07T09:28:07.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo [2024-11-07T09:28:07.081Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] echo [2024-11-07T09:28:07.137Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5d0cff [Pipeline] echo [2024-11-07T09:28:07.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:28:07.345Z] provisioning config files... [2024-11-07T09:28:07.357Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config10192255392965275710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:28:07.730Z] ---> ****-login.sh [2024-11-07T09:28:07.730Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:28:07.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:07.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:07.994Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:07.994Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:07.994Z] [2024-11-07T09:28:07.994Z] Login Succeeded [2024-11-07T09:28:07.994Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:28:07.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:08.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:08.254Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:08.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:08.254Z] [2024-11-07T09:28:08.254Z] Login Succeeded [2024-11-07T09:28:08.254Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:28:08.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:08.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:08.255Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:08.255Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:08.255Z] [2024-11-07T09:28:08.255Z] Login Succeeded [2024-11-07T09:28:08.255Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:28:08.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:08.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:08.516Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:08.516Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:08.516Z] [2024-11-07T09:28:08.516Z] Login Succeeded [2024-11-07T09:28:08.516Z] ****.io [2024-11-07T09:28:08.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:08.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:08.517Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:08.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:08.517Z] [2024-11-07T09:28:08.517Z] Login Succeeded [2024-11-07T09:28:08.517Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:28:08.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-07T09:28:09.244Z] + git rev-list -1 --merges d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de~1..d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] echo [2024-11-07T09:28:09.304Z] -----------> git rev-list -1 --merges d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de~1..d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [false] [Pipeline] sh [2024-11-07T09:28:09.629Z] + git log --format=format:%s -1 d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] echo [2024-11-07T09:28:09.676Z] ========================================================= [2024-11-07T09:28:09.676Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-07T09:28:09.676Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:28:10.128Z] + git log --format=format:%s -1 d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] echo [2024-11-07T09:28:10.168Z] [semverPrep] GIT_COMMIT: d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-07T09:28:10.212Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-07T09:28:10.612Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-07T09:28:10.612Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-07T09:28:10.612Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-07T09:28:10.612Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-07T09:28:10.612Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-07T09:28:10.612Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-07T09:28:10.612Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:28:11.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:28:11.073Z] [2024-11-07T09:28:11.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:28:11.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:28:11.731Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-07T09:28:11.731Z] b85a868b505f: Pulling fs layer [2024-11-07T09:28:11.731Z] e2be974225ed: Pulling fs layer [2024-11-07T09:28:11.731Z] 339a4e72a1f5: Pulling fs layer [2024-11-07T09:28:11.731Z] 988bab9f4d93: Pulling fs layer [2024-11-07T09:28:11.731Z] 1469e6f7b9e6: Pulling fs layer [2024-11-07T09:28:11.731Z] eaf3925da568: Pulling fs layer [2024-11-07T09:28:11.731Z] bab4dde63d76: Pulling fs layer [2024-11-07T09:28:11.731Z] bde34c3a00c8: Pulling fs layer [2024-11-07T09:28:11.731Z] b352a97aabf1: Pulling fs layer [2024-11-07T09:28:11.731Z] 4872d77fe225: Pulling fs layer [2024-11-07T09:28:11.731Z] 5851b861e8e6: Pulling fs layer [2024-11-07T09:28:11.731Z] 1469e6f7b9e6: Waiting [2024-11-07T09:28:11.731Z] 4872d77fe225: Waiting [2024-11-07T09:28:11.731Z] 988bab9f4d93: Waiting [2024-11-07T09:28:11.731Z] 5851b861e8e6: Waiting [2024-11-07T09:28:11.731Z] eaf3925da568: Waiting [2024-11-07T09:28:11.731Z] bab4dde63d76: Waiting [2024-11-07T09:28:11.731Z] b352a97aabf1: Waiting [2024-11-07T09:28:11.731Z] e2be974225ed: Download complete [2024-11-07T09:28:11.731Z] 988bab9f4d93: Verifying Checksum [2024-11-07T09:28:11.731Z] 988bab9f4d93: Download complete [2024-11-07T09:28:11.731Z] 1469e6f7b9e6: Verifying Checksum [2024-11-07T09:28:11.731Z] 339a4e72a1f5: Verifying Checksum [2024-11-07T09:28:11.731Z] 339a4e72a1f5: Download complete [2024-11-07T09:28:11.731Z] eaf3925da568: Download complete [2024-11-07T09:28:11.731Z] bde34c3a00c8: Download complete [2024-11-07T09:28:11.990Z] b352a97aabf1: Download complete [2024-11-07T09:28:11.990Z] 4872d77fe225: Verifying Checksum [2024-11-07T09:28:11.990Z] 4872d77fe225: Download complete [2024-11-07T09:28:11.990Z] 5851b861e8e6: Download complete [2024-11-07T09:28:11.990Z] b85a868b505f: Verifying Checksum [2024-11-07T09:28:11.990Z] b85a868b505f: Download complete [2024-11-07T09:28:12.249Z] bab4dde63d76: Verifying Checksum [2024-11-07T09:28:12.249Z] bab4dde63d76: Download complete [2024-11-07T09:28:13.186Z] b85a868b505f: Pull complete [2024-11-07T09:28:13.446Z] e2be974225ed: Pull complete [2024-11-07T09:28:14.015Z] 339a4e72a1f5: Pull complete [2024-11-07T09:28:14.015Z] 988bab9f4d93: Pull complete [2024-11-07T09:28:14.273Z] 1469e6f7b9e6: Pull complete [2024-11-07T09:28:14.531Z] eaf3925da568: Pull complete [2024-11-07T09:28:16.438Z] bab4dde63d76: Pull complete [2024-11-07T09:28:16.438Z] bde34c3a00c8: Pull complete [2024-11-07T09:28:16.438Z] b352a97aabf1: Pull complete [2024-11-07T09:28:16.699Z] 4872d77fe225: Pull complete [2024-11-07T09:28:16.699Z] 5851b861e8e6: Pull complete [2024-11-07T09:28:16.699Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-07T09:28:16.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:28:16.699Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:28:19.377Z] prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container [2024-11-07T09:28:19.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@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-11-07T09:28:22.722Z] $ docker top 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 -eo pid,comm [2024-11-07T09:28:22.779Z] 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-11-07T09:28:22.779Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-07T09:28:22.940Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:28:22.940Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:28:23.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:28:23.062Z] $ docker exec 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 ssh-agent [2024-11-07T09:28:23.165Z] SSH_AUTH_SOCK=/tmp/ssh-8IHMCYbAveH6/agent.33 [2024-11-07T09:28:23.165Z] SSH_AGENT_PID=39 [2024-11-07T09:28:23.172Z] Running ssh-add (command line suppressed) [2024-11-07T09:28:23.279Z] Identity added: /w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_11179021594807868071.key (/w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_11179021594807868071.key) [2024-11-07T09:28:23.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:28:23.643Z] + git tag --points-at HEAD [Pipeline] } [2024-11-07T09:28:23.672Z] $ docker exec --env ******** --env ******** 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 ssh-agent -k [2024-11-07T09:28:23.767Z] unset SSH_AUTH_SOCK; [2024-11-07T09:28:23.768Z] unset SSH_AGENT_PID; [2024-11-07T09:28:23.768Z] echo Agent pid 39 killed; [2024-11-07T09:28:23.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-07T09:28:23.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:28:23.900Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:28:24.008Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:28:24.011Z] $ docker exec 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 ssh-agent [2024-11-07T09:28:24.132Z] SSH_AUTH_SOCK=/tmp/ssh-ximjDnFC9JI2/agent.72 [2024-11-07T09:28:24.132Z] SSH_AGENT_PID=78 [2024-11-07T09:28:24.135Z] Running ssh-add (command line suppressed) [2024-11-07T09:28:24.232Z] Identity added: /w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_5237541826911883353.key (/w/workspace/foundry_app-record-replay_PR-152@tmp/private_key_5237541826911883353.key) [2024-11-07T09:28:24.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:28:24.592Z] + git semver init [2024-11-07T09:28:24.853Z] 2024-11-07 09:28:24,776 [run_init] DEBUG init version:0.0.0 force:False [2024-11-07T09:28:24.853Z] 2024-11-07 09:28:24,776 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-152/.semver [2024-11-07T09:28:24.853Z] 2024-11-07 09:28:24,777 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-152/.semver [2024-11-07T09:28:24.853Z] 2024-11-07 09:28:24,777 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-152/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-152, universal_newlines=False, shell=None, istream=None) [2024-11-07T09:28:26.767Z] 2024-11-07 09:28:26,360 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-152/.git/info/exclude [2024-11-07T09:28:26.767Z] 2024-11-07 09:28:26,361 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-152/.semver/PR-152 with force:False [2024-11-07T09:28:26.767Z] 2024-11-07 09:28:26,361 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-152/.semver/PR-152 [2024-11-07T09:28:26.767Z] 2024-11-07 09:28:26,365 [execute] INFO git cat-file --batch-check [2024-11-07T09:28:26.767Z] 2024-11-07 09:28:26,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:28:26.767Z] 2024-11-07 09:28:26,372 [execute] INFO git cat-file --batch [2024-11-07T09:28:26.767Z] 2024-11-07 09:28:26,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:28:26.767Z] 2024-11-07 09:28:26,377 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-152/.semver/PR-152 [2024-11-07T09:28:26.767Z] 0.0.0 [Pipeline] } [2024-11-07T09:28:26.793Z] $ docker exec --env ******** --env ******** 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 ssh-agent -k [2024-11-07T09:28:26.900Z] unset SSH_AUTH_SOCK; [2024-11-07T09:28:26.900Z] unset SSH_AGENT_PID; [2024-11-07T09:28:26.901Z] echo Agent pid 78 killed; [2024-11-07T09:28:26.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-07T09:28:27.391Z] + git semver [Pipeline] } [2024-11-07T09:28:27.681Z] $ docker stop --time=1 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 [2024-11-07T09:28:28.972Z] $ docker rm -f --volumes 3b4bc4159d2f2ad34ef16fc8963b3845ffab34055c50cdbe01fb995787edb464 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:28:29.398Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-07T09:28:29.710Z] Stashed 1 file(s) [Pipeline] echo [2024-11-07T09:28:29.732Z] [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-11-07T09:28:30.484Z] provisioning config files... [2024-11-07T09:28:30.493Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config12605370911459937569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:28:30.877Z] ---> ****-login.sh [2024-11-07T09:28:30.877Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:28:30.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:30.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:30.877Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:30.877Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:30.877Z] [2024-11-07T09:28:30.877Z] Login Succeeded [2024-11-07T09:28:30.877Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:28:30.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:30.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:30.877Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:30.877Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:30.877Z] [2024-11-07T09:28:30.877Z] Login Succeeded [2024-11-07T09:28:30.877Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:28:31.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:31.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:31.137Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:31.137Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:31.137Z] [2024-11-07T09:28:31.137Z] Login Succeeded [2024-11-07T09:28:31.137Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:28:31.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:31.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:31.137Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:31.137Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:31.137Z] [2024-11-07T09:28:31.137Z] Login Succeeded [2024-11-07T09:28:31.137Z] ****.io [2024-11-07T09:28:31.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:28:31.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:28:31.398Z] Configure a credential helper to remove this warning. See [2024-11-07T09:28:31.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:28:31.398Z] [2024-11-07T09:28:31.398Z] Login Succeeded [2024-11-07T09:28:31.398Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:28:31.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:28:31.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:28:31.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:28:31.772Z] ========================================================= [2024-11-07T09:28:31.772Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-07T09:28:31.772Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:28:32.298Z] + 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-11-07T09:28:32.298Z] Sending build context to Docker daemon 9.803MB [2024-11-07T09:28:32.298Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:28:32.298Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-07T09:28:32.298Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-07T09:28:32.298Z] 43c4264eed91: Pulling fs layer [2024-11-07T09:28:32.298Z] 4cc291be95ef: Pulling fs layer [2024-11-07T09:28:32.298Z] 2ac1f1163629: Pulling fs layer [2024-11-07T09:28:32.298Z] 5c3c966382ef: Pulling fs layer [2024-11-07T09:28:32.298Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:28:32.298Z] 5d5c8e513c77: Pulling fs layer [2024-11-07T09:28:32.298Z] 9f66e0745190: Pulling fs layer [2024-11-07T09:28:32.298Z] f49a43e4bbc0: Pulling fs layer [2024-11-07T09:28:32.298Z] 561ebcabdf7f: Pulling fs layer [2024-11-07T09:28:32.298Z] f49a43e4bbc0: Waiting [2024-11-07T09:28:32.298Z] 9f66e0745190: Waiting [2024-11-07T09:28:32.298Z] 561ebcabdf7f: Waiting [2024-11-07T09:28:32.298Z] 4f4fb700ef54: Waiting [2024-11-07T09:28:32.298Z] 5c3c966382ef: Waiting [2024-11-07T09:28:32.298Z] 5d5c8e513c77: Waiting [2024-11-07T09:28:32.559Z] 4cc291be95ef: Download complete [2024-11-07T09:28:32.559Z] 5c3c966382ef: Verifying Checksum [2024-11-07T09:28:32.559Z] 5c3c966382ef: Download complete [2024-11-07T09:28:32.559Z] 4f4fb700ef54: Download complete [2024-11-07T09:28:32.559Z] 43c4264eed91: Download complete [2024-11-07T09:28:32.559Z] 5d5c8e513c77: Download complete [2024-11-07T09:28:32.559Z] 9f66e0745190: Verifying Checksum [2024-11-07T09:28:32.559Z] 9f66e0745190: Download complete [2024-11-07T09:28:32.559Z] 43c4264eed91: Pull complete [2024-11-07T09:28:32.818Z] 561ebcabdf7f: Verifying Checksum [2024-11-07T09:28:32.818Z] 561ebcabdf7f: Download complete [2024-11-07T09:28:32.818Z] 4cc291be95ef: Pull complete [2024-11-07T09:28:33.076Z] 2ac1f1163629: Verifying Checksum [2024-11-07T09:28:33.076Z] 2ac1f1163629: Download complete [2024-11-07T09:28:33.334Z] f49a43e4bbc0: Verifying Checksum [2024-11-07T09:28:33.334Z] f49a43e4bbc0: Download complete [2024-11-07T09:28:37.540Z] 2ac1f1163629: Pull complete [2024-11-07T09:28:37.540Z] 5c3c966382ef: Pull complete [2024-11-07T09:28:37.540Z] 4f4fb700ef54: Pull complete [2024-11-07T09:28:37.540Z] 5d5c8e513c77: Pull complete [2024-11-07T09:28:37.540Z] 9f66e0745190: Pull complete [2024-11-07T09:28:39.444Z] f49a43e4bbc0: Pull complete [2024-11-07T09:28:40.013Z] 561ebcabdf7f: Pull complete [2024-11-07T09:28:40.013Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-07T09:28:40.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-07T09:28:40.013Z] ---> 3a752c3f9dda [2024-11-07T09:28:40.013Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2024-11-07T09:28:45.238Z] Still waiting to schedule task [2024-11-07T09:28:45.238Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-07T09:28:45.302Z] ---> Running in 9dde00bc5229 [2024-11-07T09:28:45.302Z] Removing intermediate container 9dde00bc5229 [2024-11-07T09:28:45.302Z] ---> 4881deb10d81 [2024-11-07T09:28:45.302Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:28:45.302Z] ---> Running in 64cc5b1ec87f [2024-11-07T09:28:45.302Z] Removing intermediate container 64cc5b1ec87f [2024-11-07T09:28:45.303Z] ---> 2b434f6cb5b9 [2024-11-07T09:28:45.303Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:28:45.562Z] ---> Running in dcfbae9e97ae [2024-11-07T09:28:45.562Z] Removing intermediate container dcfbae9e97ae [2024-11-07T09:28:45.562Z] ---> 1e3e36c099e7 [2024-11-07T09:28:45.562Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:28:45.562Z] ---> Running in c78767b6ea6c [2024-11-07T09:28:45.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:28:46.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:28:46.338Z] OK: 246 MiB in 54 packages [2024-11-07T09:28:46.904Z] Removing intermediate container c78767b6ea6c [2024-11-07T09:28:46.904Z] ---> 97c48c846462 [2024-11-07T09:28:46.904Z] Step 7/12 : WORKDIR /app [2024-11-07T09:28:46.904Z] ---> Running in 404de12009d5 [2024-11-07T09:28:46.904Z] Removing intermediate container 404de12009d5 [2024-11-07T09:28:46.904Z] ---> 133a92d84d1d [2024-11-07T09:28:46.904Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-07T09:28:46.904Z] ---> 6c92a7988241 [2024-11-07T09:28:46.904Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:28:46.904Z] ---> Running in 9e19fcee3a88 [2024-11-07T09:29:43.205Z] Removing intermediate container 9e19fcee3a88 [2024-11-07T09:29:43.205Z] ---> 3380d58a3a1a [2024-11-07T09:29:43.205Z] Step 10/12 : COPY . . [2024-11-07T09:29:43.205Z] ---> ca9f2e87d030 [2024-11-07T09:29:43.205Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:29:43.205Z] ---> Running in 10dcc65eb729 [2024-11-07T09:29:43.205Z] Removing intermediate container 10dcc65eb729 [2024-11-07T09:29:43.205Z] ---> 9e6b4169c7b4 [2024-11-07T09:29:43.205Z] Step 12/12 : RUN $MAKE [2024-11-07T09:29:43.205Z] ---> Running in 67efb5587ea4 [2024-11-07T09:29:43.205Z] noop [2024-11-07T09:29:43.205Z] Removing intermediate container 67efb5587ea4 [2024-11-07T09:29:43.205Z] ---> 0efe9ca332f6 [2024-11-07T09:29:43.205Z] Successfully built 0efe9ca332f6 [2024-11-07T09:29:43.205Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:29:43.674Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:29:43.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:29:43.847Z] prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container [2024-11-07T09:29:43.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@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-11-07T09:29:44.210Z] $ docker top 0f044a855e3f35cb942fff5b80601951b453c6b83aa60f0fbbb586db1e46c414 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:29:44.620Z] + go version [2024-11-07T09:29:44.620Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-07T09:29:44.653Z] $ docker stop --time=1 0f044a855e3f35cb942fff5b80601951b453c6b83aa60f0fbbb586db1e46c414 [2024-11-07T09:29:45.912Z] $ docker rm -f --volumes 0f044a855e3f35cb942fff5b80601951b453c6b83aa60f0fbbb586db1e46c414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:29:46.688Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:29:46.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:29:46.855Z] prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container [2024-11-07T09:29:46.887Z] $ 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-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@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-11-07T09:29:47.250Z] $ docker top 18949da3c1276cd79871e6de25b8ea601775cd17396243b05f4fdf04e1daac70 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:29:47.663Z] + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-152 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:29:48.052Z] + make test [2024-11-07T09:29:48.053Z] go test -race -coverprofile=coverage.out ./... [2024-11-07T09:30:26.763Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2024-11-07T09:30:26.763Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2024-11-07T09:30:26.763Z] github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements [2024-11-07T09:30:26.763Z] github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements [2024-11-07T09:30:26.763Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.030s coverage: 88.0% of statements [2024-11-07T09:30:30.959Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.593s coverage: 98.7% of statements [2024-11-07T09:30:30.959Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.090s coverage: 89.7% of statements [2024-11-07T09:30:30.959Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.021s coverage: 100.0% of statements [2024-11-07T09:30:30.959Z] running golangci-lint [2024-11-07T09:30:30.959Z] golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z [2024-11-07T09:30:30.959Z] go version go1.23.2 linux/amd64 [2024-11-07T09:30:30.959Z] level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" [2024-11-07T09:30:30.959Z] level=info msg="[config_reader] Used config file .golangci.yml" [2024-11-07T09:30:30.959Z] level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" [2024-11-07T09:30:57.498Z] level=info msg="[loader] Go packages loading at mode 575 (types_sizes|deps|files|imports|name|compiled_files|exports_file) took 22.932275364s" [2024-11-07T09:30:57.498Z] level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 9.950176ms" [2024-11-07T09:31:05.643Z] level=info msg="[linters_context/goanalysis] analyzers took 58.760314059s with top 10 stages: buildir: 46.107469787s, inspect: 1.879604908s, fact_deprecated: 1.563106398s, printf: 1.333452102s, ctrlflow: 1.053283612s, fact_purity: 865.316301ms, nilness: 843.229709ms, typedness: 527.844842ms, SA5012: 474.290265ms, tokenfileanalyzer: 436.261506ms" [2024-11-07T09:31:05.643Z] level=info msg="[runner] Issues before processing: 10, after processing: 0" [2024-11-07T09:31:05.643Z] level=info msg="[runner] Processors filtering stat (in/out): cgo: 10/10, filename_unadjuster: 10/10, path_prettifier: 10/10, skip_dirs: 10/10, identifier_marker: 10/10, exclude: 10/10, invalid_issue: 10/10, exclude-rules: 10/0, skip_files: 10/10, autogenerated_exclude: 10/10" [2024-11-07T09:31:05.643Z] level=info msg="[runner] processing took 815.787µs with stages: identifier_marker: 427.274µs, autogenerated_exclude: 128.501µs, path_prettifier: 101.031µs, exclude-rules: 94.67µs, skip_dirs: 49.361µs, cgo: 3.42µs, invalid_issue: 2.86µs, nolint: 1.39µs, max_same_issues: 1.3µs, filename_unadjuster: 1.2µs, fixer: 750ns, uniq_by_line: 610ns, skip_files: 470ns, sort_results: 430ns, exclude: 420ns, path_shortener: 410ns, max_from_linter: 370ns, diff: 300ns, source_code: 290ns, max_per_file_from_linter: 260ns, path_prefixer: 240ns, severity-rules: 230ns" [2024-11-07T09:31:05.643Z] level=info msg="[runner] linters took 11.024749855s with stages: goanalysis_metalinter: 11.023769976s" [2024-11-07T09:31:05.643Z] level=info msg="File cache stats: 0 entries of total size 0B" [2024-11-07T09:31:05.643Z] level=info msg="Memory: 338 samples, avg is 231.5MB, max is 1084.5MB" [2024-11-07T09:31:05.643Z] level=info msg="Execution took 33.973760155s" [2024-11-07T09:31:05.643Z] go vet ./... [2024-11-07T09:31:12.224Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:31:12.224Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:31:12.224Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:31:12.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:31:12.305Z] $ docker stop --time=1 18949da3c1276cd79871e6de25b8ea601775cd17396243b05f4fdf04e1daac70 [2024-11-07T09:31:16.152Z] $ docker rm -f --volumes 18949da3c1276cd79871e6de25b8ea601775cd17396243b05f4fdf04e1daac70 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:31:16.904Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:31:16.994Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-07T09:31:17.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:31:17.950Z] + ls -al . [2024-11-07T09:31:17.950Z] total 280 [2024-11-07T09:31:17.950Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:29 . [2024-11-07T09:31:17.950Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:27 .. [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 119 Nov 7 09:27 .dockerignore [2024-11-07T09:31:17.950Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:30 .git [2024-11-07T09:31:17.950Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:27 .github [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 164 Nov 7 09:27 .gitignore [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:27 .golangci.yml [2024-11-07T09:31:17.950Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:28 .semver [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 20885 Nov 7 09:27 Attribution.txt [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 458 Nov 7 09:27 CHANGELOG.md [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 1725 Nov 7 09:27 Dockerfile [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:27 GOVERNANCE.md [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 681 Nov 7 09:27 Jenkinsfile [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 7 09:27 LICENSE [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 3859 Nov 7 09:27 Makefile [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 611 Nov 7 09:27 OWNERS.md [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 4107 Nov 7 09:27 README.md [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 7789 Nov 7 09:27 Record and Reply.postman_collection.json [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:28 VERSION [2024-11-07T09:31:17.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:27 bin [2024-11-07T09:31:17.950Z] -rw-r--r-- 1 jenkins jenkins 34247 Nov 7 09:30 coverage.out [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 7488 Nov 7 09:27 go.mod [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 100896 Nov 7 09:27 go.sum [2024-11-07T09:31:17.950Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 09:27 internal [2024-11-07T09:31:17.950Z] -rw-rw-r-- 1 jenkins jenkins 913 Nov 7 09:27 main.go [2024-11-07T09:31:17.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:27 openapi [2024-11-07T09:31:17.950Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:27 pkg [2024-11-07T09:31:17.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:27 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:31:18.371Z] + 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=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de --label arch=amd64 --label version=0.0.0 . [2024-11-07T09:31:18.371Z] Sending build context to Docker daemon 9.838MB [2024-11-07T09:31:18.371Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:31:18.371Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-07T09:31:18.371Z] ---> 0efe9ca332f6 [2024-11-07T09:31:18.371Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-07T09:31:18.632Z] ---> Running in 2a92382f7bbd [2024-11-07T09:31:18.632Z] Removing intermediate container 2a92382f7bbd [2024-11-07T09:31:18.632Z] ---> 4f07cb06cbf5 [2024-11-07T09:31:18.632Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:31:18.632Z] ---> Running in ce5567dbef92 [2024-11-07T09:31:18.632Z] Removing intermediate container ce5567dbef92 [2024-11-07T09:31:18.632Z] ---> 77c06afc376e [2024-11-07T09:31:18.632Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:31:18.632Z] ---> Running in 5783e603b3a1 [2024-11-07T09:31:18.891Z] Removing intermediate container 5783e603b3a1 [2024-11-07T09:31:18.891Z] ---> 8246b5841c6d [2024-11-07T09:31:18.891Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:31:18.891Z] ---> Running in 1b6e16d247cb [2024-11-07T09:31:19.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:31:19.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:31:19.407Z] OK: 246 MiB in 54 packages [2024-11-07T09:31:19.976Z] Removing intermediate container 1b6e16d247cb [2024-11-07T09:31:19.976Z] ---> c6329830a93a [2024-11-07T09:31:19.976Z] Step 7/27 : WORKDIR /app [2024-11-07T09:31:19.976Z] ---> Running in dbeed08fc39a [2024-11-07T09:31:19.976Z] Removing intermediate container dbeed08fc39a [2024-11-07T09:31:19.976Z] ---> 638f862a1e89 [2024-11-07T09:31:19.976Z] Step 8/27 : COPY go.mod vendor* ./ [2024-11-07T09:31:20.233Z] ---> bba97535eb69 [2024-11-07T09:31:20.233Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:31:20.233Z] ---> Running in 9c7a0cebcfb3 [2024-11-07T09:31:20.801Z] Removing intermediate container 9c7a0cebcfb3 [2024-11-07T09:31:20.801Z] ---> 15218ebb7fde [2024-11-07T09:31:20.801Z] Step 10/27 : COPY . . [2024-11-07T09:31:21.391Z] ---> 17175e90bd4c [2024-11-07T09:31:21.391Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:31:21.391Z] ---> Running in e507b0f1832e [2024-11-07T09:31:21.391Z] Removing intermediate container e507b0f1832e [2024-11-07T09:31:21.391Z] ---> f4ec25c15904 [2024-11-07T09:31:21.391Z] Step 12/27 : RUN $MAKE [2024-11-07T09:31:21.391Z] ---> Running in a3d824af6202 [2024-11-07T09:31:21.648Z] 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 -buildmode=pie -o app-record-replay [2024-11-07T09:32:00.432Z] Removing intermediate container a3d824af6202 [2024-11-07T09:32:00.432Z] ---> b784d72bad06 [2024-11-07T09:32:00.432Z] Step 13/27 : FROM alpine:3.20 [2024-11-07T09:32:00.432Z] 3.20: Pulling from library/alpine [2024-11-07T09:32:00.432Z] 43c4264eed91: Already exists [2024-11-07T09:32:00.432Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:32:00.432Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:32:00.432Z] ---> 91ef0af61f39 [2024-11-07T09:32:00.433Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-07T09:32:00.433Z] ---> Running in 4f33adbcfe4c [2024-11-07T09:32:00.433Z] Removing intermediate container 4f33adbcfe4c [2024-11-07T09:32:00.433Z] ---> d709ea699cce [2024-11-07T09:32:00.433Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2024-11-07T09:32:00.433Z] ---> Running in bad4427e13bf [2024-11-07T09:32:00.433Z] Removing intermediate container bad4427e13bf [2024-11-07T09:32:00.433Z] ---> 6e5ced56f04a [2024-11-07T09:32:00.433Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2024-11-07T09:32:00.433Z] ---> Running in 9e9cab50c408 [2024-11-07T09:32:00.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:32:00.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:32:00.433Z] (1/2) Installing ca-certificates (20240705-r0) [2024-11-07T09:32:00.433Z] (2/2) Installing dumb-init (1.2.5-r3) [2024-11-07T09:32:00.433Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:32:00.433Z] Executing ca-certificates-20240705-r0.trigger [2024-11-07T09:32:00.433Z] OK: 9 MiB in 16 packages [2024-11-07T09:32:00.433Z] Removing intermediate container 9e9cab50c408 [2024-11-07T09:32:00.433Z] ---> 374246c5cd3d [2024-11-07T09:32:00.433Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-07T09:32:00.433Z] ---> Running in 16e7a766b230 [2024-11-07T09:32:00.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:32:00.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:32:00.433Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:32:00.433Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:32:00.433Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:32:00.433Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:32:00.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:32:00.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:32:00.433Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:32:00.433Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:32:00.433Z] Executing ca-certificates-20240705-r0.trigger [2024-11-07T09:32:00.433Z] OK: 9 MiB in 16 packages [2024-11-07T09:32:00.433Z] Removing intermediate container 16e7a766b230 [2024-11-07T09:32:00.433Z] ---> c1356614e369 [2024-11-07T09:32:00.433Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2024-11-07T09:32:00.433Z] ---> c48e0b519594 [2024-11-07T09:32:00.433Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2024-11-07T09:32:00.433Z] ---> 25a1498ee325 [2024-11-07T09:32:00.433Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2024-11-07T09:32:00.433Z] ---> f201672da800 [2024-11-07T09:32:00.433Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2024-11-07T09:32:00.433Z] ---> 26ca585c3fdd [2024-11-07T09:32:00.433Z] Step 22/27 : EXPOSE 59712 [2024-11-07T09:32:00.433Z] ---> Running in 024d9c94e877 [2024-11-07T09:32:00.433Z] Removing intermediate container 024d9c94e877 [2024-11-07T09:32:00.433Z] ---> bb5233ad83b2 [2024-11-07T09:32:00.433Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2024-11-07T09:32:00.433Z] ---> Running in 9d8a62d764e9 [2024-11-07T09:32:00.433Z] Removing intermediate container 9d8a62d764e9 [2024-11-07T09:32:00.433Z] ---> 5f9b6a6a5f0d [2024-11-07T09:32:00.433Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-07T09:32:00.433Z] ---> Running in 5816ef9fbf8c [2024-11-07T09:32:00.433Z] Removing intermediate container 5816ef9fbf8c [2024-11-07T09:32:00.433Z] ---> 40ee2234ac4e [2024-11-07T09:32:00.433Z] Step 25/27 : LABEL arch=amd64 [2024-11-07T09:32:00.433Z] ---> Running in 8a6c3aa3968f [2024-11-07T09:32:00.692Z] Removing intermediate container 8a6c3aa3968f [2024-11-07T09:32:00.692Z] ---> dd689939d89f [2024-11-07T09:32:00.692Z] Step 26/27 : LABEL git_sha=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [2024-11-07T09:32:00.692Z] ---> Running in 7a100bdbd2e8 [2024-11-07T09:32:00.692Z] Removing intermediate container 7a100bdbd2e8 [2024-11-07T09:32:00.692Z] ---> 0fdf63aeece5 [2024-11-07T09:32:00.692Z] Step 27/27 : LABEL version=0.0.0 [2024-11-07T09:32:00.692Z] ---> Running in faa8458f312a [2024-11-07T09:32:00.692Z] Removing intermediate container faa8458f312a [2024-11-07T09:32:00.692Z] ---> 83068847d890 [2024-11-07T09:32:00.692Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:32:00.692Z] Successfully built 83068847d890 [2024-11-07T09:32:00.954Z] 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-11-07T09:32:01.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:32:01.909Z] [2024-11-07T09:32:01.909Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:32:02.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:32:02.349Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-07T09:32:02.349Z] 5eb5b503b376: Pulling fs layer [2024-11-07T09:32:02.349Z] 5c69ac0246d0: Pulling fs layer [2024-11-07T09:32:02.349Z] ec43610c2a17: Pulling fs layer [2024-11-07T09:32:02.349Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-07T09:32:02.349Z] 33b1e0a273af: Pulling fs layer [2024-11-07T09:32:02.349Z] 5d3b04190fa2: Pulling fs layer [2024-11-07T09:32:02.349Z] 2f39f015ded8: Pulling fs layer [2024-11-07T09:32:02.349Z] 3a2ae6a8a46f: Waiting [2024-11-07T09:32:02.349Z] 33b1e0a273af: Waiting [2024-11-07T09:32:02.349Z] 5d3b04190fa2: Waiting [2024-11-07T09:32:02.349Z] 2f39f015ded8: Waiting [2024-11-07T09:32:02.349Z] 5c69ac0246d0: Download complete [2024-11-07T09:32:02.349Z] 3a2ae6a8a46f: Download complete [2024-11-07T09:32:02.349Z] 33b1e0a273af: Verifying Checksum [2024-11-07T09:32:02.349Z] 33b1e0a273af: Download complete [2024-11-07T09:32:02.349Z] 5d3b04190fa2: Download complete [2024-11-07T09:32:02.349Z] ec43610c2a17: Verifying Checksum [2024-11-07T09:32:02.349Z] ec43610c2a17: Download complete [2024-11-07T09:32:02.607Z] 5eb5b503b376: Download complete [2024-11-07T09:32:03.174Z] 2f39f015ded8: Verifying Checksum [2024-11-07T09:32:03.174Z] 2f39f015ded8: Download complete [2024-11-07T09:32:03.740Z] 5eb5b503b376: Pull complete [2024-11-07T09:32:03.997Z] 5c69ac0246d0: Pull complete [2024-11-07T09:32:04.577Z] ec43610c2a17: Pull complete [2024-11-07T09:32:04.577Z] 3a2ae6a8a46f: Pull complete [2024-11-07T09:32:04.835Z] 33b1e0a273af: Pull complete [2024-11-07T09:32:04.835Z] 5d3b04190fa2: Pull complete [2024-11-07T09:32:09.015Z] 2f39f015ded8: Pull complete [2024-11-07T09:32:09.015Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-07T09:32:09.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:32:09.015Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:32:09.273Z] prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container [2024-11-07T09:32:09.295Z] $ 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-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@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-11-07T09:32:12.642Z] $ docker top da5499e4f6b57241c60ee1ddd20d979e3f64ae31ba05eaa04b680f03b1aaafa2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:32:13.119Z] ---> job-cost.sh [2024-11-07T09:32:13.119Z] lf-activate-venv: SKIPPING [2024-11-07T09:32:13.119Z] INFO: No Stack... [2024-11-07T09:32:13.687Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:32:13.948Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:32:14.284Z] + cat /w/workspace/foundry_app-record-replay_PR-152/archives/cost.csv [2024-11-07T09:32:14.284Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:32:14.340Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [2024-11-07T09:32:14.347Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] did not exist. Created. [2024-11-07T09:32:14.354Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:32:14.777Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-07T09:32:14.837Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:32:14.883Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:32:14.977Z] $ docker stop --time=1 da5499e4f6b57241c60ee1ddd20d979e3f64ae31ba05eaa04b680f03b1aaafa2 [2024-11-07T09:32:16.125Z] $ docker rm -f --volumes da5499e4f6b57241c60ee1ddd20d979e3f64ae31ba05eaa04b680f03b1aaafa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-07T09:33:57.306Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24777 in /w/workspace/foundry_app-record-replay_PR-152 [Pipeline] { [Pipeline] ws [2024-11-07T09:33:57.373Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2024-11-07T09:34:00.490Z] Selected Git installation does not exist. Using Default [2024-11-07T09:34:00.490Z] The recommended git tool is: NONE [2024-11-07T09:34:07.513Z] using credential edgex-jenkins-ssh [2024-11-07T09:34:07.541Z] Cloning the remote Git repository [2024-11-07T09:34:07.596Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2024-11-07T09:34:07.717Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2024-11-07T09:34:07.881Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2024-11-07T09:34:07.882Z] > git --version # timeout=10 [2024-11-07T09:34:07.907Z] > git --version # 'git version 2.25.1' [2024-11-07T09:34:07.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:34:08.089Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:34:11.096Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2024-11-07T09:34:11.130Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:34:13.408Z] Merging remotes/origin/main commit 62ddbc5b0f189cb0e082a652d86835a7c06dea97 into PR head commit d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [2024-11-07T09:34:13.772Z] Merge succeeded, producing d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [2024-11-07T09:34:13.773Z] Checking out Revision d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de (PR-152) [2024-11-07T09:34:12.692Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2024-11-07T09:34:12.764Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2024-11-07T09:34:12.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:34:12.801Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-07T09:34:13.435Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:34:13.531Z] > git checkout -f d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de # timeout=10 [2024-11-07T09:34:13.628Z] > git remote # timeout=10 [2024-11-07T09:34:13.652Z] > git config --get remote.origin.url # timeout=10 [2024-11-07T09:34:13.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:34:13.711Z] > git merge 62ddbc5b0f189cb0e082a652d86835a7c06dea97 # timeout=10 [2024-11-07T09:34:13.742Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-07T09:34:13.778Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:34:13.797Z] > git checkout -f d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de # timeout=10 [2024-11-07T09:34:17.619Z] Commit message: "fix: Only one ldflags flag is allowed" [2024-11-07T09:34:17.704Z] > git --version # timeout=10 [2024-11-07T09:34:17.717Z] > git --version # 'git version 2.25.1' [2024-11-07T09:34:17.738Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:34:20.092Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-07T09:34:20.092Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:34:20.092Z] Dload Upload Total Spent Left Speed [2024-11-07T09:34:20.092Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2024-11-07T09:34:20.446Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-07T09:34:20.807Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-07T09:34:20.807Z] + sudo tee /etc/docker/daemon.new [2024-11-07T09:34:20.807Z] { [2024-11-07T09:34:20.807Z] "registry-mirrors": [ [2024-11-07T09:34:20.807Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-07T09:34:20.807Z] ], [2024-11-07T09:34:20.807Z] "bip": "10.250.0.254/24", [2024-11-07T09:34:20.807Z] "hosts": [ [2024-11-07T09:34:20.807Z] "tcp://0.0.0.0:5555", [2024-11-07T09:34:20.807Z] "unix:///var/run/docker.sock" [2024-11-07T09:34:20.807Z] ], [2024-11-07T09:34:20.807Z] "mtu": 1458, [2024-11-07T09:34:20.807Z] "selinux-enabled": true, [2024-11-07T09:34:20.807Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-07T09:34:20.807Z] } [Pipeline] sh [2024-11-07T09:34:21.177Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-07T09:34:21.573Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:34:40.025Z] provisioning config files... [2024-11-07T09:34:40.066Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config12566149762972926472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:34:40.609Z] ---> ****-login.sh [2024-11-07T09:34:40.609Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:34:41.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:34:41.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:34:41.689Z] Configure a credential helper to remove this warning. See [2024-11-07T09:34:41.689Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:34:41.689Z] [2024-11-07T09:34:41.689Z] Login Succeeded [2024-11-07T09:34:41.689Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:34:41.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:34:41.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:34:41.964Z] Configure a credential helper to remove this warning. See [2024-11-07T09:34:41.964Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:34:41.964Z] [2024-11-07T09:34:41.964Z] Login Succeeded [2024-11-07T09:34:41.964Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:34:42.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:34:42.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:34:42.241Z] Configure a credential helper to remove this warning. See [2024-11-07T09:34:42.241Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:34:42.241Z] [2024-11-07T09:34:42.241Z] Login Succeeded [2024-11-07T09:34:42.241Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:34:42.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:34:42.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:34:42.801Z] Configure a credential helper to remove this warning. See [2024-11-07T09:34:42.801Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:34:42.801Z] [2024-11-07T09:34:42.801Z] Login Succeeded [2024-11-07T09:34:42.801Z] ****.io [2024-11-07T09:34:43.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:34:43.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:34:43.354Z] Configure a credential helper to remove this warning. See [2024-11-07T09:34:43.354Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:34:43.354Z] [2024-11-07T09:34:43.354Z] Login Succeeded [2024-11-07T09:34:43.354Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:34:43.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:34:43.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:34:44.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:34:44.062Z] ========================================================= [2024-11-07T09:34:44.062Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-07T09:34:44.062Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:34:44.643Z] + 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-11-07T09:34:44.920Z] Sending build context to Docker daemon 337.9kB [2024-11-07T09:34:44.920Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:34:44.920Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-07T09:34:45.200Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-07T09:34:45.200Z] cf04c63912e1: Pulling fs layer [2024-11-07T09:34:45.200Z] 55b35a11ae5e: Pulling fs layer [2024-11-07T09:34:45.200Z] a37a00ec5f00: Pulling fs layer [2024-11-07T09:34:45.200Z] 50b3750afda1: Pulling fs layer [2024-11-07T09:34:45.200Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:34:45.200Z] 80978eb59214: Pulling fs layer [2024-11-07T09:34:45.200Z] c9f46d7d2bd2: Pulling fs layer [2024-11-07T09:34:45.200Z] c5a475d317c9: Pulling fs layer [2024-11-07T09:34:45.200Z] 50b3750afda1: Waiting [2024-11-07T09:34:45.200Z] 4f4fb700ef54: Waiting [2024-11-07T09:34:45.200Z] 80978eb59214: Waiting [2024-11-07T09:34:45.200Z] c9f46d7d2bd2: Waiting [2024-11-07T09:34:45.200Z] c5a475d317c9: Waiting [2024-11-07T09:34:45.200Z] 55b35a11ae5e: Verifying Checksum [2024-11-07T09:34:45.200Z] 55b35a11ae5e: Download complete [2024-11-07T09:34:45.200Z] 50b3750afda1: Verifying Checksum [2024-11-07T09:34:45.200Z] 50b3750afda1: Download complete [2024-11-07T09:34:45.200Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:34:45.200Z] 4f4fb700ef54: Download complete [2024-11-07T09:34:45.200Z] 80978eb59214: Verifying Checksum [2024-11-07T09:34:45.200Z] 80978eb59214: Download complete [2024-11-07T09:34:45.200Z] cf04c63912e1: Verifying Checksum [2024-11-07T09:34:45.200Z] cf04c63912e1: Download complete [2024-11-07T09:34:46.182Z] c5a475d317c9: Verifying Checksum [2024-11-07T09:34:46.182Z] c5a475d317c9: Download complete [2024-11-07T09:34:46.454Z] cf04c63912e1: Pull complete [2024-11-07T09:34:47.432Z] 55b35a11ae5e: Pull complete [2024-11-07T09:34:47.804Z] a37a00ec5f00: Verifying Checksum [2024-11-07T09:34:47.804Z] a37a00ec5f00: Download complete [2024-11-07T09:34:48.786Z] c9f46d7d2bd2: Verifying Checksum [2024-11-07T09:34:48.786Z] c9f46d7d2bd2: Download complete [2024-11-07T09:35:03.854Z] a37a00ec5f00: Pull complete [2024-11-07T09:35:03.854Z] 50b3750afda1: Pull complete [2024-11-07T09:35:04.141Z] 4f4fb700ef54: Pull complete [2024-11-07T09:35:04.426Z] 80978eb59214: Pull complete [2024-11-07T09:35:14.586Z] c9f46d7d2bd2: Pull complete [2024-11-07T09:35:15.181Z] c5a475d317c9: Pull complete [2024-11-07T09:35:15.455Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-07T09:35:15.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-07T09:35:15.455Z] ---> be29e6b0f0d4 [2024-11-07T09:35:15.455Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2024-11-07T09:35:18.082Z] ---> Running in 9c044fa3489b [2024-11-07T09:35:18.082Z] Removing intermediate container 9c044fa3489b [2024-11-07T09:35:18.082Z] ---> f5ea2510445b [2024-11-07T09:35:18.082Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:35:18.358Z] ---> Running in 3fe3b40afe0e [2024-11-07T09:35:18.634Z] Removing intermediate container 3fe3b40afe0e [2024-11-07T09:35:18.634Z] ---> 0fd9b35e9a9d [2024-11-07T09:35:18.634Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:35:18.634Z] ---> Running in 2e76b400b3ee [2024-11-07T09:35:19.249Z] Removing intermediate container 2e76b400b3ee [2024-11-07T09:35:19.249Z] ---> d4e3e26294c4 [2024-11-07T09:35:19.249Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:35:19.249Z] ---> Running in e162682676d5 [2024-11-07T09:35:20.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:35:21.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:35:23.653Z] OK: 238 MiB in 54 packages [2024-11-07T09:35:24.632Z] Removing intermediate container e162682676d5 [2024-11-07T09:35:24.633Z] ---> 662f01239851 [2024-11-07T09:35:24.633Z] Step 7/12 : WORKDIR /app [2024-11-07T09:35:24.908Z] ---> Running in 39fbc90ed402 [2024-11-07T09:35:25.184Z] Removing intermediate container 39fbc90ed402 [2024-11-07T09:35:25.184Z] ---> 324c8bf9da0e [2024-11-07T09:35:25.184Z] Step 8/12 : COPY go.mod vendor* ./ [2024-11-07T09:35:25.784Z] ---> 2e49182a5501 [2024-11-07T09:35:25.784Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:35:26.064Z] ---> Running in 7a744ee0aed4 [2024-11-07T09:37:32.847Z] Removing intermediate container 7a744ee0aed4 [2024-11-07T09:37:32.847Z] ---> 54b92fb5466f [2024-11-07T09:37:32.847Z] Step 10/12 : COPY . . [2024-11-07T09:37:32.847Z] ---> 86ea290e68d1 [2024-11-07T09:37:32.847Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:37:32.847Z] ---> Running in 297380400fac [2024-11-07T09:37:32.847Z] Removing intermediate container 297380400fac [2024-11-07T09:37:32.847Z] ---> f39fb7d046d5 [2024-11-07T09:37:32.847Z] Step 12/12 : RUN $MAKE [2024-11-07T09:37:32.847Z] ---> Running in 374970f93cc3 [2024-11-07T09:37:32.847Z] noop [2024-11-07T09:37:32.847Z] Removing intermediate container 374970f93cc3 [2024-11-07T09:37:32.847Z] ---> ad7825448755 [2024-11-07T09:37:32.847Z] Successfully built ad7825448755 [2024-11-07T09:37:32.847Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:37:33.342Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:37:33.342Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:37:33.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-24777 does not seem to be running inside a container [2024-11-07T09:37:33.735Z] $ 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-11-07T09:37:35.097Z] $ docker top 544bc5e00f2f7b856965772fdc836dc5ca370ce15633c5df6e8e08f1244e8107 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:37:36.038Z] + go version [2024-11-07T09:37:36.038Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-07T09:37:36.082Z] $ docker stop --time=1 544bc5e00f2f7b856965772fdc836dc5ca370ce15633c5df6e8e08f1244e8107 [2024-11-07T09:37:37.836Z] $ docker rm -f --volumes 544bc5e00f2f7b856965772fdc836dc5ca370ce15633c5df6e8e08f1244e8107 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:37:38.891Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:37:38.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:37:39.190Z] prd-ubuntu20.04-docker-arm64-4c-16g-24777 does not seem to be running inside a container [2024-11-07T09:37:39.265Z] $ 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-11-07T09:37:40.686Z] $ docker top c0f4217bba7badd9315ec9bca8c388331824638d746889624639b4f5fd483ddc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:37:41.660Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:37:42.403Z] + make test [2024-11-07T09:37:42.403Z] go test -race -coverprofile=coverage.out ./... [2024-11-07T09:43:35.452Z] github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements [2024-11-07T09:43:47.866Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.169s coverage: 88.0% of statements [2024-11-07T09:43:51.278Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2024-11-07T09:43:51.279Z] github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements [2024-11-07T09:43:54.703Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2024-11-07T09:44:01.372Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.935s coverage: 98.7% of statements [2024-11-07T09:44:01.372Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.513s coverage: 89.7% of statements [2024-11-07T09:44:01.372Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.085s coverage: 100.0% of statements [2024-11-07T09:44:03.368Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-07T09:44:03.368Z] go vet ./... [2024-11-07T09:49:26.431Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:49:26.431Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:49:26.431Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:49:26.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:49:26.521Z] $ docker stop --time=1 c0f4217bba7badd9315ec9bca8c388331824638d746889624639b4f5fd483ddc [2024-11-07T09:49:28.898Z] $ docker rm -f --volumes c0f4217bba7badd9315ec9bca8c388331824638d746889624639b4f5fd483ddc [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:49:32.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:49:32.386Z] Warning: overwriting stash ‘coverage-report’ [2024-11-07T09:49:33.225Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:49:33.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:49:34.286Z] + ls -al . [2024-11-07T09:49:34.286Z] total 276 [2024-11-07T09:49:34.286Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:37 . [2024-11-07T09:49:34.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:34 .. [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 119 Nov 7 09:34 .dockerignore [2024-11-07T09:49:34.286Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:34 .git [2024-11-07T09:49:34.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:34 .github [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 164 Nov 7 09:34 .gitignore [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:34 .golangci.yml [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 20885 Nov 7 09:34 Attribution.txt [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 458 Nov 7 09:34 CHANGELOG.md [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 1725 Nov 7 09:34 Dockerfile [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:34 GOVERNANCE.md [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 681 Nov 7 09:34 Jenkinsfile [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 7 09:34 LICENSE [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 3859 Nov 7 09:34 Makefile [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 611 Nov 7 09:34 OWNERS.md [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 4107 Nov 7 09:34 README.md [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 7789 Nov 7 09:34 Record and Reply.postman_collection.json [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:28 VERSION [2024-11-07T09:49:34.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:34 bin [2024-11-07T09:49:34.286Z] -rw-r--r-- 1 jenkins jenkins 34248 Nov 7 09:44 coverage.out [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 7488 Nov 7 09:34 go.mod [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 100896 Nov 7 09:34 go.sum [2024-11-07T09:49:34.286Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 09:34 internal [2024-11-07T09:49:34.286Z] -rw-rw-r-- 1 jenkins jenkins 913 Nov 7 09:34 main.go [2024-11-07T09:49:34.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:34 openapi [2024-11-07T09:49:34.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:34 pkg [2024-11-07T09:49:34.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:34 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:49:34.789Z] + 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=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de --label arch=arm64 --label version=0.0.0 . [2024-11-07T09:49:35.067Z] Sending build context to Docker daemon 372.7kB [2024-11-07T09:49:35.067Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:49:35.067Z] Step 2/27 : FROM ${BASE} AS builder [2024-11-07T09:49:35.067Z] ---> ad7825448755 [2024-11-07T09:49:35.067Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2024-11-07T09:49:35.341Z] ---> Running in cdba4fe9163c [2024-11-07T09:49:35.623Z] Removing intermediate container cdba4fe9163c [2024-11-07T09:49:35.623Z] ---> dab0707cb729 [2024-11-07T09:49:35.623Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:49:36.023Z] ---> Running in 529934fec4f6 [2024-11-07T09:49:37.154Z] Removing intermediate container 529934fec4f6 [2024-11-07T09:49:37.154Z] ---> d229812b186f [2024-11-07T09:49:37.154Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:49:37.154Z] ---> Running in c0a0bf1b2948 [2024-11-07T09:49:37.154Z] Removing intermediate container c0a0bf1b2948 [2024-11-07T09:49:37.154Z] ---> e17caeef81c7 [2024-11-07T09:49:37.154Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:49:37.154Z] ---> Running in d9beef5d306b [2024-11-07T09:49:40.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:49:40.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:49:41.633Z] OK: 238 MiB in 54 packages [2024-11-07T09:49:42.598Z] Removing intermediate container d9beef5d306b [2024-11-07T09:49:42.598Z] ---> f0cd79474960 [2024-11-07T09:49:42.598Z] Step 7/27 : WORKDIR /app [2024-11-07T09:49:42.598Z] ---> Running in 39dfca8bde36 [2024-11-07T09:49:42.869Z] Removing intermediate container 39dfca8bde36 [2024-11-07T09:49:42.869Z] ---> 67d3396e9a0a [2024-11-07T09:49:42.869Z] Step 8/27 : COPY go.mod vendor* ./ [2024-11-07T09:49:43.465Z] ---> ac9d264eb1bd [2024-11-07T09:49:43.465Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:49:43.465Z] ---> Running in cee1cd050d9d [2024-11-07T09:49:46.812Z] Removing intermediate container cee1cd050d9d [2024-11-07T09:49:46.812Z] ---> 1bbd67fce0c8 [2024-11-07T09:49:46.812Z] Step 10/27 : COPY . . [2024-11-07T09:49:46.812Z] ---> 589bc9c1b7d9 [2024-11-07T09:49:46.812Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:49:47.080Z] ---> Running in 41d45d5be186 [2024-11-07T09:49:47.348Z] Removing intermediate container 41d45d5be186 [2024-11-07T09:49:47.348Z] ---> 95b549138122 [2024-11-07T09:49:47.348Z] Step 12/27 : RUN $MAKE [2024-11-07T09:49:47.348Z] ---> Running in d434e9873df6 [2024-11-07T09:49:48.759Z] 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 -buildmode=pie -o app-record-replay [2024-11-07T09:54:11.119Z] Removing intermediate container d434e9873df6 [2024-11-07T09:54:11.119Z] ---> b67d438aa460 [2024-11-07T09:54:11.119Z] Step 13/27 : FROM alpine:3.20 [2024-11-07T09:54:11.119Z] 3.20: Pulling from library/alpine [2024-11-07T09:54:11.119Z] cf04c63912e1: Already exists [2024-11-07T09:54:11.119Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:54:11.119Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:54:11.119Z] ---> c157a85ed455 [2024-11-07T09:54:11.119Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-07T09:54:11.119Z] ---> Running in 389614024a06 [2024-11-07T09:54:11.119Z] Removing intermediate container 389614024a06 [2024-11-07T09:54:11.119Z] ---> 100171d0b464 [2024-11-07T09:54:11.119Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2024-11-07T09:54:11.120Z] ---> Running in db2857308659 [2024-11-07T09:54:11.120Z] Removing intermediate container db2857308659 [2024-11-07T09:54:11.120Z] ---> 9f96a29e0b5b [2024-11-07T09:54:11.120Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2024-11-07T09:54:11.120Z] ---> Running in 9c5486125fa3 [2024-11-07T09:54:11.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:54:11.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:54:12.082Z] (1/2) Installing ca-certificates (20240705-r0) [2024-11-07T09:54:12.082Z] (2/2) Installing dumb-init (1.2.5-r3) [2024-11-07T09:54:12.082Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:54:12.082Z] Executing ca-certificates-20240705-r0.trigger [2024-11-07T09:54:12.082Z] OK: 10 MiB in 16 packages [2024-11-07T09:54:13.495Z] Removing intermediate container 9c5486125fa3 [2024-11-07T09:54:13.495Z] ---> 745b749548e2 [2024-11-07T09:54:13.495Z] Step 17/27 : RUN apk --no-cache upgrade [2024-11-07T09:54:13.764Z] ---> Running in 5d2fc820edcd [2024-11-07T09:54:14.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:54:14.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:54:16.400Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:54:16.400Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:54:16.400Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:54:16.400Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:54:16.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:54:16.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:54:18.380Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:54:18.380Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:54:18.380Z] Executing ca-certificates-20240705-r0.trigger [2024-11-07T09:54:18.380Z] OK: 10 MiB in 16 packages [2024-11-07T09:54:19.784Z] Removing intermediate container 5d2fc820edcd [2024-11-07T09:54:19.784Z] ---> f33def6c07f5 [2024-11-07T09:54:19.784Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2024-11-07T09:54:20.050Z] ---> 7deee6f769e0 [2024-11-07T09:54:20.050Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2024-11-07T09:54:20.631Z] ---> 0ca63946d145 [2024-11-07T09:54:20.631Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2024-11-07T09:54:21.211Z] ---> 0c0907a700f2 [2024-11-07T09:54:21.211Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2024-11-07T09:54:23.154Z] ---> bb26cc4431a3 [2024-11-07T09:54:23.154Z] Step 22/27 : EXPOSE 59712 [2024-11-07T09:54:23.154Z] ---> Running in 62a42bee4f36 [2024-11-07T09:54:23.423Z] Removing intermediate container 62a42bee4f36 [2024-11-07T09:54:23.423Z] ---> 8ad94640406c [2024-11-07T09:54:23.423Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2024-11-07T09:54:23.423Z] ---> Running in 78e110c5480a [2024-11-07T09:54:23.693Z] Removing intermediate container 78e110c5480a [2024-11-07T09:54:23.693Z] ---> 2de9101c2e93 [2024-11-07T09:54:23.693Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-07T09:54:23.965Z] ---> Running in fa657d72768f [2024-11-07T09:54:24.233Z] Removing intermediate container fa657d72768f [2024-11-07T09:54:24.233Z] ---> ea38c4c994db [2024-11-07T09:54:24.233Z] Step 25/27 : LABEL arch=arm64 [2024-11-07T09:54:24.233Z] ---> Running in 264f25b291cd [2024-11-07T09:54:24.822Z] Removing intermediate container 264f25b291cd [2024-11-07T09:54:24.822Z] ---> 0ffaffc6cc46 [2024-11-07T09:54:24.822Z] Step 26/27 : LABEL git_sha=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [2024-11-07T09:54:24.822Z] ---> Running in 5add3d16d84e [2024-11-07T09:54:25.094Z] Removing intermediate container 5add3d16d84e [2024-11-07T09:54:25.094Z] ---> 59705542ec14 [2024-11-07T09:54:25.094Z] Step 27/27 : LABEL version=0.0.0 [2024-11-07T09:54:25.094Z] ---> Running in 539bb7f72df3 [2024-11-07T09:54:25.365Z] Removing intermediate container 539bb7f72df3 [2024-11-07T09:54:25.365Z] ---> 468a5949fea4 [2024-11-07T09:54:25.365Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:54:25.365Z] Successfully built 468a5949fea4 [2024-11-07T09:54:25.365Z] 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-11-07T09:54:26.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:54:26.311Z] [2024-11-07T09:54:26.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:54:26.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:54:26.788Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-07T09:54:26.788Z] 8998bd30e6a1: Pulling fs layer [2024-11-07T09:54:26.788Z] 04944245beec: Pulling fs layer [2024-11-07T09:54:26.788Z] 699f458cf7ca: Pulling fs layer [2024-11-07T09:54:26.788Z] 765212b225bb: Pulling fs layer [2024-11-07T09:54:26.788Z] f23df028b6ca: Pulling fs layer [2024-11-07T09:54:26.788Z] d65c8cfc05b1: Pulling fs layer [2024-11-07T09:54:26.788Z] 2437ff75d9bd: Pulling fs layer [2024-11-07T09:54:26.788Z] f23df028b6ca: Waiting [2024-11-07T09:54:26.788Z] d65c8cfc05b1: Waiting [2024-11-07T09:54:26.788Z] 2437ff75d9bd: Waiting [2024-11-07T09:54:26.788Z] 765212b225bb: Waiting [2024-11-07T09:54:27.061Z] 04944245beec: Verifying Checksum [2024-11-07T09:54:27.061Z] 04944245beec: Download complete [2024-11-07T09:54:27.061Z] 765212b225bb: Verifying Checksum [2024-11-07T09:54:27.061Z] 765212b225bb: Download complete [2024-11-07T09:54:27.061Z] f23df028b6ca: Verifying Checksum [2024-11-07T09:54:27.061Z] f23df028b6ca: Download complete [2024-11-07T09:54:27.061Z] d65c8cfc05b1: Verifying Checksum [2024-11-07T09:54:27.061Z] d65c8cfc05b1: Download complete [2024-11-07T09:54:27.330Z] 699f458cf7ca: Verifying Checksum [2024-11-07T09:54:27.330Z] 699f458cf7ca: Download complete [2024-11-07T09:54:27.598Z] 8998bd30e6a1: Verifying Checksum [2024-11-07T09:54:27.598Z] 8998bd30e6a1: Download complete [2024-11-07T09:54:30.196Z] 2437ff75d9bd: Verifying Checksum [2024-11-07T09:54:30.196Z] 2437ff75d9bd: Download complete [2024-11-07T09:54:32.785Z] 8998bd30e6a1: Pull complete [2024-11-07T09:54:33.054Z] 04944245beec: Pull complete [2024-11-07T09:54:35.008Z] 699f458cf7ca: Pull complete [2024-11-07T09:54:35.008Z] 765212b225bb: Pull complete [2024-11-07T09:54:35.974Z] f23df028b6ca: Pull complete [2024-11-07T09:54:36.242Z] d65c8cfc05b1: Pull complete [2024-11-07T09:54:54.475Z] 2437ff75d9bd: Pull complete [2024-11-07T09:54:54.475Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-07T09:54:54.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:54:54.475Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:54:54.873Z] prd-ubuntu20.04-docker-arm64-4c-16g-24777 does not seem to be running inside a container [2024-11-07T09:54:54.965Z] $ 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-11-07T09:54:58.346Z] $ docker top 8435630825cddf23d27b66ed018f0b4d04892373cedf3fee23b9e6ea8ce5624c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:54:59.442Z] ---> job-cost.sh [2024-11-07T09:54:59.442Z] lf-activate-venv: SKIPPING [2024-11-07T09:54:59.442Z] INFO: No Stack... [2024-11-07T09:55:00.053Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-07T09:55:01.031Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:55:01.757Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [2024-11-07T09:55:01.757Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:55:01.873Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [2024-11-07T09:55:01.879Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] did not exist. Created. [2024-11-07T09:55:01.885Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:55:02.649Z] /w/workspace/app-record-replay/1@tmp/durable-2ee646cb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-07T09:55:03.321Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-07T09:55:03.358Z] Warning: overwriting stash ‘stack-cost’ [2024-11-07T09:55:03.412Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:55:03.433Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-152-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:55:03.527Z] $ docker stop --time=1 8435630825cddf23d27b66ed018f0b4d04892373cedf3fee23b9e6ea8ce5624c [2024-11-07T09:55:05.553Z] $ docker rm -f --volumes 8435630825cddf23d27b66ed018f0b4d04892373cedf3fee23b9e6ea8ce5624c [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-11-07T09:55:06.650Z] provisioning config files... [2024-11-07T09:55:06.660Z] copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config15081669783239864775tmp [Pipeline] { [Pipeline] sh [2024-11-07T09:55:07.021Z] + set +x [2024-11-07T09:55:07.021Z] + curl -s https://codecov.io/bash [2024-11-07T09:55:07.021Z] + bash -s -- [2024-11-07T09:55:07.021Z] [2024-11-07T09:55:07.021Z] _____ _ [2024-11-07T09:55:07.021Z] / ____| | | [2024-11-07T09:55:07.021Z] | | ___ __| | ___ ___ _____ __ [2024-11-07T09:55:07.021Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-07T09:55:07.021Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-07T09:55:07.021Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-07T09:55:07.021Z] Bash-1.0.6 [2024-11-07T09:55:07.021Z] [2024-11-07T09:55:07.021Z] [2024-11-07T09:55:07.021Z] ==> git version 2.25.1 found [2024-11-07T09:55:07.021Z] ==> 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-11-07T09:55:07.021Z] Release-Date: 2020-01-08 [2024-11-07T09:55:07.021Z] 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-11-07T09:55:07.021Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-07T09:55:07.021Z] ==> Jenkins CI detected. [2024-11-07T09:55:07.021Z] current dir:  /w/workspace/foundry_app-record-replay_PR-152 [2024-11-07T09:55:07.021Z] project root: . [2024-11-07T09:55:07.021Z] --> token set from env [2024-11-07T09:55:07.021Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-07T09:55:07.021Z] ==> Running gcov in . (disable via -X gcov) [2024-11-07T09:55:07.022Z] ==> Python coveragepy not found [2024-11-07T09:55:07.022Z] ==> Searching for coverage reports in: [2024-11-07T09:55:07.022Z] + . [2024-11-07T09:55:07.022Z] -> Found 1 reports [2024-11-07T09:55:07.022Z] ==> Detecting git/mercurial file structure [2024-11-07T09:55:07.022Z] ==> Reading reports [2024-11-07T09:55:07.022Z] + ./coverage.out bytes=34248 [2024-11-07T09:55:07.022Z] ==> Appending adjustments [2024-11-07T09:55:07.022Z] https://docs.codecov.io/docs/fixing-reports [2024-11-07T09:55:07.282Z] + Found adjustments [2024-11-07T09:55:07.282Z] ==> Gzipping contents [2024-11-07T09:55:07.282Z] 8.0K /tmp/codecov.WFwxt7.gz [2024-11-07T09:55:07.282Z] ==> Uploading reports [2024-11-07T09:55:07.282Z] url: https://codecov.io [2024-11-07T09:55:07.282Z] query: branch=PR-152&commit=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-152%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=152&job=&cmd_args= [2024-11-07T09:55:07.282Z] -> Pinging Codecov [2024-11-07T09:55:07.282Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-152&commit=d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-152%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=152&job=&cmd_args= [2024-11-07T09:55:07.542Z] -> Uploading to [2024-11-07T09:55:07.542Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/app-record-replay/d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de/ac5e91b9-96ad-4f90-a5d4-c13728e06838.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T095507Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9ea239ffb10964991b97e9519d2e2ea3471d98e068357ffbe76ce8b0deeb5067 [2024-11-07T09:55:07.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:55:07.542Z] Dload Upload Total Spent Left Speed [2024-11-07T09:55:07.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5387 0 0 100 5387 0 26278 --:--:-- --:--:-- --:--:-- 26150 100 5387 0 0 100 5387 0 23219 --:--:-- --:--:-- --:--:-- 23120 [2024-11-07T09:55:07.802Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/d5d0cfffd61bfb469d8e91fc63e8a3f5cc27a3de [Pipeline] } [2024-11-07T09:55:07.831Z] 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-11-07T09:55:09.937Z] + [ -d /w/workspace/foundry_app-record-replay_PR-152/archives ] [2024-11-07T09:55:09.937Z] + ls -al /w/workspace/foundry_app-record-replay_PR-152/archives [2024-11-07T09:55:09.937Z] total 16 [2024-11-07T09:55:09.937Z] drwxr-xr-x 3 root root 4096 Nov 7 09:32 . [2024-11-07T09:55:09.937Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 09:32 .. [2024-11-07T09:55:09.937Z] drwxr-xr-x 2 root root 4096 Nov 7 09:32 cost [2024-11-07T09:55:09.937Z] -rw-r--r-- 1 root root 89 Nov 7 09:32 cost.csv [2024-11-07T09:55:09.937Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-152/archives [2024-11-07T09:55:09.937Z] + ls -al /w/workspace/foundry_app-record-replay_PR-152/archives [2024-11-07T09:55:09.937Z] total 16 [2024-11-07T09:55:09.937Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:32 . [2024-11-07T09:55:09.937Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 09:32 .. [2024-11-07T09:55:09.937Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:32 cost [2024-11-07T09:55:09.937Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 7 09:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:55:10.278Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:55:11.178Z] ---> package-listing.sh [2024-11-07T09:55:11.178Z] ++ facter osfamily [2024-11-07T09:55:11.178Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-07T09:55:11.437Z] + OS_FAMILY=debian [2024-11-07T09:55:11.437Z] + workspace=/w/workspace/foundry_app-record-replay_PR-152 [2024-11-07T09:55:11.437Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-07T09:55:11.437Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-07T09:55:11.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-07T09:55:11.437Z] + PACKAGES=/tmp/packages_start.txt [2024-11-07T09:55:11.437Z] + '[' /w/workspace/foundry_app-record-replay_PR-152 ']' [2024-11-07T09:55:11.437Z] + PACKAGES=/tmp/packages_end.txt [2024-11-07T09:55:11.437Z] + case "${OS_FAMILY}" in [2024-11-07T09:55:11.437Z] + dpkg -l [2024-11-07T09:55:11.437Z] + grep '^ii' [2024-11-07T09:55:11.437Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-07T09:55:11.437Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-07T09:55:11.437Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-07T09:55:11.437Z] + '[' /w/workspace/foundry_app-record-replay_PR-152 ']' [2024-11-07T09:55:11.437Z] + mkdir -p /w/workspace/foundry_app-record-replay_PR-152/archives/ [2024-11-07T09:55:11.437Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-152/archives/ [Pipeline] echo [2024-11-07T09:55:11.470Z] 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-07T09:55:11.761Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:55:12.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:55:12.398Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:55:12.573Z] prd-ubuntu20.04-docker-8c-8g-24752 does not seem to be running inside a container [2024-11-07T09:55:12.673Z] $ 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-152/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-152 -v /w/workspace/foundry_app-record-replay_PR-152:/w/workspace/foundry_app-record-replay_PR-152:rw,z -v /w/workspace/foundry_app-record-replay_PR-152@tmp:/w/workspace/foundry_app-record-replay_PR-152@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-11-07T09:55:12.872Z] $ docker top 902aa635463f888f253ddec36a319cafc88c3b653c08bd2e8ea217c6b2bb93eb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:55:13.352Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-07T09:55:13.673Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-07T09:55:13.994Z] + ls /var/log/sa-host [2024-11-07T09:55:13.994Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:55:14.150Z] provisioning config files... [2024-11-07T09:55:14.158Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-152@tmp/config13640060402607077738tmp [Pipeline] { [Pipeline] echo [2024-11-07T09:55:14.225Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:55:14.545Z] ---> create-netrc.sh [Pipeline] } [2024-11-07T09:55:14.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:55:14.977Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-07T09:55:15.019Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:55:15.349Z] ---> sudo-logs.sh [2024-11-07T09:55:15.349Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-07T09:55:15.459Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:55:15.786Z] ---> job-cost.sh [2024-11-07T09:55:15.786Z] lf-activate-venv: SKIPPING [2024-11-07T09:55:15.786Z] DEBUG: total: 0.2199999988079071 [2024-11-07T09:55:15.786Z] INFO: Retrieving Stack Cost... [2024-11-07T09:55:16.045Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:55:16.613Z] INFO: Archiving Costs [Pipeline] echo [2024-11-07T09:55:16.657Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:55:16.988Z] ---> logs-deploy.sh [2024-11-07T09:55:16.989Z] lf-activate-venv: SKIPPING [2024-11-07T09:55:16.989Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-152/1 [2024-11-07T09:55:16.989Z] INFO: archiving workspace using pattern(s): [2024-11-07T09:55:17.928Z] Archives upload complete. [2024-11-07T09:55:17.928Z] INFO: archiving logs to Nexus