Pull request #45 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf0e45e699dbfd39c5668514a472aa905383bcaa+9e1cc3248304890e633debd3a749b71b0c72ba3c (ab7137802ec4aea6f2ae77e51a5e0ede5406ac9a) 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-ssh13265553594462587734.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16442641743688084286.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-45/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-45/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7428338312090266829.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-45/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5341725978357971278.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh16743503554474576830.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-45/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-45/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12074828749115233702.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 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-1500 in /w/workspace/xfoundry_app-record-replay_PR-45 [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/xfoundry_app-record-replay_PR-45 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9e1cc3248304890e633debd3a749b71b0c72ba3c into PR head commit bf0e45e699dbfd39c5668514a472aa905383bcaa Merge succeeded, producing bf0e45e699dbfd39c5668514a472aa905383bcaa Checking out Revision bf0e45e699dbfd39c5668514a472aa905383bcaa (PR-45) > 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/45/head:refs/remotes/origin/PR-45 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf0e45e699dbfd39c5668514a472aa905383bcaa # 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 9e1cc3248304890e633debd3a749b71b0c72ba3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf0e45e699dbfd39c5668514a472aa905383bcaa # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:39:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:39:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:39:44 ========================================================= 03:39:44 EdgeX Global Pipelines Version Info 03:39:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:39:44 ------------------- 03:39:44 stable info: 03:39:44 ------------------- 03:39:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:39:44 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:39:44 Message: update stable to v1.0.250 03:39:45 ------------------- 03:39:45 experimental info: 03:39:45 ------------------- 03:39:45 Commited By: **** collab-it+edgex@linuxfoundation.org 03:39:45 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:39:45 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:39:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:39:45 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:39:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:39:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:39:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:39:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:39:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-45 [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-45 [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-45 [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf0e45e699dbfd39c5668514a472aa905383bcaa [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf0e45e [Pipeline] echo 03:39:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:39:47 provisioning config files... 03:39:47 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-45@tmp/config10440603452188133416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:39:48 ---> docker-login.sh 03:39:48 nexus3.edgexfoundry.org:10001 03:39:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:49 Configure a credential helper to remove this warning. See 03:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:49 03:39:49 Login Succeeded 03:39:49 nexus3.edgexfoundry.org:10002 03:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:49 Configure a credential helper to remove this warning. See 03:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:49 03:39:49 Login Succeeded 03:39:49 nexus3.edgexfoundry.org:10003 03:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:49 Configure a credential helper to remove this warning. See 03:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:49 03:39:49 Login Succeeded 03:39:49 nexus3.edgexfoundry.org:10004 03:39:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:50 Configure a credential helper to remove this warning. See 03:39:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:50 03:39:50 Login Succeeded 03:39:50 docker.io 03:39:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:50 Configure a credential helper to remove this warning. See 03:39:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:50 03:39:50 Login Succeeded 03:39:50 ---> docker-login.sh ends [Pipeline] } 03:39:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:39:51 + git rev-list -1 --merges bf0e45e699dbfd39c5668514a472aa905383bcaa~1..bf0e45e699dbfd39c5668514a472aa905383bcaa [Pipeline] echo 03:39:51 -----------> git rev-list -1 --merges bf0e45e699dbfd39c5668514a472aa905383bcaa~1..bf0e45e699dbfd39c5668514a472aa905383bcaa bf0e45e699dbfd39c5668514a472aa905383bcaa [false] [Pipeline] sh 03:39:51 + git log --format=format:%s -1 bf0e45e699dbfd39c5668514a472aa905383bcaa [Pipeline] echo 03:39:51 ========================================================= 03:39:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:39:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:39:51 + git log --format=format:%s -1 bf0e45e699dbfd39c5668514a472aa905383bcaa [Pipeline] echo 03:39:51 [semverPrep] GIT_COMMIT: bf0e45e699dbfd39c5668514a472aa905383bcaa, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:39:52 [semverPrep] This is not a build commit. [Pipeline] sh 03:39:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:39:52 + grep -v github /etc/ssh/ssh_known_hosts 03:39:52 + [ -e /tmp/ssh_known_hosts ] 03:39:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:39:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:39:52 + sudo tee -a /etc/ssh/ssh_known_hosts 03:39:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:39:52 03:39:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:39:53 0.1.4: Pulling from edgex-devops/py-git-semver 03:39:53 b85a868b505f: Pulling fs layer 03:39:53 e2be974225ed: Pulling fs layer 03:39:53 339a4e72a1f5: Pulling fs layer 03:39:53 988bab9f4d93: Pulling fs layer 03:39:53 1469e6f7b9e6: Pulling fs layer 03:39:53 eaf3925da568: Pulling fs layer 03:39:53 bab4dde63d76: Pulling fs layer 03:39:53 bde34c3a00c8: Pulling fs layer 03:39:53 b352a97aabf1: Pulling fs layer 03:39:53 4872d77fe225: Pulling fs layer 03:39:53 5851b861e8e6: Pulling fs layer 03:39:53 1469e6f7b9e6: Waiting 03:39:53 eaf3925da568: Waiting 03:39:53 bab4dde63d76: Waiting 03:39:53 bde34c3a00c8: Waiting 03:39:53 b352a97aabf1: Waiting 03:39:53 4872d77fe225: Waiting 03:39:53 5851b861e8e6: Waiting 03:39:53 988bab9f4d93: Waiting 03:39:53 e2be974225ed: Download complete 03:39:53 988bab9f4d93: Verifying Checksum 03:39:53 988bab9f4d93: Download complete 03:39:53 1469e6f7b9e6: Verifying Checksum 03:39:53 1469e6f7b9e6: Download complete 03:39:53 339a4e72a1f5: Verifying Checksum 03:39:53 339a4e72a1f5: Download complete 03:39:53 eaf3925da568: Verifying Checksum 03:39:53 eaf3925da568: Download complete 03:39:53 bde34c3a00c8: Verifying Checksum 03:39:53 bde34c3a00c8: Download complete 03:39:53 b352a97aabf1: Download complete 03:39:53 4872d77fe225: Verifying Checksum 03:39:53 4872d77fe225: Download complete 03:39:53 5851b861e8e6: Verifying Checksum 03:39:53 5851b861e8e6: Download complete 03:39:53 b85a868b505f: Verifying Checksum 03:39:53 b85a868b505f: Download complete 03:39:53 bab4dde63d76: Download complete 03:39:54 b85a868b505f: Pull complete 03:39:54 e2be974225ed: Pull complete 03:39:55 339a4e72a1f5: Pull complete 03:39:55 988bab9f4d93: Pull complete 03:39:55 1469e6f7b9e6: Pull complete 03:39:55 eaf3925da568: Pull complete 03:39:57 bab4dde63d76: Pull complete 03:39:57 bde34c3a00c8: Pull complete 03:39:57 b352a97aabf1: Pull complete 03:39:57 4872d77fe225: Pull complete 03:39:57 5851b861e8e6: Pull complete 03:39:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:39:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:39:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:57 prd-ubuntu20.04-docker-8c-8g-1500 does not seem to be running inside a container 03:39:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-45 -v /w/workspace/xfoundry_app-record-replay_PR-45:/w/workspace/xfoundry_app-record-replay_PR-45:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-45@tmp:/w/workspace/xfoundry_app-record-replay_PR-45@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:39:59 $ docker top 6111fec8ec546823cce00fac5621212e17a6b09fdf103cd69cfc57b6cd73669f -eo pid,comm 03:39:59 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:39:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:39:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:39:59 [ssh-agent] Looking for ssh-agent implementation... 03:39:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:39:59 $ docker exec 6111fec8ec546823cce00fac5621212e17a6b09fdf103cd69cfc57b6cd73669f ssh-agent 03:39:59 SSH_AUTH_SOCK=/tmp/ssh-t2OAnuowPUvx/agent.32 03:39:59 SSH_AGENT_PID=38 03:39:59 Running ssh-add (command line suppressed) 03:39:59 Identity added: /w/workspace/xfoundry_app-record-replay_PR-45@tmp/private_key_10334619884235965241.key (/w/workspace/xfoundry_app-record-replay_PR-45@tmp/private_key_10334619884235965241.key) 03:39:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:40:00 + git tag --points-at HEAD [Pipeline] } 03:40:00 $ docker exec --env ******** --env ******** 6111fec8ec546823cce00fac5621212e17a6b09fdf103cd69cfc57b6cd73669f ssh-agent -k 03:40:00 unset SSH_AUTH_SOCK; 03:40:00 unset SSH_AGENT_PID; 03:40:00 echo Agent pid 38 killed; 03:40:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:40:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:40:00 [ssh-agent] Looking for ssh-agent implementation... 03:40:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:40:00 $ docker exec 6111fec8ec546823cce00fac5621212e17a6b09fdf103cd69cfc57b6cd73669f ssh-agent 03:40:00 SSH_AUTH_SOCK=/tmp/ssh-kL921B944RTR/agent.70 03:40:00 SSH_AGENT_PID=76 03:40:00 Running ssh-add (command line suppressed) 03:40:00 Identity added: /w/workspace/xfoundry_app-record-replay_PR-45@tmp/private_key_11628182980724563633.key (/w/workspace/xfoundry_app-record-replay_PR-45@tmp/private_key_11628182980724563633.key) 03:40:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:40:00 + git semver init 03:40:01 2023-07-19 03:40:01,183 [run_init] DEBUG init version:0.0.0 force:False 03:40:01 2023-07-19 03:40:01,184 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-45/.semver 03:40:01 2023-07-19 03:40:01,184 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-45/.semver 03:40:01 2023-07-19 03:40:01,184 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-45/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-45, universal_newlines=False, shell=None, istream=None) 03:40:01 2023-07-19 03:40:01,793 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-45/.git/info/exclude 03:40:01 2023-07-19 03:40:01,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-45/.semver/PR-45 with force:False 03:40:01 2023-07-19 03:40:01,794 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-45/.semver/PR-45 03:40:01 2023-07-19 03:40:01,798 [execute] INFO git cat-file --batch-check 03:40:01 2023-07-19 03:40:01,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-45/.semver, universal_newlines=False, shell=None, istream=) 03:40:01 2023-07-19 03:40:01,805 [execute] INFO git cat-file --batch 03:40:01 2023-07-19 03:40:01,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-45/.semver, universal_newlines=False, shell=None, istream=) 03:40:01 2023-07-19 03:40:01,808 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-45/.semver/PR-45 03:40:01 0.0.0 [Pipeline] } 03:40:01 $ docker exec --env ******** --env ******** 6111fec8ec546823cce00fac5621212e17a6b09fdf103cd69cfc57b6cd73669f ssh-agent -k 03:40:01 unset SSH_AUTH_SOCK; 03:40:01 unset SSH_AGENT_PID; 03:40:01 echo Agent pid 76 killed; 03:40:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:40:02 + git semver [Pipeline] } 03:40:02 $ docker stop --time=1 6111fec8ec546823cce00fac5621212e17a6b09fdf103cd69cfc57b6cd73669f 03:40:04 $ docker rm -f --volumes 6111fec8ec546823cce00fac5621212e17a6b09fdf103cd69cfc57b6cd73669f [Pipeline] // withDockerContainer [Pipeline] sh 03:40:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:40:04 Stashed 1 file(s) [Pipeline] echo 03:40:04 [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:40:05 provisioning config files... 03:40:05 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-45@tmp/config17793017907418002288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:05 ---> docker-login.sh 03:40:05 nexus3.edgexfoundry.org:10001 03:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:05 Configure a credential helper to remove this warning. See 03:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:05 03:40:05 Login Succeeded 03:40:05 nexus3.edgexfoundry.org:10002 03:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:05 Configure a credential helper to remove this warning. See 03:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:05 03:40:05 Login Succeeded 03:40:05 nexus3.edgexfoundry.org:10003 03:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:06 Configure a credential helper to remove this warning. See 03:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:06 03:40:06 Login Succeeded 03:40:06 nexus3.edgexfoundry.org:10004 03:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:06 Configure a credential helper to remove this warning. See 03:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:06 03:40:06 Login Succeeded 03:40:06 docker.io 03:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:40:06 Configure a credential helper to remove this warning. See 03:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:40:06 03:40:06 Login Succeeded 03:40:06 ---> docker-login.sh ends [Pipeline] } 03:40:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:40:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:40:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:40:06 ========================================================= 03:40:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:40:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:40:07 Sending build context to Docker daemon 347.6kB 03:40:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:40:07 Step 2/12 : FROM ${BASE} AS builder 03:40:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:40:07 4db1b89c0bd1: Pulling fs layer 03:40:07 6911f1a30b25: Pulling fs layer 03:40:07 e194b8c5c2a9: Pulling fs layer 03:40:07 6863d3e3a2b1: Pulling fs layer 03:40:07 ec0bb842ea78: Pulling fs layer 03:40:07 40a00589a448: Pulling fs layer 03:40:07 6c08303d61cc: Pulling fs layer 03:40:07 798269fcf238: Pulling fs layer 03:40:07 ec0bb842ea78: Waiting 03:40:07 40a00589a448: Waiting 03:40:07 6c08303d61cc: Waiting 03:40:07 798269fcf238: Waiting 03:40:07 6863d3e3a2b1: Waiting 03:40:07 6911f1a30b25: Verifying Checksum 03:40:07 6911f1a30b25: Download complete 03:40:07 6863d3e3a2b1: Verifying Checksum 03:40:07 6863d3e3a2b1: Download complete 03:40:07 4db1b89c0bd1: Download complete 03:40:07 ec0bb842ea78: Verifying Checksum 03:40:07 ec0bb842ea78: Download complete 03:40:07 40a00589a448: Verifying Checksum 03:40:07 40a00589a448: Download complete 03:40:07 4db1b89c0bd1: Pull complete 03:40:07 6911f1a30b25: Pull complete 03:40:08 798269fcf238: Verifying Checksum 03:40:08 798269fcf238: Download complete 03:40:08 e194b8c5c2a9: Verifying Checksum 03:40:08 e194b8c5c2a9: Download complete 03:40:08 6c08303d61cc: Verifying Checksum 03:40:08 6c08303d61cc: Download complete 03:40:11 e194b8c5c2a9: Pull complete 03:40:11 6863d3e3a2b1: Pull complete 03:40:11 ec0bb842ea78: Pull complete 03:40:11 40a00589a448: Pull complete 03:40:14 6c08303d61cc: Pull complete 03:40:14 798269fcf238: Pull complete 03:40:14 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:40:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:40:14 ---> ec979cd7f677 03:40:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:40:16 ---> Running in ab9d07766473 03:40:16 Removing intermediate container ab9d07766473 03:40:16 ---> 0afe328c141a 03:40:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:40:16 ---> Running in d08bafde5e51 03:40:16 Removing intermediate container d08bafde5e51 03:40:16 ---> 5d10113b872b 03:40:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:40:16 ---> Running in 2e466e88db0e 03:40:16 Removing intermediate container 2e466e88db0e 03:40:16 ---> 2e7d26a4ac38 03:40:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:40:16 ---> Running in 3a6d3a74ea71 03:40:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:40:20 Still waiting to schedule task 03:40:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:40:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:40:20 OK: 265 MiB in 53 packages 03:40:20 Removing intermediate container 3a6d3a74ea71 03:40:20 ---> 271ded79c6c8 03:40:20 Step 7/12 : WORKDIR /app 03:40:20 ---> Running in 1c012e4a945a 03:40:20 Removing intermediate container 1c012e4a945a 03:40:20 ---> 35a6d5b03f83 03:40:20 Step 8/12 : COPY go.mod vendor* ./ 03:40:20 ---> 84fa6eec4d50 03:40:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:40:20 ---> Running in 1e27b7af9fd4 03:40:42 Removing intermediate container 1e27b7af9fd4 03:40:42 ---> b36bcf21ff78 03:40:42 Step 10/12 : COPY . . 03:40:42 ---> 60aa94637fb0 03:40:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:40:42 ---> Running in 4b8e12e660ea 03:40:42 Removing intermediate container 4b8e12e660ea 03:40:42 ---> 8ea6f69454ab 03:40:42 Step 12/12 : RUN $MAKE 03:40:42 ---> Running in 57a344a1d13f 03:40:42 noop 03:40:42 Removing intermediate container 57a344a1d13f 03:40:42 ---> 76e006f359bd 03:40:42 Successfully built 76e006f359bd 03:40:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:42 + docker inspect -f . ci-base-image-x86_64 03:40:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:43 prd-ubuntu20.04-docker-8c-8g-1500 does not seem to be running inside a container 03:40:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-45 -v /w/workspace/xfoundry_app-record-replay_PR-45:/w/workspace/xfoundry_app-record-replay_PR-45:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-45@tmp:/w/workspace/xfoundry_app-record-replay_PR-45@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:40:43 $ docker top 70eba3cb694c343fe1a8a5a2519b0f2d5d489412d22b0ae23da787e03f9c7dbf -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:43 + go version 03:40:43 go version go1.20.6 linux/amd64 [Pipeline] } 03:40:43 $ docker stop --time=1 70eba3cb694c343fe1a8a5a2519b0f2d5d489412d22b0ae23da787e03f9c7dbf 03:40:45 $ docker rm -f --volumes 70eba3cb694c343fe1a8a5a2519b0f2d5d489412d22b0ae23da787e03f9c7dbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:45 + docker inspect -f . ci-base-image-x86_64 03:40:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:45 prd-ubuntu20.04-docker-8c-8g-1500 does not seem to be running inside a container 03:40:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-45 -v /w/workspace/xfoundry_app-record-replay_PR-45:/w/workspace/xfoundry_app-record-replay_PR-45:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-45@tmp:/w/workspace/xfoundry_app-record-replay_PR-45@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:40:46 $ docker top 4d01979953a7f801649fe8adbfc51922e594697138d67b058662d6bc4f151136 -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:46 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-45 [Pipeline] fileExists [Pipeline] sh 03:40:47 + make test 03:40:47 go test -race -coverprofile=coverage.out ./... 03:41:09 ? github.com/edgexfoundry/app-record-replay [no test files] 03:41:09 ok github.com/edgexfoundry/app-record-replay/internal/app 0.078s coverage: 87.5% of statements 03:41:09 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:41:09 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:41:09 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:41:09 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.080s coverage: 91.6% of statements 03:41:09 ok github.com/edgexfoundry/app-record-replay/internal/data 0.062s coverage: 65.2% of statements 03:41:36 go vet ./... 03:41:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:41:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:41:36 ./bin/test-attribution-txt.sh [Pipeline] echo 03:41:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:41:37 $ docker stop --time=1 4d01979953a7f801649fe8adbfc51922e594697138d67b058662d6bc4f151136 03:41:39 $ docker rm -f --volumes 4d01979953a7f801649fe8adbfc51922e594697138d67b058662d6bc4f151136 [Pipeline] // withDockerContainer [Pipeline] sh 03:41:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:41:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:41:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:41:40 + ls -al . 03:41:40 total 164 03:41:40 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 03:40 . 03:41:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 03:39 .. 03:41:40 -rw-rw-r-- 1 jenkins jenkins 119 Jul 19 03:39 .dockerignore 03:41:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 03:40 .git 03:41:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 03:39 .github 03:41:40 -rw-rw-r-- 1 jenkins jenkins 164 Jul 19 03:39 .gitignore 03:41:40 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 03:39 .golangci.yml 03:41:40 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 03:40 .semver 03:41:40 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 19 03:39 Attribution.txt 03:41:40 -rw-rw-r-- 1 jenkins jenkins 258 Jul 19 03:39 CHANGELOG.md 03:41:40 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 19 03:39 Dockerfile 03:41:40 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 03:39 GOVERNANCE.md 03:41:40 -rw-rw-r-- 1 jenkins jenkins 681 Jul 19 03:39 Jenkinsfile 03:41:40 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 19 03:39 LICENSE 03:41:40 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 19 03:39 Makefile 03:41:40 -rw-rw-r-- 1 jenkins jenkins 611 Jul 19 03:39 OWNERS.md 03:41:40 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 19 03:39 README.md 03:41:40 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 19 03:39 Record and Reply.postman_collection.json 03:41:40 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 03:40 VERSION 03:41:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 03:39 bin 03:41:40 -rw-r--r-- 1 jenkins jenkins 7545 Jul 19 03:41 coverage.out 03:41:40 -rw-rw-r-- 1 jenkins jenkins 3679 Jul 19 03:39 go.mod 03:41:40 -rw-rw-r-- 1 jenkins jenkins 32845 Jul 19 03:39 go.sum 03:41:40 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 03:39 internal 03:41:40 -rw-rw-r-- 1 jenkins jenkins 913 Jul 19 03:39 main.go 03:41:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 03:39 pkg 03:41:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 03:39 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:41 + 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=bf0e45e699dbfd39c5668514a472aa905383bcaa --label arch=amd64 --label version=0.0.0 . 03:41:41 Sending build context to Docker daemon 355.8kB 03:41:41 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:41:41 Step 2/26 : FROM ${BASE} AS builder 03:41:41 ---> 76e006f359bd 03:41:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:41:41 ---> Running in d3f5dc47f9a3 03:41:41 Removing intermediate container d3f5dc47f9a3 03:41:41 ---> 4fde8293e3b3 03:41:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:41:41 ---> Running in b99f36170dcc 03:41:41 Removing intermediate container b99f36170dcc 03:41:41 ---> 4b23f52c1cab 03:41:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:41:41 ---> Running in ce3d7f72a386 03:41:41 Removing intermediate container ce3d7f72a386 03:41:41 ---> 5609824f04ba 03:41:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:41:41 ---> Running in 6e3d70de4c02 03:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:41:42 OK: 265 MiB in 53 packages 03:41:42 Removing intermediate container 6e3d70de4c02 03:41:42 ---> aa8c518470df 03:41:42 Step 7/26 : WORKDIR /app 03:41:42 ---> Running in c8eb46e5ccf1 03:41:42 Removing intermediate container c8eb46e5ccf1 03:41:42 ---> 65079101bbca 03:41:42 Step 8/26 : COPY go.mod vendor* ./ 03:41:42 ---> 6791722e0ac6 03:41:42 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:41:42 ---> Running in 9c4e20e3e805 03:41:43 Removing intermediate container 9c4e20e3e805 03:41:43 ---> 69db70022ea6 03:41:43 Step 10/26 : COPY . . 03:41:43 ---> 051b251081e5 03:41:43 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:41:43 ---> Running in b648db2b5720 03:41:43 Removing intermediate container b648db2b5720 03:41:43 ---> ff7f63b44e4c 03:41:43 Step 12/26 : RUN $MAKE 03:41:43 ---> Running in 844dc5f9c2fa 03:41:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.8 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 03:41:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1501 in /w/workspace/xfoundry_app-record-replay_PR-45 [Pipeline] { [Pipeline] ws 03:41:55 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:41:55 Selected Git installation does not exist. Using Default 03:41:55 The recommended git tool is: NONE 03:42:00 using credential edgex-jenkins-ssh 03:42:00 Cloning the remote Git repository 03:42:00 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:42:00 > git init /w/workspace/app-record-replay/1 # timeout=10 03:42:01 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:42:01 > git --version # timeout=10 03:42:01 > git --version # 'git version 2.25.1' 03:42:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:42:02 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:42:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:42:03 Merging remotes/origin/main commit 9e1cc3248304890e633debd3a749b71b0c72ba3c into PR head commit bf0e45e699dbfd39c5668514a472aa905383bcaa 03:42:04 Merge succeeded, producing bf0e45e699dbfd39c5668514a472aa905383bcaa 03:42:04 Checking out Revision bf0e45e699dbfd39c5668514a472aa905383bcaa (PR-45) 03:42:03 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:42:03 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:42:03 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/45/head:refs/remotes/origin/PR-45 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:42:04 > git config core.sparsecheckout # timeout=10 03:42:04 > git checkout -f bf0e45e699dbfd39c5668514a472aa905383bcaa # timeout=10 03:42:04 > git remote # timeout=10 03:42:04 > git config --get remote.origin.url # timeout=10 03:42:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:04 > git merge 9e1cc3248304890e633debd3a749b71b0c72ba3c # timeout=10 03:42:04 > git rev-parse HEAD^{commit} # timeout=10 03:42:04 > git config core.sparsecheckout # timeout=10 03:42:04 > git checkout -f bf0e45e699dbfd39c5668514a472aa905383bcaa # timeout=10 03:42:04 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:42:04 > git --version # timeout=10 03:42:04 > git --version # 'git version 2.25.1' 03:42:04 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:42:05 % Total % Received % Xferd Average Speed Time Time Time Current 03:42:05 Dload Upload Total Spent Left Speed 03:42:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 03:42:06 Removing intermediate container 844dc5f9c2fa 03:42:06 ---> 1d1c96112ba2 03:42:06 Step 13/26 : FROM alpine:3.17 03:42:06 3.17: Pulling from library/alpine 03:42:06 4db1b89c0bd1: Already exists 03:42:06 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:42:06 Status: Downloaded newer image for alpine:3.17 03:42:06 ---> 1f73a9d63274 03:42:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:42:06 ---> Running in 6c16e7d956c9 03:42:06 Removing intermediate container 6c16e7d956c9 03:42:06 ---> d70f414350ed 03:42:06 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:42:06 ---> Running in ac3ad9f095dc 03:42:06 Removing intermediate container ac3ad9f095dc 03:42:06 ---> 53c331403b98 03:42:06 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:42:06 ---> Running in 80cc72f39530 03:42:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:42:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:42:06 (1/2) Installing ca-certificates (20230506-r0) 03:42:06 (2/2) Installing dumb-init (1.2.5-r2) 03:42:06 Executing busybox-1.35.0-r29.trigger 03:42:06 Executing ca-certificates-20230506-r0.trigger 03:42:06 OK: 8 MiB in 17 packages 03:42:06 Removing intermediate container 80cc72f39530 03:42:06 ---> cb3505d28ad3 03:42:06 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:42:06 ---> 494f8b65532b 03:42:06 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:42:06 ---> 7ae052ae5916 03:42:06 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:42:06 ---> 1085880a29d0 03:42:06 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:42:06 ---> 4d17f8608ffc 03:42:06 Step 21/26 : EXPOSE 59712 03:42:06 ---> Running in 2e7b38c1f521 03:42:06 Removing intermediate container 2e7b38c1f521 03:42:06 ---> 3dc2c26cce37 03:42:06 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:42:06 ---> Running in e475577d7ea2 03:42:06 Removing intermediate container e475577d7ea2 03:42:06 ---> 14034b9c57fd 03:42:06 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:42:06 ---> Running in c550442c8393 03:42:06 Removing intermediate container c550442c8393 03:42:06 ---> 495562831976 03:42:06 Step 24/26 : LABEL arch=amd64 03:42:06 ---> Running in 3a5a032eb211 03:42:06 Removing intermediate container 3a5a032eb211 03:42:06 ---> 1cbbc7e57327 03:42:06 Step 25/26 : LABEL git_sha=bf0e45e699dbfd39c5668514a472aa905383bcaa 03:42:06 ---> Running in 37b7e7b51132 03:42:06 Removing intermediate container 37b7e7b51132 03:42:06 ---> ccc15d3b163d 03:42:06 Step 26/26 : LABEL version=0.0.0 03:42:06 ---> Running in ecafdcee7dcd 03:42:06 Removing intermediate container ecafdcee7dcd 03:42:06 ---> ab859ebf77d0 03:42:06 [Warning] One or more build-args [ARCH] were not consumed 03:42:06 Successfully built ab859ebf77d0 03:42:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:42:06 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 03:42:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:42:06 + sudo tee /etc/docker/daemon.new 03:42:06 { 03:42:06 "registry-mirrors": [ 03:42:06 "https://nexus3.edgexfoundry.org:10001" 03:42:06 ], 03:42:06 "bip": "10.250.0.254/24", 03:42:06 "hosts": [ 03:42:06 "tcp://0.0.0.0:5555", 03:42:06 "unix:///var/run/docker.sock" 03:42:06 ], 03:42:06 "mtu": 1458, 03:42:06 "selinux-enabled": true, 03:42:06 "seccomp-profile": "/etc/docker/seccomp.json" 03:42:06 } [Pipeline] sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 03:42:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // stage Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:07 + sudo service docker restart 03:42:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:07 03:42:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:07 latest: Pulling from edgex-lftools-log-publisher 03:42:07 5eb5b503b376: Pulling fs layer 03:42:07 5c69ac0246d0: Pulling fs layer 03:42:07 ec43610c2a17: Pulling fs layer 03:42:07 3a2ae6a8a46f: Pulling fs layer 03:42:07 33b1e0a273af: Pulling fs layer 03:42:07 5d3b04190fa2: Pulling fs layer 03:42:07 2f39f015ded8: Pulling fs layer 03:42:07 33b1e0a273af: Waiting 03:42:07 5d3b04190fa2: Waiting 03:42:07 2f39f015ded8: Waiting 03:42:07 3a2ae6a8a46f: Waiting 03:42:07 5c69ac0246d0: Verifying Checksum 03:42:07 5c69ac0246d0: Download complete 03:42:07 3a2ae6a8a46f: Verifying Checksum 03:42:07 3a2ae6a8a46f: Download complete 03:42:07 33b1e0a273af: Verifying Checksum 03:42:07 33b1e0a273af: Download complete 03:42:07 5d3b04190fa2: Verifying Checksum 03:42:07 5d3b04190fa2: Download complete 03:42:07 ec43610c2a17: Verifying Checksum 03:42:07 ec43610c2a17: Download complete 03:42:08 5eb5b503b376: Verifying Checksum 03:42:08 5eb5b503b376: Download complete 03:42:08 2f39f015ded8: Download complete 03:42:09 5eb5b503b376: Pull complete 03:42:09 5c69ac0246d0: Pull complete 03:42:09 ec43610c2a17: Pull complete 03:42:10 3a2ae6a8a46f: Pull complete 03:42:10 33b1e0a273af: Pull complete 03:42:10 5d3b04190fa2: Pull complete 03:42:14 2f39f015ded8: Pull complete 03:42:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:42:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:14 prd-ubuntu20.04-docker-8c-8g-1500 does not seem to be running inside a container 03:42:14 $ 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/xfoundry_app-record-replay_PR-45 -v /w/workspace/xfoundry_app-record-replay_PR-45:/w/workspace/xfoundry_app-record-replay_PR-45:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-45@tmp:/w/workspace/xfoundry_app-record-replay_PR-45@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:42:15 $ docker top 0f15090ebc50e4369fb07f9abac6484d120ed3c597bfa78acc2ce2035ec56392 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:16 ---> job-cost.sh 03:42:16 lf-activate-venv: SKIPPING 03:42:16 INFO: No Stack... 03:42:16 INFO: Retrieving Pricing Info for: v3-standard-8 03:42:16 INFO: Archiving Costs [Pipeline] sh 03:42:17 + cat /w/workspace/xfoundry_app-record-replay_PR-45/archives/cost.csv 03:42:17 + cut -d, -f6 [Pipeline] lock 03:42:17 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-45-1-stack-cost] 03:42:17 Resource [jenkins-edgexfoundry-app-record-replay-PR-45-1-stack-cost] did not exist. Created. 03:42:17 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-45-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:42:17 + echo total: 0.2199999988079071 [Pipeline] stash 03:42:17 Stashed 1 file(s) [Pipeline] } 03:42:17 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-45-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:42:17 $ docker stop --time=1 0f15090ebc50e4369fb07f9abac6484d120ed3c597bfa78acc2ce2035ec56392 03:42:18 $ docker rm -f --volumes 0f15090ebc50e4369fb07f9abac6484d120ed3c597bfa78acc2ce2035ec56392 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:25 provisioning config files... 03:42:25 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config18034371545203326317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:26 ---> docker-login.sh 03:42:26 nexus3.edgexfoundry.org:10001 03:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:26 Configure a credential helper to remove this warning. See 03:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:26 03:42:26 Login Succeeded 03:42:26 nexus3.edgexfoundry.org:10002 03:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:30 Configure a credential helper to remove this warning. See 03:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:30 03:42:30 Login Succeeded 03:42:30 nexus3.edgexfoundry.org:10003 03:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:30 Configure a credential helper to remove this warning. See 03:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:30 03:42:30 Login Succeeded 03:42:30 nexus3.edgexfoundry.org:10004 03:42:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:31 Configure a credential helper to remove this warning. See 03:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:31 03:42:31 Login Succeeded 03:42:31 docker.io 03:42:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:31 Configure a credential helper to remove this warning. See 03:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:31 03:42:31 Login Succeeded 03:42:31 ---> docker-login.sh ends [Pipeline] } 03:42:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:42:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:32 ========================================================= 03:42:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:42:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:42:32 Sending build context to Docker daemon 158.2kB 03:42:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:42:32 Step 2/12 : FROM ${BASE} AS builder 03:42:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:42:32 edb6bdbacee9: Pulling fs layer 03:42:32 5f9638ab2659: Pulling fs layer 03:42:32 8d51d6327a98: Pulling fs layer 03:42:32 8b374f2dd631: Pulling fs layer 03:42:32 ec14aa9079de: Pulling fs layer 03:42:32 2f466654f4bb: Pulling fs layer 03:42:32 554e91adad29: Pulling fs layer 03:42:32 8b374f2dd631: Waiting 03:42:32 2f466654f4bb: Waiting 03:42:32 554e91adad29: Waiting 03:42:32 ec14aa9079de: Waiting 03:42:32 5f9638ab2659: Verifying Checksum 03:42:32 5f9638ab2659: Download complete 03:42:33 8b374f2dd631: Download complete 03:42:33 ec14aa9079de: Verifying Checksum 03:42:33 ec14aa9079de: Download complete 03:42:33 edb6bdbacee9: Download complete 03:42:34 edb6bdbacee9: Pull complete 03:42:34 554e91adad29: Verifying Checksum 03:42:34 554e91adad29: Download complete 03:42:34 5f9638ab2659: Pull complete 03:42:35 8d51d6327a98: Verifying Checksum 03:42:35 8d51d6327a98: Download complete 03:42:35 2f466654f4bb: Verifying Checksum 03:42:35 2f466654f4bb: Download complete 03:42:48 8d51d6327a98: Pull complete 03:42:48 8b374f2dd631: Pull complete 03:42:48 ec14aa9079de: Pull complete 03:42:53 2f466654f4bb: Pull complete 03:42:58 554e91adad29: Pull complete 03:42:58 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:42:58 ---> 1e15ea492957 03:42:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:43:00 ---> Running in 10307c020a86 03:43:00 Removing intermediate container 10307c020a86 03:43:00 ---> ac861fa2d060 03:43:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:43:00 ---> Running in e75406c3d5e1 03:43:01 Removing intermediate container e75406c3d5e1 03:43:01 ---> 5055e7dd8d71 03:43:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:43:01 ---> Running in 4bae34b121fa 03:43:01 Removing intermediate container 4bae34b121fa 03:43:01 ---> 1221ad213a0c 03:43:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:43:01 ---> Running in 51cd1f0b0335 03:43:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:43:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:43:04 OK: 263 MiB in 53 packages 03:43:04 Removing intermediate container 51cd1f0b0335 03:43:04 ---> 3630bd0fe1f7 03:43:04 Step 7/12 : WORKDIR /app 03:43:04 ---> Running in 718807ed883e 03:43:05 Removing intermediate container 718807ed883e 03:43:05 ---> 398df3fd9a3d 03:43:05 Step 8/12 : COPY go.mod vendor* ./ 03:43:05 ---> f233df584f1e 03:43:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:43:05 ---> Running in 5a29786add7e 03:44:13 Removing intermediate container 5a29786add7e 03:44:13 ---> ec8793525928 03:44:13 Step 10/12 : COPY . . 03:44:13 ---> 57740b0727a9 03:44:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:44:13 ---> Running in 1a7b4889c496 03:44:13 Removing intermediate container 1a7b4889c496 03:44:13 ---> 1f7cf02f1ffa 03:44:13 Step 12/12 : RUN $MAKE 03:44:13 ---> Running in a4037fc23df1 03:44:13 noop 03:44:13 Removing intermediate container a4037fc23df1 03:44:13 ---> f97b67a63862 03:44:13 Successfully built f97b67a63862 03:44:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:14 + docker inspect -f . ci-base-image-arm64 03:44:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:14 prd-ubuntu20.04-docker-arm64-4c-16g-1501 does not seem to be running inside a container 03:44:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:44:15 $ docker top 70240db115d8315bee77c7e8327dd74360c5d7e7ad77dfd5e16fdf48198ca105 -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:16 + go version 03:44:16 go version go1.20.6 linux/arm64 [Pipeline] } 03:44:16 $ docker stop --time=1 70240db115d8315bee77c7e8327dd74360c5d7e7ad77dfd5e16fdf48198ca105 03:44:19 $ docker rm -f --volumes 70240db115d8315bee77c7e8327dd74360c5d7e7ad77dfd5e16fdf48198ca105 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:20 + docker inspect -f . ci-base-image-arm64 03:44:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:21 prd-ubuntu20.04-docker-arm64-4c-16g-1501 does not seem to be running inside a container 03:44:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:44:22 $ docker top 09bcac68449f6f1ad112273a952e66e0cda75ca2bf99cc862da244ed852bee68 -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:22 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:44:23 + make test 03:44:23 go test -race -coverprofile=coverage.out ./... 03:46:59 ? github.com/edgexfoundry/app-record-replay [no test files] 03:47:10 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:47:10 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:47:10 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:47:10 ok github.com/edgexfoundry/app-record-replay/internal/app 0.251s coverage: 87.5% of statements 03:47:10 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.346s coverage: 91.6% of statements 03:47:10 ok github.com/edgexfoundry/app-record-replay/internal/data 0.250s coverage: 65.2% of statements 03:47:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:47:10 go vet ./... 03:49:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:49:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:49:31 ./bin/test-attribution-txt.sh [Pipeline] echo 03:49:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:49:31 $ docker stop --time=1 09bcac68449f6f1ad112273a952e66e0cda75ca2bf99cc862da244ed852bee68 03:49:33 $ docker rm -f --volumes 09bcac68449f6f1ad112273a952e66e0cda75ca2bf99cc862da244ed852bee68 [Pipeline] // withDockerContainer [Pipeline] sh 03:49:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:49:35 Warning: overwriting stash ‘coverage-report’ 03:49:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:49:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:49:36 + ls -al . 03:49:36 total 160 03:49:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 03:44 . 03:49:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 03:42 .. 03:49:36 -rw-rw-r-- 1 jenkins jenkins 119 Jul 19 03:42 .dockerignore 03:49:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 03:42 .git 03:49:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 03:42 .github 03:49:36 -rw-rw-r-- 1 jenkins jenkins 164 Jul 19 03:42 .gitignore 03:49:36 -rw-rw-r-- 1 jenkins jenkins 41 Jul 19 03:42 .golangci.yml 03:49:36 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 19 03:42 Attribution.txt 03:49:36 -rw-rw-r-- 1 jenkins jenkins 258 Jul 19 03:42 CHANGELOG.md 03:49:36 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 19 03:42 Dockerfile 03:49:36 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 03:42 GOVERNANCE.md 03:49:36 -rw-rw-r-- 1 jenkins jenkins 681 Jul 19 03:42 Jenkinsfile 03:49:36 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 19 03:42 LICENSE 03:49:36 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 19 03:42 Makefile 03:49:36 -rw-rw-r-- 1 jenkins jenkins 611 Jul 19 03:42 OWNERS.md 03:49:36 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 19 03:42 README.md 03:49:36 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 19 03:42 Record and Reply.postman_collection.json 03:49:36 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 03:40 VERSION 03:49:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 03:42 bin 03:49:36 -rw-r--r-- 1 jenkins jenkins 7545 Jul 19 03:47 coverage.out 03:49:36 -rw-rw-r-- 1 jenkins jenkins 3679 Jul 19 03:42 go.mod 03:49:36 -rw-rw-r-- 1 jenkins jenkins 32845 Jul 19 03:42 go.sum 03:49:36 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 03:42 internal 03:49:36 -rw-rw-r-- 1 jenkins jenkins 913 Jul 19 03:42 main.go 03:49:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 03:42 pkg 03:49:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 03:42 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:36 + 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=bf0e45e699dbfd39c5668514a472aa905383bcaa --label arch=arm64 --label version=0.0.0 . 03:49:36 Sending build context to Docker daemon 166.4kB 03:49:37 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:49:37 Step 2/26 : FROM ${BASE} AS builder 03:49:37 ---> f97b67a63862 03:49:37 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:49:37 ---> Running in 7a31389e0e84 03:49:37 Removing intermediate container 7a31389e0e84 03:49:37 ---> 4157e9585534 03:49:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:49:37 ---> Running in 74b56d7d710e 03:49:37 Removing intermediate container 74b56d7d710e 03:49:37 ---> 72874d44cdb6 03:49:37 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:49:38 ---> Running in db56b1df6119 03:49:38 Removing intermediate container db56b1df6119 03:49:38 ---> a46baa79a2f7 03:49:38 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:49:38 ---> Running in d5e95db26002 03:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:49:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:49:40 OK: 263 MiB in 53 packages 03:49:41 Removing intermediate container d5e95db26002 03:49:41 ---> 6c976f678ec4 03:49:41 Step 7/26 : WORKDIR /app 03:49:41 ---> Running in 614e878f0428 03:49:42 Removing intermediate container 614e878f0428 03:49:42 ---> e83fa7931c50 03:49:42 Step 8/26 : COPY go.mod vendor* ./ 03:49:42 ---> bdca6b773215 03:49:42 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:49:42 ---> Running in 6a413751bdcc 03:49:45 Removing intermediate container 6a413751bdcc 03:49:45 ---> 925424948861 03:49:45 Step 10/26 : COPY . . 03:49:45 ---> 2e7ce7a4f748 03:49:45 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:49:45 ---> Running in 43449395717e 03:49:45 Removing intermediate container 43449395717e 03:49:45 ---> b91cf0f73920 03:49:45 Step 12/26 : RUN $MAKE 03:49:45 ---> Running in 82f7cf0d59d9 03:49:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.8 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 03:51:53 Removing intermediate container 82f7cf0d59d9 03:51:53 ---> ae2ed7f6aeb7 03:51:53 Step 13/26 : FROM alpine:3.17 03:51:53 3.17: Pulling from library/alpine 03:51:53 edb6bdbacee9: Already exists 03:51:53 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:51:53 Status: Downloaded newer image for alpine:3.17 03:51:53 ---> 779605e5fbc0 03:51:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:51:53 ---> Running in 36c358b58a57 03:51:53 Removing intermediate container 36c358b58a57 03:51:53 ---> b235845e8489 03:51:53 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:51:53 ---> Running in 4121b6bead6f 03:51:53 Removing intermediate container 4121b6bead6f 03:51:53 ---> 866927279023 03:51:53 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:51:53 ---> Running in 989d27968774 03:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:51:53 (1/2) Installing ca-certificates (20230506-r0) 03:51:53 (2/2) Installing dumb-init (1.2.5-r2) 03:51:53 Executing busybox-1.35.0-r29.trigger 03:51:53 Executing ca-certificates-20230506-r0.trigger 03:51:53 OK: 8 MiB in 17 packages 03:51:54 Removing intermediate container 989d27968774 03:51:54 ---> dc6fae38cf4a 03:51:54 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:51:54 ---> 01ec1be1c7e8 03:51:54 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:51:55 ---> fd30eb99a67d 03:51:55 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:51:55 ---> e125299bf226 03:51:55 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:51:57 ---> a6fdd0a310a9 03:51:57 Step 21/26 : EXPOSE 59712 03:51:57 ---> Running in 3462707076b1 03:51:57 Removing intermediate container 3462707076b1 03:51:57 ---> ab4f2677e726 03:51:57 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:51:57 ---> Running in b610487ee7f4 03:51:57 Removing intermediate container b610487ee7f4 03:51:57 ---> 65ace678010e 03:51:57 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:51:58 ---> Running in a35419b7a897 03:51:58 Removing intermediate container a35419b7a897 03:51:58 ---> 66bae34334a1 03:51:58 Step 24/26 : LABEL arch=arm64 03:51:58 ---> Running in b4d255d892ab 03:51:58 Removing intermediate container b4d255d892ab 03:51:58 ---> 852fd64d42f1 03:51:58 Step 25/26 : LABEL git_sha=bf0e45e699dbfd39c5668514a472aa905383bcaa 03:51:58 ---> Running in bbd30cdd755f 03:51:58 Removing intermediate container bbd30cdd755f 03:51:58 ---> 4546ff99ce12 03:51:58 Step 26/26 : LABEL version=0.0.0 03:51:59 ---> Running in a0b9bcf5b71b 03:51:59 Removing intermediate container a0b9bcf5b71b 03:51:59 ---> 69e3794e02c2 03:51:59 [Warning] One or more build-args [ARCH] were not consumed 03:51:59 Successfully built 69e3794e02c2 03:51:59 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:00 03:52:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:00 arm64: Pulling from edgex-lftools-log-publisher 03:52:00 8998bd30e6a1: Pulling fs layer 03:52:00 04944245beec: Pulling fs layer 03:52:00 699f458cf7ca: Pulling fs layer 03:52:00 765212b225bb: Pulling fs layer 03:52:00 f23df028b6ca: Pulling fs layer 03:52:00 d65c8cfc05b1: Pulling fs layer 03:52:00 2437ff75d9bd: Pulling fs layer 03:52:00 765212b225bb: Waiting 03:52:00 f23df028b6ca: Waiting 03:52:00 d65c8cfc05b1: Waiting 03:52:00 04944245beec: Verifying Checksum 03:52:00 04944245beec: Download complete 03:52:00 765212b225bb: Verifying Checksum 03:52:00 765212b225bb: Download complete 03:52:00 f23df028b6ca: Download complete 03:52:00 d65c8cfc05b1: Verifying Checksum 03:52:00 d65c8cfc05b1: Download complete 03:52:00 699f458cf7ca: Verifying Checksum 03:52:00 699f458cf7ca: Download complete 03:52:01 8998bd30e6a1: Verifying Checksum 03:52:01 8998bd30e6a1: Download complete 03:52:03 2437ff75d9bd: Verifying Checksum 03:52:03 2437ff75d9bd: Download complete 03:52:05 8998bd30e6a1: Pull complete 03:52:05 04944245beec: Pull complete 03:52:06 699f458cf7ca: Pull complete 03:52:06 765212b225bb: Pull complete 03:52:07 f23df028b6ca: Pull complete 03:52:07 d65c8cfc05b1: Pull complete 03:52:23 2437ff75d9bd: Pull complete 03:52:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:52:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:23 prd-ubuntu20.04-docker-arm64-4c-16g-1501 does not seem to be running inside a container 03:52:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:52:25 $ docker top 549b568a4b0f24f998529d67ab0d935c1445ed48aa3834f5d026a2d3bbbe8bcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:26 ---> job-cost.sh 03:52:26 lf-activate-venv: SKIPPING 03:52:26 INFO: No Stack... 03:52:27 INFO: Retrieving Pricing Info for: v3-standard-4 03:52:27 INFO: Archiving Costs [Pipeline] sh 03:52:28 + cat /w/workspace/app-record-replay/1/archives/cost.csv 03:52:28 + cut -d, -f6 [Pipeline] lock 03:52:28 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-45-1-stack-cost] 03:52:28 Resource [jenkins-edgexfoundry-app-record-replay-PR-45-1-stack-cost] did not exist. Created. 03:52:28 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-45-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:52:29 /w/workspace/app-record-replay/1@tmp/durable-e3eafa01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:52:29 + echo total: 0.10999999940395355 [Pipeline] stash 03:52:29 Warning: overwriting stash ‘stack-cost’ 03:52:29 Stashed 1 file(s) [Pipeline] } 03:52:29 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-45-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:52:29 $ docker stop --time=1 549b568a4b0f24f998529d67ab0d935c1445ed48aa3834f5d026a2d3bbbe8bcd 03:52:31 $ docker rm -f --volumes 549b568a4b0f24f998529d67ab0d935c1445ed48aa3834f5d026a2d3bbbe8bcd [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 03:52:32 provisioning config files... 03:52:32 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-45 #1 03:52:32 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-45@tmp/config7375293867940455964tmp [Pipeline] { [Pipeline] sh 03:52:32 + set +x 03:52:32 + curl -s https://codecov.io/bash 03:52:32 + bash -s -- 03:52:32 03:52:32 _____ _ 03:52:32 / ____| | | 03:52:32 | | ___ __| | ___ ___ _____ __ 03:52:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:52:32 | |___| (_) | (_| | __/ (_| (_) \ V / 03:52:32 \_____\___/ \__,_|\___|\___\___/ \_/ 03:52:32 Bash-1.0.6 03:52:32 03:52:32 03:52:32 ==> git version 2.25.1 found 03:52:32 ==> 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 03:52:32 Release-Date: 2020-01-08 03:52:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:52:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:52:32 ==> Jenkins CI detected. 03:52:32 current dir:  /w/workspace/xfoundry_app-record-replay_PR-45 03:52:32 project root: . 03:52:32 --> token set from env 03:52:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:52:32 ==> Running gcov in . (disable via -X gcov) 03:52:32 ==> Python coveragepy not found 03:52:32 ==> Searching for coverage reports in: 03:52:32 + . 03:52:32 -> Found 1 reports 03:52:32 ==> Detecting git/mercurial file structure 03:52:32 ==> Reading reports 03:52:32 + ./coverage.out bytes=7545 03:52:32 ==> Appending adjustments 03:52:32 https://docs.codecov.io/docs/fixing-reports 03:52:33 + Found adjustments 03:52:33 ==> Gzipping contents 03:52:33 4.0K /tmp/codecov.gol05s.gz 03:52:33 ==> Uploading reports 03:52:33 url: https://codecov.io 03:52:33 query: branch=PR-45&commit=bf0e45e699dbfd39c5668514a472aa905383bcaa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-45%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=45&job=&cmd_args= 03:52:33 -> Pinging Codecov 03:52:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-45&commit=bf0e45e699dbfd39c5668514a472aa905383bcaa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-45%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=45&job=&cmd_args= 03:52:33 Invalid request parameters 03:52:33 400 [Pipeline] } 03:52:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:52:35 + [ -d /w/workspace/xfoundry_app-record-replay_PR-45/archives ] 03:52:35 + ls -al /w/workspace/xfoundry_app-record-replay_PR-45/archives 03:52:35 total 16 03:52:35 drwxr-xr-x 3 root root 4096 Jul 19 03:42 . 03:52:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 03:42 .. 03:52:35 drwxr-xr-x 2 root root 4096 Jul 19 03:42 cost 03:52:35 -rw-r--r-- 1 root root 88 Jul 19 03:42 cost.csv 03:52:35 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-45/archives 03:52:35 + ls -al /w/workspace/xfoundry_app-record-replay_PR-45/archives 03:52:35 total 16 03:52:35 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 03:42 . 03:52:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 03:42 .. 03:52:35 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 03:42 cost 03:52:35 -rw-r--r-- 1 jenkins jenkins 88 Jul 19 03:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:52:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:52:36 ---> package-listing.sh 03:52:36 ++ facter osfamily 03:52:36 ++ tr '[:upper:]' '[:lower:]' 03:52:36 + OS_FAMILY=debian 03:52:36 + workspace=/w/workspace/xfoundry_app-record-replay_PR-45 03:52:36 + START_PACKAGES=/tmp/packages_start.txt 03:52:36 + END_PACKAGES=/tmp/packages_end.txt 03:52:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:52:36 + PACKAGES=/tmp/packages_start.txt 03:52:36 + '[' /w/workspace/xfoundry_app-record-replay_PR-45 ']' 03:52:36 + PACKAGES=/tmp/packages_end.txt 03:52:36 + case "${OS_FAMILY}" in 03:52:36 + dpkg -l 03:52:36 + grep '^ii' 03:52:36 + '[' -f /tmp/packages_start.txt ']' 03:52:36 + '[' -f /tmp/packages_end.txt ']' 03:52:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:52:36 + '[' /w/workspace/xfoundry_app-record-replay_PR-45 ']' 03:52:36 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-45/archives/ 03:52:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-45/archives/ [Pipeline] echo 03:52:36 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/xfoundry_app-record-replay_PR-45/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:52:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:52:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:37 prd-ubuntu20.04-docker-8c-8g-1500 does not seem to be running inside a container 03:52:37 $ 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/xfoundry_app-record-replay_PR-45/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-45 -v /w/workspace/xfoundry_app-record-replay_PR-45:/w/workspace/xfoundry_app-record-replay_PR-45:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-45@tmp:/w/workspace/xfoundry_app-record-replay_PR-45@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 03:52:37 $ docker top 33b22a31152fcc96b8a6790276cf15f62e571742b83c46aed12c28046a6efdb2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:52:38 + touch /tmp/pre-build-complete [Pipeline] sh 03:52:38 + mkdir -p /var/log/sysstat [Pipeline] sh 03:52:38 + ls /var/log/sa-host 03:52:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:52:39 provisioning config files... 03:52:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-45@tmp/config3787708378713913530tmp [Pipeline] { [Pipeline] echo 03:52:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:52:39 ---> create-netrc.sh [Pipeline] } 03:52:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:52:40 ---> python-tools-install.sh [Pipeline] echo 03:52:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:52:40 ---> sudo-logs.sh 03:52:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:52:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:52:40 ---> job-cost.sh 03:52:40 lf-activate-venv: SKIPPING 03:52:40 DEBUG: total: 0.2199999988079071 03:52:40 INFO: Retrieving Stack Cost... 03:52:41 INFO: Retrieving Pricing Info for: v3-standard-8 03:52:41 INFO: Archiving Costs [Pipeline] echo 03:52:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:52:41 ---> logs-deploy.sh 03:52:41 lf-activate-venv: SKIPPING 03:52:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-45/1 03:52:41 INFO: archiving workspace using pattern(s): 03:52:42 Archives upload complete. 03:52:42 INFO: archiving logs to Nexus