Pull request #35 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 lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from f408ad1e61c71e678601c8b6ece87aa2ccc74bc8+2c282af5260d380b24eaba4cc371f3a0b43fd8c9 (4d4a8386ff459ba01d54fc48935987ea51314ec0) 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-ssh16894258353057974621.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-ssh11235852515968708099.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-35/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-35/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3850619523530679071.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-35/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13504938332631715074.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-ssh4655644368284384909.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-35/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-35/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4881566000859836897.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-806 in /w/workspace/xfoundry_app-record-replay_PR-35 [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-35 # 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 2c282af5260d380b24eaba4cc371f3a0b43fd8c9 into PR head commit f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 Merge succeeded, producing f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 Checking out Revision f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 (PR-35) > 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/35/head:refs/remotes/origin/PR-35 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 # 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 2c282af5260d380b24eaba4cc371f3a0b43fd8c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 # timeout=10 Commit message: "feat: Implemeny Cancel Recording 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 00:42:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:55 ========================================================= 00:42:55 EdgeX Global Pipelines Version Info 00:42:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:42:56 ------------------- 00:42:56 stable info: 00:42:56 ------------------- 00:42:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:42:56 Message: update stable to v1.0.250 00:42:56 ------------------- 00:42:56 experimental info: 00:42:56 ------------------- 00:42:56 Commited By: **** collab-it+edgex@linuxfoundation.org 00:42:56 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:42:56 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:42:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-35 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-35 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-35 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f408ad1 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:58 provisioning config files... 00:42:58 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-35@tmp/config17557432179927620605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:58 ---> docker-login.sh 00:42:58 nexus3.edgexfoundry.org:10001 00:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:59 Configure a credential helper to remove this warning. See 00:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:59 00:42:59 Login Succeeded 00:42:59 nexus3.edgexfoundry.org:10002 00:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:59 Configure a credential helper to remove this warning. See 00:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:59 00:42:59 Login Succeeded 00:42:59 nexus3.edgexfoundry.org:10003 00:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:59 Configure a credential helper to remove this warning. See 00:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:59 00:42:59 Login Succeeded 00:42:59 nexus3.edgexfoundry.org:10004 00:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:59 Configure a credential helper to remove this warning. See 00:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:59 00:42:59 Login Succeeded 00:42:59 docker.io 00:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:59 Configure a credential helper to remove this warning. See 00:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:59 00:42:59 Login Succeeded 00:42:59 ---> docker-login.sh ends [Pipeline] } 00:43:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:43:00 + git rev-list -1 --merges f408ad1e61c71e678601c8b6ece87aa2ccc74bc8~1..f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 [Pipeline] echo 00:43:00 -----------> git rev-list -1 --merges f408ad1e61c71e678601c8b6ece87aa2ccc74bc8~1..f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 [false] [Pipeline] sh 00:43:01 + git log --format=format:%s -1 f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 [Pipeline] echo 00:43:01 ========================================================= 00:43:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:43:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:01 + git log --format=format:%s -1 f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 [Pipeline] echo 00:43:01 [semverPrep] GIT_COMMIT: f408ad1e61c71e678601c8b6ece87aa2ccc74bc8, Commit Message: feat: Implemeny Cancel Recording Endpoint [Pipeline] echo 00:43:01 [semverPrep] This is not a build commit. [Pipeline] sh 00:43:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:02 + grep -v github /etc/ssh/ssh_known_hosts 00:43:02 + [ -e /tmp/ssh_known_hosts ] 00:43:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:43:02 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:43:02 sudo tee -a /etc/ssh/ssh_known_hosts 00:43:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:02 00:43:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:02 0.1.4: Pulling from edgex-devops/py-git-semver 00:43:02 b85a868b505f: Pulling fs layer 00:43:02 e2be974225ed: Pulling fs layer 00:43:02 339a4e72a1f5: Pulling fs layer 00:43:02 988bab9f4d93: Pulling fs layer 00:43:02 1469e6f7b9e6: Pulling fs layer 00:43:02 eaf3925da568: Pulling fs layer 00:43:02 bab4dde63d76: Pulling fs layer 00:43:02 bde34c3a00c8: Pulling fs layer 00:43:02 b352a97aabf1: Pulling fs layer 00:43:02 4872d77fe225: Pulling fs layer 00:43:02 5851b861e8e6: Pulling fs layer 00:43:02 988bab9f4d93: Waiting 00:43:02 bde34c3a00c8: Waiting 00:43:02 b352a97aabf1: Waiting 00:43:02 1469e6f7b9e6: Waiting 00:43:02 eaf3925da568: Waiting 00:43:02 bab4dde63d76: Waiting 00:43:02 4872d77fe225: Waiting 00:43:02 e2be974225ed: Verifying Checksum 00:43:02 e2be974225ed: Download complete 00:43:02 988bab9f4d93: Verifying Checksum 00:43:02 988bab9f4d93: Download complete 00:43:03 339a4e72a1f5: Verifying Checksum 00:43:03 339a4e72a1f5: Download complete 00:43:03 1469e6f7b9e6: Verifying Checksum 00:43:03 1469e6f7b9e6: Download complete 00:43:03 eaf3925da568: Verifying Checksum 00:43:03 eaf3925da568: Download complete 00:43:03 bde34c3a00c8: Verifying Checksum 00:43:03 bde34c3a00c8: Download complete 00:43:03 b352a97aabf1: Download complete 00:43:03 4872d77fe225: Verifying Checksum 00:43:03 4872d77fe225: Download complete 00:43:03 5851b861e8e6: Verifying Checksum 00:43:03 b85a868b505f: Verifying Checksum 00:43:03 b85a868b505f: Download complete 00:43:03 bab4dde63d76: Verifying Checksum 00:43:03 bab4dde63d76: Download complete 00:43:04 b85a868b505f: Pull complete 00:43:04 e2be974225ed: Pull complete 00:43:05 339a4e72a1f5: Pull complete 00:43:05 988bab9f4d93: Pull complete 00:43:05 1469e6f7b9e6: Pull complete 00:43:05 eaf3925da568: Pull complete 00:43:07 bab4dde63d76: Pull complete 00:43:07 bde34c3a00c8: Pull complete 00:43:07 b352a97aabf1: Pull complete 00:43:07 4872d77fe225: Pull complete 00:43:07 5851b861e8e6: Pull complete 00:43:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:43:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:08 prd-ubuntu20.04-docker-8c-8g-806 does not seem to be running inside a container 00:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-35 -v /w/workspace/xfoundry_app-record-replay_PR-35:/w/workspace/xfoundry_app-record-replay_PR-35:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-35@tmp:/w/workspace/xfoundry_app-record-replay_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:43:11 $ docker top fc29560d35e3ba40acf5d56d8819cefa4f173c45993865a1421197b8d6e0911b -eo pid,comm 00:43:11 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). 00:43:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:12 [ssh-agent] Looking for ssh-agent implementation... 00:43:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:12 $ docker exec fc29560d35e3ba40acf5d56d8819cefa4f173c45993865a1421197b8d6e0911b ssh-agent 00:43:12 SSH_AUTH_SOCK=/tmp/ssh-dpmUiA4MwnOT/agent.33 00:43:12 SSH_AGENT_PID=39 00:43:12 Running ssh-add (command line suppressed) 00:43:12 Identity added: /w/workspace/xfoundry_app-record-replay_PR-35@tmp/private_key_531064155272736448.key (/w/workspace/xfoundry_app-record-replay_PR-35@tmp/private_key_531064155272736448.key) 00:43:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:12 + git tag --points-at HEAD [Pipeline] } 00:43:12 $ docker exec --env ******** --env ******** fc29560d35e3ba40acf5d56d8819cefa4f173c45993865a1421197b8d6e0911b ssh-agent -k 00:43:12 unset SSH_AUTH_SOCK; 00:43:12 unset SSH_AGENT_PID; 00:43:12 echo Agent pid 39 killed; 00:43:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:43:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:13 [ssh-agent] Looking for ssh-agent implementation... 00:43:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:13 $ docker exec fc29560d35e3ba40acf5d56d8819cefa4f173c45993865a1421197b8d6e0911b ssh-agent 00:43:14 SSH_AUTH_SOCK=/tmp/ssh-whQBnD96NtNa/agent.72 00:43:14 SSH_AGENT_PID=78 00:43:14 Running ssh-add (command line suppressed) 00:43:14 Identity added: /w/workspace/xfoundry_app-record-replay_PR-35@tmp/private_key_17575369566242171132.key (/w/workspace/xfoundry_app-record-replay_PR-35@tmp/private_key_17575369566242171132.key) 00:43:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:14 + git semver init 00:43:14 2023-07-11 00:43:14,694 [run_init] DEBUG init version:0.0.0 force:False 00:43:14 2023-07-11 00:43:14,695 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-35/.semver 00:43:14 2023-07-11 00:43:14,695 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-35/.semver 00:43:14 2023-07-11 00:43:14,696 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-35/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-35, universal_newlines=False, shell=None, istream=None) 00:43:15 2023-07-11 00:43:15,352 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-35/.git/info/exclude 00:43:15 2023-07-11 00:43:15,353 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-35/.semver/PR-35 with force:False 00:43:15 2023-07-11 00:43:15,353 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-35/.semver/PR-35 00:43:15 2023-07-11 00:43:15,357 [execute] INFO git cat-file --batch-check 00:43:15 2023-07-11 00:43:15,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-35/.semver, universal_newlines=False, shell=None, istream=) 00:43:15 2023-07-11 00:43:15,363 [execute] INFO git cat-file --batch 00:43:15 2023-07-11 00:43:15,364 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-35/.semver, universal_newlines=False, shell=None, istream=) 00:43:15 2023-07-11 00:43:15,369 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-35/.semver/PR-35 00:43:15 0.0.0 [Pipeline] } 00:43:15 $ docker exec --env ******** --env ******** fc29560d35e3ba40acf5d56d8819cefa4f173c45993865a1421197b8d6e0911b ssh-agent -k 00:43:15 unset SSH_AUTH_SOCK; 00:43:15 unset SSH_AGENT_PID; 00:43:15 echo Agent pid 78 killed; 00:43:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:16 + git semver [Pipeline] } 00:43:16 $ docker stop --time=1 fc29560d35e3ba40acf5d56d8819cefa4f173c45993865a1421197b8d6e0911b 00:43:18 $ docker rm -f --volumes fc29560d35e3ba40acf5d56d8819cefa4f173c45993865a1421197b8d6e0911b [Pipeline] // withDockerContainer [Pipeline] sh 00:43:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:18 Stashed 1 file(s) [Pipeline] echo 00:43:18 [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 00:43:19 provisioning config files... 00:43:19 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-35@tmp/config9032689835566010322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:19 ---> docker-login.sh 00:43:19 nexus3.edgexfoundry.org:10001 00:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:19 Configure a credential helper to remove this warning. See 00:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:19 00:43:19 Login Succeeded 00:43:19 nexus3.edgexfoundry.org:10002 00:43:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:19 Configure a credential helper to remove this warning. See 00:43:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:19 00:43:19 Login Succeeded 00:43:19 nexus3.edgexfoundry.org:10003 00:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:20 Configure a credential helper to remove this warning. See 00:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:20 00:43:20 Login Succeeded 00:43:20 nexus3.edgexfoundry.org:10004 00:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:20 Configure a credential helper to remove this warning. See 00:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:20 00:43:20 Login Succeeded 00:43:20 docker.io 00:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:20 Configure a credential helper to remove this warning. See 00:43:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:20 00:43:20 Login Succeeded 00:43:20 ---> docker-login.sh ends [Pipeline] } 00:43:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:20 ========================================================= 00:43:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:43:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:21 + 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 . 00:43:21 Sending build context to Docker daemon 305.7kB 00:43:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:43:21 Step 2/12 : FROM ${BASE} AS builder 00:43:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:43:21 f56be85fc22e: Pulling fs layer 00:43:21 85791d961cd3: Pulling fs layer 00:43:21 d694b5ae8c79: Pulling fs layer 00:43:21 9f32a84ed3da: Pulling fs layer 00:43:21 4d19c01a9841: Pulling fs layer 00:43:21 9325e15d5711: Pulling fs layer 00:43:21 556b6ee489ea: Pulling fs layer 00:43:21 c5a4b2cf53e6: Pulling fs layer 00:43:21 4d19c01a9841: Waiting 00:43:21 9325e15d5711: Waiting 00:43:21 556b6ee489ea: Waiting 00:43:21 c5a4b2cf53e6: Waiting 00:43:21 9f32a84ed3da: Waiting 00:43:21 85791d961cd3: Verifying Checksum 00:43:21 85791d961cd3: Download complete 00:43:21 9f32a84ed3da: Verifying Checksum 00:43:21 9f32a84ed3da: Download complete 00:43:21 4d19c01a9841: Verifying Checksum 00:43:21 4d19c01a9841: Download complete 00:43:21 f56be85fc22e: Verifying Checksum 00:43:21 f56be85fc22e: Download complete 00:43:21 9325e15d5711: Verifying Checksum 00:43:21 9325e15d5711: Download complete 00:43:22 f56be85fc22e: Pull complete 00:43:22 85791d961cd3: Pull complete 00:43:22 d694b5ae8c79: Verifying Checksum 00:43:22 d694b5ae8c79: Download complete 00:43:22 c5a4b2cf53e6: Download complete 00:43:22 556b6ee489ea: Verifying Checksum 00:43:22 556b6ee489ea: Download complete 00:43:26 d694b5ae8c79: Pull complete 00:43:26 9f32a84ed3da: Pull complete 00:43:26 4d19c01a9841: Pull complete 00:43:26 9325e15d5711: Pull complete 00:43:28 556b6ee489ea: Pull complete 00:43:29 c5a4b2cf53e6: Pull complete 00:43:29 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:43:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:43:29 ---> c4be618373d6 00:43:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:43:34 Still waiting to schedule task 00:43:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:43:36 ---> Running in 8d2e93c5259e 00:43:36 Removing intermediate container 8d2e93c5259e 00:43:36 ---> 690cd79703f2 00:43:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:43:36 ---> Running in ce32fd5844b1 00:43:36 Removing intermediate container ce32fd5844b1 00:43:36 ---> 5fdee07c9f2b 00:43:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:43:36 ---> Running in 2fe08becd93a 00:43:36 Removing intermediate container 2fe08becd93a 00:43:36 ---> 9a4c9fee203b 00:43:36 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:36 ---> Running in c03ef122ba14 00:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:43:36 OK: 265 MiB in 53 packages 00:43:37 Removing intermediate container c03ef122ba14 00:43:37 ---> bf70464630fb 00:43:37 Step 7/12 : WORKDIR /app 00:43:37 ---> Running in 291951a9abe8 00:43:37 Removing intermediate container 291951a9abe8 00:43:37 ---> 54b5968f431b 00:43:37 Step 8/12 : COPY go.mod vendor* ./ 00:43:37 ---> 5328572bdb6e 00:43:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:37 ---> Running in e682800bc10e 00:44:23 Removing intermediate container e682800bc10e 00:44:23 ---> 6d857b716ec3 00:44:23 Step 10/12 : COPY . . 00:44:23 ---> 96fc8bcde0d0 00:44:23 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:44:23 ---> Running in 8ce7fce9d803 00:44:23 Removing intermediate container 8ce7fce9d803 00:44:23 ---> c1399acc94c5 00:44:23 Step 12/12 : RUN $MAKE 00:44:23 ---> Running in c9e1896beb41 00:44:23 noop 00:44:23 Removing intermediate container c9e1896beb41 00:44:23 ---> a4d5aa9f3894 00:44:23 Successfully built a4d5aa9f3894 00:44:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:24 + docker inspect -f . ci-base-image-x86_64 00:44:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:24 prd-ubuntu20.04-docker-8c-8g-806 does not seem to be running inside a container 00:44:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-35 -v /w/workspace/xfoundry_app-record-replay_PR-35:/w/workspace/xfoundry_app-record-replay_PR-35:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-35@tmp:/w/workspace/xfoundry_app-record-replay_PR-35@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 ******** ci-base-image-x86_64 cat 00:44:24 $ docker top 5637eef643544f68c20ce4c1145d55bbf6f197b6e0d5fe1fcbebc742dcd3decf -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:25 + go version 00:44:25 go version go1.20.2 linux/amd64 [Pipeline] } 00:44:25 $ docker stop --time=1 5637eef643544f68c20ce4c1145d55bbf6f197b6e0d5fe1fcbebc742dcd3decf 00:44:26 $ docker rm -f --volumes 5637eef643544f68c20ce4c1145d55bbf6f197b6e0d5fe1fcbebc742dcd3decf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:27 + docker inspect -f . ci-base-image-x86_64 00:44:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:27 prd-ubuntu20.04-docker-8c-8g-806 does not seem to be running inside a container 00:44:27 $ 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-35 -v /w/workspace/xfoundry_app-record-replay_PR-35:/w/workspace/xfoundry_app-record-replay_PR-35:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-35@tmp:/w/workspace/xfoundry_app-record-replay_PR-35@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 ******** ci-base-image-x86_64 cat 00:44:28 $ docker top 9f256e23316c39beedd3685f2343a8f28fb41e4e3d098cc214607ba767c2fd41 -eo pid,comm [Pipeline] { [Pipeline] sh 00:44:28 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-35 [Pipeline] fileExists [Pipeline] sh 00:44:28 + make test 00:44:28 go test -race -coverprofile=coverage.out ./... 00:44:46 ? github.com/edgexfoundry/app-record-replay [no test files] 00:44:47 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 00:44:47 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 00:44:47 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 00:44:47 ok github.com/edgexfoundry/app-record-replay/internal/app 0.060s coverage: 76.9% of statements 00:44:47 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.070s coverage: 87.3% of statements 00:44:47 ok github.com/edgexfoundry/app-record-replay/internal/data 0.051s coverage: 27.3% of statements 00:45:05 go vet ./... 00:45:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:45:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:45:09 ./bin/test-attribution-txt.sh [Pipeline] echo 00:45:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:45:09 $ docker stop --time=1 9f256e23316c39beedd3685f2343a8f28fb41e4e3d098cc214607ba767c2fd41 00:45:15 $ docker rm -f --volumes 9f256e23316c39beedd3685f2343a8f28fb41e4e3d098cc214607ba767c2fd41 [Pipeline] // withDockerContainer [Pipeline] sh 00:45:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:45:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:45:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:45:17 + ls -al . 00:45:17 total 152 00:45:17 drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 00:44 . 00:45:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 00:42 .. 00:45:17 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 00:42 .dockerignore 00:45:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 00:43 .git 00:45:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 00:42 .github 00:45:17 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 00:42 .gitignore 00:45:17 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 00:42 .golangci.yml 00:45:17 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 00:43 .semver 00:45:17 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 00:42 Attribution.txt 00:45:17 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 00:42 CHANGELOG.md 00:45:17 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 00:42 Dockerfile 00:45:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 00:42 GOVERNANCE.md 00:45:17 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 00:42 Jenkinsfile 00:45:17 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 00:42 LICENSE 00:45:17 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 00:42 Makefile 00:45:17 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 00:42 OWNERS.md 00:45:17 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 00:42 README.md 00:45:17 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 00:43 VERSION 00:45:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 00:42 bin 00:45:17 -rw-r--r-- 1 jenkins jenkins 5410 Jul 11 00:44 coverage.out 00:45:17 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 11 00:42 go.mod 00:45:17 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 11 00:42 go.sum 00:45:17 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 00:42 internal 00:45:17 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 00:42 main.go 00:45:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 00:42 pkg 00:45:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 00:42 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:17 + 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=f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 --label arch=amd64 --label version=0.0.0 . 00:45:17 Sending build context to Docker daemon 311.8kB 00:45:17 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:45:17 Step 2/26 : FROM ${BASE} AS builder 00:45:17 ---> a4d5aa9f3894 00:45:17 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:45:17 ---> Running in 5982afc4e44a 00:45:17 Removing intermediate container 5982afc4e44a 00:45:17 ---> 50f8f2900d9c 00:45:17 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:45:17 ---> Running in ffab55630163 00:45:17 Removing intermediate container ffab55630163 00:45:17 ---> db7dfb1e231d 00:45:17 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:45:17 ---> Running in 94b92aa14a46 00:45:17 Removing intermediate container 94b92aa14a46 00:45:17 ---> e57b7869c549 00:45:17 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:45:17 ---> Running in da28c0608052 00:45:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:45:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:45:18 OK: 265 MiB in 53 packages 00:45:18 Removing intermediate container da28c0608052 00:45:18 ---> f90f6c91ca08 00:45:18 Step 7/26 : WORKDIR /app 00:45:18 ---> Running in c0adac7353bb 00:45:18 Removing intermediate container c0adac7353bb 00:45:18 ---> 4ad1b1d956cf 00:45:18 Step 8/26 : COPY go.mod vendor* ./ 00:45:18 ---> 1a082cce7b67 00:45:18 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:45:18 ---> Running in b534021b185c 00:45:19 Removing intermediate container b534021b185c 00:45:19 ---> 8e9dd12e91fd 00:45:19 Step 10/26 : COPY . . 00:45:19 ---> 26f0fed8b4ad 00:45:19 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:45:19 ---> Running in 72ad9316d92f 00:45:19 Removing intermediate container 72ad9316d92f 00:45:19 ---> 2a95df981f46 00:45:19 Step 12/26 : RUN $MAKE 00:45:19 ---> Running in dd9c253319f3 00:45:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 00:45:42 Removing intermediate container dd9c253319f3 00:45:42 ---> 834af46a0edd 00:45:42 Step 13/26 : FROM alpine:3.17 00:45:42 3.17: Pulling from library/alpine 00:45:42 4db1b89c0bd1: Pulling fs layer 00:45:42 4db1b89c0bd1: Verifying Checksum 00:45:42 4db1b89c0bd1: Download complete 00:45:42 4db1b89c0bd1: Pull complete 00:45:42 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:45:42 Status: Downloaded newer image for alpine:3.17 00:45:42 ---> 1f73a9d63274 00:45:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:45:42 ---> Running in 5549a068fec5 00:45:42 Removing intermediate container 5549a068fec5 00:45:42 ---> e40fb9f946c3 00:45:42 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 00:45:42 ---> Running in 835333f2caac 00:45:42 Removing intermediate container 835333f2caac 00:45:42 ---> bc73ec51b2a7 00:45:42 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:45:42 ---> Running in 949f0e237593 00:45:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:45:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:45:42 (1/2) Installing ca-certificates (20230506-r0) 00:45:42 (2/2) Installing dumb-init (1.2.5-r2) 00:45:42 Executing busybox-1.35.0-r29.trigger 00:45:42 Executing ca-certificates-20230506-r0.trigger 00:45:42 OK: 8 MiB in 17 packages 00:45:42 Removing intermediate container 949f0e237593 00:45:42 ---> aaeb51da76f8 00:45:42 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:45:42 ---> 874cbd00eb77 00:45:42 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:45:42 ---> fa078c31d5a9 00:45:42 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:45:42 ---> b3f8a9e8ba41 00:45:42 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 00:45:42 ---> 571026a37569 00:45:42 Step 21/26 : EXPOSE 59712 00:45:42 ---> Running in 43027251f164 00:45:42 Removing intermediate container 43027251f164 00:45:42 ---> 1799c09e6ee6 00:45:42 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 00:45:42 ---> Running in 5f4676809013 00:45:42 Removing intermediate container 5f4676809013 00:45:42 ---> 1e5d7392f6b9 00:45:42 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:45:42 ---> Running in 9dcb73125787 00:45:42 Removing intermediate container 9dcb73125787 00:45:42 ---> 87df5ab71682 00:45:42 Step 24/26 : LABEL arch=amd64 00:45:42 ---> Running in 65564121b997 00:45:42 Removing intermediate container 65564121b997 00:45:42 ---> 235cc81d9e94 00:45:42 Step 25/26 : LABEL git_sha=f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 00:45:42 ---> Running in 5d62d6e4da71 00:45:42 Removing intermediate container 5d62d6e4da71 00:45:42 ---> 9f230b9cc6df 00:45:42 Step 26/26 : LABEL version=0.0.0 00:45:43 ---> Running in 10b5d09332c8 00:45:43 Removing intermediate container 10b5d09332c8 00:45:43 ---> b96716680649 00:45:43 [Warning] One or more build-args [ARCH] were not consumed 00:45:43 Successfully built b96716680649 00:45:43 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 00:45:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:44 00:45:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:44 latest: Pulling from edgex-lftools-log-publisher 00:45:44 5eb5b503b376: Pulling fs layer 00:45:44 5c69ac0246d0: Pulling fs layer 00:45:44 ec43610c2a17: Pulling fs layer 00:45:44 3a2ae6a8a46f: Pulling fs layer 00:45:44 33b1e0a273af: Pulling fs layer 00:45:44 5d3b04190fa2: Pulling fs layer 00:45:44 2f39f015ded8: Pulling fs layer 00:45:44 33b1e0a273af: Waiting 00:45:44 5d3b04190fa2: Waiting 00:45:44 2f39f015ded8: Waiting 00:45:44 3a2ae6a8a46f: Waiting 00:45:44 5c69ac0246d0: Verifying Checksum 00:45:44 5c69ac0246d0: Download complete 00:45:44 3a2ae6a8a46f: Download complete 00:45:44 33b1e0a273af: Verifying Checksum 00:45:44 33b1e0a273af: Download complete 00:45:44 5d3b04190fa2: Verifying Checksum 00:45:44 5d3b04190fa2: Download complete 00:45:44 ec43610c2a17: Verifying Checksum 00:45:44 ec43610c2a17: Download complete 00:45:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-808 in /w/workspace/xfoundry_app-record-replay_PR-35 [Pipeline] { [Pipeline] ws 00:45:44 Running in /w/workspace/app-record-replay/1 [Pipeline] { 00:45:44 5eb5b503b376: Verifying Checksum 00:45:44 5eb5b503b376: Download complete [Pipeline] checkout 00:45:44 Selected Git installation does not exist. Using Default 00:45:44 The recommended git tool is: NONE 00:45:45 2f39f015ded8: Download complete 00:45:45 5eb5b503b376: Pull complete 00:45:46 5c69ac0246d0: Pull complete 00:45:46 ec43610c2a17: Pull complete 00:45:46 3a2ae6a8a46f: Pull complete 00:45:46 33b1e0a273af: Pull complete 00:45:46 5d3b04190fa2: Pull complete 00:45:50 using credential edgex-jenkins-ssh 00:45:50 Cloning the remote Git repository 00:45:50 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 00:45:50 > git init /w/workspace/app-record-replay/1 # timeout=10 00:45:50 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 00:45:50 > git --version # timeout=10 00:45:50 > git --version # 'git version 2.25.1' 00:45:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:51 2f39f015ded8: Pull complete 00:45:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:45:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:45:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:51 prd-ubuntu20.04-docker-8c-8g-806 does not seem to be running inside a container 00:45:51 $ 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-35 -v /w/workspace/xfoundry_app-record-replay_PR-35:/w/workspace/xfoundry_app-record-replay_PR-35:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-35@tmp:/w/workspace/xfoundry_app-record-replay_PR-35@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 00:45:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:51 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 00:45:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:53 Merging remotes/origin/main commit 2c282af5260d380b24eaba4cc371f3a0b43fd8c9 into PR head commit f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 00:45:53 Merge succeeded, producing f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 00:45:53 Checking out Revision f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 (PR-35) 00:45:52 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 00:45:52 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 00:45:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:45:53 > git config core.sparsecheckout # timeout=10 00:45:53 > git checkout -f f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 # timeout=10 00:45:53 > git remote # timeout=10 00:45:53 > git config --get remote.origin.url # timeout=10 00:45:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:53 > git merge 2c282af5260d380b24eaba4cc371f3a0b43fd8c9 # timeout=10 00:45:53 > git rev-parse HEAD^{commit} # timeout=10 00:45:53 > git config core.sparsecheckout # timeout=10 00:45:53 > git checkout -f f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 # timeout=10 00:45:56 $ docker top c39070d045e23c2130dae2c12a3b33415d9389bc14a998f8528d1b490b944d1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:56 ---> job-cost.sh 00:45:56 lf-activate-venv: SKIPPING 00:45:56 INFO: No Stack... 00:45:57 INFO: Retrieving Pricing Info for: v3-standard-8 00:45:57 Commit message: "feat: Implemeny Cancel Recording Endpoint" 00:45:57 > git --version # timeout=10 00:45:57 > git --version # 'git version 2.25.1' 00:45:57 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:45:57 INFO: Archiving Costs [Pipeline] sh 00:45:57 + cat /w/workspace/xfoundry_app-record-replay_PR-35/archives/cost.csv 00:45:57 + cut -d, -f6 [Pipeline] lock 00:45:57 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-35-1-stack-cost] 00:45:57 Resource [jenkins-edgexfoundry-app-record-replay-PR-35-1-stack-cost] did not exist. Created. 00:45:57 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-35-1-stack-cost] [Pipeline] { [Pipeline] unstash 00:45:57 00:45:57 GitHub has been notified of this commit’s build result 00:45:57 [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:58 + echo total: 0.2199999988079071 [Pipeline] stash 00:45:58 Stashed 1 file(s) [Pipeline] } 00:45:58 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-35-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:45:58 $ docker stop --time=1 c39070d045e23c2130dae2c12a3b33415d9389bc14a998f8528d1b490b944d1e 00:45:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:45:58 % Total % Received % Xferd Average Speed Time Time Time Current 00:45:58 Dload Upload Total Spent Left Speed 00:45:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10471 0 0 64239 0 --:--:-- --:--:-- --:--:-- 63847 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 76813 00:45:59 $ docker rm -f --volumes c39070d045e23c2130dae2c12a3b33415d9389bc14a998f8528d1b490b944d1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:46:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:46:00 + sudo tee /etc/docker/daemon.new 00:46:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:46:00 { 00:46:00 "registry-mirrors": [ 00:46:00 "https://nexus3.edgexfoundry.org:10001" 00:46:00 ], 00:46:00 "bip": "10.250.0.254/24", 00:46:00 "hosts": [ 00:46:00 "tcp://0.0.0.0:5555", 00:46:00 "unix:///var/run/docker.sock" 00:46:00 ], 00:46:00 "mtu": 1458, 00:46:00 "selinux-enabled": true, 00:46:00 "seccomp-profile": "/etc/docker/seccomp.json" 00:46:00 } [Pipeline] sh 00:46:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:46:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:19 provisioning config files... 00:46:19 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config304554799431103071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:20 ---> docker-login.sh 00:46:20 nexus3.edgexfoundry.org:10001 00:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:20 Configure a credential helper to remove this warning. See 00:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:20 00:46:20 Login Succeeded 00:46:20 nexus3.edgexfoundry.org:10002 00:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:21 Configure a credential helper to remove this warning. See 00:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:21 00:46:21 Login Succeeded 00:46:21 nexus3.edgexfoundry.org:10003 00:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:21 Configure a credential helper to remove this warning. See 00:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:21 00:46:21 Login Succeeded 00:46:21 nexus3.edgexfoundry.org:10004 00:46:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:21 Configure a credential helper to remove this warning. See 00:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:21 00:46:21 Login Succeeded 00:46:21 docker.io 00:46:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:22 Configure a credential helper to remove this warning. See 00:46:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:22 00:46:22 Login Succeeded 00:46:22 ---> docker-login.sh ends [Pipeline] } 00:46:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:22 ========================================================= 00:46:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:46:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:23 + 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 . 00:46:23 Sending build context to Docker daemon 141.3kB 00:46:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:46:23 Step 2/12 : FROM ${BASE} AS builder 00:46:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:46:23 c41833b44d91: Pulling fs layer 00:46:23 ed15518f5707: Pulling fs layer 00:46:23 feae8fd75edb: Pulling fs layer 00:46:23 242c74f7c9fa: Pulling fs layer 00:46:23 3cdef696dda3: Pulling fs layer 00:46:23 2ced38df9373: Pulling fs layer 00:46:23 58f1dce35555: Pulling fs layer 00:46:23 3cdef696dda3: Waiting 00:46:23 242c74f7c9fa: Waiting 00:46:23 2ced38df9373: Waiting 00:46:23 ed15518f5707: Verifying Checksum 00:46:23 ed15518f5707: Download complete 00:46:23 242c74f7c9fa: Verifying Checksum 00:46:23 242c74f7c9fa: Download complete 00:46:23 3cdef696dda3: Verifying Checksum 00:46:23 3cdef696dda3: Download complete 00:46:23 c41833b44d91: Download complete 00:46:24 c41833b44d91: Pull complete 00:46:25 58f1dce35555: Verifying Checksum 00:46:25 58f1dce35555: Download complete 00:46:25 ed15518f5707: Pull complete 00:46:26 feae8fd75edb: Verifying Checksum 00:46:26 feae8fd75edb: Download complete 00:46:26 2ced38df9373: Verifying Checksum 00:46:26 2ced38df9373: Download complete 00:46:39 feae8fd75edb: Pull complete 00:46:39 242c74f7c9fa: Pull complete 00:46:39 3cdef696dda3: Pull complete 00:46:47 2ced38df9373: Pull complete 00:46:49 58f1dce35555: Pull complete 00:46:49 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:46:49 ---> fadd8f120f05 00:46:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:46:51 ---> Running in 0559d2f76119 00:46:51 Removing intermediate container 0559d2f76119 00:46:51 ---> 4e78c2fbc302 00:46:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:46:51 ---> Running in 2736cef461aa 00:46:51 Removing intermediate container 2736cef461aa 00:46:51 ---> 823b71ab2ea9 00:46:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:46:51 ---> Running in e72627d71f94 00:46:52 Removing intermediate container e72627d71f94 00:46:52 ---> ad7c7465eef8 00:46:52 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:52 ---> Running in c8d9637ddc1c 00:46:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:46:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:46:54 OK: 263 MiB in 53 packages 00:46:55 Removing intermediate container c8d9637ddc1c 00:46:55 ---> add5c5761a59 00:46:55 Step 7/12 : WORKDIR /app 00:46:55 ---> Running in 09656410d806 00:46:56 Removing intermediate container 09656410d806 00:46:56 ---> a4233a13d786 00:46:56 Step 8/12 : COPY go.mod vendor* ./ 00:46:56 ---> d4391e177743 00:46:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:56 ---> Running in fd9d2375caa2 00:48:04 Removing intermediate container fd9d2375caa2 00:48:04 ---> 9149b6258e73 00:48:04 Step 10/12 : COPY . . 00:48:04 ---> 165f7ce9162b 00:48:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:48:04 ---> Running in f70d441b6b72 00:48:04 Removing intermediate container f70d441b6b72 00:48:04 ---> f13cbff29eb4 00:48:04 Step 12/12 : RUN $MAKE 00:48:04 ---> Running in ab13ad71a412 00:48:04 noop 00:48:04 Removing intermediate container ab13ad71a412 00:48:04 ---> e9a788668096 00:48:04 Successfully built e9a788668096 00:48:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:04 + docker inspect -f . ci-base-image-arm64 00:48:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:05 prd-ubuntu20.04-docker-arm64-4c-16g-808 does not seem to be running inside a container 00:48:05 $ 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 00:48:06 $ docker top 127c7f03c3c2f432d6361a2c687329c7efafcf14f5522721d527a00767952461 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:07 + go version 00:48:07 go version go1.20.2 linux/arm64 [Pipeline] } 00:48:07 $ docker stop --time=1 127c7f03c3c2f432d6361a2c687329c7efafcf14f5522721d527a00767952461 00:48:09 $ docker rm -f --volumes 127c7f03c3c2f432d6361a2c687329c7efafcf14f5522721d527a00767952461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:09 + docker inspect -f . ci-base-image-arm64 00:48:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:10 prd-ubuntu20.04-docker-arm64-4c-16g-808 does not seem to be running inside a container 00:48:10 $ 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 00:48:11 $ docker top 49713b19bfd5748add04ca27f99191dea36c28c000629ad8d9906e386854a282 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:12 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 00:48:13 + make test 00:48:13 go test -race -coverprofile=coverage.out ./... 00:51:05 ? github.com/edgexfoundry/app-record-replay [no test files] 00:51:06 ok github.com/edgexfoundry/app-record-replay/internal/app 0.296s coverage: 76.9% of statements 00:51:07 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.349s coverage: 87.3% of statements 00:51:10 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 00:51:10 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 00:51:10 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 00:51:11 ok github.com/edgexfoundry/app-record-replay/internal/data 0.225s coverage: 27.3% of statements 00:51:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:51:12 go vet ./... 00:53:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:53:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:53:33 ./bin/test-attribution-txt.sh [Pipeline] echo 00:53:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:53:34 $ docker stop --time=1 49713b19bfd5748add04ca27f99191dea36c28c000629ad8d9906e386854a282 00:53:35 $ docker rm -f --volumes 49713b19bfd5748add04ca27f99191dea36c28c000629ad8d9906e386854a282 [Pipeline] // withDockerContainer [Pipeline] sh 00:53:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:53:37 Warning: overwriting stash ‘coverage-report’ 00:53:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:53:38 + ls -al . 00:53:38 total 148 00:53:38 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 00:48 . 00:53:38 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 00:45 .. 00:53:38 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 00:45 .dockerignore 00:53:38 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 00:45 .git 00:53:38 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 00:45 .github 00:53:38 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 00:45 .gitignore 00:53:38 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 00:45 .golangci.yml 00:53:38 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 00:45 Attribution.txt 00:53:38 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 00:45 CHANGELOG.md 00:53:38 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 00:45 Dockerfile 00:53:38 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 00:45 GOVERNANCE.md 00:53:38 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 00:45 Jenkinsfile 00:53:38 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 00:45 LICENSE 00:53:38 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 00:45 Makefile 00:53:38 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 00:45 OWNERS.md 00:53:38 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 00:45 README.md 00:53:38 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 00:43 VERSION 00:53:38 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 00:45 bin 00:53:38 -rw-r--r-- 1 jenkins jenkins 5410 Jul 11 00:51 coverage.out 00:53:38 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 11 00:45 go.mod 00:53:38 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 11 00:45 go.sum 00:53:38 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 00:45 internal 00:53:38 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 00:45 main.go 00:53:38 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 00:45 pkg 00:53:38 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 00:45 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:39 + 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=f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 --label arch=arm64 --label version=0.0.0 . 00:53:39 Sending build context to Docker daemon 147.5kB 00:53:39 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:53:39 Step 2/26 : FROM ${BASE} AS builder 00:53:39 ---> e9a788668096 00:53:39 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:53:40 ---> Running in 6441c217a416 00:53:40 Removing intermediate container 6441c217a416 00:53:40 ---> 2f5d2e389be8 00:53:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:53:40 ---> Running in 2924f9b751ee 00:53:41 Removing intermediate container 2924f9b751ee 00:53:41 ---> 295c1ca1e9d5 00:53:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:53:41 ---> Running in f4f7e45c8101 00:53:41 Removing intermediate container f4f7e45c8101 00:53:41 ---> 72f524686db0 00:53:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:53:41 ---> Running in 135aebabaf03 00:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:53:44 OK: 263 MiB in 53 packages 00:53:45 Removing intermediate container 135aebabaf03 00:53:45 ---> d6cc2f03f84c 00:53:45 Step 7/26 : WORKDIR /app 00:53:45 ---> Running in 3b977374dfaa 00:53:45 Removing intermediate container 3b977374dfaa 00:53:45 ---> 179c035485ed 00:53:45 Step 8/26 : COPY go.mod vendor* ./ 00:53:46 ---> 7ac04f7c2623 00:53:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:46 ---> Running in 2899a650f009 00:53:48 Removing intermediate container 2899a650f009 00:53:48 ---> 6dd1585e0151 00:53:48 Step 10/26 : COPY . . 00:53:48 ---> ce9128104614 00:53:48 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:53:48 ---> Running in 176e8fc6d4f5 00:53:49 Removing intermediate container 176e8fc6d4f5 00:53:49 ---> 94e5bd1d14ca 00:53:49 Step 12/26 : RUN $MAKE 00:53:49 ---> Running in 9f25bb517abe 00:53:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 00:55:58 Removing intermediate container 9f25bb517abe 00:55:58 ---> 5abc259bafce 00:55:58 Step 13/26 : FROM alpine:3.17 00:55:58 3.17: Pulling from library/alpine 00:55:58 edb6bdbacee9: Pulling fs layer 00:55:58 edb6bdbacee9: Verifying Checksum 00:55:58 edb6bdbacee9: Download complete 00:55:58 edb6bdbacee9: Pull complete 00:55:58 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:55:58 Status: Downloaded newer image for alpine:3.17 00:55:58 ---> 779605e5fbc0 00:55:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:55:58 ---> Running in 45e7d007c224 00:55:58 Removing intermediate container 45e7d007c224 00:55:58 ---> a999953c3aed 00:55:58 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 00:55:58 ---> Running in 38029bb8bdcd 00:55:58 Removing intermediate container 38029bb8bdcd 00:55:58 ---> 033a23ea2664 00:55:58 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:55:58 ---> Running in 33622b2e0c44 00:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:55:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:56:00 (1/2) Installing ca-certificates (20230506-r0) 00:56:00 (2/2) Installing dumb-init (1.2.5-r2) 00:56:00 Executing busybox-1.35.0-r29.trigger 00:56:00 Executing ca-certificates-20230506-r0.trigger 00:56:00 OK: 8 MiB in 17 packages 00:56:02 Removing intermediate container 33622b2e0c44 00:56:02 ---> 21a2a4453acf 00:56:02 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:56:02 ---> 4928074d54b0 00:56:02 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:56:03 ---> 807ef4b04c06 00:56:03 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:56:03 ---> f5ebd9d53e60 00:56:03 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 00:56:05 ---> fed786f4a375 00:56:05 Step 21/26 : EXPOSE 59712 00:56:05 ---> Running in 18e8cfdc2017 00:56:05 Removing intermediate container 18e8cfdc2017 00:56:05 ---> 3b3be3ba4019 00:56:05 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 00:56:05 ---> Running in bfebf0c5e9b5 00:56:05 Removing intermediate container bfebf0c5e9b5 00:56:05 ---> 4dfba48a86bc 00:56:05 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:56:05 ---> Running in 384d23c08e97 00:56:06 Removing intermediate container 384d23c08e97 00:56:06 ---> 8d879381b241 00:56:06 Step 24/26 : LABEL arch=arm64 00:56:06 ---> Running in 38632827f45d 00:56:06 Removing intermediate container 38632827f45d 00:56:06 ---> c813b550b594 00:56:06 Step 25/26 : LABEL git_sha=f408ad1e61c71e678601c8b6ece87aa2ccc74bc8 00:56:06 ---> Running in 20492541bef2 00:56:07 Removing intermediate container 20492541bef2 00:56:07 ---> 4b9f59fa0136 00:56:07 Step 26/26 : LABEL version=0.0.0 00:56:07 ---> Running in 3b9f91836f1b 00:56:09 Removing intermediate container 3b9f91836f1b 00:56:09 ---> 904a9439b67a 00:56:09 [Warning] One or more build-args [ARCH] were not consumed 00:56:09 Successfully built 904a9439b67a 00:56:09 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 00:56:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:09 00:56:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:10 arm64: Pulling from edgex-lftools-log-publisher 00:56:10 8998bd30e6a1: Pulling fs layer 00:56:10 04944245beec: Pulling fs layer 00:56:10 699f458cf7ca: Pulling fs layer 00:56:10 765212b225bb: Pulling fs layer 00:56:10 f23df028b6ca: Pulling fs layer 00:56:10 d65c8cfc05b1: Pulling fs layer 00:56:10 2437ff75d9bd: Pulling fs layer 00:56:10 f23df028b6ca: Waiting 00:56:10 765212b225bb: Waiting 00:56:10 d65c8cfc05b1: Waiting 00:56:10 2437ff75d9bd: Waiting 00:56:10 04944245beec: Verifying Checksum 00:56:10 04944245beec: Download complete 00:56:10 765212b225bb: Verifying Checksum 00:56:10 765212b225bb: Download complete 00:56:10 f23df028b6ca: Download complete 00:56:10 d65c8cfc05b1: Verifying Checksum 00:56:10 d65c8cfc05b1: Download complete 00:56:10 699f458cf7ca: Verifying Checksum 00:56:10 699f458cf7ca: Download complete 00:56:11 8998bd30e6a1: Download complete 00:56:13 2437ff75d9bd: Verifying Checksum 00:56:13 2437ff75d9bd: Download complete 00:56:14 8998bd30e6a1: Pull complete 00:56:15 04944245beec: Pull complete 00:56:16 699f458cf7ca: Pull complete 00:56:16 765212b225bb: Pull complete 00:56:17 f23df028b6ca: Pull complete 00:56:17 d65c8cfc05b1: Pull complete 00:56:33 2437ff75d9bd: Pull complete 00:56:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:33 prd-ubuntu20.04-docker-arm64-4c-16g-808 does not seem to be running inside a container 00:56:33 $ 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 00:56:36 $ docker top 87e2ff3049c11c2556a8cdfdeb82015db1b0939a699ec5bd788ac45b8ea1ee23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:56:37 ---> job-cost.sh 00:56:37 lf-activate-venv: SKIPPING 00:56:37 INFO: No Stack... 00:56:38 INFO: Retrieving Pricing Info for: v3-standard-4 00:56:38 INFO: Archiving Costs [Pipeline] sh 00:56:38 + + cat /w/workspace/app-record-replay/1/archives/cost.csv 00:56:38 cut -d, -f6 [Pipeline] lock 00:56:39 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-35-1-stack-cost] 00:56:39 Resource [jenkins-edgexfoundry-app-record-replay-PR-35-1-stack-cost] did not exist. Created. 00:56:39 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-35-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:56:39 /w/workspace/app-record-replay/1@tmp/durable-89139474/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:56:40 + echo total: 0.10999999940395355 [Pipeline] stash 00:56:40 Warning: overwriting stash ‘stack-cost’ 00:56:40 Stashed 1 file(s) [Pipeline] } 00:56:40 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-35-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:56:40 $ docker stop --time=1 87e2ff3049c11c2556a8cdfdeb82015db1b0939a699ec5bd788ac45b8ea1ee23 00:56:42 $ docker rm -f --volumes 87e2ff3049c11c2556a8cdfdeb82015db1b0939a699ec5bd788ac45b8ea1ee23 [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 00:56:43 provisioning config files... 00:56:43 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-35 #1 00:56:43 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-35@tmp/config6820283496785943615tmp [Pipeline] { [Pipeline] sh 00:56:43 + set +x 00:56:43 + curl -s https://codecov.io/bash 00:56:43 + bash -s -- 00:56:43 00:56:43 _____ _ 00:56:43 / ____| | | 00:56:43 | | ___ __| | ___ ___ _____ __ 00:56:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:56:43 | |___| (_) | (_| | __/ (_| (_) \ V / 00:56:43 \_____\___/ \__,_|\___|\___\___/ \_/ 00:56:43 Bash-1.0.6 00:56:43 00:56:43 00:56:43 ==> git version 2.25.1 found 00:56:43 ==> 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 00:56:43 Release-Date: 2020-01-08 00:56:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:56:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:56:43 ==> Jenkins CI detected. 00:56:43 current dir:  /w/workspace/xfoundry_app-record-replay_PR-35 00:56:43 project root: . 00:56:43 --> token set from env 00:56:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:56:43 ==> Running gcov in . (disable via -X gcov) 00:56:43 ==> Python coveragepy not found 00:56:43 ==> Searching for coverage reports in: 00:56:43 + . 00:56:43 -> Found 1 reports 00:56:43 ==> Detecting git/mercurial file structure 00:56:43 ==> Reading reports 00:56:43 + ./coverage.out bytes=5410 00:56:43 ==> Appending adjustments 00:56:43 https://docs.codecov.io/docs/fixing-reports 00:56:43 + Found adjustments 00:56:43 ==> Gzipping contents 00:56:43 4.0K /tmp/codecov.KVnQJ8.gz 00:56:43 ==> Uploading reports 00:56:43 url: https://codecov.io 00:56:43 query: branch=PR-35&commit=f408ad1e61c71e678601c8b6ece87aa2ccc74bc8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-35%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=35&job=&cmd_args= 00:56:43 -> Pinging Codecov 00:56:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-35&commit=f408ad1e61c71e678601c8b6ece87aa2ccc74bc8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-35%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=35&job=&cmd_args= 00:56:43 Invalid request parameters 00:56:43 400 [Pipeline] } 00:56:43 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 00:56:45 + [ -d /w/workspace/xfoundry_app-record-replay_PR-35/archives ] 00:56:45 + ls -al /w/workspace/xfoundry_app-record-replay_PR-35/archives 00:56:45 total 16 00:56:45 drwxr-xr-x 3 root root 4096 Jul 11 00:45 . 00:56:45 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 00:45 .. 00:56:45 drwxr-xr-x 2 root root 4096 Jul 11 00:45 cost 00:56:45 -rw-r--r-- 1 root root 88 Jul 11 00:45 cost.csv 00:56:45 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-35/archives 00:56:45 + ls -al /w/workspace/xfoundry_app-record-replay_PR-35/archives 00:56:45 total 16 00:56:45 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 00:45 . 00:56:45 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 00:45 .. 00:56:45 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 00:45 cost 00:56:45 -rw-r--r-- 1 jenkins jenkins 88 Jul 11 00:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:56:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:56:46 ---> package-listing.sh 00:56:46 ++ facter osfamily 00:56:46 ++ tr '[:upper:]' '[:lower:]' 00:56:47 + OS_FAMILY=debian 00:56:47 + workspace=/w/workspace/xfoundry_app-record-replay_PR-35 00:56:47 + START_PACKAGES=/tmp/packages_start.txt 00:56:47 + END_PACKAGES=/tmp/packages_end.txt 00:56:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:56:47 + PACKAGES=/tmp/packages_start.txt 00:56:47 + '[' /w/workspace/xfoundry_app-record-replay_PR-35 ']' 00:56:47 + PACKAGES=/tmp/packages_end.txt 00:56:47 + case "${OS_FAMILY}" in 00:56:47 + dpkg -l 00:56:47 + grep '^ii' 00:56:47 + '[' -f /tmp/packages_start.txt ']' 00:56:47 + '[' -f /tmp/packages_end.txt ']' 00:56:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:56:47 + '[' /w/workspace/xfoundry_app-record-replay_PR-35 ']' 00:56:47 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-35/archives/ 00:56:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-35/archives/ [Pipeline] echo 00:56:47 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-35/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:56:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:48 prd-ubuntu20.04-docker-8c-8g-806 does not seem to be running inside a container 00:56:48 $ 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-35/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-35 -v /w/workspace/xfoundry_app-record-replay_PR-35:/w/workspace/xfoundry_app-record-replay_PR-35:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-35@tmp:/w/workspace/xfoundry_app-record-replay_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:56:48 $ docker top c46a7a27cc63c3fa251ce858a54c730337cf0d85a2e67943aa03a2a6b3bd5960 -eo pid,comm [Pipeline] { [Pipeline] sh 00:56:48 + touch /tmp/pre-build-complete [Pipeline] sh 00:56:49 + mkdir -p /var/log/sysstat [Pipeline] sh 00:56:49 + ls /var/log/sa-host 00:56:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:56:49 provisioning config files... 00:56:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-35@tmp/config13398896853567853246tmp [Pipeline] { [Pipeline] echo 00:56:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:56:49 ---> create-netrc.sh [Pipeline] } 00:56:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:56:50 ---> python-tools-install.sh [Pipeline] echo 00:56:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:56:50 ---> sudo-logs.sh 00:56:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:56:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:56:51 ---> job-cost.sh 00:56:51 lf-activate-venv: SKIPPING 00:56:51 DEBUG: total: 0.2199999988079071 00:56:51 INFO: Retrieving Stack Cost... 00:56:51 INFO: Retrieving Pricing Info for: v3-standard-8 00:56:51 INFO: Archiving Costs [Pipeline] echo 00:56:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:56:52 ---> logs-deploy.sh 00:56:52 lf-activate-venv: SKIPPING 00:56:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-35/1 00:56:52 INFO: archiving workspace using pattern(s): 00:56:53 Archives upload complete. 00:56:53 INFO: archiving logs to Nexus