Pull request #56 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 90458aff5952e3959d65678bf25cab3d18ebfb0c rather than 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 Obtained Jenkinsfile from 90458aff5952e3959d65678bf25cab3d18ebfb0c 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-ssh7357120211863086988.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3828009329082747729.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-56/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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16813876288803342388.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh5684649382274024690.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-56/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-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1311327966866340240.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-3733’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3736 in /w/workspace/xfoundry_app-record-replay_PR-56 [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-56 # 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 90458aff5952e3959d65678bf25cab3d18ebfb0c into PR head commit 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 Merge succeeded, producing 6295656debd28a453c05386d5878e1188c53eeb7 Checking out Revision 6295656debd28a453c05386d5878e1188c53eeb7 (PR-56) > 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/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 # 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 90458aff5952e3959d65678bf25cab3d18ebfb0c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6295656debd28a453c05386d5878e1188c53eeb7 # timeout=10 Commit message: "Merge commit '90458aff5952e3959d65678bf25cab3d18ebfb0c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:45:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:45:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:45:19 ========================================================= 23:45:19 EdgeX Global Pipelines Version Info 23:45:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2cfbca2b21e0b27c63edfce00d075b62c178e9bd # timeout=10 23:45:20 ------------------- 23:45:20 stable info: 23:45:20 ------------------- 23:45:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:45:20 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 23:45:20 Message: update stable to v1.0.253 23:45:21 ------------------- 23:45:21 experimental info: 23:45:21 ------------------- 23:45:21 Commited By: **** collab-it+edgex@linuxfoundation.org 23:45:21 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 23:45:21 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6295656debd28a453c05386d5878e1188c53eeb7 [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6295656 [Pipeline] echo 23:45:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:45:21 provisioning config files... 23:45:21 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config10968277250603798631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:45:22 ---> docker-login.sh 23:45:22 nexus3.edgexfoundry.org:10001 23:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:22 Configure a credential helper to remove this warning. See 23:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:22 23:45:22 Login Succeeded 23:45:22 nexus3.edgexfoundry.org:10002 23:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:22 Configure a credential helper to remove this warning. See 23:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:22 23:45:22 Login Succeeded 23:45:22 nexus3.edgexfoundry.org:10003 23:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:22 Configure a credential helper to remove this warning. See 23:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:22 23:45:22 Login Succeeded 23:45:22 nexus3.edgexfoundry.org:10004 23:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:22 Configure a credential helper to remove this warning. See 23:45:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:22 23:45:22 Login Succeeded 23:45:22 docker.io 23:45:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:23 Configure a credential helper to remove this warning. See 23:45:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:23 23:45:23 Login Succeeded 23:45:23 ---> docker-login.sh ends [Pipeline] } 23:45:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:45:23 + git rev-list -1 --merges 6295656debd28a453c05386d5878e1188c53eeb7~1..6295656debd28a453c05386d5878e1188c53eeb7 [Pipeline] echo 23:45:23 -----------> git rev-list -1 --merges 6295656debd28a453c05386d5878e1188c53eeb7~1..6295656debd28a453c05386d5878e1188c53eeb7 6295656debd28a453c05386d5878e1188c53eeb7 23:45:23 6295656debd28a453c05386d5878e1188c53eeb7 [false] [Pipeline] sh 23:45:23 + git log --format=format:%s -1 6295656debd28a453c05386d5878e1188c53eeb7 [Pipeline] echo 23:45:23 ========================================================= 23:45:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:45:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:24 + git log --format=format:%s -1 6295656debd28a453c05386d5878e1188c53eeb7 [Pipeline] echo 23:45:24 [semverPrep] GIT_COMMIT: 6295656debd28a453c05386d5878e1188c53eeb7, Commit Message: Merge commit '90458aff5952e3959d65678bf25cab3d18ebfb0c' into HEAD [Pipeline] echo 23:45:24 [semverPrep] This is not a build commit. [Pipeline] sh 23:45:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:45:24 + grep -v github /etc/ssh/ssh_known_hosts 23:45:24 + [ -e /tmp/ssh_known_hosts ] 23:45:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:45:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:45:24 + sudo tee -a /etc/ssh/ssh_known_hosts 23:45:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:45:24 23:45:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:45:25 0.1.4: Pulling from edgex-devops/py-git-semver 23:45:25 b85a868b505f: Pulling fs layer 23:45:25 e2be974225ed: Pulling fs layer 23:45:25 339a4e72a1f5: Pulling fs layer 23:45:25 988bab9f4d93: Pulling fs layer 23:45:25 1469e6f7b9e6: Pulling fs layer 23:45:25 eaf3925da568: Pulling fs layer 23:45:25 bab4dde63d76: Pulling fs layer 23:45:25 bde34c3a00c8: Pulling fs layer 23:45:25 b352a97aabf1: Pulling fs layer 23:45:25 4872d77fe225: Pulling fs layer 23:45:25 5851b861e8e6: Pulling fs layer 23:45:25 bab4dde63d76: Waiting 23:45:25 bde34c3a00c8: Waiting 23:45:25 988bab9f4d93: Waiting 23:45:25 b352a97aabf1: Waiting 23:45:25 4872d77fe225: Waiting 23:45:25 eaf3925da568: Waiting 23:45:25 e2be974225ed: Download complete 23:45:25 988bab9f4d93: Verifying Checksum 23:45:25 988bab9f4d93: Download complete 23:45:25 1469e6f7b9e6: Verifying Checksum 23:45:25 1469e6f7b9e6: Download complete 23:45:25 339a4e72a1f5: Verifying Checksum 23:45:25 339a4e72a1f5: Download complete 23:45:25 eaf3925da568: Download complete 23:45:25 bde34c3a00c8: Download complete 23:45:25 b352a97aabf1: Verifying Checksum 23:45:25 b352a97aabf1: Download complete 23:45:25 4872d77fe225: Verifying Checksum 23:45:25 4872d77fe225: Download complete 23:45:25 5851b861e8e6: Verifying Checksum 23:45:25 5851b861e8e6: Download complete 23:45:25 b85a868b505f: Verifying Checksum 23:45:25 b85a868b505f: Download complete 23:45:25 bab4dde63d76: Verifying Checksum 23:45:25 bab4dde63d76: Download complete 23:45:26 b85a868b505f: Pull complete 23:45:26 e2be974225ed: Pull complete 23:45:27 339a4e72a1f5: Pull complete 23:45:27 988bab9f4d93: Pull complete 23:45:27 1469e6f7b9e6: Pull complete 23:45:27 eaf3925da568: Pull complete 23:45:29 bab4dde63d76: Pull complete 23:45:29 bde34c3a00c8: Pull complete 23:45:29 b352a97aabf1: Pull complete 23:45:29 4872d77fe225: Pull complete 23:45:29 5851b861e8e6: Pull complete 23:45:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:45:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:45:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:45:29 prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container 23:45:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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-devops/py-git-semver:0.1.4 cat 23:45:32 $ docker top 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d -eo pid,comm 23:45:32 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:45:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:45:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:45:32 [ssh-agent] Looking for ssh-agent implementation... 23:45:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:45:32 $ docker exec 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d ssh-agent 23:45:32 SSH_AUTH_SOCK=/tmp/ssh-zWPb0yEPKF6b/agent.32 23:45:32 SSH_AGENT_PID=38 23:45:32 Running ssh-add (command line suppressed) 23:45:32 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_8248880999406345163.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_8248880999406345163.key) 23:45:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:45:33 + git tag --points-at HEAD [Pipeline] } 23:45:33 $ docker exec --env ******** --env ******** 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d ssh-agent -k 23:45:33 unset SSH_AUTH_SOCK; 23:45:33 unset SSH_AGENT_PID; 23:45:33 echo Agent pid 38 killed; 23:45:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:45:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:45:33 [ssh-agent] Looking for ssh-agent implementation... 23:45:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:45:33 $ docker exec 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d ssh-agent 23:45:33 SSH_AUTH_SOCK=/tmp/ssh-Hh3MZfPwt9LT/agent.71 23:45:33 SSH_AGENT_PID=77 23:45:33 Running ssh-add (command line suppressed) 23:45:33 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_619225637794725870.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_619225637794725870.key) 23:45:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:45:33 + git semver init 23:45:34 2023-08-15 23:45:34,072 [run_init] DEBUG init version:0.0.0 force:False 23:45:34 2023-08-15 23:45:34,072 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-56/.semver 23:45:34 2023-08-15 23:45:34,073 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-56/.semver 23:45:34 2023-08-15 23:45:34,073 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-56/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56, universal_newlines=False, shell=None, istream=None) 23:45:34 2023-08-15 23:45:34,676 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-56/.git/info/exclude 23:45:34 2023-08-15 23:45:34,677 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 with force:False 23:45:34 2023-08-15 23:45:34,677 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 23:45:34 2023-08-15 23:45:34,681 [execute] INFO git cat-file --batch-check 23:45:34 2023-08-15 23:45:34,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 23:45:34 2023-08-15 23:45:34,687 [execute] INFO git cat-file --batch 23:45:34 2023-08-15 23:45:34,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 23:45:34 2023-08-15 23:45:34,694 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 23:45:34 0.0.0 [Pipeline] } 23:45:34 $ docker exec --env ******** --env ******** 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d ssh-agent -k 23:45:34 unset SSH_AUTH_SOCK; 23:45:34 unset SSH_AGENT_PID; 23:45:34 echo Agent pid 77 killed; 23:45:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:45:35 + git semver [Pipeline] } 23:45:35 $ docker stop --time=1 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d 23:45:36 $ docker rm -f --volumes 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d [Pipeline] // withDockerContainer [Pipeline] sh 23:45:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:45:37 Stashed 1 file(s) [Pipeline] echo 23:45:37 [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:45:37 provisioning config files... 23:45:37 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config14587099611196380694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:45:37 ---> docker-login.sh 23:45:37 nexus3.edgexfoundry.org:10001 23:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:37 Configure a credential helper to remove this warning. See 23:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:37 23:45:37 Login Succeeded 23:45:37 nexus3.edgexfoundry.org:10002 23:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:37 Configure a credential helper to remove this warning. See 23:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:37 23:45:37 Login Succeeded 23:45:37 nexus3.edgexfoundry.org:10003 23:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:37 Configure a credential helper to remove this warning. See 23:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:37 23:45:37 Login Succeeded 23:45:37 nexus3.edgexfoundry.org:10004 23:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:37 Configure a credential helper to remove this warning. See 23:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:37 23:45:37 Login Succeeded 23:45:37 docker.io 23:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:45:38 Configure a credential helper to remove this warning. See 23:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:45:38 23:45:38 Login Succeeded 23:45:38 ---> docker-login.sh ends [Pipeline] } 23:45:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:45:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:45:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:45:38 ========================================================= 23:45:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:45:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:38 + 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:45:38 Sending build context to Docker daemon 451.6kB 23:45:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:45:38 Step 2/12 : FROM ${BASE} AS builder 23:45:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:45:38 4db1b89c0bd1: Pulling fs layer 23:45:38 6911f1a30b25: Pulling fs layer 23:45:38 e194b8c5c2a9: Pulling fs layer 23:45:38 6863d3e3a2b1: Pulling fs layer 23:45:38 ec0bb842ea78: Pulling fs layer 23:45:38 40a00589a448: Pulling fs layer 23:45:38 6c08303d61cc: Pulling fs layer 23:45:38 798269fcf238: Pulling fs layer 23:45:38 40a00589a448: Waiting 23:45:38 6863d3e3a2b1: Waiting 23:45:38 6c08303d61cc: Waiting 23:45:38 798269fcf238: Waiting 23:45:38 6911f1a30b25: Download complete 23:45:38 6863d3e3a2b1: Verifying Checksum 23:45:38 6863d3e3a2b1: Download complete 23:45:38 ec0bb842ea78: Download complete 23:45:38 4db1b89c0bd1: Verifying Checksum 23:45:38 4db1b89c0bd1: Download complete 23:45:38 40a00589a448: Verifying Checksum 23:45:38 40a00589a448: Download complete 23:45:38 4db1b89c0bd1: Pull complete 23:45:39 6911f1a30b25: Pull complete 23:45:39 e194b8c5c2a9: Verifying Checksum 23:45:39 e194b8c5c2a9: Download complete 23:45:39 798269fcf238: Verifying Checksum 23:45:39 798269fcf238: Download complete 23:45:39 6c08303d61cc: Verifying Checksum 23:45:42 e194b8c5c2a9: Pull complete 23:45:42 6863d3e3a2b1: Pull complete 23:45:42 ec0bb842ea78: Pull complete 23:45:42 40a00589a448: Pull complete 23:45:44 6c08303d61cc: Pull complete 23:45:45 798269fcf238: Pull complete 23:45:45 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 23:45:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:45:45 ---> ec979cd7f677 23:45:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:45:49 ---> Running in c0b9b488f81a 23:45:49 Removing intermediate container c0b9b488f81a 23:45:49 ---> 8f513f3a9ec2 23:45:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:45:49 ---> Running in e74a4ff65b25 23:45:49 Removing intermediate container e74a4ff65b25 23:45:49 ---> 8e53ad9c37ac 23:45:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:45:49 ---> Running in fafc5ab725e0 23:45:49 Removing intermediate container fafc5ab725e0 23:45:49 ---> 8236d062e703 23:45:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:49 ---> Running in 71cc443443dd 23:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:45:50 OK: 265 MiB in 53 packages 23:45:50 Removing intermediate container 71cc443443dd 23:45:50 ---> 51e62c43df47 23:45:50 Step 7/12 : WORKDIR /app 23:45:50 ---> Running in 73ba72152288 23:45:51 Removing intermediate container 73ba72152288 23:45:51 ---> f10f75f8cfa8 23:45:51 Step 8/12 : COPY go.mod vendor* ./ 23:45:51 ---> 0f61ff802eb9 23:45:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:51 ---> Running in dd361930f28f 23:45:52 Still waiting to schedule task 23:45:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:46:37 Removing intermediate container dd361930f28f 23:46:37 ---> 4dbe5b9e5469 23:46:37 Step 10/12 : COPY . . 23:46:37 ---> 587184c3625e 23:46:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:46:37 ---> Running in 8a446402e7eb 23:46:37 Removing intermediate container 8a446402e7eb 23:46:37 ---> 9063ca6e7efe 23:46:37 Step 12/12 : RUN $MAKE 23:46:37 ---> Running in a5f08c3da7c4 23:46:37 noop 23:46:38 Removing intermediate container a5f08c3da7c4 23:46:38 ---> 5151d1638875 23:46:38 Successfully built 5151d1638875 23:46:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:38 + docker inspect -f . ci-base-image-x86_64 23:46:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:46:38 prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container 23:46:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:46:38 $ docker top 260e3b589d212797a2a87ad83c2706e5aaa29275c38cefde440ebbb7a3b76df2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:46:39 + go version 23:46:39 go version go1.20.6 linux/amd64 [Pipeline] } 23:46:39 $ docker stop --time=1 260e3b589d212797a2a87ad83c2706e5aaa29275c38cefde440ebbb7a3b76df2 23:46:40 $ docker rm -f --volumes 260e3b589d212797a2a87ad83c2706e5aaa29275c38cefde440ebbb7a3b76df2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:40 + docker inspect -f . ci-base-image-x86_64 23:46:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:46:41 prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container 23:46:41 $ 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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:46:41 $ docker top 4a5abacb04f9332c1c56df4c97e4169fde38301c8fd78cdd300143d63e698bfa -eo pid,comm [Pipeline] { [Pipeline] sh 23:46:41 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] fileExists [Pipeline] sh 23:46:41 + make test 23:46:41 go test -race -coverprofile=coverage.out ./... 23:47:00 ? github.com/edgexfoundry/app-record-replay [no test files] 23:47:00 ok github.com/edgexfoundry/app-record-replay/internal/app 0.071s coverage: 88.0% of statements 23:47:00 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:47:00 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:47:00 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:47:10 ok github.com/edgexfoundry/app-record-replay/internal/application 8.587s coverage: 97.5% of statements 23:47:10 --- FAIL: TestHttpController_ExportRecordedData (0.01s) 23:47:10 --- FAIL: TestHttpController_ExportRecordedData/Valid_-_no_events (0.00s) 23:47:10 controller_test.go:486: 23:47:10 Error Trace: /w/workspace/xfoundry_app-record-replay_PR-56/internal/controller/controller_test.go:486 23:47:10 Error: Not equal: 23:47:10 expected: 204 23:47:10 actual : 200 23:47:10 Test: TestHttpController_ExportRecordedData/Valid_-_no_events 23:47:10 FAIL 23:47:10 github.com/edgexfoundry/app-record-replay/internal/controller coverage: 76.5% of statements 23:47:10 FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.092s 23:47:10 FAIL 23:47:10 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 23:47:10 $ docker stop --time=1 4a5abacb04f9332c1c56df4c97e4169fde38301c8fd78cdd300143d63e698bfa 23:47:13 $ docker rm -f --volumes 4a5abacb04f9332c1c56df4c97e4169fde38301c8fd78cdd300143d63e698bfa [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:47:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:47:13 23:47:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:47:14 latest: Pulling from edgex-lftools-log-publisher 23:47:14 5eb5b503b376: Pulling fs layer 23:47:14 5c69ac0246d0: Pulling fs layer 23:47:14 ec43610c2a17: Pulling fs layer 23:47:14 3a2ae6a8a46f: Pulling fs layer 23:47:14 33b1e0a273af: Pulling fs layer 23:47:14 5d3b04190fa2: Pulling fs layer 23:47:14 2f39f015ded8: Pulling fs layer 23:47:14 3a2ae6a8a46f: Waiting 23:47:14 33b1e0a273af: Waiting 23:47:14 5d3b04190fa2: Waiting 23:47:14 2f39f015ded8: Waiting 23:47:14 5c69ac0246d0: Verifying Checksum 23:47:14 5c69ac0246d0: Download complete 23:47:14 3a2ae6a8a46f: Download complete 23:47:14 33b1e0a273af: Verifying Checksum 23:47:14 33b1e0a273af: Download complete 23:47:14 5d3b04190fa2: Verifying Checksum 23:47:14 ec43610c2a17: Verifying Checksum 23:47:14 ec43610c2a17: Download complete 23:47:14 5eb5b503b376: Download complete 23:47:14 2f39f015ded8: Download complete 23:47:15 5eb5b503b376: Pull complete 23:47:15 5c69ac0246d0: Pull complete 23:47:15 ec43610c2a17: Pull complete 23:47:15 3a2ae6a8a46f: Pull complete 23:47:16 33b1e0a273af: Pull complete 23:47:16 5d3b04190fa2: Pull complete 23:47:20 2f39f015ded8: Pull complete 23:47:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:47:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:47:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:47:20 prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container 23:47:20 $ 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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:47:23 $ docker top eb794a2e3c1646f8598f5362c36636573c94b663612109ab2dbf45e4a9014cff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:23 ---> job-cost.sh 23:47:23 lf-activate-venv: SKIPPING 23:47:23 INFO: No Stack... 23:47:23 INFO: Retrieving Pricing Info for: v3-standard-8 23:47:23 INFO: Archiving Costs [Pipeline] sh 23:47:24 + cat /w/workspace/xfoundry_app-record-replay_PR-56/archives/cost.csv 23:47:24 + cut -d, -f6 [Pipeline] lock 23:47:24 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] 23:47:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3737 in /w/workspace/xfoundry_app-record-replay_PR-56 23:47:24 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] did not exist. Created. 23:47:24 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [Pipeline] { [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] ws 23:47:24 Running in /w/workspace/app-record-replay/7 [Pipeline] { [Pipeline] checkout 23:47:24 Selected Git installation does not exist. Using Default 23:47:24 The recommended git tool is: NONE 23:47:24 + echo total: 0.2199999988079071 [Pipeline] stash 23:47:24 Stashed 1 file(s) [Pipeline] } 23:47:24 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:47:24 $ docker stop --time=1 eb794a2e3c1646f8598f5362c36636573c94b663612109ab2dbf45e4a9014cff 23:47:25 $ docker rm -f --volumes eb794a2e3c1646f8598f5362c36636573c94b663612109ab2dbf45e4a9014cff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:47:25 Failed in branch amd64 23:47:29 using credential edgex-jenkins-ssh 23:47:29 Cloning the remote Git repository 23:47:29 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:47:29 > git init /w/workspace/app-record-replay/7 # timeout=10 23:47:29 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:47:29 > git --version # timeout=10 23:47:29 > git --version # 'git version 2.25.1' 23:47:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:47:30 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:47:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:47:31 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:47:31 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:47:31 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:47:31 Merging remotes/origin/main commit 90458aff5952e3959d65678bf25cab3d18ebfb0c into PR head commit 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 23:47:32 Merge succeeded, producing b1c445ba58da862789ab70ebf79a7cf2e0b66a63 23:47:32 Checking out Revision b1c445ba58da862789ab70ebf79a7cf2e0b66a63 (PR-56) 23:47:31 > git config core.sparsecheckout # timeout=10 23:47:31 > git checkout -f 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 # timeout=10 23:47:31 > git remote # timeout=10 23:47:32 > git config --get remote.origin.url # timeout=10 23:47:32 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:32 > git merge 90458aff5952e3959d65678bf25cab3d18ebfb0c # timeout=10 23:47:32 > git rev-parse HEAD^{commit} # timeout=10 23:47:32 > git config core.sparsecheckout # timeout=10 23:47:32 > git checkout -f b1c445ba58da862789ab70ebf79a7cf2e0b66a63 # timeout=10 23:47:35 Commit message: "Merge commit '90458aff5952e3959d65678bf25cab3d18ebfb0c' into HEAD" 23:47:35 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 23:47:35 > git rev-list --no-walk 2cfbca2b21e0b27c63edfce00d075b62c178e9bd # timeout=10 [Pipeline] sh 23:47:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:47:36 % Total % Received % Xferd Average Speed Time Time Time Current 23:47:36 Dload Upload Total Spent Left Speed 23:47:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 23:47:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:47:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:47:37 + sudo tee /etc/docker/daemon.new 23:47:37 { 23:47:37 "registry-mirrors": [ 23:47:37 "https://nexus3.edgexfoundry.org:10001" 23:47:37 ], 23:47:37 "bip": "10.250.0.254/24", 23:47:37 "hosts": [ 23:47:37 "tcp://0.0.0.0:5555", 23:47:37 "unix:///var/run/docker.sock" 23:47:37 ], 23:47:37 "mtu": 1458, 23:47:37 "selinux-enabled": true, 23:47:37 "seccomp-profile": "/etc/docker/seccomp.json" 23:47:37 } [Pipeline] sh 23:47:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:47:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:47:56 provisioning config files... 23:47:56 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/7@tmp/config11803869293225333403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:56 ---> docker-login.sh 23:47:56 nexus3.edgexfoundry.org:10001 23:47:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:57 Configure a credential helper to remove this warning. See 23:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:57 23:47:57 Login Succeeded 23:47:57 nexus3.edgexfoundry.org:10002 23:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:57 Configure a credential helper to remove this warning. See 23:47:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:57 23:47:57 Login Succeeded 23:47:57 nexus3.edgexfoundry.org:10003 23:47:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:58 Configure a credential helper to remove this warning. See 23:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:58 23:47:58 Login Succeeded 23:47:58 nexus3.edgexfoundry.org:10004 23:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:58 Configure a credential helper to remove this warning. See 23:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:58 23:47:58 Login Succeeded 23:47:58 docker.io 23:47:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:58 Configure a credential helper to remove this warning. See 23:47:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:58 23:47:58 Login Succeeded 23:47:58 ---> docker-login.sh ends [Pipeline] } 23:47:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:47:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:47:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:47:59 ========================================================= 23:47:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:47:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47: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:47:59 Sending build context to Docker daemon 204.8kB 23:47:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:47:59 Step 2/12 : FROM ${BASE} AS builder 23:48:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:48:01 edb6bdbacee9: Pulling fs layer 23:48:01 5f9638ab2659: Pulling fs layer 23:48:01 8d51d6327a98: Pulling fs layer 23:48:01 8b374f2dd631: Pulling fs layer 23:48:01 ec14aa9079de: Pulling fs layer 23:48:01 2f466654f4bb: Pulling fs layer 23:48:01 554e91adad29: Pulling fs layer 23:48:01 ec14aa9079de: Waiting 23:48:01 2f466654f4bb: Waiting 23:48:01 8b374f2dd631: Waiting 23:48:01 554e91adad29: Waiting 23:48:01 5f9638ab2659: Verifying Checksum 23:48:01 5f9638ab2659: Download complete 23:48:01 8b374f2dd631: Verifying Checksum 23:48:01 8b374f2dd631: Download complete 23:48:01 ec14aa9079de: Verifying Checksum 23:48:01 ec14aa9079de: Download complete 23:48:01 edb6bdbacee9: Verifying Checksum 23:48:01 edb6bdbacee9: Download complete 23:48:02 edb6bdbacee9: Pull complete 23:48:02 554e91adad29: Verifying Checksum 23:48:02 554e91adad29: Download complete 23:48:02 5f9638ab2659: Pull complete 23:48:03 2f466654f4bb: Verifying Checksum 23:48:03 2f466654f4bb: Download complete 23:48:03 8d51d6327a98: Verifying Checksum 23:48:03 8d51d6327a98: Download complete 23:48:15 8d51d6327a98: Pull complete 23:48:15 8b374f2dd631: Pull complete 23:48:15 ec14aa9079de: Pull complete 23:48:21 2f466654f4bb: Pull complete 23:48:23 554e91adad29: Pull complete 23:48:23 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 23:48:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:48:23 ---> 1e15ea492957 23:48:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:48:29 ---> Running in 6269224be64b 23:48:29 Removing intermediate container 6269224be64b 23:48:29 ---> 9d5c51ec011c 23:48:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:48:29 ---> Running in 597e17e4523b 23:48:29 Removing intermediate container 597e17e4523b 23:48:29 ---> 2941b5577861 23:48:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:48:29 ---> Running in f1c7d21ca241 23:48:29 Removing intermediate container f1c7d21ca241 23:48:29 ---> b65b8ce40556 23:48:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:48:30 ---> Running in aa0e849466e9 23:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:48:32 OK: 263 MiB in 53 packages 23:48:33 Removing intermediate container aa0e849466e9 23:48:33 ---> 99630a42c383 23:48:33 Step 7/12 : WORKDIR /app 23:48:33 ---> Running in 0798d0702b32 23:48:33 Removing intermediate container 0798d0702b32 23:48:33 ---> 151839349086 23:48:33 Step 8/12 : COPY go.mod vendor* ./ 23:48:34 ---> 59561a1b0a83 23:48:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:48:34 ---> Running in 9ff222205581 23:49:42 Removing intermediate container 9ff222205581 23:49:42 ---> 5e124d019145 23:49:42 Step 10/12 : COPY . . 23:49:42 ---> 413264d0be91 23:49:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:49:42 ---> Running in 21809268de2d 23:49:42 Removing intermediate container 21809268de2d 23:49:42 ---> 6f5316c1a92f 23:49:42 Step 12/12 : RUN $MAKE 23:49:42 ---> Running in 3a3afa74277c 23:49:42 noop 23:49:42 Removing intermediate container 3a3afa74277c 23:49:42 ---> 4099422c430d 23:49:42 Successfully built 4099422c430d 23:49:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:42 + docker inspect -f . ci-base-image-arm64 23:49:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:42 prd-ubuntu20.04-docker-arm64-4c-16g-3737 does not seem to be running inside a container 23:49:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/7 -v /w/workspace/app-record-replay/7:/w/workspace/app-record-replay/7:rw,z -v /w/workspace/app-record-replay/7@tmp:/w/workspace/app-record-replay/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:49:43 $ docker top e29b5ea8a707ad265e8f9f42c7ef9675ce5785ffdf512e8d7bfeb992c13f1cfe -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:44 + go version 23:49:44 go version go1.20.6 linux/arm64 [Pipeline] } 23:49:44 $ docker stop --time=1 e29b5ea8a707ad265e8f9f42c7ef9675ce5785ffdf512e8d7bfeb992c13f1cfe 23:49:47 $ docker rm -f --volumes e29b5ea8a707ad265e8f9f42c7ef9675ce5785ffdf512e8d7bfeb992c13f1cfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:48 + docker inspect -f . ci-base-image-arm64 23:49:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:48 prd-ubuntu20.04-docker-arm64-4c-16g-3737 does not seem to be running inside a container 23:49:48 $ 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/7 -v /w/workspace/app-record-replay/7:/w/workspace/app-record-replay/7:rw,z -v /w/workspace/app-record-replay/7@tmp:/w/workspace/app-record-replay/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:49:49 $ docker top d90527a96cf9495f787bbe0da22997a2a269204efa3c20154eae4ca682f5e817 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:50 + git config --global --add safe.directory /w/workspace/app-record-replay/7 [Pipeline] fileExists [Pipeline] sh 23:49:50 + make test 23:49:50 go test -race -coverprofile=coverage.out ./... 23:52:27 ? github.com/edgexfoundry/app-record-replay [no test files] 23:52:39 ok github.com/edgexfoundry/app-record-replay/internal/app 0.255s coverage: 88.0% of statements 23:52:43 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:52:43 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:52:43 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:52:47 ok github.com/edgexfoundry/app-record-replay/internal/application 8.845s coverage: 97.5% of statements 23:52:47 --- FAIL: TestHttpController_ExportRecordedData (0.18s) 23:52:47 --- FAIL: TestHttpController_ExportRecordedData/Valid_-_no_events (0.00s) 23:52:47 controller_test.go:486: 23:52:47 Error Trace: /w/workspace/app-record-replay/7/internal/controller/controller_test.go:486 23:52:47 Error: Not equal: 23:52:47 expected: 204 23:52:47 actual : 200 23:52:47 Test: TestHttpController_ExportRecordedData/Valid_-_no_events 23:52:47 FAIL 23:52:47 github.com/edgexfoundry/app-record-replay/internal/controller coverage: 76.5% of statements 23:52:47 FAIL github.com/edgexfoundry/app-record-replay/internal/controller 1.153s 23:52:47 FAIL 23:52:48 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 23:52:48 $ docker stop --time=1 d90527a96cf9495f787bbe0da22997a2a269204efa3c20154eae4ca682f5e817 23:52:50 $ docker rm -f --volumes d90527a96cf9495f787bbe0da22997a2a269204efa3c20154eae4ca682f5e817 [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:52:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:55 23:52:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:52:55 arm64: Pulling from edgex-lftools-log-publisher 23:52:55 8998bd30e6a1: Pulling fs layer 23:52:55 04944245beec: Pulling fs layer 23:52:55 699f458cf7ca: Pulling fs layer 23:52:55 765212b225bb: Pulling fs layer 23:52:55 f23df028b6ca: Pulling fs layer 23:52:55 d65c8cfc05b1: Pulling fs layer 23:52:55 2437ff75d9bd: Pulling fs layer 23:52:55 765212b225bb: Waiting 23:52:55 f23df028b6ca: Waiting 23:52:55 d65c8cfc05b1: Waiting 23:52:55 2437ff75d9bd: Waiting 23:52:55 04944245beec: Verifying Checksum 23:52:55 04944245beec: Download complete 23:52:55 765212b225bb: Download complete 23:52:55 f23df028b6ca: Verifying Checksum 23:52:56 f23df028b6ca: Download complete 23:52:56 d65c8cfc05b1: Verifying Checksum 23:52:56 d65c8cfc05b1: Download complete 23:52:56 699f458cf7ca: Verifying Checksum 23:52:56 699f458cf7ca: Download complete 23:52:56 8998bd30e6a1: Verifying Checksum 23:52:56 8998bd30e6a1: Download complete 23:53:00 2437ff75d9bd: Verifying Checksum 23:53:00 2437ff75d9bd: Download complete 23:53:02 8998bd30e6a1: Pull complete 23:53:03 04944245beec: Pull complete 23:53:04 699f458cf7ca: Pull complete 23:53:04 765212b225bb: Pull complete 23:53:05 f23df028b6ca: Pull complete 23:53:05 d65c8cfc05b1: Pull complete 23:53:20 2437ff75d9bd: Pull complete 23:53:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:53:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:53:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:20 prd-ubuntu20.04-docker-arm64-4c-16g-3737 does not seem to be running inside a container 23:53:21 $ 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/7 -v /w/workspace/app-record-replay/7:/w/workspace/app-record-replay/7:rw,z -v /w/workspace/app-record-replay/7@tmp:/w/workspace/app-record-replay/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:53:23 $ docker top bd58bd69d2247aecdf5c67177848b2b5ed935b29adfa53095e519e3a811e0e79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:24 ---> job-cost.sh 23:53:24 lf-activate-venv: SKIPPING 23:53:24 INFO: No Stack... 23:53:24 INFO: Retrieving Pricing Info for: v3-standard-4 23:53:25 INFO: Archiving Costs [Pipeline] sh 23:53:25 + cut -d, -f6 23:53:25 + cat /w/workspace/app-record-replay/7/archives/cost.csv [Pipeline] lock 23:53:25 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] 23:53:25 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] did not exist. Created. 23:53:25 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:53:26 /w/workspace/app-record-replay/7@tmp/durable-74600967/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:53:26 + echo total: 0.10999999940395355 [Pipeline] stash 23:53:26 Warning: overwriting stash ‘stack-cost’ 23:53:27 Stashed 1 file(s) [Pipeline] } 23:53:27 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:53:27 $ docker stop --time=1 bd58bd69d2247aecdf5c67177848b2b5ed935b29adfa53095e519e3a811e0e79 23:53:28 $ docker rm -f --volumes bd58bd69d2247aecdf5c67177848b2b5ed935b29adfa53095e519e3a811e0e79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:53:29 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:53:29 + [ -d /w/workspace/xfoundry_app-record-replay_PR-56/archives ] 23:53:29 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:53:29 total 16 23:53:29 drwxr-xr-x 3 root root 4096 Aug 15 23:47 . 23:53:29 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 23:47 .. 23:53:29 drwxr-xr-x 2 root root 4096 Aug 15 23:47 cost 23:53:29 -rw-r--r-- 1 root root 88 Aug 15 23:47 cost.csv 23:53:29 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:53:29 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:53:29 total 16 23:53:29 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 23:47 . 23:53:29 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 23:47 .. 23:53:29 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 23:47 cost 23:53:29 -rw-r--r-- 1 jenkins jenkins 88 Aug 15 23:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:53:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:53:30 ---> package-listing.sh 23:53:30 ++ facter osfamily 23:53:30 ++ tr '[:upper:]' '[:lower:]' 23:53:31 + OS_FAMILY=debian 23:53:31 + workspace=/w/workspace/xfoundry_app-record-replay_PR-56 23:53:31 + START_PACKAGES=/tmp/packages_start.txt 23:53:31 + END_PACKAGES=/tmp/packages_end.txt 23:53:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:53:31 + PACKAGES=/tmp/packages_start.txt 23:53:31 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 23:53:31 + PACKAGES=/tmp/packages_end.txt 23:53:31 + case "${OS_FAMILY}" in 23:53:31 + dpkg -l 23:53:31 + grep '^ii' 23:53:31 + '[' -f /tmp/packages_start.txt ']' 23:53:31 + '[' -f /tmp/packages_end.txt ']' 23:53:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:53:31 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 23:53:31 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-56/archives/ 23:53:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-56/archives/ [Pipeline] echo 23:53:31 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-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:53:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:32 prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container 23:53:32 $ 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-56/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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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:53:32 $ docker top 578882f2ed5cfd05cba7a29ce605a3632f378fd9f70c87be438949bc531c1b58 -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:32 + touch /tmp/pre-build-complete [Pipeline] sh 23:53:32 + mkdir -p /var/log/sysstat [Pipeline] sh 23:53:33 + ls /var/log/sa-host 23:53:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:33 provisioning config files... 23:53:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config14400604256458931010tmp [Pipeline] { [Pipeline] echo 23:53:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:53:33 ---> create-netrc.sh [Pipeline] } 23:53:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:53:33 ---> python-tools-install.sh [Pipeline] echo 23:53:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:53:34 ---> sudo-logs.sh 23:53:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:53:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:53:34 ---> job-cost.sh 23:53:34 lf-activate-venv: SKIPPING 23:53:34 DEBUG: total: 0.2199999988079071 23:53:34 INFO: Retrieving Stack Cost... 23:53:34 INFO: Retrieving Pricing Info for: v3-standard-8 23:53:35 INFO: Archiving Costs [Pipeline] echo 23:53:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:53:35 ---> logs-deploy.sh 23:53:35 lf-activate-venv: SKIPPING 23:53:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-56/7 23:53:35 INFO: archiving workspace using pattern(s): 23:53:36 Archives upload complete. 23:53:36 INFO: archiving logs to Nexus