Pull request #50 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from a68df88a9406cd76eecae47cec51f019d0cd0009+c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 (f81641bb19b532e5081708df1b73af5776115bba) 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-ssh4449620657991523337.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-ssh6769370388523161299.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-50/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-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16573226203404772674.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-ssh5689437195230078325.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-50/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-50/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11028324419906362287.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2297 in /w/workspace/xfoundry_app-record-replay_PR-50 [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-50 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 into PR head commit a68df88a9406cd76eecae47cec51f019d0cd0009 Merge succeeded, producing a68df88a9406cd76eecae47cec51f019d0cd0009 Checking out Revision a68df88a9406cd76eecae47cec51f019d0cd0009 (PR-50) > 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/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a68df88a9406cd76eecae47cec51f019d0cd0009 # 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 c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a68df88a9406cd76eecae47cec51f019d0cd0009 # timeout=10 Commit message: "fix: Addressed lint error" > git rev-list --no-walk 064fa5a74bb5a679404765c0fe6309ded3aada87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:15:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:15:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:15:45 ========================================================= 23:15:45 EdgeX Global Pipelines Version Info 23:15:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:15:46 ------------------- 23:15:46 stable info: 23:15:46 ------------------- 23:15:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:15:46 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:15:46 Message: update stable to v1.0.250 23:15:47 ------------------- 23:15:47 experimental info: 23:15:47 ------------------- 23:15:47 Commited By: **** collab-it+edgex@linuxfoundation.org 23:15:47 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:15:47 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a68df88a9406cd76eecae47cec51f019d0cd0009 [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a68df88 [Pipeline] echo 23:15:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:15:47 provisioning config files... 23:15:47 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config10260738880601831953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:15:48 ---> docker-login.sh 23:15:48 nexus3.edgexfoundry.org:10001 23:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:48 Configure a credential helper to remove this warning. See 23:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:48 23:15:48 Login Succeeded 23:15:48 nexus3.edgexfoundry.org:10002 23:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:48 Configure a credential helper to remove this warning. See 23:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:48 23:15:48 Login Succeeded 23:15:48 nexus3.edgexfoundry.org:10003 23:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:48 Configure a credential helper to remove this warning. See 23:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:48 23:15:48 Login Succeeded 23:15:48 nexus3.edgexfoundry.org:10004 23:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:48 Configure a credential helper to remove this warning. See 23:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:48 23:15:48 Login Succeeded 23:15:48 docker.io 23:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:49 Configure a credential helper to remove this warning. See 23:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:49 23:15:49 Login Succeeded 23:15:49 ---> docker-login.sh ends [Pipeline] } 23:15:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:15:49 + git rev-list -1 --merges a68df88a9406cd76eecae47cec51f019d0cd0009~1..a68df88a9406cd76eecae47cec51f019d0cd0009 [Pipeline] echo 23:15:49 -----------> git rev-list -1 --merges a68df88a9406cd76eecae47cec51f019d0cd0009~1..a68df88a9406cd76eecae47cec51f019d0cd0009 a68df88a9406cd76eecae47cec51f019d0cd0009 [false] [Pipeline] sh 23:15:49 + git log --format=format:%s -1 a68df88a9406cd76eecae47cec51f019d0cd0009 [Pipeline] echo 23:15:49 ========================================================= 23:15:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:15:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:15:50 + git log --format=format:%s -1 a68df88a9406cd76eecae47cec51f019d0cd0009 [Pipeline] echo 23:15:50 [semverPrep] GIT_COMMIT: a68df88a9406cd76eecae47cec51f019d0cd0009, Commit Message: fix: Addressed lint error [Pipeline] echo 23:15:50 [semverPrep] This is not a build commit. [Pipeline] sh 23:15:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:15:50 + grep -v github /etc/ssh/ssh_known_hosts 23:15:50 + [ -e /tmp/ssh_known_hosts ] 23:15:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:15:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:15:50 + sudo tee -a /etc/ssh/ssh_known_hosts 23:15:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:15:50 23:15:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:15:51 0.1.4: Pulling from edgex-devops/py-git-semver 23:15:51 b85a868b505f: Pulling fs layer 23:15:51 e2be974225ed: Pulling fs layer 23:15:51 339a4e72a1f5: Pulling fs layer 23:15:51 988bab9f4d93: Pulling fs layer 23:15:51 1469e6f7b9e6: Pulling fs layer 23:15:51 eaf3925da568: Pulling fs layer 23:15:51 bab4dde63d76: Pulling fs layer 23:15:51 bde34c3a00c8: Pulling fs layer 23:15:51 b352a97aabf1: Pulling fs layer 23:15:51 4872d77fe225: Pulling fs layer 23:15:51 5851b861e8e6: Pulling fs layer 23:15:51 1469e6f7b9e6: Waiting 23:15:51 eaf3925da568: Waiting 23:15:51 bde34c3a00c8: Waiting 23:15:51 988bab9f4d93: Waiting 23:15:51 b352a97aabf1: Waiting 23:15:51 bab4dde63d76: Waiting 23:15:51 5851b861e8e6: Waiting 23:15:51 4872d77fe225: Waiting 23:15:51 e2be974225ed: Verifying Checksum 23:15:51 e2be974225ed: Download complete 23:15:51 988bab9f4d93: Verifying Checksum 23:15:51 988bab9f4d93: Download complete 23:15:51 1469e6f7b9e6: Verifying Checksum 23:15:51 1469e6f7b9e6: Download complete 23:15:51 339a4e72a1f5: Verifying Checksum 23:15:51 339a4e72a1f5: Download complete 23:15:51 eaf3925da568: Verifying Checksum 23:15:51 eaf3925da568: Download complete 23:15:51 bde34c3a00c8: Verifying Checksum 23:15:51 bde34c3a00c8: Download complete 23:15:51 b352a97aabf1: Download complete 23:15:51 4872d77fe225: Download complete 23:15:51 5851b861e8e6: Download complete 23:15:51 b85a868b505f: Verifying Checksum 23:15:51 b85a868b505f: Download complete 23:15:51 bab4dde63d76: Verifying Checksum 23:15:51 bab4dde63d76: Download complete 23:15:52 b85a868b505f: Pull complete 23:15:52 e2be974225ed: Pull complete 23:15:53 339a4e72a1f5: Pull complete 23:15:53 988bab9f4d93: Pull complete 23:15:53 1469e6f7b9e6: Pull complete 23:15:53 eaf3925da568: Pull complete 23:15:55 bab4dde63d76: Pull complete 23:15:55 bde34c3a00c8: Pull complete 23:15:55 b352a97aabf1: Pull complete 23:15:55 4872d77fe225: Pull complete 23:15:55 5851b861e8e6: Pull complete 23:15:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:15:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:15:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:56 prd-ubuntu20.04-docker-8c-8g-2297 does not seem to be running inside a container 23:15:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:15:57 $ docker top b09033e57b0cfca0dcf8db196331ea9bf3ed06ca5511dcbcac6c179448c84dad -eo pid,comm 23:15:57 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). 23:15:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:15:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:15:57 [ssh-agent] Looking for ssh-agent implementation... 23:15:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:15:57 $ docker exec b09033e57b0cfca0dcf8db196331ea9bf3ed06ca5511dcbcac6c179448c84dad ssh-agent 23:15:57 SSH_AUTH_SOCK=/tmp/ssh-vkuY9XrLzVB5/agent.33 23:15:57 SSH_AGENT_PID=39 23:15:57 Running ssh-add (command line suppressed) 23:15:57 Identity added: /w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_17548953847293310642.key (/w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_17548953847293310642.key) 23:15:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:15:58 + git tag --points-at HEAD [Pipeline] } 23:15:58 $ docker exec --env ******** --env ******** b09033e57b0cfca0dcf8db196331ea9bf3ed06ca5511dcbcac6c179448c84dad ssh-agent -k 23:15:58 unset SSH_AUTH_SOCK; 23:15:58 unset SSH_AGENT_PID; 23:15:58 echo Agent pid 39 killed; 23:15:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:15:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:15:58 [ssh-agent] Looking for ssh-agent implementation... 23:15:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:15:58 $ docker exec b09033e57b0cfca0dcf8db196331ea9bf3ed06ca5511dcbcac6c179448c84dad ssh-agent 23:15:58 SSH_AUTH_SOCK=/tmp/ssh-PXhlVOJkq9Z1/agent.71 23:15:58 SSH_AGENT_PID=77 23:15:58 Running ssh-add (command line suppressed) 23:15:58 Identity added: /w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_16562022390951202571.key (/w/workspace/xfoundry_app-record-replay_PR-50@tmp/private_key_16562022390951202571.key) 23:15:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:15:58 + git semver init 23:15:59 2023-07-26 23:15:59,059 [run_init] DEBUG init version:0.0.0 force:False 23:15:59 2023-07-26 23:15:59,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-50/.semver 23:15:59 2023-07-26 23:15:59,060 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-50/.semver 23:15:59 2023-07-26 23:15:59,060 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-50/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-50, universal_newlines=False, shell=None, istream=None) 23:16:00 2023-07-26 23:15:59,723 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-50/.git/info/exclude 23:16:00 2023-07-26 23:15:59,724 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-50/.semver/PR-50 with force:False 23:16:00 2023-07-26 23:15:59,724 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-50/.semver/PR-50 23:16:00 2023-07-26 23:15:59,729 [execute] INFO git cat-file --batch-check 23:16:00 2023-07-26 23:15:59,729 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-50/.semver, universal_newlines=False, shell=None, istream=) 23:16:00 2023-07-26 23:15:59,736 [execute] INFO git cat-file --batch 23:16:00 2023-07-26 23:15:59,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-50/.semver, universal_newlines=False, shell=None, istream=) 23:16:00 2023-07-26 23:15:59,743 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-50/.semver/PR-50 23:16:00 0.0.0 [Pipeline] } 23:16:00 $ docker exec --env ******** --env ******** b09033e57b0cfca0dcf8db196331ea9bf3ed06ca5511dcbcac6c179448c84dad ssh-agent -k 23:16:00 unset SSH_AUTH_SOCK; 23:16:00 unset SSH_AGENT_PID; 23:16:00 echo Agent pid 77 killed; 23:16:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:16:00 + git semver [Pipeline] } 23:16:00 $ docker stop --time=1 b09033e57b0cfca0dcf8db196331ea9bf3ed06ca5511dcbcac6c179448c84dad 23:16:02 $ docker rm -f --volumes b09033e57b0cfca0dcf8db196331ea9bf3ed06ca5511dcbcac6c179448c84dad [Pipeline] // withDockerContainer [Pipeline] sh 23:16:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:16:02 Stashed 1 file(s) [Pipeline] echo 23:16:02 [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 23:16:02 provisioning config files... 23:16:02 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config4647015320417128701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:03 ---> docker-login.sh 23:16:03 nexus3.edgexfoundry.org:10001 23:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:03 Configure a credential helper to remove this warning. See 23:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:03 23:16:03 Login Succeeded 23:16:03 nexus3.edgexfoundry.org:10002 23:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:03 Configure a credential helper to remove this warning. See 23:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:03 23:16:03 Login Succeeded 23:16:03 nexus3.edgexfoundry.org:10003 23:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:03 Configure a credential helper to remove this warning. See 23:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:03 23:16:03 Login Succeeded 23:16:03 nexus3.edgexfoundry.org:10004 23:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:03 Configure a credential helper to remove this warning. See 23:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:03 23:16:03 Login Succeeded 23:16:03 docker.io 23:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:03 Configure a credential helper to remove this warning. See 23:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:03 23:16:03 Login Succeeded 23:16:03 ---> docker-login.sh ends [Pipeline] } 23:16:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:16:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:03 ========================================================= 23:16:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:16:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:04 + 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 . 23:16:04 Sending build context to Docker daemon 388.1kB 23:16:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:16:04 Step 2/12 : FROM ${BASE} AS builder 23:16:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:16:04 4db1b89c0bd1: Pulling fs layer 23:16:04 6911f1a30b25: Pulling fs layer 23:16:04 e194b8c5c2a9: Pulling fs layer 23:16:04 6863d3e3a2b1: Pulling fs layer 23:16:04 ec0bb842ea78: Pulling fs layer 23:16:04 40a00589a448: Pulling fs layer 23:16:04 ec0bb842ea78: Waiting 23:16:04 6863d3e3a2b1: Waiting 23:16:04 6c08303d61cc: Pulling fs layer 23:16:04 798269fcf238: Pulling fs layer 23:16:04 40a00589a448: Waiting 23:16:04 6c08303d61cc: Waiting 23:16:04 798269fcf238: Waiting 23:16:04 6911f1a30b25: Download complete 23:16:04 6863d3e3a2b1: Verifying Checksum 23:16:04 6863d3e3a2b1: Download complete 23:16:04 ec0bb842ea78: Verifying Checksum 23:16:04 ec0bb842ea78: Download complete 23:16:04 4db1b89c0bd1: Verifying Checksum 23:16:04 4db1b89c0bd1: Download complete 23:16:04 40a00589a448: Verifying Checksum 23:16:04 40a00589a448: Download complete 23:16:04 4db1b89c0bd1: Pull complete 23:16:04 6911f1a30b25: Pull complete 23:16:04 798269fcf238: Verifying Checksum 23:16:04 798269fcf238: Download complete 23:16:04 e194b8c5c2a9: Download complete 23:16:04 6c08303d61cc: Verifying Checksum 23:16:04 6c08303d61cc: Download complete 23:16:08 e194b8c5c2a9: Pull complete 23:16:08 6863d3e3a2b1: Pull complete 23:16:08 ec0bb842ea78: Pull complete 23:16:08 40a00589a448: Pull complete 23:16:10 6c08303d61cc: Pull complete 23:16:11 798269fcf238: Pull complete 23:16:11 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 23:16:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:16:11 ---> ec979cd7f677 23:16:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:16:13 ---> Running in e713c0430dc5 23:16:13 Removing intermediate container e713c0430dc5 23:16:13 ---> c52359c94b22 23:16:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:16:13 ---> Running in 9d5f9d82b865 23:16:13 Removing intermediate container 9d5f9d82b865 23:16:13 ---> f91c4bc27dee 23:16:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:16:13 ---> Running in 937405b6912c 23:16:13 Removing intermediate container 937405b6912c 23:16:13 ---> 69232c130d8c 23:16:13 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:16:13 ---> Running in 7b8bb709f131 23:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:16:14 OK: 265 MiB in 53 packages 23:16:14 Removing intermediate container 7b8bb709f131 23:16:14 ---> 23e9cab16a55 23:16:14 Step 7/12 : WORKDIR /app 23:16:14 ---> Running in cad73dd77e0a 23:16:14 Removing intermediate container cad73dd77e0a 23:16:14 ---> 42b538889b1b 23:16:14 Step 8/12 : COPY go.mod vendor* ./ 23:16:14 ---> 397f89cd10ee 23:16:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:16:14 ---> Running in 32ea6256ba4e 23:16:17 Still waiting to schedule task 23:16:17 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:16:41 Removing intermediate container 32ea6256ba4e 23:16:41 ---> f1ed04b0c055 23:16:41 Step 10/12 : COPY . . 23:16:41 ---> 84f896048226 23:16:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:16:41 ---> Running in 5f644a49140f 23:16:41 Removing intermediate container 5f644a49140f 23:16:41 ---> d1289ab8eb41 23:16:41 Step 12/12 : RUN $MAKE 23:16:41 ---> Running in 43bf7761d757 23:16:41 noop 23:16:41 Removing intermediate container 43bf7761d757 23:16:41 ---> 3554a1ee24f8 23:16:41 Successfully built 3554a1ee24f8 23:16:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:41 + docker inspect -f . ci-base-image-x86_64 23:16:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:41 prd-ubuntu20.04-docker-8c-8g-2297 does not seem to be running inside a container 23:16:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:16:41 $ docker top aa770f6e671681fba5087e0be4417444a2d8a9aac971979047d9ce3408b07b89 -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:42 + go version 23:16:42 go version go1.20.6 linux/amd64 [Pipeline] } 23:16:42 $ docker stop --time=1 aa770f6e671681fba5087e0be4417444a2d8a9aac971979047d9ce3408b07b89 23:16:43 $ docker rm -f --volumes aa770f6e671681fba5087e0be4417444a2d8a9aac971979047d9ce3408b07b89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:44 + docker inspect -f . ci-base-image-x86_64 23:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:44 prd-ubuntu20.04-docker-8c-8g-2297 does not seem to be running inside a container 23:16:44 $ 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-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:16:44 $ docker top 1ea159e2eeb1f6fbc731066269d4a69d80f295f045f84f9b4d72d1abd8f6aff7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:44 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-50 [Pipeline] fileExists [Pipeline] sh 23:16:45 + make test 23:16:45 go test -race -coverprofile=coverage.out ./... 23:17:03 ? github.com/edgexfoundry/app-record-replay [no test files] 23:17:03 ok github.com/edgexfoundry/app-record-replay/internal/app 0.067s coverage: 87.5% of statements 23:17:03 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:17:03 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:17:03 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:17:03 ok github.com/edgexfoundry/app-record-replay/internal/application 0.061s coverage: 95.3% of statements 23:17:03 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.085s coverage: 85.6% of statements 23:17:21 go vet ./... 23:17:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:17:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:17:26 ./bin/test-attribution-txt.sh [Pipeline] echo 23:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:17:26 $ docker stop --time=1 1ea159e2eeb1f6fbc731066269d4a69d80f295f045f84f9b4d72d1abd8f6aff7 23:17:28 $ docker rm -f --volumes 1ea159e2eeb1f6fbc731066269d4a69d80f295f045f84f9b4d72d1abd8f6aff7 [Pipeline] // withDockerContainer [Pipeline] sh 23:17:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:17:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:17:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:17:30 + ls -al . 23:17:30 total 168 23:17:30 drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 23:16 . 23:17:30 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:15 .. 23:17:30 -rw-rw-r-- 1 jenkins jenkins 119 Jul 26 23:15 .dockerignore 23:17:30 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 23:16 .git 23:17:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:15 .github 23:17:30 -rw-rw-r-- 1 jenkins jenkins 164 Jul 26 23:15 .gitignore 23:17:30 -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 23:15 .golangci.yml 23:17:30 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 23:15 .semver 23:17:30 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 26 23:15 Attribution.txt 23:17:30 -rw-rw-r-- 1 jenkins jenkins 258 Jul 26 23:15 CHANGELOG.md 23:17:30 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 26 23:15 Dockerfile 23:17:30 -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 23:15 GOVERNANCE.md 23:17:30 -rw-rw-r-- 1 jenkins jenkins 681 Jul 26 23:15 Jenkinsfile 23:17:30 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 26 23:15 LICENSE 23:17:30 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 26 23:15 Makefile 23:17:30 -rw-rw-r-- 1 jenkins jenkins 611 Jul 26 23:15 OWNERS.md 23:17:30 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 26 23:15 README.md 23:17:30 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 26 23:15 Record and Reply.postman_collection.json 23:17:30 -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 23:16 VERSION 23:17:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:15 bin 23:17:30 -rw-r--r-- 1 jenkins jenkins 11988 Jul 26 23:17 coverage.out 23:17:30 -rw-rw-r-- 1 jenkins jenkins 3680 Jul 26 23:15 go.mod 23:17:30 -rw-rw-r-- 1 jenkins jenkins 32847 Jul 26 23:15 go.sum 23:17:30 drwxrwxr-x 6 jenkins jenkins 4096 Jul 26 23:15 internal 23:17:30 -rw-rw-r-- 1 jenkins jenkins 913 Jul 26 23:15 main.go 23:17:30 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:15 pkg 23:17:30 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:15 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:30 + 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=a68df88a9406cd76eecae47cec51f019d0cd0009 --label arch=amd64 --label version=0.0.0 . 23:17:30 Sending build context to Docker daemon 400.9kB 23:17:30 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:17:30 Step 2/26 : FROM ${BASE} AS builder 23:17:30 ---> 3554a1ee24f8 23:17:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:17:30 ---> Running in 31c43070940f 23:17:30 Removing intermediate container 31c43070940f 23:17:30 ---> 765c9a1a946c 23:17:30 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:17:30 ---> Running in e6755cf7f3cb 23:17:30 Removing intermediate container e6755cf7f3cb 23:17:30 ---> 916e7aa3bcdc 23:17:30 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:17:30 ---> Running in cfdeb384fa7b 23:17:30 Removing intermediate container cfdeb384fa7b 23:17:30 ---> b577892b8ddc 23:17:30 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:30 ---> Running in 3418cfade377 23:17:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:31 OK: 265 MiB in 53 packages 23:17:31 Removing intermediate container 3418cfade377 23:17:31 ---> 280a5b505bbc 23:17:31 Step 7/26 : WORKDIR /app 23:17:31 ---> Running in f06a521887f3 23:17:31 Removing intermediate container f06a521887f3 23:17:31 ---> 41ab238325f4 23:17:31 Step 8/26 : COPY go.mod vendor* ./ 23:17:31 ---> 44f3bd860aa2 23:17:31 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:31 ---> Running in 590231bf6ec5 23:17:32 Removing intermediate container 590231bf6ec5 23:17:32 ---> ceb2245d3446 23:17:32 Step 10/26 : COPY . . 23:17:32 ---> ede0c98de978 23:17:32 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:17:32 ---> Running in fd5b028a67e9 23:17:32 Removing intermediate container fd5b028a67e9 23:17:32 ---> 432ea1e39dcf 23:17:32 Step 12/26 : RUN $MAKE 23:17:32 ---> Running in 20a579a354a9 23:17:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:17:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2298 in /w/workspace/xfoundry_app-record-replay_PR-50 [Pipeline] { [Pipeline] ws 23:17:45 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 23:17:45 Selected Git installation does not exist. Using Default 23:17:45 The recommended git tool is: NONE 23:17:50 using credential edgex-jenkins-ssh 23:17:50 Cloning the remote Git repository 23:17:51 Removing intermediate container 20a579a354a9 23:17:51 ---> 689f602a301e 23:17:51 Step 13/26 : FROM alpine:3.17 23:17:51 3.17: Pulling from library/alpine 23:17:51 4db1b89c0bd1: Already exists 23:17:51 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:17:51 Status: Downloaded newer image for alpine:3.17 23:17:51 ---> 1f73a9d63274 23:17:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:17:51 ---> Running in bc47233c718e 23:17:51 Removing intermediate container bc47233c718e 23:17:51 ---> e34d2d6be83c 23:17:51 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:17:51 ---> Running in c9a0b5c646b5 23:17:51 Removing intermediate container c9a0b5c646b5 23:17:51 ---> a01073bce173 23:17:51 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:17:51 ---> Running in 2acd48798d88 23:17:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:51 (1/2) Installing ca-certificates (20230506-r0) 23:17:51 (2/2) Installing dumb-init (1.2.5-r2) 23:17:51 Executing busybox-1.35.0-r29.trigger 23:17:51 Executing ca-certificates-20230506-r0.trigger 23:17:51 OK: 8 MiB in 17 packages 23:17:50 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:17:50 > git init /w/workspace/app-record-replay/2 # timeout=10 23:17:50 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:17:50 > git --version # timeout=10 23:17:50 > git --version # 'git version 2.25.1' 23:17:50 using GIT_SSH to set credentials SSH Credentials for GitHub 23:17:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:17:51 Removing intermediate container 2acd48798d88 23:17:51 ---> 43d374cbf54c 23:17:51 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:17:52 ---> a2d4647c24b9 23:17:52 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:17:52 ---> 66dece558f77 23:17:52 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:17:52 ---> a7e1eec5c18c 23:17:52 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:17:52 ---> 59907e436bbc 23:17:52 Step 21/26 : EXPOSE 59712 23:17:52 ---> Running in 009a102899af 23:17:52 Removing intermediate container 009a102899af 23:17:52 ---> 63f334a90b03 23:17:52 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:17:52 ---> Running in 0502b5a97adb 23:17:52 Removing intermediate container 0502b5a97adb 23:17:52 ---> 1a65d50c2565 23:17:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:17:52 ---> Running in 7343bdef735b 23:17:52 Removing intermediate container 7343bdef735b 23:17:52 ---> 7446366d0219 23:17:52 Step 24/26 : LABEL arch=amd64 23:17:52 ---> Running in 883f40de10b9 23:17:52 Removing intermediate container 883f40de10b9 23:17:52 ---> 4ec7148fd08a 23:17:52 Step 25/26 : LABEL git_sha=a68df88a9406cd76eecae47cec51f019d0cd0009 23:17:51 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:17:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:17:52 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:17:52 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:17:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:17:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:17:53 ---> Running in 9242de073df2 23:17:53 Removing intermediate container 9242de073df2 23:17:53 ---> 6d16bf469e87 23:17:53 Step 26/26 : LABEL version=0.0.0 23:17:53 ---> Running in 8d03978ac466 23:17:53 Removing intermediate container 8d03978ac466 23:17:53 ---> 7d06d40eaab3 23:17:53 [Warning] One or more build-args [ARCH] were not consumed 23:17:53 Successfully built 7d06d40eaab3 23:17:53 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 23:17:53 Merging remotes/origin/main commit c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 into PR head commit a68df88a9406cd76eecae47cec51f019d0cd0009 [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 23:17:53 Merge succeeded, producing a68df88a9406cd76eecae47cec51f019d0cd0009 23:17:53 Checking out Revision a68df88a9406cd76eecae47cec51f019d0cd0009 (PR-50) 23:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:17:53 23:17:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:17:53 latest: Pulling from edgex-lftools-log-publisher 23:17:53 5eb5b503b376: Pulling fs layer 23:17:53 5c69ac0246d0: Pulling fs layer 23:17:53 ec43610c2a17: Pulling fs layer 23:17:53 3a2ae6a8a46f: Pulling fs layer 23:17:53 33b1e0a273af: Pulling fs layer 23:17:53 5d3b04190fa2: Pulling fs layer 23:17:53 2f39f015ded8: Pulling fs layer 23:17:53 33b1e0a273af: Waiting 23:17:53 5d3b04190fa2: Waiting 23:17:53 2f39f015ded8: Waiting 23:17:53 3a2ae6a8a46f: Waiting 23:17:53 5c69ac0246d0: Download complete 23:17:53 3a2ae6a8a46f: Verifying Checksum 23:17:53 3a2ae6a8a46f: Download complete 23:17:53 33b1e0a273af: Verifying Checksum 23:17:53 33b1e0a273af: Download complete 23:17:53 5d3b04190fa2: Download complete 23:17:53 ec43610c2a17: Verifying Checksum 23:17:53 ec43610c2a17: Download complete 23:17:54 5eb5b503b376: Verifying Checksum 23:17:54 5eb5b503b376: Download complete 23:17:53 > git config core.sparsecheckout # timeout=10 23:17:53 > git checkout -f a68df88a9406cd76eecae47cec51f019d0cd0009 # timeout=10 23:17:53 > git remote # timeout=10 23:17:53 > git config --get remote.origin.url # timeout=10 23:17:53 using GIT_SSH to set credentials SSH Credentials for GitHub 23:17:53 > git merge c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 # timeout=10 23:17:53 > git rev-parse HEAD^{commit} # timeout=10 23:17:53 > git config core.sparsecheckout # timeout=10 23:17:53 > git checkout -f a68df88a9406cd76eecae47cec51f019d0cd0009 # timeout=10 23:17:54 2f39f015ded8: Download complete 23:17:55 5eb5b503b376: Pull complete 23:17:55 5c69ac0246d0: Pull complete 23:17:55 ec43610c2a17: Pull complete 23:17:55 3a2ae6a8a46f: Pull complete 23:17:55 33b1e0a273af: Pull complete 23:17:56 5d3b04190fa2: Pull complete 23:17:56 Commit message: "fix: Addressed lint error" 23:17:57 23:17:57 GitHub has been notified of this commit’s build result 23:17:57 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:17:57 % Total % Received % Xferd Average Speed Time Time Time Current 23:17:57 Dload Upload Total Spent Left Speed 23:17:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 23:17:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:17:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:17:58 + sudo tee /etc/docker/daemon.new 23:17:58 { 23:17:58 "registry-mirrors": [ 23:17:58 "https://nexus3.edgexfoundry.org:10001" 23:17:58 ], 23:17:58 "bip": "10.250.0.254/24", 23:17:58 "hosts": [ 23:17:58 "tcp://0.0.0.0:5555", 23:17:58 "unix:///var/run/docker.sock" 23:17:58 ], 23:17:58 "mtu": 1458, 23:17:58 "selinux-enabled": true, 23:17:58 "seccomp-profile": "/etc/docker/seccomp.json" 23:17:58 } [Pipeline] sh 23:17:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:17:59 + sudo service docker restart 23:18:00 2f39f015ded8: Pull complete 23:18:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:18:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:00 prd-ubuntu20.04-docker-8c-8g-2297 does not seem to be running inside a container 23:18:00 $ 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-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@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 23:18:02 $ docker top 9f28c45a3523228b6275fed59ed95a5dae67c78b64d961006b7f5c57a3d6da28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:02 ---> job-cost.sh 23:18:02 lf-activate-venv: SKIPPING 23:18:02 INFO: No Stack... 23:18:03 INFO: Retrieving Pricing Info for: v3-standard-8 23:18:03 INFO: Archiving Costs [Pipeline] sh 23:18:04 + cat /w/workspace/xfoundry_app-record-replay_PR-50/archives/cost.csv 23:18:04 + cut -d, -f6 [Pipeline] lock 23:18:04 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-50-2-stack-cost] 23:18:04 Resource [jenkins-edgexfoundry-app-record-replay-PR-50-2-stack-cost] did not exist. Created. 23:18:04 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-50-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:18:04 + echo total: 0.2199999988079071 [Pipeline] stash 23:18:04 Stashed 1 file(s) [Pipeline] } 23:18:04 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-50-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:18:04 $ docker stop --time=1 9f28c45a3523228b6275fed59ed95a5dae67c78b64d961006b7f5c57a3d6da28 23:18:05 $ docker rm -f --volumes 9f28c45a3523228b6275fed59ed95a5dae67c78b64d961006b7f5c57a3d6da28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:17 provisioning config files... 23:18:17 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config6608169211224775020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:17 ---> docker-login.sh 23:18:17 nexus3.edgexfoundry.org:10001 23:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:18 Configure a credential helper to remove this warning. See 23:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:18 23:18:18 Login Succeeded 23:18:18 nexus3.edgexfoundry.org:10002 23:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:18 Configure a credential helper to remove this warning. See 23:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:18 23:18:18 Login Succeeded 23:18:18 nexus3.edgexfoundry.org:10003 23:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:19 Configure a credential helper to remove this warning. See 23:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:19 23:18:19 Login Succeeded 23:18:19 nexus3.edgexfoundry.org:10004 23:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:19 Configure a credential helper to remove this warning. See 23:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:19 23:18:19 Login Succeeded 23:18:19 docker.io 23:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:20 Configure a credential helper to remove this warning. See 23:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:20 23:18:20 Login Succeeded 23:18:20 ---> docker-login.sh ends [Pipeline] } 23:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:18:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:20 ========================================================= 23:18:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:18:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:20 + 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 . 23:18:20 Sending build context to Docker daemon 178.7kB 23:18:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:18:20 Step 2/12 : FROM ${BASE} AS builder 23:18:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:18:20 edb6bdbacee9: Pulling fs layer 23:18:20 5f9638ab2659: Pulling fs layer 23:18:20 8d51d6327a98: Pulling fs layer 23:18:20 8b374f2dd631: Pulling fs layer 23:18:20 ec14aa9079de: Pulling fs layer 23:18:20 2f466654f4bb: Pulling fs layer 23:18:20 554e91adad29: Pulling fs layer 23:18:20 ec14aa9079de: Waiting 23:18:20 2f466654f4bb: Waiting 23:18:20 554e91adad29: Waiting 23:18:20 8b374f2dd631: Waiting 23:18:21 5f9638ab2659: Verifying Checksum 23:18:21 5f9638ab2659: Download complete 23:18:21 8b374f2dd631: Verifying Checksum 23:18:21 8b374f2dd631: Download complete 23:18:21 ec14aa9079de: Verifying Checksum 23:18:21 ec14aa9079de: Download complete 23:18:21 edb6bdbacee9: Verifying Checksum 23:18:21 edb6bdbacee9: Download complete 23:18:22 edb6bdbacee9: Pull complete 23:18:22 554e91adad29: Verifying Checksum 23:18:22 554e91adad29: Download complete 23:18:22 5f9638ab2659: Pull complete 23:18:23 8d51d6327a98: Download complete 23:18:23 2f466654f4bb: Verifying Checksum 23:18:23 2f466654f4bb: Download complete 23:18:36 8d51d6327a98: Pull complete 23:18:36 8b374f2dd631: Pull complete 23:18:36 ec14aa9079de: Pull complete 23:18:42 2f466654f4bb: Pull complete 23:18:44 554e91adad29: Pull complete 23:18:44 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 23:18:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:18:44 ---> 1e15ea492957 23:18:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:18:46 ---> Running in 52130bcd3e00 23:18:46 Removing intermediate container 52130bcd3e00 23:18:46 ---> 2d53c50afe29 23:18:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:18:46 ---> Running in e61b5a9de89f 23:18:46 Removing intermediate container e61b5a9de89f 23:18:46 ---> f6f5cb868c4f 23:18:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:18:46 ---> Running in 155d004ba987 23:18:46 Removing intermediate container 155d004ba987 23:18:46 ---> 8d0c80d8fc07 23:18:46 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:46 ---> Running in 98e313138545 23:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:18:49 OK: 263 MiB in 53 packages 23:18:50 Removing intermediate container 98e313138545 23:18:50 ---> a9a4b2b2ec04 23:18:50 Step 7/12 : WORKDIR /app 23:18:50 ---> Running in 5f5175e76733 23:18:50 Removing intermediate container 5f5175e76733 23:18:50 ---> 53c673030e0e 23:18:50 Step 8/12 : COPY go.mod vendor* ./ 23:18:51 ---> b5d95369ad00 23:18:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:51 ---> Running in dd8aafc3bf29 23:19:58 Removing intermediate container dd8aafc3bf29 23:19:58 ---> 9daf04e8da08 23:19:58 Step 10/12 : COPY . . 23:19:58 ---> fb47a9200c3b 23:19:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:58 ---> Running in d2fab187c90e 23:19:58 Removing intermediate container d2fab187c90e 23:19:58 ---> 24fa4019cc1b 23:19:58 Step 12/12 : RUN $MAKE 23:19:58 ---> Running in bdbcd6194a68 23:19:58 noop 23:19:58 Removing intermediate container bdbcd6194a68 23:19:58 ---> f91b66a0e83e 23:19:58 Successfully built f91b66a0e83e 23:19:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:59 + docker inspect -f . ci-base-image-arm64 23:19:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:59 prd-ubuntu20.04-docker-arm64-4c-16g-2298 does not seem to be running inside a container 23:19:59 $ 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 23:20:00 $ docker top 4c97bcbec89335a4827b45e4bdc498e15a636a54f2c5d20a62e79d64363ffea0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:20:01 + go version 23:20:01 go version go1.20.6 linux/arm64 [Pipeline] } 23:20:01 $ docker stop --time=1 4c97bcbec89335a4827b45e4bdc498e15a636a54f2c5d20a62e79d64363ffea0 23:20:03 $ docker rm -f --volumes 4c97bcbec89335a4827b45e4bdc498e15a636a54f2c5d20a62e79d64363ffea0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:03 + docker inspect -f . ci-base-image-arm64 23:20:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:03 prd-ubuntu20.04-docker-arm64-4c-16g-2298 does not seem to be running inside a container 23:20:03 $ 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 23:20:05 $ docker top 7f83403a09a8d50a4491f3d20b8518548bf697ca5b5ec19003a2f88f6e55fdc5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:20:05 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 23:20:05 + make test 23:20:05 go test -race -coverprofile=coverage.out ./... 23:22:42 ? github.com/edgexfoundry/app-record-replay [no test files] 23:22:52 ok github.com/edgexfoundry/app-record-replay/internal/app 0.252s coverage: 87.5% of statements 23:22:52 ok github.com/edgexfoundry/app-record-replay/internal/application 0.323s coverage: 95.3% of statements 23:22:57 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:22:57 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:22:57 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:22:57 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.363s coverage: 85.6% of statements 23:22:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:22:57 go vet ./... 23:25:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:25:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:25:19 ./bin/test-attribution-txt.sh [Pipeline] echo 23:25:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:25:19 $ docker stop --time=1 7f83403a09a8d50a4491f3d20b8518548bf697ca5b5ec19003a2f88f6e55fdc5 23:25:21 $ docker rm -f --volumes 7f83403a09a8d50a4491f3d20b8518548bf697ca5b5ec19003a2f88f6e55fdc5 [Pipeline] // withDockerContainer [Pipeline] sh 23:25:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:22 Warning: overwriting stash ‘coverage-report’ 23:25:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:23 + ls -al . 23:25:23 total 164 23:25:23 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 23:20 . 23:25:23 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:17 .. 23:25:23 -rw-rw-r-- 1 jenkins jenkins 119 Jul 26 23:17 .dockerignore 23:25:23 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 23:17 .git 23:25:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:17 .github 23:25:23 -rw-rw-r-- 1 jenkins jenkins 164 Jul 26 23:17 .gitignore 23:25:23 -rw-rw-r-- 1 jenkins jenkins 41 Jul 26 23:17 .golangci.yml 23:25:23 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 26 23:17 Attribution.txt 23:25:23 -rw-rw-r-- 1 jenkins jenkins 258 Jul 26 23:17 CHANGELOG.md 23:25:23 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 26 23:17 Dockerfile 23:25:23 -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 23:17 GOVERNANCE.md 23:25:23 -rw-rw-r-- 1 jenkins jenkins 681 Jul 26 23:17 Jenkinsfile 23:25:23 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 26 23:17 LICENSE 23:25:23 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 26 23:17 Makefile 23:25:23 -rw-rw-r-- 1 jenkins jenkins 611 Jul 26 23:17 OWNERS.md 23:25:23 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 26 23:17 README.md 23:25:23 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 26 23:17 Record and Reply.postman_collection.json 23:25:23 -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 23:16 VERSION 23:25:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:17 bin 23:25:23 -rw-r--r-- 1 jenkins jenkins 11988 Jul 26 23:22 coverage.out 23:25:23 -rw-rw-r-- 1 jenkins jenkins 3680 Jul 26 23:17 go.mod 23:25:23 -rw-rw-r-- 1 jenkins jenkins 32847 Jul 26 23:17 go.sum 23:25:23 drwxrwxr-x 6 jenkins jenkins 4096 Jul 26 23:17 internal 23:25:23 -rw-rw-r-- 1 jenkins jenkins 913 Jul 26 23:17 main.go 23:25:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:17 pkg 23:25:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:17 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:24 + 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=a68df88a9406cd76eecae47cec51f019d0cd0009 --label arch=arm64 --label version=0.0.0 . 23:25:24 Sending build context to Docker daemon 191.5kB 23:25:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:25:24 Step 2/26 : FROM ${BASE} AS builder 23:25:24 ---> f91b66a0e83e 23:25:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:25:24 ---> Running in be9dc5b08a21 23:25:25 Removing intermediate container be9dc5b08a21 23:25:25 ---> 444de6845176 23:25:25 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:25:25 ---> Running in 2f81ad3160be 23:25:25 Removing intermediate container 2f81ad3160be 23:25:25 ---> 826a6316b07e 23:25:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:25:26 ---> Running in d731ff468a70 23:25:26 Removing intermediate container d731ff468a70 23:25:26 ---> 892c42b06ffb 23:25:26 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:26 ---> Running in 0187b8294e8b 23:25:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:25:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:25:28 OK: 263 MiB in 53 packages 23:25:29 Removing intermediate container 0187b8294e8b 23:25:29 ---> f4bfac9bf796 23:25:29 Step 7/26 : WORKDIR /app 23:25:29 ---> Running in a199aaa27fe1 23:25:29 Removing intermediate container a199aaa27fe1 23:25:29 ---> 8548add5d0d5 23:25:29 Step 8/26 : COPY go.mod vendor* ./ 23:25:30 ---> 8ec005da3b67 23:25:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:30 ---> Running in dcc227b8bc57 23:25:33 Removing intermediate container dcc227b8bc57 23:25:33 ---> 0e50746160b5 23:25:33 Step 10/26 : COPY . . 23:25:33 ---> 94c3e0fe36e7 23:25:33 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:33 ---> Running in 38fb3c0cfcc1 23:25:33 Removing intermediate container 38fb3c0cfcc1 23:25:33 ---> 303fdc7f2f0d 23:25:33 Step 12/26 : RUN $MAKE 23:25:33 ---> Running in f569b1b7d3f1 23:25:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:27:41 Removing intermediate container f569b1b7d3f1 23:27:41 ---> b1dad8de23c4 23:27:41 Step 13/26 : FROM alpine:3.17 23:27:41 3.17: Pulling from library/alpine 23:27:41 edb6bdbacee9: Already exists 23:27:41 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:27:41 Status: Downloaded newer image for alpine:3.17 23:27:41 ---> 779605e5fbc0 23:27:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:27:41 ---> Running in b19914355492 23:27:41 Removing intermediate container b19914355492 23:27:41 ---> 734b32992e08 23:27:41 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:27:41 ---> Running in eaf4d61dbe65 23:27:41 Removing intermediate container eaf4d61dbe65 23:27:41 ---> f8887c98648c 23:27:41 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:27:41 ---> Running in bb1a7b42463d 23:27:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:27:43 (1/2) Installing ca-certificates (20230506-r0) 23:27:43 (2/2) Installing dumb-init (1.2.5-r2) 23:27:43 Executing busybox-1.35.0-r29.trigger 23:27:43 Executing ca-certificates-20230506-r0.trigger 23:27:43 OK: 8 MiB in 17 packages 23:27:44 Removing intermediate container bb1a7b42463d 23:27:44 ---> f21bb95d489d 23:27:44 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:27:45 ---> 1e96888f2f8f 23:27:45 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:27:45 ---> c429a95cad61 23:27:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:27:46 ---> 3db5d6fea96b 23:27:46 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:27:47 ---> 16b53bce6ab2 23:27:47 Step 21/26 : EXPOSE 59712 23:27:47 ---> Running in 5b20f587eeeb 23:27:47 Removing intermediate container 5b20f587eeeb 23:27:47 ---> 10854f4a67f0 23:27:47 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:27:47 ---> Running in 9757edbbc6d9 23:27:48 Removing intermediate container 9757edbbc6d9 23:27:48 ---> e505c576d583 23:27:48 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:27:48 ---> Running in 2cf28d49408e 23:27:48 Removing intermediate container 2cf28d49408e 23:27:48 ---> 106ab37524e0 23:27:48 Step 24/26 : LABEL arch=arm64 23:27:48 ---> Running in d73cbbd105bb 23:27:48 Removing intermediate container d73cbbd105bb 23:27:48 ---> 7af14c2cea26 23:27:48 Step 25/26 : LABEL git_sha=a68df88a9406cd76eecae47cec51f019d0cd0009 23:27:48 ---> Running in c761f27a00d0 23:27:49 Removing intermediate container c761f27a00d0 23:27:49 ---> 3ca2f82d5556 23:27:49 Step 26/26 : LABEL version=0.0.0 23:27:49 ---> Running in 01c6e39e971e 23:27:49 Removing intermediate container 01c6e39e971e 23:27:49 ---> 98eae33e05c1 23:27:49 [Warning] One or more build-args [ARCH] were not consumed 23:27:49 Successfully built 98eae33e05c1 23:27:49 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 23:27:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:49 23:27:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:50 arm64: Pulling from edgex-lftools-log-publisher 23:27:50 8998bd30e6a1: Pulling fs layer 23:27:50 04944245beec: Pulling fs layer 23:27:50 699f458cf7ca: Pulling fs layer 23:27:50 765212b225bb: Pulling fs layer 23:27:50 f23df028b6ca: Pulling fs layer 23:27:50 d65c8cfc05b1: Pulling fs layer 23:27:50 2437ff75d9bd: Pulling fs layer 23:27:50 d65c8cfc05b1: Waiting 23:27:50 2437ff75d9bd: Waiting 23:27:50 765212b225bb: Waiting 23:27:50 04944245beec: Verifying Checksum 23:27:50 04944245beec: Download complete 23:27:50 765212b225bb: Verifying Checksum 23:27:50 765212b225bb: Download complete 23:27:50 f23df028b6ca: Verifying Checksum 23:27:50 f23df028b6ca: Download complete 23:27:50 d65c8cfc05b1: Verifying Checksum 23:27:50 d65c8cfc05b1: Download complete 23:27:50 699f458cf7ca: Verifying Checksum 23:27:50 699f458cf7ca: Download complete 23:27:51 8998bd30e6a1: Verifying Checksum 23:27:51 8998bd30e6a1: Download complete 23:27:52 2437ff75d9bd: Verifying Checksum 23:27:52 2437ff75d9bd: Download complete 23:27:54 8998bd30e6a1: Pull complete 23:27:55 04944245beec: Pull complete 23:27:56 699f458cf7ca: Pull complete 23:27:56 765212b225bb: Pull complete 23:27:57 f23df028b6ca: Pull complete 23:27:57 d65c8cfc05b1: Pull complete 23:28:12 2437ff75d9bd: Pull complete 23:28:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:28:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:12 prd-ubuntu20.04-docker-arm64-4c-16g-2298 does not seem to be running inside a container 23:28:12 $ 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 23:28:15 $ docker top b647505cff93bf1b5ea12807679ff2dd538c7a5bd2abde8446325936a5ae1275 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:15 ---> job-cost.sh 23:28:15 lf-activate-venv: SKIPPING 23:28:15 INFO: No Stack... 23:28:16 INFO: Retrieving Pricing Info for: v3-standard-4 23:28:17 INFO: Archiving Costs [Pipeline] sh 23:28:17 + + cut -d,cat -f6 /w/workspace/app-record-replay/2/archives/cost.csv 23:28:17 [Pipeline] lock 23:28:17 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-50-2-stack-cost] 23:28:17 Resource [jenkins-edgexfoundry-app-record-replay-PR-50-2-stack-cost] did not exist. Created. 23:28:17 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-50-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:18 /w/workspace/app-record-replay/2@tmp/durable-0d971436/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:28:18 + echo total: 0.10999999940395355 [Pipeline] stash 23:28:18 Warning: overwriting stash ‘stack-cost’ 23:28:18 Stashed 1 file(s) [Pipeline] } 23:28:18 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-50-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:18 $ docker stop --time=1 b647505cff93bf1b5ea12807679ff2dd538c7a5bd2abde8446325936a5ae1275 23:28:22 $ docker rm -f --volumes b647505cff93bf1b5ea12807679ff2dd538c7a5bd2abde8446325936a5ae1275 [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 23:28:22 provisioning config files... 23:28:22 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-50 #2 23:28:22 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config8901473321690158002tmp [Pipeline] { [Pipeline] sh 23:28:22 + set +x 23:28:22 + bash -s -- 23:28:22 + curl -s https://codecov.io/bash 23:28:22 23:28:22 _____ _ 23:28:22 / ____| | | 23:28:22 | | ___ __| | ___ ___ _____ __ 23:28:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:28:22 | |___| (_) | (_| | __/ (_| (_) \ V / 23:28:22 \_____\___/ \__,_|\___|\___\___/ \_/ 23:28:22 Bash-1.0.6 23:28:22 23:28:22 23:28:22 ==> git version 2.25.1 found 23:28:22 ==> 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 23:28:22 Release-Date: 2020-01-08 23:28:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:28:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:28:22 ==> Jenkins CI detected. 23:28:22 current dir:  /w/workspace/xfoundry_app-record-replay_PR-50 23:28:22 project root: . 23:28:22 --> token set from env 23:28:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:28:22 ==> Running gcov in . (disable via -X gcov) 23:28:22 ==> Python coveragepy not found 23:28:22 ==> Searching for coverage reports in: 23:28:22 + . 23:28:22 -> Found 1 reports 23:28:22 ==> Detecting git/mercurial file structure 23:28:22 ==> Reading reports 23:28:22 + ./coverage.out bytes=11988 23:28:22 ==> Appending adjustments 23:28:22 https://docs.codecov.io/docs/fixing-reports 23:28:22 + Found adjustments 23:28:22 ==> Gzipping contents 23:28:22 4.0K /tmp/codecov.tSwzRK.gz 23:28:22 ==> Uploading reports 23:28:22 url: https://codecov.io 23:28:22 query: branch=PR-50&commit=a68df88a9406cd76eecae47cec51f019d0cd0009&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-50%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=50&job=&cmd_args= 23:28:22 -> Pinging Codecov 23:28:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-50&commit=a68df88a9406cd76eecae47cec51f019d0cd0009&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-50%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=50&job=&cmd_args= 23:28:22 Invalid request parameters 23:28:22 400 [Pipeline] } 23:28:22 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 23:28:23 + [ -d /w/workspace/xfoundry_app-record-replay_PR-50/archives ] 23:28:23 + ls -al /w/workspace/xfoundry_app-record-replay_PR-50/archives 23:28:23 total 16 23:28:23 drwxr-xr-x 3 root root 4096 Jul 26 23:18 . 23:28:23 drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 23:18 .. 23:28:23 drwxr-xr-x 2 root root 4096 Jul 26 23:18 cost 23:28:23 -rw-r--r-- 1 root root 88 Jul 26 23:18 cost.csv 23:28:23 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-50/archives 23:28:23 + ls -al /w/workspace/xfoundry_app-record-replay_PR-50/archives 23:28:23 total 16 23:28:23 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 23:18 . 23:28:23 drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 23:18 .. 23:28:23 drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 23:18 cost 23:28:23 -rw-r--r-- 1 jenkins jenkins 88 Jul 26 23:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:28:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:28:24 ---> package-listing.sh 23:28:24 ++ facter osfamily 23:28:24 ++ tr '[:upper:]' '[:lower:]' 23:28:25 + OS_FAMILY=debian 23:28:25 + workspace=/w/workspace/xfoundry_app-record-replay_PR-50 23:28:25 + START_PACKAGES=/tmp/packages_start.txt 23:28:25 + END_PACKAGES=/tmp/packages_end.txt 23:28:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:28:25 + PACKAGES=/tmp/packages_start.txt 23:28:25 + '[' /w/workspace/xfoundry_app-record-replay_PR-50 ']' 23:28:25 + PACKAGES=/tmp/packages_end.txt 23:28:25 + case "${OS_FAMILY}" in 23:28:25 + dpkg -l 23:28:25 + grep '^ii' 23:28:25 + '[' -f /tmp/packages_start.txt ']' 23:28:25 + '[' -f /tmp/packages_end.txt ']' 23:28:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:28:25 + '[' /w/workspace/xfoundry_app-record-replay_PR-50 ']' 23:28:25 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-50/archives/ 23:28:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-50/archives/ [Pipeline] echo 23:28:25 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-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:28:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:26 prd-ubuntu20.04-docker-8c-8g-2297 does not seem to be running inside a container 23:28:26 $ 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-50/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-50 -v /w/workspace/xfoundry_app-record-replay_PR-50:/w/workspace/xfoundry_app-record-replay_PR-50:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-50@tmp:/w/workspace/xfoundry_app-record-replay_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:28:26 $ docker top a7f55bd670901e235e04d3fdead9d85e8be10c92c911b26f9aa86d1fd8ac8e68 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:26 + touch /tmp/pre-build-complete [Pipeline] sh 23:28:26 + mkdir -p /var/log/sysstat [Pipeline] sh 23:28:27 + ls /var/log/sa-host 23:28:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:27 provisioning config files... 23:28:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-50@tmp/config11732172390971864278tmp [Pipeline] { [Pipeline] echo 23:28:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:27 ---> create-netrc.sh [Pipeline] } 23:28:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:28 ---> python-tools-install.sh [Pipeline] echo 23:28:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:28 ---> sudo-logs.sh 23:28:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:28 ---> job-cost.sh 23:28:28 lf-activate-venv: SKIPPING 23:28:28 DEBUG: total: 0.2199999988079071 23:28:28 INFO: Retrieving Stack Cost... 23:28:28 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:29 INFO: Archiving Costs [Pipeline] echo 23:28:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:28:29 ---> logs-deploy.sh 23:28:29 lf-activate-venv: SKIPPING 23:28:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-50/2 23:28:29 INFO: archiving workspace using pattern(s): 23:28:30 Archives upload complete. 23:28:30 INFO: archiving logs to Nexus