Pull request #41 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at a3df25cb06c99faf73416738ebe3ed6f58d891fa rather than 38d53f837ea6daf45784b1d307a20837cd6fa32b Obtained Jenkinsfile from a3df25cb06c99faf73416738ebe3ed6f58d891fa 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-ssh1992972828338405911.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-ssh6045318509205315827.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-41/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-41/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3828841265917102121.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-41/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8395090489753322982.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-ssh13075628201239321608.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-41/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-41/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11754501187174926680.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 ‘prd-ubuntu20.04-docker-8c-8g-993’ Running on prd-ubuntu20.04-docker-8c-8g-995 in /w/workspace/xfoundry_app-record-replay_PR-41 [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-41 # 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 a3df25cb06c99faf73416738ebe3ed6f58d891fa into PR head commit 38d53f837ea6daf45784b1d307a20837cd6fa32b Merge succeeded, producing 38d53f837ea6daf45784b1d307a20837cd6fa32b Checking out Revision 38d53f837ea6daf45784b1d307a20837cd6fa32b (PR-41) > 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/41/head:refs/remotes/origin/PR-41 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38d53f837ea6daf45784b1d307a20837cd6fa32b # 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 a3df25cb06c99faf73416738ebe3ed6f58d891fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 38d53f837ea6daf45784b1d307a20837cd6fa32b # timeout=10 Commit message: "feat: Implement replay status endpoint" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:29:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:29:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:29:39 ========================================================= 23:29:39 EdgeX Global Pipelines Version Info 23:29:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:29:40 ------------------- 23:29:40 stable info: 23:29:40 ------------------- 23:29:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:29:40 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:29:40 Message: update stable to v1.0.250 23:29:40 ------------------- 23:29:40 experimental info: 23:29:40 ------------------- 23:29:40 Commited By: **** collab-it+edgex@linuxfoundation.org 23:29:40 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:29:40 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:29:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-41 [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-41 [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-41 [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38d53f837ea6daf45784b1d307a20837cd6fa32b [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38d53f8 [Pipeline] echo 23:29:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:42 provisioning config files... 23:29:42 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-41@tmp/config1679476070999497986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:43 ---> docker-login.sh 23:29:43 nexus3.edgexfoundry.org:10001 23:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:43 Configure a credential helper to remove this warning. See 23:29:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:43 23:29:43 Login Succeeded 23:29:43 nexus3.edgexfoundry.org:10002 23:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:43 Configure a credential helper to remove this warning. See 23:29:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:43 23:29:43 Login Succeeded 23:29:43 nexus3.edgexfoundry.org:10003 23:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:43 Configure a credential helper to remove this warning. See 23:29:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:43 23:29:43 Login Succeeded 23:29:43 nexus3.edgexfoundry.org:10004 23:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:43 Configure a credential helper to remove this warning. See 23:29:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:43 23:29:43 Login Succeeded 23:29:43 docker.io 23:29:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:44 Configure a credential helper to remove this warning. See 23:29:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:44 23:29:44 Login Succeeded 23:29:44 ---> docker-login.sh ends [Pipeline] } 23:29:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:29:44 + git rev-list -1 --merges 38d53f837ea6daf45784b1d307a20837cd6fa32b~1..38d53f837ea6daf45784b1d307a20837cd6fa32b [Pipeline] echo 23:29:44 -----------> git rev-list -1 --merges 38d53f837ea6daf45784b1d307a20837cd6fa32b~1..38d53f837ea6daf45784b1d307a20837cd6fa32b 38d53f837ea6daf45784b1d307a20837cd6fa32b [false] [Pipeline] sh 23:29:45 + git log --format=format:%s -1 38d53f837ea6daf45784b1d307a20837cd6fa32b [Pipeline] echo 23:29:45 ========================================================= 23:29:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:29:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:29:45 + git log --format=format:%s -1 38d53f837ea6daf45784b1d307a20837cd6fa32b [Pipeline] echo 23:29:45 [semverPrep] GIT_COMMIT: 38d53f837ea6daf45784b1d307a20837cd6fa32b, Commit Message: feat: Implement replay status endpoint [Pipeline] echo 23:29:45 [semverPrep] This is not a build commit. [Pipeline] sh 23:29:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:29:46 + grep -v github /etc/ssh/ssh_known_hosts 23:29:46 + [ -e /tmp/ssh_known_hosts ] 23:29:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:29:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:29:46 + sudo tee -a /etc/ssh/ssh_known_hosts 23:29:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:29:46 23:29:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:29:46 0.1.4: Pulling from edgex-devops/py-git-semver 23:29:46 b85a868b505f: Pulling fs layer 23:29:46 e2be974225ed: Pulling fs layer 23:29:46 339a4e72a1f5: Pulling fs layer 23:29:46 988bab9f4d93: Pulling fs layer 23:29:46 1469e6f7b9e6: Pulling fs layer 23:29:46 eaf3925da568: Pulling fs layer 23:29:46 bab4dde63d76: Pulling fs layer 23:29:46 bde34c3a00c8: Pulling fs layer 23:29:46 b352a97aabf1: Pulling fs layer 23:29:46 4872d77fe225: Pulling fs layer 23:29:46 5851b861e8e6: Pulling fs layer 23:29:46 988bab9f4d93: Waiting 23:29:46 b352a97aabf1: Waiting 23:29:46 bab4dde63d76: Waiting 23:29:46 1469e6f7b9e6: Waiting 23:29:46 bde34c3a00c8: Waiting 23:29:46 eaf3925da568: Waiting 23:29:46 4872d77fe225: Waiting 23:29:46 5851b861e8e6: Waiting 23:29:46 e2be974225ed: Download complete 23:29:46 988bab9f4d93: Verifying Checksum 23:29:46 988bab9f4d93: Download complete 23:29:46 1469e6f7b9e6: Verifying Checksum 23:29:46 1469e6f7b9e6: Download complete 23:29:46 eaf3925da568: Verifying Checksum 23:29:46 eaf3925da568: Download complete 23:29:47 339a4e72a1f5: Verifying Checksum 23:29:47 339a4e72a1f5: Download complete 23:29:47 bde34c3a00c8: Download complete 23:29:47 b352a97aabf1: Download complete 23:29:47 4872d77fe225: Verifying Checksum 23:29:47 4872d77fe225: Download complete 23:29:47 5851b861e8e6: Verifying Checksum 23:29:47 5851b861e8e6: Download complete 23:29:47 b85a868b505f: Download complete 23:29:47 bab4dde63d76: Verifying Checksum 23:29:47 bab4dde63d76: Download complete 23:29:48 b85a868b505f: Pull complete 23:29:48 e2be974225ed: Pull complete 23:29:48 339a4e72a1f5: Pull complete 23:29:48 988bab9f4d93: Pull complete 23:29:49 1469e6f7b9e6: Pull complete 23:29:49 eaf3925da568: Pull complete 23:29:51 bab4dde63d76: Pull complete 23:29:51 bde34c3a00c8: Pull complete 23:29:51 b352a97aabf1: Pull complete 23:29:51 4872d77fe225: Pull complete 23:29:51 5851b861e8e6: Pull complete 23:29:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:29:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:29:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:51 prd-ubuntu20.04-docker-8c-8g-995 does not seem to be running inside a container 23:29:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-41 -v /w/workspace/xfoundry_app-record-replay_PR-41:/w/workspace/xfoundry_app-record-replay_PR-41:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-41@tmp:/w/workspace/xfoundry_app-record-replay_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:29:52 $ docker top c547c8d391a208fa5192c36192e978039f73442721ab2a8b92649e03d7772e8f -eo pid,comm 23:29:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:29:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:29:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:29:52 [ssh-agent] Looking for ssh-agent implementation... 23:29:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:29:52 $ docker exec c547c8d391a208fa5192c36192e978039f73442721ab2a8b92649e03d7772e8f ssh-agent 23:29:52 SSH_AUTH_SOCK=/tmp/ssh-bRDze7QssX9o/agent.31 23:29:52 SSH_AGENT_PID=37 23:29:52 Running ssh-add (command line suppressed) 23:29:52 Identity added: /w/workspace/xfoundry_app-record-replay_PR-41@tmp/private_key_11305409476942417008.key (/w/workspace/xfoundry_app-record-replay_PR-41@tmp/private_key_11305409476942417008.key) 23:29:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:29:53 + git tag --points-at HEAD [Pipeline] } 23:29:53 $ docker exec --env ******** --env ******** c547c8d391a208fa5192c36192e978039f73442721ab2a8b92649e03d7772e8f ssh-agent -k 23:29:53 unset SSH_AUTH_SOCK; 23:29:53 unset SSH_AGENT_PID; 23:29:53 echo Agent pid 37 killed; 23:29:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:29:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:29:53 [ssh-agent] Looking for ssh-agent implementation... 23:29:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:29:53 $ docker exec c547c8d391a208fa5192c36192e978039f73442721ab2a8b92649e03d7772e8f ssh-agent 23:29:53 SSH_AUTH_SOCK=/tmp/ssh-sJKTIlMt6JyY/agent.69 23:29:53 SSH_AGENT_PID=75 23:29:53 Running ssh-add (command line suppressed) 23:29:53 Identity added: /w/workspace/xfoundry_app-record-replay_PR-41@tmp/private_key_9035248916033191742.key (/w/workspace/xfoundry_app-record-replay_PR-41@tmp/private_key_9035248916033191742.key) 23:29:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:29:54 + git semver init 23:29:54 2023-07-12 23:29:54,404 [run_init] DEBUG init version:0.0.0 force:False 23:29:54 2023-07-12 23:29:54,404 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-41/.semver 23:29:54 2023-07-12 23:29:54,405 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-41/.semver 23:29:54 2023-07-12 23:29:54,405 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-41/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-41, universal_newlines=False, shell=None, istream=None) 23:29:55 2023-07-12 23:29:55,008 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-41/.git/info/exclude 23:29:55 2023-07-12 23:29:55,009 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-41/.semver/PR-41 with force:False 23:29:55 2023-07-12 23:29:55,009 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-41/.semver/PR-41 23:29:55 2023-07-12 23:29:55,013 [execute] INFO git cat-file --batch-check 23:29:55 2023-07-12 23:29:55,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-41/.semver, universal_newlines=False, shell=None, istream=) 23:29:55 2023-07-12 23:29:55,020 [execute] INFO git cat-file --batch 23:29:55 2023-07-12 23:29:55,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-41/.semver, universal_newlines=False, shell=None, istream=) 23:29:55 2023-07-12 23:29:55,025 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-41/.semver/PR-41 23:29:55 0.0.0 [Pipeline] } 23:29:55 $ docker exec --env ******** --env ******** c547c8d391a208fa5192c36192e978039f73442721ab2a8b92649e03d7772e8f ssh-agent -k 23:29:55 unset SSH_AUTH_SOCK; 23:29:55 unset SSH_AGENT_PID; 23:29:55 echo Agent pid 75 killed; 23:29:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:29:55 + git semver [Pipeline] } 23:29:55 $ docker stop --time=1 c547c8d391a208fa5192c36192e978039f73442721ab2a8b92649e03d7772e8f 23:29:57 $ docker rm -f --volumes c547c8d391a208fa5192c36192e978039f73442721ab2a8b92649e03d7772e8f [Pipeline] // withDockerContainer [Pipeline] sh 23:29:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:29:57 Stashed 1 file(s) [Pipeline] echo 23:29:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:58 provisioning config files... 23:29:58 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-41@tmp/config16215078193056741770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:58 ---> docker-login.sh 23:29:58 nexus3.edgexfoundry.org:10001 23:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:58 Configure a credential helper to remove this warning. See 23:29:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:58 23:29:58 Login Succeeded 23:29:58 nexus3.edgexfoundry.org:10002 23:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:58 Configure a credential helper to remove this warning. See 23:29:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:58 23:29:58 Login Succeeded 23:29:58 nexus3.edgexfoundry.org:10003 23:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:59 Configure a credential helper to remove this warning. See 23:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:59 23:29:59 Login Succeeded 23:29:59 nexus3.edgexfoundry.org:10004 23:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:59 Configure a credential helper to remove this warning. See 23:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:59 23:29:59 Login Succeeded 23:29:59 docker.io 23:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:59 Configure a credential helper to remove this warning. See 23:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:59 23:29:59 Login Succeeded 23:29:59 ---> docker-login.sh ends [Pipeline] } 23:29:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:29:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:29:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:29:59 ========================================================= 23:29:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:29:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:30:00 Sending build context to Docker daemon 324.6kB 23:30:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:30:00 Step 2/12 : FROM ${BASE} AS builder 23:30:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:30:00 4db1b89c0bd1: Pulling fs layer 23:30:00 6911f1a30b25: Pulling fs layer 23:30:00 e194b8c5c2a9: Pulling fs layer 23:30:00 6863d3e3a2b1: Pulling fs layer 23:30:00 ec0bb842ea78: Pulling fs layer 23:30:00 40a00589a448: Pulling fs layer 23:30:00 6c08303d61cc: Pulling fs layer 23:30:00 798269fcf238: Pulling fs layer 23:30:00 ec0bb842ea78: Waiting 23:30:00 40a00589a448: Waiting 23:30:00 6c08303d61cc: Waiting 23:30:00 798269fcf238: Waiting 23:30:00 6863d3e3a2b1: Waiting 23:30:00 6911f1a30b25: Download complete 23:30:00 6863d3e3a2b1: Verifying Checksum 23:30:00 6863d3e3a2b1: Download complete 23:30:00 ec0bb842ea78: Verifying Checksum 23:30:00 ec0bb842ea78: Download complete 23:30:00 4db1b89c0bd1: Verifying Checksum 23:30:00 4db1b89c0bd1: Download complete 23:30:00 40a00589a448: Verifying Checksum 23:30:00 40a00589a448: Download complete 23:30:00 4db1b89c0bd1: Pull complete 23:30:00 6911f1a30b25: Pull complete 23:30:00 798269fcf238: Verifying Checksum 23:30:00 798269fcf238: Download complete 23:30:00 e194b8c5c2a9: Verifying Checksum 23:30:00 e194b8c5c2a9: Download complete 23:30:00 6c08303d61cc: Verifying Checksum 23:30:00 6c08303d61cc: Download complete 23:30:04 e194b8c5c2a9: Pull complete 23:30:04 6863d3e3a2b1: Pull complete 23:30:04 ec0bb842ea78: Pull complete 23:30:04 40a00589a448: Pull complete 23:30:06 6c08303d61cc: Pull complete 23:30:07 798269fcf238: Pull complete 23:30:07 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 23:30:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:30:07 ---> ec979cd7f677 23:30:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:30:09 ---> Running in 1a97ec6ab97f 23:30:09 Removing intermediate container 1a97ec6ab97f 23:30:09 ---> 3df92f2b3800 23:30:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:30:09 ---> Running in 8a2c67ed7a5e 23:30:09 Removing intermediate container 8a2c67ed7a5e 23:30:09 ---> d926b1071bfd 23:30:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:30:09 ---> Running in 2d2ce4dd65ec 23:30:09 Removing intermediate container 2d2ce4dd65ec 23:30:09 ---> 39e6e1b4e248 23:30:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:09 ---> Running in 91e766494a40 23:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:30:09 OK: 265 MiB in 53 packages 23:30:10 Removing intermediate container 91e766494a40 23:30:10 ---> c51089a15ce3 23:30:10 Step 7/12 : WORKDIR /app 23:30:10 ---> Running in d272a76e8fa4 23:30:10 Removing intermediate container d272a76e8fa4 23:30:10 ---> fcdc6c81579c 23:30:10 Step 8/12 : COPY go.mod vendor* ./ 23:30:10 ---> 54decf87ec31 23:30:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:30:10 ---> Running in 2a7f75f7b69f 23:30:13 Still waiting to schedule task 23:30:13 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-994’ 23:30:28 Removing intermediate container 2a7f75f7b69f 23:30:28 ---> df5e068a6fcc 23:30:28 Step 10/12 : COPY . . 23:30:29 ---> 19c9ba1ce236 23:30:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:30:29 ---> Running in 0f0c4ea0525e 23:30:29 Removing intermediate container 0f0c4ea0525e 23:30:29 ---> d52a992ecacc 23:30:29 Step 12/12 : RUN $MAKE 23:30:29 ---> Running in 7aac4195ce7e 23:30:29 noop 23:30:29 Removing intermediate container 7aac4195ce7e 23:30:29 ---> 520244cd2d7f 23:30:29 Successfully built 520244cd2d7f 23:30:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:30 + docker inspect -f . ci-base-image-x86_64 23:30:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:30 prd-ubuntu20.04-docker-8c-8g-995 does not seem to be running inside a container 23:30:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-41 -v /w/workspace/xfoundry_app-record-replay_PR-41:/w/workspace/xfoundry_app-record-replay_PR-41:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-41@tmp:/w/workspace/xfoundry_app-record-replay_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:30:30 $ docker top dc40f07028ee9d8eff03af90c31b880eba353478ef8e3415d639da7a152025e9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:30:31 + go version 23:30:31 go version go1.20.6 linux/amd64 [Pipeline] } 23:30:31 $ docker stop --time=1 dc40f07028ee9d8eff03af90c31b880eba353478ef8e3415d639da7a152025e9 23:30:32 $ docker rm -f --volumes dc40f07028ee9d8eff03af90c31b880eba353478ef8e3415d639da7a152025e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:33 + docker inspect -f . ci-base-image-x86_64 23:30:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:33 prd-ubuntu20.04-docker-8c-8g-995 does not seem to be running inside a container 23:30:33 $ 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-41 -v /w/workspace/xfoundry_app-record-replay_PR-41:/w/workspace/xfoundry_app-record-replay_PR-41:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-41@tmp:/w/workspace/xfoundry_app-record-replay_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:30:33 $ docker top 69b05a200820ff1f1c3174da42c3b01fc77b87db0f1d437b78e7cf4247ad3837 -eo pid,comm [Pipeline] { [Pipeline] sh 23:30:34 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-41 [Pipeline] fileExists [Pipeline] sh 23:30:34 + make test 23:30:34 go test -race -coverprofile=coverage.out ./... 23:30:52 ? github.com/edgexfoundry/app-record-replay [no test files] 23:30:53 ok github.com/edgexfoundry/app-record-replay/internal/app 0.060s coverage: 76.9% of statements 23:30:53 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:30:53 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:30:53 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:30:53 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.084s coverage: 91.6% of statements 23:30:53 ok github.com/edgexfoundry/app-record-replay/internal/data 0.064s coverage: 50.0% of statements 23:31:15 go vet ./... 23:31:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:31:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:31:18 ./bin/test-attribution-txt.sh [Pipeline] echo 23:31:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:31:18 $ docker stop --time=1 69b05a200820ff1f1c3174da42c3b01fc77b87db0f1d437b78e7cf4247ad3837 23:31:21 $ docker rm -f --volumes 69b05a200820ff1f1c3174da42c3b01fc77b87db0f1d437b78e7cf4247ad3837 [Pipeline] // withDockerContainer [Pipeline] sh 23:31:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:31:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:31:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:31:22 + ls -al . 23:31:22 total 164 23:31:22 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 23:30 . 23:31:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 23:29 .. 23:31:22 -rw-rw-r-- 1 jenkins jenkins 119 Jul 12 23:29 .dockerignore 23:31:22 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 23:29 .git 23:31:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:29 .github 23:31:22 -rw-rw-r-- 1 jenkins jenkins 164 Jul 12 23:29 .gitignore 23:31:22 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 23:29 .golangci.yml 23:31:22 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 23:29 .semver 23:31:22 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 12 23:29 Attribution.txt 23:31:22 -rw-rw-r-- 1 jenkins jenkins 258 Jul 12 23:29 CHANGELOG.md 23:31:22 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 12 23:29 Dockerfile 23:31:22 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 23:29 GOVERNANCE.md 23:31:22 -rw-rw-r-- 1 jenkins jenkins 681 Jul 12 23:29 Jenkinsfile 23:31:22 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 23:29 LICENSE 23:31:22 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 12 23:29 Makefile 23:31:22 -rw-rw-r-- 1 jenkins jenkins 611 Jul 12 23:29 OWNERS.md 23:31:22 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 12 23:29 README.md 23:31:22 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 12 23:29 Record and Reply.postman_collection.json 23:31:22 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 23:29 VERSION 23:31:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:29 bin 23:31:22 -rw-r--r-- 1 jenkins jenkins 7054 Jul 12 23:30 coverage.out 23:31:22 -rw-rw-r-- 1 jenkins jenkins 3678 Jul 12 23:29 go.mod 23:31:22 -rw-rw-r-- 1 jenkins jenkins 32843 Jul 12 23:29 go.sum 23:31:22 drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 23:29 internal 23:31:22 -rw-rw-r-- 1 jenkins jenkins 913 Jul 12 23:29 main.go 23:31:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 23:29 pkg 23:31:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:29 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:23 + 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=38d53f837ea6daf45784b1d307a20837cd6fa32b --label arch=amd64 --label version=0.0.0 . 23:31:23 Sending build context to Docker daemon 332.3kB 23:31:23 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:31:23 Step 2/26 : FROM ${BASE} AS builder 23:31:23 ---> 520244cd2d7f 23:31:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:31:23 ---> Running in eb22a9a1deee 23:31:23 Removing intermediate container eb22a9a1deee 23:31:23 ---> 2f2835b235f0 23:31:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:31:23 ---> Running in 5d741d79da58 23:31:23 Removing intermediate container 5d741d79da58 23:31:23 ---> 076b05fd6334 23:31:23 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:31:23 ---> Running in 197d6af9e827 23:31:23 Removing intermediate container 197d6af9e827 23:31:23 ---> cc6c3da8db02 23:31:23 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:31:23 ---> Running in be6575d9975a 23:31:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:31:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:31:24 OK: 265 MiB in 53 packages 23:31:24 Removing intermediate container be6575d9975a 23:31:24 ---> e4f209ccc1bd 23:31:24 Step 7/26 : WORKDIR /app 23:31:24 ---> Running in 48ec62e52698 23:31:24 Removing intermediate container 48ec62e52698 23:31:24 ---> e281f4d2e444 23:31:24 Step 8/26 : COPY go.mod vendor* ./ 23:31:24 ---> b682f482939d 23:31:24 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:24 ---> Running in caf5689e91f0 23:31:25 Removing intermediate container caf5689e91f0 23:31:25 ---> 4fa759fce52d 23:31:25 Step 10/26 : COPY . . 23:31:25 ---> 7e56972f866a 23:31:25 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:31:25 ---> Running in 381addd8543c 23:31:25 Removing intermediate container 381addd8543c 23:31:25 ---> 177953357c84 23:31:25 Step 12/26 : RUN $MAKE 23:31:25 ---> Running in dfeca39129d6 23:31:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:31:44 Removing intermediate container dfeca39129d6 23:31:44 ---> 93630d0b4c39 23:31:44 Step 13/26 : FROM alpine:3.17 23:31:44 3.17: Pulling from library/alpine 23:31:44 4db1b89c0bd1: Already exists 23:31:44 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:31:44 Status: Downloaded newer image for alpine:3.17 23:31:44 ---> 1f73a9d63274 23:31:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:31:44 ---> Running in 8395b0ce482e 23:31:44 Removing intermediate container 8395b0ce482e 23:31:44 ---> 32be7ab3371c 23:31:44 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:31:44 ---> Running in 15a049fbcccb 23:31:44 Removing intermediate container 15a049fbcccb 23:31:44 ---> 2b0928267c0b 23:31:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:31:44 ---> Running in bdeebaba47f2 23:31:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:31:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:31:45 (1/2) Installing ca-certificates (20230506-r0) 23:31:45 (2/2) Installing dumb-init (1.2.5-r2) 23:31:45 Executing busybox-1.35.0-r29.trigger 23:31:45 Executing ca-certificates-20230506-r0.trigger 23:31:45 OK: 8 MiB in 17 packages 23:31:46 Removing intermediate container bdeebaba47f2 23:31:46 ---> 91b290ae94b5 23:31:46 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:31:46 ---> 3c8632218d65 23:31:46 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:31:46 ---> ee41ec074fa6 23:31:46 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:31:46 ---> f4344a468e1e 23:31:46 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:31:46 ---> ddd7abfaa321 23:31:46 Step 21/26 : EXPOSE 59712 23:31:46 ---> Running in fcf682d757c0 23:31:46 Removing intermediate container fcf682d757c0 23:31:46 ---> c368b13e7e6a 23:31:46 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:31:46 ---> Running in e11797e6e20d 23:31:46 Removing intermediate container e11797e6e20d 23:31:46 ---> 6c5c5f719a68 23:31:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:31:47 ---> Running in 87bb7ebcf33e 23:31:47 Removing intermediate container 87bb7ebcf33e 23:31:47 ---> f8959271702e 23:31:47 Step 24/26 : LABEL arch=amd64 23:31:47 ---> Running in b7cf3452e741 23:31:47 Removing intermediate container b7cf3452e741 23:31:47 ---> 97129f8c943f 23:31:47 Step 25/26 : LABEL git_sha=38d53f837ea6daf45784b1d307a20837cd6fa32b 23:31:47 ---> Running in ce07f05e6fbf 23:31:47 Removing intermediate container ce07f05e6fbf 23:31:47 ---> cce89f9e144f 23:31:47 Step 26/26 : LABEL version=0.0.0 23:31:47 ---> Running in e7f4be807485 23:31:47 Removing intermediate container e7f4be807485 23:31:47 ---> fb490e56e69c 23:31:47 [Warning] One or more build-args [ARCH] were not consumed 23:31:47 Successfully built fb490e56e69c 23:31:47 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:31:48 23:31:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:31:48 latest: Pulling from edgex-lftools-log-publisher 23:31:48 5eb5b503b376: Pulling fs layer 23:31:48 5c69ac0246d0: Pulling fs layer 23:31:48 ec43610c2a17: Pulling fs layer 23:31:48 3a2ae6a8a46f: Pulling fs layer 23:31:48 33b1e0a273af: Pulling fs layer 23:31:48 5d3b04190fa2: Pulling fs layer 23:31:48 2f39f015ded8: Pulling fs layer 23:31:48 3a2ae6a8a46f: Waiting 23:31:48 33b1e0a273af: Waiting 23:31:48 5d3b04190fa2: Waiting 23:31:48 2f39f015ded8: Waiting 23:31:48 5c69ac0246d0: Verifying Checksum 23:31:48 5c69ac0246d0: Download complete 23:31:48 3a2ae6a8a46f: Verifying Checksum 23:31:48 3a2ae6a8a46f: Download complete 23:31:48 33b1e0a273af: Verifying Checksum 23:31:48 33b1e0a273af: Download complete 23:31:48 5d3b04190fa2: Verifying Checksum 23:31:48 5d3b04190fa2: Download complete 23:31:48 ec43610c2a17: Verifying Checksum 23:31:48 ec43610c2a17: Download complete 23:31:49 5eb5b503b376: Verifying Checksum 23:31:49 5eb5b503b376: Download complete 23:31:49 2f39f015ded8: Download complete 23:31:50 5eb5b503b376: Pull complete 23:31:50 5c69ac0246d0: Pull complete 23:31:50 ec43610c2a17: Pull complete 23:31:50 3a2ae6a8a46f: Pull complete 23:31:50 33b1e0a273af: Pull complete 23:31:50 5d3b04190fa2: Pull complete 23:31:55 2f39f015ded8: Pull complete 23:31:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:31:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:31:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:55 prd-ubuntu20.04-docker-8c-8g-995 does not seem to be running inside a container 23:31:55 $ 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-41 -v /w/workspace/xfoundry_app-record-replay_PR-41:/w/workspace/xfoundry_app-record-replay_PR-41:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-41@tmp:/w/workspace/xfoundry_app-record-replay_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:31:57 $ docker top e2665c383b9a53bf91593ed94546d9e94d13ea935cca8af44c72b01b476a730c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:57 ---> job-cost.sh 23:31:57 lf-activate-venv: SKIPPING 23:31:57 INFO: No Stack... 23:31:57 INFO: Retrieving Pricing Info for: v3-standard-8 23:31:57 INFO: Archiving Costs [Pipeline] sh 23:31:58 + cat /w/workspace/xfoundry_app-record-replay_PR-41/archives/cost.csv 23:31:58 + cut -d, -f6 [Pipeline] lock 23:31:58 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-41-1-stack-cost] 23:31:58 Resource [jenkins-edgexfoundry-app-record-replay-PR-41-1-stack-cost] did not exist. Created. 23:31:58 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-41-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:31:58 + echo total: 0.2199999988079071 [Pipeline] stash 23:31:58 Stashed 1 file(s) [Pipeline] } 23:31:58 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-41-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:31:58 $ docker stop --time=1 e2665c383b9a53bf91593ed94546d9e94d13ea935cca8af44c72b01b476a730c 23:32:00 $ docker rm -f --volumes e2665c383b9a53bf91593ed94546d9e94d13ea935cca8af44c72b01b476a730c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:33:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-998 in /w/workspace/xfoundry_app-record-replay_PR-41 [Pipeline] { [Pipeline] ws 23:33:32 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 23:33:32 Selected Git installation does not exist. Using Default 23:33:32 The recommended git tool is: NONE 23:33:38 using credential edgex-jenkins-ssh 23:33:38 Cloning the remote Git repository 23:33:38 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:33:38 > git init /w/workspace/app-record-replay/1 # timeout=10 23:33:38 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:33:38 > git --version # timeout=10 23:33:38 > git --version # 'git version 2.25.1' 23:33:38 using GIT_SSH to set credentials SSH Credentials for GitHub 23:33:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:33:39 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:33:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:33:40 Merging remotes/origin/main commit a3df25cb06c99faf73416738ebe3ed6f58d891fa into PR head commit 38d53f837ea6daf45784b1d307a20837cd6fa32b 23:33:40 Merge succeeded, producing 38d53f837ea6daf45784b1d307a20837cd6fa32b 23:33:40 Checking out Revision 38d53f837ea6daf45784b1d307a20837cd6fa32b (PR-41) 23:33:40 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:33:40 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:33:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:33:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/41/head:refs/remotes/origin/PR-41 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:33:40 > git config core.sparsecheckout # timeout=10 23:33:40 > git checkout -f 38d53f837ea6daf45784b1d307a20837cd6fa32b # timeout=10 23:33:40 > git remote # timeout=10 23:33:40 > git config --get remote.origin.url # timeout=10 23:33:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:33:40 > git merge a3df25cb06c99faf73416738ebe3ed6f58d891fa # timeout=10 23:33:40 > git rev-parse HEAD^{commit} # timeout=10 23:33:40 > git config core.sparsecheckout # timeout=10 23:33:40 > git checkout -f 38d53f837ea6daf45784b1d307a20837cd6fa32b # timeout=10 23:33:44 Commit message: "feat: Implement replay status endpoint" 23:33:44 > git --version # timeout=10 23:33:44 > git --version # 'git version 2.25.1' 23:33:44 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:33:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:33:45 % Total % Received % Xferd Average Speed Time Time Time Current 23:33:45 Dload Upload Total Spent Left Speed 23:33:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 23:33:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:33:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:33:46 + sudo tee /etc/docker/daemon.new 23:33:46 { 23:33:46 "registry-mirrors": [ 23:33:46 "https://nexus3.edgexfoundry.org:10001" 23:33:46 ], 23:33:46 "bip": "10.250.0.254/24", 23:33:46 "hosts": [ 23:33:46 "tcp://0.0.0.0:5555", 23:33:46 "unix:///var/run/docker.sock" 23:33:46 ], 23:33:46 "mtu": 1458, 23:33:46 "selinux-enabled": true, 23:33:46 "seccomp-profile": "/etc/docker/seccomp.json" 23:33:46 } [Pipeline] sh 23:33:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:33:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:05 provisioning config files... 23:34:05 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config6994981941403287612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:06 ---> docker-login.sh 23:34:06 nexus3.edgexfoundry.org:10001 23:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:06 Configure a credential helper to remove this warning. See 23:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:06 23:34:06 Login Succeeded 23:34:06 nexus3.edgexfoundry.org:10002 23:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:06 Configure a credential helper to remove this warning. See 23:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:06 23:34:06 Login Succeeded 23:34:06 nexus3.edgexfoundry.org:10003 23:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:07 Configure a credential helper to remove this warning. See 23:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:07 23:34:07 Login Succeeded 23:34:07 nexus3.edgexfoundry.org:10004 23:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:07 Configure a credential helper to remove this warning. See 23:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:07 23:34:07 Login Succeeded 23:34:07 docker.io 23:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:08 Configure a credential helper to remove this warning. See 23:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:08 23:34:08 Login Succeeded 23:34:08 ---> docker-login.sh ends [Pipeline] } 23:34:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:34:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:34:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:34:08 ========================================================= 23:34:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:34:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:34:09 Sending build context to Docker daemon 155.6kB 23:34:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:34:09 Step 2/12 : FROM ${BASE} AS builder 23:34:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:34:09 edb6bdbacee9: Pulling fs layer 23:34:09 5f9638ab2659: Pulling fs layer 23:34:09 8d51d6327a98: Pulling fs layer 23:34:09 8b374f2dd631: Pulling fs layer 23:34:09 ec14aa9079de: Pulling fs layer 23:34:09 2f466654f4bb: Pulling fs layer 23:34:09 554e91adad29: Pulling fs layer 23:34:09 8b374f2dd631: Waiting 23:34:09 ec14aa9079de: Waiting 23:34:09 2f466654f4bb: Waiting 23:34:09 554e91adad29: Waiting 23:34:09 5f9638ab2659: Verifying Checksum 23:34:09 5f9638ab2659: Download complete 23:34:09 8b374f2dd631: Verifying Checksum 23:34:09 8b374f2dd631: Download complete 23:34:09 ec14aa9079de: Verifying Checksum 23:34:09 ec14aa9079de: Download complete 23:34:09 edb6bdbacee9: Verifying Checksum 23:34:09 edb6bdbacee9: Download complete 23:34:10 edb6bdbacee9: Pull complete 23:34:11 554e91adad29: Verifying Checksum 23:34:11 554e91adad29: Download complete 23:34:11 5f9638ab2659: Pull complete 23:34:12 2f466654f4bb: Download complete 23:34:12 8d51d6327a98: Download complete 23:34:24 8d51d6327a98: Pull complete 23:34:24 8b374f2dd631: Pull complete 23:34:24 ec14aa9079de: Pull complete 23:34:29 2f466654f4bb: Pull complete 23:34:31 554e91adad29: Pull complete 23:34:31 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 23:34:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:34:31 ---> 1e15ea492957 23:34:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:34:33 ---> Running in b2839b9f73d5 23:34:33 Removing intermediate container b2839b9f73d5 23:34:33 ---> 8f0e41325dcf 23:34:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:34:33 ---> Running in a0ab67e08e8a 23:34:34 Removing intermediate container a0ab67e08e8a 23:34:34 ---> c47cdb04efec 23:34:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:34:34 ---> Running in 3a1368877dba 23:34:34 Removing intermediate container 3a1368877dba 23:34:34 ---> 43fd8bc9fdec 23:34:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:34:34 ---> Running in faf216c72d80 23:34:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:34:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:34:37 OK: 263 MiB in 53 packages 23:34:38 Removing intermediate container faf216c72d80 23:34:38 ---> 499c2b52f513 23:34:38 Step 7/12 : WORKDIR /app 23:34:38 ---> Running in bcb5284b9d1f 23:34:38 Removing intermediate container bcb5284b9d1f 23:34:38 ---> 73d94c4a9847 23:34:38 Step 8/12 : COPY go.mod vendor* ./ 23:34:39 ---> d67b4a81e952 23:34:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:34:39 ---> Running in 18f805f9e04f 23:35:46 Removing intermediate container 18f805f9e04f 23:35:46 ---> ed1c4ad99d2e 23:35:46 Step 10/12 : COPY . . 23:35:46 ---> 32cd0e79b053 23:35:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:35:46 ---> Running in 16f39f26c59a 23:35:46 Removing intermediate container 16f39f26c59a 23:35:46 ---> 329c50295ff6 23:35:46 Step 12/12 : RUN $MAKE 23:35:46 ---> Running in 6f13511c59a5 23:35:46 noop 23:35:46 Removing intermediate container 6f13511c59a5 23:35:46 ---> d7ca2af5971a 23:35:46 Successfully built d7ca2af5971a 23:35:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:47 + docker inspect -f . ci-base-image-arm64 23:35:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:47 prd-ubuntu20.04-docker-arm64-4c-16g-998 does not seem to be running inside a container 23:35:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:35:49 $ docker top 1c475068e99255218c1ee69cdcb3b95a9159fab7c6324141aa9ac2e38788aadf -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:49 + go version 23:35:49 go version go1.20.6 linux/arm64 [Pipeline] } 23:35:49 $ docker stop --time=1 1c475068e99255218c1ee69cdcb3b95a9159fab7c6324141aa9ac2e38788aadf 23:35:51 $ docker rm -f --volumes 1c475068e99255218c1ee69cdcb3b95a9159fab7c6324141aa9ac2e38788aadf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:52 + docker inspect -f . ci-base-image-arm64 23:35:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:52 prd-ubuntu20.04-docker-arm64-4c-16g-998 does not seem to be running inside a container 23:35:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:35:54 $ docker top e467dc9d9d93265c03e79c0b8847daf205ff913fb1cfec39d1c27dc3dcc85d2d -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:54 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 23:35:54 + make test 23:35:54 go test -race -coverprofile=coverage.out ./... 23:39:01 ? github.com/edgexfoundry/app-record-replay [no test files] 23:39:11 ok github.com/edgexfoundry/app-record-replay/internal/app 0.286s coverage: 76.9% of statements 23:39:11 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.353s coverage: 91.6% of statements 23:39:15 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:39:15 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:39:15 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:39:15 ok github.com/edgexfoundry/app-record-replay/internal/data 0.217s coverage: 50.0% of statements 23:39:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:39:16 go vet ./... 23:41:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:41:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:41:52 ./bin/test-attribution-txt.sh [Pipeline] echo 23:41:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:41:52 $ docker stop --time=1 e467dc9d9d93265c03e79c0b8847daf205ff913fb1cfec39d1c27dc3dcc85d2d 23:41:54 $ docker rm -f --volumes e467dc9d9d93265c03e79c0b8847daf205ff913fb1cfec39d1c27dc3dcc85d2d [Pipeline] // withDockerContainer [Pipeline] sh 23:41:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:41:56 Warning: overwriting stash ‘coverage-report’ 23:41:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:41:58 + ls -al . 23:41:58 total 160 23:41:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 23:35 . 23:41:58 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 23:33 .. 23:41:58 -rw-rw-r-- 1 jenkins jenkins 119 Jul 12 23:33 .dockerignore 23:41:58 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 23:33 .git 23:41:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:33 .github 23:41:58 -rw-rw-r-- 1 jenkins jenkins 164 Jul 12 23:33 .gitignore 23:41:58 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 23:33 .golangci.yml 23:41:58 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 12 23:33 Attribution.txt 23:41:58 -rw-rw-r-- 1 jenkins jenkins 258 Jul 12 23:33 CHANGELOG.md 23:41:58 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 12 23:33 Dockerfile 23:41:58 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 23:33 GOVERNANCE.md 23:41:58 -rw-rw-r-- 1 jenkins jenkins 681 Jul 12 23:33 Jenkinsfile 23:41:58 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 23:33 LICENSE 23:41:58 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 12 23:33 Makefile 23:41:58 -rw-rw-r-- 1 jenkins jenkins 611 Jul 12 23:33 OWNERS.md 23:41:58 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 12 23:33 README.md 23:41:58 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 12 23:33 Record and Reply.postman_collection.json 23:41:58 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 23:29 VERSION 23:41:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:33 bin 23:41:58 -rw-r--r-- 1 jenkins jenkins 7054 Jul 12 23:39 coverage.out 23:41:58 -rw-rw-r-- 1 jenkins jenkins 3678 Jul 12 23:33 go.mod 23:41:58 -rw-rw-r-- 1 jenkins jenkins 32843 Jul 12 23:33 go.sum 23:41:58 drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 23:33 internal 23:41:58 -rw-rw-r-- 1 jenkins jenkins 913 Jul 12 23:33 main.go 23:41:58 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 23:33 pkg 23:41:58 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:33 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:58 + 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=38d53f837ea6daf45784b1d307a20837cd6fa32b --label arch=arm64 --label version=0.0.0 . 23:41:58 Sending build context to Docker daemon 163.3kB 23:41:58 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:41:58 Step 2/26 : FROM ${BASE} AS builder 23:41:58 ---> d7ca2af5971a 23:41:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:41:58 ---> Running in c0c2cc387233 23:41:59 Removing intermediate container c0c2cc387233 23:41:59 ---> f4de389454e4 23:41:59 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:41:59 ---> Running in 1caf3089db30 23:41:59 Removing intermediate container 1caf3089db30 23:41:59 ---> fc3e333c2ea0 23:41:59 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:41:59 ---> Running in 30076f422e25 23:42:00 Removing intermediate container 30076f422e25 23:42:00 ---> 1c56de4a775a 23:42:00 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:00 ---> Running in c5d0fe5ad561 23:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:42:03 OK: 263 MiB in 53 packages 23:42:03 Removing intermediate container c5d0fe5ad561 23:42:03 ---> cddca4b9055f 23:42:03 Step 7/26 : WORKDIR /app 23:42:04 ---> Running in ac9979e361cd 23:42:04 Removing intermediate container ac9979e361cd 23:42:04 ---> b4bcef4023c1 23:42:04 Step 8/26 : COPY go.mod vendor* ./ 23:42:05 ---> 8fbe5cf717e6 23:42:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:05 ---> Running in 768532fa200b 23:42:07 Removing intermediate container 768532fa200b 23:42:07 ---> 6ad8c2eed1dc 23:42:07 Step 10/26 : COPY . . 23:42:08 ---> 97b1b328d695 23:42:08 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:42:08 ---> Running in 4ed33950c36c 23:42:08 Removing intermediate container 4ed33950c36c 23:42:08 ---> ab585dcac029 23:42:08 Step 12/26 : RUN $MAKE 23:42:08 ---> Running in 4b6333b990ed 23:42:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:44:31 Removing intermediate container 4b6333b990ed 23:44:31 ---> 7f9a106bb30a 23:44:31 Step 13/26 : FROM alpine:3.17 23:44:31 3.17: Pulling from library/alpine 23:44:31 edb6bdbacee9: Already exists 23:44:31 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:44:31 Status: Downloaded newer image for alpine:3.17 23:44:31 ---> 779605e5fbc0 23:44:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:44:31 ---> Running in d8cd71ab167d 23:44:31 Removing intermediate container d8cd71ab167d 23:44:31 ---> 757da1ee73ed 23:44:31 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:44:31 ---> Running in 8833747fb6df 23:44:31 Removing intermediate container 8833747fb6df 23:44:31 ---> a2bdcb075894 23:44:31 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:44:31 ---> Running in 4ee9dc021535 23:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:44:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:44:33 (1/2) Installing ca-certificates (20230506-r0) 23:44:33 (2/2) Installing dumb-init (1.2.5-r2) 23:44:33 Executing busybox-1.35.0-r29.trigger 23:44:33 Executing ca-certificates-20230506-r0.trigger 23:44:33 OK: 8 MiB in 17 packages 23:44:35 Removing intermediate container 4ee9dc021535 23:44:35 ---> 88ddfc53aa4f 23:44:35 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:44:35 ---> e06804c7cf20 23:44:35 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:44:36 ---> 0af015128db9 23:44:36 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:44:36 ---> c58ed9c307bf 23:44:36 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:44:38 ---> 31ea4e5205f1 23:44:38 Step 21/26 : EXPOSE 59712 23:44:38 ---> Running in 190f04c62ef0 23:44:38 Removing intermediate container 190f04c62ef0 23:44:38 ---> 06fb7f4d2cb0 23:44:38 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:44:38 ---> Running in 1cb225fcdbc3 23:44:38 Removing intermediate container 1cb225fcdbc3 23:44:38 ---> 7adad5123f9f 23:44:38 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:44:38 ---> Running in 256d92c0d302 23:44:38 Removing intermediate container 256d92c0d302 23:44:38 ---> 86e160e86ca8 23:44:38 Step 24/26 : LABEL arch=arm64 23:44:39 ---> Running in e7358c3fe9cb 23:44:39 Removing intermediate container e7358c3fe9cb 23:44:39 ---> 154e6dec3e16 23:44:39 Step 25/26 : LABEL git_sha=38d53f837ea6daf45784b1d307a20837cd6fa32b 23:44:39 ---> Running in fcfb08a39f7b 23:44:39 Removing intermediate container fcfb08a39f7b 23:44:39 ---> ff85e22f6dd3 23:44:39 Step 26/26 : LABEL version=0.0.0 23:44:39 ---> Running in c235d6d56826 23:44:39 Removing intermediate container c235d6d56826 23:44:39 ---> 2fdd46a0b7c2 23:44:39 [Warning] One or more build-args [ARCH] were not consumed 23:44:39 Successfully built 2fdd46a0b7c2 23:44:39 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:44:40 23:44:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:44:41 arm64: Pulling from edgex-lftools-log-publisher 23:44:41 8998bd30e6a1: Pulling fs layer 23:44:41 04944245beec: Pulling fs layer 23:44:41 699f458cf7ca: Pulling fs layer 23:44:41 765212b225bb: Pulling fs layer 23:44:41 f23df028b6ca: Pulling fs layer 23:44:41 d65c8cfc05b1: Pulling fs layer 23:44:41 2437ff75d9bd: Pulling fs layer 23:44:41 765212b225bb: Waiting 23:44:41 f23df028b6ca: Waiting 23:44:41 d65c8cfc05b1: Waiting 23:44:41 2437ff75d9bd: Waiting 23:44:41 04944245beec: Verifying Checksum 23:44:41 04944245beec: Download complete 23:44:41 765212b225bb: Verifying Checksum 23:44:41 765212b225bb: Download complete 23:44:41 f23df028b6ca: Verifying Checksum 23:44:41 f23df028b6ca: Download complete 23:44:41 d65c8cfc05b1: Verifying Checksum 23:44:41 d65c8cfc05b1: Download complete 23:44:41 699f458cf7ca: Verifying Checksum 23:44:41 699f458cf7ca: Download complete 23:44:41 8998bd30e6a1: Verifying Checksum 23:44:41 8998bd30e6a1: Download complete 23:44:44 2437ff75d9bd: Download complete 23:44:45 8998bd30e6a1: Pull complete 23:44:46 04944245beec: Pull complete 23:44:47 699f458cf7ca: Pull complete 23:44:47 765212b225bb: Pull complete 23:44:48 f23df028b6ca: Pull complete 23:44:48 d65c8cfc05b1: Pull complete 23:45:03 2437ff75d9bd: Pull complete 23:45:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:45:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:45:04 prd-ubuntu20.04-docker-arm64-4c-16g-998 does not seem to be running inside a container 23:45:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:45:07 $ docker top 8f884450cf538f71e33f4b064524c6efcf824227e8fc7ba0f6e556dbf9245268 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:45:07 ---> job-cost.sh 23:45:07 lf-activate-venv: SKIPPING 23:45:07 INFO: No Stack... 23:45:08 INFO: Retrieving Pricing Info for: v3-standard-4 23:45:09 INFO: Archiving Costs [Pipeline] sh 23:45:10 + + cut -d, -f6cat 23:45:10 /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock 23:45:10 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-41-1-stack-cost] 23:45:10 Resource [jenkins-edgexfoundry-app-record-replay-PR-41-1-stack-cost] did not exist. Created. 23:45:10 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-41-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:45:10 /w/workspace/app-record-replay/1@tmp/durable-e9e3e9cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:45:11 + echo total: 0.10999999940395355 [Pipeline] stash 23:45:11 Warning: overwriting stash ‘stack-cost’ 23:45:11 Stashed 1 file(s) [Pipeline] } 23:45:11 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-41-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:45:11 $ docker stop --time=1 8f884450cf538f71e33f4b064524c6efcf824227e8fc7ba0f6e556dbf9245268 23:45:13 $ docker rm -f --volumes 8f884450cf538f71e33f4b064524c6efcf824227e8fc7ba0f6e556dbf9245268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:45:14 provisioning config files... 23:45:14 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-41 #1 23:45:14 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-41@tmp/config8987622734277535384tmp [Pipeline] { [Pipeline] sh 23:45:14 + set +x 23:45:14 + curl -s https://codecov.io/bash 23:45:14 + bash -s -- 23:45:14 23:45:14 _____ _ 23:45:14 / ____| | | 23:45:14 | | ___ __| | ___ ___ _____ __ 23:45:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:45:14 | |___| (_) | (_| | __/ (_| (_) \ V / 23:45:14 \_____\___/ \__,_|\___|\___\___/ \_/ 23:45:14 Bash-1.0.6 23:45:14 23:45:14 23:45:14 ==> git version 2.25.1 found 23:45:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:45:14 Release-Date: 2020-01-08 23:45:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:45:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:45:14 ==> Jenkins CI detected. 23:45:14 current dir:  /w/workspace/xfoundry_app-record-replay_PR-41 23:45:14 project root: . 23:45:14 --> token set from env 23:45:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:45:14 ==> Running gcov in . (disable via -X gcov) 23:45:14 ==> Python coveragepy not found 23:45:14 ==> Searching for coverage reports in: 23:45:14 + . 23:45:14 -> Found 1 reports 23:45:14 ==> Detecting git/mercurial file structure 23:45:14 ==> Reading reports 23:45:14 + ./coverage.out bytes=7054 23:45:14 ==> Appending adjustments 23:45:14 https://docs.codecov.io/docs/fixing-reports 23:45:14 + Found adjustments 23:45:14 ==> Gzipping contents 23:45:14 4.0K /tmp/codecov.QQSyPj.gz 23:45:14 ==> Uploading reports 23:45:14 url: https://codecov.io 23:45:14 query: branch=PR-41&commit=38d53f837ea6daf45784b1d307a20837cd6fa32b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-41%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=41&job=&cmd_args= 23:45:14 -> Pinging Codecov 23:45:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-41&commit=38d53f837ea6daf45784b1d307a20837cd6fa32b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-41%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=41&job=&cmd_args= 23:45:14 Invalid request parameters 23:45:14 400 [Pipeline] } 23:45:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:45:16 + [ -d /w/workspace/xfoundry_app-record-replay_PR-41/archives ] 23:45:16 + ls -al /w/workspace/xfoundry_app-record-replay_PR-41/archives 23:45:16 total 16 23:45:16 drwxr-xr-x 3 root root 4096 Jul 12 23:31 . 23:45:16 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 23:31 .. 23:45:16 drwxr-xr-x 2 root root 4096 Jul 12 23:31 cost 23:45:16 -rw-r--r-- 1 root root 88 Jul 12 23:31 cost.csv 23:45:16 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-41/archives 23:45:16 + ls -al /w/workspace/xfoundry_app-record-replay_PR-41/archives 23:45:16 total 16 23:45:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 23:31 . 23:45:16 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 23:31 .. 23:45:16 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 23:31 cost 23:45:16 -rw-r--r-- 1 jenkins jenkins 88 Jul 12 23:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:45:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:45:18 ---> package-listing.sh 23:45:18 ++ facter osfamily 23:45:18 ++ tr '[:upper:]' '[:lower:]' 23:45:18 + OS_FAMILY=debian 23:45:18 + workspace=/w/workspace/xfoundry_app-record-replay_PR-41 23:45:18 + START_PACKAGES=/tmp/packages_start.txt 23:45:18 + END_PACKAGES=/tmp/packages_end.txt 23:45:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:45:18 + PACKAGES=/tmp/packages_start.txt 23:45:18 + '[' /w/workspace/xfoundry_app-record-replay_PR-41 ']' 23:45:18 + PACKAGES=/tmp/packages_end.txt 23:45:18 + case "${OS_FAMILY}" in 23:45:18 + dpkg -l 23:45:18 + grep '^ii' 23:45:18 + '[' -f /tmp/packages_start.txt ']' 23:45:18 + '[' -f /tmp/packages_end.txt ']' 23:45:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:45:18 + '[' /w/workspace/xfoundry_app-record-replay_PR-41 ']' 23:45:18 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-41/archives/ 23:45:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-41/archives/ [Pipeline] echo 23:45:18 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-41/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:45:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:45:19 prd-ubuntu20.04-docker-8c-8g-995 does not seem to be running inside a container 23:45:19 $ 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-41/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-41 -v /w/workspace/xfoundry_app-record-replay_PR-41:/w/workspace/xfoundry_app-record-replay_PR-41:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-41@tmp:/w/workspace/xfoundry_app-record-replay_PR-41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:45:19 $ docker top cf35cdbdc61cf0148f6d21dcdba2feafef927abdffc4ee2bda5b2aadd7784e69 -eo pid,comm [Pipeline] { [Pipeline] sh 23:45:19 + touch /tmp/pre-build-complete [Pipeline] sh 23:45:20 + mkdir -p /var/log/sysstat [Pipeline] sh 23:45:20 + ls /var/log/sa-host 23:45:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:45:20 provisioning config files... 23:45:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-41@tmp/config4942482432356141992tmp [Pipeline] { [Pipeline] echo 23:45:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:45:21 ---> create-netrc.sh [Pipeline] } 23:45:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:45:21 ---> python-tools-install.sh [Pipeline] echo 23:45:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:45:21 ---> sudo-logs.sh 23:45:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:45:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:45:22 ---> job-cost.sh 23:45:22 lf-activate-venv: SKIPPING 23:45:22 DEBUG: total: 0.2199999988079071 23:45:22 INFO: Retrieving Stack Cost... 23:45:23 INFO: Retrieving Pricing Info for: v3-standard-8 23:45:23 INFO: Archiving Costs [Pipeline] echo 23:45:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:45:23 ---> logs-deploy.sh 23:45:23 lf-activate-venv: SKIPPING 23:45:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-41/1 23:45:23 INFO: archiving workspace using pattern(s): 23:45:24 Archives upload complete. 23:45:24 INFO: archiving logs to Nexus