Pull request #26 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc51082e9464353854d9bbf6567f8cf04a498482+f5c7a18031cd417fd66742b551e8281643a7d45d (f442b4712e42d7a0a09e3ceaaebf29dcfa648d3a) 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-ssh6367559911565265597.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3949095628740640830.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-26/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-26/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5550722666332658524.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-26/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2973855392649309835.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11148134914035045407.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-26/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-26/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9245959266614174986.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19049 in /w/workspace/xfoundry_app-record-replay_PR-26 [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-26 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f5c7a18031cd417fd66742b551e8281643a7d45d into PR head commit bc51082e9464353854d9bbf6567f8cf04a498482 > 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/26/head:refs/remotes/origin/PR-26 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc51082e9464353854d9bbf6567f8cf04a498482 # timeout=10 Merge succeeded, producing bc51082e9464353854d9bbf6567f8cf04a498482 Checking out Revision bc51082e9464353854d9bbf6567f8cf04a498482 (PR-26) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f5c7a18031cd417fd66742b551e8281643a7d45d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc51082e9464353854d9bbf6567f8cf04a498482 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:19 ========================================================= 04:06:19 EdgeX Global Pipelines Version Info 04:06:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:19 ------------------- 04:06:19 stable info: 04:06:19 ------------------- 04:06:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:19 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:06:19 Message: update stable to v1.0.250 04:06:20 ------------------- 04:06:20 experimental info: 04:06:20 ------------------- 04:06:20 Commited By: **** collab-it+edgex@linuxfoundation.org 04:06:20 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:06:20 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 04:06:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 04:06:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:06:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-26 [Pipeline] echo 04:06:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-26 [Pipeline] echo 04:06:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-26 [Pipeline] echo 04:06:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc51082e9464353854d9bbf6567f8cf04a498482 [Pipeline] echo 04:06:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc51082 [Pipeline] echo 04:06:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:22 provisioning config files... 04:06:22 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-26@tmp/config1795156237517199540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:22 ---> docker-login.sh 04:06:22 nexus3.edgexfoundry.org:10001 04:06:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:23 Configure a credential helper to remove this warning. See 04:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:23 04:06:23 Login Succeeded 04:06:23 nexus3.edgexfoundry.org:10002 04:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:23 Configure a credential helper to remove this warning. See 04:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:23 04:06:23 Login Succeeded 04:06:23 nexus3.edgexfoundry.org:10003 04:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:23 Configure a credential helper to remove this warning. See 04:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:23 04:06:23 Login Succeeded 04:06:23 nexus3.edgexfoundry.org:10004 04:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:23 Configure a credential helper to remove this warning. See 04:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:23 04:06:23 Login Succeeded 04:06:23 docker.io 04:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:23 Configure a credential helper to remove this warning. See 04:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:23 04:06:23 Login Succeeded 04:06:23 ---> docker-login.sh ends [Pipeline] } 04:06:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:24 + git rev-list -1 --merges bc51082e9464353854d9bbf6567f8cf04a498482~1..bc51082e9464353854d9bbf6567f8cf04a498482 [Pipeline] echo 04:06:24 -----------> git rev-list -1 --merges bc51082e9464353854d9bbf6567f8cf04a498482~1..bc51082e9464353854d9bbf6567f8cf04a498482 bc51082e9464353854d9bbf6567f8cf04a498482 [false] [Pipeline] sh 04:06:24 + git log --format=format:%s -1 bc51082e9464353854d9bbf6567f8cf04a498482 [Pipeline] echo 04:06:24 ========================================================= 04:06:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:25 + git log --format=format:%s -1 bc51082e9464353854d9bbf6567f8cf04a498482 [Pipeline] echo 04:06:25 [semverPrep] GIT_COMMIT: bc51082e9464353854d9bbf6567f8cf04a498482, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 [Pipeline] echo 04:06:25 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:25 + grep -v github /etc/ssh/ssh_known_hosts 04:06:25 + [ -e /tmp/ssh_known_hosts ] 04:06:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:06:25 + sudo tee -a /etc/ssh/ssh_known_hosts 04:06:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:26 04:06:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:26 0.1.4: Pulling from edgex-devops/py-git-semver 04:06:26 b85a868b505f: Pulling fs layer 04:06:26 e2be974225ed: Pulling fs layer 04:06:26 339a4e72a1f5: Pulling fs layer 04:06:26 988bab9f4d93: Pulling fs layer 04:06:26 1469e6f7b9e6: Pulling fs layer 04:06:26 eaf3925da568: Pulling fs layer 04:06:26 bab4dde63d76: Pulling fs layer 04:06:26 bde34c3a00c8: Pulling fs layer 04:06:26 b352a97aabf1: Pulling fs layer 04:06:26 4872d77fe225: Pulling fs layer 04:06:26 5851b861e8e6: Pulling fs layer 04:06:26 b352a97aabf1: Waiting 04:06:26 bde34c3a00c8: Waiting 04:06:26 4872d77fe225: Waiting 04:06:26 988bab9f4d93: Waiting 04:06:26 5851b861e8e6: Waiting 04:06:26 1469e6f7b9e6: Waiting 04:06:26 bab4dde63d76: Waiting 04:06:26 eaf3925da568: Waiting 04:06:26 e2be974225ed: Verifying Checksum 04:06:26 e2be974225ed: Download complete 04:06:26 988bab9f4d93: Download complete 04:06:26 1469e6f7b9e6: Verifying Checksum 04:06:26 1469e6f7b9e6: Download complete 04:06:26 eaf3925da568: Download complete 04:06:26 339a4e72a1f5: Verifying Checksum 04:06:26 339a4e72a1f5: Download complete 04:06:26 bde34c3a00c8: Download complete 04:06:26 b352a97aabf1: Verifying Checksum 04:06:26 b352a97aabf1: Download complete 04:06:26 4872d77fe225: Verifying Checksum 04:06:26 4872d77fe225: Download complete 04:06:26 5851b861e8e6: Download complete 04:06:26 b85a868b505f: Verifying Checksum 04:06:26 b85a868b505f: Download complete 04:06:27 bab4dde63d76: Verifying Checksum 04:06:27 bab4dde63d76: Download complete 04:06:28 b85a868b505f: Pull complete 04:06:28 e2be974225ed: Pull complete 04:06:28 339a4e72a1f5: Pull complete 04:06:28 988bab9f4d93: Pull complete 04:06:29 1469e6f7b9e6: Pull complete 04:06:29 eaf3925da568: Pull complete 04:06:30 bab4dde63d76: Pull complete 04:06:30 bde34c3a00c8: Pull complete 04:06:30 b352a97aabf1: Pull complete 04:06:30 4872d77fe225: Pull complete 04:06:31 5851b861e8e6: Pull complete 04:06:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:06:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:31 prd-ubuntu20.04-docker-8c-8g-19049 does not seem to be running inside a container 04:06:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-26 -v /w/workspace/xfoundry_app-record-replay_PR-26:/w/workspace/xfoundry_app-record-replay_PR-26:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-26@tmp:/w/workspace/xfoundry_app-record-replay_PR-26@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:06:34 $ docker top 3192c26ceb401115088370ad7fb4e94d1612e726f9a13a391ec929c6e01035ac -eo pid,comm 04:06:34 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). 04:06:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:34 [ssh-agent] Looking for ssh-agent implementation... 04:06:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:34 $ docker exec 3192c26ceb401115088370ad7fb4e94d1612e726f9a13a391ec929c6e01035ac ssh-agent 04:06:34 SSH_AUTH_SOCK=/tmp/ssh-rVHSJKT0Y8C8/agent.32 04:06:34 SSH_AGENT_PID=38 04:06:34 Running ssh-add (command line suppressed) 04:06:34 Identity added: /w/workspace/xfoundry_app-record-replay_PR-26@tmp/private_key_14482342394716847775.key (/w/workspace/xfoundry_app-record-replay_PR-26@tmp/private_key_14482342394716847775.key) 04:06:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:35 + git tag --points-at HEAD [Pipeline] } 04:06:35 $ docker exec --env ******** --env ******** 3192c26ceb401115088370ad7fb4e94d1612e726f9a13a391ec929c6e01035ac ssh-agent -k 04:06:35 unset SSH_AUTH_SOCK; 04:06:35 unset SSH_AGENT_PID; 04:06:35 echo Agent pid 38 killed; 04:06:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:06:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:35 [ssh-agent] Looking for ssh-agent implementation... 04:06:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:35 $ docker exec 3192c26ceb401115088370ad7fb4e94d1612e726f9a13a391ec929c6e01035ac ssh-agent 04:06:35 SSH_AUTH_SOCK=/tmp/ssh-hrsrmaJQIsjS/agent.70 04:06:35 SSH_AGENT_PID=77 04:06:35 Running ssh-add (command line suppressed) 04:06:35 Identity added: /w/workspace/xfoundry_app-record-replay_PR-26@tmp/private_key_9449715255538306435.key (/w/workspace/xfoundry_app-record-replay_PR-26@tmp/private_key_9449715255538306435.key) 04:06:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:35 + git semver init 04:06:36 2023-06-22 04:06:36,147 [run_init] DEBUG init version:0.0.0 force:False 04:06:36 2023-06-22 04:06:36,147 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-26/.semver 04:06:36 2023-06-22 04:06:36,148 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-26/.semver 04:06:36 2023-06-22 04:06:36,148 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-26/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-26, universal_newlines=False, shell=None, istream=None) 04:06:36 2023-06-22 04:06:36,721 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-26/.git/info/exclude 04:06:36 2023-06-22 04:06:36,721 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-26/.semver/PR-26 with force:False 04:06:36 2023-06-22 04:06:36,722 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-26/.semver/PR-26 04:06:36 2023-06-22 04:06:36,725 [execute] INFO git cat-file --batch-check 04:06:36 2023-06-22 04:06:36,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-26/.semver, universal_newlines=False, shell=None, istream=) 04:06:36 2023-06-22 04:06:36,731 [execute] INFO git cat-file --batch 04:06:36 2023-06-22 04:06:36,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-26/.semver, universal_newlines=False, shell=None, istream=) 04:06:36 2023-06-22 04:06:36,736 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-26/.semver/PR-26 04:06:36 0.0.0 [Pipeline] } 04:06:36 $ docker exec --env ******** --env ******** 3192c26ceb401115088370ad7fb4e94d1612e726f9a13a391ec929c6e01035ac ssh-agent -k 04:06:36 unset SSH_AUTH_SOCK; 04:06:36 unset SSH_AGENT_PID; 04:06:36 echo Agent pid 77 killed; 04:06:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:06:37 + git semver [Pipeline] } 04:06:37 $ docker stop --time=1 3192c26ceb401115088370ad7fb4e94d1612e726f9a13a391ec929c6e01035ac 04:06:39 $ docker rm -f --volumes 3192c26ceb401115088370ad7fb4e94d1612e726f9a13a391ec929c6e01035ac [Pipeline] // withDockerContainer [Pipeline] sh 04:06:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:06:39 Stashed 1 file(s) [Pipeline] echo 04:06:39 [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 04:06:40 provisioning config files... 04:06:40 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-26@tmp/config6520215885741860193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:40 ---> docker-login.sh 04:06:40 nexus3.edgexfoundry.org:10001 04:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:40 Configure a credential helper to remove this warning. See 04:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:40 04:06:40 Login Succeeded 04:06:40 nexus3.edgexfoundry.org:10002 04:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:40 Configure a credential helper to remove this warning. See 04:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:40 04:06:40 Login Succeeded 04:06:40 nexus3.edgexfoundry.org:10003 04:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:40 Configure a credential helper to remove this warning. See 04:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:40 04:06:40 Login Succeeded 04:06:40 nexus3.edgexfoundry.org:10004 04:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:40 Configure a credential helper to remove this warning. See 04:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:40 04:06:40 Login Succeeded 04:06:40 docker.io 04:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:41 Configure a credential helper to remove this warning. See 04:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:41 04:06:41 Login Succeeded 04:06:41 ---> docker-login.sh ends [Pipeline] } 04:06:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:06:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:41 ========================================================= 04:06:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:06:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:06:41 Sending build context to Docker daemon 219.6kB 04:06:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:06:41 Step 2/12 : FROM ${BASE} AS builder 04:06:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:06:41 f56be85fc22e: Pulling fs layer 04:06:41 85791d961cd3: Pulling fs layer 04:06:41 d694b5ae8c79: Pulling fs layer 04:06:41 9f32a84ed3da: Pulling fs layer 04:06:41 4d19c01a9841: Pulling fs layer 04:06:41 9325e15d5711: Pulling fs layer 04:06:41 556b6ee489ea: Pulling fs layer 04:06:41 c5a4b2cf53e6: Pulling fs layer 04:06:41 9f32a84ed3da: Waiting 04:06:41 4d19c01a9841: Waiting 04:06:41 9325e15d5711: Waiting 04:06:41 556b6ee489ea: Waiting 04:06:41 c5a4b2cf53e6: Waiting 04:06:41 85791d961cd3: Download complete 04:06:41 9f32a84ed3da: Verifying Checksum 04:06:41 9f32a84ed3da: Download complete 04:06:42 4d19c01a9841: Verifying Checksum 04:06:42 4d19c01a9841: Download complete 04:06:42 f56be85fc22e: Verifying Checksum 04:06:42 f56be85fc22e: Download complete 04:06:42 9325e15d5711: Verifying Checksum 04:06:42 9325e15d5711: Download complete 04:06:42 f56be85fc22e: Pull complete 04:06:42 85791d961cd3: Pull complete 04:06:42 c5a4b2cf53e6: Verifying Checksum 04:06:42 c5a4b2cf53e6: Download complete 04:06:42 d694b5ae8c79: Verifying Checksum 04:06:42 d694b5ae8c79: Download complete 04:06:42 556b6ee489ea: Verifying Checksum 04:06:42 556b6ee489ea: Download complete 04:06:46 d694b5ae8c79: Pull complete 04:06:46 9f32a84ed3da: Pull complete 04:06:46 4d19c01a9841: Pull complete 04:06:46 9325e15d5711: Pull complete 04:06:48 556b6ee489ea: Pull complete 04:06:49 c5a4b2cf53e6: Pull complete 04:06:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:06:49 ---> c4be618373d6 04:06:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:06:55 Still waiting to schedule task 04:06:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:06:56 ---> Running in d802f6e2e916 04:06:56 Removing intermediate container d802f6e2e916 04:06:56 ---> acd5f44f0bc5 04:06:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:06:56 ---> Running in c68768483535 04:06:56 Removing intermediate container c68768483535 04:06:56 ---> 66299a14b898 04:06:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:06:56 ---> Running in e71be4addde5 04:06:56 Removing intermediate container e71be4addde5 04:06:56 ---> a614314c4ab2 04:06:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:06:56 ---> Running in 877a872dab48 04:06:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:06:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:06:56 OK: 265 MiB in 53 packages 04:06:56 Removing intermediate container 877a872dab48 04:06:56 ---> d16e9056a31e 04:06:56 Step 7/12 : WORKDIR /app 04:06:57 ---> Running in ab91f97886f9 04:06:57 Removing intermediate container ab91f97886f9 04:06:57 ---> eb7d9c6731cd 04:06:57 Step 8/12 : COPY go.mod vendor* ./ 04:06:57 ---> 4c61e79b0ca9 04:06:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:57 ---> Running in 2a10b728e717 04:07:43 Removing intermediate container 2a10b728e717 04:07:43 ---> 623275ca5b8b 04:07:43 Step 10/12 : COPY . . 04:07:43 ---> ea837314f8c0 04:07:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:07:43 ---> Running in 0925ee6c6b3d 04:07:43 Removing intermediate container 0925ee6c6b3d 04:07:43 ---> 675e46948e47 04:07:43 Step 12/12 : RUN $MAKE 04:07:43 ---> Running in 39dc3069ec83 04:07:43 noop 04:07:43 Removing intermediate container 39dc3069ec83 04:07:43 ---> a7500d334e74 04:07:43 Successfully built a7500d334e74 04:07:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:44 + docker inspect -f . ci-base-image-x86_64 04:07:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:44 prd-ubuntu20.04-docker-8c-8g-19049 does not seem to be running inside a container 04:07:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-26 -v /w/workspace/xfoundry_app-record-replay_PR-26:/w/workspace/xfoundry_app-record-replay_PR-26:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-26@tmp:/w/workspace/xfoundry_app-record-replay_PR-26@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 ******** ci-base-image-x86_64 cat 04:07:44 $ docker top d56d172922637f35094a8e83bf3c19819a1a093588b42df299baac989aec830e -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:45 + go version 04:07:45 go version go1.20.2 linux/amd64 [Pipeline] } 04:07:45 $ docker stop --time=1 d56d172922637f35094a8e83bf3c19819a1a093588b42df299baac989aec830e 04:07:46 $ docker rm -f --volumes d56d172922637f35094a8e83bf3c19819a1a093588b42df299baac989aec830e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:47 + docker inspect -f . ci-base-image-x86_64 04:07:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:47 prd-ubuntu20.04-docker-8c-8g-19049 does not seem to be running inside a container 04:07:47 $ 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-26 -v /w/workspace/xfoundry_app-record-replay_PR-26:/w/workspace/xfoundry_app-record-replay_PR-26:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-26@tmp:/w/workspace/xfoundry_app-record-replay_PR-26@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 ******** ci-base-image-x86_64 cat 04:07:47 $ docker top 515f6bd5726b2ae639ad300631860ffd948d28719f18293a5776e33133e37af0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:47 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-26 [Pipeline] fileExists [Pipeline] sh 04:07:48 + make test 04:07:48 go test -race -coverprofile=coverage.out ./... 04:07:56 ? github.com/edgexfoundry/app-record-replay [no test files] 04:08:06 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 04:08:06 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:08:06 ok github.com/edgexfoundry/app-record-replay/internal/data 0.050s coverage: 27.3% of statements 04:08:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19050 in /w/workspace/xfoundry_app-record-replay_PR-26 [Pipeline] { [Pipeline] ws 04:08:21 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 04:08:21 Selected Git installation does not exist. Using Default 04:08:21 The recommended git tool is: NONE 04:08:24 go vet ./... 04:08:25 using credential edgex-jenkins-ssh 04:08:25 Cloning the remote Git repository 04:08:25 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 04:08:25 > git init /w/workspace/app-record-replay/1 # timeout=10 04:08:26 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:08:26 > git --version # timeout=10 04:08:26 > git --version # 'git version 2.25.1' 04:08:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:26 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:08:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:27 ./bin/test-attribution-txt.sh [Pipeline] echo 04:08:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:27 $ docker stop --time=1 515f6bd5726b2ae639ad300631860ffd948d28719f18293a5776e33133e37af0 04:08:28 Merging remotes/origin/main commit f5c7a18031cd417fd66742b551e8281643a7d45d into PR head commit bc51082e9464353854d9bbf6567f8cf04a498482 04:08:27 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:08:27 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:08:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/26/head:refs/remotes/origin/PR-26 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:08:28 > git config core.sparsecheckout # timeout=10 04:08:28 > git checkout -f bc51082e9464353854d9bbf6567f8cf04a498482 # timeout=10 04:08:28 > git remote # timeout=10 04:08:28 > git config --get remote.origin.url # timeout=10 04:08:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:28 > git merge f5c7a18031cd417fd66742b551e8281643a7d45d # timeout=10 04:08:28 Merge succeeded, producing bc51082e9464353854d9bbf6567f8cf04a498482 04:08:28 Checking out Revision bc51082e9464353854d9bbf6567f8cf04a498482 (PR-26) 04:08:28 > git rev-parse HEAD^{commit} # timeout=10 04:08:28 > git config core.sparsecheckout # timeout=10 04:08:28 > git checkout -f bc51082e9464353854d9bbf6567f8cf04a498482 # timeout=10 04:08:31 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4" 04:08:31 > git --version # timeout=10 04:08:31 > git --version # 'git version 2.25.1' 04:08:31 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:08:33 $ docker rm -f --volumes 515f6bd5726b2ae639ad300631860ffd948d28719f18293a5776e33133e37af0 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:08:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:08:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:34 Dload Upload Total Spent Left Speed 04:08:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 57179 0 --:--:-- --:--:-- --:--:-- 57436 [Pipeline] sh [Pipeline] sh 04:08:35 + sudo chown -R jenkins:jenkins . 04:08:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:08:36 + sudo tee /etc/docker/daemon.new 04:08:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:08:36 { 04:08:36 "registry-mirrors": [ 04:08:36 "https://nexus3.edgexfoundry.org:10001" 04:08:36 ], 04:08:36 "bip": "10.250.0.254/24", 04:08:36 "hosts": [ 04:08:36 "tcp://0.0.0.0:5555", 04:08:36 "unix:///var/run/docker.sock" 04:08:36 ], 04:08:36 "mtu": 1458, 04:08:36 "selinux-enabled": true, 04:08:36 "seccomp-profile": "/etc/docker/seccomp.json" 04:08:36 } [Pipeline] sh 04:08:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:08:36 + sudo service docker restart [Pipeline] sh 04:08:37 + ls -al . 04:08:37 total 148 04:08:37 drwxrwxr-x 9 jenkins jenkins 4096 Jun 22 04:07 . 04:08:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:06 .. 04:08:37 -rw-rw-r-- 1 jenkins jenkins 119 Jun 22 04:06 .dockerignore 04:08:37 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 04:06 .git 04:08:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:06 .github 04:08:37 -rw-rw-r-- 1 jenkins jenkins 164 Jun 22 04:06 .gitignore 04:08:37 -rw-rw-r-- 1 jenkins jenkins 41 Jun 22 04:06 .golangci.yml 04:08:37 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 04:06 .semver 04:08:37 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 22 04:06 Attribution.txt 04:08:37 -rw-rw-r-- 1 jenkins jenkins 258 Jun 22 04:06 CHANGELOG.md 04:08:37 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 22 04:06 Dockerfile 04:08:37 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 04:06 GOVERNANCE.md 04:08:37 -rw-rw-r-- 1 jenkins jenkins 681 Jun 22 04:06 Jenkinsfile 04:08:37 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 22 04:06 LICENSE 04:08:37 -rw-rw-r-- 1 jenkins jenkins 611 Jun 22 04:06 OWNERS.md 04:08:37 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 22 04:06 README.md 04:08:37 -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 04:06 VERSION 04:08:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:06 bin 04:08:37 -rw-r--r-- 1 jenkins jenkins 929 Jun 22 04:08 coverage.out 04:08:37 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 22 04:06 go.mod 04:08:37 -rw-rw-r-- 1 jenkins jenkins 30668 Jun 22 04:06 go.sum 04:08:37 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 04:06 internal 04:08:37 -rw-rw-r-- 1 jenkins jenkins 693 Jun 22 04:06 main.go 04:08:37 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 22 04:06 makefile 04:08:37 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 04:06 pkg 04:08:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:06 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:37 + 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=bc51082e9464353854d9bbf6567f8cf04a498482 --label arch=amd64 --label version=0.0.0 . 04:08:37 Sending build context to Docker daemon 221.2kB 04:08:37 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:08:37 Step 2/26 : FROM ${BASE} AS builder 04:08:37 ---> a7500d334e74 04:08:37 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:08:37 ---> Running in e63e526081c8 04:08:37 Removing intermediate container e63e526081c8 04:08:37 ---> 7563f12fbf57 04:08:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:08:37 ---> Running in f5312ecf3789 04:08:37 Removing intermediate container f5312ecf3789 04:08:37 ---> 74f9dc579ff6 04:08:37 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:08:37 ---> Running in 700361a7575f 04:08:37 Removing intermediate container 700361a7575f 04:08:37 ---> 35ab298df169 04:08:37 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:08:37 ---> Running in 255533c3baa1 04:08:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:08:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:08:38 OK: 265 MiB in 53 packages 04:08:39 Removing intermediate container 255533c3baa1 04:08:39 ---> ef16fabd9ace 04:08:39 Step 7/26 : WORKDIR /app 04:08:39 ---> Running in 6d26d68bda6e 04:08:39 Removing intermediate container 6d26d68bda6e 04:08:39 ---> 176ae53620e4 04:08:39 Step 8/26 : COPY go.mod vendor* ./ 04:08:39 ---> b424b23dac4d 04:08:39 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:39 ---> Running in cd4b0e4375d7 04:08:40 Removing intermediate container cd4b0e4375d7 04:08:40 ---> f41528c1c13c 04:08:40 Step 10/26 : COPY . . 04:08:40 ---> 038ffcf99470 04:08:40 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:08:40 ---> Running in 3afd65d9e19b 04:08:40 Removing intermediate container 3afd65d9e19b 04:08:40 ---> d8662fd6a2b4 04:08:40 Step 12/26 : RUN $MAKE 04:08:40 ---> Running in ea014039023b 04:08:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:08:46 Removing intermediate container ea014039023b 04:08:46 ---> 4411808ba5f9 04:08:46 Step 13/26 : FROM alpine:3.17 04:08:46 3.17: Pulling from library/alpine 04:08:46 4db1b89c0bd1: Pulling fs layer 04:08:46 4db1b89c0bd1: Verifying Checksum 04:08:46 4db1b89c0bd1: Download complete 04:08:46 4db1b89c0bd1: Pull complete 04:08:46 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 04:08:46 Status: Downloaded newer image for alpine:3.17 04:08:46 ---> 1f73a9d63274 04:08:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:08:46 ---> Running in 7abb3607c0a3 04:08:46 Removing intermediate container 7abb3607c0a3 04:08:46 ---> 491120e0cd9b 04:08:46 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 04:08:46 ---> Running in b24469e702f1 04:08:46 Removing intermediate container b24469e702f1 04:08:46 ---> bd3aa40235e9 04:08:46 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:08:46 ---> Running in 5bda7aa971fd 04:08:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:08:47 (1/2) Installing ca-certificates (20230506-r0) 04:08:47 (2/2) Installing dumb-init (1.2.5-r2) 04:08:47 Executing busybox-1.35.0-r29.trigger 04:08:47 Executing ca-certificates-20230506-r0.trigger 04:08:47 OK: 8 MiB in 17 packages 04:08:47 Removing intermediate container 5bda7aa971fd 04:08:47 ---> 1476c1817692 04:08:47 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:08:47 ---> af6cb51a0669 04:08:47 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:08:47 ---> 692d536369f6 04:08:47 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:08:48 ---> a23000ead1ba 04:08:48 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 04:08:48 ---> 32107a763b52 04:08:48 Step 21/26 : EXPOSE 59712 04:08:48 ---> Running in afe85939f241 04:08:48 Removing intermediate container afe85939f241 04:08:48 ---> 0f1cdb639e47 04:08:48 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 04:08:48 ---> Running in cd7612e4dd85 04:08:48 Removing intermediate container cd7612e4dd85 04:08:48 ---> 9fb249f61f98 04:08:48 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:08:48 ---> Running in 0c0d7aa52f86 04:08:48 Removing intermediate container 0c0d7aa52f86 04:08:48 ---> a83d2dd92467 04:08:48 Step 24/26 : LABEL arch=amd64 04:08:48 ---> Running in 2540a52e9b7f 04:08:48 Removing intermediate container 2540a52e9b7f 04:08:48 ---> 970641c9bd02 04:08:48 Step 25/26 : LABEL git_sha=bc51082e9464353854d9bbf6567f8cf04a498482 04:08:48 ---> Running in b3d8bc76b0d1 04:08:48 Removing intermediate container b3d8bc76b0d1 04:08:48 ---> e2c1fac38089 04:08:48 Step 26/26 : LABEL version=0.0.0 04:08:48 ---> Running in 649fd2d67140 04:08:48 Removing intermediate container 649fd2d67140 04:08:48 ---> 4a5727d25100 04:08:48 [Warning] One or more build-args [ARCH] were not consumed 04:08:48 Successfully built 4a5727d25100 04:08:48 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 04:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:49 04:08:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:50 latest: Pulling from edgex-lftools-log-publisher 04:08:50 5eb5b503b376: Pulling fs layer 04:08:50 5c69ac0246d0: Pulling fs layer 04:08:50 ec43610c2a17: Pulling fs layer 04:08:50 3a2ae6a8a46f: Pulling fs layer 04:08:50 33b1e0a273af: Pulling fs layer 04:08:50 5d3b04190fa2: Pulling fs layer 04:08:50 2f39f015ded8: Pulling fs layer 04:08:50 3a2ae6a8a46f: Waiting 04:08:50 33b1e0a273af: Waiting 04:08:50 2f39f015ded8: Waiting 04:08:50 5d3b04190fa2: Waiting 04:08:50 5c69ac0246d0: Download complete 04:08:50 3a2ae6a8a46f: Verifying Checksum 04:08:50 3a2ae6a8a46f: Download complete 04:08:50 33b1e0a273af: Verifying Checksum 04:08:50 33b1e0a273af: Download complete 04:08:50 ec43610c2a17: Verifying Checksum 04:08:50 ec43610c2a17: Download complete 04:08:50 5d3b04190fa2: Verifying Checksum 04:08:50 5d3b04190fa2: Download complete 04:08:50 5eb5b503b376: Verifying Checksum 04:08:50 5eb5b503b376: Download complete 04:08:51 2f39f015ded8: Download complete 04:08:51 5eb5b503b376: Pull complete 04:08:51 5c69ac0246d0: Pull complete 04:08:52 ec43610c2a17: Pull complete 04:08:52 3a2ae6a8a46f: Pull complete 04:08:52 33b1e0a273af: Pull complete 04:08:52 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:55 provisioning config files... 04:08:55 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config13970213100760100086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:55 ---> docker-login.sh 04:08:55 nexus3.edgexfoundry.org:10001 04:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:55 Configure a credential helper to remove this warning. See 04:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:55 04:08:55 Login Succeeded 04:08:55 nexus3.edgexfoundry.org:10002 04:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:56 Configure a credential helper to remove this warning. See 04:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:56 04:08:56 Login Succeeded 04:08:56 nexus3.edgexfoundry.org:10003 04:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:56 Configure a credential helper to remove this warning. See 04:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:56 04:08:56 Login Succeeded 04:08:56 nexus3.edgexfoundry.org:10004 04:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:56 2f39f015ded8: Pull complete 04:08:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:08:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:57 Configure a credential helper to remove this warning. See 04:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:57 04:08:57 Login Succeeded 04:08:57 docker.io 04:08:57 prd-ubuntu20.04-docker-8c-8g-19049 does not seem to be running inside a container 04:08:57 $ 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-26 -v /w/workspace/xfoundry_app-record-replay_PR-26:/w/workspace/xfoundry_app-record-replay_PR-26:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-26@tmp:/w/workspace/xfoundry_app-record-replay_PR-26@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:57 Configure a credential helper to remove this warning. See 04:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:57 04:08:57 Login Succeeded 04:08:57 ---> docker-login.sh ends 04:09:00 $ docker top 80dd163a31e89b4e1a75870d2fdce2460940a4aec116b9a5ed9996dfb1abd4d4 -eo pid,comm [Pipeline] { [Pipeline] } 04:09:00 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:09:01 ---> job-cost.sh 04:09:01 lf-activate-venv: SKIPPING 04:09:01 INFO: No Stack... [Pipeline] echo 04:09:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:01 ========================================================= 04:09:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:09:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix 04:09:01 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:01 + 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 . 04:09:01 Sending build context to Docker daemon 108.5kB 04:09:01 INFO: Archiving Costs [Pipeline] sh 04:09:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:09:02 Step 2/12 : FROM ${BASE} AS builder 04:09:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:09:02 c41833b44d91: Pulling fs layer 04:09:02 ed15518f5707: Pulling fs layer 04:09:02 feae8fd75edb: Pulling fs layer 04:09:02 242c74f7c9fa: Pulling fs layer 04:09:02 3cdef696dda3: Pulling fs layer 04:09:02 2ced38df9373: Pulling fs layer 04:09:02 58f1dce35555: Pulling fs layer 04:09:02 3cdef696dda3: Waiting 04:09:02 58f1dce35555: Waiting 04:09:02 2ced38df9373: Waiting 04:09:02 242c74f7c9fa: Waiting 04:09:02 ed15518f5707: Download complete 04:09:02 + cat /w/workspace/xfoundry_app-record-replay_PR-26/archives/cost.csv 04:09:02 + cut -d, -f6 [Pipeline] lock 04:09:02 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-26-1-stack-cost] 04:09:02 Resource [jenkins-edgexfoundry-app-record-replay-PR-26-1-stack-cost] did not exist. Created. 04:09:02 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-26-1-stack-cost] 04:09:02 242c74f7c9fa: Verifying Checksum 04:09:02 242c74f7c9fa: Download complete 04:09:02 3cdef696dda3: Verifying Checksum 04:09:02 3cdef696dda3: Download complete 04:09:02 c41833b44d91: Download complete [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:02 + echo total: 0.2199999988079071 [Pipeline] stash 04:09:02 Stashed 1 file(s) [Pipeline] } 04:09:02 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-26-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:09:02 $ docker stop --time=1 80dd163a31e89b4e1a75870d2fdce2460940a4aec116b9a5ed9996dfb1abd4d4 04:09:03 c41833b44d91: Pull complete 04:09:03 58f1dce35555: Verifying Checksum 04:09:03 58f1dce35555: Download complete 04:09:03 ed15518f5707: Pull complete 04:09:04 $ docker rm -f --volumes 80dd163a31e89b4e1a75870d2fdce2460940a4aec116b9a5ed9996dfb1abd4d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:09:04 feae8fd75edb: Verifying Checksum 04:09:04 feae8fd75edb: Download complete 04:09:04 2ced38df9373: Verifying Checksum 04:09:04 2ced38df9373: Download complete 04:09:17 feae8fd75edb: Pull complete 04:09:17 242c74f7c9fa: Pull complete 04:09:17 3cdef696dda3: Pull complete 04:09:22 2ced38df9373: Pull complete 04:09:25 58f1dce35555: Pull complete 04:09:25 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:09:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:09:25 ---> fadd8f120f05 04:09:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:09:26 ---> Running in 436a353d6789 04:09:26 Removing intermediate container 436a353d6789 04:09:26 ---> c482602e4f62 04:09:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:09:26 ---> Running in eee8be35234e 04:09:26 Removing intermediate container eee8be35234e 04:09:26 ---> 91113324fdb4 04:09:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:09:26 ---> Running in e6e07b0bf910 04:09:27 Removing intermediate container e6e07b0bf910 04:09:27 ---> c9f4ccf4208c 04:09:27 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:27 ---> Running in c00ae35b7b46 04:09:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:09:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:09:29 OK: 263 MiB in 53 packages 04:09:30 Removing intermediate container c00ae35b7b46 04:09:30 ---> e36d0dc9bd8b 04:09:30 Step 7/12 : WORKDIR /app 04:09:30 ---> Running in 6ffcd5d3b084 04:09:30 Removing intermediate container 6ffcd5d3b084 04:09:30 ---> 134a321b7351 04:09:30 Step 8/12 : COPY go.mod vendor* ./ 04:09:31 ---> 6c42f0b419dc 04:09:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:31 ---> Running in f58d8c0f596f 04:10:39 Removing intermediate container f58d8c0f596f 04:10:39 ---> cec667980092 04:10:39 Step 10/12 : COPY . . 04:10:39 ---> 4e505aff827d 04:10:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:10:39 ---> Running in 4d43368d9783 04:10:39 Removing intermediate container 4d43368d9783 04:10:39 ---> af301205fe6d 04:10:39 Step 12/12 : RUN $MAKE 04:10:39 ---> Running in 5477647347ec 04:10:39 noop 04:10:39 Removing intermediate container 5477647347ec 04:10:39 ---> 9ebd93065c29 04:10:39 Successfully built 9ebd93065c29 04:10:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:39 + docker inspect -f . ci-base-image-arm64 04:10:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:40 prd-ubuntu20.04-docker-arm64-4c-16g-19050 does not seem to be running inside a container 04:10:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:41 $ docker top 1fece1ad014e3b527d0089001549009c48de03798260b48f1e21dee920a7194c -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:42 + go version 04:10:42 go version go1.20.2 linux/arm64 [Pipeline] } 04:10:42 $ docker stop --time=1 1fece1ad014e3b527d0089001549009c48de03798260b48f1e21dee920a7194c 04:10:43 $ docker rm -f --volumes 1fece1ad014e3b527d0089001549009c48de03798260b48f1e21dee920a7194c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:44 + docker inspect -f . ci-base-image-arm64 04:10:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:45 prd-ubuntu20.04-docker-arm64-4c-16g-19050 does not seem to be running inside a container 04:10:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:47 $ docker top ec8228503f4f9d104d12393453b5334dc078b0148fe1297d3cf236dac4df31d9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:47 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 04:10:48 + make test 04:10:48 go test -race -coverprofile=coverage.out ./... 04:11:34 ? github.com/edgexfoundry/app-record-replay [no test files] 04:13:26 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 04:13:26 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:13:26 ok github.com/edgexfoundry/app-record-replay/internal/data 0.217s coverage: 27.3% of statements 04:13:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:13:26 go vet ./... 04:15:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:15:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:15:33 ./bin/test-attribution-txt.sh [Pipeline] echo 04:15:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:15:33 $ docker stop --time=1 ec8228503f4f9d104d12393453b5334dc078b0148fe1297d3cf236dac4df31d9 04:15:35 $ docker rm -f --volumes ec8228503f4f9d104d12393453b5334dc078b0148fe1297d3cf236dac4df31d9 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:36 Warning: overwriting stash ‘coverage-report’ 04:15:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:38 + ls -al . 04:15:38 total 144 04:15:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 04:10 . 04:15:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 04:08 .. 04:15:38 -rw-rw-r-- 1 jenkins jenkins 119 Jun 22 04:08 .dockerignore 04:15:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 04:08 .git 04:15:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:08 .github 04:15:38 -rw-rw-r-- 1 jenkins jenkins 164 Jun 22 04:08 .gitignore 04:15:38 -rw-rw-r-- 1 jenkins jenkins 41 Jun 22 04:08 .golangci.yml 04:15:38 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 22 04:08 Attribution.txt 04:15:38 -rw-rw-r-- 1 jenkins jenkins 258 Jun 22 04:08 CHANGELOG.md 04:15:38 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 22 04:08 Dockerfile 04:15:38 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 04:08 GOVERNANCE.md 04:15:38 -rw-rw-r-- 1 jenkins jenkins 681 Jun 22 04:08 Jenkinsfile 04:15:38 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 22 04:08 LICENSE 04:15:38 -rw-rw-r-- 1 jenkins jenkins 611 Jun 22 04:08 OWNERS.md 04:15:38 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 22 04:08 README.md 04:15:38 -rw-rw-r-- 1 jenkins jenkins 5 Jun 22 04:06 VERSION 04:15:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:08 bin 04:15:38 -rw-r--r-- 1 jenkins jenkins 929 Jun 22 04:13 coverage.out 04:15:38 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 22 04:08 go.mod 04:15:38 -rw-rw-r-- 1 jenkins jenkins 30668 Jun 22 04:08 go.sum 04:15:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 04:08 internal 04:15:38 -rw-rw-r-- 1 jenkins jenkins 693 Jun 22 04:08 main.go 04:15:38 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 22 04:08 makefile 04:15:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 04:08 pkg 04:15:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 04:08 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:38 + 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=bc51082e9464353854d9bbf6567f8cf04a498482 --label arch=arm64 --label version=0.0.0 . 04:15:38 Sending build context to Docker daemon 110.1kB 04:15:38 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:15:38 Step 2/26 : FROM ${BASE} AS builder 04:15:38 ---> 9ebd93065c29 04:15:38 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:15:38 ---> Running in f21d1f58d995 04:15:39 Removing intermediate container f21d1f58d995 04:15:39 ---> e384bc90ed34 04:15:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:15:39 ---> Running in 308ce98d3d10 04:15:39 Removing intermediate container 308ce98d3d10 04:15:39 ---> 997c54f9f7a9 04:15:39 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:15:39 ---> Running in 6e1fbe63f382 04:15:39 Removing intermediate container 6e1fbe63f382 04:15:39 ---> 976fc772ce84 04:15:39 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:15:39 ---> Running in 0777fdb2da8c 04:15:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:15:42 OK: 263 MiB in 53 packages 04:15:43 Removing intermediate container 0777fdb2da8c 04:15:43 ---> a525336f13f3 04:15:43 Step 7/26 : WORKDIR /app 04:15:43 ---> Running in d3bdd83527f4 04:15:43 Removing intermediate container d3bdd83527f4 04:15:43 ---> 54af9fe1efdd 04:15:43 Step 8/26 : COPY go.mod vendor* ./ 04:15:43 ---> 8042af5bbad0 04:15:43 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:45 ---> Running in 729665b4689c 04:15:48 Removing intermediate container 729665b4689c 04:15:48 ---> a761e54b447e 04:15:48 Step 10/26 : COPY . . 04:15:48 ---> 25530ec4bb4d 04:15:48 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:15:48 ---> Running in 2f37cfcf8a28 04:15:48 Removing intermediate container 2f37cfcf8a28 04:15:48 ---> 2f57e3ea3416 04:15:48 Step 12/26 : RUN $MAKE 04:15:48 ---> Running in 01b4d0371cb9 04:15:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:16:16 Removing intermediate container 01b4d0371cb9 04:16:16 ---> c49b9bdcf72e 04:16:16 Step 13/26 : FROM alpine:3.17 04:16:16 3.17: Pulling from library/alpine 04:16:16 edb6bdbacee9: Pulling fs layer 04:16:16 edb6bdbacee9: Download complete 04:16:16 edb6bdbacee9: Pull complete 04:16:16 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 04:16:16 Status: Downloaded newer image for alpine:3.17 04:16:16 ---> 779605e5fbc0 04:16:16 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:16:16 ---> Running in ac9d9f6a0351 04:16:16 Removing intermediate container ac9d9f6a0351 04:16:16 ---> ee6164bd3750 04:16:16 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 04:16:16 ---> Running in 56d0ae2f3e6d 04:16:16 Removing intermediate container 56d0ae2f3e6d 04:16:16 ---> 13b310677e2f 04:16:16 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:16:16 ---> Running in 779f2eaa42ba 04:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:16:17 (1/2) Installing ca-certificates (20230506-r0) 04:16:18 (2/2) Installing dumb-init (1.2.5-r2) 04:16:18 Executing busybox-1.35.0-r29.trigger 04:16:18 Executing ca-certificates-20230506-r0.trigger 04:16:18 OK: 8 MiB in 17 packages 04:16:19 Removing intermediate container 779f2eaa42ba 04:16:19 ---> 007147736c54 04:16:19 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:16:19 ---> 3668f884737a 04:16:19 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:16:20 ---> 9b23aa7a3de4 04:16:20 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:16:20 ---> 7db67dcc8e92 04:16:20 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 04:16:21 ---> 39e5a59e3c26 04:16:21 Step 21/26 : EXPOSE 59712 04:16:21 ---> Running in 8770cdd28a88 04:16:21 Removing intermediate container 8770cdd28a88 04:16:21 ---> 4ee3b3e97cd6 04:16:21 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 04:16:21 ---> Running in 7f70f696d723 04:16:21 Removing intermediate container 7f70f696d723 04:16:21 ---> 52c1e70e9a49 04:16:21 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:16:21 ---> Running in 8a186fe3bb10 04:16:22 Removing intermediate container 8a186fe3bb10 04:16:22 ---> b8b2f9515a6a 04:16:22 Step 24/26 : LABEL arch=arm64 04:16:22 ---> Running in 040f9a9b1f32 04:16:22 Removing intermediate container 040f9a9b1f32 04:16:22 ---> 0683941c2efe 04:16:22 Step 25/26 : LABEL git_sha=bc51082e9464353854d9bbf6567f8cf04a498482 04:16:22 ---> Running in a496041c3719 04:16:23 Removing intermediate container a496041c3719 04:16:23 ---> e544ee832be6 04:16:23 Step 26/26 : LABEL version=0.0.0 04:16:23 ---> Running in 5522825772be 04:16:23 Removing intermediate container 5522825772be 04:16:23 ---> a90432ecf340 04:16:23 [Warning] One or more build-args [ARCH] were not consumed 04:16:23 Successfully built a90432ecf340 04:16:23 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 04:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:24 04:16:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:24 arm64: Pulling from edgex-lftools-log-publisher 04:16:24 8998bd30e6a1: Pulling fs layer 04:16:24 04944245beec: Pulling fs layer 04:16:24 699f458cf7ca: Pulling fs layer 04:16:24 765212b225bb: Pulling fs layer 04:16:24 f23df028b6ca: Pulling fs layer 04:16:24 d65c8cfc05b1: Pulling fs layer 04:16:24 2437ff75d9bd: Pulling fs layer 04:16:24 f23df028b6ca: Waiting 04:16:24 d65c8cfc05b1: Waiting 04:16:24 2437ff75d9bd: Waiting 04:16:24 765212b225bb: Waiting 04:16:24 04944245beec: Verifying Checksum 04:16:24 04944245beec: Download complete 04:16:24 765212b225bb: Verifying Checksum 04:16:24 765212b225bb: Download complete 04:16:24 f23df028b6ca: Download complete 04:16:24 d65c8cfc05b1: Verifying Checksum 04:16:24 d65c8cfc05b1: Download complete 04:16:24 699f458cf7ca: Verifying Checksum 04:16:24 699f458cf7ca: Download complete 04:16:25 8998bd30e6a1: Verifying Checksum 04:16:25 8998bd30e6a1: Download complete 04:16:28 2437ff75d9bd: Verifying Checksum 04:16:28 2437ff75d9bd: Download complete 04:16:29 8998bd30e6a1: Pull complete 04:16:29 04944245beec: Pull complete 04:16:31 699f458cf7ca: Pull complete 04:16:31 765212b225bb: Pull complete 04:16:32 f23df028b6ca: Pull complete 04:16:32 d65c8cfc05b1: Pull complete 04:16:47 2437ff75d9bd: Pull complete 04:16:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:16:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:47 prd-ubuntu20.04-docker-arm64-4c-16g-19050 does not seem to be running inside a container 04:16:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:16:49 $ docker top b48c1adf8d48bd4937c5be663161162e66dbf526219eeda42b01731d714ad336 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:50 ---> job-cost.sh 04:16:50 lf-activate-venv: SKIPPING 04:16:50 INFO: No Stack... 04:16:51 INFO: Retrieving Pricing Info for: v3-standard-4 04:16:51 INFO: Archiving Costs [Pipeline] sh 04:16:52 + cat /w/workspace/app-record-replay/1/archives/cost.csv 04:16:52 + cut -d, -f6 [Pipeline] lock 04:16:52 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-26-1-stack-cost] 04:16:52 Resource [jenkins-edgexfoundry-app-record-replay-PR-26-1-stack-cost] did not exist. Created. 04:16:52 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-26-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:52 /w/workspace/app-record-replay/1@tmp/durable-a8a081b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:16:53 + echo total: 0.10999999940395355 [Pipeline] stash 04:16:53 Warning: overwriting stash ‘stack-cost’ 04:16:53 Stashed 1 file(s) [Pipeline] } 04:16:53 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-26-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:53 $ docker stop --time=1 b48c1adf8d48bd4937c5be663161162e66dbf526219eeda42b01731d714ad336 04:16:55 $ docker rm -f --volumes b48c1adf8d48bd4937c5be663161162e66dbf526219eeda42b01731d714ad336 [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 04:16:56 provisioning config files... 04:16:56 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-26 #1 04:16:56 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-26@tmp/config42459629492709896tmp [Pipeline] { [Pipeline] sh 04:16:56 + set +x 04:16:56 + curl -s https://codecov.io/bash 04:16:56 + bash -s -- 04:16:56 04:16:56 _____ _ 04:16:56 / ____| | | 04:16:56 | | ___ __| | ___ ___ _____ __ 04:16:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:16:56 | |___| (_) | (_| | __/ (_| (_) \ V / 04:16:56 \_____\___/ \__,_|\___|\___\___/ \_/ 04:16:56 Bash-1.0.6 04:16:56 04:16:56 04:16:56 ==> git version 2.25.1 found 04:16:56 ==> 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 04:16:56 Release-Date: 2020-01-08 04:16:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:16:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:16:56 ==> Jenkins CI detected. 04:16:56 current dir:  /w/workspace/xfoundry_app-record-replay_PR-26 04:16:56 project root: . 04:16:56 --> token set from env 04:16:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:16:56 ==> Running gcov in . (disable via -X gcov) 04:16:56 ==> Python coveragepy not found 04:16:56 ==> Searching for coverage reports in: 04:16:56 + . 04:16:56 -> Found 1 reports 04:16:56 ==> Detecting git/mercurial file structure 04:16:56 ==> Reading reports 04:16:56 + ./coverage.out bytes=929 04:16:56 ==> Appending adjustments 04:16:56 https://docs.codecov.io/docs/fixing-reports 04:16:56 + Found adjustments 04:16:56 ==> Gzipping contents 04:16:56 4.0K /tmp/codecov.FIXyWl.gz 04:16:56 ==> Uploading reports 04:16:56 url: https://codecov.io 04:16:56 query: branch=PR-26&commit=bc51082e9464353854d9bbf6567f8cf04a498482&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=26&job=&cmd_args= 04:16:56 -> Pinging Codecov 04:16:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-26&commit=bc51082e9464353854d9bbf6567f8cf04a498482&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-26%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=26&job=&cmd_args= 04:16:56 Invalid request parameters 04:16:56 400 [Pipeline] } 04:16:56 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 04:16:58 + [ -d /w/workspace/xfoundry_app-record-replay_PR-26/archives ] 04:16:58 + ls -al /w/workspace/xfoundry_app-record-replay_PR-26/archives 04:16:58 total 16 04:16:58 drwxr-xr-x 3 root root 4096 Jun 22 04:09 . 04:16:58 drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 04:09 .. 04:16:58 drwxr-xr-x 2 root root 4096 Jun 22 04:09 cost 04:16:58 -rw-r--r-- 1 root root 88 Jun 22 04:09 cost.csv 04:16:58 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-26/archives 04:16:58 + ls -al /w/workspace/xfoundry_app-record-replay_PR-26/archives 04:16:58 total 16 04:16:58 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 04:09 . 04:16:58 drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 04:09 .. 04:16:58 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 04:09 cost 04:16:58 -rw-r--r-- 1 jenkins jenkins 88 Jun 22 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:16:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:16:59 ---> package-listing.sh 04:16:59 ++ tr '[:upper:]' '[:lower:]' 04:16:59 ++ facter osfamily 04:16:59 + OS_FAMILY=debian 04:16:59 + workspace=/w/workspace/xfoundry_app-record-replay_PR-26 04:16:59 + START_PACKAGES=/tmp/packages_start.txt 04:16:59 + END_PACKAGES=/tmp/packages_end.txt 04:16:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:16:59 + PACKAGES=/tmp/packages_start.txt 04:16:59 + '[' /w/workspace/xfoundry_app-record-replay_PR-26 ']' 04:16:59 + PACKAGES=/tmp/packages_end.txt 04:16:59 + case "${OS_FAMILY}" in 04:16:59 + dpkg -l 04:16:59 + grep '^ii' 04:16:59 + '[' -f /tmp/packages_start.txt ']' 04:16:59 + '[' -f /tmp/packages_end.txt ']' 04:16:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:16:59 + '[' /w/workspace/xfoundry_app-record-replay_PR-26 ']' 04:16:59 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-26/archives/ 04:16:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-26/archives/ [Pipeline] echo 04:16:59 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-26/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:17:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:01 prd-ubuntu20.04-docker-8c-8g-19049 does not seem to be running inside a container 04:17:01 $ 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-26/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-26 -v /w/workspace/xfoundry_app-record-replay_PR-26:/w/workspace/xfoundry_app-record-replay_PR-26:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-26@tmp:/w/workspace/xfoundry_app-record-replay_PR-26@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:17:01 $ docker top f8a6f7043b26820c06b566164547fc582e8ba0a1b342b69aa9bbbc5712a5dd90 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:01 + touch /tmp/pre-build-complete [Pipeline] sh 04:17:01 + mkdir -p /var/log/sysstat [Pipeline] sh 04:17:02 + ls /var/log/sa-host 04:17:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:02 provisioning config files... 04:17:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-26@tmp/config4056937430228961156tmp [Pipeline] { [Pipeline] echo 04:17:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:02 ---> create-netrc.sh [Pipeline] } 04:17:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:17:03 ---> python-tools-install.sh [Pipeline] echo 04:17:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:03 ---> sudo-logs.sh 04:17:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:03 ---> job-cost.sh 04:17:03 lf-activate-venv: SKIPPING 04:17:03 DEBUG: total: 0.2199999988079071 04:17:03 INFO: Retrieving Stack Cost... 04:17:04 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:04 INFO: Archiving Costs [Pipeline] echo 04:17:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:17:05 ---> logs-deploy.sh 04:17:05 lf-activate-venv: SKIPPING 04:17:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-26/1 04:17:05 INFO: archiving workspace using pattern(s): 04:17:06 Archives upload complete. 04:17:06 INFO: archiving logs to Nexus