Pull request #34 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at 723607dbad664aab5e8badbfbff7a799207a6187 rather than 7ce357b819620f0cdf7411c62a0d35ecfa799a21 Obtained Jenkinsfile from 723607dbad664aab5e8badbfbff7a799207a6187 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-ssh4066375192944785812.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-ssh943460812058774522.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-34/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-34/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14403488544336722059.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-34/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh351867200728736525.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-ssh6318550188058187257.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-34/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-34/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18429928300935105940.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-797 in /w/workspace/xfoundry_app-record-replay_PR-34 [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-34 # 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 723607dbad664aab5e8badbfbff7a799207a6187 into PR head commit 7ce357b819620f0cdf7411c62a0d35ecfa799a21 Merge succeeded, producing 7ce357b819620f0cdf7411c62a0d35ecfa799a21 Checking out Revision 7ce357b819620f0cdf7411c62a0d35ecfa799a21 (PR-34) > 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/34/head:refs/remotes/origin/PR-34 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ce357b819620f0cdf7411c62a0d35ecfa799a21 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 723607dbad664aab5e8badbfbff7a799207a6187 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ce357b819620f0cdf7411c62a0d35ecfa799a21 # timeout=10 Commit message: "feat: Implement record status endpoint" 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 23:27:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:27:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:27:46 ========================================================= 23:27:46 EdgeX Global Pipelines Version Info 23:27:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:27:47 ------------------- 23:27:47 stable info: 23:27:47 ------------------- 23:27:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:27:47 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:27:47 Message: update stable to v1.0.250 23:27:48 ------------------- 23:27:48 experimental info: 23:27:48 ------------------- 23:27:48 Commited By: **** collab-it+edgex@linuxfoundation.org 23:27:48 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:27:48 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-34 [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-34 [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-34 [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ce357b819620f0cdf7411c62a0d35ecfa799a21 [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ce357b [Pipeline] echo 23:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:49 provisioning config files... 23:27:49 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-34@tmp/config10962681368223288477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:50 ---> docker-login.sh 23:27:50 nexus3.edgexfoundry.org:10001 23:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:50 Configure a credential helper to remove this warning. See 23:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:50 23:27:50 Login Succeeded 23:27:50 nexus3.edgexfoundry.org:10002 23:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:50 Configure a credential helper to remove this warning. See 23:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:50 23:27:50 Login Succeeded 23:27:50 nexus3.edgexfoundry.org:10003 23:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:50 Configure a credential helper to remove this warning. See 23:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:50 23:27:50 Login Succeeded 23:27:50 nexus3.edgexfoundry.org:10004 23:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:51 Configure a credential helper to remove this warning. See 23:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:51 23:27:51 Login Succeeded 23:27:51 docker.io 23:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:51 Configure a credential helper to remove this warning. See 23:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:51 23:27:51 Login Succeeded 23:27:51 ---> docker-login.sh ends [Pipeline] } 23:27:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:27:51 + git rev-list -1 --merges 7ce357b819620f0cdf7411c62a0d35ecfa799a21~1..7ce357b819620f0cdf7411c62a0d35ecfa799a21 [Pipeline] echo 23:27:52 -----------> git rev-list -1 --merges 7ce357b819620f0cdf7411c62a0d35ecfa799a21~1..7ce357b819620f0cdf7411c62a0d35ecfa799a21 7ce357b819620f0cdf7411c62a0d35ecfa799a21 [false] [Pipeline] sh 23:27:52 + git log --format=format:%s -1 7ce357b819620f0cdf7411c62a0d35ecfa799a21 [Pipeline] echo 23:27:52 ========================================================= 23:27:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:27:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:27:52 + git log --format=format:%s -1 7ce357b819620f0cdf7411c62a0d35ecfa799a21 [Pipeline] echo 23:27:52 [semverPrep] GIT_COMMIT: 7ce357b819620f0cdf7411c62a0d35ecfa799a21, Commit Message: feat: Implement record status endpoint [Pipeline] echo 23:27:52 [semverPrep] This is not a build commit. [Pipeline] sh 23:27:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:27:53 + grep -v github /etc/ssh/ssh_known_hosts 23:27:53 + [ -e /tmp/ssh_known_hosts ] 23:27:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:27:53 + sudo+ tee -a /etc/ssh/ssh_known_hosts 23:27:53 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:27:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:27:53 23:27:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:27:54 0.1.4: Pulling from edgex-devops/py-git-semver 23:27:54 b85a868b505f: Pulling fs layer 23:27:54 e2be974225ed: Pulling fs layer 23:27:54 339a4e72a1f5: Pulling fs layer 23:27:54 988bab9f4d93: Pulling fs layer 23:27:54 1469e6f7b9e6: Pulling fs layer 23:27:54 988bab9f4d93: Waiting 23:27:54 eaf3925da568: Pulling fs layer 23:27:54 1469e6f7b9e6: Waiting 23:27:54 bab4dde63d76: Pulling fs layer 23:27:54 bde34c3a00c8: Pulling fs layer 23:27:54 b352a97aabf1: Pulling fs layer 23:27:54 eaf3925da568: Waiting 23:27:54 bab4dde63d76: Waiting 23:27:54 bde34c3a00c8: Waiting 23:27:54 4872d77fe225: Pulling fs layer 23:27:54 5851b861e8e6: Pulling fs layer 23:27:54 b352a97aabf1: Waiting 23:27:54 4872d77fe225: Waiting 23:27:54 5851b861e8e6: Waiting 23:27:54 e2be974225ed: Verifying Checksum 23:27:54 e2be974225ed: Download complete 23:27:54 988bab9f4d93: Verifying Checksum 23:27:54 988bab9f4d93: Download complete 23:27:54 1469e6f7b9e6: Verifying Checksum 23:27:54 1469e6f7b9e6: Download complete 23:27:54 eaf3925da568: Verifying Checksum 23:27:54 eaf3925da568: Download complete 23:27:54 339a4e72a1f5: Verifying Checksum 23:27:54 339a4e72a1f5: Download complete 23:27:54 bde34c3a00c8: Verifying Checksum 23:27:54 bde34c3a00c8: Download complete 23:27:54 b352a97aabf1: Download complete 23:27:54 4872d77fe225: Verifying Checksum 23:27:54 4872d77fe225: Download complete 23:27:54 5851b861e8e6: Verifying Checksum 23:27:54 5851b861e8e6: Download complete 23:27:54 b85a868b505f: Download complete 23:27:54 bab4dde63d76: Verifying Checksum 23:27:54 bab4dde63d76: Download complete 23:27:55 b85a868b505f: Pull complete 23:27:55 e2be974225ed: Pull complete 23:27:56 339a4e72a1f5: Pull complete 23:27:56 988bab9f4d93: Pull complete 23:27:56 1469e6f7b9e6: Pull complete 23:27:56 eaf3925da568: Pull complete 23:27:58 bab4dde63d76: Pull complete 23:27:58 bde34c3a00c8: Pull complete 23:27:58 b352a97aabf1: Pull complete 23:27:58 4872d77fe225: Pull complete 23:27:58 5851b861e8e6: Pull complete 23:27:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:27:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:27:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:59 prd-ubuntu20.04-docker-8c-8g-797 does not seem to be running inside a container 23:27:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-34 -v /w/workspace/xfoundry_app-record-replay_PR-34:/w/workspace/xfoundry_app-record-replay_PR-34:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-34@tmp:/w/workspace/xfoundry_app-record-replay_PR-34@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-devops/py-git-semver:0.1.4 cat 23:28:01 $ docker top 28d7e3e92f9d017b8de9e421dc4b4b922f07fc19533458965f37f107d4b65084 -eo pid,comm 23:28:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:28:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:28:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:01 [ssh-agent] Looking for ssh-agent implementation... 23:28:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:02 $ docker exec 28d7e3e92f9d017b8de9e421dc4b4b922f07fc19533458965f37f107d4b65084 ssh-agent 23:28:02 SSH_AUTH_SOCK=/tmp/ssh-GjJv3F6KCezT/agent.32 23:28:02 SSH_AGENT_PID=38 23:28:02 Running ssh-add (command line suppressed) 23:28:02 Identity added: /w/workspace/xfoundry_app-record-replay_PR-34@tmp/private_key_1976802787952445328.key (/w/workspace/xfoundry_app-record-replay_PR-34@tmp/private_key_1976802787952445328.key) 23:28:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:02 + git tag --points-at HEAD [Pipeline] } 23:28:02 $ docker exec --env ******** --env ******** 28d7e3e92f9d017b8de9e421dc4b4b922f07fc19533458965f37f107d4b65084 ssh-agent -k 23:28:02 unset SSH_AUTH_SOCK; 23:28:02 unset SSH_AGENT_PID; 23:28:02 echo Agent pid 38 killed; 23:28:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:28:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:28:02 [ssh-agent] Looking for ssh-agent implementation... 23:28:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:28:02 $ docker exec 28d7e3e92f9d017b8de9e421dc4b4b922f07fc19533458965f37f107d4b65084 ssh-agent 23:28:03 SSH_AUTH_SOCK=/tmp/ssh-VBb1P9XERscG/agent.70 23:28:03 SSH_AGENT_PID=76 23:28:03 Running ssh-add (command line suppressed) 23:28:03 Identity added: /w/workspace/xfoundry_app-record-replay_PR-34@tmp/private_key_1573120545971348092.key (/w/workspace/xfoundry_app-record-replay_PR-34@tmp/private_key_1573120545971348092.key) 23:28:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:28:03 + git semver init 23:28:03 2023-07-10 23:28:03,742 [run_init] DEBUG init version:0.0.0 force:False 23:28:03 2023-07-10 23:28:03,743 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-34/.semver 23:28:03 2023-07-10 23:28:03,743 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-34/.semver 23:28:03 2023-07-10 23:28:03,743 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-34/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-34, universal_newlines=False, shell=None, istream=None) 23:28:04 2023-07-10 23:28:04,318 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-34/.git/info/exclude 23:28:04 2023-07-10 23:28:04,318 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-34/.semver/PR-34 with force:False 23:28:04 2023-07-10 23:28:04,319 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-34/.semver/PR-34 23:28:04 2023-07-10 23:28:04,323 [execute] INFO git cat-file --batch-check 23:28:04 2023-07-10 23:28:04,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-34/.semver, universal_newlines=False, shell=None, istream=) 23:28:04 2023-07-10 23:28:04,329 [execute] INFO git cat-file --batch 23:28:04 2023-07-10 23:28:04,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-34/.semver, universal_newlines=False, shell=None, istream=) 23:28:04 2023-07-10 23:28:04,334 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-34/.semver/PR-34 23:28:04 0.0.0 [Pipeline] } 23:28:04 $ docker exec --env ******** --env ******** 28d7e3e92f9d017b8de9e421dc4b4b922f07fc19533458965f37f107d4b65084 ssh-agent -k 23:28:04 unset SSH_AUTH_SOCK; 23:28:04 unset SSH_AGENT_PID; 23:28:04 echo Agent pid 76 killed; 23:28:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:04 + git semver [Pipeline] } 23:28:05 $ docker stop --time=1 28d7e3e92f9d017b8de9e421dc4b4b922f07fc19533458965f37f107d4b65084 23:28:06 $ docker rm -f --volumes 28d7e3e92f9d017b8de9e421dc4b4b922f07fc19533458965f37f107d4b65084 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:28:07 Stashed 1 file(s) [Pipeline] echo 23:28:07 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:07 provisioning config files... 23:28:07 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-34@tmp/config17937613903475781450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:08 ---> docker-login.sh 23:28:08 nexus3.edgexfoundry.org:10001 23:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:08 Configure a credential helper to remove this warning. See 23:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:08 23:28:08 Login Succeeded 23:28:08 nexus3.edgexfoundry.org:10002 23:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:08 Configure a credential helper to remove this warning. See 23:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:08 23:28:08 Login Succeeded 23:28:08 nexus3.edgexfoundry.org:10003 23:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:08 Configure a credential helper to remove this warning. See 23:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:08 23:28:08 Login Succeeded 23:28:08 nexus3.edgexfoundry.org:10004 23:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:08 Configure a credential helper to remove this warning. See 23:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:08 23:28:08 Login Succeeded 23:28:08 docker.io 23:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:08 Configure a credential helper to remove this warning. See 23:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:08 23:28:08 Login Succeeded 23:28:08 ---> docker-login.sh ends [Pipeline] } 23:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:28:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:09 ========================================================= 23:28:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:28:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:28:09 Sending build context to Docker daemon 288.3kB 23:28:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:28:09 Step 2/12 : FROM ${BASE} AS builder 23:28:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:28:09 f56be85fc22e: Pulling fs layer 23:28:09 85791d961cd3: Pulling fs layer 23:28:09 d694b5ae8c79: Pulling fs layer 23:28:09 9f32a84ed3da: Pulling fs layer 23:28:09 4d19c01a9841: Pulling fs layer 23:28:09 9325e15d5711: Pulling fs layer 23:28:09 556b6ee489ea: Pulling fs layer 23:28:09 c5a4b2cf53e6: Pulling fs layer 23:28:09 9f32a84ed3da: Waiting 23:28:09 4d19c01a9841: Waiting 23:28:09 9325e15d5711: Waiting 23:28:09 556b6ee489ea: Waiting 23:28:09 c5a4b2cf53e6: Waiting 23:28:09 85791d961cd3: Verifying Checksum 23:28:09 85791d961cd3: Download complete 23:28:09 4d19c01a9841: Verifying Checksum 23:28:09 4d19c01a9841: Download complete 23:28:09 f56be85fc22e: Verifying Checksum 23:28:09 f56be85fc22e: Download complete 23:28:09 9325e15d5711: Verifying Checksum 23:28:09 9325e15d5711: Download complete 23:28:09 f56be85fc22e: Pull complete 23:28:10 85791d961cd3: Pull complete 23:28:10 c5a4b2cf53e6: Verifying Checksum 23:28:10 c5a4b2cf53e6: Download complete 23:28:10 d694b5ae8c79: Verifying Checksum 23:28:10 d694b5ae8c79: Download complete 23:28:10 556b6ee489ea: Verifying Checksum 23:28:10 556b6ee489ea: Download complete 23:28:13 d694b5ae8c79: Pull complete 23:28:13 9f32a84ed3da: Pull complete 23:28:14 4d19c01a9841: Pull complete 23:28:14 9325e15d5711: Pull complete 23:28:16 556b6ee489ea: Pull complete 23:28:17 c5a4b2cf53e6: Pull complete 23:28:17 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:28:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:28:17 ---> c4be618373d6 23:28:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:28:20 ---> Running in 321d25d8b1d4 23:28:20 Removing intermediate container 321d25d8b1d4 23:28:20 ---> d2c75eb71e6e 23:28:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:28:20 ---> Running in 7f00009756c1 23:28:20 Removing intermediate container 7f00009756c1 23:28:20 ---> 9dc1f0aa54f3 23:28:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:28:20 ---> Running in 7687a9dfc98e 23:28:21 Removing intermediate container 7687a9dfc98e 23:28:21 ---> 58c3d1f7a705 23:28:21 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:28:21 ---> Running in 4db459dd061a 23:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:28:21 OK: 265 MiB in 53 packages 23:28:22 Removing intermediate container 4db459dd061a 23:28:22 ---> 0967a89034eb 23:28:22 Step 7/12 : WORKDIR /app 23:28:22 ---> Running in 607b8528d225 23:28:22 Removing intermediate container 607b8528d225 23:28:22 ---> c33c6faa5b59 23:28:22 Step 8/12 : COPY go.mod vendor* ./ 23:28:22 ---> 7ef4d8a1aa1f 23:28:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:22 ---> Running in 3f5449eaaae6 23:28:22 Still waiting to schedule task 23:28:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:28:48 Removing intermediate container 3f5449eaaae6 23:28:48 ---> 553a35adc74a 23:28:48 Step 10/12 : COPY . . 23:28:48 ---> d41db2556b65 23:28:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:28:48 ---> Running in 78710afcf72d 23:28:48 Removing intermediate container 78710afcf72d 23:28:48 ---> d8d3c91ee72f 23:28:48 Step 12/12 : RUN $MAKE 23:28:48 ---> Running in df2862a7d755 23:28:48 noop 23:28:48 Removing intermediate container df2862a7d755 23:28:48 ---> e4e2f91d87dd 23:28:48 Successfully built e4e2f91d87dd 23:28:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:49 + docker inspect -f . ci-base-image-x86_64 23:28:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:49 prd-ubuntu20.04-docker-8c-8g-797 does not seem to be running inside a container 23:28:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-34 -v /w/workspace/xfoundry_app-record-replay_PR-34:/w/workspace/xfoundry_app-record-replay_PR-34:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-34@tmp:/w/workspace/xfoundry_app-record-replay_PR-34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:28:49 $ docker top d9697db9b9179667fbd15f0ec5904eca366492325dce3256e6fae585cca3e9e5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:50 + go version 23:28:50 go version go1.20.2 linux/amd64 [Pipeline] } 23:28:50 $ docker stop --time=1 d9697db9b9179667fbd15f0ec5904eca366492325dce3256e6fae585cca3e9e5 23:28:51 $ docker rm -f --volumes d9697db9b9179667fbd15f0ec5904eca366492325dce3256e6fae585cca3e9e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:52 + docker inspect -f . ci-base-image-x86_64 23:28:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:52 prd-ubuntu20.04-docker-8c-8g-797 does not seem to be running inside a container 23:28:52 $ 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-34 -v /w/workspace/xfoundry_app-record-replay_PR-34:/w/workspace/xfoundry_app-record-replay_PR-34:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-34@tmp:/w/workspace/xfoundry_app-record-replay_PR-34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:28:52 $ docker top 798928300be3f35f92d80158ce11bfb48212705a742880927cb57d3d7f1743e8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:53 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-34 [Pipeline] fileExists [Pipeline] sh 23:28:53 + make test 23:28:53 go test -race -coverprofile=coverage.out ./... 23:29:15 ? github.com/edgexfoundry/app-record-replay [no test files] 23:29:15 ok github.com/edgexfoundry/app-record-replay/internal/app 0.049s coverage: 76.9% of statements 23:29:15 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.068s coverage: 85.7% of statements 23:29:15 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:29:15 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:29:15 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:29:15 ok github.com/edgexfoundry/app-record-replay/internal/data 0.052s coverage: 27.3% of statements 23:29:33 go vet ./... 23:29:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:29:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:29:37 ./bin/test-attribution-txt.sh [Pipeline] echo 23:29:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:29:37 $ docker stop --time=1 798928300be3f35f92d80158ce11bfb48212705a742880927cb57d3d7f1743e8 23:29:41 $ docker rm -f --volumes 798928300be3f35f92d80158ce11bfb48212705a742880927cb57d3d7f1743e8 [Pipeline] // withDockerContainer [Pipeline] sh 23:29:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:29:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:29:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:29:43 + ls -al . 23:29:43 total 152 23:29:43 drwxrwxr-x 9 jenkins jenkins 4096 Jul 10 23:28 . 23:29:43 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 23:27 .. 23:29:43 -rw-rw-r-- 1 jenkins jenkins 119 Jul 10 23:27 .dockerignore 23:29:43 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 23:28 .git 23:29:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 23:27 .github 23:29:43 -rw-rw-r-- 1 jenkins jenkins 164 Jul 10 23:27 .gitignore 23:29:43 -rw-rw-r-- 1 jenkins jenkins 41 Jul 10 23:27 .golangci.yml 23:29:43 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 23:28 .semver 23:29:43 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 10 23:27 Attribution.txt 23:29:43 -rw-rw-r-- 1 jenkins jenkins 258 Jul 10 23:27 CHANGELOG.md 23:29:43 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 10 23:27 Dockerfile 23:29:43 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 23:27 GOVERNANCE.md 23:29:43 -rw-rw-r-- 1 jenkins jenkins 681 Jul 10 23:27 Jenkinsfile 23:29:43 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 10 23:27 LICENSE 23:29:43 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 10 23:27 Makefile 23:29:43 -rw-rw-r-- 1 jenkins jenkins 611 Jul 10 23:27 OWNERS.md 23:29:43 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 10 23:27 README.md 23:29:43 -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 23:28 VERSION 23:29:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 23:27 bin 23:29:43 -rw-r--r-- 1 jenkins jenkins 5223 Jul 10 23:29 coverage.out 23:29:43 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 10 23:27 go.mod 23:29:43 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 10 23:27 go.sum 23:29:43 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 23:27 internal 23:29:43 -rw-rw-r-- 1 jenkins jenkins 913 Jul 10 23:27 main.go 23:29:43 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 23:27 pkg 23:29:43 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 23:27 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:43 + 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=7ce357b819620f0cdf7411c62a0d35ecfa799a21 --label arch=amd64 --label version=0.0.0 . 23:29:43 Sending build context to Docker daemon 294.4kB 23:29:43 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:29:43 Step 2/26 : FROM ${BASE} AS builder 23:29:43 ---> e4e2f91d87dd 23:29:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:29:44 ---> Running in 6099aa60ee2c 23:29:44 Removing intermediate container 6099aa60ee2c 23:29:44 ---> b8a030f2133c 23:29:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:29:44 ---> Running in b8fdac657978 23:29:44 Removing intermediate container b8fdac657978 23:29:44 ---> 6c30dc43a20c 23:29:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:29:44 ---> Running in a7108459ad4f 23:29:44 Removing intermediate container a7108459ad4f 23:29:44 ---> 9c9d32d1e22a 23:29:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:29:44 ---> Running in bba1b0b7a21e 23:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:29:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:29:44 OK: 265 MiB in 53 packages 23:29:45 Removing intermediate container bba1b0b7a21e 23:29:45 ---> c91510bba3e4 23:29:45 Step 7/26 : WORKDIR /app 23:29:45 ---> Running in 828abe6d713f 23:29:45 Removing intermediate container 828abe6d713f 23:29:45 ---> 52182e781879 23:29:45 Step 8/26 : COPY go.mod vendor* ./ 23:29:45 ---> 4c5dc28338b5 23:29:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:29:45 ---> Running in 0c8b3c5e76a4 23:29:46 Removing intermediate container 0c8b3c5e76a4 23:29:46 ---> 11734bb06deb 23:29:46 Step 10/26 : COPY . . 23:29:46 ---> 11898019a132 23:29:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:29:46 ---> Running in 7de65e0650e7 23:29:46 Removing intermediate container 7de65e0650e7 23:29:46 ---> 50156deb61f9 23:29:46 Step 12/26 : RUN $MAKE 23:29:46 ---> Running in c37c490a3bbb 23:29:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:29:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-798 in /w/workspace/xfoundry_app-record-replay_PR-34 [Pipeline] { [Pipeline] ws 23:29:54 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 23:29:54 Selected Git installation does not exist. Using Default 23:29:54 The recommended git tool is: NONE 23:29:59 using credential edgex-jenkins-ssh 23:29:59 Cloning the remote Git repository 23:30:00 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:30:00 > git init /w/workspace/app-record-replay/1 # timeout=10 23:30:00 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:30:00 > git --version # timeout=10 23:30:00 > git --version # 'git version 2.25.1' 23:30:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:01 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:30:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:02 Merging remotes/origin/main commit 723607dbad664aab5e8badbfbff7a799207a6187 into PR head commit 7ce357b819620f0cdf7411c62a0d35ecfa799a21 23:30:01 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:30:01 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:30:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/34/head:refs/remotes/origin/PR-34 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:30:02 > git config core.sparsecheckout # timeout=10 23:30:02 > git checkout -f 7ce357b819620f0cdf7411c62a0d35ecfa799a21 # timeout=10 23:30:03 > git remote # timeout=10 23:30:03 > git config --get remote.origin.url # timeout=10 23:30:03 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:03 > git merge 723607dbad664aab5e8badbfbff7a799207a6187 # timeout=10 23:30:03 > git rev-parse HEAD^{commit} # timeout=10 23:30:03 Merge succeeded, producing 7ce357b819620f0cdf7411c62a0d35ecfa799a21 23:30:03 Checking out Revision 7ce357b819620f0cdf7411c62a0d35ecfa799a21 (PR-34) 23:30:03 > git config core.sparsecheckout # timeout=10 23:30:03 > git checkout -f 7ce357b819620f0cdf7411c62a0d35ecfa799a21 # timeout=10 23:30:06 Commit message: "feat: Implement record status endpoint" 23:30:06 > git --version # timeout=10 23:30:06 > git --version # 'git version 2.25.1' 23:30:06 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:30:07 % Total % Received % Xferd Average Speed Time Time Time Current 23:30:07 Dload Upload Total Spent Left Speed 23:30:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 23:30:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:30:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:30:08 + sudo tee /etc/docker/daemon.new 23:30:08 { 23:30:08 "registry-mirrors": [ 23:30:08 "https://nexus3.edgexfoundry.org:10001" 23:30:08 ], 23:30:08 "bip": "10.250.0.254/24", 23:30:08 "hosts": [ 23:30:08 "tcp://0.0.0.0:5555", 23:30:08 "unix:///var/run/docker.sock" 23:30:08 ], 23:30:08 "mtu": 1458, 23:30:08 "selinux-enabled": true, 23:30:08 "seccomp-profile": "/etc/docker/seccomp.json" 23:30:08 } [Pipeline] sh 23:30:08 Removing intermediate container c37c490a3bbb 23:30:08 ---> 070440363be1 23:30:08 Step 13/26 : FROM alpine:3.17 23:30:08 3.17: Pulling from library/alpine 23:30:08 4db1b89c0bd1: Pulling fs layer 23:30:08 4db1b89c0bd1: Verifying Checksum 23:30:08 4db1b89c0bd1: Download complete 23:30:08 4db1b89c0bd1: Pull complete 23:30:08 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:30:08 Status: Downloaded newer image for alpine:3.17 23:30:08 ---> 1f73a9d63274 23:30:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:30:08 ---> Running in 211ac47fa475 23:30:08 Removing intermediate container 211ac47fa475 23:30:08 ---> c51a60e85f1e 23:30:08 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:30:08 ---> Running in d26f7aa8ef8e 23:30:08 Removing intermediate container d26f7aa8ef8e 23:30:08 ---> 466828b97f3a 23:30:08 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:30:08 ---> Running in 7f55d423608e 23:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:30:08 (1/2) Installing ca-certificates (20230506-r0) 23:30:08 (2/2) Installing dumb-init (1.2.5-r2) 23:30:08 Executing busybox-1.35.0-r29.trigger 23:30:08 Executing ca-certificates-20230506-r0.trigger 23:30:08 OK: 8 MiB in 17 packages 23:30:08 Removing intermediate container 7f55d423608e 23:30:08 ---> d114078701a6 23:30:08 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:30:08 ---> ac1eb77acfa5 23:30:08 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:30:08 ---> 81b26ec8f2e8 23:30:08 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:30:08 ---> 4896a29fc3bd 23:30:08 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:30:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:30:09 + sudo service docker restart 23:30:09 ---> cb3f6553b4ee 23:30:09 Step 21/26 : EXPOSE 59712 23:30:09 ---> Running in 96b7a2822c17 23:30:09 Removing intermediate container 96b7a2822c17 23:30:09 ---> 1f68aea7b1ec 23:30:09 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:30:09 ---> Running in d0a66e13a73e 23:30:09 Removing intermediate container d0a66e13a73e 23:30:09 ---> 8d08dd101b5e 23:30:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:30:09 ---> Running in fb2c542a701e 23:30:09 Removing intermediate container fb2c542a701e 23:30:09 ---> 8d9102a2a329 23:30:09 Step 24/26 : LABEL arch=amd64 23:30:10 ---> Running in 088be08b268a 23:30:10 Removing intermediate container 088be08b268a 23:30:10 ---> 4b99504cf1a4 23:30:10 Step 25/26 : LABEL git_sha=7ce357b819620f0cdf7411c62a0d35ecfa799a21 23:30:10 ---> Running in 884bf452a206 23:30:10 Removing intermediate container 884bf452a206 23:30:10 ---> 7a2525587466 23:30:10 Step 26/26 : LABEL version=0.0.0 23:30:10 ---> Running in 6f9014c39755 23:30:10 Removing intermediate container 6f9014c39755 23:30:10 ---> c9c134a60618 23:30:10 [Warning] One or more build-args [ARCH] were not consumed 23:30:10 Successfully built c9c134a60618 23:30:10 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:11 23:30:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:11 latest: Pulling from edgex-lftools-log-publisher 23:30:11 5eb5b503b376: Pulling fs layer 23:30:11 5c69ac0246d0: Pulling fs layer 23:30:11 ec43610c2a17: Pulling fs layer 23:30:11 3a2ae6a8a46f: Pulling fs layer 23:30:11 33b1e0a273af: Pulling fs layer 23:30:11 5d3b04190fa2: Pulling fs layer 23:30:11 2f39f015ded8: Pulling fs layer 23:30:11 33b1e0a273af: Waiting 23:30:11 5d3b04190fa2: Waiting 23:30:11 2f39f015ded8: Waiting 23:30:11 3a2ae6a8a46f: Waiting 23:30:11 5c69ac0246d0: Download complete 23:30:11 3a2ae6a8a46f: Verifying Checksum 23:30:11 3a2ae6a8a46f: Download complete 23:30:11 33b1e0a273af: Verifying Checksum 23:30:11 33b1e0a273af: Download complete 23:30:11 ec43610c2a17: Verifying Checksum 23:30:11 ec43610c2a17: Download complete 23:30:11 5d3b04190fa2: Verifying Checksum 23:30:11 5d3b04190fa2: Download complete 23:30:12 5eb5b503b376: Verifying Checksum 23:30:12 5eb5b503b376: Download complete 23:30:12 2f39f015ded8: Verifying Checksum 23:30:12 2f39f015ded8: Download complete 23:30:13 5eb5b503b376: Pull complete 23:30:13 5c69ac0246d0: Pull complete 23:30:13 ec43610c2a17: Pull complete 23:30:13 3a2ae6a8a46f: Pull complete 23:30:13 33b1e0a273af: Pull complete 23:30:13 5d3b04190fa2: Pull complete 23:30:18 2f39f015ded8: Pull complete 23:30:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:30:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:18 prd-ubuntu20.04-docker-8c-8g-797 does not seem to be running inside a container 23:30:18 $ 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-34 -v /w/workspace/xfoundry_app-record-replay_PR-34:/w/workspace/xfoundry_app-record-replay_PR-34:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-34@tmp:/w/workspace/xfoundry_app-record-replay_PR-34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:30:22 $ docker top 938bcecfda429ee784c6568823ae63e8879bf80ac72030ad4c85575ab9abb2b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:22 ---> job-cost.sh 23:30:22 lf-activate-venv: SKIPPING 23:30:22 INFO: No Stack... 23:30:22 INFO: Retrieving Pricing Info for: v3-standard-8 23:30:23 INFO: Archiving Costs [Pipeline] sh 23:30:23 + cat /w/workspace/xfoundry_app-record-replay_PR-34/archives/cost.csv 23:30:23 + cut -d, -f6 [Pipeline] lock 23:30:23 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-34-1-stack-cost] 23:30:23 Resource [jenkins-edgexfoundry-app-record-replay-PR-34-1-stack-cost] did not exist. Created. 23:30:23 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-34-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:24 + echo total: 0.2199999988079071 [Pipeline] stash 23:30:24 Stashed 1 file(s) [Pipeline] } 23:30:24 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-34-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:24 $ docker stop --time=1 938bcecfda429ee784c6568823ae63e8879bf80ac72030ad4c85575ab9abb2b3 23:30:25 $ docker rm -f --volumes 938bcecfda429ee784c6568823ae63e8879bf80ac72030ad4c85575ab9abb2b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:30:27 provisioning config files... 23:30:27 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config11886660716905892251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:28 ---> docker-login.sh 23:30:28 nexus3.edgexfoundry.org:10001 23:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:28 Configure a credential helper to remove this warning. See 23:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:28 23:30:28 Login Succeeded 23:30:28 nexus3.edgexfoundry.org:10002 23:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:28 Configure a credential helper to remove this warning. See 23:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:28 23:30:28 Login Succeeded 23:30:28 nexus3.edgexfoundry.org:10003 23:30:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:29 Configure a credential helper to remove this warning. See 23:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:29 23:30:29 Login Succeeded 23:30:29 nexus3.edgexfoundry.org:10004 23:30:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:29 Configure a credential helper to remove this warning. See 23:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:29 23:30:29 Login Succeeded 23:30:29 docker.io 23:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:30 Configure a credential helper to remove this warning. See 23:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:30 23:30:30 Login Succeeded 23:30:30 ---> docker-login.sh ends [Pipeline] } 23:30:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:30:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:30 ========================================================= 23:30:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:30:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:31 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:30:31 Sending build context to Docker daemon 140.3kB 23:30:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:30:31 Step 2/12 : FROM ${BASE} AS builder 23:30:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:30:31 c41833b44d91: Pulling fs layer 23:30:31 ed15518f5707: Pulling fs layer 23:30:31 feae8fd75edb: Pulling fs layer 23:30:31 242c74f7c9fa: Pulling fs layer 23:30:31 3cdef696dda3: Pulling fs layer 23:30:31 2ced38df9373: Pulling fs layer 23:30:31 58f1dce35555: Pulling fs layer 23:30:31 3cdef696dda3: Waiting 23:30:31 2ced38df9373: Waiting 23:30:31 58f1dce35555: Waiting 23:30:31 242c74f7c9fa: Waiting 23:30:31 ed15518f5707: Verifying Checksum 23:30:31 ed15518f5707: Download complete 23:30:31 242c74f7c9fa: Verifying Checksum 23:30:31 242c74f7c9fa: Download complete 23:30:31 3cdef696dda3: Verifying Checksum 23:30:31 3cdef696dda3: Download complete 23:30:31 c41833b44d91: Verifying Checksum 23:30:31 c41833b44d91: Download complete 23:30:32 c41833b44d91: Pull complete 23:30:32 58f1dce35555: Verifying Checksum 23:30:32 58f1dce35555: Download complete 23:30:33 ed15518f5707: Pull complete 23:30:34 feae8fd75edb: Verifying Checksum 23:30:34 feae8fd75edb: Download complete 23:30:34 2ced38df9373: Verifying Checksum 23:30:34 2ced38df9373: Download complete 23:30:46 feae8fd75edb: Pull complete 23:30:46 242c74f7c9fa: Pull complete 23:30:46 3cdef696dda3: Pull complete 23:30:53 2ced38df9373: Pull complete 23:30:54 58f1dce35555: Pull complete 23:30:54 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:30:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:30:54 ---> fadd8f120f05 23:30:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:30:56 ---> Running in aa401914b179 23:30:56 Removing intermediate container aa401914b179 23:30:56 ---> 906e18b4cf81 23:30:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:30:56 ---> Running in 0519cd83771e 23:30:57 Removing intermediate container 0519cd83771e 23:30:57 ---> be296952e55d 23:30:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:30:57 ---> Running in 8dd8bc69295c 23:30:57 Removing intermediate container 8dd8bc69295c 23:30:57 ---> 724d7be2d68f 23:30:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:57 ---> Running in b9a6ad61a886 23:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:00 OK: 263 MiB in 53 packages 23:31:01 Removing intermediate container b9a6ad61a886 23:31:01 ---> e251490bb78c 23:31:01 Step 7/12 : WORKDIR /app 23:31:01 ---> Running in 90f819a04408 23:31:01 Removing intermediate container 90f819a04408 23:31:01 ---> 0a3b353f525f 23:31:01 Step 8/12 : COPY go.mod vendor* ./ 23:31:01 ---> 994a1c91e348 23:31:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:01 ---> Running in fea1f9fc7520 23:32:09 Removing intermediate container fea1f9fc7520 23:32:09 ---> 0ae7b9424dba 23:32:09 Step 10/12 : COPY . . 23:32:09 ---> 8693cd4a4be9 23:32:09 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:32:09 ---> Running in dd94134043ac 23:32:09 Removing intermediate container dd94134043ac 23:32:09 ---> ee48a856ebed 23:32:09 Step 12/12 : RUN $MAKE 23:32:09 ---> Running in 04b84da401bf 23:32:09 noop 23:32:09 Removing intermediate container 04b84da401bf 23:32:09 ---> 134bafc827dd 23:32:09 Successfully built 134bafc827dd 23:32:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:10 + docker inspect -f . ci-base-image-arm64 23:32:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:10 prd-ubuntu20.04-docker-arm64-4c-16g-798 does not seem to be running inside a container 23:32:10 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:32:11 $ docker top cb9d6a73c400c392a75d15a4a92acfc766d3739b044e4da647a95c0334800407 -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:12 + go version 23:32:12 go version go1.20.2 linux/arm64 [Pipeline] } 23:32:12 $ docker stop --time=1 cb9d6a73c400c392a75d15a4a92acfc766d3739b044e4da647a95c0334800407 23:32:14 $ docker rm -f --volumes cb9d6a73c400c392a75d15a4a92acfc766d3739b044e4da647a95c0334800407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:15 + docker inspect -f . ci-base-image-arm64 23:32:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:15 prd-ubuntu20.04-docker-arm64-4c-16g-798 does not seem to be running inside a container 23:32:15 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:32:16 $ docker top b84a545d2bdcbbdfbfeb40c2ea5c924958fe8d8ffe70ed5b10498aa87508a4ea -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:17 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 23:32:17 + make test 23:32:17 go test -race -coverprofile=coverage.out ./... 23:34:54 ? github.com/edgexfoundry/app-record-replay [no test files] 23:34:54 ok github.com/edgexfoundry/app-record-replay/internal/app 0.288s coverage: 76.9% of statements 23:34:54 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.415s coverage: 85.7% of statements 23:34:56 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:34:56 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:34:56 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:34:56 ok github.com/edgexfoundry/app-record-replay/internal/data 0.208s coverage: 27.3% of statements 23:34:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:34:57 go vet ./... 23:37:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:37:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:37:19 ./bin/test-attribution-txt.sh [Pipeline] echo 23:37:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:37:19 $ docker stop --time=1 b84a545d2bdcbbdfbfeb40c2ea5c924958fe8d8ffe70ed5b10498aa87508a4ea 23:37:21 $ docker rm -f --volumes b84a545d2bdcbbdfbfeb40c2ea5c924958fe8d8ffe70ed5b10498aa87508a4ea [Pipeline] // withDockerContainer [Pipeline] sh 23:37:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:37:22 Warning: overwriting stash ‘coverage-report’ 23:37:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:37:23 + ls -al . 23:37:23 total 148 23:37:23 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 23:32 . 23:37:23 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 23:30 .. 23:37:23 -rw-rw-r-- 1 jenkins jenkins 119 Jul 10 23:30 .dockerignore 23:37:23 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 23:30 .git 23:37:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 23:30 .github 23:37:23 -rw-rw-r-- 1 jenkins jenkins 164 Jul 10 23:30 .gitignore 23:37:23 -rw-rw-r-- 1 jenkins jenkins 41 Jul 10 23:30 .golangci.yml 23:37:23 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 10 23:30 Attribution.txt 23:37:23 -rw-rw-r-- 1 jenkins jenkins 258 Jul 10 23:30 CHANGELOG.md 23:37:23 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 10 23:30 Dockerfile 23:37:23 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 23:30 GOVERNANCE.md 23:37:23 -rw-rw-r-- 1 jenkins jenkins 681 Jul 10 23:30 Jenkinsfile 23:37:23 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 10 23:30 LICENSE 23:37:23 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 10 23:30 Makefile 23:37:23 -rw-rw-r-- 1 jenkins jenkins 611 Jul 10 23:30 OWNERS.md 23:37:23 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 10 23:30 README.md 23:37:23 -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 23:28 VERSION 23:37:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 23:30 bin 23:37:23 -rw-r--r-- 1 jenkins jenkins 5223 Jul 10 23:34 coverage.out 23:37:23 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 10 23:30 go.mod 23:37:23 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 10 23:30 go.sum 23:37:23 drwxrwxr-x 6 jenkins jenkins 4096 Jul 10 23:30 internal 23:37:23 -rw-rw-r-- 1 jenkins jenkins 913 Jul 10 23:30 main.go 23:37:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 10 23:30 pkg 23:37:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 23:30 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:24 + 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=7ce357b819620f0cdf7411c62a0d35ecfa799a21 --label arch=arm64 --label version=0.0.0 . 23:37:24 Sending build context to Docker daemon 146.4kB 23:37:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:37:24 Step 2/26 : FROM ${BASE} AS builder 23:37:24 ---> 134bafc827dd 23:37:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:37:24 ---> Running in 8ccf45ba0765 23:37:24 Removing intermediate container 8ccf45ba0765 23:37:24 ---> 700890d73451 23:37:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:37:24 ---> Running in fad508113db7 23:37:25 Removing intermediate container fad508113db7 23:37:25 ---> cdf381e84e25 23:37:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:37:25 ---> Running in 11999cf34415 23:37:25 Removing intermediate container 11999cf34415 23:37:25 ---> 1b43795715b1 23:37:25 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:25 ---> Running in f2e5f2174faa 23:37:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:37:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:37:28 OK: 263 MiB in 53 packages 23:37:29 Removing intermediate container f2e5f2174faa 23:37:29 ---> 6438004c5b0b 23:37:29 Step 7/26 : WORKDIR /app 23:37:29 ---> Running in 126631e5c44f 23:37:29 Removing intermediate container 126631e5c44f 23:37:29 ---> 352e0ef2cc2d 23:37:29 Step 8/26 : COPY go.mod vendor* ./ 23:37:30 ---> ef1544dac2f8 23:37:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:30 ---> Running in faee71450635 23:37:32 Removing intermediate container faee71450635 23:37:32 ---> 44a4d5c10336 23:37:32 Step 10/26 : COPY . . 23:37:32 ---> 97b86f488319 23:37:32 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:32 ---> Running in d07cbd34568d 23:37:33 Removing intermediate container d07cbd34568d 23:37:33 ---> 5bae65708290 23:37:33 Step 12/26 : RUN $MAKE 23:37:33 ---> Running in 5742465d6874 23:37:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.3 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:39:41 Removing intermediate container 5742465d6874 23:39:41 ---> 9939ab5b92f4 23:39:41 Step 13/26 : FROM alpine:3.17 23:39:41 3.17: Pulling from library/alpine 23:39:41 edb6bdbacee9: Pulling fs layer 23:39:41 edb6bdbacee9: Verifying Checksum 23:39:41 edb6bdbacee9: Download complete 23:39:41 edb6bdbacee9: Pull complete 23:39:41 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:39:41 Status: Downloaded newer image for alpine:3.17 23:39:41 ---> 779605e5fbc0 23:39:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:39:41 ---> Running in 627a9d5d2177 23:39:41 Removing intermediate container 627a9d5d2177 23:39:41 ---> 42110e04a27b 23:39:41 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:39:41 ---> Running in d2f57cabf7f7 23:39:41 Removing intermediate container d2f57cabf7f7 23:39:41 ---> a2bc2a39a323 23:39:41 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:39:41 ---> Running in 621dd56e6f8f 23:39:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:39:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:39:41 (1/2) Installing ca-certificates (20230506-r0) 23:39:41 (2/2) Installing dumb-init (1.2.5-r2) 23:39:41 Executing busybox-1.35.0-r29.trigger 23:39:41 Executing ca-certificates-20230506-r0.trigger 23:39:41 OK: 8 MiB in 17 packages 23:39:41 Removing intermediate container 621dd56e6f8f 23:39:41 ---> 7adcf2e3231f 23:39:41 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:39:41 ---> b96c9cae6cdd 23:39:41 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:39:41 ---> a2fb4c999d3d 23:39:41 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:39:41 ---> bb1daccfa821 23:39:41 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:39:42 ---> 4fbcf9723c1c 23:39:42 Step 21/26 : EXPOSE 59712 23:39:42 ---> Running in 6cb01b23fd24 23:39:43 Removing intermediate container 6cb01b23fd24 23:39:43 ---> 86a27d8c4888 23:39:43 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:39:43 ---> Running in b235793466ad 23:39:43 Removing intermediate container b235793466ad 23:39:43 ---> 6f04a6e20537 23:39:43 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:39:43 ---> Running in dc84475fefef 23:39:43 Removing intermediate container dc84475fefef 23:39:43 ---> 7e0c7d5b4fe7 23:39:43 Step 24/26 : LABEL arch=arm64 23:39:43 ---> Running in 47f2340928b6 23:39:44 Removing intermediate container 47f2340928b6 23:39:44 ---> 3433d48a72a6 23:39:44 Step 25/26 : LABEL git_sha=7ce357b819620f0cdf7411c62a0d35ecfa799a21 23:39:44 ---> Running in ae3ff43e90a4 23:39:44 Removing intermediate container ae3ff43e90a4 23:39:44 ---> bc721730bb17 23:39:44 Step 26/26 : LABEL version=0.0.0 23:39:44 ---> Running in 5ff8db0c1f46 23:39:44 Removing intermediate container 5ff8db0c1f46 23:39:44 ---> 54116cee0cee 23:39:44 [Warning] One or more build-args [ARCH] were not consumed 23:39:44 Successfully built 54116cee0cee 23:39:44 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:45 23:39:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:45 arm64: Pulling from edgex-lftools-log-publisher 23:39:45 8998bd30e6a1: Pulling fs layer 23:39:45 04944245beec: Pulling fs layer 23:39:45 699f458cf7ca: Pulling fs layer 23:39:45 765212b225bb: Pulling fs layer 23:39:45 f23df028b6ca: Pulling fs layer 23:39:45 d65c8cfc05b1: Pulling fs layer 23:39:45 2437ff75d9bd: Pulling fs layer 23:39:45 f23df028b6ca: Waiting 23:39:45 d65c8cfc05b1: Waiting 23:39:45 765212b225bb: Waiting 23:39:45 2437ff75d9bd: Waiting 23:39:46 04944245beec: Verifying Checksum 23:39:46 04944245beec: Download complete 23:39:46 765212b225bb: Verifying Checksum 23:39:46 765212b225bb: Download complete 23:39:46 f23df028b6ca: Download complete 23:39:46 d65c8cfc05b1: Verifying Checksum 23:39:46 d65c8cfc05b1: Download complete 23:39:46 699f458cf7ca: Verifying Checksum 23:39:46 699f458cf7ca: Download complete 23:39:46 8998bd30e6a1: Download complete 23:39:48 2437ff75d9bd: Verifying Checksum 23:39:48 2437ff75d9bd: Download complete 23:39:50 8998bd30e6a1: Pull complete 23:39:50 04944245beec: Pull complete 23:39:52 699f458cf7ca: Pull complete 23:39:52 765212b225bb: Pull complete 23:39:53 f23df028b6ca: Pull complete 23:39:53 d65c8cfc05b1: Pull complete 23:40:08 2437ff75d9bd: Pull complete 23:40:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:40:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:08 prd-ubuntu20.04-docker-arm64-4c-16g-798 does not seem to be running inside a container 23:40:08 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:40:11 $ docker top f00c1eb62db22670f15fc1727093d7497c6fa1d7512a7701134f8d9afdfd1bd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:12 ---> job-cost.sh 23:40:12 lf-activate-venv: SKIPPING 23:40:12 INFO: No Stack... 23:40:12 INFO: Retrieving Pricing Info for: v3-standard-4 23:40:13 INFO: Archiving Costs [Pipeline] sh 23:40:13 + cat /w/workspace/app-record-replay/1/archives/cost.csv 23:40:13 + cut -d, -f6 [Pipeline] lock 23:40:13 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-34-1-stack-cost] 23:40:13 Resource [jenkins-edgexfoundry-app-record-replay-PR-34-1-stack-cost] did not exist. Created. 23:40:13 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-34-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:14 /w/workspace/app-record-replay/1@tmp/durable-ec769e45/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:40:14 + echo total: 0.10999999940395355 [Pipeline] stash 23:40:14 Warning: overwriting stash ‘stack-cost’ 23:40:14 Stashed 1 file(s) [Pipeline] } 23:40:14 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-34-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:14 $ docker stop --time=1 f00c1eb62db22670f15fc1727093d7497c6fa1d7512a7701134f8d9afdfd1bd3 23:40:15 $ docker rm -f --volumes f00c1eb62db22670f15fc1727093d7497c6fa1d7512a7701134f8d9afdfd1bd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:40:16 provisioning config files... 23:40:16 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-34 #1 23:40:16 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-34@tmp/config5449697543612541443tmp [Pipeline] { [Pipeline] sh 23:40:17 + set +x 23:40:17 + curl -s https://codecov.io/bash 23:40:17 + bash -s -- 23:40:17 23:40:17 _____ _ 23:40:17 / ____| | | 23:40:17 | | ___ __| | ___ ___ _____ __ 23:40:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:40:17 | |___| (_) | (_| | __/ (_| (_) \ V / 23:40:17 \_____\___/ \__,_|\___|\___\___/ \_/ 23:40:17 Bash-1.0.6 23:40:17 23:40:17 23:40:17 ==> git version 2.25.1 found 23:40:17 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:40:17 Release-Date: 2020-01-08 23:40:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:40:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:40:17 ==> Jenkins CI detected. 23:40:17 current dir:  /w/workspace/xfoundry_app-record-replay_PR-34 23:40:17 project root: . 23:40:17 --> token set from env 23:40:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:40:17 ==> Running gcov in . (disable via -X gcov) 23:40:17 ==> Python coveragepy not found 23:40:17 ==> Searching for coverage reports in: 23:40:17 + . 23:40:17 -> Found 1 reports 23:40:17 ==> Detecting git/mercurial file structure 23:40:17 ==> Reading reports 23:40:17 + ./coverage.out bytes=5223 23:40:17 ==> Appending adjustments 23:40:17 https://docs.codecov.io/docs/fixing-reports 23:40:17 + Found adjustments 23:40:17 ==> Gzipping contents 23:40:17 4.0K /tmp/codecov.vZQH6O.gz 23:40:17 ==> Uploading reports 23:40:17 url: https://codecov.io 23:40:17 query: branch=PR-34&commit=7ce357b819620f0cdf7411c62a0d35ecfa799a21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-34%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=34&job=&cmd_args= 23:40:17 -> Pinging Codecov 23:40:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-34&commit=7ce357b819620f0cdf7411c62a0d35ecfa799a21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-34%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=34&job=&cmd_args= 23:40:17 Invalid request parameters 23:40:17 400 [Pipeline] } 23:40:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:40:19 + [ -d /w/workspace/xfoundry_app-record-replay_PR-34/archives ] 23:40:19 + ls -al /w/workspace/xfoundry_app-record-replay_PR-34/archives 23:40:19 total 16 23:40:19 drwxr-xr-x 3 root root 4096 Jul 10 23:30 . 23:40:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 23:30 .. 23:40:19 drwxr-xr-x 2 root root 4096 Jul 10 23:30 cost 23:40:19 -rw-r--r-- 1 root root 88 Jul 10 23:30 cost.csv 23:40:19 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-34/archives 23:40:19 + ls -al /w/workspace/xfoundry_app-record-replay_PR-34/archives 23:40:19 total 16 23:40:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 23:30 . 23:40:19 drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 23:30 .. 23:40:19 drwxr-xr-x 2 jenkins jenkins 4096 Jul 10 23:30 cost 23:40:19 -rw-r--r-- 1 jenkins jenkins 88 Jul 10 23:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:40:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:40:20 ---> package-listing.sh 23:40:20 ++ facter osfamily 23:40:20 ++ tr '[:upper:]' '[:lower:]' 23:40:20 + OS_FAMILY=debian 23:40:20 + workspace=/w/workspace/xfoundry_app-record-replay_PR-34 23:40:20 + START_PACKAGES=/tmp/packages_start.txt 23:40:20 + END_PACKAGES=/tmp/packages_end.txt 23:40:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:40:20 + PACKAGES=/tmp/packages_start.txt 23:40:20 + '[' /w/workspace/xfoundry_app-record-replay_PR-34 ']' 23:40:20 + PACKAGES=/tmp/packages_end.txt 23:40:20 + case "${OS_FAMILY}" in 23:40:20 + dpkg -l 23:40:20 + grep '^ii' 23:40:20 + '[' -f /tmp/packages_start.txt ']' 23:40:20 + '[' -f /tmp/packages_end.txt ']' 23:40:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:40:20 + '[' /w/workspace/xfoundry_app-record-replay_PR-34 ']' 23:40:20 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-34/archives/ 23:40:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-34/archives/ [Pipeline] echo 23:40:21 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-34/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:40:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:40:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:22 prd-ubuntu20.04-docker-8c-8g-797 does not seem to be running inside a container 23:40:22 $ 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-34/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-34 -v /w/workspace/xfoundry_app-record-replay_PR-34:/w/workspace/xfoundry_app-record-replay_PR-34:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-34@tmp:/w/workspace/xfoundry_app-record-replay_PR-34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:40:22 $ docker top ef1bb62a6a2440e34caa6928245325b7a1395938e770eaf6e86d1b34c2da0468 -eo pid,comm [Pipeline] { [Pipeline] sh 23:40:22 + touch /tmp/pre-build-complete [Pipeline] sh 23:40:22 + mkdir -p /var/log/sysstat [Pipeline] sh 23:40:23 + ls /var/log/sa-host 23:40:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:23 provisioning config files... 23:40:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-34@tmp/config15687277892964192782tmp [Pipeline] { [Pipeline] echo 23:40:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:40:23 ---> create-netrc.sh [Pipeline] } 23:40:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:40:24 ---> python-tools-install.sh [Pipeline] echo 23:40:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:40:24 ---> sudo-logs.sh 23:40:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:40:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:40:25 ---> job-cost.sh 23:40:25 lf-activate-venv: SKIPPING 23:40:25 DEBUG: total: 0.2199999988079071 23:40:25 INFO: Retrieving Stack Cost... 23:40:25 INFO: Retrieving Pricing Info for: v3-standard-8 23:40:25 INFO: Archiving Costs [Pipeline] echo 23:40:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:40:26 ---> logs-deploy.sh 23:40:26 lf-activate-venv: SKIPPING 23:40:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-34/1 23:40:26 INFO: archiving workspace using pattern(s): 23:40:27 Archives upload complete. 23:40:27 INFO: archiving logs to Nexus