Pull request #24 updated 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 80ac9db7371531022c11b9e0e593d049b62a52c9 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-ssh2704174017813637350.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-ssh5796956106305734045.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-ssh9500270504050746924.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-ssh14545383829355018264.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-ssh3601382644718880006.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-19024’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19026 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 80ac9db7371531022c11b9e0e593d049b62a52c9 Merge succeeded, producing 80ac9db7371531022c11b9e0e593d049b62a52c9 Checking out Revision 80ac9db7371531022c11b9e0e593d049b62a52c9 (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 80ac9db7371531022c11b9e0e593d049b62a52c9 # 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 80ac9db7371531022c11b9e0e593d049b62a52c9 # timeout=10 Commit message: "feat: Implement skeleton App Service that builds in CI pipeline (no function pipeline)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:11:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:11:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:11:22 ========================================================= 23:11:22 EdgeX Global Pipelines Version Info 23:11:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk bf797ec383f5d700c0c2c29e5b9638b15f25cf23 # timeout=10 23:11:23 ------------------- 23:11:23 stable info: 23:11:23 ------------------- 23:11:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:11:23 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:11:23 Message: update stable to v1.0.250 23:11:24 ------------------- 23:11:24 experimental info: 23:11:24 ------------------- 23:11:24 Commited By: **** collab-it+edgex@linuxfoundation.org 23:11:24 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:11:24 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80ac9db7371531022c11b9e0e593d049b62a52c9 [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80ac9db [Pipeline] echo 23:11:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:11:25 provisioning config files... 23:11:25 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config17972017042541936376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:25 ---> docker-login.sh 23:11:25 nexus3.edgexfoundry.org:10001 23:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:25 Configure a credential helper to remove this warning. See 23:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:25 23:11:25 Login Succeeded 23:11:25 nexus3.edgexfoundry.org:10002 23:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:25 Configure a credential helper to remove this warning. See 23:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:25 23:11:25 Login Succeeded 23:11:25 nexus3.edgexfoundry.org:10003 23:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:25 Configure a credential helper to remove this warning. See 23:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:25 23:11:25 Login Succeeded 23:11:25 nexus3.edgexfoundry.org:10004 23:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:25 Configure a credential helper to remove this warning. See 23:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:25 23:11:25 Login Succeeded 23:11:25 docker.io 23:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:26 Configure a credential helper to remove this warning. See 23:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:26 23:11:26 Login Succeeded 23:11:26 ---> docker-login.sh ends [Pipeline] } 23:11:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:11:26 + git rev-list -1 --merges 80ac9db7371531022c11b9e0e593d049b62a52c9~1..80ac9db7371531022c11b9e0e593d049b62a52c9 [Pipeline] echo 23:11:26 -----------> git rev-list -1 --merges 80ac9db7371531022c11b9e0e593d049b62a52c9~1..80ac9db7371531022c11b9e0e593d049b62a52c9 80ac9db7371531022c11b9e0e593d049b62a52c9 [false] [Pipeline] sh 23:11:26 + git log --format=format:%s -1 80ac9db7371531022c11b9e0e593d049b62a52c9 [Pipeline] echo 23:11:26 ========================================================= 23:11:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:11:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:11:27 + git log --format=format:%s -1 80ac9db7371531022c11b9e0e593d049b62a52c9 [Pipeline] echo 23:11:27 [semverPrep] GIT_COMMIT: 80ac9db7371531022c11b9e0e593d049b62a52c9, Commit Message: feat: Implement skeleton App Service that builds in CI pipeline (no function pipeline) [Pipeline] echo 23:11:27 [semverPrep] This is not a build commit. [Pipeline] sh 23:11:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:11:27 + grep -v github /etc/ssh/ssh_known_hosts 23:11:27 + [ -e /tmp/ssh_known_hosts ] 23:11:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:11:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:11:27 + sudo tee -a /etc/ssh/ssh_known_hosts 23:11:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:11:27 23:11:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:11:28 0.1.4: Pulling from edgex-devops/py-git-semver 23:11:28 b85a868b505f: Pulling fs layer 23:11:28 e2be974225ed: Pulling fs layer 23:11:28 339a4e72a1f5: Pulling fs layer 23:11:28 988bab9f4d93: Pulling fs layer 23:11:28 1469e6f7b9e6: Pulling fs layer 23:11:28 eaf3925da568: Pulling fs layer 23:11:28 bab4dde63d76: Pulling fs layer 23:11:28 bde34c3a00c8: Pulling fs layer 23:11:28 b352a97aabf1: Pulling fs layer 23:11:28 4872d77fe225: Pulling fs layer 23:11:28 5851b861e8e6: Pulling fs layer 23:11:28 1469e6f7b9e6: Waiting 23:11:28 bab4dde63d76: Waiting 23:11:28 bde34c3a00c8: Waiting 23:11:28 b352a97aabf1: Waiting 23:11:28 4872d77fe225: Waiting 23:11:28 988bab9f4d93: Waiting 23:11:28 eaf3925da568: Waiting 23:11:28 e2be974225ed: Verifying Checksum 23:11:28 e2be974225ed: Download complete 23:11:28 988bab9f4d93: Verifying Checksum 23:11:28 988bab9f4d93: Download complete 23:11:28 1469e6f7b9e6: Verifying Checksum 23:11:28 1469e6f7b9e6: Download complete 23:11:28 eaf3925da568: Verifying Checksum 23:11:28 eaf3925da568: Download complete 23:11:28 339a4e72a1f5: Verifying Checksum 23:11:28 339a4e72a1f5: Download complete 23:11:28 bde34c3a00c8: Download complete 23:11:28 b352a97aabf1: Download complete 23:11:28 4872d77fe225: Download complete 23:11:28 5851b861e8e6: Download complete 23:11:28 b85a868b505f: Verifying Checksum 23:11:28 b85a868b505f: Download complete 23:11:28 bab4dde63d76: Verifying Checksum 23:11:28 bab4dde63d76: Download complete 23:11:29 b85a868b505f: Pull complete 23:11:29 e2be974225ed: Pull complete 23:11:30 339a4e72a1f5: Pull complete 23:11:30 988bab9f4d93: Pull complete 23:11:30 1469e6f7b9e6: Pull complete 23:11:30 eaf3925da568: Pull complete 23:11:31 bab4dde63d76: Pull complete 23:11:31 bde34c3a00c8: Pull complete 23:11:32 b352a97aabf1: Pull complete 23:11:32 4872d77fe225: Pull complete 23:11:32 5851b861e8e6: Pull complete 23:11:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:11:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:11:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:32 prd-ubuntu20.04-docker-8c-8g-19026 does not seem to be running inside a container 23:11:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:11:35 $ docker top 2d9d333ab6ef593a346876a820c2d670032519cdcd6c8d90fcee842bf73a2cc3 -eo pid,comm 23:11:35 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:11:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:11:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:11:35 [ssh-agent] Looking for ssh-agent implementation... 23:11:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:11:35 $ docker exec 2d9d333ab6ef593a346876a820c2d670032519cdcd6c8d90fcee842bf73a2cc3 ssh-agent 23:11:35 SSH_AUTH_SOCK=/tmp/ssh-YWMue0iMxyS1/agent.33 23:11:35 SSH_AGENT_PID=39 23:11:35 Running ssh-add (command line suppressed) 23:11:35 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_11438607910575451486.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_11438607910575451486.key) 23:11:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:11:35 + git tag --points-at HEAD [Pipeline] } 23:11:35 $ docker exec --env ******** --env ******** 2d9d333ab6ef593a346876a820c2d670032519cdcd6c8d90fcee842bf73a2cc3 ssh-agent -k 23:11:36 unset SSH_AUTH_SOCK; 23:11:36 unset SSH_AGENT_PID; 23:11:36 echo Agent pid 39 killed; 23:11:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:11:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:11:36 [ssh-agent] Looking for ssh-agent implementation... 23:11:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:11:36 $ docker exec 2d9d333ab6ef593a346876a820c2d670032519cdcd6c8d90fcee842bf73a2cc3 ssh-agent 23:11:36 SSH_AUTH_SOCK=/tmp/ssh-WRxvS1kgEWyt/agent.71 23:11:36 SSH_AGENT_PID=77 23:11:36 Running ssh-add (command line suppressed) 23:11:36 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_17134820015067190089.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_17134820015067190089.key) 23:11:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:11:36 + git semver init 23:11:36 2023-06-21 23:11:36,823 [run_init] DEBUG init version:0.0.0 force:False 23:11:36 2023-06-21 23:11:36,823 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-24/.semver 23:11:36 2023-06-21 23:11:36,824 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-24/.semver 23:11:36 2023-06-21 23:11:36,824 [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:11:37 2023-06-21 23:11:37,419 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-24/.git/info/exclude 23:11:37 2023-06-21 23:11:37,419 [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:11:37 2023-06-21 23:11:37,420 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 23:11:37 2023-06-21 23:11:37,423 [execute] INFO git cat-file --batch-check 23:11:37 2023-06-21 23:11:37,424 [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:11:37 2023-06-21 23:11:37,430 [execute] INFO git cat-file --batch 23:11:37 2023-06-21 23:11:37,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24/.semver, universal_newlines=False, shell=None, istream=) 23:11:37 2023-06-21 23:11:37,435 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 23:11:37 0.0.0 [Pipeline] } 23:11:37 $ docker exec --env ******** --env ******** 2d9d333ab6ef593a346876a820c2d670032519cdcd6c8d90fcee842bf73a2cc3 ssh-agent -k 23:11:37 unset SSH_AUTH_SOCK; 23:11:37 unset SSH_AGENT_PID; 23:11:37 echo Agent pid 77 killed; 23:11:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:11:37 + git semver [Pipeline] } 23:11:38 $ docker stop --time=1 2d9d333ab6ef593a346876a820c2d670032519cdcd6c8d90fcee842bf73a2cc3 23:11:39 $ docker rm -f --volumes 2d9d333ab6ef593a346876a820c2d670032519cdcd6c8d90fcee842bf73a2cc3 [Pipeline] // withDockerContainer [Pipeline] sh 23:11:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:11:40 Stashed 1 file(s) [Pipeline] echo 23:11:40 [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:11:40 provisioning config files... 23:11:40 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config15357162871082986465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:40 ---> docker-login.sh 23:11:40 nexus3.edgexfoundry.org:10001 23:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:40 Configure a credential helper to remove this warning. See 23:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:40 23:11:40 Login Succeeded 23:11:40 nexus3.edgexfoundry.org:10002 23:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:40 Configure a credential helper to remove this warning. See 23:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:40 23:11:40 Login Succeeded 23:11:40 nexus3.edgexfoundry.org:10003 23:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:40 Configure a credential helper to remove this warning. See 23:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:40 23:11:40 Login Succeeded 23:11:40 nexus3.edgexfoundry.org:10004 23:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:40 Configure a credential helper to remove this warning. See 23:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:40 23:11:40 Login Succeeded 23:11:40 docker.io 23:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:41 Configure a credential helper to remove this warning. See 23:11:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:41 23:11:41 Login Succeeded 23:11:41 ---> docker-login.sh ends [Pipeline] } 23:11:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:11:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:41 ========================================================= 23:11:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:11:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:41 + 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:11:41 Sending build context to Docker daemon 237.6kB 23:11:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:11:41 Step 2/12 : FROM ${BASE} AS builder 23:11:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:11:41 f56be85fc22e: Pulling fs layer 23:11:41 85791d961cd3: Pulling fs layer 23:11:41 d694b5ae8c79: Pulling fs layer 23:11:41 9f32a84ed3da: Pulling fs layer 23:11:41 4d19c01a9841: Pulling fs layer 23:11:41 9325e15d5711: Pulling fs layer 23:11:41 556b6ee489ea: Pulling fs layer 23:11:41 9f32a84ed3da: Waiting 23:11:41 9325e15d5711: Waiting 23:11:41 4d19c01a9841: Waiting 23:11:41 c5a4b2cf53e6: Pulling fs layer 23:11:41 556b6ee489ea: Waiting 23:11:41 c5a4b2cf53e6: Waiting 23:11:41 85791d961cd3: Verifying Checksum 23:11:41 85791d961cd3: Download complete 23:11:41 9f32a84ed3da: Download complete 23:11:41 4d19c01a9841: Verifying Checksum 23:11:41 4d19c01a9841: Download complete 23:11:41 f56be85fc22e: Verifying Checksum 23:11:41 f56be85fc22e: Download complete 23:11:41 9325e15d5711: Verifying Checksum 23:11:41 9325e15d5711: Download complete 23:11:41 f56be85fc22e: Pull complete 23:11:41 85791d961cd3: Pull complete 23:11:42 d694b5ae8c79: Download complete 23:11:42 c5a4b2cf53e6: Verifying Checksum 23:11:42 c5a4b2cf53e6: Download complete 23:11:42 556b6ee489ea: Verifying Checksum 23:11:42 556b6ee489ea: Download complete 23:11:45 d694b5ae8c79: Pull complete 23:11:45 9f32a84ed3da: Pull complete 23:11:45 4d19c01a9841: Pull complete 23:11:45 9325e15d5711: Pull complete 23:11:47 556b6ee489ea: Pull complete 23:11:48 c5a4b2cf53e6: Pull complete 23:11:48 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:11:48 ---> c4be618373d6 23:11:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:11:52 ---> Running in a7b9a63348fa 23:11:52 Removing intermediate container a7b9a63348fa 23:11:52 ---> d6ade9aa4906 23:11:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:11:52 ---> Running in ce8cdb7aa88b 23:11:52 Removing intermediate container ce8cdb7aa88b 23:11:52 ---> d16bc2c37431 23:11:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:11:52 ---> Running in b95a0ec19b9e 23:11:52 Removing intermediate container b95a0ec19b9e 23:11:52 ---> e5678514750d 23:11:52 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:52 ---> Running in 0b8708314fda 23:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:11:53 OK: 265 MiB in 53 packages 23:11:53 Removing intermediate container 0b8708314fda 23:11:53 ---> b85f81d728c6 23:11:53 Step 7/12 : WORKDIR /app 23:11:53 ---> Running in f360f640ae90 23:11:53 Removing intermediate container f360f640ae90 23:11:53 ---> 12c5ecf7316b 23:11:53 Step 8/12 : COPY go.mod vendor* ./ 23:11:53 ---> ca8678cb1df8 23:11:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:11:53 ---> Running in 0326e78a8bc9 23:11:55 Still waiting to schedule task 23:11:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-19025’ is offline 23:12:20 Removing intermediate container 0326e78a8bc9 23:12:20 ---> 0bb81ca65241 23:12:20 Step 10/12 : COPY . . 23:12:20 ---> dc42f2d21e50 23:12:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:12:20 ---> Running in 3ac4e735f80e 23:12:20 Removing intermediate container 3ac4e735f80e 23:12:20 ---> 404126eff863 23:12:20 Step 12/12 : RUN $MAKE 23:12:20 ---> Running in 98cf98c69a55 23:12:20 noop 23:12:20 Removing intermediate container 98cf98c69a55 23:12:20 ---> db293af7cce9 23:12:20 Successfully built db293af7cce9 23:12:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:20 + docker inspect -f . ci-base-image-x86_64 23:12:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:20 prd-ubuntu20.04-docker-8c-8g-19026 does not seem to be running inside a container 23:12: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 ******** ci-base-image-x86_64 cat 23:12:20 $ docker top 98c507610f623a0807d4a35f48eda67bdadcfbd35a56751d41d02bd7d23e78b2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:21 + go version 23:12:21 go version go1.20.2 linux/amd64 [Pipeline] } 23:12:21 $ docker stop --time=1 98c507610f623a0807d4a35f48eda67bdadcfbd35a56751d41d02bd7d23e78b2 23:12:22 $ docker rm -f --volumes 98c507610f623a0807d4a35f48eda67bdadcfbd35a56751d41d02bd7d23e78b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:22 + docker inspect -f . ci-base-image-x86_64 23:12:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:23 prd-ubuntu20.04-docker-8c-8g-19026 does not seem to be running inside a container 23:12:23 $ 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 ******** ci-base-image-x86_64 cat 23:12:23 $ docker top 9fe84db315fa5110ddaf8fc8ffe96187bb72f37319acd63e377e8ce58e787b03 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:23 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] fileExists [Pipeline] sh 23:12:24 + make test 23:12:24 go test -race -coverprofile=coverage.out ./... 23:12:45 ? github.com/edgexfoundry/app-record-replay/config [no test files] 23:12:45 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 23:12:45 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:12:45 --- FAIL: TestCreateAndRunService_GetAppSettingStrings_Failed (0.00s) 23:12:45 panic: 23:12:45 assert: mock: I don't know what to return because the method call was unexpected. 23:12:45 Either do Mock.On("LoadCustomConfig").Return(...) first, or remove the LoadCustomConfig() call. 23:12:45 This method was unexpected: 23:12:45 LoadCustomConfig(*config.ServiceConfig,string) 23:12:45 0: &config.ServiceConfig{AppCustom:config.AppCustomConfig{ResourceNames:"", SomeValue:0, SomeService:config.HostInfo{Host:"", Port:0, Protocol:""}}} 23:12:45 1: "AppCustom" 23:12:45 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:12:45 panic: 23:12:45 assert: mock: I don't know what to return because the method call was unexpected. 23:12:45 Either do Mock.On("LoadCustomConfig").Return(...) first, or remove the LoadCustomConfig() call. 23:12:45 This method was unexpected: 23:12:45 LoadCustomConfig(*config.ServiceConfig,string) 23:12:45 0: &config.ServiceConfig{AppCustom:config.AppCustomConfig{ResourceNames:"", SomeValue:0, SomeService:config.HostInfo{Host:"", Port:0, Protocol:""}}} 23:12:45 1: "AppCustom" 23:12:45 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:12:45 23:12:45 goroutine 8 [running]: 23:12:45 testing.tRunner.func1.2({0xd6f3a0, 0xc000220470}) 23:12:45 /usr/local/go/src/testing/testing.go:1526 +0x372 23:12:45 testing.tRunner.func1() 23:12:45 /usr/local/go/src/testing/testing.go:1529 +0x650 23:12:45 panic({0xd6f3a0, 0xc000220470}) 23:12:45 /usr/local/go/src/runtime/panic.go:890 +0x263 23:12:45 github.com/stretchr/testify/mock.(*Mock).fail(0xc000024140, {0xe990f2, 0xc1}, {0xc00022ab00, 0x4, 0x4}) 23:12:45 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:328 +0x1db 23:12:45 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc000024140, {0x1093139, 0x10}, {0xc0002301a0, 0x2, 0x2}) 23:12:45 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:491 +0x8eb 23:12:45 github.com/stretchr/testify/mock.(*Mock).Called(0xe71162?, {0xc0002301a0, 0x2, 0x2}) 23:12:45 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:456 +0x1a5 23:12:45 github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks.(*ApplicationService).LoadCustomConfig(0xc000024140, {0xf8c860?, 0xc00022a8c0}, {0xe71162, 0x9}) 23:12:45 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0/pkg/interfaces/mocks/ApplicationService.go:327 +0x15c 23:12:45 github.com/edgexfoundry/app-record-replay.(*myApp).CreateAndRunAppService(0xc0001a1e70, {0xe6f1d9, 0x7}, 0xc000075e50) 23:12:45 /w/workspace/xfoundry_app-record-replay_PR-24/main.go:56 +0x2c6 23:12:45 github.com/edgexfoundry/app-record-replay.TestCreateAndRunService_GetAppSettingStrings_Failed(0x0?) 23:12:45 /w/workspace/xfoundry_app-record-replay_PR-24/main_test.go:94 +0xa6 23:12:45 testing.tRunner(0xc000007ba0, 0xeb9448) 23:12:45 /usr/local/go/src/testing/testing.go:1576 +0x217 23:12:45 created by testing.(*T).Run 23:12:45 /usr/local/go/src/testing/testing.go:1629 +0x806 23:12:45 FAIL github.com/edgexfoundry/app-record-replay 0.051s 23:12:45 ok github.com/edgexfoundry/app-record-replay/internal/data 0.060s coverage: 27.3% of statements 23:12:45 FAIL 23:12:45 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 23:12:45 $ docker stop --time=1 9fe84db315fa5110ddaf8fc8ffe96187bb72f37319acd63e377e8ce58e787b03 23:12:49 $ docker rm -f --volumes 9fe84db315fa5110ddaf8fc8ffe96187bb72f37319acd63e377e8ce58e787b03 [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:12:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:49 23:12:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:50 latest: Pulling from edgex-lftools-log-publisher 23:12:50 5eb5b503b376: Pulling fs layer 23:12:50 5c69ac0246d0: Pulling fs layer 23:12:50 ec43610c2a17: Pulling fs layer 23:12:50 3a2ae6a8a46f: Pulling fs layer 23:12:50 33b1e0a273af: Pulling fs layer 23:12:50 5d3b04190fa2: Pulling fs layer 23:12:50 2f39f015ded8: Pulling fs layer 23:12:50 33b1e0a273af: Waiting 23:12:50 5d3b04190fa2: Waiting 23:12:50 5c69ac0246d0: Verifying Checksum 23:12:50 5c69ac0246d0: Download complete 23:12:50 3a2ae6a8a46f: Download complete 23:12:50 33b1e0a273af: Verifying Checksum 23:12:50 33b1e0a273af: Download complete 23:12:50 ec43610c2a17: Verifying Checksum 23:12:50 ec43610c2a17: Download complete 23:12:50 5d3b04190fa2: Verifying Checksum 23:12:50 5d3b04190fa2: Download complete 23:12:50 5eb5b503b376: Download complete 23:12:50 2f39f015ded8: Download complete 23:12:51 5eb5b503b376: Pull complete 23:12:51 5c69ac0246d0: Pull complete 23:12:51 ec43610c2a17: Pull complete 23:12:52 3a2ae6a8a46f: Pull complete 23:12:52 33b1e0a273af: Pull complete 23:12:52 5d3b04190fa2: Pull complete 23:12:56 2f39f015ded8: Pull complete 23:12:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:12:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:56 prd-ubuntu20.04-docker-8c-8g-19026 does not seem to be running inside a container 23:12:56 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:13:00 $ docker top d1aefeb20aa462fc69eec18706df8a2d05c9b01dd5e3e6ec392513d9489be6a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:00 ---> job-cost.sh 23:13:00 lf-activate-venv: SKIPPING 23:13:00 INFO: No Stack... 23:13:01 INFO: Retrieving Pricing Info for: v3-standard-8 23:13:01 INFO: Archiving Costs [Pipeline] sh 23:13:01 + cat /w/workspace/xfoundry_app-record-replay_PR-24/archives/cost.csv 23:13:01 + cut -d, -f6 [Pipeline] lock 23:13:01 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-24-2-stack-cost] 23:13:01 Resource [jenkins-edgexfoundry-app-record-replay-PR-24-2-stack-cost] did not exist. Created. 23:13:01 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-24-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:13:02 + echo total: 0.2199999988079071 [Pipeline] stash 23:13:02 Stashed 1 file(s) [Pipeline] } 23:13:02 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-24-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:13:02 $ docker stop --time=1 d1aefeb20aa462fc69eec18706df8a2d05c9b01dd5e3e6ec392513d9489be6a1 23:13:03 $ docker rm -f --volumes d1aefeb20aa462fc69eec18706df8a2d05c9b01dd5e3e6ec392513d9489be6a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:13:03 Failed in branch amd64 23:13:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19027 in /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] { [Pipeline] ws 23:13:24 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 23:13:24 Selected Git installation does not exist. Using Default 23:13:24 The recommended git tool is: NONE 23:13:29 using credential edgex-jenkins-ssh 23:13:29 Cloning the remote Git repository 23:13:29 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:13:29 > git init /w/workspace/app-record-replay/2 # timeout=10 23:13:30 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:13:30 > git --version # timeout=10 23:13:30 > git --version # 'git version 2.25.1' 23:13:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:30 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:13:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:32 Merging remotes/origin/main commit f5c7a18031cd417fd66742b551e8281643a7d45d into PR head commit 80ac9db7371531022c11b9e0e593d049b62a52c9 23:13:31 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:13:31 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:13:31 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:31 > 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:13:32 > git config core.sparsecheckout # timeout=10 23:13:32 > git checkout -f 80ac9db7371531022c11b9e0e593d049b62a52c9 # timeout=10 23:13:32 Merge succeeded, producing 80ac9db7371531022c11b9e0e593d049b62a52c9 23:13:32 Checking out Revision 80ac9db7371531022c11b9e0e593d049b62a52c9 (PR-24) 23:13:32 > git remote # timeout=10 23:13:32 > git config --get remote.origin.url # timeout=10 23:13:32 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:32 > git merge f5c7a18031cd417fd66742b551e8281643a7d45d # timeout=10 23:13:32 > git rev-parse HEAD^{commit} # timeout=10 23:13:32 > git config core.sparsecheckout # timeout=10 23:13:32 > git checkout -f 80ac9db7371531022c11b9e0e593d049b62a52c9 # timeout=10 23:13:35 Commit message: "feat: Implement skeleton App Service that builds in CI pipeline (no function pipeline)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:13:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:13:36 % Total % Received % Xferd Average Speed Time Time Time Current 23:13:36 Dload Upload Total Spent Left Speed 23:13:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh 23:13:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:13:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:13:37 + sudo tee /etc/docker/daemon.new 23:13:37 { 23:13:37 "registry-mirrors": [ 23:13:37 "https://nexus3.edgexfoundry.org:10001" 23:13:37 ], 23:13:37 "bip": "10.250.0.254/24", 23:13:37 "hosts": [ 23:13:37 "tcp://0.0.0.0:5555", 23:13:37 "unix:///var/run/docker.sock" 23:13:37 ], 23:13:37 "mtu": 1458, 23:13:37 "selinux-enabled": true, 23:13:37 "seccomp-profile": "/etc/docker/seccomp.json" 23:13:37 } [Pipeline] sh 23:13:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:13:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:13:56 provisioning config files... 23:13:56 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config3563557926667781929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:56 ---> docker-login.sh 23:13:56 nexus3.edgexfoundry.org:10001 23:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:57 Configure a credential helper to remove this warning. See 23:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:57 23:13:57 Login Succeeded 23:13:57 nexus3.edgexfoundry.org:10002 23:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:57 Configure a credential helper to remove this warning. See 23:13:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:57 23:13:57 Login Succeeded 23:13:57 nexus3.edgexfoundry.org:10003 23:13:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:58 Configure a credential helper to remove this warning. See 23:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:58 23:13:58 Login Succeeded 23:13:58 nexus3.edgexfoundry.org:10004 23:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:58 Configure a credential helper to remove this warning. See 23:13:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:58 23:13:58 Login Succeeded 23:13:58 docker.io 23:13:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:59 Configure a credential helper to remove this warning. See 23:13:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:59 23:13:59 Login Succeeded 23:13:59 ---> docker-login.sh ends [Pipeline] } 23:13:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:13:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:13:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:13:59 ========================================================= 23:13:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:13:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:59 + 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:13:59 Sending build context to Docker daemon 127.5kB 23:13:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:13:59 Step 2/12 : FROM ${BASE} AS builder 23:13:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:13:59 c41833b44d91: Pulling fs layer 23:13:59 ed15518f5707: Pulling fs layer 23:13:59 feae8fd75edb: Pulling fs layer 23:13:59 242c74f7c9fa: Pulling fs layer 23:13:59 3cdef696dda3: Pulling fs layer 23:13:59 2ced38df9373: Pulling fs layer 23:13:59 58f1dce35555: Pulling fs layer 23:13:59 3cdef696dda3: Waiting 23:13:59 2ced38df9373: Waiting 23:13:59 58f1dce35555: Waiting 23:13:59 242c74f7c9fa: Waiting 23:14:00 ed15518f5707: Verifying Checksum 23:14:00 ed15518f5707: Download complete 23:14:00 242c74f7c9fa: Verifying Checksum 23:14:00 242c74f7c9fa: Download complete 23:14:00 3cdef696dda3: Verifying Checksum 23:14:00 3cdef696dda3: Download complete 23:14:00 c41833b44d91: Download complete 23:14:01 58f1dce35555: Verifying Checksum 23:14:01 58f1dce35555: Download complete 23:14:02 feae8fd75edb: Verifying Checksum 23:14:02 2ced38df9373: Verifying Checksum 23:14:02 2ced38df9373: Download complete 23:14:04 c41833b44d91: Pull complete 23:14:04 ed15518f5707: Pull complete 23:14:19 feae8fd75edb: Pull complete 23:14:19 242c74f7c9fa: Pull complete 23:14:19 3cdef696dda3: Pull complete 23:14:25 2ced38df9373: Pull complete 23:14:27 58f1dce35555: Pull complete 23:14:27 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:14:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:14:27 ---> fadd8f120f05 23:14:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:14:29 ---> Running in d14dab4a12e3 23:14:29 Removing intermediate container d14dab4a12e3 23:14:29 ---> f3db5c4ec979 23:14:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:14:29 ---> Running in f89d8cd40097 23:14:30 Removing intermediate container f89d8cd40097 23:14:30 ---> faa384296116 23:14:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:14:30 ---> Running in 2c96e7a4a1ab 23:14:30 Removing intermediate container 2c96e7a4a1ab 23:14:30 ---> cbb022bb11f5 23:14:30 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:30 ---> Running in 5bc673fe6da7 23:14:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:14:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:14:33 OK: 263 MiB in 53 packages 23:14:34 Removing intermediate container 5bc673fe6da7 23:14:34 ---> d3338c5a61b7 23:14:34 Step 7/12 : WORKDIR /app 23:14:34 ---> Running in f5bcb3f9ebdf 23:14:34 Removing intermediate container f5bcb3f9ebdf 23:14:34 ---> f8a234b6c50f 23:14:34 Step 8/12 : COPY go.mod vendor* ./ 23:14:35 ---> 30c9b55b2d12 23:14:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:35 ---> Running in c950a351ca4d 23:15:56 Removing intermediate container c950a351ca4d 23:15:56 ---> a3f8d94838e1 23:15:56 Step 10/12 : COPY . . 23:15:56 ---> 13ad5fa33f54 23:15:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:15:56 ---> Running in 55e53759925c 23:15:56 Removing intermediate container 55e53759925c 23:15:56 ---> d1640937e565 23:15:56 Step 12/12 : RUN $MAKE 23:15:56 ---> Running in 37b1567f81c7 23:15:56 noop 23:15:56 Removing intermediate container 37b1567f81c7 23:15:56 ---> 1b25549f7c25 23:15:56 Successfully built 1b25549f7c25 23:15:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:57 + docker inspect -f . ci-base-image-arm64 23:15:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:57 prd-ubuntu20.04-docker-arm64-4c-16g-19027 does not seem to be running inside a container 23:15:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:15:58 $ docker top 1a5f7777fd6dd8a582622d1260f025432cd791f48ecd6b069bc522238618e174 -eo pid,comm [Pipeline] { [Pipeline] sh 23:15:59 + go version 23:15:59 go version go1.20.2 linux/arm64 [Pipeline] } 23:15:59 $ docker stop --time=1 1a5f7777fd6dd8a582622d1260f025432cd791f48ecd6b069bc522238618e174 23:16:00 $ docker rm -f --volumes 1a5f7777fd6dd8a582622d1260f025432cd791f48ecd6b069bc522238618e174 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:01 + docker inspect -f . ci-base-image-arm64 23:16:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:01 prd-ubuntu20.04-docker-arm64-4c-16g-19027 does not seem to be running inside a container 23:16:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:16:04 $ docker top 74ea95ac3710b63ca0f6c10f36d326dd23d1db25aae38859d957be682282fa94 -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:04 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 23:16:05 + make test 23:16:05 go test -race -coverprofile=coverage.out ./... 23:18:56 ? github.com/edgexfoundry/app-record-replay/config [no test files] 23:18:56 --- FAIL: TestCreateAndRunService_GetAppSettingStrings_Failed (0.00s) 23:18:56 panic: 23:18:56 assert: mock: I don't know what to return because the method call was unexpected. 23:18:56 Either do Mock.On("LoadCustomConfig").Return(...) first, or remove the LoadCustomConfig() call. 23:18:56 This method was unexpected: 23:18:56 LoadCustomConfig(*config.ServiceConfig,string) 23:18:56 0: &config.ServiceConfig{AppCustom:config.AppCustomConfig{ResourceNames:"", SomeValue:0, SomeService:config.HostInfo{Host:"", Port:0, Protocol:""}}} 23:18:56 1: "AppCustom" 23:18:56 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/2/main.go:56 /w/workspace/app-record-replay/2/main_test.go:94] [recovered] 23:18:56 panic: 23:18:56 assert: mock: I don't know what to return because the method call was unexpected. 23:18:56 Either do Mock.On("LoadCustomConfig").Return(...) first, or remove the LoadCustomConfig() call. 23:18:56 This method was unexpected: 23:18:56 LoadCustomConfig(*config.ServiceConfig,string) 23:18:56 0: &config.ServiceConfig{AppCustom:config.AppCustomConfig{ResourceNames:"", SomeValue:0, SomeService:config.HostInfo{Host:"", Port:0, Protocol:""}}} 23:18:56 1: "AppCustom" 23:18:56 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/2/main.go:56 /w/workspace/app-record-replay/2/main_test.go:94] 23:18:56 23:18:56 goroutine 6 [running]: 23:18:56 testing.tRunner.func1.2({0x7be2e0, 0xc000451370}) 23:18:56 /usr/local/go/src/testing/testing.go:1526 +0x278 23:18:56 testing.tRunner.func1() 23:18:56 /usr/local/go/src/testing/testing.go:1529 +0x448 23:18:56 panic({0x7be2e0, 0xc000451370}) 23:18:56 /usr/local/go/src/runtime/panic.go:890 +0x248 23:18:56 github.com/stretchr/testify/mock.(*Mock).fail(0xc0003ff180, {0x8e7dcc, 0xc1}, {0xc000473500, 0x4, 0x4}) 23:18:56 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:328 +0x140 23:18:56 github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0003ff180, {0xae19da, 0x10}, {0xc000440800, 0x2, 0x2}) 23:18:56 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:491 +0x670 23:18:56 github.com/stretchr/testify/mock.(*Mock).Called(0x8bfeaa?, {0xc000440800, 0x2, 0x2}) 23:18:56 /go/pkg/mod/github.com/stretchr/testify@v1.8.2/mock/mock.go:456 +0x144 23:18:56 github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/interfaces/mocks.(*ApplicationService).LoadCustomConfig(0xc0003ff180, {0x9dd380?, 0xc0004732c0}, {0x8bfeaa, 0x9}) 23:18:56 /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0/pkg/interfaces/mocks/ApplicationService.go:327 +0x114 23:18:56 github.com/edgexfoundry/app-record-replay.(*myApp).CreateAndRunAppService(0xc000171e60, {0x8bdedb, 0x7}, 0xc000061e40) 23:18:56 /w/workspace/app-record-replay/2/main.go:56 +0x234 23:18:56 github.com/edgexfoundry/app-record-replay.TestCreateAndRunService_GetAppSettingStrings_Failed(0x0?) 23:18:56 /w/workspace/app-record-replay/2/main_test.go:94 +0x7c 23:18:56 testing.tRunner(0xc000486000, 0x907f90) 23:18:56 /usr/local/go/src/testing/testing.go:1576 +0x184 23:18:56 created by testing.(*T).Run 23:18:56 /usr/local/go/src/testing/testing.go:1629 +0x5b8 23:18:56 FAIL github.com/edgexfoundry/app-record-replay 0.192s 23:18:56 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 23:18:56 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:18:56 ok github.com/edgexfoundry/app-record-replay/internal/data 0.199s coverage: 27.3% of statements 23:18:56 FAIL 23:18:56 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 23:18:56 $ docker stop --time=1 74ea95ac3710b63ca0f6c10f36d326dd23d1db25aae38859d957be682282fa94 23:18:58 $ docker rm -f --volumes 74ea95ac3710b63ca0f6c10f36d326dd23d1db25aae38859d957be682282fa94 [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:19:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:19:00 23:19:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:19:00 arm64: Pulling from edgex-lftools-log-publisher 23:19:00 8998bd30e6a1: Pulling fs layer 23:19:00 04944245beec: Pulling fs layer 23:19:00 699f458cf7ca: Pulling fs layer 23:19:00 765212b225bb: Pulling fs layer 23:19:00 f23df028b6ca: Pulling fs layer 23:19:00 d65c8cfc05b1: Pulling fs layer 23:19:00 2437ff75d9bd: Pulling fs layer 23:19:00 f23df028b6ca: Waiting 23:19:00 d65c8cfc05b1: Waiting 23:19:00 2437ff75d9bd: Waiting 23:19:00 765212b225bb: Waiting 23:19:00 04944245beec: Verifying Checksum 23:19:00 04944245beec: Download complete 23:19:00 765212b225bb: Verifying Checksum 23:19:00 765212b225bb: Download complete 23:19:00 f23df028b6ca: Verifying Checksum 23:19:00 f23df028b6ca: Download complete 23:19:00 d65c8cfc05b1: Verifying Checksum 23:19:00 d65c8cfc05b1: Download complete 23:19:00 699f458cf7ca: Verifying Checksum 23:19:00 699f458cf7ca: Download complete 23:19:01 8998bd30e6a1: Verifying Checksum 23:19:01 8998bd30e6a1: Download complete 23:19:03 2437ff75d9bd: Verifying Checksum 23:19:03 2437ff75d9bd: Download complete 23:19:05 8998bd30e6a1: Pull complete 23:19:05 04944245beec: Pull complete 23:19:07 699f458cf7ca: Pull complete 23:19:07 765212b225bb: Pull complete 23:19:08 f23df028b6ca: Pull complete 23:19:08 d65c8cfc05b1: Pull complete 23:19:23 2437ff75d9bd: Pull complete 23:19:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:19:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:19:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:23 prd-ubuntu20.04-docker-arm64-4c-16g-19027 does not seem to be running inside a container 23:19:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:19:26 $ docker top f019e12e3428abe32d4b0ea5fc540be0e5ea50491c95ccc936441443c218ca5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:26 ---> job-cost.sh 23:19:26 lf-activate-venv: SKIPPING 23:19:26 INFO: No Stack... 23:19:27 INFO: Retrieving Pricing Info for: v3-standard-4 23:19:28 INFO: Archiving Costs [Pipeline] sh 23:19:28 + cat /w/workspace/app-record-replay/2/archives/cost.csv 23:19:28 + cut -d, -f6 [Pipeline] lock 23:19:28 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-24-2-stack-cost] 23:19:28 Resource [jenkins-edgexfoundry-app-record-replay-PR-24-2-stack-cost] did not exist. Created. 23:19:28 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-24-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:19:29 /w/workspace/app-record-replay/2@tmp/durable-82f14173/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:19:29 + echo total: 0.10999999940395355 [Pipeline] stash 23:19:29 Warning: overwriting stash ‘stack-cost’ 23:19:30 Stashed 1 file(s) [Pipeline] } 23:19:30 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-24-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:19:30 $ docker stop --time=1 f019e12e3428abe32d4b0ea5fc540be0e5ea50491c95ccc936441443c218ca5f 23:19:31 $ docker rm -f --volumes f019e12e3428abe32d4b0ea5fc540be0e5ea50491c95ccc936441443c218ca5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:19:31 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:19:32 + [ -d /w/workspace/xfoundry_app-record-replay_PR-24/archives ] 23:19:32 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 23:19:32 total 16 23:19:32 drwxr-xr-x 3 root root 4096 Jun 21 23:13 . 23:19:32 drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 23:13 .. 23:19:32 drwxr-xr-x 2 root root 4096 Jun 21 23:13 cost 23:19:32 -rw-r--r-- 1 root root 88 Jun 21 23:13 cost.csv 23:19:32 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-24/archives 23:19:32 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 23:19:32 total 16 23:19:32 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 23:13 . 23:19:32 drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 23:13 .. 23:19:32 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 23:13 cost 23:19:32 -rw-r--r-- 1 jenkins jenkins 88 Jun 21 23:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:19:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:19:33 ---> package-listing.sh 23:19:33 ++ facter osfamily 23:19:33 ++ tr '[:upper:]' '[:lower:]' 23:19:33 + OS_FAMILY=debian 23:19:33 + workspace=/w/workspace/xfoundry_app-record-replay_PR-24 23:19:33 + START_PACKAGES=/tmp/packages_start.txt 23:19:33 + END_PACKAGES=/tmp/packages_end.txt 23:19:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:19:33 + PACKAGES=/tmp/packages_start.txt 23:19:33 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 23:19:33 + PACKAGES=/tmp/packages_end.txt 23:19:33 + case "${OS_FAMILY}" in 23:19:33 + dpkg -l 23:19:33 + grep '^ii' 23:19:33 + '[' -f /tmp/packages_start.txt ']' 23:19:33 + '[' -f /tmp/packages_end.txt ']' 23:19:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:19:33 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 23:19:33 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-24/archives/ 23:19:33 + 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:19:33 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:19:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:34 prd-ubuntu20.04-docker-8c-8g-19026 does not seem to be running inside a container 23:19:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:19:35 $ docker top db018cd569f82f3c3dec421d9a9bd97c9e50c7dbe92e0ee5593d1df059ca58c7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:35 + touch /tmp/pre-build-complete [Pipeline] sh 23:19:36 + mkdir -p /var/log/sysstat [Pipeline] sh 23:19:36 + ls /var/log/sa-host 23:19:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:19:36 provisioning config files... 23:19:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config17020728040476992212tmp [Pipeline] { [Pipeline] echo 23:19:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:19:36 ---> create-netrc.sh [Pipeline] } 23:19:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:19:37 ---> python-tools-install.sh [Pipeline] echo 23:19:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:19:37 ---> sudo-logs.sh 23:19:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:19:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:19:37 ---> job-cost.sh 23:19:37 lf-activate-venv: SKIPPING 23:19:37 DEBUG: total: 0.2199999988079071 23:19:37 INFO: Retrieving Stack Cost... 23:19:37 INFO: Retrieving Pricing Info for: v3-standard-8 23:19:38 INFO: Archiving Costs [Pipeline] echo 23:19:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:19:38 ---> logs-deploy.sh 23:19:38 lf-activate-venv: SKIPPING 23:19:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-24/2 23:19:38 INFO: archiving workspace using pattern(s): 23:19:39 Archives upload complete. 23:19:39 INFO: archiving logs to Nexus