Branch indexing 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 dc2c9616d3277daf9da5caa43fe28e05f10b0847 rather than f9a017ffa31db3c7c408e4bc9210e8c5d7a8121c Obtained Jenkinsfile from dc2c9616d3277daf9da5caa43fe28e05f10b0847 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-ssh2421505057180429761.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-ssh5445954246410059275.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-ssh13006760893669304802.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-ssh9238763031750214801.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-ssh14564235576184166625.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-3956’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3959 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 dc2c9616d3277daf9da5caa43fe28e05f10b0847 into PR head commit f9a017ffa31db3c7c408e4bc9210e8c5d7a8121c Merge succeeded, producing 37fc664d0ddd098263d278e6c79c0f1d8848800c Checking out Revision 37fc664d0ddd098263d278e6c79c0f1d8848800c (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 f9a017ffa31db3c7c408e4bc9210e8c5d7a8121c # 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 dc2c9616d3277daf9da5caa43fe28e05f10b0847 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37fc664d0ddd098263d278e6c79c0f1d8848800c # timeout=10 Commit message: "Merge commit 'dc2c9616d3277daf9da5caa43fe28e05f10b0847' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:09:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:09:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:09:32 ========================================================= 23:09:32 EdgeX Global Pipelines Version Info 23:09:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 37aed30f72f3d669f1a315758efb1341ca4b70bc # timeout=10 23:09:33 ------------------- 23:09:33 stable info: 23:09:33 ------------------- 23:09:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:09:33 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 23:09:33 Message: update stable to v1.0.253 23:09:33 ------------------- 23:09:33 experimental info: 23:09:33 ------------------- 23:09:33 Commited By: **** collab-it+edgex@linuxfoundation.org 23:09:33 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 23:09:33 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:09:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:09:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:09:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:09:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:09:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:09:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:09:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37fc664d0ddd098263d278e6c79c0f1d8848800c [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37fc664 [Pipeline] echo 23:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:34 provisioning config files... 23:09:34 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config1629575603021553341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:34 ---> docker-login.sh 23:09:34 nexus3.edgexfoundry.org:10001 23:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:34 Configure a credential helper to remove this warning. See 23:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:34 23:09:34 Login Succeeded 23:09:34 nexus3.edgexfoundry.org:10002 23:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:35 Configure a credential helper to remove this warning. See 23:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:35 23:09:35 Login Succeeded 23:09:35 nexus3.edgexfoundry.org:10003 23:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:35 Configure a credential helper to remove this warning. See 23:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:35 23:09:35 Login Succeeded 23:09:35 nexus3.edgexfoundry.org:10004 23:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:35 Configure a credential helper to remove this warning. See 23:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:35 23:09:35 Login Succeeded 23:09:35 docker.io 23:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:35 Configure a credential helper to remove this warning. See 23:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:35 23:09:35 Login Succeeded 23:09:35 ---> docker-login.sh ends [Pipeline] } 23:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:09:36 + git rev-list -1 --merges 37fc664d0ddd098263d278e6c79c0f1d8848800c~1..37fc664d0ddd098263d278e6c79c0f1d8848800c [Pipeline] echo 23:09:36 -----------> git rev-list -1 --merges 37fc664d0ddd098263d278e6c79c0f1d8848800c~1..37fc664d0ddd098263d278e6c79c0f1d8848800c 37fc664d0ddd098263d278e6c79c0f1d8848800c 23:09:36 37fc664d0ddd098263d278e6c79c0f1d8848800c [false] [Pipeline] sh 23:09:36 + git log --format=format:%s -1 37fc664d0ddd098263d278e6c79c0f1d8848800c [Pipeline] echo 23:09:36 ========================================================= 23:09:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:09:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:09:36 + git log --format=format:%s -1 37fc664d0ddd098263d278e6c79c0f1d8848800c [Pipeline] echo 23:09:36 [semverPrep] GIT_COMMIT: 37fc664d0ddd098263d278e6c79c0f1d8848800c, Commit Message: Merge commit 'dc2c9616d3277daf9da5caa43fe28e05f10b0847' into HEAD [Pipeline] echo 23:09:36 [semverPrep] This is not a build commit. [Pipeline] sh 23:09:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:09:37 + grep -v github /etc/ssh/ssh_known_hosts 23:09:37 + [ -e /tmp/ssh_known_hosts ] 23:09:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:09:37 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:09:37 sudo tee -a /etc/ssh/ssh_known_hosts 23:09:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:09:37 23:09:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:09:37 0.1.4: Pulling from edgex-devops/py-git-semver 23:09:37 b85a868b505f: Pulling fs layer 23:09:37 e2be974225ed: Pulling fs layer 23:09:37 339a4e72a1f5: Pulling fs layer 23:09:37 988bab9f4d93: Pulling fs layer 23:09:37 1469e6f7b9e6: Pulling fs layer 23:09:37 eaf3925da568: Pulling fs layer 23:09:37 bab4dde63d76: Pulling fs layer 23:09:37 bde34c3a00c8: Pulling fs layer 23:09:37 b352a97aabf1: Pulling fs layer 23:09:37 4872d77fe225: Pulling fs layer 23:09:37 5851b861e8e6: Pulling fs layer 23:09:37 eaf3925da568: Waiting 23:09:37 bab4dde63d76: Waiting 23:09:37 bde34c3a00c8: Waiting 23:09:37 5851b861e8e6: Waiting 23:09:37 b352a97aabf1: Waiting 23:09:37 4872d77fe225: Waiting 23:09:37 988bab9f4d93: Waiting 23:09:37 1469e6f7b9e6: Waiting 23:09:37 e2be974225ed: Download complete 23:09:37 988bab9f4d93: Verifying Checksum 23:09:37 988bab9f4d93: Download complete 23:09:38 1469e6f7b9e6: Verifying Checksum 23:09:38 1469e6f7b9e6: Download complete 23:09:38 eaf3925da568: Verifying Checksum 23:09:38 eaf3925da568: Download complete 23:09:38 339a4e72a1f5: Verifying Checksum 23:09:38 339a4e72a1f5: Download complete 23:09:38 bde34c3a00c8: Download complete 23:09:38 b352a97aabf1: Download complete 23:09:38 4872d77fe225: Verifying Checksum 23:09:38 4872d77fe225: Download complete 23:09:38 5851b861e8e6: Verifying Checksum 23:09:38 5851b861e8e6: Download complete 23:09:38 b85a868b505f: Verifying Checksum 23:09:38 b85a868b505f: Download complete 23:09:38 bab4dde63d76: Verifying Checksum 23:09:38 bab4dde63d76: Download complete 23:09:39 b85a868b505f: Pull complete 23:09:39 e2be974225ed: Pull complete 23:09:40 339a4e72a1f5: Pull complete 23:09:40 988bab9f4d93: Pull complete 23:09:40 1469e6f7b9e6: Pull complete 23:09:40 eaf3925da568: Pull complete 23:09:42 bab4dde63d76: Pull complete 23:09:42 bde34c3a00c8: Pull complete 23:09:42 b352a97aabf1: Pull complete 23:09:42 4872d77fe225: Pull complete 23:09:42 5851b861e8e6: Pull complete 23:09:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:09:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:09:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:42 prd-ubuntu20.04-docker-8c-8g-3959 does not seem to be running inside a container 23:09:42 $ 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:09:46 $ docker top 29f9c5368d670c977c0c921d894d83be9993a68fadf97851aeb0e39e4548e8e4 -eo pid,comm 23:09:46 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:09:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:09:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:09:46 [ssh-agent] Looking for ssh-agent implementation... 23:09:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:09:46 $ docker exec 29f9c5368d670c977c0c921d894d83be9993a68fadf97851aeb0e39e4548e8e4 ssh-agent 23:09:47 SSH_AUTH_SOCK=/tmp/ssh-Ya17DJriFhgj/agent.32 23:09:47 SSH_AGENT_PID=38 23:09:47 Running ssh-add (command line suppressed) 23:09:47 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_17065192801211675301.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_17065192801211675301.key) 23:09:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:09:47 + git tag --points-at HEAD [Pipeline] } 23:09:47 $ docker exec --env ******** --env ******** 29f9c5368d670c977c0c921d894d83be9993a68fadf97851aeb0e39e4548e8e4 ssh-agent -k 23:09:47 unset SSH_AUTH_SOCK; 23:09:47 unset SSH_AGENT_PID; 23:09:47 echo Agent pid 38 killed; 23:09:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:09:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:09:47 [ssh-agent] Looking for ssh-agent implementation... 23:09:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:09:47 $ docker exec 29f9c5368d670c977c0c921d894d83be9993a68fadf97851aeb0e39e4548e8e4 ssh-agent 23:09:47 SSH_AUTH_SOCK=/tmp/ssh-yJHBMmBLaros/agent.71 23:09:47 SSH_AGENT_PID=77 23:09:47 Running ssh-add (command line suppressed) 23:09:47 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_6891047259369401192.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_6891047259369401192.key) 23:09:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:09:48 + git semver init 23:09:48 2023-08-17 23:09:48,466 [run_init] DEBUG init version:0.0.0 force:False 23:09:48 2023-08-17 23:09:48,466 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-56/.semver 23:09:48 2023-08-17 23:09:48,467 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-56/.semver 23:09:48 2023-08-17 23:09:48,467 [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:09:49 2023-08-17 23:09:49,066 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-56/.git/info/exclude 23:09:49 2023-08-17 23:09:49,067 [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:09:49 2023-08-17 23:09:49,067 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 23:09:49 2023-08-17 23:09:49,070 [execute] INFO git cat-file --batch-check 23:09:49 2023-08-17 23:09:49,071 [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:09:49 2023-08-17 23:09:49,078 [execute] INFO git cat-file --batch 23:09:49 2023-08-17 23:09:49,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 23:09:49 2023-08-17 23:09:49,083 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 23:09:49 0.0.0 [Pipeline] } 23:09:49 $ docker exec --env ******** --env ******** 29f9c5368d670c977c0c921d894d83be9993a68fadf97851aeb0e39e4548e8e4 ssh-agent -k 23:09:49 unset SSH_AUTH_SOCK; 23:09:49 unset SSH_AGENT_PID; 23:09:49 echo Agent pid 77 killed; 23:09:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:09:49 + git semver [Pipeline] } 23:09:49 $ docker stop --time=1 29f9c5368d670c977c0c921d894d83be9993a68fadf97851aeb0e39e4548e8e4 23:09:51 $ docker rm -f --volumes 29f9c5368d670c977c0c921d894d83be9993a68fadf97851aeb0e39e4548e8e4 [Pipeline] // withDockerContainer [Pipeline] sh 23:09:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:09:51 Stashed 1 file(s) [Pipeline] echo 23:09:51 [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:09:51 provisioning config files... 23:09:51 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config14153356844337236433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:52 ---> docker-login.sh 23:09:52 nexus3.edgexfoundry.org:10001 23:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:52 Configure a credential helper to remove this warning. See 23:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:52 23:09:52 Login Succeeded 23:09:52 nexus3.edgexfoundry.org:10002 23:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:52 Configure a credential helper to remove this warning. See 23:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:52 23:09:52 Login Succeeded 23:09:52 nexus3.edgexfoundry.org:10003 23:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:52 Configure a credential helper to remove this warning. See 23:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:52 23:09:52 Login Succeeded 23:09:52 nexus3.edgexfoundry.org:10004 23:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:52 Configure a credential helper to remove this warning. See 23:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:52 23:09:52 Login Succeeded 23:09:52 docker.io 23:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:52 Configure a credential helper to remove this warning. See 23:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:52 23:09:52 Login Succeeded 23:09:52 ---> docker-login.sh ends [Pipeline] } 23:09:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:09:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:09:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:09:52 ========================================================= 23:09:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:09:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:53 + 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:09:53 Sending build context to Docker daemon 462.3kB 23:09:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:09:53 Step 2/12 : FROM ${BASE} AS builder 23:09:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:09:53 4db1b89c0bd1: Pulling fs layer 23:09:53 6911f1a30b25: Pulling fs layer 23:09:53 e194b8c5c2a9: Pulling fs layer 23:09:53 6863d3e3a2b1: Pulling fs layer 23:09:53 ec0bb842ea78: Pulling fs layer 23:09:53 40a00589a448: Pulling fs layer 23:09:53 6c08303d61cc: Pulling fs layer 23:09:53 798269fcf238: Pulling fs layer 23:09:53 ec0bb842ea78: Waiting 23:09:53 6863d3e3a2b1: Waiting 23:09:53 40a00589a448: Waiting 23:09:53 798269fcf238: Waiting 23:09:53 6c08303d61cc: Waiting 23:09:53 6911f1a30b25: Verifying Checksum 23:09:53 6911f1a30b25: Download complete 23:09:53 6863d3e3a2b1: Verifying Checksum 23:09:53 6863d3e3a2b1: Download complete 23:09:53 ec0bb842ea78: Verifying Checksum 23:09:53 ec0bb842ea78: Download complete 23:09:53 4db1b89c0bd1: Verifying Checksum 23:09:53 4db1b89c0bd1: Download complete 23:09:53 40a00589a448: Verifying Checksum 23:09:53 40a00589a448: Download complete 23:09:53 4db1b89c0bd1: Pull complete 23:09:53 6911f1a30b25: Pull complete 23:09:53 798269fcf238: Verifying Checksum 23:09:53 798269fcf238: Download complete 23:09:54 e194b8c5c2a9: Verifying Checksum 23:09:54 e194b8c5c2a9: Download complete 23:09:54 6c08303d61cc: Verifying Checksum 23:09:54 6c08303d61cc: Download complete 23:09:57 e194b8c5c2a9: Pull complete 23:09:57 6863d3e3a2b1: Pull complete 23:09:57 ec0bb842ea78: Pull complete 23:09:57 40a00589a448: Pull complete 23:09:59 6c08303d61cc: Pull complete 23:10:00 798269fcf238: Pull complete 23:10:00 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 23:10:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:10:00 ---> ec979cd7f677 23:10:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:10:06 Still waiting to schedule task 23:10:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3957’ is offline 23:10:10 ---> Running in 8ca585bc5c7b 23:10:10 Removing intermediate container 8ca585bc5c7b 23:10:10 ---> d364292c9be0 23:10:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:10:10 ---> Running in 442ba5e324d7 23:10:10 Removing intermediate container 442ba5e324d7 23:10:10 ---> 07a55a9e2480 23:10:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:10:10 ---> Running in 1ab8ddaf2613 23:10:10 Removing intermediate container 1ab8ddaf2613 23:10:10 ---> 98fe910adf6f 23:10:10 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:10:10 ---> Running in 5e6af3821b33 23:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:10:10 OK: 265 MiB in 53 packages 23:10:10 Removing intermediate container 5e6af3821b33 23:10:10 ---> 6789c37b0f47 23:10:10 Step 7/12 : WORKDIR /app 23:10:10 ---> Running in 4184d1defc5c 23:10:10 Removing intermediate container 4184d1defc5c 23:10:10 ---> 63033538f86b 23:10:10 Step 8/12 : COPY go.mod vendor* ./ 23:10:10 ---> 73bf0ed920ee 23:10:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:10:10 ---> Running in 775fba469af0 23:10:57 Removing intermediate container 775fba469af0 23:10:57 ---> 4bc0e01fe231 23:10:57 Step 10/12 : COPY . . 23:10:57 ---> c0ced50c536a 23:10:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:10:57 ---> Running in 10d4b95c0ff5 23:10:57 Removing intermediate container 10d4b95c0ff5 23:10:57 ---> 46584e29b057 23:10:57 Step 12/12 : RUN $MAKE 23:10:57 ---> Running in 4ed94561c981 23:10:57 noop 23:10:57 Removing intermediate container 4ed94561c981 23:10:57 ---> 460f5b1e2958 23:10:57 Successfully built 460f5b1e2958 23:10:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:58 + docker inspect -f . ci-base-image-x86_64 23:10:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:58 prd-ubuntu20.04-docker-8c-8g-3959 does not seem to be running inside a container 23:10:58 $ 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:10:58 $ docker top 0af201e7121d54414901ce037aa5262848b96c9d81fee5f1599b022cf5a6ef97 -eo pid,comm [Pipeline] { [Pipeline] sh 23:10:58 + go version 23:10:58 go version go1.20.6 linux/amd64 [Pipeline] } 23:10:58 $ docker stop --time=1 0af201e7121d54414901ce037aa5262848b96c9d81fee5f1599b022cf5a6ef97 23:11:00 $ docker rm -f --volumes 0af201e7121d54414901ce037aa5262848b96c9d81fee5f1599b022cf5a6ef97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:00 + docker inspect -f . ci-base-image-x86_64 23:11:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:00 prd-ubuntu20.04-docker-8c-8g-3959 does not seem to be running inside a container 23:11:00 $ 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:11:01 $ docker top d17c384371554b6a551bb3b22a2b02b11714f75708fb770918ca48d56c6ed1f9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:11:01 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] fileExists [Pipeline] sh 23:11:01 + make test 23:11:01 go test -race -coverprofile=coverage.out ./... 23:11:23 ? github.com/edgexfoundry/app-record-replay [no test files] 23:11:23 ok github.com/edgexfoundry/app-record-replay/internal/app 0.069s coverage: 88.0% of statements 23:11:23 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:11:23 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:11:23 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:11:31 ok github.com/edgexfoundry/app-record-replay/internal/application 8.601s coverage: 98.1% of statements 23:11:31 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.125s coverage: 78.2% of statements 23:11:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3960 in /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] { [Pipeline] ws 23:11:32 Running in /w/workspace/app-record-replay/10 [Pipeline] { [Pipeline] checkout 23:11:32 Selected Git installation does not exist. Using Default 23:11:32 The recommended git tool is: NONE 23:11:37 using credential edgex-jenkins-ssh 23:11:37 Cloning the remote Git repository 23:11:37 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:11:37 > git init /w/workspace/app-record-replay/10 # timeout=10 23:11:37 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:11:37 > git --version # timeout=10 23:11:37 > git --version # 'git version 2.25.1' 23:11:37 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:38 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:11:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:11:39 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:11:39 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:11:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:39 > 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:11:39 Merging remotes/origin/main commit dc2c9616d3277daf9da5caa43fe28e05f10b0847 into PR head commit f9a017ffa31db3c7c408e4bc9210e8c5d7a8121c 23:11:39 Merge succeeded, producing d04d5ff9d1fc49b98d46c9cc1bd230f883caa8db 23:11:39 Checking out Revision d04d5ff9d1fc49b98d46c9cc1bd230f883caa8db (PR-56) 23:11:39 > git config core.sparsecheckout # timeout=10 23:11:39 > git checkout -f f9a017ffa31db3c7c408e4bc9210e8c5d7a8121c # timeout=10 23:11:39 > git remote # timeout=10 23:11:39 > git config --get remote.origin.url # timeout=10 23:11:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:11:39 > git merge dc2c9616d3277daf9da5caa43fe28e05f10b0847 # timeout=10 23:11:39 > git rev-parse HEAD^{commit} # timeout=10 23:11:39 > git config core.sparsecheckout # timeout=10 23:11:39 > git checkout -f d04d5ff9d1fc49b98d46c9cc1bd230f883caa8db # timeout=10 23:11:43 Commit message: "Merge commit 'dc2c9616d3277daf9da5caa43fe28e05f10b0847' into HEAD" 23:11:43 First time build. Skipping changelog. 23:11:43 > git rev-list --no-walk 37aed30f72f3d669f1a315758efb1341ca4b70bc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:11:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:11:44 % Total % Received % Xferd Average Speed Time Time Time Current 23:11:44 Dload Upload Total Spent Left Speed 23:11:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 23:11:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:11:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:11:45 + sudo tee /etc/docker/daemon.new 23:11:45 { 23:11:45 "registry-mirrors": [ 23:11:45 "https://nexus3.edgexfoundry.org:10001" 23:11:45 ], 23:11:45 "bip": "10.250.0.254/24", 23:11:45 "hosts": [ 23:11:45 "tcp://0.0.0.0:5555", 23:11:45 "unix:///var/run/docker.sock" 23:11:45 ], 23:11:45 "mtu": 1458, 23:11:45 "selinux-enabled": true, 23:11:45 "seccomp-profile": "/etc/docker/seccomp.json" 23:11:45 } [Pipeline] sh 23:11:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:11:46 + sudo service docker restart 23:11:53 go vet ./... 23:11:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:11:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:11:57 ./bin/test-attribution-txt.sh [Pipeline] echo 23:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:11:57 $ docker stop --time=1 d17c384371554b6a551bb3b22a2b02b11714f75708fb770918ca48d56c6ed1f9 23:12:05 $ docker rm -f --volumes d17c384371554b6a551bb3b22a2b02b11714f75708fb770918ca48d56c6ed1f9 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:05 provisioning config files... 23:12:05 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/10@tmp/config5075712894951771993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:12:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 23:12:05 ---> docker-login.sh 23:12:05 nexus3.edgexfoundry.org:10001 23:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 23:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:06 Configure a credential helper to remove this warning. See 23:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:06 23:12:06 Login Succeeded 23:12:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:12:06 nexus3.edgexfoundry.org:10002 23:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:06 + ls -al . 23:12:06 total 176 23:12:06 drwxrwxr-x 9 jenkins jenkins 4096 Aug 17 23:11 . 23:12:06 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 23:09 .. 23:12:06 -rw-rw-r-- 1 jenkins jenkins 119 Aug 17 23:09 .dockerignore 23:12:06 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 23:09 .git 23:12:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 23:09 .github 23:12:06 -rw-rw-r-- 1 jenkins jenkins 164 Aug 17 23:09 .gitignore 23:12:06 -rw-rw-r-- 1 jenkins jenkins 41 Aug 17 23:09 .golangci.yml 23:12:06 drwxr-xr-x 3 jenkins jenkins 4096 Aug 17 23:09 .semver 23:12:06 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 17 23:09 Attribution.txt 23:12:06 -rw-rw-r-- 1 jenkins jenkins 258 Aug 17 23:09 CHANGELOG.md 23:12:06 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 17 23:09 Dockerfile 23:12:06 -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 23:09 GOVERNANCE.md 23:12:06 -rw-rw-r-- 1 jenkins jenkins 681 Aug 17 23:09 Jenkinsfile 23:12:06 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 17 23:09 LICENSE 23:12:06 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 17 23:09 Makefile 23:12:06 -rw-rw-r-- 1 jenkins jenkins 611 Aug 17 23:09 OWNERS.md 23:12:06 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 17 23:09 README.md 23:12:06 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 17 23:09 Record and Reply.postman_collection.json 23:12:06 -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 23:09 VERSION 23:12:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 23:09 bin 23:12:06 -rw-r--r-- 1 jenkins jenkins 18479 Aug 17 23:11 coverage.out 23:12:06 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 17 23:09 go.mod 23:12:06 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 17 23:09 go.sum 23:12:06 drwxrwxr-x 6 jenkins jenkins 4096 Aug 17 23:09 internal 23:12:06 -rw-rw-r-- 1 jenkins jenkins 913 Aug 17 23:09 main.go 23:12:06 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 23:09 pkg 23:12:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 23:09 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:06 Configure a credential helper to remove this warning. See 23:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:06 23:12:06 Login Succeeded 23:12:06 nexus3.edgexfoundry.org:10003 23:12:07 + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=37fc664d0ddd098263d278e6c79c0f1d8848800c --label arch=amd64 --label version=0.0.0 . 23:12:07 Sending build context to Docker daemon 481.8kB 23:12:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:12:07 Step 2/26 : FROM ${BASE} AS builder 23:12:07 ---> 460f5b1e2958 23:12:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:07 Configure a credential helper to remove this warning. See 23:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:07 23:12:07 Login Succeeded 23:12:07 nexus3.edgexfoundry.org:10004 23:12:07 ---> Running in 9b8fea407242 23:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:07 Configure a credential helper to remove this warning. See 23:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:07 23:12:07 Login Succeeded 23:12:07 docker.io 23:12:07 Removing intermediate container 9b8fea407242 23:12:07 ---> a1fb720967db 23:12:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:12:07 ---> Running in 6582df567699 23:12:07 Removing intermediate container 6582df567699 23:12:07 ---> 1441c7e8cefc 23:12:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:12:07 ---> Running in 42c860ce1afd 23:12:07 Removing intermediate container 42c860ce1afd 23:12:07 ---> 686ff493a157 23:12:07 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:07 ---> Running in 590c773714a4 23:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:07 Configure a credential helper to remove this warning. See 23:12:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:07 23:12:07 Login Succeeded 23:12:07 ---> docker-login.sh ends [Pipeline] } 23:12:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 23:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] echo 23:12:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:08 ========================================================= 23:12:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:12:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 23:12:08 OK: 265 MiB in 53 packages [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:08 Removing intermediate container 590c773714a4 23:12:08 ---> f24ed1b762e3 23:12:08 Step 7/26 : WORKDIR /app 23:12:08 + 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:12:08 ---> Running in 5ef932962576 23:12:08 Removing intermediate container 5ef932962576 23:12:08 ---> f0aa393244e4 23:12:08 Step 8/26 : COPY go.mod vendor* ./ 23:12:08 ---> f503819732b9 23:12:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:08 ---> Running in 1bf86da6647c 23:12:09 Sending build context to Docker daemon 209.9kB 23:12:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:12:09 Step 2/12 : FROM ${BASE} AS builder 23:12:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:12:09 edb6bdbacee9: Pulling fs layer 23:12:09 5f9638ab2659: Pulling fs layer 23:12:09 8d51d6327a98: Pulling fs layer 23:12:09 8b374f2dd631: Pulling fs layer 23:12:09 ec14aa9079de: Pulling fs layer 23:12:09 2f466654f4bb: Pulling fs layer 23:12:09 554e91adad29: Pulling fs layer 23:12:09 ec14aa9079de: Waiting 23:12:09 554e91adad29: Waiting 23:12:09 2f466654f4bb: Waiting 23:12:09 8b374f2dd631: Waiting 23:12:09 5f9638ab2659: Verifying Checksum 23:12:09 5f9638ab2659: Download complete 23:12:09 8b374f2dd631: Verifying Checksum 23:12:09 8b374f2dd631: Download complete 23:12:09 ec14aa9079de: Verifying Checksum 23:12:09 ec14aa9079de: Download complete 23:12:09 edb6bdbacee9: Verifying Checksum 23:12:09 edb6bdbacee9: Download complete 23:12:10 Removing intermediate container 1bf86da6647c 23:12:10 ---> 46bb71a817aa 23:12:10 Step 10/26 : COPY . . 23:12:10 ---> 03eee34b9c5f 23:12:10 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:12:10 ---> Running in 3d2b11b96b16 23:12:10 Removing intermediate container 3d2b11b96b16 23:12:10 ---> 7d5be860a63c 23:12:10 Step 12/26 : RUN $MAKE 23:12:10 ---> Running in 311988b0d9cd 23:12:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:12:10 edb6bdbacee9: Pull complete 23:12:11 554e91adad29: Verifying Checksum 23:12:11 554e91adad29: Download complete 23:12:11 5f9638ab2659: Pull complete 23:12:12 8d51d6327a98: Verifying Checksum 23:12:12 8d51d6327a98: Download complete 23:12:12 2f466654f4bb: Verifying Checksum 23:12:12 2f466654f4bb: Download complete 23:12:24 8d51d6327a98: Pull complete 23:12:24 8b374f2dd631: Pull complete 23:12:24 ec14aa9079de: Pull complete 23:12:29 2f466654f4bb: Pull complete 23:12:32 554e91adad29: Pull complete 23:12:32 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 23:12:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:12:32 ---> 1e15ea492957 23:12:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:12:34 ---> Running in a124636b38da 23:12:34 Removing intermediate container a124636b38da 23:12:34 ---> 9dd976ad5cb5 23:12:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:12:34 ---> Running in 0f6800ffb12d 23:12:34 Removing intermediate container 0f6800ffb12d 23:12:34 ---> 7dc4348776c4 23:12:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:12:34 ---> Running in b7b2a1cb1df9 23:12:34 Removing intermediate container b7b2a1cb1df9 23:12:34 ---> 8b62b03ec5e1 23:12:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:35 ---> Running in 822c5a1aa0b1 23:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:12:37 Removing intermediate container 311988b0d9cd 23:12:37 ---> 46af5524edbf 23:12:37 Step 13/26 : FROM alpine:3.17 23:12:37 3.17: Pulling from library/alpine 23:12:37 9398808236ff: Pulling fs layer 23:12:37 9398808236ff: Verifying Checksum 23:12:37 9398808236ff: Download complete 23:12:37 9398808236ff: Pull complete 23:12:37 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 23:12:37 Status: Downloaded newer image for alpine:3.17 23:12:37 ---> 1e0b8b5322fc 23:12:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:12:37 ---> Running in 3fba3e584a6f 23:12:37 Removing intermediate container 3fba3e584a6f 23:12:37 ---> 5125db3a1bba 23:12:37 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:12:37 ---> Running in f459661238bc 23:12:37 Removing intermediate container f459661238bc 23:12:37 ---> 3e7728f6c3de 23:12:37 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:12:37 ---> Running in f4d06e7d7ca0 23:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:12:37 (1/2) Installing ca-certificates (20230506-r0) 23:12:37 (2/2) Installing dumb-init (1.2.5-r2) 23:12:37 Executing busybox-1.35.0-r29.trigger 23:12:37 Executing ca-certificates-20230506-r0.trigger 23:12:37 OK: 8 MiB in 17 packages 23:12:37 Removing intermediate container f4d06e7d7ca0 23:12:37 ---> 5b67e3aec680 23:12:37 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:12:37 ---> 9788cbcf64b2 23:12:37 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:12:37 ---> 576ce35de083 23:12:37 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:12:37 ---> 9231978d7cc4 23:12:37 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:12:37 ---> 3e71d3706f0d 23:12:37 Step 21/26 : EXPOSE 59712 23:12:37 ---> Running in a6b157223620 23:12:37 Removing intermediate container a6b157223620 23:12:37 ---> fa6770e290f6 23:12:37 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:12:37 ---> Running in ba5c4323d472 23:12:37 Removing intermediate container ba5c4323d472 23:12:37 ---> 4c03e54e36df 23:12:37 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:12:37 ---> Running in d48515ca098b 23:12:37 OK: 263 MiB in 53 packages 23:12:37 Removing intermediate container d48515ca098b 23:12:37 ---> ebf2a7c63f44 23:12:37 Step 24/26 : LABEL arch=amd64 23:12:37 ---> Running in 34aa0981fd8d 23:12:38 Removing intermediate container 34aa0981fd8d 23:12:38 ---> 1912e5df3e92 23:12:38 Step 25/26 : LABEL git_sha=37fc664d0ddd098263d278e6c79c0f1d8848800c 23:12:38 ---> Running in 5dac5e0c4ac5 23:12:38 Removing intermediate container 5dac5e0c4ac5 23:12:38 ---> d1ff5f0dbcd1 23:12:38 Step 26/26 : LABEL version=0.0.0 23:12:38 ---> Running in 8e79eecfb71c 23:12:38 Removing intermediate container 8e79eecfb71c 23:12:38 ---> b85845d504d9 23:12:38 [Warning] One or more build-args [ARCH] were not consumed 23:12:38 Successfully built b85845d504d9 23:12:38 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:38 23:12:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:38 Removing intermediate container 822c5a1aa0b1 23:12:38 ---> 811312d1e26b 23:12:38 Step 7/12 : WORKDIR /app 23:12:38 ---> Running in e118f13791c5 23:12:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:38 latest: Pulling from edgex-lftools-log-publisher 23:12:38 5eb5b503b376: Pulling fs layer 23:12:38 5c69ac0246d0: Pulling fs layer 23:12:38 ec43610c2a17: Pulling fs layer 23:12:38 3a2ae6a8a46f: Pulling fs layer 23:12:38 33b1e0a273af: Pulling fs layer 23:12:38 5d3b04190fa2: Pulling fs layer 23:12:38 2f39f015ded8: Pulling fs layer 23:12:38 33b1e0a273af: Waiting 23:12:38 5d3b04190fa2: Waiting 23:12:38 3a2ae6a8a46f: Waiting 23:12:38 2f39f015ded8: Waiting 23:12:38 5c69ac0246d0: Verifying Checksum 23:12:38 5c69ac0246d0: Download complete 23:12:38 3a2ae6a8a46f: Download complete 23:12:38 33b1e0a273af: Verifying Checksum 23:12:38 33b1e0a273af: Download complete 23:12:38 5d3b04190fa2: Verifying Checksum 23:12:38 5d3b04190fa2: Download complete 23:12:39 Removing intermediate container e118f13791c5 23:12:39 ---> a11f6c21c445 23:12:39 Step 8/12 : COPY go.mod vendor* ./ 23:12:39 ec43610c2a17: Verifying Checksum 23:12:39 ec43610c2a17: Download complete 23:12:39 5eb5b503b376: Verifying Checksum 23:12:39 5eb5b503b376: Download complete 23:12:39 ---> ad495a92ee77 23:12:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:39 ---> Running in 8bf9ee1c1d8a 23:12:39 2f39f015ded8: Download complete 23:12:40 5eb5b503b376: Pull complete 23:12:40 5c69ac0246d0: Pull complete 23:12:40 ec43610c2a17: Pull complete 23:12:40 3a2ae6a8a46f: Pull complete 23:12:41 33b1e0a273af: Pull complete 23:12:41 5d3b04190fa2: Pull complete 23:12:45 2f39f015ded8: Pull complete 23:12:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:45 prd-ubuntu20.04-docker-8c-8g-3959 does not seem to be running inside a container 23:12:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:12:51 $ docker top cad94a56b8d9d1295f92fec893264895c12c3d39c17ab45b92909dacf54a9b2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:51 ---> job-cost.sh 23:12:51 lf-activate-venv: SKIPPING 23:12:51 INFO: No Stack... 23:12:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:12:52 INFO: Archiving Costs [Pipeline] sh 23:12:52 + cat /w/workspace/xfoundry_app-record-replay_PR-56/archives/cost.csv 23:12:52 + cut -d, -f6 [Pipeline] lock 23:12:52 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-10-stack-cost] 23:12:52 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-10-stack-cost] did not exist. Created. 23:12:52 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:12:53 + echo total: 0.2199999988079071 [Pipeline] stash 23:12:53 Stashed 1 file(s) [Pipeline] } 23:12:53 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-10-stack-cost] [Pipeline] // lock [Pipeline] } 23:12:53 $ docker stop --time=1 cad94a56b8d9d1295f92fec893264895c12c3d39c17ab45b92909dacf54a9b2e 23:12:54 $ docker rm -f --volumes cad94a56b8d9d1295f92fec893264895c12c3d39c17ab45b92909dacf54a9b2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:13:47 Removing intermediate container 8bf9ee1c1d8a 23:13:47 ---> c42c6248e1e8 23:13:47 Step 10/12 : COPY . . 23:13:47 ---> 58fdf9453355 23:13:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:13:47 ---> Running in 823c89704ab6 23:13:47 Removing intermediate container 823c89704ab6 23:13:47 ---> 8ff59c4af53e 23:13:47 Step 12/12 : RUN $MAKE 23:13:47 ---> Running in 299dfc0a2bc0 23:13:47 noop 23:13:47 Removing intermediate container 299dfc0a2bc0 23:13:47 ---> f5b8e35ac49b 23:13:47 Successfully built f5b8e35ac49b 23:13:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:47 + docker inspect -f . ci-base-image-arm64 23:13:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:47 prd-ubuntu20.04-docker-arm64-4c-16g-3960 does not seem to be running inside a container 23:13:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/10 -v /w/workspace/app-record-replay/10:/w/workspace/app-record-replay/10:rw,z -v /w/workspace/app-record-replay/10@tmp:/w/workspace/app-record-replay/10@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:13:49 $ docker top 3303638af5035b9b777f635ae491f1e5d355ff5312fdae895d7455a9593302e6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:49 + go version 23:13:49 go version go1.20.6 linux/arm64 [Pipeline] } 23:13:49 $ docker stop --time=1 3303638af5035b9b777f635ae491f1e5d355ff5312fdae895d7455a9593302e6 23:13:51 $ docker rm -f --volumes 3303638af5035b9b777f635ae491f1e5d355ff5312fdae895d7455a9593302e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:52 + docker inspect -f . ci-base-image-arm64 23:13:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:52 prd-ubuntu20.04-docker-arm64-4c-16g-3960 does not seem to be running inside a container 23:13:52 $ 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/10 -v /w/workspace/app-record-replay/10:/w/workspace/app-record-replay/10:rw,z -v /w/workspace/app-record-replay/10@tmp:/w/workspace/app-record-replay/10@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:13:53 $ docker top 9f331d1825934b38fd130c7999855eae425523a374da3ef1594a04c8b63c3cbc -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:53 + git config --global --add safe.directory /w/workspace/app-record-replay/10 [Pipeline] fileExists [Pipeline] sh 23:13:54 + make test 23:13:54 go test -race -coverprofile=coverage.out ./... 23:16:31 ? github.com/edgexfoundry/app-record-replay [no test files] 23:16:39 ok github.com/edgexfoundry/app-record-replay/internal/app 0.298s coverage: 88.0% of statements 23:16:47 ok github.com/edgexfoundry/app-record-replay/internal/application 8.947s coverage: 98.1% of statements 23:16:47 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:16:47 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:16:47 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:16:48 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.621s coverage: 78.2% of statements 23:16:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:16:49 go vet ./... 23:19:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:19:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:19:10 ./bin/test-attribution-txt.sh [Pipeline] echo 23:19:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:19:11 $ docker stop --time=1 9f331d1825934b38fd130c7999855eae425523a374da3ef1594a04c8b63c3cbc 23:19:12 $ docker rm -f --volumes 9f331d1825934b38fd130c7999855eae425523a374da3ef1594a04c8b63c3cbc [Pipeline] // withDockerContainer [Pipeline] sh 23:19:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:14 Warning: overwriting stash ‘coverage-report’ 23:19:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:19:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:15 + ls -al . 23:19:15 total 172 23:19:15 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 23:13 . 23:19:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 23:11 .. 23:19:15 -rw-rw-r-- 1 jenkins jenkins 119 Aug 17 23:11 .dockerignore 23:19:15 drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 23:11 .git 23:19:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 23:11 .github 23:19:15 -rw-rw-r-- 1 jenkins jenkins 164 Aug 17 23:11 .gitignore 23:19:15 -rw-rw-r-- 1 jenkins jenkins 41 Aug 17 23:11 .golangci.yml 23:19:15 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 17 23:11 Attribution.txt 23:19:15 -rw-rw-r-- 1 jenkins jenkins 258 Aug 17 23:11 CHANGELOG.md 23:19:15 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 17 23:11 Dockerfile 23:19:15 -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 23:11 GOVERNANCE.md 23:19:15 -rw-rw-r-- 1 jenkins jenkins 681 Aug 17 23:11 Jenkinsfile 23:19:15 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 17 23:11 LICENSE 23:19:15 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 17 23:11 Makefile 23:19:15 -rw-rw-r-- 1 jenkins jenkins 611 Aug 17 23:11 OWNERS.md 23:19:15 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 17 23:11 README.md 23:19:15 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 17 23:11 Record and Reply.postman_collection.json 23:19:15 -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 23:09 VERSION 23:19:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 23:11 bin 23:19:15 -rw-r--r-- 1 jenkins jenkins 18479 Aug 17 23:16 coverage.out 23:19:15 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 17 23:11 go.mod 23:19:15 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 17 23:11 go.sum 23:19:15 drwxrwxr-x 6 jenkins jenkins 4096 Aug 17 23:11 internal 23:19:15 -rw-rw-r-- 1 jenkins jenkins 913 Aug 17 23:11 main.go 23:19:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 23:11 pkg 23:19:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 23:11 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:16 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d04d5ff9d1fc49b98d46c9cc1bd230f883caa8db --label arch=arm64 --label version=0.0.0 . 23:19:16 Sending build context to Docker daemon 229.4kB 23:19:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:19:16 Step 2/26 : FROM ${BASE} AS builder 23:19:16 ---> f5b8e35ac49b 23:19:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:19:16 ---> Running in a9d5fcce09ef 23:19:16 Removing intermediate container a9d5fcce09ef 23:19:16 ---> 14c5eff0407b 23:19:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:19:16 ---> Running in d4b9bc10008a 23:19:16 Removing intermediate container d4b9bc10008a 23:19:16 ---> d1cdb3508554 23:19:16 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:19:17 ---> Running in d9f64f99adbc 23:19:17 Removing intermediate container d9f64f99adbc 23:19:17 ---> 883eb1ab3a6f 23:19:17 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:17 ---> Running in 6ffad5fab29c 23:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:19:20 OK: 263 MiB in 53 packages 23:19:20 Removing intermediate container 6ffad5fab29c 23:19:20 ---> a614da857b5c 23:19:20 Step 7/26 : WORKDIR /app 23:19:21 ---> Running in 72e0d75f7fd5 23:19:21 Removing intermediate container 72e0d75f7fd5 23:19:21 ---> ed43d69c6c5c 23:19:21 Step 8/26 : COPY go.mod vendor* ./ 23:19:23 ---> 9c3538e493ac 23:19:23 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:23 ---> Running in 93937bf971ff 23:19:26 Removing intermediate container 93937bf971ff 23:19:26 ---> d8385764ec9d 23:19:26 Step 10/26 : COPY . . 23:19:26 ---> 46920e76befb 23:19:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:26 ---> Running in f4d2a32e5d3f 23:19:26 Removing intermediate container f4d2a32e5d3f 23:19:26 ---> 51bbd9aee5a8 23:19:26 Step 12/26 : RUN $MAKE 23:19:26 ---> Running in f2e6d03f72f2 23:19:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:21:34 Removing intermediate container f2e6d03f72f2 23:21:34 ---> a1a20d234127 23:21:34 Step 13/26 : FROM alpine:3.17 23:21:34 3.17: Pulling from library/alpine 23:21:34 4060ece20d7a: Pulling fs layer 23:21:34 4060ece20d7a: Verifying Checksum 23:21:34 4060ece20d7a: Download complete 23:21:34 4060ece20d7a: Pull complete 23:21:34 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 23:21:34 Status: Downloaded newer image for alpine:3.17 23:21:34 ---> 8650cd65339b 23:21:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:21:34 ---> Running in 0c7d756a2a4e 23:21:34 Removing intermediate container 0c7d756a2a4e 23:21:34 ---> e8161597ab15 23:21:34 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:21:34 ---> Running in 40ce509205ba 23:21:34 Removing intermediate container 40ce509205ba 23:21:34 ---> b86aed346a6f 23:21:34 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:21:34 ---> Running in 21466ea510ab 23:21:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:21:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:21:34 (1/2) Installing ca-certificates (20230506-r0) 23:21:34 (2/2) Installing dumb-init (1.2.5-r2) 23:21:34 Executing busybox-1.35.0-r29.trigger 23:21:34 Executing ca-certificates-20230506-r0.trigger 23:21:35 OK: 8 MiB in 17 packages 23:21:36 Removing intermediate container 21466ea510ab 23:21:36 ---> d85d53a7436c 23:21:36 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:21:37 ---> dade8a15f995 23:21:37 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:21:37 ---> 105c1aa348c8 23:21:37 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:21:38 ---> 0b5622fc284a 23:21:38 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:21:39 ---> 4f208e722ee3 23:21:39 Step 21/26 : EXPOSE 59712 23:21:39 ---> Running in b4800864c975 23:21:39 Removing intermediate container b4800864c975 23:21:39 ---> 66a94fe11cde 23:21:39 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:21:39 ---> Running in 10aa45ae19e5 23:21:40 Removing intermediate container 10aa45ae19e5 23:21:40 ---> 647bed27ba50 23:21:40 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:21:40 ---> Running in ec3a77890286 23:21:40 Removing intermediate container ec3a77890286 23:21:40 ---> 2e99ae0eb233 23:21:40 Step 24/26 : LABEL arch=arm64 23:21:40 ---> Running in 13f520b3ceb0 23:21:40 Removing intermediate container 13f520b3ceb0 23:21:40 ---> 405e54496504 23:21:40 Step 25/26 : LABEL git_sha=d04d5ff9d1fc49b98d46c9cc1bd230f883caa8db 23:21:40 ---> Running in 2b3aee43925d 23:21:41 Removing intermediate container 2b3aee43925d 23:21:41 ---> 071fdd9783f8 23:21:41 Step 26/26 : LABEL version=0.0.0 23:21:41 ---> Running in ed802772152e 23:21:41 Removing intermediate container ed802772152e 23:21:41 ---> 70b4ab744fa1 23:21:41 [Warning] One or more build-args [ARCH] were not consumed 23:21:41 Successfully built 70b4ab744fa1 23:21:41 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:21:41 23:21:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:21:42 arm64: Pulling from edgex-lftools-log-publisher 23:21:42 8998bd30e6a1: Pulling fs layer 23:21:42 04944245beec: Pulling fs layer 23:21:42 699f458cf7ca: Pulling fs layer 23:21:42 765212b225bb: Pulling fs layer 23:21:42 f23df028b6ca: Pulling fs layer 23:21:42 d65c8cfc05b1: Pulling fs layer 23:21:42 2437ff75d9bd: Pulling fs layer 23:21:42 765212b225bb: Waiting 23:21:42 2437ff75d9bd: Waiting 23:21:42 d65c8cfc05b1: Waiting 23:21:42 f23df028b6ca: Waiting 23:21:42 04944245beec: Verifying Checksum 23:21:42 04944245beec: Download complete 23:21:42 765212b225bb: Verifying Checksum 23:21:42 765212b225bb: Download complete 23:21:42 f23df028b6ca: Verifying Checksum 23:21:42 f23df028b6ca: Download complete 23:21:42 d65c8cfc05b1: Verifying Checksum 23:21:42 d65c8cfc05b1: Download complete 23:21:42 699f458cf7ca: Verifying Checksum 23:21:42 699f458cf7ca: Download complete 23:21:43 8998bd30e6a1: Verifying Checksum 23:21:43 8998bd30e6a1: Download complete 23:21:44 2437ff75d9bd: Verifying Checksum 23:21:44 2437ff75d9bd: Download complete 23:21:46 8998bd30e6a1: Pull complete 23:21:50 04944245beec: Pull complete 23:21:51 699f458cf7ca: Pull complete 23:21:51 765212b225bb: Pull complete 23:21:52 f23df028b6ca: Pull complete 23:21:52 d65c8cfc05b1: Pull complete 23:22:07 2437ff75d9bd: Pull complete 23:22:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:22:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:07 prd-ubuntu20.04-docker-arm64-4c-16g-3960 does not seem to be running inside a container 23:22:07 $ 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/10 -v /w/workspace/app-record-replay/10:/w/workspace/app-record-replay/10:rw,z -v /w/workspace/app-record-replay/10@tmp:/w/workspace/app-record-replay/10@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:22:10 $ docker top 483ec62a939ae61e5845fc99d42c16b9abb6ce1823bf41293256d3a1255e9373 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:10 ---> job-cost.sh 23:22:10 lf-activate-venv: SKIPPING 23:22:10 INFO: No Stack... 23:22:11 INFO: Retrieving Pricing Info for: v3-standard-4 23:22:12 INFO: Archiving Costs [Pipeline] sh 23:22:12 + + cat /w/workspace/app-record-replay/10/archives/cost.csvcut 23:22:12 -d, -f6 [Pipeline] lock 23:22:12 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-10-stack-cost] 23:22:12 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-10-stack-cost] did not exist. Created. 23:22:12 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:22:12 /w/workspace/app-record-replay/10@tmp/durable-2b440e82/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:22:13 + echo total: 0.10999999940395355 [Pipeline] stash 23:22:13 Warning: overwriting stash ‘stack-cost’ 23:22:13 Stashed 1 file(s) [Pipeline] } 23:22:13 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-10-stack-cost] [Pipeline] // lock [Pipeline] } 23:22:13 $ docker stop --time=1 483ec62a939ae61e5845fc99d42c16b9abb6ce1823bf41293256d3a1255e9373 23:22:14 $ docker rm -f --volumes 483ec62a939ae61e5845fc99d42c16b9abb6ce1823bf41293256d3a1255e9373 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:22:15 provisioning config files... 23:22:15 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-56 #10 23:22:15 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config5033214028633312301tmp [Pipeline] { [Pipeline] sh 23:22:15 + set +x 23:22:15 + curl -s https://codecov.io/bash 23:22:15 + bash -s -- 23:22:15 23:22:15 _____ _ 23:22:15 / ____| | | 23:22:15 | | ___ __| | ___ ___ _____ __ 23:22:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:22:15 | |___| (_) | (_| | __/ (_| (_) \ V / 23:22:15 \_____\___/ \__,_|\___|\___\___/ \_/ 23:22:15 Bash-1.0.6 23:22:15 23:22:15 23:22:15 ==> git version 2.25.1 found 23:22:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:22:15 Release-Date: 2020-01-08 23:22:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:22:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:22:15 ==> Jenkins CI detected. 23:22:15 current dir:  /w/workspace/xfoundry_app-record-replay_PR-56 23:22:15 project root: . 23:22:15 --> token set from env 23:22:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:22:15 ==> Running gcov in . (disable via -X gcov) 23:22:15 ==> Python coveragepy not found 23:22:15 ==> Searching for coverage reports in: 23:22:15 + . 23:22:15 -> Found 1 reports 23:22:15 ==> Detecting git/mercurial file structure 23:22:15 ==> Reading reports 23:22:15 + ./coverage.out bytes=18479 23:22:15 ==> Appending adjustments 23:22:15 https://docs.codecov.io/docs/fixing-reports 23:22:15 + Found adjustments 23:22:15 ==> Gzipping contents 23:22:15 4.0K /tmp/codecov.1iu7aY.gz 23:22:15 ==> Uploading reports 23:22:15 url: https://codecov.io 23:22:15 query: branch=PR-56&commit=37fc664d0ddd098263d278e6c79c0f1d8848800c&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-56%2F10%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=56&job=&cmd_args= 23:22:15 -> Pinging Codecov 23:22:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-56&commit=37fc664d0ddd098263d278e6c79c0f1d8848800c&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-56%2F10%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=56&job=&cmd_args= 23:22:15 Invalid request parameters 23:22:15 400 [Pipeline] } 23:22:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:22:16 + [ -d /w/workspace/xfoundry_app-record-replay_PR-56/archives ] 23:22:16 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:22:16 total 16 23:22:16 drwxr-xr-x 3 root root 4096 Aug 17 23:12 . 23:22:16 drwxrwxr-x 10 jenkins jenkins 4096 Aug 17 23:12 .. 23:22:16 drwxr-xr-x 2 root root 4096 Aug 17 23:12 cost 23:22:16 -rw-r--r-- 1 root root 89 Aug 17 23:12 cost.csv 23:22:16 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:22:16 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:22:16 total 16 23:22:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 17 23:12 . 23:22:16 drwxrwxr-x 10 jenkins jenkins 4096 Aug 17 23:12 .. 23:22:16 drwxr-xr-x 2 jenkins jenkins 4096 Aug 17 23:12 cost 23:22:16 -rw-r--r-- 1 jenkins jenkins 89 Aug 17 23:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:22:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:22:17 ---> package-listing.sh 23:22:17 ++ tr '[:upper:]' '[:lower:]' 23:22:17 ++ facter osfamily 23:22:18 + OS_FAMILY=debian 23:22:18 + workspace=/w/workspace/xfoundry_app-record-replay_PR-56 23:22:18 + START_PACKAGES=/tmp/packages_start.txt 23:22:18 + END_PACKAGES=/tmp/packages_end.txt 23:22:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:22:18 + PACKAGES=/tmp/packages_start.txt 23:22:18 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 23:22:18 + PACKAGES=/tmp/packages_end.txt 23:22:18 + case "${OS_FAMILY}" in 23:22:18 + dpkg -l 23:22:18 + grep '^ii' 23:22:18 + '[' -f /tmp/packages_start.txt ']' 23:22:18 + '[' -f /tmp/packages_end.txt ']' 23:22:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:22:18 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 23:22:18 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-56/archives/ 23:22:18 + 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:22:18 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:22:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:19 prd-ubuntu20.04-docker-8c-8g-3959 does not seem to be running inside a container 23:22:23 $ 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:22:24 $ docker top 0d7004bb1d42606e19915385123f28cc4f099e2c91469083270b596bef512f4b -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:24 + touch /tmp/pre-build-complete [Pipeline] sh 23:22:24 + mkdir -p /var/log/sysstat [Pipeline] sh 23:22:24 + ls /var/log/sa-host 23:22:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:22:25 provisioning config files... 23:22:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config9508510710947060965tmp [Pipeline] { [Pipeline] echo 23:22:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:22:25 ---> create-netrc.sh [Pipeline] } 23:22:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:22:25 ---> python-tools-install.sh [Pipeline] echo 23:22:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:22:25 ---> sudo-logs.sh 23:22:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:22:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:22:26 ---> job-cost.sh 23:22:26 lf-activate-venv: SKIPPING 23:22:26 DEBUG: total: 0.2199999988079071 23:22:26 INFO: Retrieving Stack Cost... 23:22:26 INFO: Retrieving Pricing Info for: v3-standard-8 23:22:27 INFO: Archiving Costs [Pipeline] echo 23:22:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:22:27 ---> logs-deploy.sh 23:22:27 lf-activate-venv: SKIPPING 23:22:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-56/10 23:22:27 INFO: archiving workspace using pattern(s): 23:22:28 Archives upload complete. 23:22:28 INFO: archiving logs to Nexus