Pull request #148 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ff96c6bca0865c179a36cdb3df36626de7df6f01+fb1cfc1ed001b91dc8782235128666e14fb0baf6 (2a655a60d1b5db2ee87d60b24ca6842000148cb9) 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-ssh4976664356152085035.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-ssh5790991953319164309.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-148/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-148/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4273887512329948230.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-148/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8351924131113495262.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-ssh5309698055905773593.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-148/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-148/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15600601849904413197.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23238 in /w/workspace/foundry_app-record-replay_PR-148 [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-148 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fb1cfc1ed001b91dc8782235128666e14fb0baf6 into PR head commit ff96c6bca0865c179a36cdb3df36626de7df6f01 Merge succeeded, producing ff96c6bca0865c179a36cdb3df36626de7df6f01 Checking out Revision ff96c6bca0865c179a36cdb3df36626de7df6f01 (PR-148) > 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/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff96c6bca0865c179a36cdb3df36626de7df6f01 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fb1cfc1ed001b91dc8782235128666e14fb0baf6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff96c6bca0865c179a36cdb3df36626de7df6f01 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-18T03:43:37.563Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-18T03:43:37.740Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-18T03:43:37.838Z] ========================================================= [2024-10-18T03:43:37.839Z] EdgeX Global Pipelines Version Info [2024-10-18T03:43:37.839Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:43:38.594Z] ------------------- [2024-10-18T03:43:38.594Z] stable info: [2024-10-18T03:43:38.594Z] ------------------- [2024-10-18T03:43:38.594Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-18T03:43:38.594Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-18T03:43:38.594Z] Message: update stable to v1.0.265 [2024-10-18T03:43:39.166Z] ------------------- [2024-10-18T03:43:39.166Z] experimental info: [2024-10-18T03:43:39.166Z] ------------------- [2024-10-18T03:43:39.166Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-18T03:43:39.166Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-18T03:43:39.166Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-18T03:43:39.391Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2024-10-18T03:43:39.451Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2024-10-18T03:43:39.508Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-18T03:43:39.569Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-18T03:43:39.623Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-18T03:43:39.684Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-18T03:43:39.747Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-18T03:43:39.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-18T03:43:39.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-18T03:43:39.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-18T03:43:39.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-18T03:43:40.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2024-10-18T03:43:40.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-18T03:43:40.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-18T03:43:40.236Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-18T03:43:40.296Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-18T03:43:40.356Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-18T03:43:40.417Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-18T03:43:40.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-18T03:43:40.531Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-18T03:43:40.593Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-18T03:43:40.657Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-18T03:43:40.717Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-18T03:43:40.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-18T03:43:40.833Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-18T03:43:40.891Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-18T03:43:40.953Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-18T03:43:41.015Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-148 [Pipeline] echo [2024-10-18T03:43:41.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-148 [Pipeline] echo [2024-10-18T03:43:41.134Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-148 [Pipeline] echo [2024-10-18T03:43:41.188Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff96c6bca0865c179a36cdb3df36626de7df6f01 [Pipeline] echo [2024-10-18T03:43:41.245Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff96c6b [Pipeline] echo [2024-10-18T03:43:41.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T03:43:41.446Z] provisioning config files... [2024-10-18T03:43:41.458Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-148@tmp/config12651623607810073843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:43:41.848Z] ---> ****-login.sh [2024-10-18T03:43:41.848Z] nexus3.edgexfoundry.org:10001 [2024-10-18T03:43:41.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:43:42.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:43:42.108Z] Configure a credential helper to remove this warning. See [2024-10-18T03:43:42.108Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:43:42.108Z] [2024-10-18T03:43:42.108Z] Login Succeeded [2024-10-18T03:43:42.108Z] nexus3.edgexfoundry.org:10002 [2024-10-18T03:43:42.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:43:42.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:43:42.370Z] Configure a credential helper to remove this warning. See [2024-10-18T03:43:42.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:43:42.370Z] [2024-10-18T03:43:42.370Z] Login Succeeded [2024-10-18T03:43:42.370Z] nexus3.edgexfoundry.org:10003 [2024-10-18T03:43:42.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:43:42.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:43:42.370Z] Configure a credential helper to remove this warning. See [2024-10-18T03:43:42.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:43:42.370Z] [2024-10-18T03:43:42.370Z] Login Succeeded [2024-10-18T03:43:42.370Z] nexus3.edgexfoundry.org:10004 [2024-10-18T03:43:42.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:43:42.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:43:42.631Z] Configure a credential helper to remove this warning. See [2024-10-18T03:43:42.632Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:43:42.632Z] [2024-10-18T03:43:42.632Z] Login Succeeded [2024-10-18T03:43:42.632Z] ****.io [2024-10-18T03:43:42.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:43:42.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:43:42.891Z] Configure a credential helper to remove this warning. See [2024-10-18T03:43:42.891Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:43:42.891Z] [2024-10-18T03:43:42.891Z] Login Succeeded [2024-10-18T03:43:42.891Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T03:43:42.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-18T03:43:43.589Z] + git rev-list -1 --merges ff96c6bca0865c179a36cdb3df36626de7df6f01~1..ff96c6bca0865c179a36cdb3df36626de7df6f01 [Pipeline] echo [2024-10-18T03:43:43.641Z] -----------> git rev-list -1 --merges ff96c6bca0865c179a36cdb3df36626de7df6f01~1..ff96c6bca0865c179a36cdb3df36626de7df6f01 ff96c6bca0865c179a36cdb3df36626de7df6f01 [false] [Pipeline] sh [2024-10-18T03:43:43.966Z] + git log --format=format:%s -1 ff96c6bca0865c179a36cdb3df36626de7df6f01 [Pipeline] echo [2024-10-18T03:43:44.008Z] ========================================================= [2024-10-18T03:43:44.008Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-18T03:43:44.008Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T03:43:44.468Z] + git log --format=format:%s -1 ff96c6bca0865c179a36cdb3df36626de7df6f01 [Pipeline] echo [2024-10-18T03:43:44.509Z] [semverPrep] GIT_COMMIT: ff96c6bca0865c179a36cdb3df36626de7df6f01, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo [2024-10-18T03:43:44.556Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-18T03:43:44.970Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-18T03:43:44.970Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-18T03:43:44.970Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-18T03:43:44.970Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-18T03:43:44.970Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-18T03:43:44.970Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-18T03:43:44.970Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:43:45.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T03:43:45.492Z] [2024-10-18T03:43:45.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:43:45.900Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T03:43:45.900Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-18T03:43:45.900Z] b85a868b505f: Pulling fs layer [2024-10-18T03:43:45.900Z] e2be974225ed: Pulling fs layer [2024-10-18T03:43:45.900Z] 339a4e72a1f5: Pulling fs layer [2024-10-18T03:43:45.900Z] 988bab9f4d93: Pulling fs layer [2024-10-18T03:43:45.900Z] 1469e6f7b9e6: Pulling fs layer [2024-10-18T03:43:45.900Z] eaf3925da568: Pulling fs layer [2024-10-18T03:43:45.900Z] bab4dde63d76: Pulling fs layer [2024-10-18T03:43:45.900Z] bde34c3a00c8: Pulling fs layer [2024-10-18T03:43:45.900Z] b352a97aabf1: Pulling fs layer [2024-10-18T03:43:45.900Z] 4872d77fe225: Pulling fs layer [2024-10-18T03:43:45.900Z] 5851b861e8e6: Pulling fs layer [2024-10-18T03:43:45.900Z] 988bab9f4d93: Waiting [2024-10-18T03:43:45.900Z] 1469e6f7b9e6: Waiting [2024-10-18T03:43:45.900Z] eaf3925da568: Waiting [2024-10-18T03:43:45.900Z] bab4dde63d76: Waiting [2024-10-18T03:43:45.900Z] bde34c3a00c8: Waiting [2024-10-18T03:43:45.900Z] b352a97aabf1: Waiting [2024-10-18T03:43:45.900Z] 4872d77fe225: Waiting [2024-10-18T03:43:45.900Z] 5851b861e8e6: Waiting [2024-10-18T03:43:45.900Z] e2be974225ed: Verifying Checksum [2024-10-18T03:43:45.900Z] e2be974225ed: Download complete [2024-10-18T03:43:45.900Z] 988bab9f4d93: Verifying Checksum [2024-10-18T03:43:45.900Z] 988bab9f4d93: Download complete [2024-10-18T03:43:46.166Z] 1469e6f7b9e6: Verifying Checksum [2024-10-18T03:43:46.166Z] 1469e6f7b9e6: Download complete [2024-10-18T03:43:46.166Z] 339a4e72a1f5: Verifying Checksum [2024-10-18T03:43:46.166Z] 339a4e72a1f5: Download complete [2024-10-18T03:43:46.166Z] bde34c3a00c8: Verifying Checksum [2024-10-18T03:43:46.166Z] bde34c3a00c8: Download complete [2024-10-18T03:43:46.166Z] b352a97aabf1: Verifying Checksum [2024-10-18T03:43:46.166Z] b352a97aabf1: Download complete [2024-10-18T03:43:46.166Z] 4872d77fe225: Verifying Checksum [2024-10-18T03:43:46.166Z] 4872d77fe225: Download complete [2024-10-18T03:43:46.166Z] 5851b861e8e6: Verifying Checksum [2024-10-18T03:43:46.166Z] 5851b861e8e6: Download complete [2024-10-18T03:43:46.166Z] b85a868b505f: Verifying Checksum [2024-10-18T03:43:46.166Z] b85a868b505f: Download complete [2024-10-18T03:43:46.425Z] bab4dde63d76: Verifying Checksum [2024-10-18T03:43:46.425Z] bab4dde63d76: Download complete [2024-10-18T03:43:47.367Z] b85a868b505f: Pull complete [2024-10-18T03:43:47.627Z] e2be974225ed: Pull complete [2024-10-18T03:43:48.198Z] 339a4e72a1f5: Pull complete [2024-10-18T03:43:48.198Z] 988bab9f4d93: Pull complete [2024-10-18T03:43:48.456Z] 1469e6f7b9e6: Pull complete [2024-10-18T03:43:48.457Z] eaf3925da568: Pull complete [2024-10-18T03:43:50.371Z] bab4dde63d76: Pull complete [2024-10-18T03:43:50.371Z] bde34c3a00c8: Pull complete [2024-10-18T03:43:50.633Z] b352a97aabf1: Pull complete [2024-10-18T03:43:50.633Z] 4872d77fe225: Pull complete [2024-10-18T03:43:50.900Z] 5851b861e8e6: Pull complete [2024-10-18T03:43:50.900Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-18T03:43:50.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T03:43:50.900Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:43:51.186Z] prd-ubuntu20.04-docker-8c-8g-23238 does not seem to be running inside a container [2024-10-18T03:43:51.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-148 -v /w/workspace/foundry_app-record-replay_PR-148:/w/workspace/foundry_app-record-replay_PR-148:rw,z -v /w/workspace/foundry_app-record-replay_PR-148@tmp:/w/workspace/foundry_app-record-replay_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-18T03:43:54.202Z] $ docker top 456fda5ab81a3dff78fdafc304b2954e33ce2ed43acb6cc74eb2c35776975592 -eo pid,comm [2024-10-18T03:43:54.268Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-18T03:43:54.268Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-18T03:43:54.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T03:43:54.420Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T03:43:54.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T03:43:54.556Z] $ docker exec 456fda5ab81a3dff78fdafc304b2954e33ce2ed43acb6cc74eb2c35776975592 ssh-agent [2024-10-18T03:43:54.668Z] SSH_AUTH_SOCK=/tmp/ssh-VI4qaapiKvhX/agent.32 [2024-10-18T03:43:54.668Z] SSH_AGENT_PID=38 [2024-10-18T03:43:54.676Z] Running ssh-add (command line suppressed) [2024-10-18T03:43:54.779Z] Identity added: /w/workspace/foundry_app-record-replay_PR-148@tmp/private_key_7876409002236779795.key (/w/workspace/foundry_app-record-replay_PR-148@tmp/private_key_7876409002236779795.key) [2024-10-18T03:43:54.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T03:43:55.150Z] + git tag --points-at HEAD [Pipeline] } [2024-10-18T03:43:55.178Z] $ docker exec --env ******** --env ******** 456fda5ab81a3dff78fdafc304b2954e33ce2ed43acb6cc74eb2c35776975592 ssh-agent -k [2024-10-18T03:43:55.284Z] unset SSH_AUTH_SOCK; [2024-10-18T03:43:55.284Z] unset SSH_AGENT_PID; [2024-10-18T03:43:55.285Z] echo Agent pid 38 killed; [2024-10-18T03:43:55.296Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-18T03:43:55.401Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T03:43:55.401Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T03:43:55.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T03:43:55.520Z] $ docker exec 456fda5ab81a3dff78fdafc304b2954e33ce2ed43acb6cc74eb2c35776975592 ssh-agent [2024-10-18T03:43:55.623Z] SSH_AUTH_SOCK=/tmp/ssh-u1kr2QjlBqmV/agent.71 [2024-10-18T03:43:55.623Z] SSH_AGENT_PID=77 [2024-10-18T03:43:55.628Z] Running ssh-add (command line suppressed) [2024-10-18T03:43:55.739Z] Identity added: /w/workspace/foundry_app-record-replay_PR-148@tmp/private_key_11835646741032156195.key (/w/workspace/foundry_app-record-replay_PR-148@tmp/private_key_11835646741032156195.key) [2024-10-18T03:43:55.756Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T03:43:56.110Z] + git semver init [2024-10-18T03:43:56.371Z] 2024-10-18 03:43:56,289 [run_init] DEBUG init version:0.0.0 force:False [2024-10-18T03:43:56.371Z] 2024-10-18 03:43:56,290 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-148/.semver [2024-10-18T03:43:56.371Z] 2024-10-18 03:43:56,291 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-148/.semver [2024-10-18T03:43:56.371Z] 2024-10-18 03:43:56,291 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-148/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-148, universal_newlines=False, shell=None, istream=None) [2024-10-18T03:43:58.290Z] 2024-10-18 03:43:57,951 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-148/.git/info/exclude [2024-10-18T03:43:58.290Z] 2024-10-18 03:43:57,952 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-148/.semver/PR-148 with force:False [2024-10-18T03:43:58.290Z] 2024-10-18 03:43:57,952 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-148/.semver/PR-148 [2024-10-18T03:43:58.290Z] 2024-10-18 03:43:57,957 [execute] INFO git cat-file --batch-check [2024-10-18T03:43:58.290Z] 2024-10-18 03:43:57,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-148/.semver, universal_newlines=False, shell=None, istream=) [2024-10-18T03:43:58.290Z] 2024-10-18 03:43:57,963 [execute] INFO git cat-file --batch [2024-10-18T03:43:58.290Z] 2024-10-18 03:43:57,963 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-148/.semver, universal_newlines=False, shell=None, istream=) [2024-10-18T03:43:58.290Z] 2024-10-18 03:43:57,967 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-148/.semver/PR-148 [2024-10-18T03:43:58.290Z] 0.0.0 [Pipeline] } [2024-10-18T03:43:58.316Z] $ docker exec --env ******** --env ******** 456fda5ab81a3dff78fdafc304b2954e33ce2ed43acb6cc74eb2c35776975592 ssh-agent -k [2024-10-18T03:43:58.408Z] unset SSH_AUTH_SOCK; [2024-10-18T03:43:58.408Z] unset SSH_AGENT_PID; [2024-10-18T03:43:58.408Z] echo Agent pid 77 killed; [2024-10-18T03:43:58.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-18T03:43:58.874Z] + git semver [Pipeline] } [2024-10-18T03:43:59.175Z] $ docker stop --time=1 456fda5ab81a3dff78fdafc304b2954e33ce2ed43acb6cc74eb2c35776975592 [2024-10-18T03:44:00.483Z] $ docker rm -f --volumes 456fda5ab81a3dff78fdafc304b2954e33ce2ed43acb6cc74eb2c35776975592 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-18T03:44:00.922Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-18T03:44:01.232Z] Stashed 1 file(s) [Pipeline] echo [2024-10-18T03:44:01.260Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T03:44:02.178Z] provisioning config files... [2024-10-18T03:44:02.188Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-148@tmp/config4377748047837223918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:44:02.559Z] ---> ****-login.sh [2024-10-18T03:44:02.559Z] nexus3.edgexfoundry.org:10001 [2024-10-18T03:44:02.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:44:02.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:44:02.559Z] Configure a credential helper to remove this warning. See [2024-10-18T03:44:02.559Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:44:02.559Z] [2024-10-18T03:44:02.559Z] Login Succeeded [2024-10-18T03:44:02.559Z] nexus3.edgexfoundry.org:10002 [2024-10-18T03:44:02.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:44:02.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:44:02.559Z] Configure a credential helper to remove this warning. See [2024-10-18T03:44:02.559Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:44:02.559Z] [2024-10-18T03:44:02.559Z] Login Succeeded [2024-10-18T03:44:02.559Z] nexus3.edgexfoundry.org:10003 [2024-10-18T03:44:02.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:44:02.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:44:02.820Z] Configure a credential helper to remove this warning. See [2024-10-18T03:44:02.820Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:44:02.820Z] [2024-10-18T03:44:02.820Z] Login Succeeded [2024-10-18T03:44:02.820Z] nexus3.edgexfoundry.org:10004 [2024-10-18T03:44:02.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:44:02.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:44:02.820Z] Configure a credential helper to remove this warning. See [2024-10-18T03:44:02.820Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:44:02.820Z] [2024-10-18T03:44:02.820Z] Login Succeeded [2024-10-18T03:44:02.820Z] ****.io [2024-10-18T03:44:03.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:44:03.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:44:03.079Z] Configure a credential helper to remove this warning. See [2024-10-18T03:44:03.079Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:44:03.079Z] [2024-10-18T03:44:03.079Z] Login Succeeded [2024-10-18T03:44:03.079Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T03:44:03.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-18T03:44:03.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T03:44:03.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T03:44:03.425Z] ========================================================= [2024-10-18T03:44:03.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-18T03:44:03.425Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:44:03.945Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-18T03:44:03.945Z] Sending build context to Docker daemon 9.794MB [2024-10-18T03:44:03.945Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T03:44:03.945Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-18T03:44:03.945Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-18T03:44:03.945Z] 43c4264eed91: Pulling fs layer [2024-10-18T03:44:03.945Z] 4cc291be95ef: Pulling fs layer [2024-10-18T03:44:03.945Z] 2ac1f1163629: Pulling fs layer [2024-10-18T03:44:03.945Z] 5c3c966382ef: Pulling fs layer [2024-10-18T03:44:03.945Z] 4f4fb700ef54: Pulling fs layer [2024-10-18T03:44:03.945Z] 5d5c8e513c77: Pulling fs layer [2024-10-18T03:44:03.945Z] 9f66e0745190: Pulling fs layer [2024-10-18T03:44:03.945Z] f49a43e4bbc0: Pulling fs layer [2024-10-18T03:44:03.945Z] 561ebcabdf7f: Pulling fs layer [2024-10-18T03:44:03.945Z] 5c3c966382ef: Waiting [2024-10-18T03:44:03.945Z] 4f4fb700ef54: Waiting [2024-10-18T03:44:03.945Z] 5d5c8e513c77: Waiting [2024-10-18T03:44:03.945Z] f49a43e4bbc0: Waiting [2024-10-18T03:44:03.945Z] 561ebcabdf7f: Waiting [2024-10-18T03:44:03.945Z] 9f66e0745190: Waiting [2024-10-18T03:44:03.945Z] 4cc291be95ef: Verifying Checksum [2024-10-18T03:44:03.945Z] 4cc291be95ef: Download complete [2024-10-18T03:44:04.204Z] 5c3c966382ef: Verifying Checksum [2024-10-18T03:44:04.204Z] 5c3c966382ef: Download complete [2024-10-18T03:44:04.204Z] 4f4fb700ef54: Verifying Checksum [2024-10-18T03:44:04.204Z] 4f4fb700ef54: Download complete [2024-10-18T03:44:04.204Z] 5d5c8e513c77: Verifying Checksum [2024-10-18T03:44:04.204Z] 5d5c8e513c77: Download complete [2024-10-18T03:44:04.204Z] 43c4264eed91: Download complete [2024-10-18T03:44:04.204Z] 9f66e0745190: Verifying Checksum [2024-10-18T03:44:04.204Z] 9f66e0745190: Download complete [2024-10-18T03:44:04.204Z] 43c4264eed91: Pull complete [2024-10-18T03:44:04.463Z] 561ebcabdf7f: Verifying Checksum [2024-10-18T03:44:04.463Z] 561ebcabdf7f: Download complete [2024-10-18T03:44:04.463Z] 4cc291be95ef: Pull complete [2024-10-18T03:44:04.721Z] 2ac1f1163629: Download complete [2024-10-18T03:44:04.979Z] f49a43e4bbc0: Verifying Checksum [2024-10-18T03:44:04.979Z] f49a43e4bbc0: Download complete [2024-10-18T03:44:08.273Z] 2ac1f1163629: Pull complete [2024-10-18T03:44:08.273Z] 5c3c966382ef: Pull complete [2024-10-18T03:44:08.532Z] 4f4fb700ef54: Pull complete [2024-10-18T03:44:08.532Z] 5d5c8e513c77: Pull complete [2024-10-18T03:44:08.532Z] 9f66e0745190: Pull complete [2024-10-18T03:44:11.060Z] f49a43e4bbc0: Pull complete [2024-10-18T03:44:11.318Z] 561ebcabdf7f: Pull complete [2024-10-18T03:44:11.318Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-18T03:44:11.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-18T03:44:11.318Z] ---> 3a752c3f9dda [2024-10-18T03:44:11.318Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T03:44:16.599Z] ---> Running in a81b20443e11 [2024-10-18T03:44:16.599Z] Removing intermediate container a81b20443e11 [2024-10-18T03:44:16.599Z] ---> d6d83442f921 [2024-10-18T03:44:16.599Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T03:44:16.599Z] ---> Running in c3986269a460 [2024-10-18T03:44:16.599Z] Removing intermediate container c3986269a460 [2024-10-18T03:44:16.599Z] ---> b6d1e7c69c84 [2024-10-18T03:44:16.599Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-18T03:44:16.599Z] ---> Running in 2b25753b20b5 [2024-10-18T03:44:16.599Z] Removing intermediate container 2b25753b20b5 [2024-10-18T03:44:16.599Z] ---> b0c145cca7d6 [2024-10-18T03:44:16.599Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T03:44:16.599Z] ---> Running in 4f3d0192072a [2024-10-18T03:44:16.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T03:44:16.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T03:44:16.858Z] OK: 246 MiB in 54 packages [2024-10-18T03:44:16.960Z] Still waiting to schedule task [2024-10-18T03:44:16.960Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-18T03:44:17.426Z] Removing intermediate container 4f3d0192072a [2024-10-18T03:44:17.426Z] ---> f27b53995395 [2024-10-18T03:44:17.426Z] Step 7/12 : WORKDIR /app [2024-10-18T03:44:17.426Z] ---> Running in 12dbae6a682f [2024-10-18T03:44:17.426Z] Removing intermediate container 12dbae6a682f [2024-10-18T03:44:17.426Z] ---> 1df0e2d4ab36 [2024-10-18T03:44:17.426Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-18T03:44:17.426Z] ---> 83107112b18a [2024-10-18T03:44:17.426Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T03:44:17.686Z] ---> Running in 4c31a3951333 [2024-10-18T03:45:13.941Z] Removing intermediate container 4c31a3951333 [2024-10-18T03:45:13.941Z] ---> 7b8d4d7ff24b [2024-10-18T03:45:13.941Z] Step 10/12 : COPY . . [2024-10-18T03:45:13.941Z] ---> 568b3da18f27 [2024-10-18T03:45:13.941Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T03:45:13.941Z] ---> Running in 68856a0eccba [2024-10-18T03:45:13.941Z] Removing intermediate container 68856a0eccba [2024-10-18T03:45:13.941Z] ---> 140815a61b9e [2024-10-18T03:45:13.941Z] Step 12/12 : RUN $MAKE [2024-10-18T03:45:13.941Z] ---> Running in 86e6c3d27035 [2024-10-18T03:45:13.941Z] noop [2024-10-18T03:45:13.941Z] Removing intermediate container 86e6c3d27035 [2024-10-18T03:45:13.941Z] ---> a73d7ff18c94 [2024-10-18T03:45:13.941Z] Successfully built a73d7ff18c94 [2024-10-18T03:45:13.941Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:45:14.431Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-18T03:45:14.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:45:14.593Z] prd-ubuntu20.04-docker-8c-8g-23238 does not seem to be running inside a container [2024-10-18T03:45:14.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-148 -v /w/workspace/foundry_app-record-replay_PR-148:/w/workspace/foundry_app-record-replay_PR-148:rw,z -v /w/workspace/foundry_app-record-replay_PR-148@tmp:/w/workspace/foundry_app-record-replay_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-18T03:45:14.956Z] $ docker top 08a436350c5c3766fd06fea2da3db28656e28fd307575a01dc7aa77a41e5e4f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:45:15.366Z] + go version [2024-10-18T03:45:15.366Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-18T03:45:15.401Z] $ docker stop --time=1 08a436350c5c3766fd06fea2da3db28656e28fd307575a01dc7aa77a41e5e4f1 [2024-10-18T03:45:16.683Z] $ docker rm -f --volumes 08a436350c5c3766fd06fea2da3db28656e28fd307575a01dc7aa77a41e5e4f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:45:17.474Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-18T03:45:17.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:45:17.636Z] prd-ubuntu20.04-docker-8c-8g-23238 does not seem to be running inside a container [2024-10-18T03:45:17.667Z] $ 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-148 -v /w/workspace/foundry_app-record-replay_PR-148:/w/workspace/foundry_app-record-replay_PR-148:rw,z -v /w/workspace/foundry_app-record-replay_PR-148@tmp:/w/workspace/foundry_app-record-replay_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-18T03:45:17.988Z] $ docker top 128a979db5a02578149bc5c410c621bed382d9d9817902374a101e81ac714c67 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:45:18.409Z] + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-148 [Pipeline] fileExists [Pipeline] sh [2024-10-18T03:45:18.788Z] + make test [2024-10-18T03:45:18.788Z] go test -race -coverprofile=coverage.out ./... [2024-10-18T03:45:45.334Z] # github.com/edgexfoundry/app-record-replay/internal/controller [github.com/edgexfoundry/app-record-replay/internal/controller.test] [2024-10-18T03:45:45.334Z] internal/controller/controller_test.go:398:15: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:45:45.334Z] internal/controller/controller_test.go:409:15: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:45:45.334Z] internal/controller/controller_test.go:519:15: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:45:45.334Z] internal/controller/controller_test.go:530:15: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:45:45.334Z] # github.com/edgexfoundry/app-record-replay/internal/application [github.com/edgexfoundry/app-record-replay/internal/application.test] [2024-10-18T03:45:45.334Z] internal/application/manager_test.go:1151:51: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:45:45.334Z] internal/application/manager_test.go:1166:51: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:45:45.334Z] internal/application/manager_test.go:1181:51: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:45:45.334Z] internal/application/manager_test.go:1196:51: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:45:55.318Z] FAIL github.com/edgexfoundry/app-record-replay/internal/application [build failed] [2024-10-18T03:45:55.318Z] FAIL github.com/edgexfoundry/app-record-replay/internal/controller [build failed] [2024-10-18T03:45:55.318Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2024-10-18T03:45:55.318Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2024-10-18T03:45:55.318Z] github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements [2024-10-18T03:45:55.318Z] github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements [2024-10-18T03:45:55.579Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.028s coverage: 88.0% of statements [2024-10-18T03:45:55.579Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.019s coverage: 100.0% of statements [2024-10-18T03:45:55.579Z] FAIL [2024-10-18T03:45:55.839Z] make: *** [Makefile:84: unittest] Error 1 [Pipeline] } [2024-10-18T03:45:55.892Z] $ docker stop --time=1 128a979db5a02578149bc5c410c621bed382d9d9817902374a101e81ac714c67 [2024-10-18T03:45:58.086Z] $ docker rm -f --volumes 128a979db5a02578149bc5c410c621bed382d9d9817902374a101e81ac714c67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:45:59.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T03:45:59.677Z] [2024-10-18T03:45:59.677Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:46:00.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T03:46:00.074Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-18T03:46:00.074Z] 5eb5b503b376: Pulling fs layer [2024-10-18T03:46:00.074Z] 5c69ac0246d0: Pulling fs layer [2024-10-18T03:46:00.074Z] ec43610c2a17: Pulling fs layer [2024-10-18T03:46:00.074Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-18T03:46:00.074Z] 33b1e0a273af: Pulling fs layer [2024-10-18T03:46:00.074Z] 5d3b04190fa2: Pulling fs layer [2024-10-18T03:46:00.074Z] 2f39f015ded8: Pulling fs layer [2024-10-18T03:46:00.074Z] 33b1e0a273af: Waiting [2024-10-18T03:46:00.074Z] 5d3b04190fa2: Waiting [2024-10-18T03:46:00.074Z] 3a2ae6a8a46f: Waiting [2024-10-18T03:46:00.074Z] 5c69ac0246d0: Verifying Checksum [2024-10-18T03:46:00.074Z] 5c69ac0246d0: Download complete [2024-10-18T03:46:00.074Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-18T03:46:00.074Z] 3a2ae6a8a46f: Download complete [2024-10-18T03:46:00.333Z] ec43610c2a17: Verifying Checksum [2024-10-18T03:46:00.333Z] ec43610c2a17: Download complete [2024-10-18T03:46:00.333Z] 33b1e0a273af: Verifying Checksum [2024-10-18T03:46:00.333Z] 33b1e0a273af: Download complete [2024-10-18T03:46:00.333Z] 5d3b04190fa2: Download complete [2024-10-18T03:46:00.333Z] 5eb5b503b376: Verifying Checksum [2024-10-18T03:46:00.333Z] 5eb5b503b376: Download complete [2024-10-18T03:46:00.900Z] 2f39f015ded8: Download complete [2024-10-18T03:46:01.466Z] 5eb5b503b376: Pull complete [2024-10-18T03:46:01.466Z] 5c69ac0246d0: Pull complete [2024-10-18T03:46:02.031Z] ec43610c2a17: Pull complete [2024-10-18T03:46:02.031Z] 3a2ae6a8a46f: Pull complete [2024-10-18T03:46:02.290Z] 33b1e0a273af: Pull complete [2024-10-18T03:46:02.290Z] 5d3b04190fa2: Pull complete [2024-10-18T03:46:06.470Z] 2f39f015ded8: Pull complete [2024-10-18T03:46:06.470Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-18T03:46:06.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T03:46:06.470Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:46:06.724Z] prd-ubuntu20.04-docker-8c-8g-23238 does not seem to be running inside a container [2024-10-18T03:46:06.749Z] $ 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-148 -v /w/workspace/foundry_app-record-replay_PR-148:/w/workspace/foundry_app-record-replay_PR-148:rw,z -v /w/workspace/foundry_app-record-replay_PR-148@tmp:/w/workspace/foundry_app-record-replay_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-18T03:46:10.033Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23239 in /w/workspace/foundry_app-record-replay_PR-148 [2024-10-18T03:46:12.520Z] $ docker top bd8470395f8cd37625666eaa5df3043547ef4790dc7363e62f341381183f6b7e -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-10-18T03:46:12.838Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2024-10-18T03:46:12.933Z] Selected Git installation does not exist. Using Default [2024-10-18T03:46:12.933Z] The recommended git tool is: NONE [2024-10-18T03:46:13.063Z] ---> job-cost.sh [2024-10-18T03:46:13.063Z] lf-activate-venv: SKIPPING [2024-10-18T03:46:13.063Z] INFO: No Stack... [2024-10-18T03:46:13.322Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-18T03:46:13.892Z] INFO: Archiving Costs [Pipeline] sh [2024-10-18T03:46:14.212Z] + cat /w/workspace/foundry_app-record-replay_PR-148/archives/cost.csv [2024-10-18T03:46:14.213Z] + cut -d, -f6 [Pipeline] lock [2024-10-18T03:46:14.260Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-148-1-stack-cost] [2024-10-18T03:46:14.267Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-148-1-stack-cost] did not exist. Created. [2024-10-18T03:46:14.273Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-18T03:46:14.689Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-18T03:46:14.753Z] Stashed 1 file(s) [Pipeline] } [2024-10-18T03:46:14.774Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-18T03:46:14.853Z] $ docker stop --time=1 bd8470395f8cd37625666eaa5df3043547ef4790dc7363e62f341381183f6b7e [2024-10-18T03:46:16.136Z] $ docker rm -f --volumes bd8470395f8cd37625666eaa5df3043547ef4790dc7363e62f341381183f6b7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-18T03:46:16.593Z] Failed in branch amd64 [2024-10-18T03:46:17.908Z] using credential edgex-jenkins-ssh [2024-10-18T03:46:17.932Z] Cloning the remote Git repository [2024-10-18T03:46:17.988Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2024-10-18T03:46:18.105Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2024-10-18T03:46:18.282Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2024-10-18T03:46:18.283Z] > git --version # timeout=10 [2024-10-18T03:46:18.309Z] > git --version # 'git version 2.25.1' [2024-10-18T03:46:18.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T03:46:18.491Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-18T03:46:21.042Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2024-10-18T03:46:21.072Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-18T03:46:22.711Z] Merging remotes/origin/main commit fb1cfc1ed001b91dc8782235128666e14fb0baf6 into PR head commit ff96c6bca0865c179a36cdb3df36626de7df6f01 [2024-10-18T03:46:23.013Z] Merge succeeded, producing ff96c6bca0865c179a36cdb3df36626de7df6f01 [2024-10-18T03:46:23.013Z] Checking out Revision ff96c6bca0865c179a36cdb3df36626de7df6f01 (PR-148) [2024-10-18T03:46:22.105Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2024-10-18T03:46:22.149Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2024-10-18T03:46:22.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T03:46:22.177Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-18T03:46:22.729Z] > git config core.sparsecheckout # timeout=10 [2024-10-18T03:46:22.818Z] > git checkout -f ff96c6bca0865c179a36cdb3df36626de7df6f01 # timeout=10 [2024-10-18T03:46:22.908Z] > git remote # timeout=10 [2024-10-18T03:46:22.927Z] > git config --get remote.origin.url # timeout=10 [2024-10-18T03:46:22.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T03:46:22.968Z] > git merge fb1cfc1ed001b91dc8782235128666e14fb0baf6 # timeout=10 [2024-10-18T03:46:22.996Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-18T03:46:23.019Z] > git config core.sparsecheckout # timeout=10 [2024-10-18T03:46:23.033Z] > git checkout -f ff96c6bca0865c179a36cdb3df36626de7df6f01 # timeout=10 [2024-10-18T03:46:23.616Z] Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" [2024-10-18T03:46:23.669Z] > git --version # timeout=10 [2024-10-18T03:46:23.680Z] > git --version # 'git version 2.25.1' [2024-10-18T03:46:23.693Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T03:46:28.960Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-18T03:46:28.960Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-18T03:46:28.960Z] Dload Upload Total Spent Left Speed [2024-10-18T03:46:28.960Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95731 0 --:--:-- --:--:-- --:--:-- 95731 [Pipeline] sh [2024-10-18T03:46:29.319Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-18T03:46:29.671Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-18T03:46:29.671Z] + sudo tee /etc/docker/daemon.new [2024-10-18T03:46:29.671Z] { [2024-10-18T03:46:29.671Z] "registry-mirrors": [ [2024-10-18T03:46:29.671Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-18T03:46:29.671Z] ], [2024-10-18T03:46:29.671Z] "bip": "10.250.0.254/24", [2024-10-18T03:46:29.671Z] "hosts": [ [2024-10-18T03:46:29.671Z] "tcp://0.0.0.0:5555", [2024-10-18T03:46:29.671Z] "unix:///var/run/docker.sock" [2024-10-18T03:46:29.671Z] ], [2024-10-18T03:46:29.671Z] "mtu": 1458, [2024-10-18T03:46:29.671Z] "selinux-enabled": true, [2024-10-18T03:46:29.671Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-18T03:46:29.671Z] } [Pipeline] sh [2024-10-18T03:46:30.027Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-18T03:46:30.396Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T03:46:48.773Z] provisioning config files... [2024-10-18T03:46:48.805Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config17538457979028773035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:46:49.304Z] ---> ****-login.sh [2024-10-18T03:46:49.304Z] nexus3.edgexfoundry.org:10001 [2024-10-18T03:46:49.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:46:49.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:46:49.896Z] Configure a credential helper to remove this warning. See [2024-10-18T03:46:49.896Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:46:49.896Z] [2024-10-18T03:46:49.896Z] Login Succeeded [2024-10-18T03:46:49.896Z] nexus3.edgexfoundry.org:10002 [2024-10-18T03:46:50.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:46:50.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:46:50.168Z] Configure a credential helper to remove this warning. See [2024-10-18T03:46:50.168Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:46:50.168Z] [2024-10-18T03:46:50.168Z] Login Succeeded [2024-10-18T03:46:50.168Z] nexus3.edgexfoundry.org:10003 [2024-10-18T03:46:50.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:46:50.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:46:50.713Z] Configure a credential helper to remove this warning. See [2024-10-18T03:46:50.713Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:46:50.713Z] [2024-10-18T03:46:50.713Z] Login Succeeded [2024-10-18T03:46:50.713Z] nexus3.edgexfoundry.org:10004 [2024-10-18T03:46:50.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:46:50.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:46:50.983Z] Configure a credential helper to remove this warning. See [2024-10-18T03:46:50.983Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:46:50.983Z] [2024-10-18T03:46:50.983Z] Login Succeeded [2024-10-18T03:46:50.983Z] ****.io [2024-10-18T03:46:51.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:46:51.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:46:51.518Z] Configure a credential helper to remove this warning. See [2024-10-18T03:46:51.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:46:51.518Z] [2024-10-18T03:46:51.518Z] Login Succeeded [2024-10-18T03:46:51.518Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T03:46:51.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-18T03:46:52.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T03:46:52.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T03:46:52.143Z] ========================================================= [2024-10-18T03:46:52.143Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-18T03:46:52.143Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:46:52.707Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-18T03:46:52.985Z] Sending build context to Docker daemon 338.4kB [2024-10-18T03:46:52.985Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T03:46:52.985Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-18T03:46:52.985Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-18T03:46:52.985Z] cf04c63912e1: Pulling fs layer [2024-10-18T03:46:52.985Z] 55b35a11ae5e: Pulling fs layer [2024-10-18T03:46:52.985Z] a37a00ec5f00: Pulling fs layer [2024-10-18T03:46:52.985Z] 50b3750afda1: Pulling fs layer [2024-10-18T03:46:52.985Z] 4f4fb700ef54: Pulling fs layer [2024-10-18T03:46:52.985Z] 80978eb59214: Pulling fs layer [2024-10-18T03:46:52.985Z] c9f46d7d2bd2: Pulling fs layer [2024-10-18T03:46:52.985Z] c5a475d317c9: Pulling fs layer [2024-10-18T03:46:52.985Z] 50b3750afda1: Waiting [2024-10-18T03:46:52.985Z] 4f4fb700ef54: Waiting [2024-10-18T03:46:52.985Z] 80978eb59214: Waiting [2024-10-18T03:46:52.985Z] c5a475d317c9: Waiting [2024-10-18T03:46:52.985Z] c9f46d7d2bd2: Waiting [2024-10-18T03:46:53.262Z] 55b35a11ae5e: Verifying Checksum [2024-10-18T03:46:53.262Z] 55b35a11ae5e: Download complete [2024-10-18T03:46:53.262Z] 50b3750afda1: Verifying Checksum [2024-10-18T03:46:53.262Z] 50b3750afda1: Download complete [2024-10-18T03:46:53.262Z] 4f4fb700ef54: Verifying Checksum [2024-10-18T03:46:53.262Z] 4f4fb700ef54: Download complete [2024-10-18T03:46:53.262Z] 80978eb59214: Verifying Checksum [2024-10-18T03:46:53.262Z] 80978eb59214: Download complete [2024-10-18T03:46:53.262Z] cf04c63912e1: Verifying Checksum [2024-10-18T03:46:53.262Z] cf04c63912e1: Download complete [2024-10-18T03:46:53.541Z] c5a475d317c9: Verifying Checksum [2024-10-18T03:46:53.541Z] c5a475d317c9: Download complete [2024-10-18T03:46:54.506Z] cf04c63912e1: Pull complete [2024-10-18T03:46:55.095Z] a37a00ec5f00: Verifying Checksum [2024-10-18T03:46:55.095Z] a37a00ec5f00: Download complete [2024-10-18T03:46:55.095Z] 55b35a11ae5e: Pull complete [2024-10-18T03:46:56.057Z] c9f46d7d2bd2: Verifying Checksum [2024-10-18T03:46:56.057Z] c9f46d7d2bd2: Download complete [2024-10-18T03:47:11.098Z] a37a00ec5f00: Pull complete [2024-10-18T03:47:11.098Z] 50b3750afda1: Pull complete [2024-10-18T03:47:11.098Z] 4f4fb700ef54: Pull complete [2024-10-18T03:47:11.098Z] 80978eb59214: Pull complete [2024-10-18T03:47:19.346Z] c9f46d7d2bd2: Pull complete [2024-10-18T03:47:20.314Z] c5a475d317c9: Pull complete [2024-10-18T03:47:20.314Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-18T03:47:20.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-18T03:47:20.314Z] ---> be29e6b0f0d4 [2024-10-18T03:47:20.314Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T03:47:21.304Z] ---> Running in faf6efdaed7e [2024-10-18T03:47:21.575Z] Removing intermediate container faf6efdaed7e [2024-10-18T03:47:21.575Z] ---> 6a30499327b3 [2024-10-18T03:47:21.575Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T03:47:21.575Z] ---> Running in bc5cfa63e624 [2024-10-18T03:47:21.845Z] Removing intermediate container bc5cfa63e624 [2024-10-18T03:47:21.845Z] ---> 9d887386f54d [2024-10-18T03:47:21.845Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-18T03:47:22.115Z] ---> Running in 988f95543dde [2024-10-18T03:47:22.387Z] Removing intermediate container 988f95543dde [2024-10-18T03:47:22.387Z] ---> a8d98a0f687b [2024-10-18T03:47:22.387Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T03:47:22.387Z] ---> Running in 5fce5dd984e4 [2024-10-18T03:47:23.814Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T03:47:24.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T03:47:25.509Z] OK: 238 MiB in 54 packages [2024-10-18T03:47:26.477Z] Removing intermediate container 5fce5dd984e4 [2024-10-18T03:47:26.477Z] ---> e2b1d8091c5a [2024-10-18T03:47:26.477Z] Step 7/12 : WORKDIR /app [2024-10-18T03:47:26.746Z] ---> Running in ae8857655ce4 [2024-10-18T03:47:27.014Z] Removing intermediate container ae8857655ce4 [2024-10-18T03:47:27.014Z] ---> d2d9d7ee1be9 [2024-10-18T03:47:27.014Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-18T03:47:27.599Z] ---> 55ccb7586b15 [2024-10-18T03:47:27.599Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T03:47:27.599Z] ---> Running in bf84817a9fa5 [2024-10-18T03:49:34.325Z] Removing intermediate container bf84817a9fa5 [2024-10-18T03:49:34.325Z] ---> 6043bfad5a2a [2024-10-18T03:49:34.325Z] Step 10/12 : COPY . . [2024-10-18T03:49:34.325Z] ---> 8d613381ab8a [2024-10-18T03:49:34.325Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T03:49:34.325Z] ---> Running in a586d7fc7778 [2024-10-18T03:49:34.325Z] Removing intermediate container a586d7fc7778 [2024-10-18T03:49:34.325Z] ---> f0554d6caa01 [2024-10-18T03:49:34.325Z] Step 12/12 : RUN $MAKE [2024-10-18T03:49:34.325Z] ---> Running in 44ff5da380fb [2024-10-18T03:49:34.325Z] noop [2024-10-18T03:49:34.325Z] Removing intermediate container 44ff5da380fb [2024-10-18T03:49:34.325Z] ---> 1f87f495b6ad [2024-10-18T03:49:34.325Z] Successfully built 1f87f495b6ad [2024-10-18T03:49:34.325Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:49:34.856Z] + docker inspect -f . ci-base-image-arm64 [2024-10-18T03:49:34.856Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:49:35.189Z] prd-ubuntu20.04-docker-arm64-4c-16g-23239 does not seem to be running inside a container [2024-10-18T03:49:35.262Z] $ 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 ******** ci-base-image-arm64 cat [2024-10-18T03:49:36.697Z] $ docker top 374411baaafa78773717f3037d82479e566c80584da24c8b211b44c63391e3e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:49:37.631Z] + go version [2024-10-18T03:49:37.631Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-18T03:49:37.671Z] $ docker stop --time=1 374411baaafa78773717f3037d82479e566c80584da24c8b211b44c63391e3e6 [2024-10-18T03:49:39.381Z] $ docker rm -f --volumes 374411baaafa78773717f3037d82479e566c80584da24c8b211b44c63391e3e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:49:40.384Z] + docker inspect -f . ci-base-image-arm64 [2024-10-18T03:49:40.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:49:40.676Z] prd-ubuntu20.04-docker-arm64-4c-16g-23239 does not seem to be running inside a container [2024-10-18T03:49:40.764Z] $ 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 ******** ci-base-image-arm64 cat [2024-10-18T03:49:42.056Z] $ docker top 25b1fcc320a5fa9b22dc574394d36b3a98cb89d460c9d0ab46ea015b73b1190a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:49:42.999Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2024-10-18T03:49:43.731Z] + make test [2024-10-18T03:49:43.731Z] go test -race -coverprofile=coverage.out ./... [2024-10-18T03:55:07.256Z] github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements [2024-10-18T03:55:09.260Z] # github.com/edgexfoundry/app-record-replay/internal/controller [github.com/edgexfoundry/app-record-replay/internal/controller.test] [2024-10-18T03:55:09.260Z] internal/controller/controller_test.go:398:15: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:55:09.260Z] internal/controller/controller_test.go:409:15: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:55:09.260Z] internal/controller/controller_test.go:519:15: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:55:09.260Z] internal/controller/controller_test.go:530:15: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:55:09.861Z] # github.com/edgexfoundry/app-record-replay/internal/application [github.com/edgexfoundry/app-record-replay/internal/application.test] [2024-10-18T03:55:09.861Z] internal/application/manager_test.go:1151:51: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:55:09.861Z] internal/application/manager_test.go:1166:51: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:55:09.861Z] internal/application/manager_test.go:1181:51: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:55:09.861Z] internal/application/manager_test.go:1196:51: cannot use &val (value of type *string) as string value in struct literal [2024-10-18T03:55:16.582Z] FAIL github.com/edgexfoundry/app-record-replay/internal/application [build failed] [2024-10-18T03:55:16.582Z] FAIL github.com/edgexfoundry/app-record-replay/internal/controller [build failed] [2024-10-18T03:55:16.582Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2024-10-18T03:55:16.582Z] github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements [2024-10-18T03:55:17.174Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.159s coverage: 88.0% of statements [2024-10-18T03:55:19.778Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2024-10-18T03:55:21.203Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.081s coverage: 100.0% of statements [2024-10-18T03:55:21.203Z] FAIL [2024-10-18T03:55:22.628Z] make: *** [Makefile:84: unittest] Error 1 [Pipeline] } [2024-10-18T03:55:22.689Z] $ docker stop --time=1 25b1fcc320a5fa9b22dc574394d36b3a98cb89d460c9d0ab46ea015b73b1190a [2024-10-18T03:55:24.860Z] $ docker rm -f --volumes 25b1fcc320a5fa9b22dc574394d36b3a98cb89d460c9d0ab46ea015b73b1190a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:55:27.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T03:55:27.585Z] [2024-10-18T03:55:27.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:55:28.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T03:55:28.310Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-18T03:55:28.311Z] 8998bd30e6a1: Pulling fs layer [2024-10-18T03:55:28.311Z] 04944245beec: Pulling fs layer [2024-10-18T03:55:28.311Z] 699f458cf7ca: Pulling fs layer [2024-10-18T03:55:28.311Z] 765212b225bb: Pulling fs layer [2024-10-18T03:55:28.311Z] f23df028b6ca: Pulling fs layer [2024-10-18T03:55:28.311Z] d65c8cfc05b1: Pulling fs layer [2024-10-18T03:55:28.311Z] 2437ff75d9bd: Pulling fs layer [2024-10-18T03:55:28.311Z] f23df028b6ca: Waiting [2024-10-18T03:55:28.311Z] d65c8cfc05b1: Waiting [2024-10-18T03:55:28.311Z] 765212b225bb: Waiting [2024-10-18T03:55:28.311Z] 2437ff75d9bd: Waiting [2024-10-18T03:55:28.311Z] 04944245beec: Verifying Checksum [2024-10-18T03:55:28.311Z] 04944245beec: Download complete [2024-10-18T03:55:28.311Z] 765212b225bb: Verifying Checksum [2024-10-18T03:55:28.311Z] 765212b225bb: Download complete [2024-10-18T03:55:28.581Z] f23df028b6ca: Verifying Checksum [2024-10-18T03:55:28.581Z] f23df028b6ca: Download complete [2024-10-18T03:55:28.581Z] d65c8cfc05b1: Download complete [2024-10-18T03:55:28.852Z] 699f458cf7ca: Verifying Checksum [2024-10-18T03:55:28.852Z] 699f458cf7ca: Download complete [2024-10-18T03:55:29.122Z] 8998bd30e6a1: Verifying Checksum [2024-10-18T03:55:29.122Z] 8998bd30e6a1: Download complete [2024-10-18T03:55:31.710Z] 2437ff75d9bd: Verifying Checksum [2024-10-18T03:55:31.710Z] 2437ff75d9bd: Download complete [2024-10-18T03:55:34.308Z] 8998bd30e6a1: Pull complete [2024-10-18T03:55:34.577Z] 04944245beec: Pull complete [2024-10-18T03:55:36.532Z] 699f458cf7ca: Pull complete [2024-10-18T03:55:36.532Z] 765212b225bb: Pull complete [2024-10-18T03:55:37.498Z] f23df028b6ca: Pull complete [2024-10-18T03:55:37.498Z] d65c8cfc05b1: Pull complete [2024-10-18T03:55:55.713Z] 2437ff75d9bd: Pull complete [2024-10-18T03:55:55.713Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-18T03:55:55.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T03:55:55.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:55:56.106Z] prd-ubuntu20.04-docker-arm64-4c-16g-23239 does not seem to be running inside a container [2024-10-18T03:55:56.174Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-18T03:55:58.445Z] $ docker top bf6506547823b32104ad2a91cef025d2eabf0208829304c01a50c7a0be5be40b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:55:59.370Z] ---> job-cost.sh [2024-10-18T03:55:59.370Z] lf-activate-venv: SKIPPING [2024-10-18T03:55:59.370Z] INFO: No Stack... [2024-10-18T03:55:59.641Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-18T03:56:00.609Z] INFO: Archiving Costs [Pipeline] sh [2024-10-18T03:56:01.293Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [2024-10-18T03:56:01.293Z] + cut -d, -f6 [Pipeline] lock [2024-10-18T03:56:01.382Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-148-1-stack-cost] [2024-10-18T03:56:01.391Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-148-1-stack-cost] did not exist. Created. [2024-10-18T03:56:01.402Z] Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-18T03:56:02.148Z] /w/workspace/app-record-replay/1@tmp/durable-f491703f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-18T03:56:02.836Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-18T03:56:02.882Z] Warning: overwriting stash ‘stack-cost’ [2024-10-18T03:56:03.396Z] Stashed 1 file(s) [Pipeline] } [2024-10-18T03:56:03.418Z] Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-18T03:56:03.523Z] $ docker stop --time=1 bf6506547823b32104ad2a91cef025d2eabf0208829304c01a50c7a0be5be40b [2024-10-18T03:56:06.227Z] $ docker rm -f --volumes bf6506547823b32104ad2a91cef025d2eabf0208829304c01a50c7a0be5be40b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-18T03:56:07.090Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-18T03:56:09.861Z] + [ -d /w/workspace/foundry_app-record-replay_PR-148/archives ] [2024-10-18T03:56:09.861Z] + ls -al /w/workspace/foundry_app-record-replay_PR-148/archives [2024-10-18T03:56:09.861Z] total 16 [2024-10-18T03:56:09.861Z] drwxr-xr-x 3 root root 4096 Oct 18 03:46 . [2024-10-18T03:56:09.861Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 03:46 .. [2024-10-18T03:56:09.861Z] drwxr-xr-x 2 root root 4096 Oct 18 03:46 cost [2024-10-18T03:56:09.861Z] -rw-r--r-- 1 root root 89 Oct 18 03:46 cost.csv [2024-10-18T03:56:09.861Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-148/archives [2024-10-18T03:56:09.861Z] + ls -al /w/workspace/foundry_app-record-replay_PR-148/archives [2024-10-18T03:56:09.861Z] total 16 [2024-10-18T03:56:09.861Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 03:46 . [2024-10-18T03:56:09.861Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 18 03:46 .. [2024-10-18T03:56:09.861Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 03:46 cost [2024-10-18T03:56:09.861Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 18 03:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:56:10.186Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:56:11.073Z] ---> package-listing.sh [2024-10-18T03:56:11.073Z] ++ facter osfamily [2024-10-18T03:56:11.073Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-18T03:56:11.330Z] + OS_FAMILY=debian [2024-10-18T03:56:11.330Z] + workspace=/w/workspace/foundry_app-record-replay_PR-148 [2024-10-18T03:56:11.330Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-18T03:56:11.330Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-18T03:56:11.330Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-18T03:56:11.330Z] + PACKAGES=/tmp/packages_start.txt [2024-10-18T03:56:11.330Z] + '[' /w/workspace/foundry_app-record-replay_PR-148 ']' [2024-10-18T03:56:11.330Z] + PACKAGES=/tmp/packages_end.txt [2024-10-18T03:56:11.330Z] + case "${OS_FAMILY}" in [2024-10-18T03:56:11.330Z] + dpkg -l [2024-10-18T03:56:11.330Z] + grep '^ii' [2024-10-18T03:56:11.330Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-18T03:56:11.330Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-18T03:56:11.330Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-18T03:56:11.330Z] + '[' /w/workspace/foundry_app-record-replay_PR-148 ']' [2024-10-18T03:56:11.330Z] + mkdir -p /w/workspace/foundry_app-record-replay_PR-148/archives/ [2024-10-18T03:56:11.330Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-148/archives/ [Pipeline] echo [2024-10-18T03:56:11.368Z] 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-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-18T03:56:11.658Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:56:12.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T03:56:12.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:56:12.459Z] prd-ubuntu20.04-docker-8c-8g-23238 does not seem to be running inside a container [2024-10-18T03:56:12.481Z] $ 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-148/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-148 -v /w/workspace/foundry_app-record-replay_PR-148:/w/workspace/foundry_app-record-replay_PR-148:rw,z -v /w/workspace/foundry_app-record-replay_PR-148@tmp:/w/workspace/foundry_app-record-replay_PR-148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-18T03:56:12.698Z] $ docker top a91b97f9667e6e1c69191f8d44185af1298048866a0ca6fcf76dcd46ca5511d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:56:13.100Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-18T03:56:13.410Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-18T03:56:13.722Z] + ls /var/log/sa-host [2024-10-18T03:56:13.722Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T03:56:14.004Z] provisioning config files... [2024-10-18T03:56:14.012Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-148@tmp/config8961828710774509801tmp [Pipeline] { [Pipeline] echo [2024-10-18T03:56:14.078Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:56:14.397Z] ---> create-netrc.sh [Pipeline] } [2024-10-18T03:56:14.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:56:14.883Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-18T03:56:14.922Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:56:15.244Z] ---> sudo-logs.sh [2024-10-18T03:56:15.244Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-18T03:56:15.365Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:56:15.756Z] ---> job-cost.sh [2024-10-18T03:56:15.757Z] lf-activate-venv: SKIPPING [2024-10-18T03:56:15.757Z] DEBUG: total: 0.2199999988079071 [2024-10-18T03:56:15.757Z] INFO: Retrieving Stack Cost... [2024-10-18T03:56:16.353Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-18T03:56:16.630Z] INFO: Archiving Costs [Pipeline] echo [2024-10-18T03:56:16.681Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:56:17.505Z] ---> logs-deploy.sh [2024-10-18T03:56:17.505Z] lf-activate-venv: SKIPPING [2024-10-18T03:56:17.505Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-148/1 [2024-10-18T03:56:17.505Z] INFO: archiving workspace using pattern(s): [2024-10-18T03:56:20.398Z] Archives upload complete. [2024-10-18T03:56:20.398Z] INFO: archiving logs to Nexus