Pull request #38 updated 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 c21995dc83c9d4518c4a60710b227f9f01242914 rather than 8b19c112885f4130b9e8b20308ccd5c21a58aa07 Obtained Jenkinsfile from c21995dc83c9d4518c4a60710b227f9f01242914 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-ssh1645908216177301170.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-ssh1105176924411182916.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-38/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-38/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh145485861758831636.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 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-ssh7715116130532628297.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-38/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-38/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13165391417417784804.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-892’ is offline Running on prd-ubuntu20.04-docker-8c-8g-893 in /w/workspace/xfoundry_app-record-replay_PR-38 [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-38 # 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 c21995dc83c9d4518c4a60710b227f9f01242914 into PR head commit 8b19c112885f4130b9e8b20308ccd5c21a58aa07 Merge succeeded, producing 8b19c112885f4130b9e8b20308ccd5c21a58aa07 Checking out Revision 8b19c112885f4130b9e8b20308ccd5c21a58aa07 (PR-38) > 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/38/head:refs/remotes/origin/PR-38 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b19c112885f4130b9e8b20308ccd5c21a58aa07 # 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 c21995dc83c9d4518c4a60710b227f9f01242914 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b19c112885f4130b9e8b20308ccd5c21a58aa07 # timeout=10 Commit message: "feat: Implement Cancel Replay endpoint" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:53:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:53:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:53:26 ========================================================= 23:53:26 EdgeX Global Pipelines Version Info 23:53:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:53:27 ------------------- 23:53:27 stable info: 23:53:27 ------------------- 23:53:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:53:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:53:27 Message: update stable to v1.0.250 23:53:28 ------------------- 23:53:28 experimental info: 23:53:28 ------------------- 23:53:28 Commited By: **** collab-it+edgex@linuxfoundation.org 23:53:28 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:53:28 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-38 [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-38 [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-38 [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b19c112885f4130b9e8b20308ccd5c21a58aa07 [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b19c11 [Pipeline] echo 23:53:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:53:28 provisioning config files... 23:53:28 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-38@tmp/config9335811969902638672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:29 ---> docker-login.sh 23:53:29 nexus3.edgexfoundry.org:10001 23:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:29 Configure a credential helper to remove this warning. See 23:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:29 23:53:29 Login Succeeded 23:53:29 nexus3.edgexfoundry.org:10002 23:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:29 Configure a credential helper to remove this warning. See 23:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:29 23:53:29 Login Succeeded 23:53:29 nexus3.edgexfoundry.org:10003 23:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:29 Configure a credential helper to remove this warning. See 23:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:29 23:53:29 Login Succeeded 23:53:29 nexus3.edgexfoundry.org:10004 23:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:29 Configure a credential helper to remove this warning. See 23:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:29 23:53:29 Login Succeeded 23:53:29 docker.io 23:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:30 Configure a credential helper to remove this warning. See 23:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:30 23:53:30 Login Succeeded 23:53:30 ---> docker-login.sh ends [Pipeline] } 23:53:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:53:30 + git rev-list -1 --merges 8b19c112885f4130b9e8b20308ccd5c21a58aa07~1..8b19c112885f4130b9e8b20308ccd5c21a58aa07 [Pipeline] echo 23:53:30 -----------> git rev-list -1 --merges 8b19c112885f4130b9e8b20308ccd5c21a58aa07~1..8b19c112885f4130b9e8b20308ccd5c21a58aa07 8b19c112885f4130b9e8b20308ccd5c21a58aa07 [false] [Pipeline] sh 23:53:30 + git log --format=format:%s -1 8b19c112885f4130b9e8b20308ccd5c21a58aa07 [Pipeline] echo 23:53:30 ========================================================= 23:53:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:53:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:53:31 + git log --format=format:%s -1 8b19c112885f4130b9e8b20308ccd5c21a58aa07 [Pipeline] echo 23:53:31 [semverPrep] GIT_COMMIT: 8b19c112885f4130b9e8b20308ccd5c21a58aa07, Commit Message: feat: Implement Cancel Replay endpoint [Pipeline] echo 23:53:31 [semverPrep] This is not a build commit. [Pipeline] sh 23:53:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:53:31 + grep -v github /etc/ssh/ssh_known_hosts 23:53:31 + [ -e /tmp/ssh_known_hosts ] 23:53:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:53:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:53:31 + sudo tee -a /etc/ssh/ssh_known_hosts 23:53:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:32 23:53:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:32 0.1.4: Pulling from edgex-devops/py-git-semver 23:53:32 b85a868b505f: Pulling fs layer 23:53:32 e2be974225ed: Pulling fs layer 23:53:32 339a4e72a1f5: Pulling fs layer 23:53:32 988bab9f4d93: Pulling fs layer 23:53:32 1469e6f7b9e6: Pulling fs layer 23:53:32 eaf3925da568: Pulling fs layer 23:53:32 bab4dde63d76: Pulling fs layer 23:53:32 bde34c3a00c8: Pulling fs layer 23:53:32 b352a97aabf1: Pulling fs layer 23:53:32 4872d77fe225: Pulling fs layer 23:53:32 5851b861e8e6: Pulling fs layer 23:53:32 bde34c3a00c8: Waiting 23:53:32 bab4dde63d76: Waiting 23:53:32 b352a97aabf1: Waiting 23:53:32 988bab9f4d93: Waiting 23:53:32 4872d77fe225: Waiting 23:53:32 5851b861e8e6: Waiting 23:53:32 1469e6f7b9e6: Waiting 23:53:32 eaf3925da568: Waiting 23:53:32 e2be974225ed: Verifying Checksum 23:53:32 e2be974225ed: Download complete 23:53:32 988bab9f4d93: Verifying Checksum 23:53:32 988bab9f4d93: Download complete 23:53:32 1469e6f7b9e6: Verifying Checksum 23:53:32 1469e6f7b9e6: Download complete 23:53:32 eaf3925da568: Verifying Checksum 23:53:32 eaf3925da568: Download complete 23:53:32 339a4e72a1f5: Verifying Checksum 23:53:32 339a4e72a1f5: Download complete 23:53:32 bde34c3a00c8: Verifying Checksum 23:53:32 bde34c3a00c8: Download complete 23:53:32 b352a97aabf1: Verifying Checksum 23:53:32 b352a97aabf1: Download complete 23:53:32 4872d77fe225: Verifying Checksum 23:53:32 4872d77fe225: Download complete 23:53:32 5851b861e8e6: Verifying Checksum 23:53:32 5851b861e8e6: Download complete 23:53:32 b85a868b505f: Verifying Checksum 23:53:32 b85a868b505f: Download complete 23:53:33 bab4dde63d76: Verifying Checksum 23:53:33 bab4dde63d76: Download complete 23:53:33 b85a868b505f: Pull complete 23:53:34 e2be974225ed: Pull complete 23:53:34 339a4e72a1f5: Pull complete 23:53:34 988bab9f4d93: Pull complete 23:53:35 1469e6f7b9e6: Pull complete 23:53:35 eaf3925da568: Pull complete 23:53:36 bab4dde63d76: Pull complete 23:53:37 bde34c3a00c8: Pull complete 23:53:37 b352a97aabf1: Pull complete 23:53:37 4872d77fe225: Pull complete 23:53:37 5851b861e8e6: Pull complete 23:53:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:53:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:53:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:37 prd-ubuntu20.04-docker-8c-8g-893 does not seem to be running inside a container 23:53:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-38 -v /w/workspace/xfoundry_app-record-replay_PR-38:/w/workspace/xfoundry_app-record-replay_PR-38:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-38@tmp:/w/workspace/xfoundry_app-record-replay_PR-38@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:53:40 $ docker top 773416c7c0445ec2b78af8df344cc43e95c92d8cb324ba16deed908647af4df0 -eo pid,comm 23:53:40 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:53:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:53:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:40 [ssh-agent] Looking for ssh-agent implementation... 23:53:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:40 $ docker exec 773416c7c0445ec2b78af8df344cc43e95c92d8cb324ba16deed908647af4df0 ssh-agent 23:53:40 SSH_AUTH_SOCK=/tmp/ssh-HgxePvz7FVzs/agent.32 23:53:40 SSH_AGENT_PID=38 23:53:40 Running ssh-add (command line suppressed) 23:53:40 Identity added: /w/workspace/xfoundry_app-record-replay_PR-38@tmp/private_key_1534109457487415898.key (/w/workspace/xfoundry_app-record-replay_PR-38@tmp/private_key_1534109457487415898.key) 23:53:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:40 + git tag --points-at HEAD [Pipeline] } 23:53:40 $ docker exec --env ******** --env ******** 773416c7c0445ec2b78af8df344cc43e95c92d8cb324ba16deed908647af4df0 ssh-agent -k 23:53:40 unset SSH_AUTH_SOCK; 23:53:40 unset SSH_AGENT_PID; 23:53:40 echo Agent pid 38 killed; 23:53:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:53:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:40 [ssh-agent] Looking for ssh-agent implementation... 23:53:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:41 $ docker exec 773416c7c0445ec2b78af8df344cc43e95c92d8cb324ba16deed908647af4df0 ssh-agent 23:53:41 SSH_AUTH_SOCK=/tmp/ssh-ynaESSMOOVJp/agent.71 23:53:41 SSH_AGENT_PID=77 23:53:41 Running ssh-add (command line suppressed) 23:53:41 Identity added: /w/workspace/xfoundry_app-record-replay_PR-38@tmp/private_key_13999005273651042242.key (/w/workspace/xfoundry_app-record-replay_PR-38@tmp/private_key_13999005273651042242.key) 23:53:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:41 + git semver init 23:53:41 2023-07-11 23:53:41,734 [run_init] DEBUG init version:0.0.0 force:False 23:53:41 2023-07-11 23:53:41,735 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-38/.semver 23:53:41 2023-07-11 23:53:41,735 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-38/.semver 23:53:41 2023-07-11 23:53:41,736 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-38/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-38, universal_newlines=False, shell=None, istream=None) 23:53:42 2023-07-11 23:53:42,311 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-38/.git/info/exclude 23:53:42 2023-07-11 23:53:42,311 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-38/.semver/PR-38 with force:False 23:53:42 2023-07-11 23:53:42,311 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-38/.semver/PR-38 23:53:42 2023-07-11 23:53:42,326 [execute] INFO git cat-file --batch-check 23:53:42 2023-07-11 23:53:42,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-38/.semver, universal_newlines=False, shell=None, istream=) 23:53:42 2023-07-11 23:53:42,335 [execute] INFO git cat-file --batch 23:53:42 2023-07-11 23:53:42,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-38/.semver, universal_newlines=False, shell=None, istream=) 23:53:42 2023-07-11 23:53:42,340 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-38/.semver/PR-38 23:53:42 0.0.0 [Pipeline] } 23:53:42 $ docker exec --env ******** --env ******** 773416c7c0445ec2b78af8df344cc43e95c92d8cb324ba16deed908647af4df0 ssh-agent -k 23:53:42 unset SSH_AUTH_SOCK; 23:53:42 unset SSH_AGENT_PID; 23:53:42 echo Agent pid 77 killed; 23:53:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:53:42 + git semver [Pipeline] } 23:53:43 $ docker stop --time=1 773416c7c0445ec2b78af8df344cc43e95c92d8cb324ba16deed908647af4df0 23:53:44 $ docker rm -f --volumes 773416c7c0445ec2b78af8df344cc43e95c92d8cb324ba16deed908647af4df0 [Pipeline] // withDockerContainer [Pipeline] sh 23:53:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:53:44 Stashed 1 file(s) [Pipeline] echo 23:53:44 [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:53:45 provisioning config files... 23:53:45 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-38@tmp/config13808800522669427145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:45 ---> docker-login.sh 23:53:45 nexus3.edgexfoundry.org:10001 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 nexus3.edgexfoundry.org:10002 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 nexus3.edgexfoundry.org:10003 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 nexus3.edgexfoundry.org:10004 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 docker.io 23:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:45 Configure a credential helper to remove this warning. See 23:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:45 23:53:45 Login Succeeded 23:53:45 ---> docker-login.sh ends [Pipeline] } 23:53:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:53:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:53:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:53:46 ========================================================= 23:53:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:53:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:46 + 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:53:46 Sending build context to Docker daemon 298.5kB 23:53:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:53:46 Step 2/12 : FROM ${BASE} AS builder 23:53:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:53:46 f56be85fc22e: Pulling fs layer 23:53:46 85791d961cd3: Pulling fs layer 23:53:46 d694b5ae8c79: Pulling fs layer 23:53:46 9f32a84ed3da: Pulling fs layer 23:53:46 4d19c01a9841: Pulling fs layer 23:53:46 9325e15d5711: Pulling fs layer 23:53:46 556b6ee489ea: Pulling fs layer 23:53:46 c5a4b2cf53e6: Pulling fs layer 23:53:46 9f32a84ed3da: Waiting 23:53:46 c5a4b2cf53e6: Waiting 23:53:46 556b6ee489ea: Waiting 23:53:46 85791d961cd3: Verifying Checksum 23:53:46 85791d961cd3: Download complete 23:53:46 4d19c01a9841: Verifying Checksum 23:53:46 4d19c01a9841: Download complete 23:53:46 f56be85fc22e: Download complete 23:53:46 9325e15d5711: Verifying Checksum 23:53:46 9325e15d5711: Download complete 23:53:46 f56be85fc22e: Pull complete 23:53:46 85791d961cd3: Pull complete 23:53:46 c5a4b2cf53e6: Verifying Checksum 23:53:46 c5a4b2cf53e6: Download complete 23:53:47 d694b5ae8c79: Download complete 23:53:47 556b6ee489ea: Verifying Checksum 23:53:47 556b6ee489ea: Download complete 23:53:51 d694b5ae8c79: Pull complete 23:53:51 9f32a84ed3da: Pull complete 23:53:51 4d19c01a9841: Pull complete 23:53:51 9325e15d5711: Pull complete 23:53:53 556b6ee489ea: Pull complete 23:53:54 c5a4b2cf53e6: Pull complete 23:53:54 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:53:54 ---> c4be618373d6 23:53:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:53:58 ---> Running in 8dbd7e79df4d 23:53:58 Removing intermediate container 8dbd7e79df4d 23:53:58 ---> 2bf2a39f655d 23:53:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:53:58 ---> Running in e11709653661 23:53:58 Removing intermediate container e11709653661 23:53:58 ---> 97a39faaee77 23:53:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:53:58 ---> Running in 1f034eb5080a 23:53:58 Removing intermediate container 1f034eb5080a 23:53:58 ---> 8302f1627c44 23:53:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:58 ---> Running in 98dba0a8463c 23:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:53:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:53:59 OK: 265 MiB in 53 packages 23:53:59 Removing intermediate container 98dba0a8463c 23:53:59 ---> a3cb5be22636 23:53:59 Step 7/12 : WORKDIR /app 23:53:59 ---> Running in a8748d3f2f9f 23:53:59 Removing intermediate container a8748d3f2f9f 23:53:59 ---> 0b6a74589d25 23:53:59 Step 8/12 : COPY go.mod vendor* ./ 23:53:59 ---> a8942f35323a 23:53:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:59 ---> Running in d909b2316d75 23:54:00 Still waiting to schedule task 23:54:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:54:31 Removing intermediate container d909b2316d75 23:54:31 ---> 05ef95c0ef3f 23:54:31 Step 10/12 : COPY . . 23:54:31 ---> 0a57f365d0e4 23:54:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:54:31 ---> Running in 04e2ba8f890f 23:54:31 Removing intermediate container 04e2ba8f890f 23:54:31 ---> 77d976ea9630 23:54:31 Step 12/12 : RUN $MAKE 23:54:31 ---> Running in a7ed0cde3eb9 23:54:31 noop 23:54:31 Removing intermediate container a7ed0cde3eb9 23:54:31 ---> b883f2403d55 23:54:31 Successfully built b883f2403d55 23:54:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:31 + docker inspect -f . ci-base-image-x86_64 23:54:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:32 prd-ubuntu20.04-docker-8c-8g-893 does not seem to be running inside a container 23:54:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-38 -v /w/workspace/xfoundry_app-record-replay_PR-38:/w/workspace/xfoundry_app-record-replay_PR-38:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-38@tmp:/w/workspace/xfoundry_app-record-replay_PR-38@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:54:32 $ docker top c046dd83c1d57e5eb2914367fa0144d0ca35ce0822dbbbddbe1288e35b2b7e18 -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:32 + go version 23:54:32 go version go1.20.2 linux/amd64 [Pipeline] } 23:54:32 $ docker stop --time=1 c046dd83c1d57e5eb2914367fa0144d0ca35ce0822dbbbddbe1288e35b2b7e18 23:54:33 $ docker rm -f --volumes c046dd83c1d57e5eb2914367fa0144d0ca35ce0822dbbbddbe1288e35b2b7e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:34 + docker inspect -f . ci-base-image-x86_64 23:54:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:34 prd-ubuntu20.04-docker-8c-8g-893 does not seem to be running inside a container 23:54:34 $ 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-38 -v /w/workspace/xfoundry_app-record-replay_PR-38:/w/workspace/xfoundry_app-record-replay_PR-38:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-38@tmp:/w/workspace/xfoundry_app-record-replay_PR-38@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:54:34 $ docker top f6495368d63a0c0207d53751eeffa383cc29b61ba92c3a21074f1fc266a678e4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:35 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-38 [Pipeline] fileExists [Pipeline] sh 23:54:35 + make test 23:54:35 go test -race -coverprofile=coverage.out ./... 23:54:57 ? github.com/edgexfoundry/app-record-replay [no test files] 23:54:57 ok github.com/edgexfoundry/app-record-replay/internal/app 0.060s coverage: 76.9% of statements 23:54:57 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:54:57 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:54:57 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:54:57 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.069s coverage: 89.6% of statements 23:54:57 ok github.com/edgexfoundry/app-record-replay/internal/data 0.061s coverage: 27.3% of statements 23:55:15 go vet ./... 23:55:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:55:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:55:19 ./bin/test-attribution-txt.sh [Pipeline] echo 23:55:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:55:19 $ docker stop --time=1 f6495368d63a0c0207d53751eeffa383cc29b61ba92c3a21074f1fc266a678e4 23:55:23 $ docker rm -f --volumes f6495368d63a0c0207d53751eeffa383cc29b61ba92c3a21074f1fc266a678e4 [Pipeline] // withDockerContainer [Pipeline] sh 23:55:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:55:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:55:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:55:24 + ls -al . 23:55:24 total 152 23:55:24 drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 23:54 . 23:55:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 23:53 .. 23:55:24 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 23:53 .dockerignore 23:55:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 23:53 .git 23:55:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 23:53 .github 23:55:24 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 23:53 .gitignore 23:55:24 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 23:53 .golangci.yml 23:55:24 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 23:53 .semver 23:55:24 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 23:53 Attribution.txt 23:55:24 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 23:53 CHANGELOG.md 23:55:24 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 23:53 Dockerfile 23:55:24 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 23:53 GOVERNANCE.md 23:55:24 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 23:53 Jenkinsfile 23:55:24 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 23:53 LICENSE 23:55:24 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 23:53 Makefile 23:55:24 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 23:53 OWNERS.md 23:55:24 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 23:53 README.md 23:55:24 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 23:53 VERSION 23:55:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 23:53 bin 23:55:24 -rw-r--r-- 1 jenkins jenkins 5597 Jul 11 23:54 coverage.out 23:55:24 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 11 23:53 go.mod 23:55:24 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 11 23:53 go.sum 23:55:24 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 23:53 internal 23:55:24 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 23:53 main.go 23:55:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 23:53 pkg 23:55:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 23:53 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:25 + 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=8b19c112885f4130b9e8b20308ccd5c21a58aa07 --label arch=amd64 --label version=0.0.0 . 23:55:25 Sending build context to Docker daemon 304.6kB 23:55:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:55:25 Step 2/26 : FROM ${BASE} AS builder 23:55:25 ---> b883f2403d55 23:55:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:55:25 ---> Running in 10d9fdb0fa39 23:55:25 Removing intermediate container 10d9fdb0fa39 23:55:25 ---> 1f653631cc4e 23:55:25 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:55:25 ---> Running in 71203126ea55 23:55:25 Removing intermediate container 71203126ea55 23:55:25 ---> d66bdec1c8e6 23:55:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:55:25 ---> Running in 14e93d86ef51 23:55:25 Removing intermediate container 14e93d86ef51 23:55:25 ---> e7c3977a3be1 23:55:25 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:25 ---> Running in 2e6e69ea984f 23:55:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:55:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:55:26 OK: 265 MiB in 53 packages 23:55:26 Removing intermediate container 2e6e69ea984f 23:55:26 ---> 0d30d91e805f 23:55:26 Step 7/26 : WORKDIR /app 23:55:26 ---> Running in 9741f510acc7 23:55:26 Removing intermediate container 9741f510acc7 23:55:26 ---> aa31ff9dc021 23:55:26 Step 8/26 : COPY go.mod vendor* ./ 23:55:26 ---> 3ab7f45e8511 23:55:26 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:26 ---> Running in a7f099d022df 23:55:27 Removing intermediate container a7f099d022df 23:55:27 ---> 53d596b86b31 23:55:27 Step 10/26 : COPY . . 23:55:27 ---> f21f4812ca15 23:55:27 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:55:27 ---> Running in e09ccd40beb7 23:55:27 Removing intermediate container e09ccd40beb7 23:55:27 ---> f2887365bc48 23:55:27 Step 12/26 : RUN $MAKE 23:55:27 ---> Running in 76fc356d3316 23:55:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:55:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-894 in /w/workspace/xfoundry_app-record-replay_PR-38 [Pipeline] { [Pipeline] ws 23:55:39 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 23:55:39 Selected Git installation does not exist. Using Default 23:55:39 The recommended git tool is: NONE 23:55:44 using credential edgex-jenkins-ssh 23:55:44 Cloning the remote Git repository 23:55:44 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:55:44 > git init /w/workspace/app-record-replay/2 # timeout=10 23:55:44 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:55:44 > git --version # timeout=10 23:55:44 > git --version # 'git version 2.25.1' 23:55:44 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:55:45 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:55:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:55:47 Merging remotes/origin/main commit c21995dc83c9d4518c4a60710b227f9f01242914 into PR head commit 8b19c112885f4130b9e8b20308ccd5c21a58aa07 23:55:46 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:55:46 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:55:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/38/head:refs/remotes/origin/PR-38 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:55:47 > git config core.sparsecheckout # timeout=10 23:55:47 Merge succeeded, producing 8b19c112885f4130b9e8b20308ccd5c21a58aa07 23:55:47 Checking out Revision 8b19c112885f4130b9e8b20308ccd5c21a58aa07 (PR-38) 23:55:47 > git checkout -f 8b19c112885f4130b9e8b20308ccd5c21a58aa07 # timeout=10 23:55:47 > git remote # timeout=10 23:55:47 > git config --get remote.origin.url # timeout=10 23:55:47 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:47 > git merge c21995dc83c9d4518c4a60710b227f9f01242914 # timeout=10 23:55:47 > git rev-parse HEAD^{commit} # timeout=10 23:55:47 > git config core.sparsecheckout # timeout=10 23:55:47 > git checkout -f 8b19c112885f4130b9e8b20308ccd5c21a58aa07 # timeout=10 23:55:49 Removing intermediate container 76fc356d3316 23:55:49 ---> eadc8db96cbb 23:55:49 Step 13/26 : FROM alpine:3.17 23:55:49 3.17: Pulling from library/alpine 23:55:49 4db1b89c0bd1: Pulling fs layer 23:55:49 4db1b89c0bd1: Download complete 23:55:49 4db1b89c0bd1: Pull complete 23:55:49 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:55:49 Status: Downloaded newer image for alpine:3.17 23:55:49 ---> 1f73a9d63274 23:55:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:55:49 ---> Running in 068a8282aba4 23:55:49 Removing intermediate container 068a8282aba4 23:55:49 ---> 7d61859b5d4d 23:55:49 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:55:49 ---> Running in ed74f306a454 23:55:49 Removing intermediate container ed74f306a454 23:55:49 ---> c48a9bf930a6 23:55:49 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:55:49 ---> Running in 5e5691ecd3d5 23:55:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:55:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:55:49 (1/2) Installing ca-certificates (20230506-r0) 23:55:49 (2/2) Installing dumb-init (1.2.5-r2) 23:55:49 Executing busybox-1.35.0-r29.trigger 23:55:49 Executing ca-certificates-20230506-r0.trigger 23:55:49 OK: 8 MiB in 17 packages 23:55:50 Removing intermediate container 5e5691ecd3d5 23:55:50 ---> 27478ce0ce5b 23:55:50 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:55:50 ---> 6d5773099444 23:55:50 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:55:50 Commit message: "feat: Implement Cancel Replay endpoint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 23:55:51 ---> bbe2d74f26ac 23:55:51 Step 19/26 : COPY --from=builder /app/res/ /res/ [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:55:51 % Total % Received % Xferd Average Speed Time Time Time Current 23:55:51 Dload Upload Total Spent Left Speed 23:55:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k 23:55:51 ---> bf383b6b22ac 23:55:51 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay [Pipeline] sh 23:55:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:55:52 + sudo tee /etc/docker/daemon.new 23:55:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:55:52 { 23:55:52 "registry-mirrors": [ 23:55:52 "https://nexus3.edgexfoundry.org:10001" 23:55:52 ], 23:55:52 "bip": "10.250.0.254/24", 23:55:52 "hosts": [ 23:55:52 "tcp://0.0.0.0:5555", 23:55:52 "unix:///var/run/docker.sock" 23:55:52 ], 23:55:52 "mtu": 1458, 23:55:52 "selinux-enabled": true, 23:55:52 "seccomp-profile": "/etc/docker/seccomp.json" 23:55:52 } [Pipeline] sh 23:55:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:55:53 ---> 1d6217e824c9 23:55:53 Step 21/26 : EXPOSE 59712 23:55:53 + sudo service docker restart 23:55:53 ---> Running in f09182ff332d 23:55:53 Removing intermediate container f09182ff332d 23:55:53 ---> 7d3b95c43dd2 23:55:53 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:55:53 ---> Running in 7a6c7eaf28aa 23:55:54 Removing intermediate container 7a6c7eaf28aa 23:55:54 ---> 1f5ecaac3526 23:55:54 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:55:54 ---> Running in ed73e7feb8bb 23:55:54 Removing intermediate container ed73e7feb8bb 23:55:54 ---> 59ccc9eb65c3 23:55:54 Step 24/26 : LABEL arch=amd64 23:55:54 ---> Running in 25b432386925 23:55:54 Removing intermediate container 25b432386925 23:55:54 ---> 1160ed3e3c1a 23:55:54 Step 25/26 : LABEL git_sha=8b19c112885f4130b9e8b20308ccd5c21a58aa07 23:55:54 ---> Running in 00152bc4efeb 23:55:54 Removing intermediate container 00152bc4efeb 23:55:54 ---> f4a75d6ad4d9 23:55:54 Step 26/26 : LABEL version=0.0.0 23:55:54 ---> Running in 8a00e51cec88 23:55:54 Removing intermediate container 8a00e51cec88 23:55:54 ---> 01117661a0db 23:55:54 [Warning] One or more build-args [ARCH] were not consumed 23:55:54 Successfully built 01117661a0db 23:55:54 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:55:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:55 23:55:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:55 latest: Pulling from edgex-lftools-log-publisher 23:55:55 5eb5b503b376: Pulling fs layer 23:55:55 5c69ac0246d0: Pulling fs layer 23:55:55 ec43610c2a17: Pulling fs layer 23:55:55 3a2ae6a8a46f: Pulling fs layer 23:55:55 33b1e0a273af: Pulling fs layer 23:55:55 5d3b04190fa2: Pulling fs layer 23:55:55 2f39f015ded8: Pulling fs layer 23:55:55 5d3b04190fa2: Waiting 23:55:55 2f39f015ded8: Waiting 23:55:55 3a2ae6a8a46f: Waiting 23:55:55 33b1e0a273af: Waiting 23:55:55 5c69ac0246d0: Download complete 23:55:55 3a2ae6a8a46f: Verifying Checksum 23:55:55 3a2ae6a8a46f: Download complete 23:55:55 33b1e0a273af: Verifying Checksum 23:55:55 33b1e0a273af: Download complete 23:55:55 ec43610c2a17: Verifying Checksum 23:55:55 ec43610c2a17: Download complete 23:55:55 5d3b04190fa2: Download complete 23:55:55 5eb5b503b376: Verifying Checksum 23:55:55 5eb5b503b376: Download complete 23:55:56 2f39f015ded8: Verifying Checksum 23:55:56 2f39f015ded8: Download complete 23:55:56 5eb5b503b376: Pull complete 23:55:56 5c69ac0246d0: Pull complete 23:55:57 ec43610c2a17: Pull complete 23:55:57 3a2ae6a8a46f: Pull complete 23:55:57 33b1e0a273af: Pull complete 23:55:57 5d3b04190fa2: Pull complete 23:56:01 2f39f015ded8: Pull complete 23:56:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:56:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:01 prd-ubuntu20.04-docker-8c-8g-893 does not seem to be running inside a container 23:56:01 $ 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-38 -v /w/workspace/xfoundry_app-record-replay_PR-38:/w/workspace/xfoundry_app-record-replay_PR-38:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-38@tmp:/w/workspace/xfoundry_app-record-replay_PR-38@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:56:05 $ docker top b9669720445615da680479e48d81c1dbea11e0b3553654a40574fc1c03224c5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:06 ---> job-cost.sh 23:56:06 lf-activate-venv: SKIPPING 23:56:06 INFO: No Stack... 23:56:06 INFO: Retrieving Pricing Info for: v3-standard-8 23:56:06 INFO: Archiving Costs [Pipeline] sh 23:56:06 + cat /w/workspace/xfoundry_app-record-replay_PR-38/archives/cost.csv 23:56:06 + cut -d, -f6 [Pipeline] lock 23:56:06 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-38-2-stack-cost] 23:56:06 Resource [jenkins-edgexfoundry-app-record-replay-PR-38-2-stack-cost] did not exist. Created. 23:56:06 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-38-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:56:07 + echo total: 0.2199999988079071 [Pipeline] stash 23:56:07 Stashed 1 file(s) [Pipeline] } 23:56:07 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-38-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:56:07 $ docker stop --time=1 b9669720445615da680479e48d81c1dbea11e0b3553654a40574fc1c03224c5d 23:56:08 $ docker rm -f --volumes b9669720445615da680479e48d81c1dbea11e0b3553654a40574fc1c03224c5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:56:11 provisioning config files... 23:56:11 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config10854965122503742579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:11 ---> docker-login.sh 23:56:11 nexus3.edgexfoundry.org:10001 23:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:12 Configure a credential helper to remove this warning. See 23:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:12 23:56:12 Login Succeeded 23:56:12 nexus3.edgexfoundry.org:10002 23:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:12 Configure a credential helper to remove this warning. See 23:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:12 23:56:12 Login Succeeded 23:56:12 nexus3.edgexfoundry.org:10003 23:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:13 Configure a credential helper to remove this warning. See 23:56:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:13 23:56:13 Login Succeeded 23:56:13 nexus3.edgexfoundry.org:10004 23:56:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:13 Configure a credential helper to remove this warning. See 23:56:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:13 23:56:13 Login Succeeded 23:56:13 docker.io 23:56:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:14 Configure a credential helper to remove this warning. See 23:56:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:14 23:56:14 Login Succeeded 23:56:14 ---> docker-login.sh ends [Pipeline] } 23:56:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:56:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:56:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:56:14 ========================================================= 23:56:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:56:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:14 + 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:56:14 Sending build context to Docker daemon 141.8kB 23:56:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:56:14 Step 2/12 : FROM ${BASE} AS builder 23:56:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:56:14 c41833b44d91: Pulling fs layer 23:56:14 ed15518f5707: Pulling fs layer 23:56:14 feae8fd75edb: Pulling fs layer 23:56:14 242c74f7c9fa: Pulling fs layer 23:56:14 3cdef696dda3: Pulling fs layer 23:56:14 2ced38df9373: Pulling fs layer 23:56:14 58f1dce35555: Pulling fs layer 23:56:14 242c74f7c9fa: Waiting 23:56:14 2ced38df9373: Waiting 23:56:14 58f1dce35555: Waiting 23:56:14 3cdef696dda3: Waiting 23:56:15 ed15518f5707: Verifying Checksum 23:56:15 ed15518f5707: Download complete 23:56:15 242c74f7c9fa: Verifying Checksum 23:56:15 242c74f7c9fa: Download complete 23:56:15 3cdef696dda3: Verifying Checksum 23:56:15 3cdef696dda3: Download complete 23:56:15 c41833b44d91: Verifying Checksum 23:56:15 c41833b44d91: Download complete 23:56:16 c41833b44d91: Pull complete 23:56:16 58f1dce35555: Verifying Checksum 23:56:16 58f1dce35555: Download complete 23:56:16 ed15518f5707: Pull complete 23:56:17 feae8fd75edb: Download complete 23:56:17 2ced38df9373: Verifying Checksum 23:56:17 2ced38df9373: Download complete 23:56:30 feae8fd75edb: Pull complete 23:56:30 242c74f7c9fa: Pull complete 23:56:30 3cdef696dda3: Pull complete 23:56:35 2ced38df9373: Pull complete 23:56:38 58f1dce35555: Pull complete 23:56:38 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:56:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:56:38 ---> fadd8f120f05 23:56:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:56:39 ---> Running in 3463d3806319 23:56:39 Removing intermediate container 3463d3806319 23:56:39 ---> 711511a5b806 23:56:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:56:39 ---> Running in 27291110e882 23:56:40 Removing intermediate container 27291110e882 23:56:40 ---> a91316e41a3c 23:56:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:56:40 ---> Running in e47f4e228261 23:56:40 Removing intermediate container e47f4e228261 23:56:40 ---> ae07e8deba55 23:56:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:56:40 ---> Running in 6f1bb27590a0 23:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:56:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:56:43 OK: 263 MiB in 53 packages 23:56:44 Removing intermediate container 6f1bb27590a0 23:56:44 ---> 7a34896b5829 23:56:44 Step 7/12 : WORKDIR /app 23:56:44 ---> Running in d5683d3429ef 23:56:44 Removing intermediate container d5683d3429ef 23:56:44 ---> 6591b9d9eda0 23:56:44 Step 8/12 : COPY go.mod vendor* ./ 23:56:45 ---> b6f20885abaf 23:56:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:56:45 ---> Running in 9dd53a51c351 23:57:53 Removing intermediate container 9dd53a51c351 23:57:53 ---> eecd7e0ea26a 23:57:53 Step 10/12 : COPY . . 23:57:53 ---> ce55077a218b 23:57:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:53 ---> Running in 683cdd9d526a 23:57:53 Removing intermediate container 683cdd9d526a 23:57:53 ---> f8be8f511475 23:57:53 Step 12/12 : RUN $MAKE 23:57:53 ---> Running in a658f9ea4f85 23:57:53 noop 23:57:53 Removing intermediate container a658f9ea4f85 23:57:53 ---> 7740b2055b97 23:57:53 Successfully built 7740b2055b97 23:57:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:53 + docker inspect -f . ci-base-image-arm64 23:57:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:53 prd-ubuntu20.04-docker-arm64-4c-16g-894 does not seem to be running inside a container 23:57:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@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:57:54 $ docker top 431fa0b12a6290466358402629c7cdadc8a5eda14369df065bfbd9091c3d81b3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:57:55 + go version 23:57:55 go version go1.20.2 linux/arm64 [Pipeline] } 23:57:55 $ docker stop --time=1 431fa0b12a6290466358402629c7cdadc8a5eda14369df065bfbd9091c3d81b3 23:57:57 $ docker rm -f --volumes 431fa0b12a6290466358402629c7cdadc8a5eda14369df065bfbd9091c3d81b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:57 + docker inspect -f . ci-base-image-arm64 23:57:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:58 prd-ubuntu20.04-docker-arm64-4c-16g-894 does not seem to be running inside a container 23:57:58 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@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:58:01 $ docker top ec937a5d780499525e75e5a064e398582c29b844d2e9026cc9ab5f11d1a287ce -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:01 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 23:58:02 + make test 23:58:02 go test -race -coverprofile=coverage.out ./... 00:00:53 ? github.com/edgexfoundry/app-record-replay [no test files] 00:00:53 ok github.com/edgexfoundry/app-record-replay/internal/app 0.218s coverage: 76.9% of statements 00:00:53 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.340s coverage: 89.6% of statements 00:00:55 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 00:00:55 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 00:00:55 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 00:00:55 ok github.com/edgexfoundry/app-record-replay/internal/data 0.199s coverage: 27.3% of statements 00:00:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:00:56 go vet ./... 00:03:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:03:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:03:33 ./bin/test-attribution-txt.sh [Pipeline] echo 00:03:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:03:33 $ docker stop --time=1 ec937a5d780499525e75e5a064e398582c29b844d2e9026cc9ab5f11d1a287ce 00:03:35 $ docker rm -f --volumes ec937a5d780499525e75e5a064e398582c29b844d2e9026cc9ab5f11d1a287ce [Pipeline] // withDockerContainer [Pipeline] sh 00:03:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:36 Warning: overwriting stash ‘coverage-report’ 00:03:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:38 + ls -al . 00:03:38 total 148 00:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 23:58 . 00:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 23:55 .. 00:03:38 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 23:55 .dockerignore 00:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 23:55 .git 00:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 23:55 .github 00:03:38 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 23:55 .gitignore 00:03:38 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 23:55 .golangci.yml 00:03:38 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 23:55 Attribution.txt 00:03:38 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 23:55 CHANGELOG.md 00:03:38 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 23:55 Dockerfile 00:03:38 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 23:55 GOVERNANCE.md 00:03:38 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 23:55 Jenkinsfile 00:03:38 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 23:55 LICENSE 00:03:38 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 23:55 Makefile 00:03:38 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 23:55 OWNERS.md 00:03:38 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 23:55 README.md 00:03:38 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 23:53 VERSION 00:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 23:55 bin 00:03:38 -rw-r--r-- 1 jenkins jenkins 5597 Jul 12 00:00 coverage.out 00:03:38 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 11 23:55 go.mod 00:03:38 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 11 23:55 go.sum 00:03:38 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 23:55 internal 00:03:38 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 23:55 main.go 00:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 23:55 pkg 00:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 23:55 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:38 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8b19c112885f4130b9e8b20308ccd5c21a58aa07 --label arch=arm64 --label version=0.0.0 . 00:03:38 Sending build context to Docker daemon 148kB 00:03:38 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:03:38 Step 2/26 : FROM ${BASE} AS builder 00:03:38 ---> 7740b2055b97 00:03:38 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:03:38 ---> Running in 53eb0803e30e 00:03:38 Removing intermediate container 53eb0803e30e 00:03:38 ---> 59b5f67bc37d 00:03:38 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:03:39 ---> Running in 26ba337d629b 00:03:39 Removing intermediate container 26ba337d629b 00:03:39 ---> c4e6f676f27c 00:03:39 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:03:39 ---> Running in a3434a598dc5 00:03:39 Removing intermediate container a3434a598dc5 00:03:39 ---> 41a4857fb0c7 00:03:39 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:40 ---> Running in 80fc0688daa8 00:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:03:42 OK: 263 MiB in 53 packages 00:03:43 Removing intermediate container 80fc0688daa8 00:03:43 ---> b75010f913c9 00:03:43 Step 7/26 : WORKDIR /app 00:03:43 ---> Running in 6599b0431486 00:03:43 Removing intermediate container 6599b0431486 00:03:43 ---> 4953aa13e577 00:03:43 Step 8/26 : COPY go.mod vendor* ./ 00:03:44 ---> c4b0e49db027 00:03:44 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:44 ---> Running in 73ba856c476d 00:03:47 Removing intermediate container 73ba856c476d 00:03:47 ---> c8396d888dec 00:03:47 Step 10/26 : COPY . . 00:03:47 ---> 581b37fb81e9 00:03:47 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:03:47 ---> Running in ef27ec5fe10e 00:03:48 Removing intermediate container ef27ec5fe10e 00:03:48 ---> 423e73d9c47f 00:03:48 Step 12/26 : RUN $MAKE 00:03:48 ---> Running in f8f10cd5c97c 00:03:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 00:06:10 Removing intermediate container f8f10cd5c97c 00:06:10 ---> fb2691677343 00:06:10 Step 13/26 : FROM alpine:3.17 00:06:10 3.17: Pulling from library/alpine 00:06:10 edb6bdbacee9: Pulling fs layer 00:06:10 edb6bdbacee9: Download complete 00:06:10 edb6bdbacee9: Pull complete 00:06:10 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:06:10 Status: Downloaded newer image for alpine:3.17 00:06:10 ---> 779605e5fbc0 00:06:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:06:10 ---> Running in cf208a05176d 00:06:10 Removing intermediate container cf208a05176d 00:06:10 ---> a1cc7a973c58 00:06:10 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 00:06:10 ---> Running in 568dabb05911 00:06:10 Removing intermediate container 568dabb05911 00:06:10 ---> 0da8fe14c416 00:06:10 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:06:10 ---> Running in b59811cc82c3 00:06:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:06:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:06:10 (1/2) Installing ca-certificates (20230506-r0) 00:06:10 (2/2) Installing dumb-init (1.2.5-r2) 00:06:10 Executing busybox-1.35.0-r29.trigger 00:06:10 Executing ca-certificates-20230506-r0.trigger 00:06:10 OK: 8 MiB in 17 packages 00:06:10 Removing intermediate container b59811cc82c3 00:06:10 ---> 189b0fb381af 00:06:10 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:06:10 ---> 1e796a4b5bf3 00:06:10 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:06:10 ---> 28fa64ab6b98 00:06:10 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:06:10 ---> a0f2cf86df8e 00:06:10 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 00:06:12 ---> 3bf621dc3dbb 00:06:12 Step 21/26 : EXPOSE 59712 00:06:12 ---> Running in 12b2a4c38a3d 00:06:12 Removing intermediate container 12b2a4c38a3d 00:06:12 ---> b5a720385c4b 00:06:12 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 00:06:12 ---> Running in 2523511e25d0 00:06:12 Removing intermediate container 2523511e25d0 00:06:12 ---> e64067957d5e 00:06:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:06:13 ---> Running in 8f03385704dd 00:06:13 Removing intermediate container 8f03385704dd 00:06:13 ---> ec361c06acc7 00:06:13 Step 24/26 : LABEL arch=arm64 00:06:13 ---> Running in b6575f4d8e00 00:06:13 Removing intermediate container b6575f4d8e00 00:06:13 ---> 7ce30bebb931 00:06:13 Step 25/26 : LABEL git_sha=8b19c112885f4130b9e8b20308ccd5c21a58aa07 00:06:13 ---> Running in aca51870064d 00:06:13 Removing intermediate container aca51870064d 00:06:13 ---> f15221255a78 00:06:13 Step 26/26 : LABEL version=0.0.0 00:06:14 ---> Running in 746fc05bc520 00:06:14 Removing intermediate container 746fc05bc520 00:06:14 ---> 55b88d0e775c 00:06:14 [Warning] One or more build-args [ARCH] were not consumed 00:06:14 Successfully built 55b88d0e775c 00:06:14 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:14 00:06:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:15 arm64: Pulling from edgex-lftools-log-publisher 00:06:15 8998bd30e6a1: Pulling fs layer 00:06:15 04944245beec: Pulling fs layer 00:06:15 699f458cf7ca: Pulling fs layer 00:06:15 765212b225bb: Pulling fs layer 00:06:15 f23df028b6ca: Pulling fs layer 00:06:15 d65c8cfc05b1: Pulling fs layer 00:06:15 2437ff75d9bd: Pulling fs layer 00:06:15 f23df028b6ca: Waiting 00:06:15 d65c8cfc05b1: Waiting 00:06:15 765212b225bb: Waiting 00:06:15 2437ff75d9bd: Waiting 00:06:15 04944245beec: Verifying Checksum 00:06:15 04944245beec: Download complete 00:06:15 765212b225bb: Verifying Checksum 00:06:15 765212b225bb: Download complete 00:06:15 f23df028b6ca: Verifying Checksum 00:06:15 f23df028b6ca: Download complete 00:06:15 d65c8cfc05b1: Verifying Checksum 00:06:15 d65c8cfc05b1: Download complete 00:06:15 699f458cf7ca: Verifying Checksum 00:06:15 699f458cf7ca: Download complete 00:06:16 8998bd30e6a1: Download complete 00:06:17 2437ff75d9bd: Verifying Checksum 00:06:17 2437ff75d9bd: Download complete 00:06:21 8998bd30e6a1: Pull complete 00:06:21 04944245beec: Pull complete 00:06:22 699f458cf7ca: Pull complete 00:06:22 765212b225bb: Pull complete 00:06:23 f23df028b6ca: Pull complete 00:06:23 d65c8cfc05b1: Pull complete 00:06:36 2437ff75d9bd: Pull complete 00:06:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:36 prd-ubuntu20.04-docker-arm64-4c-16g-894 does not seem to be running inside a container 00:06:36 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:06:39 $ docker top fd01d1ed991c964f20d76afb36358c6bdeb664c492baeb9689ea1516234dba77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:39 ---> job-cost.sh 00:06:39 lf-activate-venv: SKIPPING 00:06:39 INFO: No Stack... 00:06:40 INFO: Retrieving Pricing Info for: v3-standard-4 00:06:41 INFO: Archiving Costs [Pipeline] sh 00:06:42 + + cat /w/workspace/app-record-replay/2/archives/cost.csv 00:06:42 cut -d, -f6 [Pipeline] lock 00:06:42 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-38-2-stack-cost] 00:06:42 Resource [jenkins-edgexfoundry-app-record-replay-PR-38-2-stack-cost] did not exist. Created. 00:06:42 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-38-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:06:42 /w/workspace/app-record-replay/2@tmp/durable-2c556c96/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:06:43 + echo total: 0.10999999940395355 [Pipeline] stash 00:06:43 Warning: overwriting stash ‘stack-cost’ 00:06:43 Stashed 1 file(s) [Pipeline] } 00:06:43 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-38-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:06:43 $ docker stop --time=1 fd01d1ed991c964f20d76afb36358c6bdeb664c492baeb9689ea1516234dba77 00:06:47 $ docker rm -f --volumes fd01d1ed991c964f20d76afb36358c6bdeb664c492baeb9689ea1516234dba77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:06:48 provisioning config files... 00:06:48 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-38 #2 00:06:48 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-38@tmp/config2060155905489784489tmp [Pipeline] { [Pipeline] sh 00:06:48 + set +x 00:06:48 + curl -s https://codecov.io/bash 00:06:48 + bash -s -- 00:06:48 00:06:48 _____ _ 00:06:48 / ____| | | 00:06:48 | | ___ __| | ___ ___ _____ __ 00:06:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:06:48 | |___| (_) | (_| | __/ (_| (_) \ V / 00:06:48 \_____\___/ \__,_|\___|\___\___/ \_/ 00:06:48 Bash-1.0.6 00:06:48 00:06:48 00:06:48 ==> git version 2.25.1 found 00:06:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:06:48 Release-Date: 2020-01-08 00:06:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:06:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:06:48 ==> Jenkins CI detected. 00:06:48 current dir:  /w/workspace/xfoundry_app-record-replay_PR-38 00:06:48 project root: . 00:06:48 --> token set from env 00:06:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:06:48 ==> Running gcov in . (disable via -X gcov) 00:06:48 ==> Python coveragepy not found 00:06:48 ==> Searching for coverage reports in: 00:06:48 + . 00:06:48 -> Found 1 reports 00:06:48 ==> Detecting git/mercurial file structure 00:06:48 ==> Reading reports 00:06:48 + ./coverage.out bytes=5597 00:06:48 ==> Appending adjustments 00:06:48 https://docs.codecov.io/docs/fixing-reports 00:06:48 + Found adjustments 00:06:48 ==> Gzipping contents 00:06:48 4.0K /tmp/codecov.Hw8lyi.gz 00:06:48 ==> Uploading reports 00:06:48 url: https://codecov.io 00:06:48 query: branch=PR-38&commit=8b19c112885f4130b9e8b20308ccd5c21a58aa07&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-38%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=38&job=&cmd_args= 00:06:48 -> Pinging Codecov 00:06:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-38&commit=8b19c112885f4130b9e8b20308ccd5c21a58aa07&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-38%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=38&job=&cmd_args= 00:06:48 Invalid request parameters 00:06:48 400 [Pipeline] } 00:06:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:06:49 + [ -d /w/workspace/xfoundry_app-record-replay_PR-38/archives ] 00:06:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-38/archives 00:06:49 total 16 00:06:49 drwxr-xr-x 3 root root 4096 Jul 11 23:56 . 00:06:49 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 23:56 .. 00:06:49 drwxr-xr-x 2 root root 4096 Jul 11 23:56 cost 00:06:49 -rw-r--r-- 1 root root 88 Jul 11 23:56 cost.csv 00:06:49 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-38/archives 00:06:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-38/archives 00:06:49 total 16 00:06:49 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 23:56 . 00:06:49 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 23:56 .. 00:06:49 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 23:56 cost 00:06:49 -rw-r--r-- 1 jenkins jenkins 88 Jul 11 23:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:06:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:06:50 ---> package-listing.sh 00:06:50 ++ facter osfamily 00:06:50 ++ tr '[:upper:]' '[:lower:]' 00:06:51 + OS_FAMILY=debian 00:06:51 + workspace=/w/workspace/xfoundry_app-record-replay_PR-38 00:06:51 + START_PACKAGES=/tmp/packages_start.txt 00:06:51 + END_PACKAGES=/tmp/packages_end.txt 00:06:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:06:51 + PACKAGES=/tmp/packages_start.txt 00:06:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-38 ']' 00:06:51 + PACKAGES=/tmp/packages_end.txt 00:06:51 + case "${OS_FAMILY}" in 00:06:51 + dpkg -l 00:06:51 + grep '^ii' 00:06:51 + '[' -f /tmp/packages_start.txt ']' 00:06:51 + '[' -f /tmp/packages_end.txt ']' 00:06:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:06:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-38 ']' 00:06:51 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-38/archives/ 00:06:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-38/archives/ [Pipeline] echo 00:06:51 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-38/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:06:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:51 prd-ubuntu20.04-docker-8c-8g-893 does not seem to be running inside a container 00:06:52 $ 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-38/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-38 -v /w/workspace/xfoundry_app-record-replay_PR-38:/w/workspace/xfoundry_app-record-replay_PR-38:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-38@tmp:/w/workspace/xfoundry_app-record-replay_PR-38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:06:52 $ docker top 23dd21e83c5ee244430b1c09a5ce23e4655049ba26901e22857b74fe1dd9a147 -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:52 + touch /tmp/pre-build-complete [Pipeline] sh 00:06:52 + mkdir -p /var/log/sysstat [Pipeline] sh 00:06:53 + ls /var/log/sa-host 00:06:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:53 provisioning config files... 00:06:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-38@tmp/config6615344173712976060tmp [Pipeline] { [Pipeline] echo 00:06:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:06:53 ---> create-netrc.sh [Pipeline] } 00:06:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:06:53 ---> python-tools-install.sh [Pipeline] echo 00:06:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:06:54 ---> sudo-logs.sh 00:06:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:06:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:06:54 ---> job-cost.sh 00:06:54 lf-activate-venv: SKIPPING 00:06:54 DEBUG: total: 0.2199999988079071 00:06:54 INFO: Retrieving Stack Cost... 00:06:55 INFO: Retrieving Pricing Info for: v3-standard-8 00:06:55 INFO: Archiving Costs [Pipeline] echo 00:06:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:06:55 ---> logs-deploy.sh 00:06:55 lf-activate-venv: SKIPPING 00:06:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-38/2 00:06:55 INFO: archiving workspace using pattern(s): 00:06:56 Archives upload complete. 00:06:56 INFO: archiving logs to Nexus