Pull request #66 opened 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 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf+6960fd39a775502fc13f34b863ba7c4a8a33ae9f (38d2e1141df968b741aa08a3c0d5b7ac2b666c87) 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-ssh6821076579387673576.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh14407220755887646673.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-66/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-66/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11743893961231641732.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-66/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh242289314890388281.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8871803682552422594.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-66/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-66/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1365031639998580910.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4317 in /w/workspace/xfoundry_app-record-replay_PR-66 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-66 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6960fd39a775502fc13f34b863ba7c4a8a33ae9f into PR head commit 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf Merge succeeded, producing 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf Checking out Revision 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf (PR-66) > git config core.sparsecheckout # timeout=10 > git checkout -f 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf # 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 6960fd39a775502fc13f34b863ba7c4a8a33ae9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf # timeout=10 Commit message: "fix: Add missing service name to the replay publish topic" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:07:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:07:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:07:02 ========================================================= 00:07:02 EdgeX Global Pipelines Version Info 00:07:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:07:03 ------------------- 00:07:03 stable info: 00:07:03 ------------------- 00:07:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:07:03 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 00:07:03 Message: update stable to v1.0.253 00:07:03 ------------------- 00:07:03 experimental info: 00:07:03 ------------------- 00:07:03 Commited By: **** collab-it+edgex@linuxfoundation.org 00:07:03 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 00:07:03 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:07:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-66 [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-66 [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-66 [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e9e72e [Pipeline] echo 00:07:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:05 provisioning config files... 00:07:05 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-66@tmp/config12321629463010424028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:05 ---> docker-login.sh 00:07:05 nexus3.edgexfoundry.org:10001 00:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:06 Configure a credential helper to remove this warning. See 00:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:06 00:07:06 Login Succeeded 00:07:06 nexus3.edgexfoundry.org:10002 00:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:06 Configure a credential helper to remove this warning. See 00:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:06 00:07:06 Login Succeeded 00:07:06 nexus3.edgexfoundry.org:10003 00:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:06 Configure a credential helper to remove this warning. See 00:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:06 00:07:06 Login Succeeded 00:07:06 nexus3.edgexfoundry.org:10004 00:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:06 Configure a credential helper to remove this warning. See 00:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:06 00:07:06 Login Succeeded 00:07:06 docker.io 00:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:06 Configure a credential helper to remove this warning. See 00:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:06 00:07:06 Login Succeeded 00:07:06 ---> docker-login.sh ends [Pipeline] } 00:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:07:07 + git rev-list -1 --merges 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf~1..9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf [Pipeline] echo 00:07:07 -----------> git rev-list -1 --merges 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf~1..9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf [false] [Pipeline] sh 00:07:08 + git log --format=format:%s -1 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf [Pipeline] echo 00:07:08 ========================================================= 00:07:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:07:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:07:08 + git log --format=format:%s -1 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf [Pipeline] echo 00:07:08 [semverPrep] GIT_COMMIT: 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf, Commit Message: fix: Add missing service name to the replay publish topic [Pipeline] echo 00:07:08 [semverPrep] This is not a build commit. [Pipeline] sh 00:07:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:07:08 + grep -v github /etc/ssh/ssh_known_hosts 00:07:08 + [ -e /tmp/ssh_known_hosts ] 00:07:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:07:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:07:08 + sudo tee -a /etc/ssh/ssh_known_hosts 00:07:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:09 00:07:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:09 0.1.4: Pulling from edgex-devops/py-git-semver 00:07:09 b85a868b505f: Pulling fs layer 00:07:09 e2be974225ed: Pulling fs layer 00:07:09 339a4e72a1f5: Pulling fs layer 00:07:09 988bab9f4d93: Pulling fs layer 00:07:09 1469e6f7b9e6: Pulling fs layer 00:07:09 eaf3925da568: Pulling fs layer 00:07:09 bab4dde63d76: Pulling fs layer 00:07:09 bde34c3a00c8: Pulling fs layer 00:07:09 b352a97aabf1: Pulling fs layer 00:07:09 4872d77fe225: Pulling fs layer 00:07:09 5851b861e8e6: Pulling fs layer 00:07:09 988bab9f4d93: Waiting 00:07:09 1469e6f7b9e6: Waiting 00:07:09 eaf3925da568: Waiting 00:07:09 bab4dde63d76: Waiting 00:07:09 bde34c3a00c8: Waiting 00:07:09 5851b861e8e6: Waiting 00:07:09 b352a97aabf1: Waiting 00:07:09 4872d77fe225: Waiting 00:07:09 e2be974225ed: Verifying Checksum 00:07:09 e2be974225ed: Download complete 00:07:09 988bab9f4d93: Verifying Checksum 00:07:09 988bab9f4d93: Download complete 00:07:10 1469e6f7b9e6: Verifying Checksum 00:07:10 1469e6f7b9e6: Download complete 00:07:10 eaf3925da568: Verifying Checksum 00:07:10 eaf3925da568: Download complete 00:07:10 339a4e72a1f5: Verifying Checksum 00:07:10 339a4e72a1f5: Download complete 00:07:10 bde34c3a00c8: Verifying Checksum 00:07:10 bde34c3a00c8: Download complete 00:07:10 b352a97aabf1: Download complete 00:07:10 4872d77fe225: Verifying Checksum 00:07:10 4872d77fe225: Download complete 00:07:10 5851b861e8e6: Download complete 00:07:10 b85a868b505f: Download complete 00:07:10 bab4dde63d76: Verifying Checksum 00:07:10 bab4dde63d76: Download complete 00:07:11 b85a868b505f: Pull complete 00:07:11 e2be974225ed: Pull complete 00:07:12 339a4e72a1f5: Pull complete 00:07:12 988bab9f4d93: Pull complete 00:07:12 1469e6f7b9e6: Pull complete 00:07:12 eaf3925da568: Pull complete 00:07:14 bab4dde63d76: Pull complete 00:07:14 bde34c3a00c8: Pull complete 00:07:14 b352a97aabf1: Pull complete 00:07:14 4872d77fe225: Pull complete 00:07:14 5851b861e8e6: Pull complete 00:07:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:07:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:14 prd-ubuntu20.04-docker-8c-8g-4317 does not seem to be running inside a container 00:07:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:07:21 $ docker top 080ba154c97679e373755d7e280d019077c95283bef26bb2cfb10bf9b2f157c9 -eo pid,comm 00:07:21 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). 00:07:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:21 [ssh-agent] Looking for ssh-agent implementation... 00:07:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:22 $ docker exec 080ba154c97679e373755d7e280d019077c95283bef26bb2cfb10bf9b2f157c9 ssh-agent 00:07:22 SSH_AUTH_SOCK=/tmp/ssh-wqQ8wpcYLddm/agent.31 00:07:22 SSH_AGENT_PID=37 00:07:22 Running ssh-add (command line suppressed) 00:07:22 Identity added: /w/workspace/xfoundry_app-record-replay_PR-66@tmp/private_key_13254125547316467171.key (/w/workspace/xfoundry_app-record-replay_PR-66@tmp/private_key_13254125547316467171.key) 00:07:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:22 + git tag --points-at HEAD [Pipeline] } 00:07:22 $ docker exec --env ******** --env ******** 080ba154c97679e373755d7e280d019077c95283bef26bb2cfb10bf9b2f157c9 ssh-agent -k 00:07:22 unset SSH_AUTH_SOCK; 00:07:22 unset SSH_AGENT_PID; 00:07:22 echo Agent pid 37 killed; 00:07:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:07:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:22 [ssh-agent] Looking for ssh-agent implementation... 00:07:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:22 $ docker exec 080ba154c97679e373755d7e280d019077c95283bef26bb2cfb10bf9b2f157c9 ssh-agent 00:07:23 SSH_AUTH_SOCK=/tmp/ssh-xSaDFB1dxSpx/agent.69 00:07:23 SSH_AGENT_PID=75 00:07:23 Running ssh-add (command line suppressed) 00:07:23 Identity added: /w/workspace/xfoundry_app-record-replay_PR-66@tmp/private_key_15087092139377520986.key (/w/workspace/xfoundry_app-record-replay_PR-66@tmp/private_key_15087092139377520986.key) 00:07:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:23 + git semver init 00:07:23 2023-08-23 00:07:23,688 [run_init] DEBUG init version:0.0.0 force:False 00:07:23 2023-08-23 00:07:23,688 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-66/.semver 00:07:23 2023-08-23 00:07:23,689 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-66/.semver 00:07:23 2023-08-23 00:07:23,689 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-66/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-66, universal_newlines=False, shell=None, istream=None) 00:07:24 2023-08-23 00:07:24,292 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-66/.git/info/exclude 00:07:24 2023-08-23 00:07:24,292 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-66/.semver/PR-66 with force:False 00:07:24 2023-08-23 00:07:24,292 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-66/.semver/PR-66 00:07:24 2023-08-23 00:07:24,296 [execute] INFO git cat-file --batch-check 00:07:24 2023-08-23 00:07:24,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-66/.semver, universal_newlines=False, shell=None, istream=) 00:07:24 2023-08-23 00:07:24,303 [execute] INFO git cat-file --batch 00:07:24 2023-08-23 00:07:24,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-66/.semver, universal_newlines=False, shell=None, istream=) 00:07:24 2023-08-23 00:07:24,308 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-66/.semver/PR-66 00:07:24 0.0.0 [Pipeline] } 00:07:24 $ docker exec --env ******** --env ******** 080ba154c97679e373755d7e280d019077c95283bef26bb2cfb10bf9b2f157c9 ssh-agent -k 00:07:24 unset SSH_AUTH_SOCK; 00:07:24 unset SSH_AGENT_PID; 00:07:24 echo Agent pid 75 killed; 00:07:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:24 + git semver [Pipeline] } 00:07:25 $ docker stop --time=1 080ba154c97679e373755d7e280d019077c95283bef26bb2cfb10bf9b2f157c9 00:07:26 $ docker rm -f --volumes 080ba154c97679e373755d7e280d019077c95283bef26bb2cfb10bf9b2f157c9 [Pipeline] // withDockerContainer [Pipeline] sh 00:07:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:07:27 Stashed 1 file(s) [Pipeline] echo 00:07:27 [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 00:07:27 provisioning config files... 00:07:27 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-66@tmp/config8109517973190115681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:28 ---> docker-login.sh 00:07:28 nexus3.edgexfoundry.org:10001 00:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:28 Configure a credential helper to remove this warning. See 00:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:28 00:07:28 Login Succeeded 00:07:28 nexus3.edgexfoundry.org:10002 00:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:28 Configure a credential helper to remove this warning. See 00:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:28 00:07:28 Login Succeeded 00:07:28 nexus3.edgexfoundry.org:10003 00:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:28 Configure a credential helper to remove this warning. See 00:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:28 00:07:28 Login Succeeded 00:07:28 nexus3.edgexfoundry.org:10004 00:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:28 Configure a credential helper to remove this warning. See 00:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:28 00:07:28 Login Succeeded 00:07:28 docker.io 00:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:07:28 Configure a credential helper to remove this warning. See 00:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:07:28 00:07:28 Login Succeeded 00:07:28 ---> docker-login.sh ends [Pipeline] } 00:07:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:07:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:07:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:07:28 ========================================================= 00:07:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:07:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:29 + 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 . 00:07:29 Sending build context to Docker daemon 480.3kB 00:07:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:07:29 Step 2/12 : FROM ${BASE} AS builder 00:07:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:07:29 4db1b89c0bd1: Pulling fs layer 00:07:29 6911f1a30b25: Pulling fs layer 00:07:29 e194b8c5c2a9: Pulling fs layer 00:07:29 6863d3e3a2b1: Pulling fs layer 00:07:29 ec0bb842ea78: Pulling fs layer 00:07:29 40a00589a448: Pulling fs layer 00:07:29 6c08303d61cc: Pulling fs layer 00:07:29 798269fcf238: Pulling fs layer 00:07:29 6863d3e3a2b1: Waiting 00:07:29 ec0bb842ea78: Waiting 00:07:29 40a00589a448: Waiting 00:07:29 6c08303d61cc: Waiting 00:07:29 798269fcf238: Waiting 00:07:29 6911f1a30b25: Verifying Checksum 00:07:29 6911f1a30b25: Download complete 00:07:29 6863d3e3a2b1: Verifying Checksum 00:07:29 6863d3e3a2b1: Download complete 00:07:29 ec0bb842ea78: Verifying Checksum 00:07:29 ec0bb842ea78: Download complete 00:07:29 4db1b89c0bd1: Download complete 00:07:29 40a00589a448: Verifying Checksum 00:07:29 40a00589a448: Download complete 00:07:29 4db1b89c0bd1: Pull complete 00:07:29 6911f1a30b25: Pull complete 00:07:30 798269fcf238: Verifying Checksum 00:07:30 798269fcf238: Download complete 00:07:30 e194b8c5c2a9: Verifying Checksum 00:07:30 e194b8c5c2a9: Download complete 00:07:30 6c08303d61cc: Verifying Checksum 00:07:30 6c08303d61cc: Download complete 00:07:33 e194b8c5c2a9: Pull complete 00:07:33 6863d3e3a2b1: Pull complete 00:07:34 ec0bb842ea78: Pull complete 00:07:34 40a00589a448: Pull complete 00:07:37 6c08303d61cc: Pull complete 00:07:37 798269fcf238: Pull complete 00:07:37 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:07:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:07:37 ---> ec979cd7f677 00:07:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:07:42 Still waiting to schedule task 00:07:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:07:47 ---> Running in e466d19e88e5 00:07:47 Removing intermediate container e466d19e88e5 00:07:47 ---> 2ff26fab71a2 00:07:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:07:47 ---> Running in d0f84f6919c5 00:07:47 Removing intermediate container d0f84f6919c5 00:07:47 ---> 2ccc5066fc83 00:07:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:07:47 ---> Running in 8b40e876e107 00:07:47 Removing intermediate container 8b40e876e107 00:07:47 ---> 3d49eb08b0e2 00:07:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:07:47 ---> Running in 67aebac489d9 00:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:07:48 OK: 265 MiB in 53 packages 00:07:48 Removing intermediate container 67aebac489d9 00:07:48 ---> 35e3f5b8e0ab 00:07:48 Step 7/12 : WORKDIR /app 00:07:48 ---> Running in 101cda39c20d 00:07:48 Removing intermediate container 101cda39c20d 00:07:48 ---> 9b00a6d502b7 00:07:48 Step 8/12 : COPY go.mod vendor* ./ 00:07:48 ---> 81ad0e5d501e 00:07:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:07:48 ---> Running in 2c6e06e9d570 00:08:35 Removing intermediate container 2c6e06e9d570 00:08:35 ---> 2810f9fca3f7 00:08:35 Step 10/12 : COPY . . 00:08:35 ---> c4170e6d8cc4 00:08:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:08:35 ---> Running in 6c8727fae3a2 00:08:35 Removing intermediate container 6c8727fae3a2 00:08:35 ---> f7aed56ac146 00:08:35 Step 12/12 : RUN $MAKE 00:08:35 ---> Running in f3586106c16a 00:08:35 noop 00:08:35 Removing intermediate container f3586106c16a 00:08:35 ---> edf240849868 00:08:35 Successfully built edf240849868 00:08:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:36 + docker inspect -f . ci-base-image-x86_64 00:08:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:36 prd-ubuntu20.04-docker-8c-8g-4317 does not seem to be running inside a container 00:08:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@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 ******** ci-base-image-x86_64 cat 00:08:36 $ docker top da1bc5a88acc6eee7cba0df430c9768c5fbdf52b70d429b8c408bea16a681f7c -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:37 + go version 00:08:37 go version go1.20.6 linux/amd64 [Pipeline] } 00:08:37 $ docker stop --time=1 da1bc5a88acc6eee7cba0df430c9768c5fbdf52b70d429b8c408bea16a681f7c 00:08:38 $ docker rm -f --volumes da1bc5a88acc6eee7cba0df430c9768c5fbdf52b70d429b8c408bea16a681f7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:39 + docker inspect -f . ci-base-image-x86_64 00:08:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:39 prd-ubuntu20.04-docker-8c-8g-4317 does not seem to be running inside a container 00:08:39 $ 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-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@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 ******** ci-base-image-x86_64 cat 00:08:40 $ docker top afda1613d075f09128114c67bd49ab4994f7d14b918f2e4808caf4dbd26d204d -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:40 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-66 [Pipeline] fileExists [Pipeline] sh 00:08:40 + make test 00:08:40 go test -race -coverprofile=coverage.out ./... 00:09:02 ? github.com/edgexfoundry/app-record-replay [no test files] 00:09:02 ok github.com/edgexfoundry/app-record-replay/internal/app 0.055s coverage: 88.0% of statements 00:09:02 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 00:09:02 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 00:09:02 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 00:09:06 --- FAIL: TestDataManager_StartReplay_Cancel (0.00s) 00:09:06 --- FAIL: TestDataManager_StartReplay_Cancel/Replay_cancel (0.00s) 00:09:06 panic: 00:09:06 assert: mock: I don't know what to return because the method call was unexpected. 00:09:06 Either do Mock.On("DeviceClient").Return(...) first, or remove the DeviceClient() call. 00:09:06 This method was unexpected: 00:09:06 DeviceClient() 00:09:06 00:09:06 at: [/go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.1.0-dev.19/pkg/interfaces/mocks/ApplicationService.go:212 /w/workspace/xfoundry_app-record-replay_PR-66/internal/application/manager.go:509 /w/workspace/xfoundry_app-record-replay_PR-66/internal/application/manager.go:261 /w/workspace/xfoundry_app-record-replay_PR-66/internal/application/manager_test.go:574] [recovered] 00:09:06 panic: 00:09:06 assert: mock: I don't know what to return because the method call was unexpected. 00:09:06 Either do Mock.On("DeviceClient").Return(...) first, or remove the DeviceClient() call. 00:09:06 This method was unexpected: 00:09:06 DeviceClient() 00:09:06 00:09:06 at: [/go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.1.0-dev.19/pkg/interfaces/mocks/ApplicationService.go:212 /w/workspace/xfoundry_app-record-replay_PR-66/internal/application/manager.go:509 /w/workspace/xfoundry_app-record-replay_PR-66/internal/application/manager.go:261 /w/workspace/xfoundry_app-record-replay_PR-66/internal/application/manager_test.go:574] 00:09:06 00:09:06 goroutine 70 [running]: 00:09:06 testing.tRunner.func1.2({0xe01ea0, 0xc00052bf80}) 00:09:06 /usr/local/go/src/testing/testing.go:1526 +0x372 00:09:06 testing.tRunner.func1() 00:09:06 /usr/local/go/src/testing/testing.go:1529 +0x650 00:09:06 panic({0xe01ea0, 0xc00052bf80}) 00:09:06 /usr/local/go/src/runtime/panic.go:890 +0x263 00:09:06 github.com/stretchr/testify/mock.(*Mock).fail(0xc0004ba640, {0xf37dec, 0xc1}, {0xc00043b480, 0x4, 0x4}) 00:09:06 /go/pkg/mod/github.com/stretchr/testify@v1.8.4/mock/mock.go:332 +0x1db 00:09:06 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0004ba640, {0x1187f46, 0xc}, {0x0, 0x0, 0x0}) 00:09:06 /go/pkg/mod/github.com/stretchr/testify@v1.8.4/mock/mock.go:499 +0x8eb 00:09:06 github.com/stretchr/testify/mock.(*Mock).Called(0x7f7a80c8c6b8?, {0x0, 0x0, 0x0}) 00:09:06 /go/pkg/mod/github.com/stretchr/testify@v1.8.4/mock/mock.go:464 +0x1a5 00:09:06 github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks.(*ApplicationService).DeviceClient(0xc0004ba640) 00:09:06 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.1.0-dev.19/pkg/interfaces/mocks/ApplicationService.go:212 +0x3a 00:09:06 github.com/edgexfoundry/app-record-replay/internal/application.(*dataManager).loadDevices(0xc0000e1680) 00:09:06 /w/workspace/xfoundry_app-record-replay_PR-66/internal/application/manager.go:509 +0x2c2 00:09:06 github.com/edgexfoundry/app-record-replay/internal/application.(*dataManager).StartReplay(0xc0000e1680, {0x52be50?, 0x1?}) 00:09:06 /w/workspace/xfoundry_app-record-replay_PR-66/internal/application/manager.go:261 +0x4d2 00:09:06 github.com/edgexfoundry/app-record-replay/internal/application.TestDataManager_StartReplay_Cancel.func1(0x0?) 00:09:06 /w/workspace/xfoundry_app-record-replay_PR-66/internal/application/manager_test.go:574 +0x988 00:09:06 testing.tRunner(0xc000103380, 0xc00043aec0) 00:09:06 /usr/local/go/src/testing/testing.go:1576 +0x217 00:09:06 created by testing.(*T).Run 00:09:06 /usr/local/go/src/testing/testing.go:1629 +0x806 00:09:06 FAIL github.com/edgexfoundry/app-record-replay/internal/application 5.564s 00:09:06 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.112s coverage: 78.0% of statements 00:09:06 FAIL 00:09:06 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 00:09:06 $ docker stop --time=1 afda1613d075f09128114c67bd49ab4994f7d14b918f2e4808caf4dbd26d204d 00:09:10 $ docker rm -f --volumes afda1613d075f09128114c67bd49ab4994f7d14b918f2e4808caf4dbd26d204d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:11 00:09:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:11 latest: Pulling from edgex-lftools-log-publisher 00:09:11 5eb5b503b376: Pulling fs layer 00:09:11 5c69ac0246d0: Pulling fs layer 00:09:11 ec43610c2a17: Pulling fs layer 00:09:11 3a2ae6a8a46f: Pulling fs layer 00:09:11 33b1e0a273af: Pulling fs layer 00:09:11 5d3b04190fa2: Pulling fs layer 00:09:11 2f39f015ded8: Pulling fs layer 00:09:11 3a2ae6a8a46f: Waiting 00:09:11 33b1e0a273af: Waiting 00:09:11 5d3b04190fa2: Waiting 00:09:11 2f39f015ded8: Waiting 00:09:11 5c69ac0246d0: Verifying Checksum 00:09:11 5c69ac0246d0: Download complete 00:09:11 3a2ae6a8a46f: Verifying Checksum 00:09:11 3a2ae6a8a46f: Download complete 00:09:12 33b1e0a273af: Verifying Checksum 00:09:12 33b1e0a273af: Download complete 00:09:12 5d3b04190fa2: Verifying Checksum 00:09:12 5d3b04190fa2: Download complete 00:09:12 ec43610c2a17: Verifying Checksum 00:09:12 ec43610c2a17: Download complete 00:09:12 5eb5b503b376: Verifying Checksum 00:09:12 5eb5b503b376: Download complete 00:09:12 2f39f015ded8: Verifying Checksum 00:09:12 2f39f015ded8: Download complete 00:09:13 5eb5b503b376: Pull complete 00:09:13 5c69ac0246d0: Pull complete 00:09:13 ec43610c2a17: Pull complete 00:09:13 3a2ae6a8a46f: Pull complete 00:09:13 33b1e0a273af: Pull complete 00:09:14 5d3b04190fa2: Pull complete 00:09:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4318 in /w/workspace/xfoundry_app-record-replay_PR-66 [Pipeline] { [Pipeline] ws 00:09:14 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 00:09:14 Selected Git installation does not exist. Using Default 00:09:14 The recommended git tool is: NONE 00:09:18 2f39f015ded8: Pull complete 00:09:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:09:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:18 prd-ubuntu20.04-docker-8c-8g-4317 does not seem to be running inside a container 00:09:18 $ 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-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:09:19 using credential edgex-jenkins-ssh 00:09:19 Cloning the remote Git repository 00:09:19 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 00:09:19 > git init /w/workspace/app-record-replay/1 # timeout=10 00:09:20 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 00:09:20 > git --version # timeout=10 00:09:20 > git --version # 'git version 2.25.1' 00:09:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:09:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:09:20 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 00:09:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:09:21 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 00:09:21 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 00:09:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:09:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:09:22 Merging remotes/origin/main commit 6960fd39a775502fc13f34b863ba7c4a8a33ae9f into PR head commit 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf 00:09:22 Merge succeeded, producing 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf 00:09:22 Checking out Revision 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf (PR-66) 00:09:22 $ docker top 777af5ab3090594d12044574639160ddbb9a96cee95aac4893e5df0c7b7ad490 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:23 ---> job-cost.sh 00:09:23 lf-activate-venv: SKIPPING 00:09:23 INFO: No Stack... 00:09:22 > git config core.sparsecheckout # timeout=10 00:09:22 > git checkout -f 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf # timeout=10 00:09:22 > git remote # timeout=10 00:09:22 > git config --get remote.origin.url # timeout=10 00:09:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:09:22 > git merge 6960fd39a775502fc13f34b863ba7c4a8a33ae9f # timeout=10 00:09:22 > git rev-parse HEAD^{commit} # timeout=10 00:09:22 > git config core.sparsecheckout # timeout=10 00:09:22 > git checkout -f 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf # timeout=10 00:09:23 INFO: Retrieving Pricing Info for: v3-standard-8 00:09:23 INFO: Archiving Costs [Pipeline] sh 00:09:23 + cat /w/workspace/xfoundry_app-record-replay_PR-66/archives/cost.csv 00:09:23 + cut -d, -f6 [Pipeline] lock 00:09:24 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-66-1-stack-cost] 00:09:24 Resource [jenkins-edgexfoundry-app-record-replay-PR-66-1-stack-cost] did not exist. Created. 00:09:24 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-66-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:09:24 + echo total: 0.2199999988079071 [Pipeline] stash 00:09:24 Stashed 1 file(s) [Pipeline] } 00:09:24 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-66-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:09:24 $ docker stop --time=1 777af5ab3090594d12044574639160ddbb9a96cee95aac4893e5df0c7b7ad490 00:09:25 $ docker rm -f --volumes 777af5ab3090594d12044574639160ddbb9a96cee95aac4893e5df0c7b7ad490 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 00:09:25 Commit message: "fix: Add missing service name to the replay publish topic" [Pipeline] // withEnv [Pipeline] } 00:09:25 > git --version # timeout=10 00:09:25 > git --version # 'git version 2.25.1' 00:09:25 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] // stage [Pipeline] } 00:09:26 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:09:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:09:27 % Total % Received % Xferd Average Speed Time Time Time Current 00:09:27 Dload Upload Total Spent Left Speed 00:09:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68553 0 --:--:-- --:--:-- --:--:-- 68553 [Pipeline] sh 00:09:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:09:28 + sudo tee /etc/docker/daemon.new 00:09:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:09:28 { 00:09:28 "registry-mirrors": [ 00:09:28 "https://nexus3.edgexfoundry.org:10001" 00:09:28 ], 00:09:28 "bip": "10.250.0.254/24", 00:09:28 "hosts": [ 00:09:28 "tcp://0.0.0.0:5555", 00:09:28 "unix:///var/run/docker.sock" 00:09:28 ], 00:09:28 "mtu": 1458, 00:09:28 "selinux-enabled": true, 00:09:28 "seccomp-profile": "/etc/docker/seccomp.json" 00:09:28 } [Pipeline] sh 00:09:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:09:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:47 provisioning config files... 00:09:47 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config11489507464927891934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:47 ---> docker-login.sh 00:09:47 nexus3.edgexfoundry.org:10001 00:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:48 Configure a credential helper to remove this warning. See 00:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:48 00:09:48 Login Succeeded 00:09:48 nexus3.edgexfoundry.org:10002 00:09:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:48 Configure a credential helper to remove this warning. See 00:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:48 00:09:48 Login Succeeded 00:09:48 nexus3.edgexfoundry.org:10003 00:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:49 Configure a credential helper to remove this warning. See 00:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:49 00:09:49 Login Succeeded 00:09:49 nexus3.edgexfoundry.org:10004 00:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:49 Configure a credential helper to remove this warning. See 00:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:49 00:09:49 Login Succeeded 00:09:49 docker.io 00:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:49 Configure a credential helper to remove this warning. See 00:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:49 00:09:49 Login Succeeded 00:09:49 ---> docker-login.sh ends [Pipeline] } 00:09:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:09:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:50 ========================================================= 00:09:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:09:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:50 + 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 . 00:09:52 Sending build context to Docker daemon 218.6kB 00:09:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:09:52 Step 2/12 : FROM ${BASE} AS builder 00:09:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:09:52 edb6bdbacee9: Pulling fs layer 00:09:52 5f9638ab2659: Pulling fs layer 00:09:52 8d51d6327a98: Pulling fs layer 00:09:52 8b374f2dd631: Pulling fs layer 00:09:52 ec14aa9079de: Pulling fs layer 00:09:52 2f466654f4bb: Pulling fs layer 00:09:52 554e91adad29: Pulling fs layer 00:09:52 8b374f2dd631: Waiting 00:09:52 ec14aa9079de: Waiting 00:09:52 2f466654f4bb: Waiting 00:09:52 554e91adad29: Waiting 00:09:52 5f9638ab2659: Verifying Checksum 00:09:52 5f9638ab2659: Download complete 00:09:52 8b374f2dd631: Verifying Checksum 00:09:52 8b374f2dd631: Download complete 00:09:52 edb6bdbacee9: Verifying Checksum 00:09:52 edb6bdbacee9: Download complete 00:09:52 ec14aa9079de: Verifying Checksum 00:09:52 ec14aa9079de: Download complete 00:09:53 edb6bdbacee9: Pull complete 00:09:53 554e91adad29: Verifying Checksum 00:09:53 554e91adad29: Download complete 00:09:54 5f9638ab2659: Pull complete 00:09:54 2f466654f4bb: Verifying Checksum 00:09:54 2f466654f4bb: Download complete 00:09:54 8d51d6327a98: Verifying Checksum 00:09:54 8d51d6327a98: Download complete 00:10:07 8d51d6327a98: Pull complete 00:10:07 8b374f2dd631: Pull complete 00:10:07 ec14aa9079de: Pull complete 00:10:12 2f466654f4bb: Pull complete 00:10:15 554e91adad29: Pull complete 00:10:15 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:10:15 ---> 1e15ea492957 00:10:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:10:16 ---> Running in 4da3d8cfe6f7 00:10:16 Removing intermediate container 4da3d8cfe6f7 00:10:16 ---> 39e0974a4a84 00:10:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:10:17 ---> Running in c66c7d259e66 00:10:17 Removing intermediate container c66c7d259e66 00:10:17 ---> c8fcf3b50ad1 00:10:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:10:17 ---> Running in 72f5a6247928 00:10:17 Removing intermediate container 72f5a6247928 00:10:17 ---> dbf1026c3e4f 00:10:17 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:10:18 ---> Running in 38d07ad4c6fd 00:10:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:10:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:10:21 OK: 263 MiB in 53 packages 00:10:22 Removing intermediate container 38d07ad4c6fd 00:10:22 ---> a6a0ee08825e 00:10:22 Step 7/12 : WORKDIR /app 00:10:22 ---> Running in 6c13257a1996 00:10:22 Removing intermediate container 6c13257a1996 00:10:22 ---> 377bbd31992e 00:10:22 Step 8/12 : COPY go.mod vendor* ./ 00:10:22 ---> f9b260a10c2e 00:10:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:10:23 ---> Running in f7bc206e6e3e 00:11:30 Removing intermediate container f7bc206e6e3e 00:11:30 ---> bc4aa78813c6 00:11:30 Step 10/12 : COPY . . 00:11:30 ---> d835b2ed6415 00:11:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:11:30 ---> Running in 4a2dfc54e74d 00:11:30 Removing intermediate container 4a2dfc54e74d 00:11:30 ---> 04cc8e45d614 00:11:30 Step 12/12 : RUN $MAKE 00:11:30 ---> Running in f08684c705f3 00:11:30 noop 00:11:30 Removing intermediate container f08684c705f3 00:11:30 ---> d6cf67947c14 00:11:30 Successfully built d6cf67947c14 00:11:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:31 + docker inspect -f . ci-base-image-arm64 00:11:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:31 prd-ubuntu20.04-docker-arm64-4c-16g-4318 does not seem to be running inside a container 00:11:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:11:32 $ docker top 00f7a629e4223a95208f6eb11473d0eac9b3191170ced5ea1082f7b65e12e878 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:33 + go version 00:11:33 go version go1.20.6 linux/arm64 [Pipeline] } 00:11:33 $ docker stop --time=1 00f7a629e4223a95208f6eb11473d0eac9b3191170ced5ea1082f7b65e12e878 00:11:35 $ docker rm -f --volumes 00f7a629e4223a95208f6eb11473d0eac9b3191170ced5ea1082f7b65e12e878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:36 + docker inspect -f . ci-base-image-arm64 00:11:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:36 prd-ubuntu20.04-docker-arm64-4c-16g-4318 does not seem to be running inside a container 00:11:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:11:37 $ docker top 7a45f3b273d1e3b99ba29a1822593aa7656148284bf582d1308d6c0a3460e419 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:38 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 00:11:39 + make test 00:11:39 go test -race -coverprofile=coverage.out ./... 00:14:31 ? github.com/edgexfoundry/app-record-replay [no test files] 00:14:31 ok github.com/edgexfoundry/app-record-replay/internal/app 0.238s coverage: 88.0% of statements 00:14:35 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 00:14:35 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 00:14:35 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 00:14:39 --- FAIL: TestDataManager_StartReplay_Cancel (0.00s) 00:14:39 --- FAIL: TestDataManager_StartReplay_Cancel/Replay_cancel (0.00s) 00:14:39 panic: 00:14:39 assert: mock: I don't know what to return because the method call was unexpected. 00:14:39 Either do Mock.On("DeviceClient").Return(...) first, or remove the DeviceClient() call. 00:14:39 This method was unexpected: 00:14:39 DeviceClient() 00:14:39 00:14:39 at: [/go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.1.0-dev.19/pkg/interfaces/mocks/ApplicationService.go:212 /w/workspace/app-record-replay/1/internal/application/manager.go:509 /w/workspace/app-record-replay/1/internal/application/manager.go:261 /w/workspace/app-record-replay/1/internal/application/manager_test.go:574] [recovered] 00:14:39 panic: 00:14:39 assert: mock: I don't know what to return because the method call was unexpected. 00:14:39 Either do Mock.On("DeviceClient").Return(...) first, or remove the DeviceClient() call. 00:14:39 This method was unexpected: 00:14:39 DeviceClient() 00:14:39 00:14:39 at: [/go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.1.0-dev.19/pkg/interfaces/mocks/ApplicationService.go:212 /w/workspace/app-record-replay/1/internal/application/manager.go:509 /w/workspace/app-record-replay/1/internal/application/manager.go:261 /w/workspace/app-record-replay/1/internal/application/manager_test.go:574] 00:14:39 00:14:39 goroutine 80 [running]: 00:14:39 testing.tRunner.func1.2({0x840de0, 0xc0002cb4d0}) 00:14:39 /usr/local/go/src/testing/testing.go:1526 +0x278 00:14:39 testing.tRunner.func1() 00:14:39 /usr/local/go/src/testing/testing.go:1529 +0x448 00:14:39 panic({0x840de0, 0xc0002cb4d0}) 00:14:39 /usr/local/go/src/runtime/panic.go:890 +0x248 00:14:39 github.com/stretchr/testify/mock.(*Mock).fail(0xc00049c910, {0x976f02, 0xc1}, {0xc0003d8780, 0x4, 0x4}) 00:14:39 /go/pkg/mod/github.com/stretchr/testify@v1.8.4/mock/mock.go:332 +0x140 00:14:39 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00049c910, {0xbc6cb9, 0xc}, {0x0, 0x0, 0x0}) 00:14:39 /go/pkg/mod/github.com/stretchr/testify@v1.8.4/mock/mock.go:499 +0x670 00:14:39 github.com/stretchr/testify/mock.(*Mock).Called(0xffffa1d93108?, {0x0, 0x0, 0x0}) 00:14:39 /go/pkg/mod/github.com/stretchr/testify@v1.8.4/mock/mock.go:464 +0x144 00:14:39 github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks.(*ApplicationService).DeviceClient(0xc00049c910) 00:14:39 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.1.0-dev.19/pkg/interfaces/mocks/ApplicationService.go:212 +0x3c 00:14:39 github.com/edgexfoundry/app-record-replay/internal/application.(*dataManager).loadDevices(0xc00009a200) 00:14:39 /w/workspace/app-record-replay/1/internal/application/manager.go:509 +0x214 00:14:39 github.com/edgexfoundry/app-record-replay/internal/application.(*dataManager).StartReplay(0xc00009a200, {0x2cb390?, 0x1?}) 00:14:39 /w/workspace/app-record-replay/1/internal/application/manager.go:261 +0x378 00:14:39 github.com/edgexfoundry/app-record-replay/internal/application.TestDataManager_StartReplay_Cancel.func1(0x0?) 00:14:39 /w/workspace/app-record-replay/1/internal/application/manager_test.go:574 +0x8a8 00:14:39 testing.tRunner(0xc0001cb1e0, 0xc0003d8180) 00:14:39 /usr/local/go/src/testing/testing.go:1576 +0x184 00:14:39 created by testing.(*T).Run 00:14:39 /usr/local/go/src/testing/testing.go:1629 +0x5b8 00:14:39 FAIL github.com/edgexfoundry/app-record-replay/internal/application 5.768s 00:14:39 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.476s coverage: 78.0% of statements 00:14:39 FAIL 00:14:40 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 00:14:40 $ docker stop --time=1 7a45f3b273d1e3b99ba29a1822593aa7656148284bf582d1308d6c0a3460e419 00:14:41 $ docker rm -f --volumes 7a45f3b273d1e3b99ba29a1822593aa7656148284bf582d1308d6c0a3460e419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:14:43 00:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:14:44 arm64: Pulling from edgex-lftools-log-publisher 00:14:44 8998bd30e6a1: Pulling fs layer 00:14:44 04944245beec: Pulling fs layer 00:14:44 699f458cf7ca: Pulling fs layer 00:14:44 765212b225bb: Pulling fs layer 00:14:44 f23df028b6ca: Pulling fs layer 00:14:44 d65c8cfc05b1: Pulling fs layer 00:14:44 2437ff75d9bd: Pulling fs layer 00:14:44 f23df028b6ca: Waiting 00:14:44 765212b225bb: Waiting 00:14:44 d65c8cfc05b1: Waiting 00:14:44 2437ff75d9bd: Waiting 00:14:44 04944245beec: Verifying Checksum 00:14:44 04944245beec: Download complete 00:14:44 765212b225bb: Verifying Checksum 00:14:44 765212b225bb: Download complete 00:14:44 f23df028b6ca: Download complete 00:14:44 d65c8cfc05b1: Download complete 00:14:44 699f458cf7ca: Verifying Checksum 00:14:44 699f458cf7ca: Download complete 00:14:44 8998bd30e6a1: Verifying Checksum 00:14:44 8998bd30e6a1: Download complete 00:14:46 2437ff75d9bd: Verifying Checksum 00:14:46 2437ff75d9bd: Download complete 00:14:48 8998bd30e6a1: Pull complete 00:14:48 04944245beec: Pull complete 00:14:50 699f458cf7ca: Pull complete 00:14:50 765212b225bb: Pull complete 00:14:51 f23df028b6ca: Pull complete 00:14:51 d65c8cfc05b1: Pull complete 00:15:06 2437ff75d9bd: Pull complete 00:15:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:15:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:15:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:06 prd-ubuntu20.04-docker-arm64-4c-16g-4318 does not seem to be running inside a container 00:15:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:15:08 $ docker top 8c2d0864b86e20f58f9eec634ca8f2bdb9d061f556e53a077b333b2f1a9d0175 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:09 ---> job-cost.sh 00:15:09 lf-activate-venv: SKIPPING 00:15:09 INFO: No Stack... 00:15:10 INFO: Retrieving Pricing Info for: v3-standard-4 00:15:11 INFO: Archiving Costs [Pipeline] sh 00:15:11 + cat /w/workspace/app-record-replay/1/archives/cost.csv 00:15:11 + cut -d, -f6 [Pipeline] lock 00:15:11 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-66-1-stack-cost] 00:15:11 Resource [jenkins-edgexfoundry-app-record-replay-PR-66-1-stack-cost] did not exist. Created. 00:15:11 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-66-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:15:12 /w/workspace/app-record-replay/1@tmp/durable-da74a816/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:15:12 + echo total: 0.10999999940395355 [Pipeline] stash 00:15:12 Warning: overwriting stash ‘stack-cost’ 00:15:13 Stashed 1 file(s) [Pipeline] } 00:15:13 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-66-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:15:13 $ docker stop --time=1 8c2d0864b86e20f58f9eec634ca8f2bdb9d061f556e53a077b333b2f1a9d0175 00:15:15 $ docker rm -f --volumes 8c2d0864b86e20f58f9eec634ca8f2bdb9d061f556e53a077b333b2f1a9d0175 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:15:16 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:15:18 + [ -d /w/workspace/xfoundry_app-record-replay_PR-66/archives ] 00:15:18 + ls -al /w/workspace/xfoundry_app-record-replay_PR-66/archives 00:15:18 total 16 00:15:18 drwxr-xr-x 3 root root 4096 Aug 23 00:09 . 00:15:18 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 00:09 .. 00:15:18 drwxr-xr-x 2 root root 4096 Aug 23 00:09 cost 00:15:18 -rw-r--r-- 1 root root 88 Aug 23 00:09 cost.csv 00:15:18 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-66/archives 00:15:18 + ls -al /w/workspace/xfoundry_app-record-replay_PR-66/archives 00:15:18 total 16 00:15:18 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 00:09 . 00:15:18 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 00:09 .. 00:15:18 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 00:09 cost 00:15:18 -rw-r--r-- 1 jenkins jenkins 88 Aug 23 00:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:15:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:15:19 ---> package-listing.sh 00:15:19 ++ facter osfamily 00:15:19 ++ tr '[:upper:]' '[:lower:]' 00:15:19 + OS_FAMILY=debian 00:15:19 + workspace=/w/workspace/xfoundry_app-record-replay_PR-66 00:15:19 + START_PACKAGES=/tmp/packages_start.txt 00:15:19 + END_PACKAGES=/tmp/packages_end.txt 00:15:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:15:19 + PACKAGES=/tmp/packages_start.txt 00:15:19 + '[' /w/workspace/xfoundry_app-record-replay_PR-66 ']' 00:15:19 + PACKAGES=/tmp/packages_end.txt 00:15:19 + case "${OS_FAMILY}" in 00:15:19 + dpkg -l 00:15:19 + grep '^ii' 00:15:19 + '[' -f /tmp/packages_start.txt ']' 00:15:19 + '[' -f /tmp/packages_end.txt ']' 00:15:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:15:19 + '[' /w/workspace/xfoundry_app-record-replay_PR-66 ']' 00:15:19 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-66/archives/ 00:15:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-66/archives/ [Pipeline] echo 00:15:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:15:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:15:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:20 prd-ubuntu20.04-docker-8c-8g-4317 does not seem to be running inside a container 00:15:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-66/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-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@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-lftools-log-publisher:latest cat 00:15:20 $ docker top 02e5aec9c4b05f0cd8d6ba30603dce3c2aa25eddf941837fe2e7d38c99b0206d -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:21 + touch /tmp/pre-build-complete [Pipeline] sh 00:15:21 + mkdir -p /var/log/sysstat [Pipeline] sh 00:15:21 + ls /var/log/sa-host 00:15:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:22 provisioning config files... 00:15:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-66@tmp/config5951944597200128104tmp [Pipeline] { [Pipeline] echo 00:15:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:15:22 ---> create-netrc.sh [Pipeline] } 00:15:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:15:22 ---> python-tools-install.sh [Pipeline] echo 00:15:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:15:23 ---> sudo-logs.sh 00:15:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:15:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:15:23 ---> job-cost.sh 00:15:23 lf-activate-venv: SKIPPING 00:15:23 DEBUG: total: 0.2199999988079071 00:15:23 INFO: Retrieving Stack Cost... 00:15:23 INFO: Retrieving Pricing Info for: v3-standard-8 00:15:24 INFO: Archiving Costs [Pipeline] echo 00:15:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:15:24 ---> logs-deploy.sh 00:15:24 lf-activate-venv: SKIPPING 00:15:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-66/1 00:15:24 INFO: archiving workspace using pattern(s): 00:15:25 Archives upload complete. 00:15:25 INFO: archiving logs to Nexus