Pull request #23 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 a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9+868ae31176ae2f0602366e773f44808ef6650730 (5ddd253cbe483f3f7b8d983effb09d6ba4bad6f6) 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-ssh13123236462666507335.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-ssh4455503358461518099.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-23/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-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9065313684444826338.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-ssh15612457002847171509.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-23/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-23/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh836882799766129579.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-19013 in /w/workspace/xfoundry_app-record-replay_PR-23 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-23 # 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 868ae31176ae2f0602366e773f44808ef6650730 into PR head commit a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 Merge succeeded, producing a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 Checking out Revision a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 (PR-23) > 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/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 # 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 868ae31176ae2f0602366e773f44808ef6650730 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 # timeout=10 Commit message: "feat: Implement Data Manager interface, stubs and mocks" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:16:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:16:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:16:25 ========================================================= 21:16:25 EdgeX Global Pipelines Version Info 21:16:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a60205c1414bd738c90ceed11e54cc6d1209846c # timeout=10 21:16:25 ------------------- 21:16:25 stable info: 21:16:25 ------------------- 21:16:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:16:25 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:16:25 Message: update stable to v1.0.250 21:16:26 ------------------- 21:16:26 experimental info: 21:16:26 ------------------- 21:16:26 Commited By: **** collab-it+edgex@linuxfoundation.org 21:16:26 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:16:26 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:16:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:16:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:16:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-23 [Pipeline] echo 21:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-23 [Pipeline] echo 21:16:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-23 [Pipeline] echo 21:16:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 [Pipeline] echo 21:16:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2dffe4 [Pipeline] echo 21:16:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:27 provisioning config files... 21:16:27 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-23@tmp/config9735710099887837215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:27 ---> docker-login.sh 21:16:27 nexus3.edgexfoundry.org:10001 21:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:27 Configure a credential helper to remove this warning. See 21:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:27 21:16:27 Login Succeeded 21:16:27 nexus3.edgexfoundry.org:10002 21:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:27 Configure a credential helper to remove this warning. See 21:16:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:27 21:16:27 Login Succeeded 21:16:27 nexus3.edgexfoundry.org:10003 21:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:28 Configure a credential helper to remove this warning. See 21:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:28 21:16:28 Login Succeeded 21:16:28 nexus3.edgexfoundry.org:10004 21:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:28 Configure a credential helper to remove this warning. See 21:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:28 21:16:28 Login Succeeded 21:16:28 docker.io 21:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:28 Configure a credential helper to remove this warning. See 21:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:28 21:16:28 Login Succeeded 21:16:28 ---> docker-login.sh ends [Pipeline] } 21:16:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:16:28 + git rev-list -1 --merges a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9~1..a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 [Pipeline] echo 21:16:28 -----------> git rev-list -1 --merges a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9~1..a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 [false] [Pipeline] sh 21:16:29 + git log --format=format:%s -1 a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 [Pipeline] echo 21:16:29 ========================================================= 21:16:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:16:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:16:29 + git log --format=format:%s -1 a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 [Pipeline] echo 21:16:29 [semverPrep] GIT_COMMIT: a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9, Commit Message: feat: Implement Data Manager interface, stubs and mocks [Pipeline] echo 21:16:29 [semverPrep] This is not a build commit. [Pipeline] sh 21:16:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:29 + grep -v github /etc/ssh/ssh_known_hosts 21:16:29 + [ -e /tmp/ssh_known_hosts ] 21:16:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:16:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:16:29 + sudo tee -a /etc/ssh/ssh_known_hosts 21:16:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:30 21:16:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:30 0.1.4: Pulling from edgex-devops/py-git-semver 21:16:30 b85a868b505f: Pulling fs layer 21:16:30 e2be974225ed: Pulling fs layer 21:16:30 339a4e72a1f5: Pulling fs layer 21:16:30 988bab9f4d93: Pulling fs layer 21:16:30 1469e6f7b9e6: Pulling fs layer 21:16:30 eaf3925da568: Pulling fs layer 21:16:30 bab4dde63d76: Pulling fs layer 21:16:30 bde34c3a00c8: Pulling fs layer 21:16:30 b352a97aabf1: Pulling fs layer 21:16:30 4872d77fe225: Pulling fs layer 21:16:30 5851b861e8e6: Pulling fs layer 21:16:30 bab4dde63d76: Waiting 21:16:30 bde34c3a00c8: Waiting 21:16:30 b352a97aabf1: Waiting 21:16:30 988bab9f4d93: Waiting 21:16:30 4872d77fe225: Waiting 21:16:30 1469e6f7b9e6: Waiting 21:16:30 eaf3925da568: Waiting 21:16:30 5851b861e8e6: Waiting 21:16:30 e2be974225ed: Download complete 21:16:30 988bab9f4d93: Verifying Checksum 21:16:30 988bab9f4d93: Download complete 21:16:30 1469e6f7b9e6: Verifying Checksum 21:16:30 1469e6f7b9e6: Download complete 21:16:30 eaf3925da568: Verifying Checksum 21:16:30 eaf3925da568: Download complete 21:16:30 339a4e72a1f5: Verifying Checksum 21:16:30 339a4e72a1f5: Download complete 21:16:30 bde34c3a00c8: Verifying Checksum 21:16:30 bde34c3a00c8: Download complete 21:16:30 b352a97aabf1: Download complete 21:16:30 4872d77fe225: Verifying Checksum 21:16:30 4872d77fe225: Download complete 21:16:30 5851b861e8e6: Download complete 21:16:30 b85a868b505f: Verifying Checksum 21:16:30 b85a868b505f: Download complete 21:16:30 bab4dde63d76: Verifying Checksum 21:16:30 bab4dde63d76: Download complete 21:16:31 b85a868b505f: Pull complete 21:16:32 e2be974225ed: Pull complete 21:16:32 339a4e72a1f5: Pull complete 21:16:32 988bab9f4d93: Pull complete 21:16:32 1469e6f7b9e6: Pull complete 21:16:33 eaf3925da568: Pull complete 21:16:35 bab4dde63d76: Pull complete 21:16:35 bde34c3a00c8: Pull complete 21:16:35 b352a97aabf1: Pull complete 21:16:35 4872d77fe225: Pull complete 21:16:35 5851b861e8e6: Pull complete 21:16:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:16:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:16:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:35 prd-ubuntu20.04-docker-8c-8g-19013 does not seem to be running inside a container 21:16:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:16:37 $ docker top 8b3760518e78e172a667b302162a0502f89b1fe3671ab36f3d9d7681b1007557 -eo pid,comm 21:16:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:16:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:37 [ssh-agent] Looking for ssh-agent implementation... 21:16:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:38 $ docker exec 8b3760518e78e172a667b302162a0502f89b1fe3671ab36f3d9d7681b1007557 ssh-agent 21:16:38 SSH_AUTH_SOCK=/tmp/ssh-QaG2EvR3ImZA/agent.31 21:16:38 SSH_AGENT_PID=37 21:16:38 Running ssh-add (command line suppressed) 21:16:38 Identity added: /w/workspace/xfoundry_app-record-replay_PR-23@tmp/private_key_18199290182767431199.key (/w/workspace/xfoundry_app-record-replay_PR-23@tmp/private_key_18199290182767431199.key) 21:16:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:38 + git tag --points-at HEAD [Pipeline] } 21:16:38 $ docker exec --env ******** --env ******** 8b3760518e78e172a667b302162a0502f89b1fe3671ab36f3d9d7681b1007557 ssh-agent -k 21:16:38 unset SSH_AUTH_SOCK; 21:16:38 unset SSH_AGENT_PID; 21:16:38 echo Agent pid 37 killed; 21:16:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:16:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:38 [ssh-agent] Looking for ssh-agent implementation... 21:16:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:38 $ docker exec 8b3760518e78e172a667b302162a0502f89b1fe3671ab36f3d9d7681b1007557 ssh-agent 21:16:38 SSH_AUTH_SOCK=/tmp/ssh-OiC02v7K0xoE/agent.70 21:16:38 SSH_AGENT_PID=76 21:16:38 Running ssh-add (command line suppressed) 21:16:38 Identity added: /w/workspace/xfoundry_app-record-replay_PR-23@tmp/private_key_4564914755014874251.key (/w/workspace/xfoundry_app-record-replay_PR-23@tmp/private_key_4564914755014874251.key) 21:16:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:39 + git semver init 21:16:39 2023-06-21 21:16:39,451 [run_init] DEBUG init version:0.0.0 force:False 21:16:39 2023-06-21 21:16:39,452 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-23/.semver 21:16:39 2023-06-21 21:16:39,452 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-23/.semver 21:16:39 2023-06-21 21:16:39,452 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-23/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-23, universal_newlines=False, shell=None, istream=None) 21:16:40 2023-06-21 21:16:40,033 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-23/.git/info/exclude 21:16:40 2023-06-21 21:16:40,033 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-23/.semver/PR-23 with force:False 21:16:40 2023-06-21 21:16:40,033 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-23/.semver/PR-23 21:16:40 2023-06-21 21:16:40,037 [execute] INFO git cat-file --batch-check 21:16:40 2023-06-21 21:16:40,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-23/.semver, universal_newlines=False, shell=None, istream=) 21:16:40 2023-06-21 21:16:40,044 [execute] INFO git cat-file --batch 21:16:40 2023-06-21 21:16:40,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-23/.semver, universal_newlines=False, shell=None, istream=) 21:16:40 2023-06-21 21:16:40,051 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-23/.semver/PR-23 21:16:40 0.0.0 [Pipeline] } 21:16:40 $ docker exec --env ******** --env ******** 8b3760518e78e172a667b302162a0502f89b1fe3671ab36f3d9d7681b1007557 ssh-agent -k 21:16:40 unset SSH_AUTH_SOCK; 21:16:40 unset SSH_AGENT_PID; 21:16:40 echo Agent pid 76 killed; 21:16:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:40 + git semver [Pipeline] } 21:16:40 $ docker stop --time=1 8b3760518e78e172a667b302162a0502f89b1fe3671ab36f3d9d7681b1007557 21:16:42 $ docker rm -f --volumes 8b3760518e78e172a667b302162a0502f89b1fe3671ab36f3d9d7681b1007557 [Pipeline] // withDockerContainer [Pipeline] sh 21:16:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:16:42 Stashed 1 file(s) [Pipeline] echo 21:16:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:42 provisioning config files... 21:16:42 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-23@tmp/config16078716780557957263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:43 ---> docker-login.sh 21:16:43 nexus3.edgexfoundry.org:10001 21:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:43 Configure a credential helper to remove this warning. See 21:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:43 21:16:43 Login Succeeded 21:16:43 nexus3.edgexfoundry.org:10002 21:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:43 Configure a credential helper to remove this warning. See 21:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:43 21:16:43 Login Succeeded 21:16:43 nexus3.edgexfoundry.org:10003 21:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:43 Configure a credential helper to remove this warning. See 21:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:43 21:16:43 Login Succeeded 21:16:43 nexus3.edgexfoundry.org:10004 21:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:43 Configure a credential helper to remove this warning. See 21:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:43 21:16:43 Login Succeeded 21:16:43 docker.io 21:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:43 Configure a credential helper to remove this warning. See 21:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:43 21:16:43 Login Succeeded 21:16:43 ---> docker-login.sh ends [Pipeline] } 21:16:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:16:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:16:43 ========================================================= 21:16:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:16:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:16:43 Sending build context to Docker daemon 209.9kB 21:16:43 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:16:43 Step 2/12 : FROM ${BASE} AS builder 21:16:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:16:43 f56be85fc22e: Pulling fs layer 21:16:43 85791d961cd3: Pulling fs layer 21:16:43 d694b5ae8c79: Pulling fs layer 21:16:43 9f32a84ed3da: Pulling fs layer 21:16:43 4d19c01a9841: Pulling fs layer 21:16:43 9325e15d5711: Pulling fs layer 21:16:43 556b6ee489ea: Pulling fs layer 21:16:43 c5a4b2cf53e6: Pulling fs layer 21:16:43 4d19c01a9841: Waiting 21:16:43 556b6ee489ea: Waiting 21:16:43 c5a4b2cf53e6: Waiting 21:16:43 9f32a84ed3da: Waiting 21:16:43 9325e15d5711: Waiting 21:16:43 85791d961cd3: Verifying Checksum 21:16:43 85791d961cd3: Download complete 21:16:43 9f32a84ed3da: Verifying Checksum 21:16:43 9f32a84ed3da: Download complete 21:16:43 4d19c01a9841: Download complete 21:16:43 f56be85fc22e: Verifying Checksum 21:16:43 f56be85fc22e: Download complete 21:16:44 9325e15d5711: Verifying Checksum 21:16:44 9325e15d5711: Download complete 21:16:44 f56be85fc22e: Pull complete 21:16:44 85791d961cd3: Pull complete 21:16:44 d694b5ae8c79: Verifying Checksum 21:16:44 d694b5ae8c79: Download complete 21:16:44 c5a4b2cf53e6: Verifying Checksum 21:16:44 c5a4b2cf53e6: Download complete 21:16:44 556b6ee489ea: Verifying Checksum 21:16:44 556b6ee489ea: Download complete 21:16:48 d694b5ae8c79: Pull complete 21:16:48 9f32a84ed3da: Pull complete 21:16:48 4d19c01a9841: Pull complete 21:16:48 9325e15d5711: Pull complete 21:16:50 556b6ee489ea: Pull complete 21:16:51 c5a4b2cf53e6: Pull complete 21:16:51 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:16:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:16:51 ---> c4be618373d6 21:16:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:16:55 ---> Running in 74a1ab0ee467 21:16:55 Removing intermediate container 74a1ab0ee467 21:16:55 ---> 586785b5ad08 21:16:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:16:55 ---> Running in 3b9ea79d757c 21:16:55 Removing intermediate container 3b9ea79d757c 21:16:55 ---> 52904f1c1ecc 21:16:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:16:55 ---> Running in 735e177c314f 21:16:55 Removing intermediate container 735e177c314f 21:16:55 ---> 7bd8923fd7c1 21:16:55 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:55 ---> Running in e08108b95378 21:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:16:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:16:56 OK: 265 MiB in 53 packages 21:16:56 Removing intermediate container e08108b95378 21:16:56 ---> d2e175a8dcb9 21:16:56 Step 7/12 : WORKDIR /app 21:16:56 ---> Running in 053c93c42b09 21:16:56 Removing intermediate container 053c93c42b09 21:16:56 ---> 3da473fb424b 21:16:56 Step 8/12 : COPY go.mod vendor* ./ 21:16:56 ---> f5738db1a3e6 21:16:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:56 ---> Running in 958bf3f0bbae 21:16:57 Still waiting to schedule task 21:16:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:17:23 Removing intermediate container 958bf3f0bbae 21:17:23 ---> 1a8dda7d641e 21:17:23 Step 10/12 : COPY . . 21:17:23 ---> 3b94b8179de4 21:17:23 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:23 ---> Running in f84a7e23e6ce 21:17:23 Removing intermediate container f84a7e23e6ce 21:17:23 ---> 9bdbc00e815f 21:17:23 Step 12/12 : RUN $MAKE 21:17:23 ---> Running in 3fe34c8ea05a 21:17:23 noop 21:17:23 Removing intermediate container 3fe34c8ea05a 21:17:23 ---> b07625d45e76 21:17:23 Successfully built b07625d45e76 21:17:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:23 + docker inspect -f . ci-base-image-x86_64 21:17:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:23 prd-ubuntu20.04-docker-8c-8g-19013 does not seem to be running inside a container 21:17:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:17:24 $ docker top 816019d13b2f680c1e9b59347e0b036cfe80480ddd2a683258e98b70544b9b1c -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:24 + go version 21:17:24 go version go1.20.2 linux/amd64 [Pipeline] } 21:17:24 $ docker stop --time=1 816019d13b2f680c1e9b59347e0b036cfe80480ddd2a683258e98b70544b9b1c 21:17:25 $ docker rm -f --volumes 816019d13b2f680c1e9b59347e0b036cfe80480ddd2a683258e98b70544b9b1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:26 + docker inspect -f . ci-base-image-x86_64 21:17:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:26 prd-ubuntu20.04-docker-8c-8g-19013 does not seem to be running inside a container 21:17:26 $ 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-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:17:26 $ docker top 90777cac7885b1cf8c599c4bfc197547ef4db2d031c34d77b76514f8bd8c341c -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:26 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-23 [Pipeline] fileExists [Pipeline] sh 21:17:27 + make test 21:17:27 go test -race -coverprofile=coverage.out ./... 21:17:35 ? github.com/edgexfoundry/app-record-replay [no test files] 21:17:47 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 21:17:47 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:17:47 ok github.com/edgexfoundry/app-record-replay/internal/data 0.059s coverage: 27.3% of statements 21:18:05 go vet ./... 21:18:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:07 ./bin/test-attribution-txt.sh [Pipeline] echo 21:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:07 $ docker stop --time=1 90777cac7885b1cf8c599c4bfc197547ef4db2d031c34d77b76514f8bd8c341c 21:18:11 $ docker rm -f --volumes 90777cac7885b1cf8c599c4bfc197547ef4db2d031c34d77b76514f8bd8c341c [Pipeline] // withDockerContainer [Pipeline] sh 21:18:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:18:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:12 + ls -al . 21:18:12 total 148 21:18:12 drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 21:17 . 21:18:12 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:16 .. 21:18:12 -rw-rw-r-- 1 jenkins jenkins 119 Jun 21 21:16 .dockerignore 21:18:12 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:16 .git 21:18:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:16 .github 21:18:12 -rw-rw-r-- 1 jenkins jenkins 164 Jun 21 21:16 .gitignore 21:18:12 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 21:16 .golangci.yml 21:18:12 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:16 .semver 21:18:12 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 21 21:16 Attribution.txt 21:18:12 -rw-rw-r-- 1 jenkins jenkins 258 Jun 21 21:16 CHANGELOG.md 21:18:12 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 21 21:16 Dockerfile 21:18:12 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 21:16 GOVERNANCE.md 21:18:12 -rw-rw-r-- 1 jenkins jenkins 681 Jun 21 21:16 Jenkinsfile 21:18:12 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 21:16 LICENSE 21:18:12 -rw-rw-r-- 1 jenkins jenkins 611 Jun 21 21:16 OWNERS.md 21:18:12 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 21 21:16 README.md 21:18:12 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 21:16 VERSION 21:18:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:16 bin 21:18:12 -rw-r--r-- 1 jenkins jenkins 929 Jun 21 21:17 coverage.out 21:18:12 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 21 21:16 go.mod 21:18:12 -rw-rw-r-- 1 jenkins jenkins 30578 Jun 21 21:16 go.sum 21:18:12 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:16 internal 21:18:12 -rw-rw-r-- 1 jenkins jenkins 693 Jun 21 21:16 main.go 21:18:12 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 21 21:16 makefile 21:18:12 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:16 pkg 21:18:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:16 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:13 + 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=a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 --label arch=amd64 --label version=0.0.0 . 21:18:13 Sending build context to Docker daemon 211.5kB 21:18:13 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:18:13 Step 2/26 : FROM ${BASE} AS builder 21:18:13 ---> b07625d45e76 21:18:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:18:13 ---> Running in 9ef4265c7da5 21:18:13 Removing intermediate container 9ef4265c7da5 21:18:13 ---> c594c46cec1d 21:18:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:18:13 ---> Running in 7e719176796e 21:18:13 Removing intermediate container 7e719176796e 21:18:13 ---> 0a52e8063235 21:18:13 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:18:13 ---> Running in 23169bd43aa0 21:18:13 Removing intermediate container 23169bd43aa0 21:18:13 ---> 1bdb31013511 21:18:13 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:13 ---> Running in ba381d811de6 21:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:18:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:18:14 OK: 265 MiB in 53 packages 21:18:14 Removing intermediate container ba381d811de6 21:18:14 ---> d4762c8f840a 21:18:14 Step 7/26 : WORKDIR /app 21:18:14 ---> Running in 05eb7d584912 21:18:14 Removing intermediate container 05eb7d584912 21:18:14 ---> ed5abb11976c 21:18:14 Step 8/26 : COPY go.mod vendor* ./ 21:18:14 ---> 5b703f41ced1 21:18:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:14 ---> Running in d0c38ff8d3e5 21:18:15 Removing intermediate container d0c38ff8d3e5 21:18:15 ---> e42c4715fdc4 21:18:15 Step 10/26 : COPY . . 21:18:15 ---> 0fe50ae76817 21:18:15 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:15 ---> Running in 364faa23a0c1 21:18:15 Removing intermediate container 364faa23a0c1 21:18:15 ---> c4ed2b179b9c 21:18:15 Step 12/26 : RUN $MAKE 21:18:15 ---> Running in b979cecd292f 21:18:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 21:18:21 Removing intermediate container b979cecd292f 21:18:21 ---> 9b4f5608a025 21:18:21 Step 13/26 : FROM alpine:3.17 21:18:21 3.17: Pulling from library/alpine 21:18:21 4db1b89c0bd1: Pulling fs layer 21:18:21 4db1b89c0bd1: Download complete 21:18:21 4db1b89c0bd1: Pull complete 21:18:21 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:18:21 Status: Downloaded newer image for alpine:3.17 21:18:21 ---> 1f73a9d63274 21:18:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:18:21 ---> Running in 46dee6d19b26 21:18:22 Removing intermediate container 46dee6d19b26 21:18:22 ---> 90b9db9e42f1 21:18:22 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:18:22 ---> Running in 78aaddf61f8a 21:18:22 Removing intermediate container 78aaddf61f8a 21:18:22 ---> 462204075c28 21:18:22 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:18:22 ---> Running in 0929fc593f20 21:18:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:18:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:18:22 (1/2) Installing ca-certificates (20230506-r0) 21:18:22 (2/2) Installing dumb-init (1.2.5-r2) 21:18:22 Executing busybox-1.35.0-r29.trigger 21:18:22 Executing ca-certificates-20230506-r0.trigger 21:18:22 OK: 8 MiB in 17 packages 21:18:23 Removing intermediate container 0929fc593f20 21:18:23 ---> 099c6515daa5 21:18:23 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:18:23 ---> 31051b10877e 21:18:23 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:18:23 ---> cee35b32a472 21:18:23 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:18:23 ---> 43499a8facfc 21:18:23 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:18:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19014 in /w/workspace/xfoundry_app-record-replay_PR-23 [Pipeline] { [Pipeline] ws 21:18:23 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 21:18:23 The recommended git tool is: NONE 21:18:23 ---> 91210b6ff80d 21:18:23 Step 21/26 : EXPOSE 59712 21:18:23 ---> Running in 945b569b487c 21:18:23 Removing intermediate container 945b569b487c 21:18:23 ---> c8e1dd6530b9 21:18:23 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:18:23 ---> Running in bfb2e0336285 21:18:23 Removing intermediate container bfb2e0336285 21:18:23 ---> c24fc882bdcf 21:18:23 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:18:23 ---> Running in c6ee7dc549b0 21:18:24 Removing intermediate container c6ee7dc549b0 21:18:24 ---> c479123f2953 21:18:24 Step 24/26 : LABEL arch=amd64 21:18:24 ---> Running in 7ce0d656d7cb 21:18:24 Removing intermediate container 7ce0d656d7cb 21:18:24 ---> 474de8152f4a 21:18:24 Step 25/26 : LABEL git_sha=a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 21:18:24 ---> Running in da0da37a01ee 21:18:24 Removing intermediate container da0da37a01ee 21:18:24 ---> f517889490aa 21:18:24 Step 26/26 : LABEL version=0.0.0 21:18:24 ---> Running in 78052047c872 21:18:24 Removing intermediate container 78052047c872 21:18:24 ---> 71d8a69248a4 21:18:24 [Warning] One or more build-args [ARCH] were not consumed 21:18:24 Successfully built 71d8a69248a4 21:18:24 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:18:24 21:18:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:18:25 latest: Pulling from edgex-lftools-log-publisher 21:18:25 5eb5b503b376: Pulling fs layer 21:18:25 5c69ac0246d0: Pulling fs layer 21:18:25 ec43610c2a17: Pulling fs layer 21:18:25 3a2ae6a8a46f: Pulling fs layer 21:18:25 33b1e0a273af: Pulling fs layer 21:18:25 5d3b04190fa2: Pulling fs layer 21:18:25 2f39f015ded8: Pulling fs layer 21:18:25 2f39f015ded8: Waiting 21:18:25 5d3b04190fa2: Waiting 21:18:25 33b1e0a273af: Waiting 21:18:25 3a2ae6a8a46f: Waiting 21:18:25 5c69ac0246d0: Download complete 21:18:25 3a2ae6a8a46f: Verifying Checksum 21:18:25 3a2ae6a8a46f: Download complete 21:18:25 33b1e0a273af: Verifying Checksum 21:18:25 33b1e0a273af: Download complete 21:18:25 5d3b04190fa2: Verifying Checksum 21:18:25 5d3b04190fa2: Download complete 21:18:25 ec43610c2a17: Download complete 21:18:25 5eb5b503b376: Verifying Checksum 21:18:25 5eb5b503b376: Download complete 21:18:26 2f39f015ded8: Download complete 21:18:26 5eb5b503b376: Pull complete 21:18:26 5c69ac0246d0: Pull complete 21:18:27 ec43610c2a17: Pull complete 21:18:27 3a2ae6a8a46f: Pull complete 21:18:27 33b1e0a273af: Pull complete 21:18:27 5d3b04190fa2: Pull complete 21:18:28 using credential edgex-jenkins-ssh 21:18:28 Cloning the remote Git repository 21:18:28 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 21:18:28 > git init /w/workspace/app-record-replay/2 # timeout=10 21:18:28 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:18:28 > git --version # timeout=10 21:18:28 > git --version # 'git version 2.25.1' 21:18:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:18:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:18:29 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:18:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:18:31 Merging remotes/origin/main commit 868ae31176ae2f0602366e773f44808ef6650730 into PR head commit a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 21:18:30 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:18:30 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:18:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:18:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:18:31 > git config core.sparsecheckout # timeout=10 21:18:31 Merge succeeded, producing a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 21:18:31 Checking out Revision a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 (PR-23) 21:18:31 2f39f015ded8: Pull complete 21:18:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:18:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:18:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:31 prd-ubuntu20.04-docker-8c-8g-19013 does not seem to be running inside a container 21:18:31 $ 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-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:18:31 > git checkout -f a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 # timeout=10 21:18:31 > git remote # timeout=10 21:18:31 > git config --get remote.origin.url # timeout=10 21:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:18:31 > git merge 868ae31176ae2f0602366e773f44808ef6650730 # timeout=10 21:18:31 > git rev-parse HEAD^{commit} # timeout=10 21:18:31 > git config core.sparsecheckout # timeout=10 21:18:31 > git checkout -f a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 # timeout=10 21:18:34 Commit message: "feat: Implement Data Manager interface, stubs and mocks" 21:18:35 21:18:35 GitHub has been notified of this commit’s build result 21:18:35 21:18:35 $ docker top d7f1296b8942828b24b6d1a7a97a84b40f3946eb822d658bdabeb1191005dbaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:35 ---> job-cost.sh 21:18:35 lf-activate-venv: SKIPPING 21:18:35 INFO: No Stack... 21:18:35 INFO: Retrieving Pricing Info for: v3-standard-8 21:18:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:18:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:18:35 Dload Upload Total Spent Left Speed 21:18:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 21:18:36 INFO: Archiving Costs [Pipeline] sh 21:18:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:18:36 + cat /w/workspace/xfoundry_app-record-replay_PR-23/archives/cost.csv 21:18:36 + cut -d, -f6 [Pipeline] lock 21:18:36 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-23-2-stack-cost] 21:18:36 Resource [jenkins-edgexfoundry-app-record-replay-PR-23-2-stack-cost] did not exist. Created. 21:18:36 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-23-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:18:37 + sudo tee /etc/docker/daemon.new 21:18:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:18:37 { 21:18:37 "registry-mirrors": [ 21:18:37 "https://nexus3.edgexfoundry.org:10001" 21:18:37 ], 21:18:37 "bip": "10.250.0.254/24", 21:18:37 "hosts": [ 21:18:37 "tcp://0.0.0.0:5555", 21:18:37 "unix:///var/run/docker.sock" 21:18:37 ], 21:18:37 "mtu": 1458, 21:18:37 "selinux-enabled": true, 21:18:37 "seccomp-profile": "/etc/docker/seccomp.json" 21:18:37 } [Pipeline] sh 21:18:37 + echo total: 0.2199999988079071 [Pipeline] stash 21:18:37 Stashed 1 file(s) [Pipeline] } 21:18:37 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-23-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:18:37 $ docker stop --time=1 d7f1296b8942828b24b6d1a7a97a84b40f3946eb822d658bdabeb1191005dbaf 21:18:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 21:18:38 $ docker rm -f --volumes d7f1296b8942828b24b6d1a7a97a84b40f3946eb822d658bdabeb1191005dbaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:18:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:56 provisioning config files... 21:18:56 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config15585832546189800651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:57 ---> docker-login.sh 21:18:57 nexus3.edgexfoundry.org:10001 21:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:57 Configure a credential helper to remove this warning. See 21:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:57 21:18:57 Login Succeeded 21:18:57 nexus3.edgexfoundry.org:10002 21:18:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:58 Configure a credential helper to remove this warning. See 21:18:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:58 21:18:58 Login Succeeded 21:18:58 nexus3.edgexfoundry.org:10003 21:18:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:58 Configure a credential helper to remove this warning. See 21:18:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:58 21:18:58 Login Succeeded 21:18:58 nexus3.edgexfoundry.org:10004 21:18:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:58 Configure a credential helper to remove this warning. See 21:18:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:58 21:18:58 Login Succeeded 21:18:58 docker.io 21:18:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:59 Configure a credential helper to remove this warning. See 21:18:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:59 21:18:59 Login Succeeded 21:18:59 ---> docker-login.sh ends [Pipeline] } 21:18:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:18:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:18:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:18:59 ========================================================= 21:18:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:18:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:19:00 Sending build context to Docker daemon 108.5kB 21:19:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:19:00 Step 2/12 : FROM ${BASE} AS builder 21:19:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:19:00 c41833b44d91: Pulling fs layer 21:19:00 ed15518f5707: Pulling fs layer 21:19:00 feae8fd75edb: Pulling fs layer 21:19:00 242c74f7c9fa: Pulling fs layer 21:19:00 3cdef696dda3: Pulling fs layer 21:19:00 2ced38df9373: Pulling fs layer 21:19:00 58f1dce35555: Pulling fs layer 21:19:00 2ced38df9373: Waiting 21:19:00 242c74f7c9fa: Waiting 21:19:00 3cdef696dda3: Waiting 21:19:00 58f1dce35555: Waiting 21:19:00 ed15518f5707: Download complete 21:19:00 242c74f7c9fa: Verifying Checksum 21:19:00 242c74f7c9fa: Download complete 21:19:00 3cdef696dda3: Verifying Checksum 21:19:00 3cdef696dda3: Download complete 21:19:00 c41833b44d91: Download complete 21:19:01 c41833b44d91: Pull complete 21:19:01 58f1dce35555: Verifying Checksum 21:19:01 58f1dce35555: Download complete 21:19:02 ed15518f5707: Pull complete 21:19:03 feae8fd75edb: Verifying Checksum 21:19:03 feae8fd75edb: Download complete 21:19:03 2ced38df9373: Download complete 21:19:15 feae8fd75edb: Pull complete 21:19:15 242c74f7c9fa: Pull complete 21:19:15 3cdef696dda3: Pull complete 21:19:20 2ced38df9373: Pull complete 21:19:23 58f1dce35555: Pull complete 21:19:23 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:19:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:19:23 ---> fadd8f120f05 21:19:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:19:24 ---> Running in 5a2cbf0ea696 21:19:25 Removing intermediate container 5a2cbf0ea696 21:19:25 ---> da2844ca7d42 21:19:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:19:25 ---> Running in cf0fec798a76 21:19:25 Removing intermediate container cf0fec798a76 21:19:25 ---> ddd594f5733f 21:19:25 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:19:25 ---> Running in f7ef386bfc5e 21:19:25 Removing intermediate container f7ef386bfc5e 21:19:25 ---> f7b35d5ec108 21:19:25 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:19:25 ---> Running in 01df1631c9a5 21:19:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:19:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:19:28 OK: 263 MiB in 53 packages 21:19:29 Removing intermediate container 01df1631c9a5 21:19:29 ---> 106f946c1598 21:19:29 Step 7/12 : WORKDIR /app 21:19:29 ---> Running in 2243c21a2c83 21:19:29 Removing intermediate container 2243c21a2c83 21:19:29 ---> dc04d6e4c6a6 21:19:29 Step 8/12 : COPY go.mod vendor* ./ 21:19:30 ---> 7e75835ee6d1 21:19:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:19:30 ---> Running in 076da0b60763 21:20:38 Removing intermediate container 076da0b60763 21:20:38 ---> 21654d8451a6 21:20:38 Step 10/12 : COPY . . 21:20:38 ---> ef39e919b625 21:20:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:20:38 ---> Running in 16431d8e9aef 21:20:38 Removing intermediate container 16431d8e9aef 21:20:38 ---> 703f9c877433 21:20:38 Step 12/12 : RUN $MAKE 21:20:38 ---> Running in b126b4e626fd 21:20:38 noop 21:20:38 Removing intermediate container b126b4e626fd 21:20:38 ---> dd980fae5843 21:20:38 Successfully built dd980fae5843 21:20:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:38 + docker inspect -f . ci-base-image-arm64 21:20:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:38 prd-ubuntu20.04-docker-arm64-4c-16g-19014 does not seem to be running inside a container 21:20:38 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:20:40 $ docker top a35377d62e39362d1d373138dd1b2fc5fea57abed8d5e208668f20b0c786d273 -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:40 + go version 21:20:40 go version go1.20.2 linux/arm64 [Pipeline] } 21:20:40 $ docker stop --time=1 a35377d62e39362d1d373138dd1b2fc5fea57abed8d5e208668f20b0c786d273 21:20:42 $ docker rm -f --volumes a35377d62e39362d1d373138dd1b2fc5fea57abed8d5e208668f20b0c786d273 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:42 + docker inspect -f . ci-base-image-arm64 21:20:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:43 prd-ubuntu20.04-docker-arm64-4c-16g-19014 does not seem to be running inside a container 21:20:43 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:20:44 $ docker top afa3f920a9503351d9b8cb5ed13ef4accf7d465a9cd221d59b2c8b8387a58035 -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:44 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 21:20:45 + make test 21:20:45 go test -race -coverprofile=coverage.out ./... 21:21:31 ? github.com/edgexfoundry/app-record-replay [no test files] 21:23:08 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 21:23:08 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:23:08 ok github.com/edgexfoundry/app-record-replay/internal/data 0.196s coverage: 27.3% of statements 21:23:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:23:08 go vet ./... 21:25:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:25:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:25:30 ./bin/test-attribution-txt.sh [Pipeline] echo 21:25:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:25:30 $ docker stop --time=1 afa3f920a9503351d9b8cb5ed13ef4accf7d465a9cd221d59b2c8b8387a58035 21:25:33 $ docker rm -f --volumes afa3f920a9503351d9b8cb5ed13ef4accf7d465a9cd221d59b2c8b8387a58035 [Pipeline] // withDockerContainer [Pipeline] sh 21:25:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:25:34 Warning: overwriting stash ‘coverage-report’ 21:25:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:25:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:25:35 + ls -al . 21:25:35 total 144 21:25:35 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:20 . 21:25:35 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:18 .. 21:25:35 -rw-rw-r-- 1 jenkins jenkins 119 Jun 21 21:18 .dockerignore 21:25:35 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:18 .git 21:25:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:18 .github 21:25:35 -rw-rw-r-- 1 jenkins jenkins 164 Jun 21 21:18 .gitignore 21:25:35 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 21:18 .golangci.yml 21:25:35 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 21 21:18 Attribution.txt 21:25:35 -rw-rw-r-- 1 jenkins jenkins 258 Jun 21 21:18 CHANGELOG.md 21:25:35 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 21 21:18 Dockerfile 21:25:35 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 21:18 GOVERNANCE.md 21:25:35 -rw-rw-r-- 1 jenkins jenkins 681 Jun 21 21:18 Jenkinsfile 21:25:35 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 21:18 LICENSE 21:25:35 -rw-rw-r-- 1 jenkins jenkins 611 Jun 21 21:18 OWNERS.md 21:25:35 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 21 21:18 README.md 21:25:35 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 21:16 VERSION 21:25:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:18 bin 21:25:35 -rw-r--r-- 1 jenkins jenkins 929 Jun 21 21:23 coverage.out 21:25:35 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 21 21:18 go.mod 21:25:35 -rw-rw-r-- 1 jenkins jenkins 30578 Jun 21 21:18 go.sum 21:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:18 internal 21:25:35 -rw-rw-r-- 1 jenkins jenkins 693 Jun 21 21:18 main.go 21:25:35 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 21 21:18 makefile 21:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:18 pkg 21:25:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:18 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:35 + 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=a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 --label arch=arm64 --label version=0.0.0 . 21:25:35 Sending build context to Docker daemon 110.1kB 21:25:36 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:25:36 Step 2/26 : FROM ${BASE} AS builder 21:25:36 ---> dd980fae5843 21:25:36 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:25:36 ---> Running in d9045582d3c3 21:25:36 Removing intermediate container d9045582d3c3 21:25:36 ---> 371cf6c7bb9c 21:25:36 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:25:36 ---> Running in a9325a945a1b 21:25:36 Removing intermediate container a9325a945a1b 21:25:36 ---> 341ea1d36488 21:25:36 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:25:36 ---> Running in e97ddf4b5f1b 21:25:37 Removing intermediate container e97ddf4b5f1b 21:25:37 ---> 831c6b0b73ab 21:25:37 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:25:37 ---> Running in 97e90ca1cd15 21:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:25:39 OK: 263 MiB in 53 packages 21:25:40 Removing intermediate container 97e90ca1cd15 21:25:40 ---> 61bad481a89e 21:25:40 Step 7/26 : WORKDIR /app 21:25:40 ---> Running in 8e82260617e2 21:25:41 Removing intermediate container 8e82260617e2 21:25:41 ---> 390db45916eb 21:25:41 Step 8/26 : COPY go.mod vendor* ./ 21:25:41 ---> 301cbc7f835c 21:25:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:25:41 ---> Running in 66aab69c4b16 21:25:45 Removing intermediate container 66aab69c4b16 21:25:45 ---> 405e278e37c6 21:25:45 Step 10/26 : COPY . . 21:25:45 ---> 0ad084d079a1 21:25:45 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:25:45 ---> Running in 06a7b0c1897c 21:25:45 Removing intermediate container 06a7b0c1897c 21:25:45 ---> 092c1d410e94 21:25:45 Step 12/26 : RUN $MAKE 21:25:46 ---> Running in 29510e55727b 21:25:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 21:26:13 Removing intermediate container 29510e55727b 21:26:13 ---> 4cde3912a81c 21:26:13 Step 13/26 : FROM alpine:3.17 21:26:13 3.17: Pulling from library/alpine 21:26:13 edb6bdbacee9: Pulling fs layer 21:26:13 edb6bdbacee9: Verifying Checksum 21:26:13 edb6bdbacee9: Download complete 21:26:13 edb6bdbacee9: Pull complete 21:26:13 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:26:13 Status: Downloaded newer image for alpine:3.17 21:26:13 ---> 779605e5fbc0 21:26:13 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:26:13 ---> Running in e360fdf9629f 21:26:13 Removing intermediate container e360fdf9629f 21:26:13 ---> 9e21977566dd 21:26:13 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:26:13 ---> Running in e5a1ccf0187f 21:26:14 Removing intermediate container e5a1ccf0187f 21:26:14 ---> 181861ccd00c 21:26:14 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:26:14 ---> Running in 2d76e9557aff 21:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:26:16 (1/2) Installing ca-certificates (20230506-r0) 21:26:16 (2/2) Installing dumb-init (1.2.5-r2) 21:26:16 Executing busybox-1.35.0-r29.trigger 21:26:16 Executing ca-certificates-20230506-r0.trigger 21:26:16 OK: 8 MiB in 17 packages 21:26:18 Removing intermediate container 2d76e9557aff 21:26:18 ---> 00bf7b5c0543 21:26:18 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:26:18 ---> 533151345de0 21:26:18 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:26:18 ---> 3ab4e369837e 21:26:18 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:26:19 ---> 46bd985fffe4 21:26:19 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:26:20 ---> 712f702dec69 21:26:20 Step 21/26 : EXPOSE 59712 21:26:20 ---> Running in d6fdc27f08be 21:26:20 Removing intermediate container d6fdc27f08be 21:26:20 ---> 6322674566cf 21:26:20 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:26:20 ---> Running in b0bb8b327a6e 21:26:20 Removing intermediate container b0bb8b327a6e 21:26:20 ---> 44f043aef0cc 21:26:20 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:26:20 ---> Running in 9ccbc82bb1da 21:26:20 Removing intermediate container 9ccbc82bb1da 21:26:20 ---> c5dc8e6ad2e5 21:26:20 Step 24/26 : LABEL arch=arm64 21:26:21 ---> Running in 038ab777c54b 21:26:21 Removing intermediate container 038ab777c54b 21:26:21 ---> 9605b78c0f73 21:26:21 Step 25/26 : LABEL git_sha=a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9 21:26:21 ---> Running in 9795f423217d 21:26:21 Removing intermediate container 9795f423217d 21:26:21 ---> b9b93763bb2f 21:26:21 Step 26/26 : LABEL version=0.0.0 21:26:21 ---> Running in e3d3f663db94 21:26:21 Removing intermediate container e3d3f663db94 21:26:21 ---> 4c61cf01a335 21:26:21 [Warning] One or more build-args [ARCH] were not consumed 21:26:21 Successfully built 4c61cf01a335 21:26:21 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 21:26:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:26:22 21:26:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:26:22 arm64: Pulling from edgex-lftools-log-publisher 21:26:22 8998bd30e6a1: Pulling fs layer 21:26:22 04944245beec: Pulling fs layer 21:26:22 699f458cf7ca: Pulling fs layer 21:26:22 765212b225bb: Pulling fs layer 21:26:22 f23df028b6ca: Pulling fs layer 21:26:22 d65c8cfc05b1: Pulling fs layer 21:26:22 2437ff75d9bd: Pulling fs layer 21:26:22 f23df028b6ca: Waiting 21:26:22 d65c8cfc05b1: Waiting 21:26:22 2437ff75d9bd: Waiting 21:26:22 765212b225bb: Waiting 21:26:22 04944245beec: Verifying Checksum 21:26:22 04944245beec: Download complete 21:26:22 765212b225bb: Verifying Checksum 21:26:22 765212b225bb: Download complete 21:26:22 f23df028b6ca: Verifying Checksum 21:26:22 f23df028b6ca: Download complete 21:26:22 d65c8cfc05b1: Verifying Checksum 21:26:22 d65c8cfc05b1: Download complete 21:26:22 699f458cf7ca: Verifying Checksum 21:26:22 699f458cf7ca: Download complete 21:26:23 8998bd30e6a1: Verifying Checksum 21:26:23 8998bd30e6a1: Download complete 21:26:25 2437ff75d9bd: Verifying Checksum 21:26:25 2437ff75d9bd: Download complete 21:26:27 8998bd30e6a1: Pull complete 21:26:27 04944245beec: Pull complete 21:26:29 699f458cf7ca: Pull complete 21:26:29 765212b225bb: Pull complete 21:26:30 f23df028b6ca: Pull complete 21:26:30 d65c8cfc05b1: Pull complete 21:26:45 2437ff75d9bd: Pull complete 21:26:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:26:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:26:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:45 prd-ubuntu20.04-docker-arm64-4c-16g-19014 does not seem to be running inside a container 21:26:45 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:26:47 $ docker top 84a8e37dcc40191935980e8ee27ace96afa7048526cad7f71c7c0ec9ef640b82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:48 ---> job-cost.sh 21:26:48 lf-activate-venv: SKIPPING 21:26:48 INFO: No Stack... 21:26:49 INFO: Retrieving Pricing Info for: v3-standard-4 21:26:49 INFO: Archiving Costs [Pipeline] sh 21:26:49 + cut -d, -f6 21:26:49 + cat /w/workspace/app-record-replay/2/archives/cost.csv [Pipeline] lock 21:26:50 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-23-2-stack-cost] 21:26:50 Resource [jenkins-edgexfoundry-app-record-replay-PR-23-2-stack-cost] did not exist. Created. 21:26:50 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-23-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:26:50 /w/workspace/app-record-replay/2@tmp/durable-5f0b9d00/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:26:51 + echo total: 0.10999999940395355 [Pipeline] stash 21:26:51 Warning: overwriting stash ‘stack-cost’ 21:26:51 Stashed 1 file(s) [Pipeline] } 21:26:51 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-23-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:26:51 $ docker stop --time=1 84a8e37dcc40191935980e8ee27ace96afa7048526cad7f71c7c0ec9ef640b82 21:26:54 $ docker rm -f --volumes 84a8e37dcc40191935980e8ee27ace96afa7048526cad7f71c7c0ec9ef640b82 [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 21:26:54 provisioning config files... 21:26:54 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-23 #2 21:26:54 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-23@tmp/config12394136644534067864tmp [Pipeline] { [Pipeline] sh 21:26:54 + set +x 21:26:54 + + bash -s -- 21:26:54 curl -s https://codecov.io/bash 21:26:54 21:26:54 _____ _ 21:26:54 / ____| | | 21:26:54 | | ___ __| | ___ ___ _____ __ 21:26:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:26:54 | |___| (_) | (_| | __/ (_| (_) \ V / 21:26:54 \_____\___/ \__,_|\___|\___\___/ \_/ 21:26:54 Bash-1.0.6 21:26:54 21:26:54 21:26:54 ==> git version 2.25.1 found 21:26:54 ==> 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 21:26:54 Release-Date: 2020-01-08 21:26:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:26:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:26:54 ==> Jenkins CI detected. 21:26:54 current dir:  /w/workspace/xfoundry_app-record-replay_PR-23 21:26:54 project root: . 21:26:54 --> token set from env 21:26:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:26:55 ==> Running gcov in . (disable via -X gcov) 21:26:55 ==> Python coveragepy not found 21:26:55 ==> Searching for coverage reports in: 21:26:55 + . 21:26:55 -> Found 1 reports 21:26:55 ==> Detecting git/mercurial file structure 21:26:55 ==> Reading reports 21:26:55 + ./coverage.out bytes=929 21:26:55 ==> Appending adjustments 21:26:55 https://docs.codecov.io/docs/fixing-reports 21:26:55 + Found adjustments 21:26:55 ==> Gzipping contents 21:26:55 4.0K /tmp/codecov.7GMboH.gz 21:26:55 ==> Uploading reports 21:26:55 url: https://codecov.io 21:26:55 query: branch=PR-23&commit=a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-23%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=23&job=&cmd_args= 21:26:55 -> Pinging Codecov 21:26:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-23&commit=a2dffe4879b8201cfd21ff40402f4ce4a1ed48b9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-23%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=23&job=&cmd_args= 21:28:02  21:28:02 21:28:02 21:28:02 502 Server Error 21:28:02 21:28:02 21:28:02

