Pull request #141 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a3959b8da632aa4ce6f372f707940d62dfaa2906+a1dfb321dd51a4fc190594c7f49f2393a77cb439 (7533b5f72656087d7d207a70688d322db7bae2f8) 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-ssh7973244376288797745.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh1859350184095246895.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-141/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-141/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17217483396280969086.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-141/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1998172120448344320.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh6711419402701586438.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-141/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-141/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5802952245824742469.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-908 in /w/workspace/foundry_app-record-replay_PR-141 [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-141 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a1dfb321dd51a4fc190594c7f49f2393a77cb439 into PR head commit a3959b8da632aa4ce6f372f707940d62dfaa2906 Merge succeeded, producing a3959b8da632aa4ce6f372f707940d62dfaa2906 Checking out Revision a3959b8da632aa4ce6f372f707940d62dfaa2906 (PR-141) 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 f5e0e1f8358a839901f1a476b3a28a62f8570917 > git config core.sparsecheckout # timeout=10 > git checkout -f a3959b8da632aa4ce6f372f707940d62dfaa2906 # 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 a1dfb321dd51a4fc190594c7f49f2393a77cb439 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3959b8da632aa4ce6f372f707940d62dfaa2906 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:50:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:50:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:50:26 ========================================================= 03:50:26 EdgeX Global Pipelines Version Info 03:50:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:50:27 ------------------- 03:50:27 stable info: 03:50:27 ------------------- 03:50:27 Commited By: Ginny Guan ginny@iotechsys.com 03:50:27 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:50:27 Message: update stable to v1.0.259 03:50:27 ------------------- 03:50:27 experimental info: 03:50:27 ------------------- 03:50:27 Commited By: Ginny Guan ginny@iotechsys.com 03:50:27 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:50:27 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:50:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-141 [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-141 [Pipeline] echo 03:50:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-141 [Pipeline] echo 03:50:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3959b8da632aa4ce6f372f707940d62dfaa2906 [Pipeline] echo 03:50:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3959b8 [Pipeline] echo 03:50:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:50:30 provisioning config files... 03:50:30 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-141@tmp/config16576937034901720118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:50:30 ---> ****-login.sh 03:50:30 nexus3.edgexfoundry.org:10001 03:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:31 Configure a credential helper to remove this warning. See 03:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:31 03:50:31 Login Succeeded 03:50:31 nexus3.edgexfoundry.org:10002 03:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:31 Configure a credential helper to remove this warning. See 03:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:31 03:50:31 Login Succeeded 03:50:31 nexus3.edgexfoundry.org:10003 03:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:31 Configure a credential helper to remove this warning. See 03:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:31 03:50:31 Login Succeeded 03:50:31 nexus3.edgexfoundry.org:10004 03:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:31 Configure a credential helper to remove this warning. See 03:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:31 03:50:31 Login Succeeded 03:50:31 ****.io 03:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:31 Configure a credential helper to remove this warning. See 03:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:31 03:50:31 Login Succeeded 03:50:31 ---> ****-login.sh ends [Pipeline] } 03:50:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:50:32 + git rev-list -1 --merges a3959b8da632aa4ce6f372f707940d62dfaa2906~1..a3959b8da632aa4ce6f372f707940d62dfaa2906 [Pipeline] echo 03:50:32 -----------> git rev-list -1 --merges a3959b8da632aa4ce6f372f707940d62dfaa2906~1..a3959b8da632aa4ce6f372f707940d62dfaa2906 a3959b8da632aa4ce6f372f707940d62dfaa2906 [false] [Pipeline] sh 03:50:32 + git log --format=format:%s -1 a3959b8da632aa4ce6f372f707940d62dfaa2906 [Pipeline] echo 03:50:33 ========================================================= 03:50:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:50:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:50:33 + git log --format=format:%s -1 a3959b8da632aa4ce6f372f707940d62dfaa2906 [Pipeline] echo 03:50:33 [semverPrep] GIT_COMMIT: a3959b8da632aa4ce6f372f707940d62dfaa2906, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:50:33 [semverPrep] This is not a build commit. [Pipeline] sh 03:50:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:50:34 + grep -v github /etc/ssh/ssh_known_hosts 03:50:34 + [ -e /tmp/ssh_known_hosts ] 03:50:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:50:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 03:50:34 sudo tee -a /etc/ssh/ssh_known_hosts 03:50:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:50:34 03:50:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:50:34 0.1.4: Pulling from edgex-devops/py-git-semver 03:50:34 b85a868b505f: Pulling fs layer 03:50:34 e2be974225ed: Pulling fs layer 03:50:34 339a4e72a1f5: Pulling fs layer 03:50:34 988bab9f4d93: Pulling fs layer 03:50:34 1469e6f7b9e6: Pulling fs layer 03:50:34 eaf3925da568: Pulling fs layer 03:50:34 bab4dde63d76: Pulling fs layer 03:50:34 bde34c3a00c8: Pulling fs layer 03:50:34 b352a97aabf1: Pulling fs layer 03:50:34 4872d77fe225: Pulling fs layer 03:50:34 5851b861e8e6: Pulling fs layer 03:50:34 bab4dde63d76: Waiting 03:50:34 bde34c3a00c8: Waiting 03:50:34 b352a97aabf1: Waiting 03:50:34 4872d77fe225: Waiting 03:50:34 5851b861e8e6: Waiting 03:50:34 988bab9f4d93: Waiting 03:50:34 1469e6f7b9e6: Waiting 03:50:34 eaf3925da568: Waiting 03:50:34 e2be974225ed: Verifying Checksum 03:50:34 e2be974225ed: Download complete 03:50:34 988bab9f4d93: Verifying Checksum 03:50:34 988bab9f4d93: Download complete 03:50:34 1469e6f7b9e6: Verifying Checksum 03:50:34 1469e6f7b9e6: Download complete 03:50:35 eaf3925da568: Verifying Checksum 03:50:35 eaf3925da568: Download complete 03:50:35 339a4e72a1f5: Verifying Checksum 03:50:35 339a4e72a1f5: Download complete 03:50:35 bde34c3a00c8: Download complete 03:50:35 b352a97aabf1: Download complete 03:50:35 4872d77fe225: Verifying Checksum 03:50:35 4872d77fe225: Download complete 03:50:35 5851b861e8e6: Download complete 03:50:35 b85a868b505f: Download complete 03:50:35 bab4dde63d76: Verifying Checksum 03:50:35 bab4dde63d76: Download complete 03:50:36 b85a868b505f: Pull complete 03:50:36 e2be974225ed: Pull complete 03:50:36 339a4e72a1f5: Pull complete 03:50:37 988bab9f4d93: Pull complete 03:50:37 1469e6f7b9e6: Pull complete 03:50:37 eaf3925da568: Pull complete 03:50:39 bab4dde63d76: Pull complete 03:50:39 bde34c3a00c8: Pull complete 03:50:39 b352a97aabf1: Pull complete 03:50:39 4872d77fe225: Pull complete 03:50:39 5851b861e8e6: Pull complete 03:50:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:50:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:50:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:50:39 prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container 03:50:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-141 -v /w/workspace/foundry_app-record-replay_PR-141:/w/workspace/foundry_app-record-replay_PR-141:rw,z -v /w/workspace/foundry_app-record-replay_PR-141@tmp:/w/workspace/foundry_app-record-replay_PR-141@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:50:40 $ docker top 0ba05f4e51649d0dee3111d33a5b83b4cad2fbbd9d7f9ee1924aad9ed29c1a8d -eo pid,comm 03:50:40 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). 03:50:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:50:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:50:41 [ssh-agent] Looking for ssh-agent implementation... 03:50:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:50:41 $ docker exec 0ba05f4e51649d0dee3111d33a5b83b4cad2fbbd9d7f9ee1924aad9ed29c1a8d ssh-agent 03:50:41 SSH_AUTH_SOCK=/tmp/ssh-KxteMjUdx3oB/agent.31 03:50:41 SSH_AGENT_PID=37 03:50:41 Running ssh-add (command line suppressed) 03:50:41 Identity added: /w/workspace/foundry_app-record-replay_PR-141@tmp/private_key_1427951652388466650.key (/w/workspace/foundry_app-record-replay_PR-141@tmp/private_key_1427951652388466650.key) 03:50:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:50:41 + git tag --points-at HEAD [Pipeline] } 03:50:41 $ docker exec --env ******** --env ******** 0ba05f4e51649d0dee3111d33a5b83b4cad2fbbd9d7f9ee1924aad9ed29c1a8d ssh-agent -k 03:50:41 unset SSH_AUTH_SOCK; 03:50:41 unset SSH_AGENT_PID; 03:50:41 echo Agent pid 37 killed; 03:50:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:50:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:50:42 [ssh-agent] Looking for ssh-agent implementation... 03:50:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:50:42 $ docker exec 0ba05f4e51649d0dee3111d33a5b83b4cad2fbbd9d7f9ee1924aad9ed29c1a8d ssh-agent 03:50:42 SSH_AUTH_SOCK=/tmp/ssh-KwIfJZirbiBd/agent.70 03:50:42 SSH_AGENT_PID=76 03:50:42 Running ssh-add (command line suppressed) 03:50:42 Identity added: /w/workspace/foundry_app-record-replay_PR-141@tmp/private_key_3310222596600728407.key (/w/workspace/foundry_app-record-replay_PR-141@tmp/private_key_3310222596600728407.key) 03:50:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:50:42 + git semver init 03:50:42 2024-05-28 03:50:42,884 [run_init] DEBUG init version:0.0.0 force:False 03:50:42 2024-05-28 03:50:42,885 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-141/.semver 03:50:42 2024-05-28 03:50:42,885 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-141/.semver 03:50:42 2024-05-28 03:50:42,886 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-141/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-141, universal_newlines=False, shell=None, istream=None) 03:50:44 2024-05-28 03:50:44,051 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-141/.git/info/exclude 03:50:44 2024-05-28 03:50:44,052 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-141/.semver/PR-141 with force:False 03:50:44 2024-05-28 03:50:44,052 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-141/.semver/PR-141 03:50:44 2024-05-28 03:50:44,056 [execute] INFO git cat-file --batch-check 03:50:44 2024-05-28 03:50:44,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-141/.semver, universal_newlines=False, shell=None, istream=) 03:50:44 2024-05-28 03:50:44,063 [execute] INFO git cat-file --batch 03:50:44 2024-05-28 03:50:44,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-141/.semver, universal_newlines=False, shell=None, istream=) 03:50:44 2024-05-28 03:50:44,068 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-141/.semver/PR-141 03:50:44 0.0.0 [Pipeline] } 03:50:44 $ docker exec --env ******** --env ******** 0ba05f4e51649d0dee3111d33a5b83b4cad2fbbd9d7f9ee1924aad9ed29c1a8d ssh-agent -k 03:50:44 unset SSH_AUTH_SOCK; 03:50:44 unset SSH_AGENT_PID; 03:50:44 echo Agent pid 76 killed; 03:50:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:50:44 + git semver [Pipeline] } 03:50:45 $ docker stop --time=1 0ba05f4e51649d0dee3111d33a5b83b4cad2fbbd9d7f9ee1924aad9ed29c1a8d 03:50:46 $ docker rm -f --volumes 0ba05f4e51649d0dee3111d33a5b83b4cad2fbbd9d7f9ee1924aad9ed29c1a8d [Pipeline] // withDockerContainer [Pipeline] sh 03:50:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:50:47 Stashed 1 file(s) [Pipeline] echo 03:50:47 [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 03:50:48 provisioning config files... 03:50:48 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-141@tmp/config9221738936271017319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:50:48 ---> ****-login.sh 03:50:48 nexus3.edgexfoundry.org:10001 03:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:48 Configure a credential helper to remove this warning. See 03:50:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:48 03:50:48 Login Succeeded 03:50:48 nexus3.edgexfoundry.org:10002 03:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:48 Configure a credential helper to remove this warning. See 03:50:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:48 03:50:48 Login Succeeded 03:50:48 nexus3.edgexfoundry.org:10003 03:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:48 Configure a credential helper to remove this warning. See 03:50:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:48 03:50:48 Login Succeeded 03:50:48 nexus3.edgexfoundry.org:10004 03:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:48 Configure a credential helper to remove this warning. See 03:50:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:48 03:50:48 Login Succeeded 03:50:48 ****.io 03:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:50:49 Configure a credential helper to remove this warning. See 03:50:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:50:49 03:50:49 Login Succeeded 03:50:49 ---> ****-login.sh ends [Pipeline] } 03:50:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:50:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:50:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:50:49 ========================================================= 03:50:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:50:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:50:50 Sending build context to Docker daemon 9.862MB 03:50:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:50:50 Step 2/12 : FROM ${BASE} AS builder 03:50:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:50:50 619be1103602: Pulling fs layer 03:50:50 7862e08f4a3e: Pulling fs layer 03:50:50 5df492c9dc93: Pulling fs layer 03:50:50 7629e6793208: Pulling fs layer 03:50:50 4f4fb700ef54: Pulling fs layer 03:50:50 fb5054dd5b73: Pulling fs layer 03:50:50 eeca6798cff9: Pulling fs layer 03:50:50 aa269ceb94a6: Pulling fs layer 03:50:50 ada007ff1a6a: Pulling fs layer 03:50:50 7629e6793208: Waiting 03:50:50 fb5054dd5b73: Waiting 03:50:50 eeca6798cff9: Waiting 03:50:50 aa269ceb94a6: Waiting 03:50:50 ada007ff1a6a: Waiting 03:50:50 4f4fb700ef54: Waiting 03:50:50 7862e08f4a3e: Download complete 03:50:50 7629e6793208: Verifying Checksum 03:50:50 7629e6793208: Download complete 03:50:50 4f4fb700ef54: Download complete 03:50:50 fb5054dd5b73: Verifying Checksum 03:50:50 fb5054dd5b73: Download complete 03:50:50 619be1103602: Verifying Checksum 03:50:50 619be1103602: Download complete 03:50:50 eeca6798cff9: Verifying Checksum 03:50:50 eeca6798cff9: Download complete 03:50:50 619be1103602: Pull complete 03:50:50 ada007ff1a6a: Verifying Checksum 03:50:50 ada007ff1a6a: Download complete 03:50:50 7862e08f4a3e: Pull complete 03:50:50 5df492c9dc93: Verifying Checksum 03:50:50 5df492c9dc93: Download complete 03:50:51 aa269ceb94a6: Verifying Checksum 03:50:51 aa269ceb94a6: Download complete 03:50:54 5df492c9dc93: Pull complete 03:50:54 7629e6793208: Pull complete 03:50:54 4f4fb700ef54: Pull complete 03:50:54 fb5054dd5b73: Pull complete 03:50:54 eeca6798cff9: Pull complete 03:50:56 aa269ceb94a6: Pull complete 03:50:56 ada007ff1a6a: Pull complete 03:50:56 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:50:56 ---> f489d0715acc 03:50:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:50:58 ---> Running in 97d4ce8cc5e5 03:50:58 Removing intermediate container 97d4ce8cc5e5 03:50:58 ---> e56b0cbf061a 03:50:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:50:58 ---> Running in 222c5085ca00 03:50:58 Removing intermediate container 222c5085ca00 03:50:58 ---> ef76cfbf8c76 03:50:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:50:58 ---> Running in 2a99be99bd11 03:50:58 Removing intermediate container 2a99be99bd11 03:50:58 ---> 172725f590da 03:50:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:50:58 ---> Running in 7525dff7e13e 03:50:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:50:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:50:59 OK: 264 MiB in 52 packages 03:50:59 Removing intermediate container 7525dff7e13e 03:50:59 ---> 3e9e3e73d9e4 03:50:59 Step 7/12 : WORKDIR /app 03:50:59 ---> Running in a165e030b220 03:50:59 Removing intermediate container a165e030b220 03:50:59 ---> b971a00f9610 03:50:59 Step 8/12 : COPY go.mod vendor* ./ 03:50:59 ---> 7fabd509dc4d 03:50:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:50:59 ---> Running in da6efe0a2641 03:51:02 Still waiting to schedule task 03:51:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:51:46 Removing intermediate container da6efe0a2641 03:51:46 ---> 36c0c11747c3 03:51:46 Step 10/12 : COPY . . 03:51:46 ---> 036944b27096 03:51:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:51:46 ---> Running in fe567a983fe3 03:51:46 Removing intermediate container fe567a983fe3 03:51:46 ---> 2b408630c8e6 03:51:46 Step 12/12 : RUN $MAKE 03:51:46 ---> Running in 89a73e220702 03:51:46 noop 03:51:46 Removing intermediate container 89a73e220702 03:51:46 ---> af55925fa369 03:51:46 Successfully built af55925fa369 03:51:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:47 + docker inspect -f . ci-base-image-x86_64 03:51:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:51:47 prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container 03:51:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-141 -v /w/workspace/foundry_app-record-replay_PR-141:/w/workspace/foundry_app-record-replay_PR-141:rw,z -v /w/workspace/foundry_app-record-replay_PR-141@tmp:/w/workspace/foundry_app-record-replay_PR-141@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-x86_64 cat 03:51:47 $ docker top 59aad95f0c7bac18acc17277ff10f777c7954fcf34612413f86d422ca7f6c730 -eo pid,comm [Pipeline] { [Pipeline] sh 03:51:48 + go version 03:51:48 go version go1.21.9 linux/amd64 [Pipeline] } 03:51:48 $ docker stop --time=1 59aad95f0c7bac18acc17277ff10f777c7954fcf34612413f86d422ca7f6c730 03:51:49 $ docker rm -f --volumes 59aad95f0c7bac18acc17277ff10f777c7954fcf34612413f86d422ca7f6c730 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:50 + docker inspect -f . ci-base-image-x86_64 03:51:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:51:50 prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container 03:51:50 $ 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-141 -v /w/workspace/foundry_app-record-replay_PR-141:/w/workspace/foundry_app-record-replay_PR-141:rw,z -v /w/workspace/foundry_app-record-replay_PR-141@tmp:/w/workspace/foundry_app-record-replay_PR-141@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-x86_64 cat 03:51:50 $ docker top ac8fa197519ab13d412ed0f4ac4202eebc9efce5bc6984d719833d4c406f6d69 -eo pid,comm [Pipeline] { [Pipeline] sh 03:51:51 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-141 [Pipeline] fileExists [Pipeline] sh 03:51:51 + make test 03:51:51 go test -race -coverprofile=coverage.out ./... 03:52:30 ? github.com/edgexfoundry/app-record-replay [no test files] 03:52:30 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:52:30 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:52:30 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:52:30 ok github.com/edgexfoundry/app-record-replay/internal/app 1.041s coverage: 88.0% of statements 03:52:38 ok github.com/edgexfoundry/app-record-replay/internal/application 9.108s coverage: 98.7% of statements 03:52:38 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.109s coverage: 89.7% of statements 03:52:38 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.036s coverage: 100.0% of statements 03:52:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-909 in /w/workspace/foundry_app-record-replay_PR-141 [Pipeline] { [Pipeline] ws 03:52:40 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:52:40 Selected Git installation does not exist. Using Default 03:52:40 The recommended git tool is: NONE 03:52:45 using credential edgex-jenkins-ssh 03:52:45 Cloning the remote Git repository 03:52:45 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:52:45 > git init /w/workspace/app-record-replay/1 # timeout=10 03:52:45 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:52:45 > git --version # timeout=10 03:52:45 > git --version # 'git version 2.25.1' 03:52:45 using GIT_SSH to set credentials SSH Credentials for GitHub 03:52:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:52:47 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:52:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:52:48 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:52:48 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:52:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:52:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/141/head:refs/remotes/origin/PR-141 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:52:49 Merging remotes/origin/main commit a1dfb321dd51a4fc190594c7f49f2393a77cb439 into PR head commit a3959b8da632aa4ce6f372f707940d62dfaa2906 03:52:49 Merge succeeded, producing a3959b8da632aa4ce6f372f707940d62dfaa2906 03:52:49 Checking out Revision a3959b8da632aa4ce6f372f707940d62dfaa2906 (PR-141) 03:52:50 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:52:50 > git --version # timeout=10 03:52:50 > git --version # 'git version 2.25.1' 03:52:50 fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 03:52:49 > git config core.sparsecheckout # timeout=10 03:52:49 > git checkout -f a3959b8da632aa4ce6f372f707940d62dfaa2906 # timeout=10 03:52:49 > git remote # timeout=10 03:52:49 > git config --get remote.origin.url # timeout=10 03:52:49 using GIT_SSH to set credentials SSH Credentials for GitHub 03:52:49 > git merge a1dfb321dd51a4fc190594c7f49f2393a77cb439 # timeout=10 03:52:49 > git rev-parse HEAD^{commit} # timeout=10 03:52:49 > git config core.sparsecheckout # timeout=10 03:52:49 > git checkout -f a3959b8da632aa4ce6f372f707940d62dfaa2906 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:52:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:52:55 % Total % Received % Xferd Average Speed Time Time Time Current 03:52:55 Dload Upload Total Spent Left Speed 03:52:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 03:52:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:52:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:52:56 + sudo tee /etc/docker/daemon.new 03:52:56 { 03:52:56 "registry-mirrors": [ 03:52:56 "https://nexus3.edgexfoundry.org:10001" 03:52:56 ], 03:52:56 "bip": "10.250.0.254/24", 03:52:56 "hosts": [ 03:52:56 "tcp://0.0.0.0:5555", 03:52:56 "unix:///var/run/docker.sock" 03:52:56 ], 03:52:56 "mtu": 1458, 03:52:56 "selinux-enabled": true, 03:52:56 "seccomp-profile": "/etc/docker/seccomp.json" 03:52:56 } [Pipeline] sh 03:52:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:52:57 + sudo service docker restart 03:53:10 go vet ./... 03:53:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:53:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:53:10 ./bin/test-attribution-txt.sh 03:53:10 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:53:10 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:53:10 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:53:10 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:53:10 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:53:10 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:53:10 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:53:10 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:53:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:53:10 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:53:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:53:11 $ docker stop --time=1 ac8fa197519ab13d412ed0f4ac4202eebc9efce5bc6984d719833d4c406f6d69 03:53:13 $ docker rm -f --volumes ac8fa197519ab13d412ed0f4ac4202eebc9efce5bc6984d719833d4c406f6d69 [Pipeline] // withDockerContainer [Pipeline] sh 03:53:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:53:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:53:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:53:15 + ls -al . 03:53:15 total 260 03:53:15 drwxrwxr-x 10 jenkins jenkins 4096 May 28 03:51 . 03:53:15 drwxrwxr-x 4 jenkins jenkins 4096 May 28 03:50 .. 03:53:15 -rw-rw-r-- 1 jenkins jenkins 119 May 28 03:50 .dockerignore 03:53:15 drwxrwxr-x 8 jenkins jenkins 4096 May 28 03:52 .git 03:53:15 drwxrwxr-x 3 jenkins jenkins 4096 May 28 03:50 .github 03:53:15 -rw-rw-r-- 1 jenkins jenkins 164 May 28 03:50 .gitignore 03:53:15 -rw-rw-r-- 1 jenkins jenkins 41 May 28 03:50 .golangci.yml 03:53:15 drwxr-xr-x 3 jenkins jenkins 4096 May 28 03:50 .semver 03:53:15 -rw-rw-r-- 1 jenkins jenkins 11301 May 28 03:50 Attribution.txt 03:53:15 -rw-rw-r-- 1 jenkins jenkins 458 May 28 03:50 CHANGELOG.md 03:53:15 -rw-rw-r-- 1 jenkins jenkins 1725 May 28 03:50 Dockerfile 03:53:15 -rw-rw-r-- 1 jenkins jenkins 677 May 28 03:50 GOVERNANCE.md 03:53:15 -rw-rw-r-- 1 jenkins jenkins 681 May 28 03:50 Jenkinsfile 03:53:15 -rw-rw-r-- 1 jenkins jenkins 10174 May 28 03:50 LICENSE 03:53:15 -rw-rw-r-- 1 jenkins jenkins 3142 May 28 03:50 Makefile 03:53:15 -rw-rw-r-- 1 jenkins jenkins 611 May 28 03:50 OWNERS.md 03:53:15 -rw-rw-r-- 1 jenkins jenkins 4107 May 28 03:50 README.md 03:53:15 -rw-rw-r-- 1 jenkins jenkins 7789 May 28 03:50 Record and Reply.postman_collection.json 03:53:15 -rw-rw-r-- 1 jenkins jenkins 5 May 28 03:50 VERSION 03:53:15 drwxrwxr-x 2 jenkins jenkins 4096 May 28 03:50 bin 03:53:15 -rw-r--r-- 1 jenkins jenkins 24666 May 28 03:52 coverage.out 03:53:15 -rw-rw-r-- 1 jenkins jenkins 7329 May 28 03:50 go.mod 03:53:15 -rw-rw-r-- 1 jenkins jenkins 101994 May 28 03:50 go.sum 03:53:15 drwxrwxr-x 7 jenkins jenkins 4096 May 28 03:50 internal 03:53:15 -rw-rw-r-- 1 jenkins jenkins 913 May 28 03:50 main.go 03:53:15 drwxrwxr-x 3 jenkins jenkins 4096 May 28 03:50 openapi 03:53:15 drwxrwxr-x 3 jenkins jenkins 4096 May 28 03:50 pkg 03:53:15 drwxrwxr-x 2 jenkins jenkins 4096 May 28 03:50 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:53:15 provisioning config files... 03:53:15 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config1885008742458774555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:53:15 + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a3959b8da632aa4ce6f372f707940d62dfaa2906 --label arch=amd64 --label version=0.0.0 . 03:53:15 Sending build context to Docker daemon 9.888MB 03:53:15 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:53:15 Step 2/27 : FROM ${BASE} AS builder 03:53:15 ---> af55925fa369 03:53:15 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:53:15 ---> Running in 785bdd1af1ed 03:53:15 Removing intermediate container 785bdd1af1ed 03:53:15 ---> 27984d540b8a 03:53:15 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:53:15 ---> Running in 9002f4630c2d 03:53:15 Removing intermediate container 9002f4630c2d 03:53:15 ---> 4c104b9688d0 03:53:15 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:53:15 ---> Running in d434ab10d955 03:53:15 Removing intermediate container d434ab10d955 03:53:15 ---> 6ebc7f83d5f8 03:53:15 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:53:15 ---> Running in 2df5e4594f2a 03:53:15 ---> ****-login.sh 03:53:15 nexus3.edgexfoundry.org:10001 03:53:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:53:16 OK: 264 MiB in 52 packages 03:53:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:16 Configure a credential helper to remove this warning. See 03:53:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:16 03:53:16 Login Succeeded 03:53:16 nexus3.edgexfoundry.org:10002 03:53:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:16 Removing intermediate container 2df5e4594f2a 03:53:16 ---> 53d0a515d260 03:53:16 Step 7/27 : WORKDIR /app 03:53:16 ---> Running in e680c6b12128 03:53:16 Removing intermediate container e680c6b12128 03:53:16 ---> 88432af67946 03:53:16 Step 8/27 : COPY go.mod vendor* ./ 03:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:17 Configure a credential helper to remove this warning. See 03:53:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:17 03:53:17 Login Succeeded 03:53:17 nexus3.edgexfoundry.org:10003 03:53:17 ---> b7f53b52a288 03:53:17 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:53:17 ---> Running in 7552529395db 03:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:17 Configure a credential helper to remove this warning. See 03:53:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:17 03:53:17 Login Succeeded 03:53:17 nexus3.edgexfoundry.org:10004 03:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:17 Configure a credential helper to remove this warning. See 03:53:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:17 03:53:17 Login Succeeded 03:53:17 ****.io 03:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:18 Removing intermediate container 7552529395db 03:53:18 ---> a82d3b45ed26 03:53:18 Step 10/27 : COPY . . 03:53:18 ---> 5fb7789eeead 03:53:18 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:53:18 ---> Running in b7afaae3fbf8 03:53:18 Removing intermediate container b7afaae3fbf8 03:53:18 ---> 9745ef6f438c 03:53:18 Step 12/27 : RUN $MAKE 03:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:53:18 Configure a credential helper to remove this warning. See 03:53:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:53:18 03:53:18 Login Succeeded 03:53:18 ---> ****-login.sh ends [Pipeline] } 03:53:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 03:53:18 ---> Running in 022f7aa0c546 [Pipeline] unstash 03:53:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.36 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] echo 03:53:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:53:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:53:18 ========================================================= 03:53:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:53:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:53:19 Sending build context to Docker daemon 329.7kB 03:53:19 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:53:19 Step 2/12 : FROM ${BASE} AS builder 03:53:19 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:53:19 c6b39de5b339: Pulling fs layer 03:53:19 a69c41024577: Pulling fs layer 03:53:19 d6de4b400683: Pulling fs layer 03:53:19 35cb2a7552d0: Pulling fs layer 03:53:19 4f4fb700ef54: Pulling fs layer 03:53:19 464afbd9ba4c: Pulling fs layer 03:53:19 00f215d4a9da: Pulling fs layer 03:53:19 d496ad576159: Pulling fs layer 03:53:19 35cb2a7552d0: Waiting 03:53:19 4f4fb700ef54: Waiting 03:53:19 464afbd9ba4c: Waiting 03:53:19 d496ad576159: Waiting 03:53:19 00f215d4a9da: Waiting 03:53:19 a69c41024577: Verifying Checksum 03:53:19 a69c41024577: Download complete 03:53:19 35cb2a7552d0: Verifying Checksum 03:53:19 35cb2a7552d0: Download complete 03:53:19 4f4fb700ef54: Download complete 03:53:19 464afbd9ba4c: Verifying Checksum 03:53:19 464afbd9ba4c: Download complete 03:53:19 c6b39de5b339: Verifying Checksum 03:53:19 c6b39de5b339: Download complete 03:53:20 d496ad576159: Verifying Checksum 03:53:20 d496ad576159: Download complete 03:53:20 c6b39de5b339: Pull complete 03:53:21 a69c41024577: Pull complete 03:53:21 d6de4b400683: Verifying Checksum 03:53:21 d6de4b400683: Download complete 03:53:22 00f215d4a9da: Verifying Checksum 03:53:22 00f215d4a9da: Download complete 03:53:34 d6de4b400683: Pull complete 03:53:34 35cb2a7552d0: Pull complete 03:53:34 4f4fb700ef54: Pull complete 03:53:34 464afbd9ba4c: Pull complete 03:53:44 00f215d4a9da: Pull complete 03:53:45 d496ad576159: Pull complete 03:53:45 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:53:45 ---> f246e2811388 03:53:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:53:45 Removing intermediate container 022f7aa0c546 03:53:45 ---> e3cad2cf99b2 03:53:45 Step 13/27 : FROM alpine:3.18 03:53:45 3.18: Pulling from library/alpine 03:53:45 619be1103602: Already exists 03:53:45 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:53:45 Status: Downloaded newer image for alpine:3.18 03:53:45 ---> d3782b16ccc9 03:53:45 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:53:45 ---> Running in ca9f2d97fce0 03:53:45 Removing intermediate container ca9f2d97fce0 03:53:45 ---> 8acc6144095f 03:53:45 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:53:45 ---> Running in 409a24c20323 03:53:45 Removing intermediate container 409a24c20323 03:53:45 ---> d9cb8b837092 03:53:45 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:53:46 ---> Running in 3dc0605d9dd0 03:53:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:53:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:53:46 (1/2) Installing ca-certificates (20240226-r0) 03:53:46 (2/2) Installing dumb-init (1.2.5-r2) 03:53:46 Executing busybox-1.36.1-r5.trigger 03:53:46 Executing ca-certificates-20240226-r0.trigger 03:53:46 OK: 8 MiB in 17 packages 03:53:47 Removing intermediate container 3dc0605d9dd0 03:53:47 ---> e742e3c79569 03:53:47 Step 17/27 : RUN apk --no-cache upgrade 03:53:47 ---> Running in 92e487c81679 03:53:47 ---> Running in ff2dd4bac8a1 03:53:47 Removing intermediate container ff2dd4bac8a1 03:53:47 ---> 8f9ac271547f 03:53:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:53:47 ---> Running in 1b746078353b 03:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:53:47 Removing intermediate container 1b746078353b 03:53:47 ---> 64387fb0d4c3 03:53:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:53:47 ---> Running in 9c64e901a760 03:53:47 Upgrading critical system libraries and apk-tools: 03:53:47 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 03:53:47 Executing busybox-1.36.1-r5.trigger 03:53:47 Continuing the upgrade transaction with new apk-tools: 03:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:53:47 Removing intermediate container 9c64e901a760 03:53:47 ---> 9d56bd5e4e32 03:53:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:53:47 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 03:53:47 Executing busybox-1.36.1-r6.post-upgrade 03:53:47 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 03:53:47 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 03:53:47 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 03:53:47 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 03:53:47 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 03:53:47 Executing busybox-1.36.1-r6.trigger 03:53:47 Executing ca-certificates-20240226-r0.trigger 03:53:47 OK: 8 MiB in 17 packages 03:53:47 ---> Running in df9a27e11c2e 03:53:48 Removing intermediate container 92e487c81679 03:53:48 ---> 2b8d917c600f 03:53:48 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:53:48 ---> fbf18e543083 03:53:48 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:53:48 ---> 53031e575e87 03:53:48 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:53:48 ---> dffe8c67bc16 03:53:48 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:53:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:53:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:53:50 ---> aa1ba741c302 03:53:50 Step 22/27 : EXPOSE 59712 03:53:50 ---> Running in d873d62b7fe8 03:53:50 Removing intermediate container d873d62b7fe8 03:53:50 ---> 8ffbf6670524 03:53:50 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:53:50 ---> Running in 60a96e7ccb9e 03:53:50 Removing intermediate container 60a96e7ccb9e 03:53:50 ---> 55acda35dda3 03:53:50 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:53:50 ---> Running in a579504dcc01 03:53:50 Removing intermediate container a579504dcc01 03:53:50 ---> 8a53c74008fe 03:53:50 Step 25/27 : LABEL arch=amd64 03:53:50 ---> Running in d166f523a6c7 03:53:50 Removing intermediate container d166f523a6c7 03:53:50 ---> 12fbc56b2c72 03:53:50 Step 26/27 : LABEL git_sha=a3959b8da632aa4ce6f372f707940d62dfaa2906 03:53:50 ---> Running in d3468a0cf954 03:53:50 OK: 266 MiB in 52 packages 03:53:50 Removing intermediate container d3468a0cf954 03:53:50 ---> 08ece0346003 03:53:50 Step 27/27 : LABEL version=0.0.0 03:53:50 ---> Running in 917f39c846f8 03:53:50 Removing intermediate container 917f39c846f8 03:53:50 ---> d15a1c2ec545 03:53:50 [Warning] One or more build-args [ARCH] were not consumed 03:53:50 Successfully built d15a1c2ec545 03:53:50 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage 03:53:51 Removing intermediate container df9a27e11c2e 03:53:51 ---> 170cbb2eab74 03:53:51 Step 7/12 : WORKDIR /app 03:53:51 ---> Running in 920139bca2c2 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:51 Removing intermediate container 920139bca2c2 03:53:51 ---> 11e32d43e7b8 03:53:51 Step 8/12 : COPY go.mod vendor* ./ 03:53:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:53:51 03:53:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:51 ---> 580b0fb6a1f5 03:53:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:53:51 ---> Running in 7bf30febabf8 03:53:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:53:52 latest: Pulling from edgex-lftools-log-publisher 03:53:52 5eb5b503b376: Pulling fs layer 03:53:52 5c69ac0246d0: Pulling fs layer 03:53:52 ec43610c2a17: Pulling fs layer 03:53:52 3a2ae6a8a46f: Pulling fs layer 03:53:52 33b1e0a273af: Pulling fs layer 03:53:52 5d3b04190fa2: Pulling fs layer 03:53:52 2f39f015ded8: Pulling fs layer 03:53:52 5d3b04190fa2: Waiting 03:53:52 3a2ae6a8a46f: Waiting 03:53:52 33b1e0a273af: Waiting 03:53:52 2f39f015ded8: Waiting 03:53:52 5c69ac0246d0: Verifying Checksum 03:53:52 5c69ac0246d0: Download complete 03:53:52 3a2ae6a8a46f: Verifying Checksum 03:53:52 3a2ae6a8a46f: Download complete 03:53:52 33b1e0a273af: Verifying Checksum 03:53:52 33b1e0a273af: Download complete 03:53:52 5d3b04190fa2: Verifying Checksum 03:53:52 5d3b04190fa2: Download complete 03:53:52 ec43610c2a17: Verifying Checksum 03:53:52 ec43610c2a17: Download complete 03:53:52 5eb5b503b376: Verifying Checksum 03:53:52 5eb5b503b376: Download complete 03:53:52 2f39f015ded8: Download complete 03:53:53 5eb5b503b376: Pull complete 03:53:53 5c69ac0246d0: Pull complete 03:53:54 ec43610c2a17: Pull complete 03:53:54 3a2ae6a8a46f: Pull complete 03:53:54 33b1e0a273af: Pull complete 03:53:54 5d3b04190fa2: Pull complete 03:53:58 2f39f015ded8: Pull complete 03:53:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:53:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:53:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:59 prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container 03:53:59 $ 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-141 -v /w/workspace/foundry_app-record-replay_PR-141:/w/workspace/foundry_app-record-replay_PR-141:rw,z -v /w/workspace/foundry_app-record-replay_PR-141@tmp:/w/workspace/foundry_app-record-replay_PR-141@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:latest cat 03:54:05 $ docker top 20691ad4b45c1160c8ce9be4b3b1e9c1edbc4a0b4795fda89aa6c1358d386c39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:06 ---> job-cost.sh 03:54:06 lf-activate-venv: SKIPPING 03:54:06 INFO: No Stack... 03:54:06 INFO: Retrieving Pricing Info for: v3-standard-8 03:54:07 INFO: Archiving Costs [Pipeline] sh 03:54:07 + cat /w/workspace/foundry_app-record-replay_PR-141/archives/cost.csv 03:54:07 + cut -d, -f6 [Pipeline] lock 03:54:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-141-1-stack-cost] 03:54:07 Resource [jenkins-edgexfoundry-app-record-replay-PR-141-1-stack-cost] did not exist. Created. 03:54:07 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-141-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:54:08 + echo total: 0.2199999988079071 [Pipeline] stash 03:54:08 Stashed 1 file(s) [Pipeline] } 03:54:08 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-141-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:54:08 $ docker stop --time=1 20691ad4b45c1160c8ce9be4b3b1e9c1edbc4a0b4795fda89aa6c1358d386c39 03:54:09 $ docker rm -f --volumes 20691ad4b45c1160c8ce9be4b3b1e9c1edbc4a0b4795fda89aa6c1358d386c39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:55:43 Removing intermediate container 7bf30febabf8 03:55:43 ---> c5d68b09a39b 03:55:43 Step 10/12 : COPY . . 03:55:43 ---> 956c783056c1 03:55:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:55:43 ---> Running in 03e0917d4e11 03:55:43 Removing intermediate container 03e0917d4e11 03:55:43 ---> 13f9b59a0ad7 03:55:43 Step 12/12 : RUN $MAKE 03:55:43 ---> Running in ef7232278d2f 03:55:43 noop 03:55:43 Removing intermediate container ef7232278d2f 03:55:43 ---> 2c849d898bfa 03:55:43 Successfully built 2c849d898bfa 03:55:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:44 + docker inspect -f . ci-base-image-arm64 03:55:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:44 prd-ubuntu20.04-docker-arm64-4c-16g-909 does not seem to be running inside a container 03:55:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:55:45 $ docker top 315fafe2cf26a533f2e1a9a1f9145f83a78cfd2d8ee05b86b80209d79ec9e854 -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:46 + go version 03:55:46 go version go1.21.9 linux/arm64 [Pipeline] } 03:55:46 $ docker stop --time=1 315fafe2cf26a533f2e1a9a1f9145f83a78cfd2d8ee05b86b80209d79ec9e854 03:55:48 $ docker rm -f --volumes 315fafe2cf26a533f2e1a9a1f9145f83a78cfd2d8ee05b86b80209d79ec9e854 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:49 + docker inspect -f . ci-base-image-arm64 03:55:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:49 prd-ubuntu20.04-docker-arm64-4c-16g-909 does not seem to be running inside a container 03:55:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:55:50 $ docker top f8db165b86d6ca6a3c51e2eb056b34c12b777b5bb2a20f67c0e1b3449b60fe63 -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:51 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:55:52 + make test 03:55:52 go test -race -coverprofile=coverage.out ./... 03:59:59 ? github.com/edgexfoundry/app-record-replay [no test files] 03:59:59 ok github.com/edgexfoundry/app-record-replay/internal/app 1.267s coverage: 88.0% of statements 04:00:03 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:00:03 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:00:05 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:00:10 ok github.com/edgexfoundry/app-record-replay/internal/application 9.957s coverage: 98.7% of statements 04:00:10 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.520s coverage: 89.7% of statements 04:00:10 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.185s coverage: 100.0% of statements 04:00:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:00:11 go vet ./... 04:03:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:03:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:03:48 ./bin/test-attribution-txt.sh 04:03:48 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:03:48 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:03:49 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:03:49 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:03:49 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:03:49 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:03:49 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:03:49 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:03:49 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:03:49 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:03:49 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:03:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:03:49 $ docker stop --time=1 f8db165b86d6ca6a3c51e2eb056b34c12b777b5bb2a20f67c0e1b3449b60fe63 04:03:51 $ docker rm -f --volumes f8db165b86d6ca6a3c51e2eb056b34c12b777b5bb2a20f67c0e1b3449b60fe63 [Pipeline] // withDockerContainer [Pipeline] sh 04:03:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:53 Warning: overwriting stash ‘coverage-report’ 04:03:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:55 + ls -al . 04:03:55 total 256 04:03:55 drwxrwxr-x 9 jenkins jenkins 4096 May 28 03:55 . 04:03:55 drwxrwxr-x 4 jenkins jenkins 4096 May 28 03:52 .. 04:03:55 -rw-rw-r-- 1 jenkins jenkins 119 May 28 03:52 .dockerignore 04:03:55 drwxrwxr-x 8 jenkins jenkins 4096 May 28 03:52 .git 04:03:55 drwxrwxr-x 3 jenkins jenkins 4096 May 28 03:52 .github 04:03:55 -rw-rw-r-- 1 jenkins jenkins 164 May 28 03:52 .gitignore 04:03:55 -rw-rw-r-- 1 jenkins jenkins 41 May 28 03:52 .golangci.yml 04:03:55 -rw-rw-r-- 1 jenkins jenkins 11301 May 28 03:52 Attribution.txt 04:03:55 -rw-rw-r-- 1 jenkins jenkins 458 May 28 03:52 CHANGELOG.md 04:03:55 -rw-rw-r-- 1 jenkins jenkins 1725 May 28 03:52 Dockerfile 04:03:55 -rw-rw-r-- 1 jenkins jenkins 677 May 28 03:52 GOVERNANCE.md 04:03:55 -rw-rw-r-- 1 jenkins jenkins 681 May 28 03:52 Jenkinsfile 04:03:55 -rw-rw-r-- 1 jenkins jenkins 10174 May 28 03:52 LICENSE 04:03:55 -rw-rw-r-- 1 jenkins jenkins 3142 May 28 03:52 Makefile 04:03:55 -rw-rw-r-- 1 jenkins jenkins 611 May 28 03:52 OWNERS.md 04:03:55 -rw-rw-r-- 1 jenkins jenkins 4107 May 28 03:52 README.md 04:03:55 -rw-rw-r-- 1 jenkins jenkins 7789 May 28 03:52 Record and Reply.postman_collection.json 04:03:55 -rw-rw-r-- 1 jenkins jenkins 5 May 28 03:50 VERSION 04:03:55 drwxrwxr-x 2 jenkins jenkins 4096 May 28 03:52 bin 04:03:55 -rw-r--r-- 1 jenkins jenkins 24666 May 28 04:00 coverage.out 04:03:55 -rw-rw-r-- 1 jenkins jenkins 7329 May 28 03:52 go.mod 04:03:55 -rw-rw-r-- 1 jenkins jenkins 101994 May 28 03:52 go.sum 04:03:55 drwxrwxr-x 7 jenkins jenkins 4096 May 28 03:52 internal 04:03:55 -rw-rw-r-- 1 jenkins jenkins 913 May 28 03:52 main.go 04:03:55 drwxrwxr-x 3 jenkins jenkins 4096 May 28 03:52 openapi 04:03:55 drwxrwxr-x 3 jenkins jenkins 4096 May 28 03:52 pkg 04:03:55 drwxrwxr-x 2 jenkins jenkins 4096 May 28 03:52 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:55 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a3959b8da632aa4ce6f372f707940d62dfaa2906 --label arch=arm64 --label version=0.0.0 . 04:03:55 Sending build context to Docker daemon 355.3kB 04:03:55 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:03:55 Step 2/27 : FROM ${BASE} AS builder 04:03:55 ---> 2c849d898bfa 04:03:55 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 04:03:55 ---> Running in 590d6252b33b 04:03:56 Removing intermediate container 590d6252b33b 04:03:56 ---> 69c5119cf8b6 04:03:56 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 04:03:56 ---> Running in 9d09e68422ae 04:03:56 Removing intermediate container 9d09e68422ae 04:03:56 ---> e9f42996fc78 04:03:56 Step 5/27 : ARG ADD_BUILD_TAGS="" 04:03:56 ---> Running in 07cd28fae651 04:03:56 Removing intermediate container 07cd28fae651 04:03:56 ---> 0840f2ee7ab8 04:03:56 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:56 ---> Running in 10ef973830d2 04:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:03:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:03:59 OK: 266 MiB in 52 packages 04:04:00 Removing intermediate container 10ef973830d2 04:04:00 ---> 696b40a98405 04:04:00 Step 7/27 : WORKDIR /app 04:04:00 ---> Running in 878bf3c5f084 04:04:00 Removing intermediate container 878bf3c5f084 04:04:00 ---> 918aca2b64c0 04:04:00 Step 8/27 : COPY go.mod vendor* ./ 04:04:00 ---> c792d712e140 04:04:00 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:01 ---> Running in 166e129bfb08 04:04:03 Removing intermediate container 166e129bfb08 04:04:03 ---> 98e1938bfae5 04:04:03 Step 10/27 : COPY . . 04:04:04 ---> 84c83c32e2b7 04:04:04 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:04 ---> Running in ed5f2626cdda 04:04:04 Removing intermediate container ed5f2626cdda 04:04:04 ---> d4f180a36ece 04:04:04 Step 12/27 : RUN $MAKE 04:04:04 ---> Running in 8d9c6633ccd5 04:04:05 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.36 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:07:27 Removing intermediate container 8d9c6633ccd5 04:07:27 ---> 9a6cd40f500c 04:07:27 Step 13/27 : FROM alpine:3.18 04:07:27 3.18: Pulling from library/alpine 04:07:27 c6b39de5b339: Already exists 04:07:27 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:07:27 Status: Downloaded newer image for alpine:3.18 04:07:27 ---> 33abbf032149 04:07:27 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:07:27 ---> Running in 92b75e5b3ca5 04:07:27 Removing intermediate container 92b75e5b3ca5 04:07:27 ---> 3e97e7a227e1 04:07:27 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 04:07:27 ---> Running in 69977ab50436 04:07:27 Removing intermediate container 69977ab50436 04:07:27 ---> 8fea415f3d5e 04:07:27 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 04:07:27 ---> Running in e2d7baeeefad 04:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:07:27 (1/2) Installing ca-certificates (20240226-r0) 04:07:27 (2/2) Installing dumb-init (1.2.5-r2) 04:07:27 Executing busybox-1.36.1-r5.trigger 04:07:27 Executing ca-certificates-20240226-r0.trigger 04:07:27 OK: 9 MiB in 17 packages 04:07:27 Removing intermediate container e2d7baeeefad 04:07:27 ---> e252f185e217 04:07:27 Step 17/27 : RUN apk --no-cache upgrade 04:07:27 ---> Running in c588ed0fae80 04:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:07:27 Upgrading critical system libraries and apk-tools: 04:07:27 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 04:07:27 Executing busybox-1.36.1-r5.trigger 04:07:27 Continuing the upgrade transaction with new apk-tools: 04:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:07:29 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 04:07:29 Executing busybox-1.36.1-r6.post-upgrade 04:07:29 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 04:07:29 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 04:07:29 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 04:07:29 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 04:07:29 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 04:07:29 Executing busybox-1.36.1-r6.trigger 04:07:29 Executing ca-certificates-20240226-r0.trigger 04:07:29 OK: 9 MiB in 17 packages 04:07:31 Removing intermediate container c588ed0fae80 04:07:31 ---> 1cee4c29a2de 04:07:31 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:07:31 ---> 16189232de12 04:07:31 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 04:07:31 ---> 17bc39d750ab 04:07:31 Step 20/27 : COPY --from=builder /app/res/ /res/ 04:07:32 ---> dec143de8d91 04:07:32 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 04:07:34 ---> 05f80de3e4fe 04:07:34 Step 22/27 : EXPOSE 59712 04:07:34 ---> Running in b0fd0eaabc75 04:07:34 Removing intermediate container b0fd0eaabc75 04:07:34 ---> 556848f90c0f 04:07:34 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 04:07:34 ---> Running in d25d666e5bf6 04:07:34 Removing intermediate container d25d666e5bf6 04:07:34 ---> 77d3d290a42b 04:07:34 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:07:34 ---> Running in 02278d4d9fd8 04:07:34 Removing intermediate container 02278d4d9fd8 04:07:34 ---> 7c67bde1dd1c 04:07:34 Step 25/27 : LABEL arch=arm64 04:07:34 ---> Running in 0b595435ec59 04:07:35 Removing intermediate container 0b595435ec59 04:07:35 ---> 74b8b9b33983 04:07:35 Step 26/27 : LABEL git_sha=a3959b8da632aa4ce6f372f707940d62dfaa2906 04:07:35 ---> Running in 642125c1c3e4 04:07:35 Removing intermediate container 642125c1c3e4 04:07:35 ---> a2e5bd0a3ff6 04:07:35 Step 27/27 : LABEL version=0.0.0 04:07:35 ---> Running in 5a0142558ede 04:07:36 Removing intermediate container 5a0142558ede 04:07:36 ---> 38e2a13eec0c 04:07:36 [Warning] One or more build-args [ARCH] were not consumed 04:07:36 Successfully built 38e2a13eec0c 04:07:36 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:37 04:07:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:07:37 arm64: Pulling from edgex-lftools-log-publisher 04:07:37 8998bd30e6a1: Pulling fs layer 04:07:37 04944245beec: Pulling fs layer 04:07:37 699f458cf7ca: Pulling fs layer 04:07:37 765212b225bb: Pulling fs layer 04:07:37 f23df028b6ca: Pulling fs layer 04:07:37 d65c8cfc05b1: Pulling fs layer 04:07:37 2437ff75d9bd: Pulling fs layer 04:07:37 f23df028b6ca: Waiting 04:07:37 d65c8cfc05b1: Waiting 04:07:37 2437ff75d9bd: Waiting 04:07:37 765212b225bb: Waiting 04:07:37 04944245beec: Verifying Checksum 04:07:37 04944245beec: Download complete 04:07:37 765212b225bb: Download complete 04:07:37 f23df028b6ca: Download complete 04:07:37 d65c8cfc05b1: Verifying Checksum 04:07:37 d65c8cfc05b1: Download complete 04:07:37 699f458cf7ca: Download complete 04:07:38 8998bd30e6a1: Verifying Checksum 04:07:38 8998bd30e6a1: Download complete 04:07:40 2437ff75d9bd: Verifying Checksum 04:07:40 2437ff75d9bd: Download complete 04:07:42 8998bd30e6a1: Pull complete 04:07:43 04944245beec: Pull complete 04:07:44 699f458cf7ca: Pull complete 04:07:45 765212b225bb: Pull complete 04:07:46 f23df028b6ca: Pull complete 04:07:46 d65c8cfc05b1: Pull complete 04:08:04 2437ff75d9bd: Pull complete 04:08:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:08:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:04 prd-ubuntu20.04-docker-arm64-4c-16g-909 does not seem to be running inside a container 04:08:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:08:07 $ docker top 0fc86f5361513065058a87583fffbeb3bb6dda8e528f3572ba9614b3f3636329 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:08 ---> job-cost.sh 04:08:08 lf-activate-venv: SKIPPING 04:08:08 INFO: No Stack... 04:08:09 INFO: Retrieving Pricing Info for: v3-standard-4 04:08:09 INFO: Archiving Costs [Pipeline] sh 04:08:10 + cat /w/workspace/app-record-replay/1/archives/cost.csv 04:08:10 + cut -d, -f6 [Pipeline] lock 04:08:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-141-1-stack-cost] 04:08:10 Resource [jenkins-edgexfoundry-app-record-replay-PR-141-1-stack-cost] did not exist. Created. 04:08:10 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-141-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:08:11 /w/workspace/app-record-replay/1@tmp/durable-739841b0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:08:11 + echo total: 0.10999999940395355 [Pipeline] stash 04:08:11 Warning: overwriting stash ‘stack-cost’ 04:08:11 Stashed 1 file(s) [Pipeline] } 04:08:12 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-141-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:08:12 $ docker stop --time=1 0fc86f5361513065058a87583fffbeb3bb6dda8e528f3572ba9614b3f3636329 04:08:13 $ docker rm -f --volumes 0fc86f5361513065058a87583fffbeb3bb6dda8e528f3572ba9614b3f3636329 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:08:14 provisioning config files... 04:08:14 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-141@tmp/config6273707355236265122tmp [Pipeline] { [Pipeline] sh 04:08:15 + set +x 04:08:15 + curl -s https://codecov.io/bash 04:08:15 + bash -s -- 04:08:15 04:08:15 _____ _ 04:08:15 / ____| | | 04:08:15 | | ___ __| | ___ ___ _____ __ 04:08:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:08:15 | |___| (_) | (_| | __/ (_| (_) \ V / 04:08:15 \_____\___/ \__,_|\___|\___\___/ \_/ 04:08:15 Bash-1.0.6 04:08:15 04:08:15 04:08:15 ==> git version 2.25.1 found 04:08:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:08:15 Release-Date: 2020-01-08 04:08:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:08:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:08:15 ==> Jenkins CI detected. 04:08:15 current dir:  /w/workspace/foundry_app-record-replay_PR-141 04:08:15 project root: . 04:08:15 --> token set from env 04:08:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:08:15 ==> Running gcov in . (disable via -X gcov) 04:08:15 ==> Python coveragepy not found 04:08:15 ==> Searching for coverage reports in: 04:08:15 + . 04:08:15 -> Found 1 reports 04:08:15 ==> Detecting git/mercurial file structure 04:08:15 ==> Reading reports 04:08:15 + ./coverage.out bytes=24666 04:08:15 ==> Appending adjustments 04:08:15 https://docs.codecov.io/docs/fixing-reports 04:08:15 + Found adjustments 04:08:15 ==> Gzipping contents 04:08:15 8.0K /tmp/codecov.zI42sr.gz 04:08:15 ==> Uploading reports 04:08:15 url: https://codecov.io 04:08:15 query: branch=PR-141&commit=a3959b8da632aa4ce6f372f707940d62dfaa2906&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-141%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=141&job=&cmd_args= 04:08:15 -> Pinging Codecov 04:08:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-141&commit=a3959b8da632aa4ce6f372f707940d62dfaa2906&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-141%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=141&job=&cmd_args= 04:08:15 -> Uploading to 04:08:15 https://storage.googleapis.com/codecov/v4/raw/2024-05-28/F467761B9912B4F32F9BC62907045C81/a3959b8da632aa4ce6f372f707940d62dfaa2906/6397671d-2648-4c5c-a52a-c0d0ae245864.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240528%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240528T040815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=99c2b32ded878bdc2d6b9a826cd3f93b2e36b93565e363a68809b0ab8cbcad3d 04:08:15 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:15 Dload Upload Total Spent Left Speed 04:08:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4850 0 0 100 4850 0 16440 --:--:-- --:--:-- --:--:-- 16440 04:08:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/a3959b8da632aa4ce6f372f707940d62dfaa2906 [Pipeline] } 04:08:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:08:18 + [ -d /w/workspace/foundry_app-record-replay_PR-141/archives ] 04:08:18 + ls -al /w/workspace/foundry_app-record-replay_PR-141/archives 04:08:18 total 16 04:08:18 drwxr-xr-x 3 root root 4096 May 28 03:54 . 04:08:18 drwxrwxr-x 11 jenkins jenkins 4096 May 28 03:54 .. 04:08:18 drwxr-xr-x 2 root root 4096 May 28 03:54 cost 04:08:18 -rw-r--r-- 1 root root 89 May 28 03:54 cost.csv 04:08:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-141/archives 04:08:18 + ls -al /w/workspace/foundry_app-record-replay_PR-141/archives 04:08:18 total 16 04:08:18 drwxr-xr-x 3 jenkins jenkins 4096 May 28 03:54 . 04:08:18 drwxrwxr-x 11 jenkins jenkins 4096 May 28 03:54 .. 04:08:18 drwxr-xr-x 2 jenkins jenkins 4096 May 28 03:54 cost 04:08:18 -rw-r--r-- 1 jenkins jenkins 89 May 28 03:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:08:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:08:20 ---> package-listing.sh 04:08:20 ++ facter osfamily 04:08:20 ++ tr '[:upper:]' '[:lower:]' 04:08:20 + OS_FAMILY=debian 04:08:20 + workspace=/w/workspace/foundry_app-record-replay_PR-141 04:08:20 + START_PACKAGES=/tmp/packages_start.txt 04:08:20 + END_PACKAGES=/tmp/packages_end.txt 04:08:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:08:20 + PACKAGES=/tmp/packages_start.txt 04:08:20 + '[' /w/workspace/foundry_app-record-replay_PR-141 ']' 04:08:20 + PACKAGES=/tmp/packages_end.txt 04:08:20 + case "${OS_FAMILY}" in 04:08:20 + dpkg -l 04:08:20 + grep '^ii' 04:08:20 + '[' -f /tmp/packages_start.txt ']' 04:08:20 + '[' -f /tmp/packages_end.txt ']' 04:08:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:08:20 + '[' /w/workspace/foundry_app-record-replay_PR-141 ']' 04:08:20 + mkdir -p /w/workspace/foundry_app-record-replay_PR-141/archives/ 04:08:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-141/archives/ [Pipeline] echo 04:08:20 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-141/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:08:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:21 prd-ubuntu20.04-docker-8c-8g-908 does not seem to be running inside a container 04:08:21 $ 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-141/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-141 -v /w/workspace/foundry_app-record-replay_PR-141:/w/workspace/foundry_app-record-replay_PR-141:rw,z -v /w/workspace/foundry_app-record-replay_PR-141@tmp:/w/workspace/foundry_app-record-replay_PR-141@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 04:08:21 $ docker top 502f983372913268f472013e7766a95b8cf922a8eb2f82f294868327bd7fb2ed -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:22 + touch /tmp/pre-build-complete [Pipeline] sh 04:08:22 + mkdir -p /var/log/sysstat [Pipeline] sh 04:08:22 + ls /var/log/sa-host 04:08:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:23 provisioning config files... 04:08:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-141@tmp/config13916760673235621272tmp [Pipeline] { [Pipeline] echo 04:08:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:08:23 ---> create-netrc.sh [Pipeline] } 04:08:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:08:24 ---> python-tools-install.sh [Pipeline] echo 04:08:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:08:24 ---> sudo-logs.sh 04:08:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:08:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:08:25 ---> job-cost.sh 04:08:25 lf-activate-venv: SKIPPING 04:08:25 DEBUG: total: 0.2199999988079071 04:08:25 INFO: Retrieving Stack Cost... 04:08:25 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:25 INFO: Archiving Costs [Pipeline] echo 04:08:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:08:26 ---> logs-deploy.sh 04:08:26 lf-activate-venv: SKIPPING 04:08:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-141/1 04:08:26 INFO: archiving workspace using pattern(s): 04:08:27 Archives upload complete. 04:08:27 INFO: archiving logs to Nexus