Pull request #24 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at f5c7a18031cd417fd66742b551e8281643a7d45d rather than c032ef8f3d14ad4fddb277320d124783b2a53a00 Obtained Jenkinsfile from f5c7a18031cd417fd66742b551e8281643a7d45d 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-ssh6850913212082841072.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-ssh5395075142677604566.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-24/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-24/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13212348627968314636.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-ssh13884178868013390735.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-24/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-24/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13265297546782176788.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-19028’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19029 in /w/workspace/xfoundry_app-record-replay_PR-24 [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-24 # 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 f5c7a18031cd417fd66742b551e8281643a7d45d into PR head commit c032ef8f3d14ad4fddb277320d124783b2a53a00 Merge succeeded, producing c032ef8f3d14ad4fddb277320d124783b2a53a00 Checking out Revision c032ef8f3d14ad4fddb277320d124783b2a53a00 (PR-24) > 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/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c032ef8f3d14ad4fddb277320d124783b2a53a00 # 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 f5c7a18031cd417fd66742b551e8281643a7d45d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c032ef8f3d14ad4fddb277320d124783b2a53a00 # timeout=10 Commit message: "fix: revert Dockerfile and Readme changes" > git rev-list --no-walk 80ac9db7371531022c11b9e0e593d049b62a52c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:40:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:40:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:40:14 ========================================================= 23:40:14 EdgeX Global Pipelines Version Info 23:40:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:40:15 ------------------- 23:40:15 stable info: 23:40:15 ------------------- 23:40:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:40:15 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:40:15 Message: update stable to v1.0.250 23:40:15 ------------------- 23:40:15 experimental info: 23:40:15 ------------------- 23:40:15 Commited By: **** collab-it+edgex@linuxfoundation.org 23:40:15 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:40:15 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:40:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c032ef8f3d14ad4fddb277320d124783b2a53a00 [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c032ef8 [Pipeline] echo 23:40:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:16 provisioning config files... 23:40:16 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config12900270252261811400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:16 ---> docker-login.sh 23:40:16 nexus3.edgexfoundry.org:10001 23:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:17 Configure a credential helper to remove this warning. See 23:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:17 23:40:17 Login Succeeded 23:40:17 nexus3.edgexfoundry.org:10002 23:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:17 Configure a credential helper to remove this warning. See 23:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:17 23:40:17 Login Succeeded 23:40:17 nexus3.edgexfoundry.org:10003 23:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:17 Configure a credential helper to remove this warning. See 23:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:17 23:40:17 Login Succeeded 23:40:17 nexus3.edgexfoundry.org:10004 23:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:17 Configure a credential helper to remove this warning. See 23:40:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:17 23:40:17 Login Succeeded 23:40:17 docker.io 23:40:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:18 Configure a credential helper to remove this warning. See 23:40:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:18 23:40:18 Login Succeeded 23:40:18 ---> docker-login.sh ends [Pipeline] } 23:40:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:40:18 + git rev-list -1 --merges c032ef8f3d14ad4fddb277320d124783b2a53a00~1..c032ef8f3d14ad4fddb277320d124783b2a53a00 [Pipeline] echo 23:40:18 -----------> git rev-list -1 --merges c032ef8f3d14ad4fddb277320d124783b2a53a00~1..c032ef8f3d14ad4fddb277320d124783b2a53a00 c032ef8f3d14ad4fddb277320d124783b2a53a00 [false] [Pipeline] sh 23:40:18 + git log --format=format:%s -1 c032ef8f3d14ad4fddb277320d124783b2a53a00 [Pipeline] echo 23:40:18 ========================================================= 23:40:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:40:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:40:19 + git log --format=format:%s -1 c032ef8f3d14ad4fddb277320d124783b2a53a00 [Pipeline] echo 23:40:19 [semverPrep] GIT_COMMIT: c032ef8f3d14ad4fddb277320d124783b2a53a00, Commit Message: fix: revert Dockerfile and Readme changes [Pipeline] echo 23:40:19 [semverPrep] This is not a build commit. [Pipeline] sh 23:40:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:40:19 + grep -v github /etc/ssh/ssh_known_hosts 23:40:19 + [ -e /tmp/ssh_known_hosts ] 23:40:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:40:19 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 23:40:19 tee -a /etc/ssh/ssh_known_hosts 23:40:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:40:19 23:40:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:40:20 0.1.4: Pulling from edgex-devops/py-git-semver 23:40:20 b85a868b505f: Pulling fs layer 23:40:20 e2be974225ed: Pulling fs layer 23:40:20 339a4e72a1f5: Pulling fs layer 23:40:20 988bab9f4d93: Pulling fs layer 23:40:20 1469e6f7b9e6: Pulling fs layer 23:40:20 eaf3925da568: Pulling fs layer 23:40:20 bab4dde63d76: Pulling fs layer 23:40:20 bde34c3a00c8: Pulling fs layer 23:40:20 b352a97aabf1: Pulling fs layer 23:40:20 4872d77fe225: Pulling fs layer 23:40:20 5851b861e8e6: Pulling fs layer 23:40:20 bab4dde63d76: Waiting 23:40:20 bde34c3a00c8: Waiting 23:40:20 b352a97aabf1: Waiting 23:40:20 4872d77fe225: Waiting 23:40:20 5851b861e8e6: Waiting 23:40:20 988bab9f4d93: Waiting 23:40:20 eaf3925da568: Waiting 23:40:20 e2be974225ed: Download complete 23:40:20 988bab9f4d93: Verifying Checksum 23:40:20 988bab9f4d93: Download complete 23:40:20 339a4e72a1f5: Verifying Checksum 23:40:20 339a4e72a1f5: Download complete 23:40:20 1469e6f7b9e6: Verifying Checksum 23:40:20 1469e6f7b9e6: Download complete 23:40:20 eaf3925da568: Verifying Checksum 23:40:20 eaf3925da568: Download complete 23:40:20 bde34c3a00c8: Verifying Checksum 23:40:20 bde34c3a00c8: Download complete 23:40:20 b352a97aabf1: Verifying Checksum 23:40:20 4872d77fe225: Verifying Checksum 23:40:20 4872d77fe225: Download complete 23:40:20 5851b861e8e6: Download complete 23:40:20 b85a868b505f: Verifying Checksum 23:40:20 b85a868b505f: Download complete 23:40:20 bab4dde63d76: Verifying Checksum 23:40:20 bab4dde63d76: Download complete 23:40:21 b85a868b505f: Pull complete 23:40:21 e2be974225ed: Pull complete 23:40:22 339a4e72a1f5: Pull complete 23:40:22 988bab9f4d93: Pull complete 23:40:22 1469e6f7b9e6: Pull complete 23:40:22 eaf3925da568: Pull complete 23:40:24 bab4dde63d76: Pull complete 23:40:24 bde34c3a00c8: Pull complete 23:40:24 b352a97aabf1: Pull complete 23:40:24 4872d77fe225: Pull complete 23:40:24 5851b861e8e6: Pull complete 23:40:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:40:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:40:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:24 prd-ubuntu20.04-docker-8c-8g-19029 does not seem to be running inside a container 23:40:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@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 23:40:27 $ docker top 42a70a6d9a15487094cc871637b1527823bfd8ac9ae96c2c38f0e9eb71b96a01 -eo pid,comm 23:40:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:40:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:40:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:40:27 [ssh-agent] Looking for ssh-agent implementation... 23:40:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:40:27 $ docker exec 42a70a6d9a15487094cc871637b1527823bfd8ac9ae96c2c38f0e9eb71b96a01 ssh-agent 23:40:27 SSH_AUTH_SOCK=/tmp/ssh-xH5EdbRhzzUn/agent.32 23:40:27 SSH_AGENT_PID=38 23:40:27 Running ssh-add (command line suppressed) 23:40:28 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_15643915404548419140.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_15643915404548419140.key) 23:40:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:28 + git tag --points-at HEAD [Pipeline] } 23:40:28 $ docker exec --env ******** --env ******** 42a70a6d9a15487094cc871637b1527823bfd8ac9ae96c2c38f0e9eb71b96a01 ssh-agent -k 23:40:28 unset SSH_AUTH_SOCK; 23:40:28 unset SSH_AGENT_PID; 23:40:28 echo Agent pid 38 killed; 23:40:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:40:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:40:28 [ssh-agent] Looking for ssh-agent implementation... 23:40:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:40:28 $ docker exec 42a70a6d9a15487094cc871637b1527823bfd8ac9ae96c2c38f0e9eb71b96a01 ssh-agent 23:40:28 SSH_AUTH_SOCK=/tmp/ssh-is4NfEQCw0NZ/agent.70 23:40:28 SSH_AGENT_PID=76 23:40:28 Running ssh-add (command line suppressed) 23:40:28 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_13577973363588132802.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_13577973363588132802.key) 23:40:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:29 + git semver init 23:40:29 2023-06-21 23:40:29,253 [run_init] DEBUG init version:0.0.0 force:False 23:40:29 2023-06-21 23:40:29,253 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-24/.semver 23:40:29 2023-06-21 23:40:29,254 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-24/.semver 23:40:29 2023-06-21 23:40:29,254 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-24/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24, universal_newlines=False, shell=None, istream=None) 23:40:29 2023-06-21 23:40:29,861 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-24/.git/info/exclude 23:40:29 2023-06-21 23:40:29,861 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 with force:False 23:40:29 2023-06-21 23:40:29,861 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 23:40:29 2023-06-21 23:40:29,865 [execute] INFO git cat-file --batch-check 23:40:29 2023-06-21 23:40:29,866 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24/.semver, universal_newlines=False, shell=None, istream=) 23:40:29 2023-06-21 23:40:29,871 [execute] INFO git cat-file --batch 23:40:29 2023-06-21 23:40:29,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24/.semver, universal_newlines=False, shell=None, istream=) 23:40:29 2023-06-21 23:40:29,878 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 23:40:29 0.0.0 [Pipeline] } 23:40:29 $ docker exec --env ******** --env ******** 42a70a6d9a15487094cc871637b1527823bfd8ac9ae96c2c38f0e9eb71b96a01 ssh-agent -k 23:40:30 unset SSH_AUTH_SOCK; 23:40:30 unset SSH_AGENT_PID; 23:40:30 echo Agent pid 76 killed; 23:40:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:40:30 + git semver [Pipeline] } 23:40:30 $ docker stop --time=1 42a70a6d9a15487094cc871637b1527823bfd8ac9ae96c2c38f0e9eb71b96a01 23:40:31 $ docker rm -f --volumes 42a70a6d9a15487094cc871637b1527823bfd8ac9ae96c2c38f0e9eb71b96a01 [Pipeline] // withDockerContainer [Pipeline] sh 23:40:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:40:32 Stashed 1 file(s) [Pipeline] echo 23:40:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:32 provisioning config files... 23:40:32 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config10998221300727132331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:32 ---> docker-login.sh 23:40:32 nexus3.edgexfoundry.org:10001 23:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:32 Configure a credential helper to remove this warning. See 23:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:32 23:40:32 Login Succeeded 23:40:32 nexus3.edgexfoundry.org:10002 23:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:32 Configure a credential helper to remove this warning. See 23:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:32 23:40:32 Login Succeeded 23:40:32 nexus3.edgexfoundry.org:10003 23:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:33 Configure a credential helper to remove this warning. See 23:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:33 23:40:33 Login Succeeded 23:40:33 nexus3.edgexfoundry.org:10004 23:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:33 Configure a credential helper to remove this warning. See 23:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:33 23:40:33 Login Succeeded 23:40:33 docker.io 23:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:33 Configure a credential helper to remove this warning. See 23:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:33 23:40:33 Login Succeeded 23:40:33 ---> docker-login.sh ends [Pipeline] } 23:40:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:33 ========================================================= 23:40:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:40:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:40:33 Sending build context to Docker daemon 237.6kB 23:40:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:40:33 Step 2/12 : FROM ${BASE} AS builder 23:40:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:40:33 f56be85fc22e: Pulling fs layer 23:40:33 85791d961cd3: Pulling fs layer 23:40:33 d694b5ae8c79: Pulling fs layer 23:40:33 9f32a84ed3da: Pulling fs layer 23:40:33 4d19c01a9841: Pulling fs layer 23:40:33 9325e15d5711: Pulling fs layer 23:40:33 556b6ee489ea: Pulling fs layer 23:40:33 c5a4b2cf53e6: Pulling fs layer 23:40:33 c5a4b2cf53e6: Waiting 23:40:33 9325e15d5711: Waiting 23:40:33 9f32a84ed3da: Waiting 23:40:33 4d19c01a9841: Waiting 23:40:33 85791d961cd3: Verifying Checksum 23:40:33 85791d961cd3: Download complete 23:40:33 9f32a84ed3da: Download complete 23:40:33 4d19c01a9841: Download complete 23:40:33 f56be85fc22e: Verifying Checksum 23:40:33 f56be85fc22e: Download complete 23:40:34 9325e15d5711: Verifying Checksum 23:40:34 9325e15d5711: Download complete 23:40:34 f56be85fc22e: Pull complete 23:40:34 85791d961cd3: Pull complete 23:40:34 d694b5ae8c79: Verifying Checksum 23:40:34 d694b5ae8c79: Download complete 23:40:34 c5a4b2cf53e6: Verifying Checksum 23:40:34 c5a4b2cf53e6: Download complete 23:40:34 556b6ee489ea: Verifying Checksum 23:40:34 556b6ee489ea: Download complete 23:40:38 d694b5ae8c79: Pull complete 23:40:38 9f32a84ed3da: Pull complete 23:40:38 4d19c01a9841: Pull complete 23:40:38 9325e15d5711: Pull complete 23:40:40 556b6ee489ea: Pull complete 23:40:41 c5a4b2cf53e6: Pull complete 23:40:41 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:40:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:40:41 ---> c4be618373d6 23:40:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:40:46 ---> Running in edc8a8070f7b 23:40:46 Removing intermediate container edc8a8070f7b 23:40:46 ---> 6f36b4b6250b 23:40:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:40:46 ---> Running in afe3c98b92c9 23:40:46 Removing intermediate container afe3c98b92c9 23:40:46 ---> 3cc4f1d1ddb4 23:40:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:40:46 ---> Running in 5d231cb5da36 23:40:46 Removing intermediate container 5d231cb5da36 23:40:46 ---> 75076b1ff9ef 23:40:46 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:40:46 ---> Running in 039ae0d52f9e 23:40:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:40:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:40:47 OK: 265 MiB in 53 packages 23:40:47 Still waiting to schedule task 23:40:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:40:47 Removing intermediate container 039ae0d52f9e 23:40:47 ---> 5e518bb47131 23:40:47 Step 7/12 : WORKDIR /app 23:40:47 ---> Running in ac755397b8ad 23:40:47 Removing intermediate container ac755397b8ad 23:40:47 ---> 5b56acab83aa 23:40:47 Step 8/12 : COPY go.mod vendor* ./ 23:40:48 ---> 42c2afdddf4a 23:40:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:40:48 ---> Running in f2466ec384fd 23:41:20 Removing intermediate container f2466ec384fd 23:41:20 ---> 40d350584450 23:41:20 Step 10/12 : COPY . . 23:41:20 ---> 2d87c8c82acb 23:41:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:41:20 ---> Running in 213034dd4c17 23:41:20 Removing intermediate container 213034dd4c17 23:41:20 ---> a71328e3aa80 23:41:20 Step 12/12 : RUN $MAKE 23:41:20 ---> Running in 7c62a11ead00 23:41:20 noop 23:41:20 Removing intermediate container 7c62a11ead00 23:41:20 ---> 7831eff91d21 23:41:20 Successfully built 7831eff91d21 23:41:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:20 + docker inspect -f . ci-base-image-x86_64 23:41:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:20 prd-ubuntu20.04-docker-8c-8g-19029 does not seem to be running inside a container 23:41:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@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 23:41:20 $ docker top c5eb683356c249464796572f8955531be18e0033de3b1b0ccfe6ac825c8ef1b9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:21 + go version 23:41:21 go version go1.20.2 linux/amd64 [Pipeline] } 23:41:21 $ docker stop --time=1 c5eb683356c249464796572f8955531be18e0033de3b1b0ccfe6ac825c8ef1b9 23:41:22 $ docker rm -f --volumes c5eb683356c249464796572f8955531be18e0033de3b1b0ccfe6ac825c8ef1b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:22 + docker inspect -f . ci-base-image-x86_64 23:41:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:22 prd-ubuntu20.04-docker-8c-8g-19029 does not seem to be running inside a container 23:41:22 $ 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-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@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 23:41:23 $ docker top 695b49930d785a8c7cc7f5efb73657605324c9c4889bd0b7ec48450c0cc3ae14 -eo pid,comm [Pipeline] { [Pipeline] sh 23:41:23 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] fileExists [Pipeline] sh 23:41:23 + make test 23:41:23 go test -race -coverprofile=coverage.out ./... 23:41:42 ? github.com/edgexfoundry/app-record-replay/config [no test files] 23:41:42 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 23:41:42 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:41:42 --- FAIL: TestCreateAndRunService_GetAppSettingStrings_Failed (0.00s) 23:41:42 panic: 23:41:42 assert: mock: I don't know what to return because the method call was unexpected. 23:41:42 Either do Mock.On("LoadCustomConfig").Return(...) first, or remove the LoadCustomConfig() call. 23:41:42 This method was unexpected: 23:41:42 LoadCustomConfig(*config.ServiceConfig,string) 23:41:42 0: &config.ServiceConfig{AppCustom:config.AppCustomConfig{ResourceNames:"", SomeValue:0, SomeService:config.HostInfo{Host:"", Port:0, Protocol:""}}} 23:41:42 1: "AppCustom" 23:41:42 at: [/go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0/pkg/interfaces/mocks/ApplicationService.go:327 /w/workspace/xfoundry_app-record-replay_PR-24/main.go:56 /w/workspace/xfoundry_app-record-replay_PR-24/main_test.go:94] [recovered] 23:41:42 panic: 23:41:42 assert: mock: I don't know what to return because the method call was unexpected. 23:41:42 Either do Mock.On("LoadCustomConfig").Return(...) first, or remove the LoadCustomConfig() call. 23:41:42 This method was unexpected: 23:41:42 LoadCustomConfig(*config.ServiceConfig,string) 23:41:42 0: &config.ServiceConfig{AppCustom:config.AppCustomConfig{ResourceNames:"", SomeValue:0, SomeService:config.HostInfo{Host:"", Port:0, Protocol:""}}} 23:41:42 1: "AppCustom" 23:41:42 at: [/go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0/pkg/interfaces/mocks/ApplicationService.go:327 /w/workspace/xfoundry_app-record-replay_PR-24/main.go:56 /w/workspace/xfoundry_app-record-replay_PR-24/main_test.go:94] 23:41:42 23:41:42 goroutine 6 [running]: 23:41:42 testing.tRunner.func1.2({0xd6f3a0, 0xc0004e5370}) 23:41:42 /usr/local/go/src/testing/testing.go:1526 +0x372 23:41:42 testing.tRunner.func1() 23:41:42 /usr/local/go/src/testing/testing.go:1529 +0x650 23:41:42 panic({0xd6f3a0, 0xc0004e5370}) 23:41:42 /usr/local/go/src/runtime/panic.go:890 +0x263 23:41:42 github.com/stretchr/testify/mock.(*Mock).fail(0xc0004819a0, {0xe990f2, 0xc1}, {0xc000503540, 0x4, 0x4}) 23:41:42 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:328 +0x1db 23:41:42 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0004819a0, {0x1093139, 0x10}, {0xc0004d07e0, 0x2, 0x2}) 23:41:42 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:491 +0x8eb 23:41:42 github.com/stretchr/testify/mock.(*Mock).Called(0xe71162?, {0xc0004d07e0, 0x2, 0x2}) 23:41:42 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:456 +0x1a5 23:41:42 github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks.(*ApplicationService).LoadCustomConfig(0xc0004819a0, {0xf8c860?, 0xc000503300}, {0xe71162, 0x9}) 23:41:42 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0/pkg/interfaces/mocks/ApplicationService.go:327 +0x15c 23:41:42 github.com/edgexfoundry/app-record-replay.(*myApp).CreateAndRunAppService(0xc0000a7e70, {0xe6f1d9, 0x7}, 0xc000073e50) 23:41:42 /w/workspace/xfoundry_app-record-replay_PR-24/main.go:56 +0x2c6 23:41:42 github.com/edgexfoundry/app-record-replay.TestCreateAndRunService_GetAppSettingStrings_Failed(0x0?) 23:41:42 /w/workspace/xfoundry_app-record-replay_PR-24/main_test.go:94 +0xa6 23:41:42 testing.tRunner(0xc0005101a0, 0xeb9448) 23:41:42 /usr/local/go/src/testing/testing.go:1576 +0x217 23:41:42 created by testing.(*T).Run 23:41:42 /usr/local/go/src/testing/testing.go:1629 +0x806 23:41:42 FAIL github.com/edgexfoundry/app-record-replay 0.040s 23:41:42 ok github.com/edgexfoundry/app-record-replay/internal/data 0.052s coverage: 27.3% of statements 23:41:42 FAIL 23:41:42 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 23:41:42 $ docker stop --time=1 695b49930d785a8c7cc7f5efb73657605324c9c4889bd0b7ec48450c0cc3ae14 23:41:46 $ docker rm -f --volumes 695b49930d785a8c7cc7f5efb73657605324c9c4889bd0b7ec48450c0cc3ae14 [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 23:41:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:46 23:41:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:46 latest: Pulling from edgex-lftools-log-publisher 23:41:46 5eb5b503b376: Pulling fs layer 23:41:46 5c69ac0246d0: Pulling fs layer 23:41:46 ec43610c2a17: Pulling fs layer 23:41:46 3a2ae6a8a46f: Pulling fs layer 23:41:46 33b1e0a273af: Pulling fs layer 23:41:46 5d3b04190fa2: Pulling fs layer 23:41:46 2f39f015ded8: Pulling fs layer 23:41:46 33b1e0a273af: Waiting 23:41:46 2f39f015ded8: Waiting 23:41:46 5d3b04190fa2: Waiting 23:41:46 5c69ac0246d0: Download complete 23:41:46 3a2ae6a8a46f: Download complete 23:41:47 33b1e0a273af: Verifying Checksum 23:41:47 33b1e0a273af: Download complete 23:41:47 ec43610c2a17: Verifying Checksum 23:41:47 ec43610c2a17: Download complete 23:41:47 5d3b04190fa2: Verifying Checksum 23:41:47 5d3b04190fa2: Download complete 23:41:47 5eb5b503b376: Verifying Checksum 23:41:47 5eb5b503b376: Download complete 23:41:47 2f39f015ded8: Verifying Checksum 23:41:47 2f39f015ded8: Download complete 23:41:48 5eb5b503b376: Pull complete 23:41:48 5c69ac0246d0: Pull complete 23:41:48 ec43610c2a17: Pull complete 23:41:48 3a2ae6a8a46f: Pull complete 23:41:48 33b1e0a273af: Pull complete 23:41:49 5d3b04190fa2: Pull complete 23:41:53 2f39f015ded8: Pull complete 23:41:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:53 prd-ubuntu20.04-docker-8c-8g-19029 does not seem to be running inside a container 23:41:53 $ 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-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@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 23:41:57 $ docker top ccdde5c819484013a1066593d7978b7f9159544fab6a9985ae2b764d996aec05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:57 ---> job-cost.sh 23:41:57 lf-activate-venv: SKIPPING 23:41:57 INFO: No Stack... 23:41:57 INFO: Retrieving Pricing Info for: v3-standard-8 23:41:58 INFO: Archiving Costs [Pipeline] sh 23:41:58 + cat /w/workspace/xfoundry_app-record-replay_PR-24/archives/cost.csv 23:41:58 + cut -d, -f6 [Pipeline] lock 23:41:58 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-24-4-stack-cost] 23:41:58 Resource [jenkins-edgexfoundry-app-record-replay-PR-24-4-stack-cost] did not exist. Created. 23:41:58 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-24-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:41:58 + echo total: 0.2199999988079071 [Pipeline] stash 23:41:58 Stashed 1 file(s) [Pipeline] } 23:41:58 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-24-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:41:58 $ docker stop --time=1 ccdde5c819484013a1066593d7978b7f9159544fab6a9985ae2b764d996aec05 23:41:59 $ docker rm -f --volumes ccdde5c819484013a1066593d7978b7f9159544fab6a9985ae2b764d996aec05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:42:00 Failed in branch amd64 23:42:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19030 in /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] { [Pipeline] ws 23:42:14 Running in /w/workspace/app-record-replay/4 [Pipeline] { [Pipeline] checkout 23:42:14 Selected Git installation does not exist. Using Default 23:42:14 The recommended git tool is: NONE 23:42:19 using credential edgex-jenkins-ssh 23:42:19 Cloning the remote Git repository 23:42:19 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:42:19 > git init /w/workspace/app-record-replay/4 # timeout=10 23:42:19 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:42:19 > git --version # timeout=10 23:42:19 > git --version # 'git version 2.25.1' 23:42:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:20 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:42:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:21 Merging remotes/origin/main commit f5c7a18031cd417fd66742b551e8281643a7d45d into PR head commit c032ef8f3d14ad4fddb277320d124783b2a53a00 23:42:21 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:42:21 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:42:21 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:42:21 > git config core.sparsecheckout # timeout=10 23:42:21 > git checkout -f c032ef8f3d14ad4fddb277320d124783b2a53a00 # timeout=10 23:42:22 Merge succeeded, producing c032ef8f3d14ad4fddb277320d124783b2a53a00 23:42:22 Checking out Revision c032ef8f3d14ad4fddb277320d124783b2a53a00 (PR-24) 23:42:22 > git remote # timeout=10 23:42:22 > git config --get remote.origin.url # timeout=10 23:42:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:22 > git merge f5c7a18031cd417fd66742b551e8281643a7d45d # timeout=10 23:42:22 > git rev-parse HEAD^{commit} # timeout=10 23:42:22 > git config core.sparsecheckout # timeout=10 23:42:22 > git checkout -f c032ef8f3d14ad4fddb277320d124783b2a53a00 # timeout=10 23:42:25 Commit message: "fix: revert Dockerfile and Readme changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:42:26 % Total % Received % Xferd Average Speed Time Time Time Current 23:42:26 Dload Upload Total Spent Left Speed 23:42:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh 23:42:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:42:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:42:27 + sudo tee /etc/docker/daemon.new 23:42:27 { 23:42:27 "registry-mirrors": [ 23:42:27 "https://nexus3.edgexfoundry.org:10001" 23:42:27 ], 23:42:27 "bip": "10.250.0.254/24", 23:42:27 "hosts": [ 23:42:27 "tcp://0.0.0.0:5555", 23:42:27 "unix:///var/run/docker.sock" 23:42:27 ], 23:42:27 "mtu": 1458, 23:42:27 "selinux-enabled": true, 23:42:27 "seccomp-profile": "/etc/docker/seccomp.json" 23:42:27 } [Pipeline] sh 23:42:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:42:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:46 provisioning config files... 23:42:46 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/4@tmp/config6477181637968898861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:46 ---> docker-login.sh 23:42:46 nexus3.edgexfoundry.org:10001 23:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:47 Configure a credential helper to remove this warning. See 23:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:47 23:42:47 Login Succeeded 23:42:47 nexus3.edgexfoundry.org:10002 23:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:47 Configure a credential helper to remove this warning. See 23:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:47 23:42:47 Login Succeeded 23:42:47 nexus3.edgexfoundry.org:10003 23:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:47 Configure a credential helper to remove this warning. See 23:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:47 23:42:47 Login Succeeded 23:42:47 nexus3.edgexfoundry.org:10004 23:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:48 Configure a credential helper to remove this warning. See 23:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:48 23:42:48 Login Succeeded 23:42:48 docker.io 23:42:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:48 Configure a credential helper to remove this warning. See 23:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:48 23:42:48 Login Succeeded 23:42:48 ---> docker-login.sh ends [Pipeline] } 23:42:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:48 ========================================================= 23:42:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:42:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:49 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:42:49 Sending build context to Docker daemon 127.5kB 23:42:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:42:49 Step 2/12 : FROM ${BASE} AS builder 23:42:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:42:49 c41833b44d91: Pulling fs layer 23:42:49 ed15518f5707: Pulling fs layer 23:42:49 feae8fd75edb: Pulling fs layer 23:42:49 242c74f7c9fa: Pulling fs layer 23:42:49 3cdef696dda3: Pulling fs layer 23:42:49 2ced38df9373: Pulling fs layer 23:42:49 58f1dce35555: Pulling fs layer 23:42:49 242c74f7c9fa: Waiting 23:42:49 3cdef696dda3: Waiting 23:42:49 2ced38df9373: Waiting 23:42:49 58f1dce35555: Waiting 23:42:49 ed15518f5707: Verifying Checksum 23:42:49 ed15518f5707: Download complete 23:42:49 242c74f7c9fa: Verifying Checksum 23:42:49 242c74f7c9fa: Download complete 23:42:49 3cdef696dda3: Verifying Checksum 23:42:49 3cdef696dda3: Download complete 23:42:49 c41833b44d91: Download complete 23:42:50 c41833b44d91: Pull complete 23:42:50 58f1dce35555: Verifying Checksum 23:42:50 58f1dce35555: Download complete 23:42:51 ed15518f5707: Pull complete 23:42:52 feae8fd75edb: Verifying Checksum 23:42:52 feae8fd75edb: Download complete 23:42:52 2ced38df9373: Verifying Checksum 23:42:52 2ced38df9373: Download complete 23:43:04 feae8fd75edb: Pull complete 23:43:04 242c74f7c9fa: Pull complete 23:43:04 3cdef696dda3: Pull complete 23:43:09 2ced38df9373: Pull complete 23:43:12 58f1dce35555: Pull complete 23:43:12 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:43:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:43:12 ---> fadd8f120f05 23:43:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:43:13 ---> Running in 6fbd1f1b5378 23:43:14 Removing intermediate container 6fbd1f1b5378 23:43:14 ---> bd8655674912 23:43:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:43:14 ---> Running in 88e0c79efa52 23:43:14 Removing intermediate container 88e0c79efa52 23:43:14 ---> 66bcca79c7e5 23:43:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:43:14 ---> Running in cd5d00c5571d 23:43:14 Removing intermediate container cd5d00c5571d 23:43:14 ---> 1b25c4db74dd 23:43:14 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:43:14 ---> Running in dd0082f14c64 23:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:43:17 OK: 263 MiB in 53 packages 23:43:18 Removing intermediate container dd0082f14c64 23:43:18 ---> d4e756a14bf9 23:43:18 Step 7/12 : WORKDIR /app 23:43:18 ---> Running in 8258755adb5c 23:43:18 Removing intermediate container 8258755adb5c 23:43:18 ---> a5c4a00a5a75 23:43:18 Step 8/12 : COPY go.mod vendor* ./ 23:43:19 ---> 316891937d36 23:43:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:19 ---> Running in c973b793e30d 23:44:15 Removing intermediate container c973b793e30d 23:44:15 ---> 9fb603705374 23:44:15 Step 10/12 : COPY . . 23:44:15 ---> 03ba78301bf4 23:44:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:44:15 ---> Running in c4c8bc5f401c 23:44:16 Removing intermediate container c4c8bc5f401c 23:44:16 ---> 22d136d59052 23:44:16 Step 12/12 : RUN $MAKE 23:44:16 ---> Running in 82cb2985dcf1 23:44:17 noop 23:44:17 Removing intermediate container 82cb2985dcf1 23:44:17 ---> 28d637093506 23:44:17 Successfully built 28d637093506 23:44:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:21 + docker inspect -f . ci-base-image-arm64 23:44:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:21 prd-ubuntu20.04-docker-arm64-4c-16g-19030 does not seem to be running inside a container 23:44:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:44:23 $ docker top 116e35f7c9a90e094327adae871212fd0ce4bbf8144adbecb9757a7d90893fad -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:23 + go version 23:44:23 go version go1.20.2 linux/arm64 [Pipeline] } 23:44:23 $ docker stop --time=1 116e35f7c9a90e094327adae871212fd0ce4bbf8144adbecb9757a7d90893fad 23:44:25 $ docker rm -f --volumes 116e35f7c9a90e094327adae871212fd0ce4bbf8144adbecb9757a7d90893fad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:26 + docker inspect -f . ci-base-image-arm64 23:44:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:26 prd-ubuntu20.04-docker-arm64-4c-16g-19030 does not seem to be running inside a container 23:44:26 $ 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/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:44:27 $ docker top 64e8e3945eb31fe2381ac88533a7d5fb251ea5dc0a7d08bea86976e64b97bc97 -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:27 + git config --global --add safe.directory /w/workspace/app-record-replay/4 [Pipeline] fileExists [Pipeline] sh 23:44:28 + make test 23:44:28 go test -race -coverprofile=coverage.out ./... 23:47:19 ? github.com/edgexfoundry/app-record-replay/config [no test files] 23:47:19 --- FAIL: TestCreateAndRunService_GetAppSettingStrings_Failed (0.01s) 23:47:19 panic: 23:47:19 assert: mock: I don't know what to return because the method call was unexpected. 23:47:19 Either do Mock.On("LoadCustomConfig").Return(...) first, or remove the LoadCustomConfig() call. 23:47:19 This method was unexpected: 23:47:19 LoadCustomConfig(*config.ServiceConfig,string) 23:47:19 0: &config.ServiceConfig{AppCustom:config.AppCustomConfig{ResourceNames:"", SomeValue:0, SomeService:config.HostInfo{Host:"", Port:0, Protocol:""}}} 23:47:19 1: "AppCustom" 23:47:19 at: [/go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0/pkg/interfaces/mocks/ApplicationService.go:327 /w/workspace/app-record-replay/4/main.go:56 /w/workspace/app-record-replay/4/main_test.go:94] [recovered] 23:47:19 panic: 23:47:19 assert: mock: I don't know what to return because the method call was unexpected. 23:47:19 Either do Mock.On("LoadCustomConfig").Return(...) first, or remove the LoadCustomConfig() call. 23:47:19 This method was unexpected: 23:47:19 LoadCustomConfig(*config.ServiceConfig,string) 23:47:19 0: &config.ServiceConfig{AppCustom:config.AppCustomConfig{ResourceNames:"", SomeValue:0, SomeService:config.HostInfo{Host:"", Port:0, Protocol:""}}} 23:47:19 1: "AppCustom" 23:47:19 at: [/go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0/pkg/interfaces/mocks/ApplicationService.go:327 /w/workspace/app-record-replay/4/main.go:56 /w/workspace/app-record-replay/4/main_test.go:94] 23:47:19 23:47:19 goroutine 8 [running]: 23:47:19 testing.tRunner.func1.2({0x7be2e0, 0xc0004a6120}) 23:47:19 /usr/local/go/src/testing/testing.go:1526 +0x278 23:47:19 testing.tRunner.func1() 23:47:19 /usr/local/go/src/testing/testing.go:1529 +0x448 23:47:19 panic({0x7be2e0, 0xc0004a6120}) 23:47:19 /usr/local/go/src/runtime/panic.go:890 +0x248 23:47:19 github.com/stretchr/testify/mock.(*Mock).fail(0xc00040c000, {0x8e7dcc, 0xc1}, {0xc0004be140, 0x4, 0x4}) 23:47:19 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:328 +0x140 23:47:19 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc00040c000, {0xae19da, 0x10}, {0xc00041c0c0, 0x2, 0x2}) 23:47:19 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:491 +0x670 23:47:19 github.com/stretchr/testify/mock.(*Mock).Called(0x8bfeaa?, {0xc00041c0c0, 0x2, 0x2}) 23:47:19 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:456 +0x144 23:47:19 github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks.(*ApplicationService).LoadCustomConfig(0xc00040c000, {0x9dd380?, 0xc000412380}, {0x8bfeaa, 0x9}) 23:47:19 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0/pkg/interfaces/mocks/ApplicationService.go:327 +0x114 23:47:19 github.com/edgexfoundry/app-record-replay.(*myApp).CreateAndRunAppService(0xc00009de60, {0x8bdedb, 0x7}, 0xc00005de40) 23:47:19 /w/workspace/app-record-replay/4/main.go:56 +0x234 23:47:19 github.com/edgexfoundry/app-record-replay.TestCreateAndRunService_GetAppSettingStrings_Failed(0x0?) 23:47:19 /w/workspace/app-record-replay/4/main_test.go:94 +0x7c 23:47:19 testing.tRunner(0xc0003fe1a0, 0x907f90) 23:47:19 /usr/local/go/src/testing/testing.go:1576 +0x184 23:47:19 created by testing.(*T).Run 23:47:19 /usr/local/go/src/testing/testing.go:1629 +0x5b8 23:47:19 FAIL github.com/edgexfoundry/app-record-replay 0.255s 23:47:19 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 23:47:19 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:47:19 ok github.com/edgexfoundry/app-record-replay/internal/data 0.224s coverage: 27.3% of statements 23:47:19 FAIL 23:47:19 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 23:47:19 $ docker stop --time=1 64e8e3945eb31fe2381ac88533a7d5fb251ea5dc0a7d08bea86976e64b97bc97 23:47:21 $ docker rm -f --volumes 64e8e3945eb31fe2381ac88533a7d5fb251ea5dc0a7d08bea86976e64b97bc97 [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 23:47:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:23 23:47:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:23 arm64: Pulling from edgex-lftools-log-publisher 23:47:23 8998bd30e6a1: Pulling fs layer 23:47:23 04944245beec: Pulling fs layer 23:47:23 699f458cf7ca: Pulling fs layer 23:47:23 765212b225bb: Pulling fs layer 23:47:23 f23df028b6ca: Pulling fs layer 23:47:23 d65c8cfc05b1: Pulling fs layer 23:47:23 2437ff75d9bd: Pulling fs layer 23:47:23 765212b225bb: Waiting 23:47:23 f23df028b6ca: Waiting 23:47:23 d65c8cfc05b1: Waiting 23:47:23 2437ff75d9bd: Waiting 23:47:23 04944245beec: Verifying Checksum 23:47:23 04944245beec: Download complete 23:47:23 765212b225bb: Verifying Checksum 23:47:23 765212b225bb: Download complete 23:47:23 f23df028b6ca: Verifying Checksum 23:47:23 f23df028b6ca: Download complete 23:47:23 d65c8cfc05b1: Verifying Checksum 23:47:23 d65c8cfc05b1: Download complete 23:47:24 699f458cf7ca: Verifying Checksum 23:47:24 699f458cf7ca: Download complete 23:47:24 8998bd30e6a1: Verifying Checksum 23:47:24 8998bd30e6a1: Download complete 23:47:26 2437ff75d9bd: Download complete 23:47:29 8998bd30e6a1: Pull complete 23:47:29 04944245beec: Pull complete 23:47:31 699f458cf7ca: Pull complete 23:47:32 765212b225bb: Pull complete 23:47:34 f23df028b6ca: Pull complete 23:47:35 d65c8cfc05b1: Pull complete 23:47:53 2437ff75d9bd: Pull complete 23:47:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:47:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:47:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:47:53 prd-ubuntu20.04-docker-arm64-4c-16g-19030 does not seem to be running inside a container 23:47:53 $ 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/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:47:55 $ docker top 5924e9038540591705872f682ddfd8988a6077052d051768cbb0d8ceae3be8a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:56 ---> job-cost.sh 23:47:56 lf-activate-venv: SKIPPING 23:47:56 INFO: No Stack... 23:47:56 INFO: Retrieving Pricing Info for: v3-standard-4 23:47:57 INFO: Archiving Costs [Pipeline] sh 23:47:58 + cut -d, -f6 23:47:58 + cat /w/workspace/app-record-replay/4/archives/cost.csv [Pipeline] lock 23:47:58 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-24-4-stack-cost] 23:47:58 Resource [jenkins-edgexfoundry-app-record-replay-PR-24-4-stack-cost] did not exist. Created. 23:47:58 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-24-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:47:59 /w/workspace/app-record-replay/4@tmp/durable-e0520bc5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:47:59 + echo total: 0.10999999940395355 [Pipeline] stash 23:47:59 Warning: overwriting stash ‘stack-cost’ 23:48:00 Stashed 1 file(s) [Pipeline] } 23:48:00 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-24-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:48:00 $ docker stop --time=1 5924e9038540591705872f682ddfd8988a6077052d051768cbb0d8ceae3be8a8 23:48:01 $ docker rm -f --volumes 5924e9038540591705872f682ddfd8988a6077052d051768cbb0d8ceae3be8a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:48:02 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 23:48:02 + [ -d /w/workspace/xfoundry_app-record-replay_PR-24/archives ] 23:48:02 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 23:48:02 total 16 23:48:02 drwxr-xr-x 3 root root 4096 Jun 21 23:41 . 23:48:02 drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 23:41 .. 23:48:02 drwxr-xr-x 2 root root 4096 Jun 21 23:41 cost 23:48:02 -rw-r--r-- 1 root root 88 Jun 21 23:41 cost.csv 23:48:02 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-24/archives 23:48:02 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 23:48:02 total 16 23:48:02 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 23:41 . 23:48:02 drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 23:41 .. 23:48:02 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 23:41 cost 23:48:02 -rw-r--r-- 1 jenkins jenkins 88 Jun 21 23:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:48:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:48:03 ---> package-listing.sh 23:48:03 ++ facter osfamily 23:48:03 ++ tr '[:upper:]' '[:lower:]' 23:48:04 + OS_FAMILY=debian 23:48:04 + workspace=/w/workspace/xfoundry_app-record-replay_PR-24 23:48:04 + START_PACKAGES=/tmp/packages_start.txt 23:48:04 + END_PACKAGES=/tmp/packages_end.txt 23:48:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:48:04 + PACKAGES=/tmp/packages_start.txt 23:48:04 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 23:48:04 + PACKAGES=/tmp/packages_end.txt 23:48:04 + case "${OS_FAMILY}" in 23:48:04 + grep '^ii' 23:48:04 + dpkg -l 23:48:04 + '[' -f /tmp/packages_start.txt ']' 23:48:04 + '[' -f /tmp/packages_end.txt ']' 23:48:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:48:04 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 23:48:04 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-24/archives/ 23:48:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-24/archives/ [Pipeline] echo 23:48:04 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-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:48:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:05 prd-ubuntu20.04-docker-8c-8g-19029 does not seem to be running inside a container 23:48: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-24/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-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:48:05 $ docker top f277527c905926211e15a6525368a5e8c2b3948ce234892f0404837de0856457 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:05 + touch /tmp/pre-build-complete [Pipeline] sh 23:48:05 + mkdir -p /var/log/sysstat [Pipeline] sh 23:48:06 + ls /var/log/sa-host 23:48:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:48:06 provisioning config files... 23:48:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config13493322753164590439tmp [Pipeline] { [Pipeline] echo 23:48:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:48:06 ---> create-netrc.sh [Pipeline] } 23:48:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:48:06 ---> python-tools-install.sh [Pipeline] echo 23:48:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:48:07 ---> sudo-logs.sh 23:48:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:48:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:48:07 ---> job-cost.sh 23:48:07 lf-activate-venv: SKIPPING 23:48:07 DEBUG: total: 0.2199999988079071 23:48:07 INFO: Retrieving Stack Cost... 23:48:08 INFO: Retrieving Pricing Info for: v3-standard-8 23:48:08 INFO: Archiving Costs [Pipeline] echo 23:48:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:48:08 ---> logs-deploy.sh 23:48:08 lf-activate-venv: SKIPPING 23:48:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-24/4 23:48:08 INFO: archiving workspace using pattern(s): 23:48:09 Archives upload complete. 23:48:09 INFO: archiving logs to Nexus