Error: Server Error

21:28:02

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

21:28:02

21:28:02 21:28:02 21:28:02 21:28:02 21:28:02 502 Server Error 21:28:02 21:28:02 21:28:02

Error: Server Error

21:28:02

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

21:28:02

21:28:02 21:28:02 Invalid request parameters 21:28:02 400 [Pipeline] } 21:28:02 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 21:28:03 + [ -d /w/workspace/xfoundry_app-record-replay_PR-23/archives ] 21:28:03 + ls -al /w/workspace/xfoundry_app-record-replay_PR-23/archives 21:28:03 total 16 21:28:03 drwxr-xr-x 3 root root 4096 Jun 21 21:18 . 21:28:03 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 21:18 .. 21:28:03 drwxr-xr-x 2 root root 4096 Jun 21 21:18 cost 21:28:03 -rw-r--r-- 1 root root 88 Jun 21 21:18 cost.csv 21:28:03 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-23/archives 21:28:03 + ls -al /w/workspace/xfoundry_app-record-replay_PR-23/archives 21:28:03 total 16 21:28:03 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:18 . 21:28:03 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 21:18 .. 21:28:03 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 21:18 cost 21:28:03 -rw-r--r-- 1 jenkins jenkins 88 Jun 21 21:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:28:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:28:04 ---> package-listing.sh 21:28:04 ++ facter osfamily 21:28:04 ++ tr '[:upper:]' '[:lower:]' 21:28:05 + OS_FAMILY=debian 21:28:05 + workspace=/w/workspace/xfoundry_app-record-replay_PR-23 21:28:05 + START_PACKAGES=/tmp/packages_start.txt 21:28:05 + END_PACKAGES=/tmp/packages_end.txt 21:28:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:28:05 + PACKAGES=/tmp/packages_start.txt 21:28:05 + '[' /w/workspace/xfoundry_app-record-replay_PR-23 ']' 21:28:05 + PACKAGES=/tmp/packages_end.txt 21:28:05 + case "${OS_FAMILY}" in 21:28:05 + dpkg -l 21:28:05 + grep '^ii' 21:28:05 + '[' -f /tmp/packages_start.txt ']' 21:28:05 + '[' -f /tmp/packages_end.txt ']' 21:28:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:28:05 + '[' /w/workspace/xfoundry_app-record-replay_PR-23 ']' 21:28:05 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-23/archives/ 21:28:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-23/archives/ [Pipeline] echo 21:28:05 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-23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:28:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:05 prd-ubuntu20.04-docker-8c-8g-19013 does not seem to be running inside a container 21:28:05 $ 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-23/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-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:28:06 $ docker top 016a828a39a3749110d0665adeb4c8a0b7367c486a0564c5da996891fcde4196 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:06 + touch /tmp/pre-build-complete [Pipeline] sh 21:28:06 + mkdir -p /var/log/sysstat [Pipeline] sh 21:28:07 + ls /var/log/sa-host 21:28:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:07 provisioning config files... 21:28:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-23@tmp/config4954764109046119370tmp [Pipeline] { [Pipeline] echo 21:28:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:28:07 ---> create-netrc.sh [Pipeline] } 21:28:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:28:07 ---> python-tools-install.sh [Pipeline] echo 21:28:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:28:08 ---> sudo-logs.sh 21:28:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:28:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:28:08 ---> job-cost.sh 21:28:08 lf-activate-venv: SKIPPING 21:28:08 DEBUG: total: 0.2199999988079071 21:28:08 INFO: Retrieving Stack Cost... 21:28:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:09 INFO: Archiving Costs [Pipeline] echo 21:28:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:28:09 ---> logs-deploy.sh 21:28:09 lf-activate-venv: SKIPPING 21:28:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-23/2 21:28:09 INFO: archiving workspace using pattern(s): 21:28:10 Archives upload complete. 21:28:10 INFO: archiving logs to Nexus