Pull request #56 updated Pull request #56 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 marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at 53d214d660c211fabaeb1f0df01625a9dcc42235 rather than 96973b2378f9610ecf731d335722e6aba87b8b43 Obtained Jenkinsfile from 53d214d660c211fabaeb1f0df01625a9dcc42235 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-ssh9273111615166676709.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-ssh9901599437349179511.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-56/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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13844920045586237378.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-ssh8597932853060873578.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-56/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-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8404375671686112196.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-2919’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2921 in /w/workspace/xfoundry_app-record-replay_PR-56 [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-56 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit 96973b2378f9610ecf731d335722e6aba87b8b43 Merge succeeded, producing 96973b2378f9610ecf731d335722e6aba87b8b43 Checking out Revision 96973b2378f9610ecf731d335722e6aba87b8b43 (PR-56) > git config core.sparsecheckout # timeout=10 > git checkout -f 96973b2378f9610ecf731d335722e6aba87b8b43 # 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 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96973b2378f9610ecf731d335722e6aba87b8b43 # timeout=10 Commit message: "feat: Implement Upload (Import) Endpoint" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc # timeout=10 [Pipeline] timeout 22:21:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:21:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:21:18 ========================================================= 22:21:18 EdgeX Global Pipelines Version Info 22:21:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:21:19 ------------------- 22:21:19 stable info: 22:21:19 ------------------- 22:21:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:21:19 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:21:19 Message: update stable to v1.0.250 22:21:20 ------------------- 22:21:20 experimental info: 22:21:20 ------------------- 22:21:20 Commited By: **** collab-it+edgex@linuxfoundation.org 22:21:20 Commit SHA: 163b961b6db2076ae8f48a223fc443a7a2a2eae3 22:21:20 Message: update experimental to v1.0.251 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96973b2378f9610ecf731d335722e6aba87b8b43 [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96973b2 [Pipeline] echo 22:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:20 provisioning config files... 22:21:20 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config3285115437148966817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:21 ---> docker-login.sh 22:21:21 nexus3.edgexfoundry.org:10001 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 nexus3.edgexfoundry.org:10002 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 nexus3.edgexfoundry.org:10003 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 nexus3.edgexfoundry.org:10004 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 docker.io 22:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:21 Configure a credential helper to remove this warning. See 22:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:21 22:21:21 Login Succeeded 22:21:21 ---> docker-login.sh ends [Pipeline] } 22:21:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:21:22 + git rev-list -1 --merges 96973b2378f9610ecf731d335722e6aba87b8b43~1..96973b2378f9610ecf731d335722e6aba87b8b43 [Pipeline] echo 22:21:22 -----------> git rev-list -1 --merges 96973b2378f9610ecf731d335722e6aba87b8b43~1..96973b2378f9610ecf731d335722e6aba87b8b43 96973b2378f9610ecf731d335722e6aba87b8b43 [false] [Pipeline] sh 22:21:22 + git log --format=format:%s -1 96973b2378f9610ecf731d335722e6aba87b8b43 [Pipeline] echo 22:21:22 ========================================================= 22:21:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:21:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:22 + git log --format=format:%s -1 96973b2378f9610ecf731d335722e6aba87b8b43 [Pipeline] echo 22:21:22 [semverPrep] GIT_COMMIT: 96973b2378f9610ecf731d335722e6aba87b8b43, Commit Message: feat: Implement Upload (Import) Endpoint [Pipeline] echo 22:21:22 [semverPrep] This is not a build commit. [Pipeline] sh 22:21:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:21:23 + grep -v github /etc/ssh/ssh_known_hosts 22:21:23 + [ -e /tmp/ssh_known_hosts ] 22:21:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:21:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:21:23 + sudo tee -a /etc/ssh/ssh_known_hosts 22:21:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:23 22:21:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:23 0.1.4: Pulling from edgex-devops/py-git-semver 22:21:23 b85a868b505f: Pulling fs layer 22:21:23 e2be974225ed: Pulling fs layer 22:21:23 339a4e72a1f5: Pulling fs layer 22:21:23 988bab9f4d93: Pulling fs layer 22:21:23 1469e6f7b9e6: Pulling fs layer 22:21:23 eaf3925da568: Pulling fs layer 22:21:23 bab4dde63d76: Pulling fs layer 22:21:23 bde34c3a00c8: Pulling fs layer 22:21:23 b352a97aabf1: Pulling fs layer 22:21:23 4872d77fe225: Pulling fs layer 22:21:23 5851b861e8e6: Pulling fs layer 22:21:23 1469e6f7b9e6: Waiting 22:21:23 988bab9f4d93: Waiting 22:21:23 4872d77fe225: Waiting 22:21:23 bde34c3a00c8: Waiting 22:21:23 5851b861e8e6: Waiting 22:21:23 bab4dde63d76: Waiting 22:21:23 b352a97aabf1: Waiting 22:21:23 e2be974225ed: Download complete 22:21:23 988bab9f4d93: Download complete 22:21:23 339a4e72a1f5: Verifying Checksum 22:21:23 339a4e72a1f5: Download complete 22:21:23 1469e6f7b9e6: Verifying Checksum 22:21:23 1469e6f7b9e6: Download complete 22:21:23 eaf3925da568: Verifying Checksum 22:21:23 eaf3925da568: Download complete 22:21:24 bde34c3a00c8: Download complete 22:21:24 b352a97aabf1: Verifying Checksum 22:21:24 b352a97aabf1: Download complete 22:21:24 4872d77fe225: Verifying Checksum 22:21:24 4872d77fe225: Download complete 22:21:24 5851b861e8e6: Download complete 22:21:24 b85a868b505f: Verifying Checksum 22:21:24 b85a868b505f: Download complete 22:21:24 bab4dde63d76: Verifying Checksum 22:21:24 bab4dde63d76: Download complete 22:21:25 b85a868b505f: Pull complete 22:21:25 e2be974225ed: Pull complete 22:21:25 339a4e72a1f5: Pull complete 22:21:25 988bab9f4d93: Pull complete 22:21:26 1469e6f7b9e6: Pull complete 22:21:26 eaf3925da568: Pull complete 22:21:28 bab4dde63d76: Pull complete 22:21:28 bde34c3a00c8: Pull complete 22:21:28 b352a97aabf1: Pull complete 22:21:28 4872d77fe225: Pull complete 22:21:28 5851b861e8e6: Pull complete 22:21:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:21:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:28 prd-ubuntu20.04-docker-8c-8g-2921 does not seem to be running inside a container 22:21:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:21:30 $ docker top 53273e5b2a2aafa5c370dcf058937ce05ef88d8eb3bd8208049c83cf72ac2ea5 -eo pid,comm 22:21:30 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). 22:21:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:21:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:30 [ssh-agent] Looking for ssh-agent implementation... 22:21:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:30 $ docker exec 53273e5b2a2aafa5c370dcf058937ce05ef88d8eb3bd8208049c83cf72ac2ea5 ssh-agent 22:21:30 SSH_AUTH_SOCK=/tmp/ssh-y16FSR0dM6OY/agent.31 22:21:30 SSH_AGENT_PID=37 22:21:30 Running ssh-add (command line suppressed) 22:21:30 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_9815246333729622859.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_9815246333729622859.key) 22:21:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:31 + git tag --points-at HEAD [Pipeline] } 22:21:31 $ docker exec --env ******** --env ******** 53273e5b2a2aafa5c370dcf058937ce05ef88d8eb3bd8208049c83cf72ac2ea5 ssh-agent -k 22:21:31 unset SSH_AUTH_SOCK; 22:21:31 unset SSH_AGENT_PID; 22:21:31 echo Agent pid 37 killed; 22:21:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:21:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:21:31 [ssh-agent] Looking for ssh-agent implementation... 22:21:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:21:31 $ docker exec 53273e5b2a2aafa5c370dcf058937ce05ef88d8eb3bd8208049c83cf72ac2ea5 ssh-agent 22:21:31 SSH_AUTH_SOCK=/tmp/ssh-PsmoA3B9UCjk/agent.69 22:21:31 SSH_AGENT_PID=75 22:21:31 Running ssh-add (command line suppressed) 22:21:31 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_5747790829527451812.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_5747790829527451812.key) 22:21:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:21:32 + git semver init 22:21:32 2023-08-04 22:21:32,210 [run_init] DEBUG init version:0.0.0 force:False 22:21:32 2023-08-04 22:21:32,210 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-56/.semver 22:21:32 2023-08-04 22:21:32,211 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-56/.semver 22:21:32 2023-08-04 22:21:32,211 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-56/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56, universal_newlines=False, shell=None, istream=None) 22:21:33 2023-08-04 22:21:32,919 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-56/.git/info/exclude 22:21:33 2023-08-04 22:21:32,920 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 with force:False 22:21:33 2023-08-04 22:21:32,920 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 22:21:33 2023-08-04 22:21:32,924 [execute] INFO git cat-file --batch-check 22:21:33 2023-08-04 22:21:32,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 22:21:33 2023-08-04 22:21:32,931 [execute] INFO git cat-file --batch 22:21:33 2023-08-04 22:21:32,932 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 22:21:33 2023-08-04 22:21:32,938 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 22:21:33 0.0.0 [Pipeline] } 22:21:33 $ docker exec --env ******** --env ******** 53273e5b2a2aafa5c370dcf058937ce05ef88d8eb3bd8208049c83cf72ac2ea5 ssh-agent -k 22:21:33 unset SSH_AUTH_SOCK; 22:21:33 unset SSH_AGENT_PID; 22:21:33 echo Agent pid 75 killed; 22:21:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:21:33 + git semver [Pipeline] } 22:21:33 $ docker stop --time=1 53273e5b2a2aafa5c370dcf058937ce05ef88d8eb3bd8208049c83cf72ac2ea5 22:21:35 $ docker rm -f --volumes 53273e5b2a2aafa5c370dcf058937ce05ef88d8eb3bd8208049c83cf72ac2ea5 [Pipeline] // withDockerContainer [Pipeline] sh 22:21:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:21:35 Stashed 1 file(s) [Pipeline] echo 22:21:35 [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 22:21:35 provisioning config files... 22:21:35 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config5750212996351581720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:36 ---> docker-login.sh 22:21:36 nexus3.edgexfoundry.org:10001 22:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:36 Configure a credential helper to remove this warning. See 22:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:36 22:21:36 Login Succeeded 22:21:36 nexus3.edgexfoundry.org:10002 22:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:36 Configure a credential helper to remove this warning. See 22:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:36 22:21:36 Login Succeeded 22:21:36 nexus3.edgexfoundry.org:10003 22:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:36 Configure a credential helper to remove this warning. See 22:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:36 22:21:36 Login Succeeded 22:21:36 nexus3.edgexfoundry.org:10004 22:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:36 Configure a credential helper to remove this warning. See 22:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:36 22:21:36 Login Succeeded 22:21:36 docker.io 22:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:21:36 Configure a credential helper to remove this warning. See 22:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:21:36 22:21:36 Login Succeeded 22:21:36 ---> docker-login.sh ends [Pipeline] } 22:21:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:21:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:21:36 ========================================================= 22:21:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:21:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:37 + 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 . 22:21:37 Sending build context to Docker daemon 441.9kB 22:21:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:21:37 Step 2/12 : FROM ${BASE} AS builder 22:21:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:21:37 4db1b89c0bd1: Pulling fs layer 22:21:37 6911f1a30b25: Pulling fs layer 22:21:37 e194b8c5c2a9: Pulling fs layer 22:21:37 6863d3e3a2b1: Pulling fs layer 22:21:37 ec0bb842ea78: Pulling fs layer 22:21:37 40a00589a448: Pulling fs layer 22:21:37 6c08303d61cc: Pulling fs layer 22:21:37 798269fcf238: Pulling fs layer 22:21:37 ec0bb842ea78: Waiting 22:21:37 6863d3e3a2b1: Waiting 22:21:37 6c08303d61cc: Waiting 22:21:37 798269fcf238: Waiting 22:21:37 40a00589a448: Waiting 22:21:37 6911f1a30b25: Verifying Checksum 22:21:37 6911f1a30b25: Download complete 22:21:37 6863d3e3a2b1: Verifying Checksum 22:21:37 6863d3e3a2b1: Download complete 22:21:37 ec0bb842ea78: Verifying Checksum 22:21:37 ec0bb842ea78: Download complete 22:21:37 4db1b89c0bd1: Download complete 22:21:37 40a00589a448: Verifying Checksum 22:21:37 40a00589a448: Download complete 22:21:37 4db1b89c0bd1: Pull complete 22:21:37 6911f1a30b25: Pull complete 22:21:37 798269fcf238: Download complete 22:21:37 e194b8c5c2a9: Verifying Checksum 22:21:37 e194b8c5c2a9: Download complete 22:21:38 6c08303d61cc: Verifying Checksum 22:21:38 6c08303d61cc: Download complete 22:21:41 e194b8c5c2a9: Pull complete 22:21:41 6863d3e3a2b1: Pull complete 22:21:41 ec0bb842ea78: Pull complete 22:21:41 40a00589a448: Pull complete 22:21:43 6c08303d61cc: Pull complete 22:21:44 798269fcf238: Pull complete 22:21:44 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 22:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:21:44 ---> ec979cd7f677 22:21:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:21:47 ---> Running in 2aedb5359ab8 22:21:47 Removing intermediate container 2aedb5359ab8 22:21:47 ---> 23d4c21efb4c 22:21:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:21:47 ---> Running in 9d3189ebf5c2 22:21:47 Removing intermediate container 9d3189ebf5c2 22:21:47 ---> 00de935bb17b 22:21:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:21:47 ---> Running in dc5884de30f4 22:21:47 Removing intermediate container dc5884de30f4 22:21:47 ---> 4131735d4a9b 22:21:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:47 ---> Running in 11c0b08bcd5f 22:21:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:21:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:21:48 OK: 265 MiB in 53 packages 22:21:48 Removing intermediate container 11c0b08bcd5f 22:21:48 ---> 7e58d9282911 22:21:48 Step 7/12 : WORKDIR /app 22:21:48 ---> Running in ab8777c9973a 22:21:48 Removing intermediate container ab8777c9973a 22:21:48 ---> c9fb7acc6ab0 22:21:48 Step 8/12 : COPY go.mod vendor* ./ 22:21:49 ---> 4978b3c9ebcb 22:21:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:21:49 ---> Running in 7c4011c30a5f 22:21:50 Still waiting to schedule task 22:21:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2920’ is offline 22:22:21 Removing intermediate container 7c4011c30a5f 22:22:21 ---> 2f458a512c4b 22:22:21 Step 10/12 : COPY . . 22:22:21 ---> de3453a7f11a 22:22:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:22:21 ---> Running in 4ec017f2e281 22:22:21 Removing intermediate container 4ec017f2e281 22:22:21 ---> 0801badd2a48 22:22:21 Step 12/12 : RUN $MAKE 22:22:21 ---> Running in 5825a02a0ebb 22:22:21 noop 22:22:21 Removing intermediate container 5825a02a0ebb 22:22:21 ---> 38947da68dd7 22:22:21 Successfully built 38947da68dd7 22:22:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:21 + docker inspect -f . ci-base-image-x86_64 22:22:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:21 prd-ubuntu20.04-docker-8c-8g-2921 does not seem to be running inside a container 22:22:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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-x86_64 cat 22:22:21 $ docker top 402e4fa2a282f76a777a13118537be94f964405984132b6f995fc3c6c620df77 -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:22 + go version 22:22:22 go version go1.20.6 linux/amd64 [Pipeline] } 22:22:22 $ docker stop --time=1 402e4fa2a282f76a777a13118537be94f964405984132b6f995fc3c6c620df77 22:22:23 $ docker rm -f --volumes 402e4fa2a282f76a777a13118537be94f964405984132b6f995fc3c6c620df77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:23 + docker inspect -f . ci-base-image-x86_64 22:22:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:24 prd-ubuntu20.04-docker-8c-8g-2921 does not seem to be running inside a container 22:22:24 $ 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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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-x86_64 cat 22:22:24 $ docker top e07aa1301fc146fe87eda4a40473b977525cd55c9100c543bd2dd3024b3de34f -eo pid,comm [Pipeline] { [Pipeline] sh 22:22:24 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] fileExists [Pipeline] sh 22:22:25 + make test 22:22:25 go test -race -coverprofile=coverage.out ./... 22:22:43 ? github.com/edgexfoundry/app-record-replay [no test files] 22:22:43 ok github.com/edgexfoundry/app-record-replay/internal/app 0.086s coverage: 88.0% of statements 22:22:43 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:22:43 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:22:43 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:22:53 ok github.com/edgexfoundry/app-record-replay/internal/application 8.598s coverage: 97.5% of statements 22:22:53 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.091s coverage: 79.8% of statements 22:23:11 go vet ./... 22:23:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:23:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:23:14 ./bin/test-attribution-txt.sh [Pipeline] echo 22:23:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:23:14 $ docker stop --time=1 e07aa1301fc146fe87eda4a40473b977525cd55c9100c543bd2dd3024b3de34f 22:23:18 $ docker rm -f --volumes e07aa1301fc146fe87eda4a40473b977525cd55c9100c543bd2dd3024b3de34f [Pipeline] // withDockerContainer [Pipeline] sh 22:23:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:23:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:23:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:23:19 + ls -al . 22:23:19 total 176 22:23:19 drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 22:22 . 22:23:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 22:21 .. 22:23:19 -rw-rw-r-- 1 jenkins jenkins 119 Aug 4 22:21 .dockerignore 22:23:19 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 22:21 .git 22:23:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 22:21 .github 22:23:19 -rw-rw-r-- 1 jenkins jenkins 164 Aug 4 22:21 .gitignore 22:23:19 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 22:21 .golangci.yml 22:23:19 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 22:21 .semver 22:23:19 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 4 22:21 Attribution.txt 22:23:19 -rw-rw-r-- 1 jenkins jenkins 258 Aug 4 22:21 CHANGELOG.md 22:23:19 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 4 22:21 Dockerfile 22:23:19 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 22:21 GOVERNANCE.md 22:23:19 -rw-rw-r-- 1 jenkins jenkins 681 Aug 4 22:21 Jenkinsfile 22:23:19 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 4 22:21 LICENSE 22:23:19 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 4 22:21 Makefile 22:23:19 -rw-rw-r-- 1 jenkins jenkins 611 Aug 4 22:21 OWNERS.md 22:23:19 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 4 22:21 README.md 22:23:19 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 4 22:21 Record and Reply.postman_collection.json 22:23:19 -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 22:21 VERSION 22:23:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 22:21 bin 22:23:19 -rw-r--r-- 1 jenkins jenkins 17650 Aug 4 22:22 coverage.out 22:23:19 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 4 22:21 go.mod 22:23:19 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 4 22:21 go.sum 22:23:19 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 22:21 internal 22:23:19 -rw-rw-r-- 1 jenkins jenkins 913 Aug 4 22:21 main.go 22:23:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 22:21 pkg 22:23:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 22:21 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:20 + 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=96973b2378f9610ecf731d335722e6aba87b8b43 --label arch=amd64 --label version=0.0.0 . 22:23:20 Sending build context to Docker daemon 460.3kB 22:23:20 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:23:20 Step 2/26 : FROM ${BASE} AS builder 22:23:20 ---> 38947da68dd7 22:23:20 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:23:20 ---> Running in d1981b3f12be 22:23:20 Removing intermediate container d1981b3f12be 22:23:20 ---> 858aebbda190 22:23:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:23:20 ---> Running in 1c3f81fdf517 22:23:20 Removing intermediate container 1c3f81fdf517 22:23:20 ---> 9539475e13fa 22:23:20 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:23:20 ---> Running in e7762caf8aee 22:23:20 Removing intermediate container e7762caf8aee 22:23:20 ---> d040fde446f3 22:23:20 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:23:20 ---> Running in aaebdaf73fab 22:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:23:21 OK: 265 MiB in 53 packages 22:23:21 Removing intermediate container aaebdaf73fab 22:23:21 ---> f70b8881c014 22:23:21 Step 7/26 : WORKDIR /app 22:23:21 ---> Running in 61f3845b4362 22:23:21 Removing intermediate container 61f3845b4362 22:23:21 ---> 1bd91a4c0704 22:23:21 Step 8/26 : COPY go.mod vendor* ./ 22:23:21 ---> f3e33276cdeb 22:23:21 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:23:21 ---> Running in 6b53c271d47d 22:23:22 Removing intermediate container 6b53c271d47d 22:23:22 ---> 28a679556e00 22:23:22 Step 10/26 : COPY . . 22:23:22 ---> 11003ea6d816 22:23:22 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:23:22 ---> Running in e2c7c9abf952 22:23:22 Removing intermediate container e2c7c9abf952 22:23:22 ---> ecbc5bd2fcab 22:23:22 Step 12/26 : RUN $MAKE 22:23:22 ---> Running in 5fb4f5fdc29a 22:23:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:23:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2922 in /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] { [Pipeline] ws 22:23:26 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 22:23:26 Selected Git installation does not exist. Using Default 22:23:26 The recommended git tool is: NONE 22:23:31 using credential edgex-jenkins-ssh 22:23:31 Cloning the remote Git repository 22:23:31 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 22:23:31 > git init /w/workspace/app-record-replay/2 # timeout=10 22:23:32 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:23:32 > git --version # timeout=10 22:23:32 > git --version # 'git version 2.25.1' 22:23:32 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:23:32 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:23:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:23:33 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:23:33 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:23:33 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:23:34 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit 96973b2378f9610ecf731d335722e6aba87b8b43 22:23:34 Merge succeeded, producing 96973b2378f9610ecf731d335722e6aba87b8b43 22:23:34 Checking out Revision 96973b2378f9610ecf731d335722e6aba87b8b43 (PR-56) 22:23:34 > git config core.sparsecheckout # timeout=10 22:23:34 > git checkout -f 96973b2378f9610ecf731d335722e6aba87b8b43 # timeout=10 22:23:34 > git remote # timeout=10 22:23:34 > git config --get remote.origin.url # timeout=10 22:23:34 using GIT_SSH to set credentials SSH Credentials for GitHub 22:23:34 > git merge 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 22:23:34 > git rev-parse HEAD^{commit} # timeout=10 22:23:34 > git config core.sparsecheckout # timeout=10 22:23:34 > git checkout -f 96973b2378f9610ecf731d335722e6aba87b8b43 # timeout=10 22:23:38 Commit message: "feat: Implement Upload (Import) Endpoint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:23:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:23:38 % Total % Received % Xferd Average Speed Time Time Time Current 22:23:38 Dload Upload Total Spent Left Speed 22:23:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 22:23:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:23:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:23:39 + sudo tee /etc/docker/daemon.new 22:23:39 { 22:23:39 "registry-mirrors": [ 22:23:39 "https://nexus3.edgexfoundry.org:10001" 22:23:39 ], 22:23:39 "bip": "10.250.0.254/24", 22:23:39 "hosts": [ 22:23:39 "tcp://0.0.0.0:5555", 22:23:39 "unix:///var/run/docker.sock" 22:23:39 ], 22:23:39 "mtu": 1458, 22:23:39 "selinux-enabled": true, 22:23:39 "seccomp-profile": "/etc/docker/seccomp.json" 22:23:39 } [Pipeline] sh 22:23:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:23:40 + sudo service docker restart 22:23:44 Removing intermediate container 5fb4f5fdc29a 22:23:44 ---> 5afa67e51f8f 22:23:44 Step 13/26 : FROM alpine:3.17 22:23:44 3.17: Pulling from library/alpine 22:23:44 4db1b89c0bd1: Already exists 22:23:44 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 22:23:44 Status: Downloaded newer image for alpine:3.17 22:23:44 ---> 1f73a9d63274 22:23:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:23:44 ---> Running in a3ca4c3b44f4 22:23:44 Removing intermediate container a3ca4c3b44f4 22:23:44 ---> 2ea3ccd5848c 22:23:44 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 22:23:44 ---> Running in 67d9fa342550 22:23:44 Removing intermediate container 67d9fa342550 22:23:44 ---> a17d7c6cd5c8 22:23:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:23:44 ---> Running in ff5067c71cec 22:23:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:23:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:23:44 (1/2) Installing ca-certificates (20230506-r0) 22:23:44 (2/2) Installing dumb-init (1.2.5-r2) 22:23:44 Executing busybox-1.35.0-r29.trigger 22:23:44 Executing ca-certificates-20230506-r0.trigger 22:23:44 OK: 8 MiB in 17 packages 22:23:44 Removing intermediate container ff5067c71cec 22:23:44 ---> bd773b252ca9 22:23:44 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:23:44 ---> 1cf138c16c07 22:23:44 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:23:44 ---> ed9e7ed04f9a 22:23:44 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:23:44 ---> 9da9e9cbdf01 22:23:44 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:23:44 ---> 763b0e7e40f8 22:23:44 Step 21/26 : EXPOSE 59712 22:23:44 ---> Running in 9b10657189f0 22:23:44 Removing intermediate container 9b10657189f0 22:23:44 ---> 219e7e5bb517 22:23:44 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:23:44 ---> Running in cecb7c4ccb81 22:23:44 Removing intermediate container cecb7c4ccb81 22:23:44 ---> de6f67eb15f7 22:23:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:23:44 ---> Running in 83e6f44da703 22:23:44 Removing intermediate container 83e6f44da703 22:23:44 ---> 4e6d75505240 22:23:44 Step 24/26 : LABEL arch=amd64 22:23:44 ---> Running in 709170196e1d 22:23:44 Removing intermediate container 709170196e1d 22:23:44 ---> 598486807591 22:23:44 Step 25/26 : LABEL git_sha=96973b2378f9610ecf731d335722e6aba87b8b43 22:23:44 ---> Running in 5a49923187fb 22:23:44 Removing intermediate container 5a49923187fb 22:23:44 ---> 8b23c0abf5fc 22:23:44 Step 26/26 : LABEL version=0.0.0 22:23:44 ---> Running in b36121b972af 22:23:44 Removing intermediate container b36121b972af 22:23:44 ---> 453df7296d58 22:23:44 [Warning] One or more build-args [ARCH] were not consumed 22:23:44 Successfully built 453df7296d58 22:23:44 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 22:23:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:45 22:23:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:45 latest: Pulling from edgex-lftools-log-publisher 22:23:45 5eb5b503b376: Pulling fs layer 22:23:45 5c69ac0246d0: Pulling fs layer 22:23:45 ec43610c2a17: Pulling fs layer 22:23:45 3a2ae6a8a46f: Pulling fs layer 22:23:45 33b1e0a273af: Pulling fs layer 22:23:45 5d3b04190fa2: Pulling fs layer 22:23:45 2f39f015ded8: Pulling fs layer 22:23:45 3a2ae6a8a46f: Waiting 22:23:45 33b1e0a273af: Waiting 22:23:45 5d3b04190fa2: Waiting 22:23:45 2f39f015ded8: Waiting 22:23:45 ec43610c2a17: Verifying Checksum 22:23:45 ec43610c2a17: Download complete 22:23:45 5c69ac0246d0: Download complete 22:23:45 3a2ae6a8a46f: Verifying Checksum 22:23:45 3a2ae6a8a46f: Download complete 22:23:45 5d3b04190fa2: Verifying Checksum 22:23:45 5d3b04190fa2: Download complete 22:23:45 33b1e0a273af: Verifying Checksum 22:23:45 33b1e0a273af: Download complete 22:23:46 5eb5b503b376: Verifying Checksum 22:23:46 5eb5b503b376: Download complete 22:23:46 2f39f015ded8: Download complete 22:23:47 5eb5b503b376: Pull complete 22:23:47 5c69ac0246d0: Pull complete 22:23:47 ec43610c2a17: Pull complete 22:23:47 3a2ae6a8a46f: Pull complete 22:23:48 33b1e0a273af: Pull complete 22:23:48 5d3b04190fa2: Pull complete 22:23:52 2f39f015ded8: Pull complete 22:23:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:23:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:52 prd-ubuntu20.04-docker-8c-8g-2921 does not seem to be running inside a container 22:23:52 $ 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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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:latest cat 22:23:55 $ docker top 57223c822e9b5707c263766ac5ddd24bb0210e85f6b54f2290bb4cd7163a80e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:55 ---> job-cost.sh 22:23:55 lf-activate-venv: SKIPPING 22:23:55 INFO: No Stack... 22:23:56 INFO: Retrieving Pricing Info for: v3-standard-8 22:23:56 INFO: Archiving Costs [Pipeline] sh 22:23:56 + cat /w/workspace/xfoundry_app-record-replay_PR-56/archives/cost.csv 22:23:56 + cut -d, -f6 [Pipeline] lock 22:23:56 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-2-stack-cost] 22:23:56 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-2-stack-cost] did not exist. Created. 22:23:56 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:23:56 + echo total: 0.2199999988079071 [Pipeline] stash 22:23:56 Stashed 1 file(s) [Pipeline] } 22:23:56 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:23:56 $ docker stop --time=1 57223c822e9b5707c263766ac5ddd24bb0210e85f6b54f2290bb4cd7163a80e2 22:23:58 $ docker rm -f --volumes 57223c822e9b5707c263766ac5ddd24bb0210e85f6b54f2290bb4cd7163a80e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:58 provisioning config files... 22:23:58 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config14184713026238368272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:59 ---> docker-login.sh 22:23:59 nexus3.edgexfoundry.org:10001 22:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:59 Configure a credential helper to remove this warning. See 22:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:59 22:23:59 Login Succeeded 22:23:59 nexus3.edgexfoundry.org:10002 22:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:00 Configure a credential helper to remove this warning. See 22:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:00 22:24:00 Login Succeeded 22:24:00 nexus3.edgexfoundry.org:10003 22:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:00 Configure a credential helper to remove this warning. See 22:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:00 22:24:00 Login Succeeded 22:24:00 nexus3.edgexfoundry.org:10004 22:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:00 Configure a credential helper to remove this warning. See 22:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:00 22:24:00 Login Succeeded 22:24:00 docker.io 22:24:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:24:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:24:01 Configure a credential helper to remove this warning. See 22:24:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:24:01 22:24:01 Login Succeeded 22:24:01 ---> docker-login.sh ends [Pipeline] } 22:24:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:24:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:24:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:24:01 ========================================================= 22:24:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:24:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:01 + 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 . 22:24:01 Sending build context to Docker daemon 203.3kB 22:24:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:24:02 Step 2/12 : FROM ${BASE} AS builder 22:24:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:24:02 edb6bdbacee9: Pulling fs layer 22:24:02 5f9638ab2659: Pulling fs layer 22:24:02 8d51d6327a98: Pulling fs layer 22:24:02 8b374f2dd631: Pulling fs layer 22:24:02 ec14aa9079de: Pulling fs layer 22:24:02 2f466654f4bb: Pulling fs layer 22:24:02 554e91adad29: Pulling fs layer 22:24:02 8b374f2dd631: Waiting 22:24:02 ec14aa9079de: Waiting 22:24:02 2f466654f4bb: Waiting 22:24:02 554e91adad29: Waiting 22:24:02 5f9638ab2659: Verifying Checksum 22:24:02 5f9638ab2659: Download complete 22:24:02 8b374f2dd631: Verifying Checksum 22:24:02 8b374f2dd631: Download complete 22:24:02 ec14aa9079de: Verifying Checksum 22:24:02 ec14aa9079de: Download complete 22:24:02 edb6bdbacee9: Verifying Checksum 22:24:02 edb6bdbacee9: Download complete 22:24:03 554e91adad29: Verifying Checksum 22:24:03 554e91adad29: Download complete 22:24:04 8d51d6327a98: Download complete 22:24:04 2f466654f4bb: Download complete 22:24:06 edb6bdbacee9: Pull complete 22:24:06 5f9638ab2659: Pull complete 22:24:21 8d51d6327a98: Pull complete 22:24:21 8b374f2dd631: Pull complete 22:24:21 ec14aa9079de: Pull complete 22:24:28 2f466654f4bb: Pull complete 22:24:30 554e91adad29: Pull complete 22:24:30 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 22:24:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:24:30 ---> 1e15ea492957 22:24:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:24:34 ---> Running in fa827481ca53 22:24:34 Removing intermediate container fa827481ca53 22:24:34 ---> 4b7c9ce97cd1 22:24:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:24:34 ---> Running in ee732f5e2bc8 22:24:34 Removing intermediate container ee732f5e2bc8 22:24:34 ---> 16703c57127a 22:24:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:24:34 ---> Running in dff85813bee0 22:24:35 Removing intermediate container dff85813bee0 22:24:35 ---> dc478f7b6273 22:24:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:24:35 ---> Running in cdb1c2fca446 22:24:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:24:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:24:37 OK: 263 MiB in 53 packages 22:24:38 Removing intermediate container cdb1c2fca446 22:24:38 ---> 8cbbc2f93d07 22:24:38 Step 7/12 : WORKDIR /app 22:24:38 ---> Running in 96853730bef0 22:24:38 Removing intermediate container 96853730bef0 22:24:38 ---> ffc48bcc3022 22:24:38 Step 8/12 : COPY go.mod vendor* ./ 22:24:39 ---> ee82b0f496c7 22:24:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:24:39 ---> Running in a78fe5d90b16 22:25:47 Removing intermediate container a78fe5d90b16 22:25:47 ---> 9df9ced1e1e6 22:25:47 Step 10/12 : COPY . . 22:25:47 ---> 936069439a3f 22:25:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:25:47 ---> Running in cf77e57cea09 22:25:47 Removing intermediate container cf77e57cea09 22:25:47 ---> 1d1a79d8fbaf 22:25:47 Step 12/12 : RUN $MAKE 22:25:47 ---> Running in f12309672a32 22:25:47 noop 22:25:47 Removing intermediate container f12309672a32 22:25:47 ---> 3b85c1ab9960 22:25:47 Successfully built 3b85c1ab9960 22:25:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:47 + docker inspect -f . ci-base-image-arm64 22:25:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:47 prd-ubuntu20.04-docker-arm64-4c-16g-2922 does not seem to be running inside a container 22:25:47 $ 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 22:25:49 $ docker top fffb8234742f82240d157b4b510411e90b1c6fa7df143a63218c6f8848e7f37a -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:49 + go version 22:25:49 go version go1.20.6 linux/arm64 [Pipeline] } 22:25:49 $ docker stop --time=1 fffb8234742f82240d157b4b510411e90b1c6fa7df143a63218c6f8848e7f37a 22:25:51 $ docker rm -f --volumes fffb8234742f82240d157b4b510411e90b1c6fa7df143a63218c6f8848e7f37a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:52 + docker inspect -f . ci-base-image-arm64 22:25:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:52 prd-ubuntu20.04-docker-arm64-4c-16g-2922 does not seem to be running inside a container 22:25:52 $ 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 22:25:53 $ docker top f5bc470a37e4678b38837a4e7618ae39afb8aab293c132a55666c9f7c97bc493 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:53 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 22:25:54 + make test 22:25:54 go test -race -coverprofile=coverage.out ./... 22:28:45 ? github.com/edgexfoundry/app-record-replay [no test files] 22:28:45 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:28:45 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:28:45 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:28:45 ok github.com/edgexfoundry/app-record-replay/internal/app 0.287s coverage: 88.0% of statements 22:28:52 ok github.com/edgexfoundry/app-record-replay/internal/application 8.901s coverage: 97.5% of statements 22:28:52 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.473s coverage: 79.8% of statements 22:28:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:28:52 go vet ./... 22:31:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:31:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:31:14 ./bin/test-attribution-txt.sh [Pipeline] echo 22:31:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:31:14 $ docker stop --time=1 f5bc470a37e4678b38837a4e7618ae39afb8aab293c132a55666c9f7c97bc493 22:31:17 $ docker rm -f --volumes f5bc470a37e4678b38837a4e7618ae39afb8aab293c132a55666c9f7c97bc493 [Pipeline] // withDockerContainer [Pipeline] sh 22:31:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:31:19 Warning: overwriting stash ‘coverage-report’ 22:31:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:31:20 + ls -al . 22:31:20 total 172 22:31:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 22:25 . 22:31:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 22:23 .. 22:31:20 -rw-rw-r-- 1 jenkins jenkins 119 Aug 4 22:23 .dockerignore 22:31:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 22:23 .git 22:31:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 22:23 .github 22:31:20 -rw-rw-r-- 1 jenkins jenkins 164 Aug 4 22:23 .gitignore 22:31:20 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 22:23 .golangci.yml 22:31:20 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 4 22:23 Attribution.txt 22:31:20 -rw-rw-r-- 1 jenkins jenkins 258 Aug 4 22:23 CHANGELOG.md 22:31:20 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 4 22:23 Dockerfile 22:31:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 22:23 GOVERNANCE.md 22:31:20 -rw-rw-r-- 1 jenkins jenkins 681 Aug 4 22:23 Jenkinsfile 22:31:20 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 4 22:23 LICENSE 22:31:20 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 4 22:23 Makefile 22:31:20 -rw-rw-r-- 1 jenkins jenkins 611 Aug 4 22:23 OWNERS.md 22:31:20 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 4 22:23 README.md 22:31:20 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 4 22:23 Record and Reply.postman_collection.json 22:31:20 -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 22:21 VERSION 22:31:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 22:23 bin 22:31:20 -rw-r--r-- 1 jenkins jenkins 17650 Aug 4 22:28 coverage.out 22:31:20 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 4 22:23 go.mod 22:31:20 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 4 22:23 go.sum 22:31:20 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 22:23 internal 22:31:20 -rw-rw-r-- 1 jenkins jenkins 913 Aug 4 22:23 main.go 22:31:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 22:23 pkg 22:31:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 22:23 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:20 + 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=96973b2378f9610ecf731d335722e6aba87b8b43 --label arch=arm64 --label version=0.0.0 . 22:31:20 Sending build context to Docker daemon 221.7kB 22:31:21 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:31:21 Step 2/26 : FROM ${BASE} AS builder 22:31:21 ---> 3b85c1ab9960 22:31:21 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:31:21 ---> Running in 6ac0ca53d451 22:31:21 Removing intermediate container 6ac0ca53d451 22:31:21 ---> 409eb23e48db 22:31:21 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:31:21 ---> Running in 6f255a00b39a 22:31:22 Removing intermediate container 6f255a00b39a 22:31:22 ---> 3443bc9f6f42 22:31:22 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:31:22 ---> Running in 137677eb93c3 22:31:22 Removing intermediate container 137677eb93c3 22:31:22 ---> 54e640d726dc 22:31:22 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:31:22 ---> Running in 56d98f539737 22:31:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:31:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:31:24 OK: 263 MiB in 53 packages 22:31:25 Removing intermediate container 56d98f539737 22:31:25 ---> 96b59b169089 22:31:25 Step 7/26 : WORKDIR /app 22:31:25 ---> Running in d17a4e319a70 22:31:26 Removing intermediate container d17a4e319a70 22:31:26 ---> c476aaf2690b 22:31:26 Step 8/26 : COPY go.mod vendor* ./ 22:31:26 ---> decc3eda0adf 22:31:26 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:26 ---> Running in e2ac85cec917 22:31:30 Removing intermediate container e2ac85cec917 22:31:30 ---> ab3a97f0b417 22:31:30 Step 10/26 : COPY . . 22:31:30 ---> 0c28c3ec7154 22:31:30 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:31:30 ---> Running in 02b130255b86 22:31:30 Removing intermediate container 02b130255b86 22:31:30 ---> ea25141dbf87 22:31:30 Step 12/26 : RUN $MAKE 22:31:30 ---> Running in 597ed047ca69 22:31:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:33:38 Removing intermediate container 597ed047ca69 22:33:38 ---> 2de434ba8a4e 22:33:38 Step 13/26 : FROM alpine:3.17 22:33:38 3.17: Pulling from library/alpine 22:33:38 edb6bdbacee9: Already exists 22:33:38 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 22:33:38 Status: Downloaded newer image for alpine:3.17 22:33:38 ---> 779605e5fbc0 22:33:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:33:38 ---> Running in 9faebcfa79d7 22:33:38 Removing intermediate container 9faebcfa79d7 22:33:38 ---> 5d59a13a6643 22:33:38 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 22:33:38 ---> Running in cf28c1a7e900 22:33:38 Removing intermediate container cf28c1a7e900 22:33:38 ---> 1ccab579b27e 22:33:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:33:38 ---> Running in 7bdb0469c59c 22:33:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:33:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:33:38 (1/2) Installing ca-certificates (20230506-r0) 22:33:38 (2/2) Installing dumb-init (1.2.5-r2) 22:33:38 Executing busybox-1.35.0-r29.trigger 22:33:38 Executing ca-certificates-20230506-r0.trigger 22:33:38 OK: 8 MiB in 17 packages 22:33:39 Removing intermediate container 7bdb0469c59c 22:33:39 ---> b5ef54cfaf0c 22:33:39 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:33:40 ---> be4449cc29be 22:33:40 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:33:40 ---> cf72985f56e1 22:33:40 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:33:40 ---> b9e8960ecdda 22:33:40 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:33:45 ---> 192927de9caa 22:33:45 Step 21/26 : EXPOSE 59712 22:33:45 ---> Running in a7d120ed99df 22:33:45 Removing intermediate container a7d120ed99df 22:33:45 ---> 45c0f1ecc758 22:33:45 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:33:45 ---> Running in c3b8420541c5 22:33:45 Removing intermediate container c3b8420541c5 22:33:45 ---> 75232dd9dd17 22:33:45 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:33:45 ---> Running in 1c099be38fc2 22:33:46 Removing intermediate container 1c099be38fc2 22:33:46 ---> 099756a9cb4c 22:33:46 Step 24/26 : LABEL arch=arm64 22:33:46 ---> Running in f8d16af39d61 22:33:46 Removing intermediate container f8d16af39d61 22:33:46 ---> 13993e7b312e 22:33:46 Step 25/26 : LABEL git_sha=96973b2378f9610ecf731d335722e6aba87b8b43 22:33:46 ---> Running in ead7ed98404f 22:33:46 Removing intermediate container ead7ed98404f 22:33:46 ---> ca29e10067c9 22:33:46 Step 26/26 : LABEL version=0.0.0 22:33:46 ---> Running in 89837cd07335 22:33:46 Removing intermediate container 89837cd07335 22:33:46 ---> 0da886277a02 22:33:46 [Warning] One or more build-args [ARCH] were not consumed 22:33:46 Successfully built 0da886277a02 22:33:46 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:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:33:47 22:33:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:33:47 arm64: Pulling from edgex-lftools-log-publisher 22:33:47 8998bd30e6a1: Pulling fs layer 22:33:47 04944245beec: Pulling fs layer 22:33:47 699f458cf7ca: Pulling fs layer 22:33:47 765212b225bb: Pulling fs layer 22:33:47 f23df028b6ca: Pulling fs layer 22:33:47 d65c8cfc05b1: Pulling fs layer 22:33:47 2437ff75d9bd: Pulling fs layer 22:33:47 f23df028b6ca: Waiting 22:33:47 d65c8cfc05b1: Waiting 22:33:47 765212b225bb: Waiting 22:33:47 2437ff75d9bd: Waiting 22:33:48 04944245beec: Verifying Checksum 22:33:48 04944245beec: Download complete 22:33:48 765212b225bb: Verifying Checksum 22:33:48 765212b225bb: Download complete 22:33:48 f23df028b6ca: Verifying Checksum 22:33:48 f23df028b6ca: Download complete 22:33:48 d65c8cfc05b1: Verifying Checksum 22:33:48 d65c8cfc05b1: Download complete 22:33:48 699f458cf7ca: Verifying Checksum 22:33:48 699f458cf7ca: Download complete 22:33:48 8998bd30e6a1: Verifying Checksum 22:33:48 8998bd30e6a1: Download complete 22:33:51 2437ff75d9bd: Verifying Checksum 22:33:51 2437ff75d9bd: Download complete 22:33:52 8998bd30e6a1: Pull complete 22:33:52 04944245beec: Pull complete 22:33:54 699f458cf7ca: Pull complete 22:33:54 765212b225bb: Pull complete 22:33:55 f23df028b6ca: Pull complete 22:33:55 d65c8cfc05b1: Pull complete 22:34:10 2437ff75d9bd: Pull complete 22:34:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:34:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:10 prd-ubuntu20.04-docker-arm64-4c-16g-2922 does not seem to be running inside a container 22:34:10 $ 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:34:12 $ docker top 3e791c418d827fbbad6d91d8cbfccbd7cbd25e21687dec46cce1d716dce81bbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:13 ---> job-cost.sh 22:34:13 lf-activate-venv: SKIPPING 22:34:13 INFO: No Stack... 22:34:14 INFO: Retrieving Pricing Info for: v3-standard-4 22:34:14 INFO: Archiving Costs [Pipeline] sh 22:34:15 + cat /w/workspace/app-record-replay/2/archives/cost.csv 22:34:15 + cut -d, -f6 [Pipeline] lock 22:34:15 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-2-stack-cost] 22:34:15 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-2-stack-cost] did not exist. Created. 22:34:15 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:34:16 /w/workspace/app-record-replay/2@tmp/durable-a14ce337/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:34:17 + echo total: 0.10999999940395355 [Pipeline] stash 22:34:17 Warning: overwriting stash ‘stack-cost’ 22:34:17 Stashed 1 file(s) [Pipeline] } 22:34:17 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:34:17 $ docker stop --time=1 3e791c418d827fbbad6d91d8cbfccbd7cbd25e21687dec46cce1d716dce81bbd 22:34:18 $ docker rm -f --volumes 3e791c418d827fbbad6d91d8cbfccbd7cbd25e21687dec46cce1d716dce81bbd [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:34:18 provisioning config files... 22:34:18 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-56 #2 22:34:18 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config2477036058314313915tmp [Pipeline] { [Pipeline] sh 22:34:19 + set +x 22:34:19 + curl -s https://codecov.io/bash 22:34:19 + bash -s -- 22:34:19 22:34:19 _____ _ 22:34:19 / ____| | | 22:34:19 | | ___ __| | ___ ___ _____ __ 22:34:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:34:19 | |___| (_) | (_| | __/ (_| (_) \ V / 22:34:19 \_____\___/ \__,_|\___|\___\___/ \_/ 22:34:19 Bash-1.0.6 22:34:19 22:34:19 22:34:19 ==> git version 2.25.1 found 22:34:19 ==> 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:34:19 Release-Date: 2020-01-08 22:34:19 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:34:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:34:19 ==> Jenkins CI detected. 22:34:19 current dir:  /w/workspace/xfoundry_app-record-replay_PR-56 22:34:19 project root: . 22:34:19 --> token set from env 22:34:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:34:19 ==> Running gcov in . (disable via -X gcov) 22:34:19 ==> Python coveragepy not found 22:34:19 ==> Searching for coverage reports in: 22:34:19 + . 22:34:19 -> Found 1 reports 22:34:19 ==> Detecting git/mercurial file structure 22:34:19 ==> Reading reports 22:34:19 + ./coverage.out bytes=17650 22:34:19 ==> Appending adjustments 22:34:19 https://docs.codecov.io/docs/fixing-reports 22:34:19 + Found adjustments 22:34:19 ==> Gzipping contents 22:34:19 4.0K /tmp/codecov.vq7RZn.gz 22:34:19 ==> Uploading reports 22:34:19 url: https://codecov.io 22:34:19 query: branch=PR-56&commit=96973b2378f9610ecf731d335722e6aba87b8b43&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-56%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=56&job=&cmd_args= 22:34:19 -> Pinging Codecov 22:34:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-56&commit=96973b2378f9610ecf731d335722e6aba87b8b43&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-56%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=56&job=&cmd_args= 22:34:19 Invalid request parameters 22:34:19 400 [Pipeline] } 22:34:19 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:34:21 + [ -d /w/workspace/xfoundry_app-record-replay_PR-56/archives ] 22:34:21 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 22:34:21 total 16 22:34:21 drwxr-xr-x 3 root root 4096 Aug 4 22:23 . 22:34:21 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 22:23 .. 22:34:21 drwxr-xr-x 2 root root 4096 Aug 4 22:23 cost 22:34:21 -rw-r--r-- 1 root root 88 Aug 4 22:23 cost.csv 22:34:21 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-56/archives 22:34:21 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 22:34:21 total 16 22:34:21 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 22:23 . 22:34:21 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 22:23 .. 22:34:21 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 22:23 cost 22:34:21 -rw-r--r-- 1 jenkins jenkins 88 Aug 4 22:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:34:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:34:22 ---> package-listing.sh 22:34:22 ++ facter osfamily 22:34:22 ++ tr '[:upper:]' '[:lower:]' 22:34:22 + OS_FAMILY=debian 22:34:22 + workspace=/w/workspace/xfoundry_app-record-replay_PR-56 22:34:22 + START_PACKAGES=/tmp/packages_start.txt 22:34:22 + END_PACKAGES=/tmp/packages_end.txt 22:34:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:34:22 + PACKAGES=/tmp/packages_start.txt 22:34:22 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 22:34:22 + PACKAGES=/tmp/packages_end.txt 22:34:22 + case "${OS_FAMILY}" in 22:34:22 + dpkg -l 22:34:22 + grep '^ii' 22:34:22 + '[' -f /tmp/packages_start.txt ']' 22:34:22 + '[' -f /tmp/packages_end.txt ']' 22:34:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:34:22 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 22:34:22 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-56/archives/ 22:34:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-56/archives/ [Pipeline] echo 22:34:22 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-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:34:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:23 prd-ubuntu20.04-docker-8c-8g-2921 does not seem to be running inside a container 22:34:23 $ 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-56/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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 22:34:23 $ docker top 5f4f07a3a9b8f7df42460467ccbca53a6c3c2e014ff3029243762f6d751e7d73 -eo pid,comm [Pipeline] { [Pipeline] sh 22:34:24 + touch /tmp/pre-build-complete [Pipeline] sh 22:34:24 + mkdir -p /var/log/sysstat [Pipeline] sh 22:34:24 + ls /var/log/sa-host 22:34:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:34:24 provisioning config files... 22:34:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config7806614992571290697tmp [Pipeline] { [Pipeline] echo 22:34:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:34:24 ---> create-netrc.sh [Pipeline] } 22:34:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:34:25 ---> python-tools-install.sh [Pipeline] echo 22:34:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:34:25 ---> sudo-logs.sh 22:34:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:34:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:34:25 ---> job-cost.sh 22:34:25 lf-activate-venv: SKIPPING 22:34:25 DEBUG: total: 0.2199999988079071 22:34:25 INFO: Retrieving Stack Cost... 22:34:26 INFO: Retrieving Pricing Info for: v3-standard-8 22:34:26 INFO: Archiving Costs [Pipeline] echo 22:34:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:34:27 ---> logs-deploy.sh 22:34:27 lf-activate-venv: SKIPPING 22:34:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-56/2 22:34:27 INFO: archiving workspace using pattern(s): 22:34:27 Archives upload complete. 22:34:27 INFO: archiving logs to Nexus