Pull request #33 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from 338726e77e8f48919c2c837c674a8f9d91fe32a7+014cd2a42ec53b17b540d3f4d2b0fbdf4dc62505 (5281e2ab3c2dd516daac36746f7802d795706234) 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-ssh11318023276027533692.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-ssh14298862946681611429.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-33/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-33/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4333982225049914844.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 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-ssh10372125885085814371.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-33/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-33/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15809491741952065598.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-ubuntu20.04-docker-8c-8g-787’ is offline Running on prd-ubuntu20.04-docker-8c-8g-789 in /w/workspace/xfoundry_app-record-replay_PR-33 [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-33 # 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 014cd2a42ec53b17b540d3f4d2b0fbdf4dc62505 into PR head commit 338726e77e8f48919c2c837c674a8f9d91fe32a7 Merge succeeded, producing 338726e77e8f48919c2c837c674a8f9d91fe32a7 Checking out Revision 338726e77e8f48919c2c837c674a8f9d91fe32a7 (PR-33) > 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/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 338726e77e8f48919c2c837c674a8f9d91fe32a7 # 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 014cd2a42ec53b17b540d3f4d2b0fbdf4dc62505 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 338726e77e8f48919c2c837c674a8f9d91fe32a7 # timeout=10 Commit message: "feat: Wire up controller and data manager" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:52:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:52:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:52:04 ========================================================= 21:52:04 EdgeX Global Pipelines Version Info 21:52:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 46fda29814e96c45d0a5c7658b1dee18eab7b2f4 # timeout=10 21:52:05 ------------------- 21:52:05 stable info: 21:52:05 ------------------- 21:52:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:52:05 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:52:05 Message: update stable to v1.0.250 21:52:05 ------------------- 21:52:05 experimental info: 21:52:05 ------------------- 21:52:05 Commited By: **** collab-it+edgex@linuxfoundation.org 21:52:05 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:52:05 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-33 [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-33 [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-33 [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 338726e77e8f48919c2c837c674a8f9d91fe32a7 [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 338726e [Pipeline] echo 21:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:52:06 provisioning config files... 21:52:06 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-33@tmp/config18194273816886763590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:06 ---> docker-login.sh 21:52:06 nexus3.edgexfoundry.org:10001 21:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:07 Configure a credential helper to remove this warning. See 21:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:07 21:52:07 Login Succeeded 21:52:07 nexus3.edgexfoundry.org:10002 21:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:07 Configure a credential helper to remove this warning. See 21:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:07 21:52:07 Login Succeeded 21:52:07 nexus3.edgexfoundry.org:10003 21:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:07 Configure a credential helper to remove this warning. See 21:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:07 21:52:07 Login Succeeded 21:52:07 nexus3.edgexfoundry.org:10004 21:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:07 Configure a credential helper to remove this warning. See 21:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:07 21:52:07 Login Succeeded 21:52:07 docker.io 21:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:07 Configure a credential helper to remove this warning. See 21:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:07 21:52:07 Login Succeeded 21:52:07 ---> docker-login.sh ends [Pipeline] } 21:52:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:52:08 + git rev-list -1 --merges 338726e77e8f48919c2c837c674a8f9d91fe32a7~1..338726e77e8f48919c2c837c674a8f9d91fe32a7 [Pipeline] echo 21:52:08 -----------> git rev-list -1 --merges 338726e77e8f48919c2c837c674a8f9d91fe32a7~1..338726e77e8f48919c2c837c674a8f9d91fe32a7 338726e77e8f48919c2c837c674a8f9d91fe32a7 [false] [Pipeline] sh 21:52:08 + git log --format=format:%s -1 338726e77e8f48919c2c837c674a8f9d91fe32a7 [Pipeline] echo 21:52:08 ========================================================= 21:52:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:52:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:52:08 + git log --format=format:%s -1 338726e77e8f48919c2c837c674a8f9d91fe32a7 [Pipeline] echo 21:52:08 [semverPrep] GIT_COMMIT: 338726e77e8f48919c2c837c674a8f9d91fe32a7, Commit Message: feat: Wire up controller and data manager [Pipeline] echo 21:52:08 [semverPrep] This is not a build commit. [Pipeline] sh 21:52:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:52:09 + grep -v github /etc/ssh/ssh_known_hosts 21:52:09 + [ -e /tmp/ssh_known_hosts ] 21:52:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:52:09 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 21:52:09 -a /etc/ssh/ssh_known_hosts 21:52:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:09 21:52:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:09 0.1.4: Pulling from edgex-devops/py-git-semver 21:52:09 b85a868b505f: Pulling fs layer 21:52:09 e2be974225ed: Pulling fs layer 21:52:09 339a4e72a1f5: Pulling fs layer 21:52:09 988bab9f4d93: Pulling fs layer 21:52:09 1469e6f7b9e6: Pulling fs layer 21:52:09 eaf3925da568: Pulling fs layer 21:52:09 bab4dde63d76: Pulling fs layer 21:52:09 bde34c3a00c8: Pulling fs layer 21:52:09 b352a97aabf1: Pulling fs layer 21:52:09 4872d77fe225: Pulling fs layer 21:52:09 5851b861e8e6: Pulling fs layer 21:52:09 988bab9f4d93: Waiting 21:52:09 1469e6f7b9e6: Waiting 21:52:09 eaf3925da568: Waiting 21:52:09 bab4dde63d76: Waiting 21:52:09 bde34c3a00c8: Waiting 21:52:09 5851b861e8e6: Waiting 21:52:09 b352a97aabf1: Waiting 21:52:09 e2be974225ed: Download complete 21:52:09 988bab9f4d93: Download complete 21:52:09 1469e6f7b9e6: Verifying Checksum 21:52:09 1469e6f7b9e6: Download complete 21:52:10 339a4e72a1f5: Verifying Checksum 21:52:10 339a4e72a1f5: Download complete 21:52:10 eaf3925da568: Verifying Checksum 21:52:10 eaf3925da568: Download complete 21:52:10 bde34c3a00c8: Verifying Checksum 21:52:10 bde34c3a00c8: Download complete 21:52:10 b352a97aabf1: Download complete 21:52:10 4872d77fe225: Download complete 21:52:10 5851b861e8e6: Download complete 21:52:10 b85a868b505f: Verifying Checksum 21:52:10 b85a868b505f: Download complete 21:52:10 bab4dde63d76: Verifying Checksum 21:52:10 bab4dde63d76: Download complete 21:52:11 b85a868b505f: Pull complete 21:52:11 e2be974225ed: Pull complete 21:52:11 339a4e72a1f5: Pull complete 21:52:12 988bab9f4d93: Pull complete 21:52:12 1469e6f7b9e6: Pull complete 21:52:12 eaf3925da568: Pull complete 21:52:14 bab4dde63d76: Pull complete 21:52:14 bde34c3a00c8: Pull complete 21:52:14 b352a97aabf1: Pull complete 21:52:14 4872d77fe225: Pull complete 21:52:14 5851b861e8e6: Pull complete 21:52:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:52:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:52:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:14 prd-ubuntu20.04-docker-8c-8g-789 does not seem to be running inside a container 21:52:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-33 -v /w/workspace/xfoundry_app-record-replay_PR-33:/w/workspace/xfoundry_app-record-replay_PR-33:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-33@tmp:/w/workspace/xfoundry_app-record-replay_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:52:17 $ docker top 6ea5508589045dc168cae5825e3930720df500a4e77dd7361178101b4a776806 -eo pid,comm 21:52:17 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). 21:52:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:52:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:52:17 [ssh-agent] Looking for ssh-agent implementation... 21:52:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:52:17 $ docker exec 6ea5508589045dc168cae5825e3930720df500a4e77dd7361178101b4a776806 ssh-agent 21:52:17 SSH_AUTH_SOCK=/tmp/ssh-v6NICbTwIO0r/agent.33 21:52:17 SSH_AGENT_PID=39 21:52:17 Running ssh-add (command line suppressed) 21:52:17 Identity added: /w/workspace/xfoundry_app-record-replay_PR-33@tmp/private_key_993140267702735673.key (/w/workspace/xfoundry_app-record-replay_PR-33@tmp/private_key_993140267702735673.key) 21:52:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:52:17 + git tag --points-at HEAD [Pipeline] } 21:52:17 $ docker exec --env ******** --env ******** 6ea5508589045dc168cae5825e3930720df500a4e77dd7361178101b4a776806 ssh-agent -k 21:52:17 unset SSH_AUTH_SOCK; 21:52:17 unset SSH_AGENT_PID; 21:52:17 echo Agent pid 39 killed; 21:52:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:52:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:52:18 [ssh-agent] Looking for ssh-agent implementation... 21:52:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:52:18 $ docker exec 6ea5508589045dc168cae5825e3930720df500a4e77dd7361178101b4a776806 ssh-agent 21:52:18 SSH_AUTH_SOCK=/tmp/ssh-5arSeeYHBndm/agent.71 21:52:18 SSH_AGENT_PID=77 21:52:18 Running ssh-add (command line suppressed) 21:52:18 Identity added: /w/workspace/xfoundry_app-record-replay_PR-33@tmp/private_key_15934280436369532993.key (/w/workspace/xfoundry_app-record-replay_PR-33@tmp/private_key_15934280436369532993.key) 21:52:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:52:18 + git semver init 21:52:18 2023-07-10 21:52:18,886 [run_init] DEBUG init version:0.0.0 force:False 21:52:18 2023-07-10 21:52:18,887 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-33/.semver 21:52:18 2023-07-10 21:52:18,887 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-33/.semver 21:52:18 2023-07-10 21:52:18,887 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-33/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-33, universal_newlines=False, shell=None, istream=None) 21:52:19 2023-07-10 21:52:19,554 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-33/.git/info/exclude 21:52:19 2023-07-10 21:52:19,555 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-33/.semver/PR-33 with force:False 21:52:19 2023-07-10 21:52:19,555 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-33/.semver/PR-33 21:52:19 2023-07-10 21:52:19,561 [execute] INFO git cat-file --batch-check 21:52:19 2023-07-10 21:52:19,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-33/.semver, universal_newlines=False, shell=None, istream=) 21:52:19 2023-07-10 21:52:19,568 [execute] INFO git cat-file --batch 21:52:19 2023-07-10 21:52:19,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-33/.semver, universal_newlines=False, shell=None, istream=) 21:52:19 2023-07-10 21:52:19,573 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-33/.semver/PR-33 21:52:19 0.0.0 [Pipeline] } 21:52:19 $ docker exec --env ******** --env ******** 6ea5508589045dc168cae5825e3930720df500a4e77dd7361178101b4a776806 ssh-agent -k 21:52:19 unset SSH_AUTH_SOCK; 21:52:19 unset SSH_AGENT_PID; 21:52:19 echo Agent pid 77 killed; 21:52:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:52:20 + git semver [Pipeline] } 21:52:20 $ docker stop --time=1 6ea5508589045dc168cae5825e3930720df500a4e77dd7361178101b4a776806 21:52:21 $ docker rm -f --volumes 6ea5508589045dc168cae5825e3930720df500a4e77dd7361178101b4a776806 [Pipeline] // withDockerContainer [Pipeline] sh 21:52:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:52:22 Stashed 1 file(s) [Pipeline] echo 21:52:22 [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 21:52:22 provisioning config files... 21:52:22 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-33@tmp/config9620533780717743964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:52:22 ---> docker-login.sh 21:52:22 nexus3.edgexfoundry.org:10001 21:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:22 Configure a credential helper to remove this warning. See 21:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:22 21:52:22 Login Succeeded 21:52:22 nexus3.edgexfoundry.org:10002 21:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:22 Configure a credential helper to remove this warning. See 21:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:22 21:52:22 Login Succeeded 21:52:22 nexus3.edgexfoundry.org:10003 21:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:23 Configure a credential helper to remove this warning. See 21:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:23 21:52:23 Login Succeeded 21:52:23 nexus3.edgexfoundry.org:10004 21:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:23 Configure a credential helper to remove this warning. See 21:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:23 21:52:23 Login Succeeded 21:52:23 docker.io 21:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:52:23 Configure a credential helper to remove this warning. See 21:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:52:23 21:52:23 Login Succeeded 21:52:23 ---> docker-login.sh ends [Pipeline] } 21:52:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:52:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:52:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:52:23 ========================================================= 21:52:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:52:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:23 + 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 . 21:52:23 Sending build context to Docker daemon 279kB 21:52:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:52:23 Step 2/12 : FROM ${BASE} AS builder 21:52:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:52:23 f56be85fc22e: Pulling fs layer 21:52:23 85791d961cd3: Pulling fs layer 21:52:23 d694b5ae8c79: Pulling fs layer 21:52:23 9f32a84ed3da: Pulling fs layer 21:52:23 4d19c01a9841: Pulling fs layer 21:52:23 9325e15d5711: Pulling fs layer 21:52:23 556b6ee489ea: Pulling fs layer 21:52:23 c5a4b2cf53e6: Pulling fs layer 21:52:23 4d19c01a9841: Waiting 21:52:23 9325e15d5711: Waiting 21:52:23 556b6ee489ea: Waiting 21:52:23 c5a4b2cf53e6: Waiting 21:52:23 9f32a84ed3da: Waiting 21:52:23 85791d961cd3: Download complete 21:52:23 9f32a84ed3da: Verifying Checksum 21:52:23 9f32a84ed3da: Download complete 21:52:23 4d19c01a9841: Verifying Checksum 21:52:23 4d19c01a9841: Download complete 21:52:23 f56be85fc22e: Download complete 21:52:23 9325e15d5711: Verifying Checksum 21:52:23 9325e15d5711: Download complete 21:52:23 f56be85fc22e: Pull complete 21:52:24 85791d961cd3: Pull complete 21:52:24 c5a4b2cf53e6: Verifying Checksum 21:52:24 c5a4b2cf53e6: Download complete 21:52:24 d694b5ae8c79: Verifying Checksum 21:52:24 d694b5ae8c79: Download complete 21:52:24 556b6ee489ea: Verifying Checksum 21:52:28 d694b5ae8c79: Pull complete 21:52:28 9f32a84ed3da: Pull complete 21:52:28 4d19c01a9841: Pull complete 21:52:28 9325e15d5711: Pull complete 21:52:30 556b6ee489ea: Pull complete 21:52:31 c5a4b2cf53e6: Pull complete 21:52:31 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:52:31 ---> c4be618373d6 21:52:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:52:34 ---> Running in 82f66bc85eaa 21:52:34 Removing intermediate container 82f66bc85eaa 21:52:34 ---> 0dbce472a82c 21:52:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:52:34 ---> Running in c5d0b75cb81d 21:52:34 Removing intermediate container c5d0b75cb81d 21:52:34 ---> 4695af31e3b5 21:52:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:52:34 ---> Running in 1550d0c0d6af 21:52:34 Removing intermediate container 1550d0c0d6af 21:52:34 ---> 4cb6f2b7c9a1 21:52:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:52:34 ---> Running in 892c2f89081d 21:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:52:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:52:35 OK: 265 MiB in 53 packages 21:52:35 Removing intermediate container 892c2f89081d 21:52:35 ---> 74dad5afffa8 21:52:35 Step 7/12 : WORKDIR /app 21:52:35 ---> Running in 52cbc5dfc1b2 21:52:35 Removing intermediate container 52cbc5dfc1b2 21:52:35 ---> 9e9201cffbac 21:52:35 Step 8/12 : COPY go.mod vendor* ./ 21:52:35 ---> 9860786570d5 21:52:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:35 ---> Running in 178a157376af 21:52:37 Still waiting to schedule task 21:52:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-788’ is offline 21:53:02 Removing intermediate container 178a157376af 21:53:02 ---> f0cbd2a0507d 21:53:02 Step 10/12 : COPY . . 21:53:02 ---> f0e1cfd6cd55 21:53:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:53:02 ---> Running in 217670f5162e 21:53:02 Removing intermediate container 217670f5162e 21:53:02 ---> 1eeb48ce1b07 21:53:02 Step 12/12 : RUN $MAKE 21:53:02 ---> Running in e7215d509be5 21:53:02 noop 21:53:02 Removing intermediate container e7215d509be5 21:53:02 ---> 4c8b03df8a8d 21:53:02 Successfully built 4c8b03df8a8d 21:53:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:02 + docker inspect -f . ci-base-image-x86_64 21:53:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:02 prd-ubuntu20.04-docker-8c-8g-789 does not seem to be running inside a container 21:53:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-33 -v /w/workspace/xfoundry_app-record-replay_PR-33:/w/workspace/xfoundry_app-record-replay_PR-33:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-33@tmp:/w/workspace/xfoundry_app-record-replay_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:53:03 $ docker top 7b3484d82f275281d2dd70c7d86901e5f1449a700c99e587a918d00fd1310908 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:03 + go version 21:53:03 go version go1.20.2 linux/amd64 [Pipeline] } 21:53:03 $ docker stop --time=1 7b3484d82f275281d2dd70c7d86901e5f1449a700c99e587a918d00fd1310908 21:53:04 $ docker rm -f --volumes 7b3484d82f275281d2dd70c7d86901e5f1449a700c99e587a918d00fd1310908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:05 + docker inspect -f . ci-base-image-x86_64 21:53:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:05 prd-ubuntu20.04-docker-8c-8g-789 does not seem to be running inside a container 21:53:05 $ 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-33 -v /w/workspace/xfoundry_app-record-replay_PR-33:/w/workspace/xfoundry_app-record-replay_PR-33:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-33@tmp:/w/workspace/xfoundry_app-record-replay_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:53:05 $ docker top 93cd8def4acf8439509ae0eac20cf2aba3f3ed320f245a3be46ae00c0f8429b5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:06 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-33 [Pipeline] fileExists [Pipeline] sh 21:53:06 + make test 21:53:06 go test -race -coverprofile=coverage.out ./... 21:53:28 ? github.com/edgexfoundry/app-record-replay [no test files] 21:53:28 ok github.com/edgexfoundry/app-record-replay/internal/app 0.064s coverage: 76.9% of statements 21:53:28 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:53:28 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:53:28 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:53:28 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.075s coverage: 85.4% of statements 21:53:28 ok github.com/edgexfoundry/app-record-replay/internal/data 0.064s coverage: 27.3% of statements 21:53:47 go vet ./... 21:53:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:53:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:53:51 ./bin/test-attribution-txt.sh [Pipeline] echo 21:53:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:53:51 $ docker stop --time=1 93cd8def4acf8439509ae0eac20cf2aba3f3ed320f245a3be46ae00c0f8429b5 21:53:55 $ docker rm -f --volumes 93cd8def4acf8439509ae0eac20cf2aba3f3ed320f245a3be46ae00c0f8429b5 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:53:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:53:56 + ls -al . 21:53:56 total 152 21:53:56 drwxrwxr-x 9 jenkins jenkins 4096 Jul 10 21:53 . 21:53:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:51 .. 21:53:56 -rw-rw-r-- 1 jenkins jenkins 119 Jul 10 21:52 .dockerignore 21:53:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 21:52 .git 21:53:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:52 .github 21:53:56 -rw-rw-r-- 1 jenkins jenkins 164 Jul 10 21:52 .gitignore 21:53:56 -rw-rw-r-- 1 jenkins jenkins 41 Jul 10 21:52 .golangci.yml 21:53:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 21:52 .semver 21:53:56 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 10 21:52 Attribution.txt 21:53:56 -rw-rw-r-- 1 jenkins jenkins 258 Jul 10 21:52 CHANGELOG.md 21:53:56 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 10 21:52 Dockerfile 21:53:56 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 21:52 GOVERNANCE.md 21:53:56 -rw-rw-r-- 1 jenkins jenkins 681 Jul 10 21:52 Jenkinsfile 21:53:56 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 10 21:52 LICENSE 21:53:56 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 10 21:52 Makefile 21:53:56 -rw-rw-r-- 1 jenkins jenkins 611 Jul 10 21:52 OWNERS.md 21:53:56 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 10 21:52 README.md 21:53:56 -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 21:52 VERSION 21:53:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:52 bin 21:53:56 -rw-r--r-- 1 jenkins jenkins 4850 Jul 10 21:53 coverage.out 21:53:56 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 10 21:52 go.mod 21:53:56 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 10 21:52 go.sum 21:53:56 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 21:52 internal 21:53:56 -rw-rw-r-- 1 jenkins jenkins 913 Jul 10 21:52 main.go 21:53:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 21:52 pkg 21:53:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:52 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:56 + 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=338726e77e8f48919c2c837c674a8f9d91fe32a7 --label arch=amd64 --label version=0.0.0 . 21:53:56 Sending build context to Docker daemon 284.7kB 21:53:56 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:53:56 Step 2/26 : FROM ${BASE} AS builder 21:53:56 ---> 4c8b03df8a8d 21:53:56 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:53:56 ---> Running in f1ac6532a384 21:53:56 Removing intermediate container f1ac6532a384 21:53:56 ---> af8f5e1fe5a7 21:53:56 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:53:56 ---> Running in b473350876a4 21:53:56 Removing intermediate container b473350876a4 21:53:56 ---> 28dfc9c56b07 21:53:56 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:53:56 ---> Running in 57e9962a247d 21:53:56 Removing intermediate container 57e9962a247d 21:53:56 ---> 08b8b2e7c6bf 21:53:56 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:53:57 ---> Running in 25f71d739cb4 21:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:53:58 OK: 265 MiB in 53 packages 21:53:58 Removing intermediate container 25f71d739cb4 21:53:58 ---> 1bf8df006775 21:53:58 Step 7/26 : WORKDIR /app 21:53:58 ---> Running in 63b5f35e6197 21:53:58 Removing intermediate container 63b5f35e6197 21:53:58 ---> dd07b7838f58 21:53:58 Step 8/26 : COPY go.mod vendor* ./ 21:53:58 ---> 580f845fac67 21:53:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:53:58 ---> Running in fae1480686e4 21:53:59 Removing intermediate container fae1480686e4 21:53:59 ---> 20f779081832 21:53:59 Step 10/26 : COPY . . 21:53:59 ---> 8d0e9f4686e0 21:53:59 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:53:59 ---> Running in a25d3f414b6a 21:53:59 Removing intermediate container a25d3f414b6a 21:53:59 ---> ab264a2caae1 21:53:59 Step 12/26 : RUN $MAKE 21:53:59 ---> Running in 40cf9c042f55 21:53:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 21:54:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-790 in /w/workspace/xfoundry_app-record-replay_PR-33 [Pipeline] { [Pipeline] ws 21:54:03 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 21:54:03 Selected Git installation does not exist. Using Default 21:54:03 The recommended git tool is: NONE 21:54:08 using credential edgex-jenkins-ssh 21:54:08 Cloning the remote Git repository 21:54:08 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 21:54:08 > git init /w/workspace/app-record-replay/2 # timeout=10 21:54:09 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:54:09 > git --version # timeout=10 21:54:09 > git --version # 'git version 2.25.1' 21:54:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:54:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:54:12 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:54:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:54:13 Merging remotes/origin/main commit 014cd2a42ec53b17b540d3f4d2b0fbdf4dc62505 into PR head commit 338726e77e8f48919c2c837c674a8f9d91fe32a7 21:54:13 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:54:13 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:54:13 using GIT_SSH to set credentials SSH Credentials for GitHub 21:54:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:54:13 > git config core.sparsecheckout # timeout=10 21:54:13 > git checkout -f 338726e77e8f48919c2c837c674a8f9d91fe32a7 # timeout=10 21:54:14 Merge succeeded, producing 338726e77e8f48919c2c837c674a8f9d91fe32a7 21:54:14 Checking out Revision 338726e77e8f48919c2c837c674a8f9d91fe32a7 (PR-33) 21:54:13 > git remote # timeout=10 21:54:13 > git config --get remote.origin.url # timeout=10 21:54:13 using GIT_SSH to set credentials SSH Credentials for GitHub 21:54:13 > git merge 014cd2a42ec53b17b540d3f4d2b0fbdf4dc62505 # timeout=10 21:54:13 > git rev-parse HEAD^{commit} # timeout=10 21:54:14 > git config core.sparsecheckout # timeout=10 21:54:14 > git checkout -f 338726e77e8f48919c2c837c674a8f9d91fe32a7 # timeout=10 21:54:17 Commit message: "feat: Wire up controller and data manager" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:54:18 % Total % Received % Xferd Average Speed Time Time Time Current 21:54:18 Dload Upload Total Spent Left Speed 21:54:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 21:54:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:54:19 + sudo tee+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:54:19 /etc/docker/daemon.new 21:54:19 { 21:54:19 "registry-mirrors": [ 21:54:19 "https://nexus3.edgexfoundry.org:10001" 21:54:19 ], 21:54:19 "bip": "10.250.0.254/24", 21:54:19 "hosts": [ 21:54:19 "tcp://0.0.0.0:5555", 21:54:19 "unix:///var/run/docker.sock" 21:54:19 ], 21:54:19 "mtu": 1458, 21:54:19 "selinux-enabled": true, 21:54:19 "seccomp-profile": "/etc/docker/seccomp.json" 21:54:19 } [Pipeline] sh 21:54:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:54:20 + sudo service docker restart 21:54:21 Removing intermediate container 40cf9c042f55 21:54:21 ---> 7db35a8258da 21:54:21 Step 13/26 : FROM alpine:3.17 21:54:21 3.17: Pulling from library/alpine 21:54:21 4db1b89c0bd1: Pulling fs layer 21:54:21 4db1b89c0bd1: Verifying Checksum 21:54:21 4db1b89c0bd1: Download complete 21:54:21 4db1b89c0bd1: Pull complete 21:54:21 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:54:21 Status: Downloaded newer image for alpine:3.17 21:54:21 ---> 1f73a9d63274 21:54:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:54:21 ---> Running in 3c9d7abcb38f 21:54:21 Removing intermediate container 3c9d7abcb38f 21:54:21 ---> 643a5ad1e613 21:54:21 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:54:21 ---> Running in ab3a47b21614 21:54:21 Removing intermediate container ab3a47b21614 21:54:21 ---> 3b0d6613afa1 21:54:21 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:54:21 ---> Running in ce13491925db 21:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:54:21 (1/2) Installing ca-certificates (20230506-r0) 21:54:21 (2/2) Installing dumb-init (1.2.5-r2) 21:54:21 Executing busybox-1.35.0-r29.trigger 21:54:21 Executing ca-certificates-20230506-r0.trigger 21:54:21 OK: 8 MiB in 17 packages 21:54:21 Removing intermediate container ce13491925db 21:54:21 ---> 6f2a16872791 21:54:21 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:54:21 ---> befcb0478419 21:54:21 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:54:21 ---> 8d923a05bf8f 21:54:21 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:54:21 ---> 87659a5162db 21:54:21 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:54:22 ---> 2b57d533f5c7 21:54:22 Step 21/26 : EXPOSE 59712 21:54:22 ---> Running in 0c506707f884 21:54:22 Removing intermediate container 0c506707f884 21:54:22 ---> f21c03d108b8 21:54:22 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:54:22 ---> Running in 82b6e85d384d 21:54:22 Removing intermediate container 82b6e85d384d 21:54:22 ---> 04c2c192462b 21:54:22 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:54:22 ---> Running in e6ba5f7ea54a 21:54:22 Removing intermediate container e6ba5f7ea54a 21:54:22 ---> b62f8c7b832f 21:54:22 Step 24/26 : LABEL arch=amd64 21:54:22 ---> Running in 0ea504959062 21:54:22 Removing intermediate container 0ea504959062 21:54:22 ---> 28b63f25f870 21:54:22 Step 25/26 : LABEL git_sha=338726e77e8f48919c2c837c674a8f9d91fe32a7 21:54:22 ---> Running in 661df43f9371 21:54:22 Removing intermediate container 661df43f9371 21:54:22 ---> 2e858f48c6b2 21:54:22 Step 26/26 : LABEL version=0.0.0 21:54:22 ---> Running in adf458cbee86 21:54:23 Removing intermediate container adf458cbee86 21:54:23 ---> 9e3730d6a41d 21:54:23 [Warning] One or more build-args [ARCH] were not consumed 21:54:23 Successfully built 9e3730d6a41d 21:54:23 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:23 21:54:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:23 latest: Pulling from edgex-lftools-log-publisher 21:54:23 5eb5b503b376: Pulling fs layer 21:54:23 5c69ac0246d0: Pulling fs layer 21:54:23 ec43610c2a17: Pulling fs layer 21:54:23 3a2ae6a8a46f: Pulling fs layer 21:54:23 33b1e0a273af: Pulling fs layer 21:54:23 5d3b04190fa2: Pulling fs layer 21:54:23 2f39f015ded8: Pulling fs layer 21:54:23 33b1e0a273af: Waiting 21:54:23 3a2ae6a8a46f: Waiting 21:54:23 5d3b04190fa2: Waiting 21:54:23 2f39f015ded8: Waiting 21:54:23 3a2ae6a8a46f: Download complete 21:54:23 33b1e0a273af: Verifying Checksum 21:54:23 33b1e0a273af: Download complete 21:54:23 5d3b04190fa2: Download complete 21:54:23 ec43610c2a17: Verifying Checksum 21:54:23 ec43610c2a17: Download complete 21:54:24 5eb5b503b376: Verifying Checksum 21:54:24 5eb5b503b376: Download complete 21:54:24 2f39f015ded8: Download complete 21:54:25 5eb5b503b376: Pull complete 21:54:25 5c69ac0246d0: Pull complete 21:54:25 ec43610c2a17: Pull complete 21:54:25 3a2ae6a8a46f: Pull complete 21:54:26 33b1e0a273af: Pull complete 21:54:26 5d3b04190fa2: Pull complete 21:54:30 2f39f015ded8: Pull complete 21:54:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:54:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:54:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:54:30 prd-ubuntu20.04-docker-8c-8g-789 does not seem to be running inside a container 21:54:30 $ 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-33 -v /w/workspace/xfoundry_app-record-replay_PR-33:/w/workspace/xfoundry_app-record-replay_PR-33:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-33@tmp:/w/workspace/xfoundry_app-record-replay_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:54:33 $ docker top d21b9c0a15038b34a62a773d85896d48395f0b296f27746ad41242291133d0fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:33 ---> job-cost.sh 21:54:33 lf-activate-venv: SKIPPING 21:54:33 INFO: No Stack... 21:54:34 INFO: Retrieving Pricing Info for: v3-standard-8 21:54:34 INFO: Archiving Costs [Pipeline] sh 21:54:34 + cat /w/workspace/xfoundry_app-record-replay_PR-33/archives/cost.csv 21:54:34 + cut -d, -f6 [Pipeline] lock 21:54:34 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-33-2-stack-cost] 21:54:34 Resource [jenkins-edgexfoundry-app-record-replay-PR-33-2-stack-cost] did not exist. Created. 21:54:34 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-33-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:54:34 + echo total: 0.2199999988079071 [Pipeline] stash 21:54:34 Stashed 1 file(s) [Pipeline] } 21:54:34 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-33-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:54:34 $ docker stop --time=1 d21b9c0a15038b34a62a773d85896d48395f0b296f27746ad41242291133d0fd 21:54:36 $ docker rm -f --volumes d21b9c0a15038b34a62a773d85896d48395f0b296f27746ad41242291133d0fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:54:42 provisioning config files... 21:54:42 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config13379178911803431880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:54:42 ---> docker-login.sh 21:54:42 nexus3.edgexfoundry.org:10001 21:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:43 Configure a credential helper to remove this warning. See 21:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:43 21:54:43 Login Succeeded 21:54:43 nexus3.edgexfoundry.org:10002 21:54:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:43 Configure a credential helper to remove this warning. See 21:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:43 21:54:43 Login Succeeded 21:54:43 nexus3.edgexfoundry.org:10003 21:54:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:44 Configure a credential helper to remove this warning. See 21:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:44 21:54:44 Login Succeeded 21:54:44 nexus3.edgexfoundry.org:10004 21:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:44 Configure a credential helper to remove this warning. See 21:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:44 21:54:44 Login Succeeded 21:54:44 docker.io 21:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:54:44 Configure a credential helper to remove this warning. See 21:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:54:44 21:54:44 Login Succeeded 21:54:44 ---> docker-login.sh ends [Pipeline] } 21:54:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:54:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:54:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:54:45 ========================================================= 21:54:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:54:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:45 + 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 . 21:54:45 Sending build context to Docker daemon 138.8kB 21:54:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:54:45 Step 2/12 : FROM ${BASE} AS builder 21:54:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:54:45 c41833b44d91: Pulling fs layer 21:54:45 ed15518f5707: Pulling fs layer 21:54:45 feae8fd75edb: Pulling fs layer 21:54:45 242c74f7c9fa: Pulling fs layer 21:54:45 3cdef696dda3: Pulling fs layer 21:54:45 2ced38df9373: Pulling fs layer 21:54:45 58f1dce35555: Pulling fs layer 21:54:45 242c74f7c9fa: Waiting 21:54:45 3cdef696dda3: Waiting 21:54:45 2ced38df9373: Waiting 21:54:45 58f1dce35555: Waiting 21:54:46 ed15518f5707: Verifying Checksum 21:54:46 ed15518f5707: Download complete 21:54:46 242c74f7c9fa: Verifying Checksum 21:54:46 242c74f7c9fa: Download complete 21:54:46 3cdef696dda3: Download complete 21:54:46 c41833b44d91: Verifying Checksum 21:54:46 c41833b44d91: Download complete 21:54:47 c41833b44d91: Pull complete 21:54:47 58f1dce35555: Verifying Checksum 21:54:47 58f1dce35555: Download complete 21:54:47 ed15518f5707: Pull complete 21:54:48 feae8fd75edb: Verifying Checksum 21:54:48 feae8fd75edb: Download complete 21:54:48 2ced38df9373: Verifying Checksum 21:54:48 2ced38df9373: Download complete 21:55:00 feae8fd75edb: Pull complete 21:55:00 242c74f7c9fa: Pull complete 21:55:00 3cdef696dda3: Pull complete 21:55:06 2ced38df9373: Pull complete 21:55:08 58f1dce35555: Pull complete 21:55:08 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:55:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:55:08 ---> fadd8f120f05 21:55:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:55:10 ---> Running in ab95151f1396 21:55:10 Removing intermediate container ab95151f1396 21:55:10 ---> fc479f5aa17c 21:55:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:55:10 ---> Running in 1027f06e2458 21:55:11 Removing intermediate container 1027f06e2458 21:55:11 ---> 73c2db98de0a 21:55:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:55:11 ---> Running in 60f580e41c77 21:55:11 Removing intermediate container 60f580e41c77 21:55:11 ---> ec37df3de48a 21:55:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:55:11 ---> Running in 4da93ad5ee8a 21:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:55:13 OK: 263 MiB in 53 packages 21:55:14 Removing intermediate container 4da93ad5ee8a 21:55:14 ---> 88512a8f7986 21:55:14 Step 7/12 : WORKDIR /app 21:55:14 ---> Running in 14d9767f465d 21:55:15 Removing intermediate container 14d9767f465d 21:55:15 ---> 0173c0893134 21:55:15 Step 8/12 : COPY go.mod vendor* ./ 21:55:17 ---> a559fc512c67 21:55:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:55:17 ---> Running in 6c88853e2cd9 21:56:25 Removing intermediate container 6c88853e2cd9 21:56:25 ---> 405552b84433 21:56:25 Step 10/12 : COPY . . 21:56:25 ---> b57f932acdbc 21:56:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:56:25 ---> Running in 09a52f7bd828 21:56:25 Removing intermediate container 09a52f7bd828 21:56:25 ---> 5f257a626173 21:56:25 Step 12/12 : RUN $MAKE 21:56:25 ---> Running in 537bbdcfe5bd 21:56:25 noop 21:56:25 Removing intermediate container 537bbdcfe5bd 21:56:25 ---> 0d0f83171b1b 21:56:25 Successfully built 0d0f83171b1b 21:56:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:25 + docker inspect -f . ci-base-image-arm64 21:56:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:26 prd-ubuntu20.04-docker-arm64-4c-16g-790 does not seem to be running inside a container 21:56:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:56:27 $ docker top 4708f1de12ef14902ca78ca71ed06f056d131473f1f664279a5c41db8848294c -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:28 + go version 21:56:28 go version go1.20.2 linux/arm64 [Pipeline] } 21:56:28 $ docker stop --time=1 4708f1de12ef14902ca78ca71ed06f056d131473f1f664279a5c41db8848294c 21:56:29 $ docker rm -f --volumes 4708f1de12ef14902ca78ca71ed06f056d131473f1f664279a5c41db8848294c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:30 + docker inspect -f . ci-base-image-arm64 21:56:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:30 prd-ubuntu20.04-docker-arm64-4c-16g-790 does not seem to be running inside a container 21:56:30 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:56:31 $ docker top 4f35b41e919091e482986d3ad5f1b49bd2dd556b29569f24bdf7ea34911632c0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:56:32 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 21:56:32 + make test 21:56:32 go test -race -coverprofile=coverage.out ./... 21:59:09 ? github.com/edgexfoundry/app-record-replay [no test files] 21:59:09 ok github.com/edgexfoundry/app-record-replay/internal/app 0.223s coverage: 76.9% of statements 21:59:09 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.292s coverage: 85.4% of statements 21:59:09 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:59:09 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:59:09 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:59:09 ok github.com/edgexfoundry/app-record-replay/internal/data 0.196s coverage: 27.3% of statements 21:59:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:59:10 go vet ./... 22:01:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:01:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:01:17 ./bin/test-attribution-txt.sh [Pipeline] echo 22:01:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:01:17 $ docker stop --time=1 4f35b41e919091e482986d3ad5f1b49bd2dd556b29569f24bdf7ea34911632c0 22:01:19 $ docker rm -f --volumes 4f35b41e919091e482986d3ad5f1b49bd2dd556b29569f24bdf7ea34911632c0 [Pipeline] // withDockerContainer [Pipeline] sh 22:01:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:01:20 Warning: overwriting stash ‘coverage-report’ 22:01:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:01:21 + ls -al . 22:01:21 total 148 22:01:21 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 21:56 . 22:01:21 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 21:54 .. 22:01:21 -rw-rw-r-- 1 jenkins jenkins 119 Jul 10 21:54 .dockerignore 22:01:21 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 21:54 .git 22:01:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:54 .github 22:01:21 -rw-rw-r-- 1 jenkins jenkins 164 Jul 10 21:54 .gitignore 22:01:21 -rw-rw-r-- 1 jenkins jenkins 41 Jul 10 21:54 .golangci.yml 22:01:21 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 10 21:54 Attribution.txt 22:01:21 -rw-rw-r-- 1 jenkins jenkins 258 Jul 10 21:54 CHANGELOG.md 22:01:21 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 10 21:54 Dockerfile 22:01:21 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 21:54 GOVERNANCE.md 22:01:21 -rw-rw-r-- 1 jenkins jenkins 681 Jul 10 21:54 Jenkinsfile 22:01:21 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 10 21:54 LICENSE 22:01:21 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 10 21:54 Makefile 22:01:21 -rw-rw-r-- 1 jenkins jenkins 611 Jul 10 21:54 OWNERS.md 22:01:21 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 10 21:54 README.md 22:01:21 -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 21:52 VERSION 22:01:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:54 bin 22:01:21 -rw-r--r-- 1 jenkins jenkins 4850 Jul 10 21:59 coverage.out 22:01:21 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 10 21:54 go.mod 22:01:21 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 10 21:54 go.sum 22:01:21 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 21:54 internal 22:01:21 -rw-rw-r-- 1 jenkins jenkins 913 Jul 10 21:54 main.go 22:01:21 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 21:54 pkg 22:01:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 21:54 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:21 + 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=338726e77e8f48919c2c837c674a8f9d91fe32a7 --label arch=arm64 --label version=0.0.0 . 22:01:21 Sending build context to Docker daemon 144.4kB 22:01:22 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:01:22 Step 2/26 : FROM ${BASE} AS builder 22:01:22 ---> 0d0f83171b1b 22:01:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:01:22 ---> Running in 36f0431fbb25 22:01:22 Removing intermediate container 36f0431fbb25 22:01:22 ---> 4a506393fe84 22:01:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:01:22 ---> Running in 5013f697fc13 22:01:23 Removing intermediate container 5013f697fc13 22:01:23 ---> 88ff13f7dba2 22:01:23 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:01:23 ---> Running in 1134b234f6f0 22:01:23 Removing intermediate container 1134b234f6f0 22:01:23 ---> b5900f0a65b6 22:01:23 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:01:23 ---> Running in ded46d3168d7 22:01:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:01:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:01:25 OK: 263 MiB in 53 packages 22:01:26 Removing intermediate container ded46d3168d7 22:01:26 ---> c565abb5c16d 22:01:26 Step 7/26 : WORKDIR /app 22:01:26 ---> Running in d97f4c5efbc0 22:01:27 Removing intermediate container d97f4c5efbc0 22:01:27 ---> a87aee605ee3 22:01:27 Step 8/26 : COPY go.mod vendor* ./ 22:01:27 ---> bc589afee43f 22:01:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:01:27 ---> Running in a9a19d96472b 22:01:30 Removing intermediate container a9a19d96472b 22:01:30 ---> 1836c8e1b3e7 22:01:30 Step 10/26 : COPY . . 22:01:30 ---> 6e500e0f81a4 22:01:30 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:01:30 ---> Running in 549564594acc 22:01:30 Removing intermediate container 549564594acc 22:01:30 ---> a52fd5701660 22:01:30 Step 12/26 : RUN $MAKE 22:01:30 ---> Running in 9154fea3f0c3 22:01:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:03:38 Removing intermediate container 9154fea3f0c3 22:03:38 ---> f1a0d6190daf 22:03:38 Step 13/26 : FROM alpine:3.17 22:03:38 3.17: Pulling from library/alpine 22:03:38 edb6bdbacee9: Pulling fs layer 22:03:38 edb6bdbacee9: Verifying Checksum 22:03:38 edb6bdbacee9: Download complete 22:03:38 edb6bdbacee9: Pull complete 22:03:38 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 22:03:38 Status: Downloaded newer image for alpine:3.17 22:03:38 ---> 779605e5fbc0 22:03:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:03:38 ---> Running in a59d4e9f9420 22:03:38 Removing intermediate container a59d4e9f9420 22:03:38 ---> b0a67e1a3fd3 22:03:38 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 22:03:38 ---> Running in 1b677f5cd2c7 22:03:38 Removing intermediate container 1b677f5cd2c7 22:03:38 ---> 9513640ba73a 22:03:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:03:38 ---> Running in c142ee917cd3 22:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:03:38 (1/2) Installing ca-certificates (20230506-r0) 22:03:38 (2/2) Installing dumb-init (1.2.5-r2) 22:03:38 Executing busybox-1.35.0-r29.trigger 22:03:38 Executing ca-certificates-20230506-r0.trigger 22:03:38 OK: 8 MiB in 17 packages 22:03:38 Removing intermediate container c142ee917cd3 22:03:38 ---> 697700a3e6b7 22:03:38 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:03:38 ---> 0ca158c5d4d9 22:03:38 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:03:38 ---> 65d82201e554 22:03:38 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:03:38 ---> 9fa974ada354 22:03:38 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:03:38 ---> 5f9cf33b759b 22:03:38 Step 21/26 : EXPOSE 59712 22:03:38 ---> Running in c9ef03a39683 22:03:38 Removing intermediate container c9ef03a39683 22:03:38 ---> b7e54ce75e79 22:03:38 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:03:38 ---> Running in fc659ba87794 22:03:38 Removing intermediate container fc659ba87794 22:03:38 ---> 82d0a3dbcaea 22:03:38 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:03:39 ---> Running in 02ad8fd192f5 22:03:39 Removing intermediate container 02ad8fd192f5 22:03:39 ---> 5d5d98a8c925 22:03:39 Step 24/26 : LABEL arch=arm64 22:03:39 ---> Running in 12ab994a15a0 22:03:39 Removing intermediate container 12ab994a15a0 22:03:39 ---> cb11f63c1348 22:03:39 Step 25/26 : LABEL git_sha=338726e77e8f48919c2c837c674a8f9d91fe32a7 22:03:39 ---> Running in c374504c8590 22:03:39 Removing intermediate container c374504c8590 22:03:39 ---> 4dbe5f20755a 22:03:39 Step 26/26 : LABEL version=0.0.0 22:03:39 ---> Running in 657c4ab29c38 22:03:40 Removing intermediate container 657c4ab29c38 22:03:40 ---> 2e47069b69dd 22:03:40 [Warning] One or more build-args [ARCH] were not consumed 22:03:40 Successfully built 2e47069b69dd 22:03:40 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 22:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:03:40 22:03:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:03:41 arm64: Pulling from edgex-lftools-log-publisher 22:03:41 8998bd30e6a1: Pulling fs layer 22:03:41 04944245beec: Pulling fs layer 22:03:41 699f458cf7ca: Pulling fs layer 22:03:41 765212b225bb: Pulling fs layer 22:03:41 f23df028b6ca: Pulling fs layer 22:03:41 d65c8cfc05b1: Pulling fs layer 22:03:41 2437ff75d9bd: Pulling fs layer 22:03:41 765212b225bb: Waiting 22:03:41 f23df028b6ca: Waiting 22:03:41 d65c8cfc05b1: Waiting 22:03:41 2437ff75d9bd: Waiting 22:03:41 04944245beec: Verifying Checksum 22:03:41 04944245beec: Download complete 22:03:41 765212b225bb: Verifying Checksum 22:03:41 765212b225bb: Download complete 22:03:41 f23df028b6ca: Download complete 22:03:41 d65c8cfc05b1: Verifying Checksum 22:03:41 d65c8cfc05b1: Download complete 22:03:41 699f458cf7ca: Verifying Checksum 22:03:41 699f458cf7ca: Download complete 22:03:41 8998bd30e6a1: Verifying Checksum 22:03:41 8998bd30e6a1: Download complete 22:03:43 2437ff75d9bd: Verifying Checksum 22:03:43 2437ff75d9bd: Download complete 22:03:45 8998bd30e6a1: Pull complete 22:03:48 04944245beec: Pull complete 22:03:49 699f458cf7ca: Pull complete 22:03:49 765212b225bb: Pull complete 22:03:50 f23df028b6ca: Pull complete 22:03:50 d65c8cfc05b1: Pull complete 22:04:05 2437ff75d9bd: Pull complete 22:04:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:04:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:04:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:06 prd-ubuntu20.04-docker-arm64-4c-16g-790 does not seem to be running inside a container 22:04:06 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:04:08 $ docker top 4f1ebfd97a153d130e722455f49dff513414ee54fb3a691a9372084bf2a01cdb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:04:09 ---> job-cost.sh 22:04:09 lf-activate-venv: SKIPPING 22:04:09 INFO: No Stack... 22:04:09 INFO: Retrieving Pricing Info for: v3-standard-4 22:04:10 INFO: Archiving Costs [Pipeline] sh 22:04:10 + cat /w/workspace/app-record-replay/2/archives/cost.csv 22:04:10 + cut -d, -f6 [Pipeline] lock 22:04:11 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-33-2-stack-cost] 22:04:11 Resource [jenkins-edgexfoundry-app-record-replay-PR-33-2-stack-cost] did not exist. Created. 22:04:11 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-33-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:04:11 /w/workspace/app-record-replay/2@tmp/durable-769d7087/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:04:11 + echo total: 0.10999999940395355 [Pipeline] stash 22:04:11 Warning: overwriting stash ‘stack-cost’ 22:04:11 Stashed 1 file(s) [Pipeline] } 22:04:11 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-33-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:04:11 $ docker stop --time=1 4f1ebfd97a153d130e722455f49dff513414ee54fb3a691a9372084bf2a01cdb 22:04:16 $ docker rm -f --volumes 4f1ebfd97a153d130e722455f49dff513414ee54fb3a691a9372084bf2a01cdb [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 22:04:17 provisioning config files... 22:04:17 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-33 #2 22:04:17 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-33@tmp/config3907246596773674814tmp [Pipeline] { [Pipeline] sh 22:04:17 + set +x 22:04:17 + curl -s https://codecov.io/bash 22:04:17 + bash -s -- 22:04:17 22:04:17 _____ _ 22:04:17 / ____| | | 22:04:17 | | ___ __| | ___ ___ _____ __ 22:04:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:04:17 | |___| (_) | (_| | __/ (_| (_) \ V / 22:04:17 \_____\___/ \__,_|\___|\___\___/ \_/ 22:04:17 Bash-1.0.6 22:04:17 22:04:17 22:04:17 ==> git version 2.25.1 found 22:04:17 ==> 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 22:04:17 Release-Date: 2020-01-08 22:04:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:04:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:04:17 ==> Jenkins CI detected. 22:04:17 current dir:  /w/workspace/xfoundry_app-record-replay_PR-33 22:04:17 project root: . 22:04:17 --> token set from env 22:04:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:04:17 ==> Running gcov in . (disable via -X gcov) 22:04:17 ==> Python coveragepy not found 22:04:17 ==> Searching for coverage reports in: 22:04:17 + . 22:04:17 -> Found 1 reports 22:04:17 ==> Detecting git/mercurial file structure 22:04:17 ==> Reading reports 22:04:17 + ./coverage.out bytes=4850 22:04:17 ==> Appending adjustments 22:04:17 https://docs.codecov.io/docs/fixing-reports 22:04:17 + Found adjustments 22:04:17 ==> Gzipping contents 22:04:17 4.0K /tmp/codecov.M0GUvB.gz 22:04:17 ==> Uploading reports 22:04:17 url: https://codecov.io 22:04:17 query: branch=PR-33&commit=338726e77e8f48919c2c837c674a8f9d91fe32a7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-33%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=33&job=&cmd_args= 22:04:17 -> Pinging Codecov 22:04:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-33&commit=338726e77e8f48919c2c837c674a8f9d91fe32a7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-33%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=33&job=&cmd_args= 22:04:17 Invalid request parameters 22:04:17 400 [Pipeline] } 22:04:17 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 22:04:18 + [ -d /w/workspace/xfoundry_app-record-replay_PR-33/archives ] 22:04:18 + ls -al /w/workspace/xfoundry_app-record-replay_PR-33/archives 22:04:18 total 16 22:04:18 drwxr-xr-x 3 root root 4096 Jul 10 21:54 . 22:04:18 drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 21:54 .. 22:04:18 drwxr-xr-x 2 root root 4096 Jul 10 21:54 cost 22:04:18 -rw-r--r-- 1 root root 88 Jul 10 21:54 cost.csv 22:04:18 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-33/archives 22:04:18 + ls -al /w/workspace/xfoundry_app-record-replay_PR-33/archives 22:04:18 total 16 22:04:18 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 21:54 . 22:04:18 drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 21:54 .. 22:04:18 drwxr-xr-x 2 jenkins jenkins 4096 Jul 10 21:54 cost 22:04:18 -rw-r--r-- 1 jenkins jenkins 88 Jul 10 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:04:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:04:19 ---> package-listing.sh 22:04:19 ++ facter osfamily 22:04:19 ++ tr '[:upper:]' '[:lower:]' 22:04:19 + OS_FAMILY=debian 22:04:19 + workspace=/w/workspace/xfoundry_app-record-replay_PR-33 22:04:19 + START_PACKAGES=/tmp/packages_start.txt 22:04:19 + END_PACKAGES=/tmp/packages_end.txt 22:04:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:04:19 + PACKAGES=/tmp/packages_start.txt 22:04:19 + '[' /w/workspace/xfoundry_app-record-replay_PR-33 ']' 22:04:19 + PACKAGES=/tmp/packages_end.txt 22:04:19 + case "${OS_FAMILY}" in 22:04:19 + dpkg -l 22:04:19 + grep '^ii' 22:04:19 + '[' -f /tmp/packages_start.txt ']' 22:04:19 + '[' -f /tmp/packages_end.txt ']' 22:04:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:04:19 + '[' /w/workspace/xfoundry_app-record-replay_PR-33 ']' 22:04:19 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-33/archives/ 22:04:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-33/archives/ [Pipeline] echo 22:04:19 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-33/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:04:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:20 prd-ubuntu20.04-docker-8c-8g-789 does not seem to be running inside a container 22:04:20 $ 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-33/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-33 -v /w/workspace/xfoundry_app-record-replay_PR-33:/w/workspace/xfoundry_app-record-replay_PR-33:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-33@tmp:/w/workspace/xfoundry_app-record-replay_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:04:20 $ docker top 246a6bbbff541fb43f74a4c564f6f98a7e3e22432f3a263066f7a186ee771e3c -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:21 + touch /tmp/pre-build-complete [Pipeline] sh 22:04:21 + mkdir -p /var/log/sysstat [Pipeline] sh 22:04:21 + ls /var/log/sa-host 22:04:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:04:22 provisioning config files... 22:04:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-33@tmp/config3788393048324751005tmp [Pipeline] { [Pipeline] echo 22:04:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:04:22 ---> create-netrc.sh [Pipeline] } 22:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:04:22 ---> python-tools-install.sh [Pipeline] echo 22:04:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:04:22 ---> sudo-logs.sh 22:04:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:04:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:04:23 ---> job-cost.sh 22:04:23 lf-activate-venv: SKIPPING 22:04:23 DEBUG: total: 0.2199999988079071 22:04:23 INFO: Retrieving Stack Cost... 22:04:23 INFO: Retrieving Pricing Info for: v3-standard-8 22:04:24 INFO: Archiving Costs [Pipeline] echo 22:04:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:04:24 ---> logs-deploy.sh 22:04:24 lf-activate-venv: SKIPPING 22:04:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-33/2 22:04:24 INFO: archiving workspace using pattern(s): 22:04:25 Archives upload complete. 22:04:25 INFO: archiving logs to Nexus