Pull request #166 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 005f54edb76a5dc5cac56af0c7e8542faa8804a6+56a76017a4c78fe79ed9b52823f4ed35d3337cbd (c388d8b1868ba55ce651331bda792991f386bed5) 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-ssh12976509976179064657.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh9768377112796054542.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15485723410841380814.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11909835877250424007.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5231477948126729176.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-166/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-166/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6887822639951600027.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-36319’ Running on prd-ubuntu20.04-docker-8c-8g-36320 in /w/workspace/foundry_app-record-replay_PR-166 [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/foundry_app-record-replay_PR-166 # 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 56a76017a4c78fe79ed9b52823f4ed35d3337cbd into PR head commit 005f54edb76a5dc5cac56af0c7e8542faa8804a6 Merge succeeded, producing 005f54edb76a5dc5cac56af0c7e8542faa8804a6 Checking out Revision 005f54edb76a5dc5cac56af0c7e8542faa8804a6 (PR-166) > 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/166/head:refs/remotes/origin/PR-166 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 005f54edb76a5dc5cac56af0c7e8542faa8804a6 # 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 56a76017a4c78fe79ed9b52823f4ed35d3337cbd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 005f54edb76a5dc5cac56af0c7e8542faa8804a6 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:18:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:18:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:18:27 ========================================================= 03:18:27 EdgeX Global Pipelines Version Info 03:18:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:18:28 ------------------- 03:18:28 stable info: 03:18:28 ------------------- 03:18:28 Commited By: Cherry Wang cherry@iotechsys.com 03:18:28 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:18:28 Message: update stable to v1.0.269 03:18:29 ------------------- 03:18:29 experimental info: 03:18:29 ------------------- 03:18:29 Commited By: **** collab-it+edgex@linuxfoundation.org 03:18:29 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 03:18:29 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:18:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-166 [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-166 [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-166 [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 005f54edb76a5dc5cac56af0c7e8542faa8804a6 [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 005f54e [Pipeline] echo 03:18:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:31 provisioning config files... 03:18:31 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-166@tmp/config2647990292742681538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:31 ---> ****-login.sh 03:18:31 nexus3.edgexfoundry.org:10001 03:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:31 Configure a credential helper to remove this warning. See 03:18:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:31 03:18:31 Login Succeeded 03:18:31 nexus3.edgexfoundry.org:10002 03:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:31 Configure a credential helper to remove this warning. See 03:18:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:31 03:18:31 Login Succeeded 03:18:31 nexus3.edgexfoundry.org:10003 03:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:31 Configure a credential helper to remove this warning. See 03:18:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:31 03:18:31 Login Succeeded 03:18:31 nexus3.edgexfoundry.org:10004 03:18:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:32 Configure a credential helper to remove this warning. See 03:18:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:32 03:18:32 Login Succeeded 03:18:32 ****.io 03:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:32 Configure a credential helper to remove this warning. See 03:18:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:32 03:18:32 Login Succeeded 03:18:32 ---> ****-login.sh ends [Pipeline] } 03:18:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:18:33 + git rev-list -1 --merges 005f54edb76a5dc5cac56af0c7e8542faa8804a6~1..005f54edb76a5dc5cac56af0c7e8542faa8804a6 [Pipeline] echo 03:18:33 -----------> git rev-list -1 --merges 005f54edb76a5dc5cac56af0c7e8542faa8804a6~1..005f54edb76a5dc5cac56af0c7e8542faa8804a6 005f54edb76a5dc5cac56af0c7e8542faa8804a6 [false] [Pipeline] sh 03:18:33 + git log --format=format:%s -1 005f54edb76a5dc5cac56af0c7e8542faa8804a6 [Pipeline] echo 03:18:33 ========================================================= 03:18:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:18:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:18:34 + git log --format=format:%s -1 005f54edb76a5dc5cac56af0c7e8542faa8804a6 [Pipeline] echo 03:18:34 [semverPrep] GIT_COMMIT: 005f54edb76a5dc5cac56af0c7e8542faa8804a6, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v4 [Pipeline] echo 03:18:34 [semverPrep] This is not a build commit. [Pipeline] sh 03:18:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:18:34 + grep -v github /etc/ssh/ssh_known_hosts 03:18:34 + [ -e /tmp/ssh_known_hosts ] 03:18:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:18:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:18:34 + sudo tee -a /etc/ssh/ssh_known_hosts 03:18:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:34 03:18:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:35 0.1.4: Pulling from edgex-devops/py-git-semver 03:18:35 b85a868b505f: Pulling fs layer 03:18:35 e2be974225ed: Pulling fs layer 03:18:35 339a4e72a1f5: Pulling fs layer 03:18:35 988bab9f4d93: Pulling fs layer 03:18:35 1469e6f7b9e6: Pulling fs layer 03:18:35 eaf3925da568: Pulling fs layer 03:18:35 bab4dde63d76: Pulling fs layer 03:18:35 bde34c3a00c8: Pulling fs layer 03:18:35 b352a97aabf1: Pulling fs layer 03:18:35 4872d77fe225: Pulling fs layer 03:18:35 5851b861e8e6: Pulling fs layer 03:18:35 bde34c3a00c8: Waiting 03:18:35 988bab9f4d93: Waiting 03:18:35 1469e6f7b9e6: Waiting 03:18:35 eaf3925da568: Waiting 03:18:35 b352a97aabf1: Waiting 03:18:35 bab4dde63d76: Waiting 03:18:35 4872d77fe225: Waiting 03:18:35 5851b861e8e6: Waiting 03:18:35 e2be974225ed: Download complete 03:18:35 988bab9f4d93: Verifying Checksum 03:18:35 988bab9f4d93: Download complete 03:18:35 1469e6f7b9e6: Verifying Checksum 03:18:35 1469e6f7b9e6: Download complete 03:18:35 eaf3925da568: Verifying Checksum 03:18:35 eaf3925da568: Download complete 03:18:35 339a4e72a1f5: Verifying Checksum 03:18:35 339a4e72a1f5: Download complete 03:18:35 bde34c3a00c8: Download complete 03:18:35 b352a97aabf1: Download complete 03:18:35 4872d77fe225: Download complete 03:18:35 5851b861e8e6: Verifying Checksum 03:18:35 5851b861e8e6: Download complete 03:18:35 b85a868b505f: Verifying Checksum 03:18:35 b85a868b505f: Download complete 03:18:35 bab4dde63d76: Verifying Checksum 03:18:35 bab4dde63d76: Download complete 03:18:36 b85a868b505f: Pull complete 03:18:37 e2be974225ed: Pull complete 03:18:37 339a4e72a1f5: Pull complete 03:18:37 988bab9f4d93: Pull complete 03:18:37 1469e6f7b9e6: Pull complete 03:18:37 eaf3925da568: Pull complete 03:18:39 bab4dde63d76: Pull complete 03:18:39 bde34c3a00c8: Pull complete 03:18:40 b352a97aabf1: Pull complete 03:18:40 4872d77fe225: Pull complete 03:18:40 5851b861e8e6: Pull complete 03:18:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:18:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:40 prd-ubuntu20.04-docker-8c-8g-36320 does not seem to be running inside a container 03:18:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-166 -v /w/workspace/foundry_app-record-replay_PR-166:/w/workspace/foundry_app-record-replay_PR-166:rw,z -v /w/workspace/foundry_app-record-replay_PR-166@tmp:/w/workspace/foundry_app-record-replay_PR-166@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:18:43 $ docker top ddf372d87fe8fcdd1bb7528002a0fc3256958b62d8413f55d923e70f95f11cb0 -eo pid,comm 03:18:43 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). 03:18:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:18:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:43 [ssh-agent] Looking for ssh-agent implementation... 03:18:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:43 $ docker exec ddf372d87fe8fcdd1bb7528002a0fc3256958b62d8413f55d923e70f95f11cb0 ssh-agent 03:18:43 SSH_AUTH_SOCK=/tmp/ssh-5KeOJciLsvqP/agent.32 03:18:43 SSH_AGENT_PID=38 03:18:43 Running ssh-add (command line suppressed) 03:18:43 Identity added: /w/workspace/foundry_app-record-replay_PR-166@tmp/private_key_7449579192953625111.key (/w/workspace/foundry_app-record-replay_PR-166@tmp/private_key_7449579192953625111.key) 03:18:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:44 + git tag --points-at HEAD [Pipeline] } 03:18:44 $ docker exec --env ******** --env ******** ddf372d87fe8fcdd1bb7528002a0fc3256958b62d8413f55d923e70f95f11cb0 ssh-agent -k 03:18:44 unset SSH_AUTH_SOCK; 03:18:44 unset SSH_AGENT_PID; 03:18:44 echo Agent pid 38 killed; 03:18:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:18:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:44 [ssh-agent] Looking for ssh-agent implementation... 03:18:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:44 $ docker exec ddf372d87fe8fcdd1bb7528002a0fc3256958b62d8413f55d923e70f95f11cb0 ssh-agent 03:18:44 SSH_AUTH_SOCK=/tmp/ssh-ir1sue8ZvSrd/agent.71 03:18:44 SSH_AGENT_PID=77 03:18:44 Running ssh-add (command line suppressed) 03:18:44 Identity added: /w/workspace/foundry_app-record-replay_PR-166@tmp/private_key_1966874242733640586.key (/w/workspace/foundry_app-record-replay_PR-166@tmp/private_key_1966874242733640586.key) 03:18:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:45 + git semver init 03:18:45 2025-01-08 03:18:45,402 [run_init] DEBUG init version:0.0.0 force:False 03:18:45 2025-01-08 03:18:45,403 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-166/.semver 03:18:45 2025-01-08 03:18:45,404 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-166/.semver 03:18:45 2025-01-08 03:18:45,404 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-166/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-166, universal_newlines=False, shell=None, istream=None) 03:18:47 2025-01-08 03:18:46,959 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-166/.git/info/exclude 03:18:47 2025-01-08 03:18:46,960 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-166/.semver/PR-166 with force:False 03:18:47 2025-01-08 03:18:46,960 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-166/.semver/PR-166 03:18:47 2025-01-08 03:18:46,963 [execute] INFO git cat-file --batch-check 03:18:47 2025-01-08 03:18:46,963 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-166/.semver, universal_newlines=False, shell=None, istream=) 03:18:47 2025-01-08 03:18:46,969 [execute] INFO git cat-file --batch 03:18:47 2025-01-08 03:18:46,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-166/.semver, universal_newlines=False, shell=None, istream=) 03:18:47 2025-01-08 03:18:46,975 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-166/.semver/PR-166 03:18:47 0.0.0 [Pipeline] } 03:18:47 $ docker exec --env ******** --env ******** ddf372d87fe8fcdd1bb7528002a0fc3256958b62d8413f55d923e70f95f11cb0 ssh-agent -k 03:18:47 unset SSH_AUTH_SOCK; 03:18:47 unset SSH_AGENT_PID; 03:18:47 echo Agent pid 77 killed; 03:18:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:18:47 + git semver [Pipeline] } 03:18:48 $ docker stop --time=1 ddf372d87fe8fcdd1bb7528002a0fc3256958b62d8413f55d923e70f95f11cb0 03:18:49 $ docker rm -f --volumes ddf372d87fe8fcdd1bb7528002a0fc3256958b62d8413f55d923e70f95f11cb0 [Pipeline] // withDockerContainer [Pipeline] sh 03:18:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:18:50 Stashed 1 file(s) [Pipeline] echo 03:18:50 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:51 provisioning config files... 03:18:51 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-166@tmp/config1549439878575161732tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 03:18:51 ---> ****-login.sh 03:18:51 nexus3.edgexfoundry.org:10001 03:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:51 Configure a credential helper to remove this warning. See 03:18:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:51 03:18:51 Login Succeeded 03:18:51 nexus3.edgexfoundry.org:10002 03:18:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:51 Configure a credential helper to remove this warning. See 03:18:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:51 03:18:51 Login Succeeded 03:18:51 nexus3.edgexfoundry.org:10003 03:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:52 Configure a credential helper to remove this warning. See 03:18:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:52 03:18:52 Login Succeeded 03:18:52 nexus3.edgexfoundry.org:10004 03:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:52 Configure a credential helper to remove this warning. See 03:18:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:52 03:18:52 Login Succeeded 03:18:52 ****.io 03:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:18:52 Configure a credential helper to remove this warning. See 03:18:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:18:52 03:18:52 Login Succeeded 03:18:52 ---> ****-login.sh ends [Pipeline] } 03:18:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:18:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:18:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:18:52 ========================================================= 03:18:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:18:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 03:18:53 Sending build context to Docker daemon 9.861MB 03:18:53 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 03:18:53 Step 2/12 : FROM ${BASE} AS builder 03:18:53 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:18:53 da9db072f522: Pulling fs layer 03:18:53 6ef4a4ee8ca5: Pulling fs layer 03:18:53 06f05ace1117: Pulling fs layer 03:18:53 5fe327b54edc: Pulling fs layer 03:18:53 4f4fb700ef54: Pulling fs layer 03:18:53 92a5565b7b96: Pulling fs layer 03:18:53 ff9bb7016b71: Pulling fs layer 03:18:53 b67dba6c2c7d: Pulling fs layer 03:18:53 a813b0c90790: Pulling fs layer 03:18:53 4f4fb700ef54: Waiting 03:18:53 92a5565b7b96: Waiting 03:18:53 ff9bb7016b71: Waiting 03:18:53 5fe327b54edc: Waiting 03:18:53 b67dba6c2c7d: Waiting 03:18:53 a813b0c90790: Waiting 03:18:53 6ef4a4ee8ca5: Download complete 03:18:53 5fe327b54edc: Download complete 03:18:53 4f4fb700ef54: Verifying Checksum 03:18:53 4f4fb700ef54: Download complete 03:18:53 92a5565b7b96: Verifying Checksum 03:18:53 92a5565b7b96: Download complete 03:18:53 ff9bb7016b71: Verifying Checksum 03:18:53 ff9bb7016b71: Download complete 03:18:53 da9db072f522: Pull complete 03:18:53 a813b0c90790: Download complete 03:18:53 6ef4a4ee8ca5: Pull complete 03:18:54 06f05ace1117: Verifying Checksum 03:18:54 06f05ace1117: Download complete 03:18:54 b67dba6c2c7d: Verifying Checksum 03:18:54 b67dba6c2c7d: Download complete 03:18:57 06f05ace1117: Pull complete 03:18:57 5fe327b54edc: Pull complete 03:18:57 4f4fb700ef54: Pull complete 03:18:57 92a5565b7b96: Pull complete 03:18:57 ff9bb7016b71: Pull complete 03:19:00 b67dba6c2c7d: Pull complete 03:19:00 a813b0c90790: Pull complete 03:19:00 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 03:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:19:00 ---> 3ba60ce46760 03:19:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:19:05 ---> Running in eb4adf893c9a 03:19:05 Removing intermediate container eb4adf893c9a 03:19:05 ---> cd2ed0d9cbcc 03:19:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:19:05 ---> Running in e9ff75510f00 03:19:05 Removing intermediate container e9ff75510f00 03:19:05 ---> 5d4f0a47f64f 03:19:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:19:05 ---> Running in 266b07f897d5 03:19:05 Removing intermediate container 266b07f897d5 03:19:05 ---> 4481d64f8aaf 03:19:05 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:19:05 ---> Running in 271a11c8b81e 03:19:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:19:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:19:06 OK: 248 MiB in 58 packages 03:19:06 Removing intermediate container 271a11c8b81e 03:19:06 ---> 2673ea24788f 03:19:06 Step 7/12 : WORKDIR /app 03:19:06 ---> Running in bf1070374878 03:19:06 Removing intermediate container bf1070374878 03:19:06 ---> 766c36a3d51e 03:19:06 Step 8/12 : COPY go.mod vendor* ./ 03:19:06 ---> 904c16d110f6 03:19:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:19:06 ---> Running in 737818757bdf 03:19:53 Removing intermediate container 737818757bdf 03:19:53 ---> d674b2840dde 03:19:53 Step 10/12 : COPY . . 03:19:53 ---> 480eab2fa0b5 03:19:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:19:53 ---> Running in 68aa608003ed 03:19:53 Removing intermediate container 68aa608003ed 03:19:53 ---> 729d973ff471 03:19:53 Step 12/12 : RUN $MAKE 03:19:53 ---> Running in 79362b33fc09 03:19:53 noop 03:19:53 Removing intermediate container 79362b33fc09 03:19:53 ---> 9360a5c60235 03:19:53 Successfully built 9360a5c60235 03:19:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:54 + docker inspect -f . ci-base-image-x86_64 03:19:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:54 prd-ubuntu20.04-docker-8c-8g-36320 does not seem to be running inside a container 03:19:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-166 -v /w/workspace/foundry_app-record-replay_PR-166:/w/workspace/foundry_app-record-replay_PR-166:rw,z -v /w/workspace/foundry_app-record-replay_PR-166@tmp:/w/workspace/foundry_app-record-replay_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:19:54 $ docker top c84a86227e1b96489d1144825e663199928a6db04325ba7e1ca5c2218daf8b45 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:55 + go version 03:19:55 go version go1.23.4 linux/amd64 [Pipeline] } 03:19:55 $ docker stop --time=1 c84a86227e1b96489d1144825e663199928a6db04325ba7e1ca5c2218daf8b45 03:19:56 $ docker rm -f --volumes c84a86227e1b96489d1144825e663199928a6db04325ba7e1ca5c2218daf8b45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:57 + docker inspect -f . ci-base-image-x86_64 03:19:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:57 prd-ubuntu20.04-docker-8c-8g-36320 does not seem to be running inside a container 03:19:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_app-record-replay_PR-166 -v /w/workspace/foundry_app-record-replay_PR-166:/w/workspace/foundry_app-record-replay_PR-166:rw,z -v /w/workspace/foundry_app-record-replay_PR-166@tmp:/w/workspace/foundry_app-record-replay_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:19:57 $ docker top eb06bef9b09fd1d14b894c7a649214dacd6bf9e7644df8fee34b695f8d9eb93e -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:58 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-166 [Pipeline] fileExists [Pipeline] sh 03:19:58 + make test 03:19:58 go test -race -coverprofile=coverage.out ./... 03:20:37 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:20:37 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:20:37 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 03:20:37 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 03:20:37 ok github.com/edgexfoundry/app-record-replay/internal/app 1.028s coverage: 88.0% of statements 03:20:41 ok github.com/edgexfoundry/app-record-replay/internal/application 9.588s coverage: 98.7% of statements 03:20:41 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.081s coverage: 89.7% of statements 03:20:41 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.019s coverage: 100.0% of statements 03:20:41 running golangci-lint 03:20:41 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 03:20:41 go version go1.23.4 linux/amd64 03:20:41 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 03:20:41 level=info msg="[config_reader] Used config file .golangci.yml" 03:20:41 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 03:21:07 level=info msg="[loader] Go packages loading at mode 575 (types_sizes|deps|exports_file|files|name|compiled_files|imports) took 23.430010679s" 03:21:07 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 6.737803ms" 03:21:17 level=info msg="[linters_context/goanalysis] analyzers took 58.65963674s with top 10 stages: buildir: 46.680316871s, inspect: 2.327012375s, fact_deprecated: 2.15083906s, printf: 1.215367171s, ctrlflow: 1.213153913s, fact_purity: 1.016141943s, nilness: 915.666383ms, typedness: 472.626617ms, SA5012: 459.095903ms, tokenfileanalyzer: 225.357238ms" 03:21:17 level=info msg="[runner] Issues before processing: 10, after processing: 0" 03:21:17 level=info msg="[runner] Processors filtering stat (in/out): path_prettifier: 10/10, skip_files: 10/10, autogenerated_exclude: 10/10, invalid_issue: 10/10, skip_dirs: 10/10, identifier_marker: 10/10, exclude: 10/10, exclude-rules: 10/0, cgo: 10/10, filename_unadjuster: 10/10" 03:21:17 level=info msg="[runner] processing took 875.633µs with stages: identifier_marker: 453.277µs, autogenerated_exclude: 135.335µs, exclude-rules: 101.254µs, path_prettifier: 78.153µs, skip_dirs: 53.992µs, invalid_issue: 37.291µs, cgo: 6.04µs, filename_unadjuster: 1.701µs, max_same_issues: 1.51µs, nolint: 1.34µs, uniq_by_line: 1.09µs, fixer: 810ns, max_from_linter: 620ns, skip_files: 550ns, sort_results: 550ns, exclude: 530ns, diff: 310ns, max_per_file_from_linter: 270ns, path_shortener: 270ns, source_code: 270ns, path_prefixer: 240ns, severity-rules: 230ns" 03:21:17 level=info msg="[runner] linters took 11.743834043s with stages: goanalysis_metalinter: 11.742811346s" 03:21:17 level=info msg="File cache stats: 0 entries of total size 0B" 03:21:17 level=info msg="Memory: 353 samples, avg is 235.4MB, max is 1035.8MB" 03:21:17 level=info msg="Execution took 35.188389232s" 03:21:17 go vet ./... 03:21:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:21:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:21:23 ./bin/test-attribution-txt.sh [Pipeline] echo 03:21:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:21:23 $ docker stop --time=1 eb06bef9b09fd1d14b894c7a649214dacd6bf9e7644df8fee34b695f8d9eb93e 03:21:27 $ docker rm -f --volumes eb06bef9b09fd1d14b894c7a649214dacd6bf9e7644df8fee34b695f8d9eb93e [Pipeline] // withDockerContainer [Pipeline] sh 03:21:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:21:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:21:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:21:29 + ls -al . 03:21:29 total 264 03:21:29 drwxrwxr-x 10 jenkins jenkins 4096 Jan 8 03:19 . 03:21:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 8 03:18 .. 03:21:29 -rw-rw-r-- 1 jenkins jenkins 119 Jan 8 03:18 .dockerignore 03:21:29 drwxrwxr-x 8 jenkins jenkins 4096 Jan 8 03:20 .git 03:21:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 8 03:18 .github 03:21:29 -rw-rw-r-- 1 jenkins jenkins 164 Jan 8 03:18 .gitignore 03:21:29 -rw-rw-r-- 1 jenkins jenkins 41 Jan 8 03:18 .golangci.yml 03:21:29 drwxr-xr-x 3 jenkins jenkins 4096 Jan 8 03:18 .semver 03:21:29 -rw-rw-r-- 1 jenkins jenkins 16870 Jan 8 03:18 Attribution.txt 03:21:29 -rw-rw-r-- 1 jenkins jenkins 458 Jan 8 03:18 CHANGELOG.md 03:21:29 -rw-rw-r-- 1 jenkins jenkins 1726 Jan 8 03:18 Dockerfile 03:21:29 -rw-rw-r-- 1 jenkins jenkins 677 Jan 8 03:18 GOVERNANCE.md 03:21:29 -rw-rw-r-- 1 jenkins jenkins 681 Jan 8 03:18 Jenkinsfile 03:21:29 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 8 03:18 LICENSE 03:21:29 -rw-rw-r-- 1 jenkins jenkins 3851 Jan 8 03:18 Makefile 03:21:29 -rw-rw-r-- 1 jenkins jenkins 611 Jan 8 03:18 OWNERS.md 03:21:29 -rw-rw-r-- 1 jenkins jenkins 4107 Jan 8 03:18 README.md 03:21:29 -rw-rw-r-- 1 jenkins jenkins 7789 Jan 8 03:18 Record and Reply.postman_collection.json 03:21:29 -rw-rw-r-- 1 jenkins jenkins 5 Jan 8 03:18 VERSION 03:21:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 8 03:18 bin 03:21:29 -rw-r--r-- 1 jenkins jenkins 34247 Jan 8 03:20 coverage.out 03:21:29 -rw-rw-r-- 1 jenkins jenkins 6720 Jan 8 03:18 go.mod 03:21:29 -rw-rw-r-- 1 jenkins jenkins 87876 Jan 8 03:18 go.sum 03:21:29 drwxrwxr-x 7 jenkins jenkins 4096 Jan 8 03:18 internal 03:21:29 -rw-rw-r-- 1 jenkins jenkins 913 Jan 8 03:18 main.go 03:21:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 8 03:18 openapi 03:21:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 8 03:18 pkg 03:21:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 8 03:18 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:29 + 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=005f54edb76a5dc5cac56af0c7e8542faa8804a6 --label arch=amd64 --label version=0.0.0 . 03:21:29 Sending build context to Docker daemon 9.895MB 03:21:29 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 03:21:29 Step 2/27 : FROM ${BASE} AS builder 03:21:29 ---> 9360a5c60235 03:21:29 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 03:21:30 ---> Running in e9fe4c60c073 03:21:30 Removing intermediate container e9fe4c60c073 03:21:30 ---> 5b561e58b077 03:21:30 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:21:30 ---> Running in 2b2e2a3912d6 03:21:30 Removing intermediate container 2b2e2a3912d6 03:21:30 ---> e4f9c21070e9 03:21:30 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:21:30 ---> Running in e733acd35c7b 03:21:30 Removing intermediate container e733acd35c7b 03:21:30 ---> 1b7d4bbfd023 03:21:30 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:21:30 ---> Running in 1c5424f25d6b 03:21:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:21:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:21:31 OK: 248 MiB in 58 packages 03:21:31 Removing intermediate container 1c5424f25d6b 03:21:31 ---> beb576ac0e3a 03:21:31 Step 7/27 : WORKDIR /app 03:21:31 ---> Running in 0193e312819f 03:21:31 Removing intermediate container 0193e312819f 03:21:31 ---> 2a73b780afde 03:21:31 Step 8/27 : COPY go.mod vendor* ./ 03:21:31 ---> 01641b8f8be5 03:21:31 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:21:31 ---> Running in 116e6780ffdb 03:21:32 Removing intermediate container 116e6780ffdb 03:21:32 ---> 61aa3bd80413 03:21:32 Step 10/27 : COPY . . 03:21:33 ---> 8cfc8be2cee2 03:21:33 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:21:33 ---> Running in bd2c6733f3be 03:21:33 Removing intermediate container bd2c6733f3be 03:21:33 ---> e30ba6d5f7ac 03:21:33 Step 12/27 : RUN $MAKE 03:21:33 ---> Running in 1b1dd125b573 03:21:33 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion=v4.0.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.ApplicationVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o app-record-replay 03:22:12 Removing intermediate container 1b1dd125b573 03:22:12 ---> cef1df7d57fc 03:22:12 Step 13/27 : FROM alpine:3.20 03:22:12 3.20: Pulling from library/alpine 03:22:12 63b69af3dc55: Pulling fs layer 03:22:12 63b69af3dc55: Download complete 03:22:12 63b69af3dc55: Pull complete 03:22:12 Digest: sha256:780405de0f7cf99f985dd5a4f04dfc5aae71509d89505c1ba48a88d95a0ceb7f 03:22:12 Status: Downloaded newer image for alpine:3.20 03:22:12 ---> dbf365b1c719 03:22:12 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:22:12 ---> Running in 48dc4fbed908 03:22:12 Removing intermediate container 48dc4fbed908 03:22:12 ---> 95b54e582097 03:22:12 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 03:22:12 ---> Running in 7246b1dbf30d 03:22:12 Removing intermediate container 7246b1dbf30d 03:22:12 ---> 0774a9fea5c4 03:22:12 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 03:22:12 ---> Running in 90ce262673d1 03:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:22:12 (1/2) Installing ca-certificates (20241121-r0) 03:22:12 (2/2) Installing dumb-init (1.2.5-r3) 03:22:12 Executing busybox-1.36.1-r29.trigger 03:22:12 Executing ca-certificates-20241121-r0.trigger 03:22:12 OK: 8 MiB in 16 packages 03:22:12 Removing intermediate container 90ce262673d1 03:22:12 ---> f24e88d88d4a 03:22:12 Step 17/27 : RUN apk --no-cache upgrade 03:22:12 ---> Running in e649d68cc897 03:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:22:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:22:12 OK: 8 MiB in 16 packages 03:22:12 Removing intermediate container e649d68cc897 03:22:12 ---> 992452372617 03:22:12 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:22:12 ---> 9f2d01b5abd2 03:22:12 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 03:22:12 ---> c78b6813246a 03:22:12 Step 20/27 : COPY --from=builder /app/res/ /res/ 03:22:12 ---> 12680cc5e19f 03:22:12 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 03:22:12 ---> b3151e002b30 03:22:12 Step 22/27 : EXPOSE 59712 03:22:12 ---> Running in 691ce220291d 03:22:12 Removing intermediate container 691ce220291d 03:22:12 ---> 3e97a3851ba8 03:22:12 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 03:22:12 ---> Running in 254b10d05f5b 03:22:12 Removing intermediate container 254b10d05f5b 03:22:12 ---> 53b061d5f6d7 03:22:12 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:22:12 ---> Running in 36d603057dd6 03:22:12 Removing intermediate container 36d603057dd6 03:22:12 ---> a3c38718f9d6 03:22:12 Step 25/27 : LABEL arch=amd64 03:22:12 ---> Running in 80b29d5d331a 03:22:13 Removing intermediate container 80b29d5d331a 03:22:13 ---> 63a1c72e6350 03:22:13 Step 26/27 : LABEL git_sha=005f54edb76a5dc5cac56af0c7e8542faa8804a6 03:22:13 ---> Running in df8d1a718523 03:22:13 Removing intermediate container df8d1a718523 03:22:13 ---> 20245f30148f 03:22:13 Step 27/27 : LABEL version=0.0.0 03:22:13 ---> Running in 694b0e877552 03:22:13 Removing intermediate container 694b0e877552 03:22:13 ---> b7d54e276036 03:22:13 [Warning] One or more build-args [ARCH] were not consumed 03:22:13 Successfully built b7d54e276036 03:22:13 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:13 03:22:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:14 latest: Pulling from edgex-lftools-log-publisher 03:22:14 5eb5b503b376: Pulling fs layer 03:22:14 5c69ac0246d0: Pulling fs layer 03:22:14 ec43610c2a17: Pulling fs layer 03:22:14 3a2ae6a8a46f: Pulling fs layer 03:22:14 33b1e0a273af: Pulling fs layer 03:22:14 5d3b04190fa2: Pulling fs layer 03:22:14 2f39f015ded8: Pulling fs layer 03:22:14 33b1e0a273af: Waiting 03:22:14 5d3b04190fa2: Waiting 03:22:14 2f39f015ded8: Waiting 03:22:14 3a2ae6a8a46f: Waiting 03:22:14 5c69ac0246d0: Verifying Checksum 03:22:14 5c69ac0246d0: Download complete 03:22:14 3a2ae6a8a46f: Verifying Checksum 03:22:14 3a2ae6a8a46f: Download complete 03:22:14 33b1e0a273af: Verifying Checksum 03:22:14 33b1e0a273af: Download complete 03:22:14 ec43610c2a17: Verifying Checksum 03:22:14 ec43610c2a17: Download complete 03:22:14 5d3b04190fa2: Verifying Checksum 03:22:14 5d3b04190fa2: Download complete 03:22:14 5eb5b503b376: Verifying Checksum 03:22:14 5eb5b503b376: Download complete 03:22:15 2f39f015ded8: Download complete 03:22:15 5eb5b503b376: Pull complete 03:22:15 5c69ac0246d0: Pull complete 03:22:16 ec43610c2a17: Pull complete 03:22:16 3a2ae6a8a46f: Pull complete 03:22:16 33b1e0a273af: Pull complete 03:22:16 5d3b04190fa2: Pull complete 03:22:20 2f39f015ded8: Pull complete 03:22:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:22:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:21 prd-ubuntu20.04-docker-8c-8g-36320 does not seem to be running inside a container 03:22:21 $ 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/foundry_app-record-replay_PR-166 -v /w/workspace/foundry_app-record-replay_PR-166:/w/workspace/foundry_app-record-replay_PR-166:rw,z -v /w/workspace/foundry_app-record-replay_PR-166@tmp:/w/workspace/foundry_app-record-replay_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:22:25 $ docker top 4863ce1e05b6d6a0cca45f466e62f12fcb4e88de97557476e09747054f1a16cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:26 ---> job-cost.sh 03:22:26 lf-activate-venv: SKIPPING 03:22:26 INFO: No Stack... 03:22:26 INFO: Retrieving Pricing Info for: v3-standard-8 03:22:27 INFO: Archiving Costs [Pipeline] sh 03:22:27 + cat /w/workspace/foundry_app-record-replay_PR-166/archives/cost.csv 03:22:27 + cut -d, -f6 [Pipeline] lock 03:22:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-166-1-stack-cost] 03:22:27 Resource [jenkins-edgexfoundry-app-record-replay-PR-166-1-stack-cost] did not exist. Created. 03:22:27 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-166-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:22:27 + echo total: 0.2199999988079071 [Pipeline] stash 03:22:27 Stashed 1 file(s) [Pipeline] } 03:22:27 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-166-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:22:27 $ docker stop --time=1 4863ce1e05b6d6a0cca45f466e62f12fcb4e88de97557476e09747054f1a16cc 03:22:29 $ docker rm -f --volumes 4863ce1e05b6d6a0cca45f466e62f12fcb4e88de97557476e09747054f1a16cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:22:29 provisioning config files... 03:22:29 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-166@tmp/config15588774009406890480tmp [Pipeline] { [Pipeline] sh 03:22:30 + set +x 03:22:30 + curl -s https://codecov.io/bash 03:22:30 + bash -s -- 03:22:30 03:22:30 _____ _ 03:22:30 / ____| | | 03:22:30 | | ___ __| | ___ ___ _____ __ 03:22:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:22:30 | |___| (_) | (_| | __/ (_| (_) \ V / 03:22:30 \_____\___/ \__,_|\___|\___\___/ \_/ 03:22:30 Bash-1.0.6 03:22:30 03:22:30 03:22:30 ==> git version 2.25.1 found 03:22:30 ==> 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 03:22:30 Release-Date: 2020-01-08 03:22:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:22:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:22:30 ==> Jenkins CI detected. 03:22:30 current dir:  /w/workspace/foundry_app-record-replay_PR-166 03:22:30 project root: . 03:22:30 --> token set from env 03:22:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:22:30 ==> Running gcov in . (disable via -X gcov) 03:22:30 ==> Python coveragepy not found 03:22:30 ==> Searching for coverage reports in: 03:22:30 + . 03:22:30 -> Found 1 reports 03:22:30 ==> Detecting git/mercurial file structure 03:22:30 ==> Reading reports 03:22:30 + ./coverage.out bytes=34247 03:22:30 ==> Appending adjustments 03:22:30 https://docs.codecov.io/docs/fixing-reports 03:22:30 + Found adjustments 03:22:30 ==> Gzipping contents 03:22:30 8.0K /tmp/codecov.1gPS6Z.gz 03:22:30 ==> Uploading reports 03:22:30 url: https://codecov.io 03:22:30 query: branch=PR-166&commit=005f54edb76a5dc5cac56af0c7e8542faa8804a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-166%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=166&job=&cmd_args= 03:22:30 -> Pinging Codecov 03:22:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-166&commit=005f54edb76a5dc5cac56af0c7e8542faa8804a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-166%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=166&job=&cmd_args= 03:22:30 -> Uploading to 03:22:30 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/app-record-replay/005f54edb76a5dc5cac56af0c7e8542faa8804a6/e799c9ca-0bb6-45a4-9ae8-896573a9d3c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250108T032230Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5647ce5b8dd2013777242905983e67db19f3328ff4be423007230cf3eae11799 03:22:30 % Total % Received % Xferd Average Speed Time Time Time Current 03:22:30 Dload Upload Total Spent Left Speed 03:22:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5391 0 0 100 5391 0 91372 --:--:-- --:--:-- --:--:-- 89850 100 5391 0 0 100 5391 0 32281 --:--:-- --:--:-- --:--:-- 32089 03:22:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/005f54edb76a5dc5cac56af0c7e8542faa8804a6 [Pipeline] } 03:22:30 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:22:32 + [ -d /w/workspace/foundry_app-record-replay_PR-166/archives ] 03:22:32 + ls -al /w/workspace/foundry_app-record-replay_PR-166/archives 03:22:32 total 16 03:22:32 drwxr-xr-x 3 root root 4096 Jan 8 03:22 . 03:22:32 drwxrwxr-x 11 jenkins jenkins 4096 Jan 8 03:22 .. 03:22:32 drwxr-xr-x 2 root root 4096 Jan 8 03:22 cost 03:22:32 -rw-r--r-- 1 root root 89 Jan 8 03:22 cost.csv 03:22:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-166/archives 03:22:32 + ls -al /w/workspace/foundry_app-record-replay_PR-166/archives 03:22:32 total 16 03:22:32 drwxr-xr-x 3 jenkins jenkins 4096 Jan 8 03:22 . 03:22:32 drwxrwxr-x 11 jenkins jenkins 4096 Jan 8 03:22 .. 03:22:32 drwxr-xr-x 2 jenkins jenkins 4096 Jan 8 03:22 cost 03:22:32 -rw-r--r-- 1 jenkins jenkins 89 Jan 8 03:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:22:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:22:33 ---> package-listing.sh 03:22:33 ++ facter osfamily 03:22:33 ++ tr '[:upper:]' '[:lower:]' 03:22:34 + OS_FAMILY=debian 03:22:34 + workspace=/w/workspace/foundry_app-record-replay_PR-166 03:22:34 + START_PACKAGES=/tmp/packages_start.txt 03:22:34 + END_PACKAGES=/tmp/packages_end.txt 03:22:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:22:34 + PACKAGES=/tmp/packages_start.txt 03:22:34 + '[' /w/workspace/foundry_app-record-replay_PR-166 ']' 03:22:34 + PACKAGES=/tmp/packages_end.txt 03:22:34 + case "${OS_FAMILY}" in 03:22:34 + dpkg -l 03:22:34 + grep '^ii' 03:22:34 + '[' -f /tmp/packages_start.txt ']' 03:22:34 + '[' -f /tmp/packages_end.txt ']' 03:22:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:22:34 + '[' /w/workspace/foundry_app-record-replay_PR-166 ']' 03:22:34 + mkdir -p /w/workspace/foundry_app-record-replay_PR-166/archives/ 03:22:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-166/archives/ [Pipeline] echo 03:22:34 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/foundry_app-record-replay_PR-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:22:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:35 prd-ubuntu20.04-docker-8c-8g-36320 does not seem to be running inside a container 03:22:35 $ 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/foundry_app-record-replay_PR-166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_app-record-replay_PR-166 -v /w/workspace/foundry_app-record-replay_PR-166:/w/workspace/foundry_app-record-replay_PR-166:rw,z -v /w/workspace/foundry_app-record-replay_PR-166@tmp:/w/workspace/foundry_app-record-replay_PR-166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:22:35 $ docker top 39a6457249d7fff057521b1d5a2e460b2db41dc19ef170321866209bc6847bbd -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:36 + touch /tmp/pre-build-complete [Pipeline] sh 03:22:36 + mkdir -p /var/log/sysstat [Pipeline] sh 03:22:36 + ls /var/log/sa-host 03:22:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:36 provisioning config files... 03:22:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-166@tmp/config17561726560011460572tmp [Pipeline] { [Pipeline] echo 03:22:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:22:37 ---> create-netrc.sh [Pipeline] } 03:22:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:22:37 ---> python-tools-install.sh [Pipeline] echo 03:22:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:22:38 ---> sudo-logs.sh 03:22:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:22:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:22:38 ---> job-cost.sh 03:22:38 lf-activate-venv: SKIPPING 03:22:38 DEBUG: total: 0.2199999988079071 03:22:38 INFO: Retrieving Stack Cost... 03:22:38 INFO: Retrieving Pricing Info for: v3-standard-8 03:22:38 INFO: Archiving Costs [Pipeline] echo 03:22:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:22:39 ---> logs-deploy.sh 03:22:39 lf-activate-venv: SKIPPING 03:22:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-166/1 03:22:39 INFO: archiving workspace using pattern(s): 03:22:40 Archives upload complete. 03:22:40 INFO: archiving logs to Nexus