Pull request #158 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b09041a5e6435f0f19428e234fb6ed8608d40ac+b853b452339653576d911c63fb927b23942ede3d (b719fca090aa239459978e5688d8c05e710a169b) 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-ssh10964919899657055606.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-ssh248931439347897577.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-158/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-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16765833371485758357.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-158/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6960766821681438803.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-ssh8951011130114206066.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-158/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-158/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8673627507613300008.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-34835 in /w/workspace/foundry_app-record-replay_PR-158 [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-158 # 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 b853b452339653576d911c63fb927b23942ede3d into PR head commit 5b09041a5e6435f0f19428e234fb6ed8608d40ac Merge succeeded, producing 5b09041a5e6435f0f19428e234fb6ed8608d40ac Checking out Revision 5b09041a5e6435f0f19428e234fb6ed8608d40ac (PR-158) 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 > 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/158/head:refs/remotes/origin/PR-158 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b09041a5e6435f0f19428e234fb6ed8608d40ac # 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 b853b452339653576d911c63fb927b23942ede3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b09041a5e6435f0f19428e234fb6ed8608d40ac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:01:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:01:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:01:24 ========================================================= 04:01:24 EdgeX Global Pipelines Version Info 04:01:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:01:25 ------------------- 04:01:25 stable info: 04:01:25 ------------------- 04:01:25 Commited By: Cherry Wang cherry@iotechsys.com 04:01:25 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 04:01:25 Message: update stable to v1.0.269 04:01:25 ------------------- 04:01:25 experimental info: 04:01:25 ------------------- 04:01:25 Commited By: **** collab-it+edgex@linuxfoundation.org 04:01:25 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 04:01:25 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 04:01:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:01:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b09041a5e6435f0f19428e234fb6ed8608d40ac [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b09041 [Pipeline] echo 04:01:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:27 provisioning config files... 04:01:28 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-158@tmp/config6318103286281865426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:28 ---> ****-login.sh 04:01:28 nexus3.edgexfoundry.org:10001 04:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:29 Configure a credential helper to remove this warning. See 04:01:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:29 04:01:29 Login Succeeded 04:01:29 nexus3.edgexfoundry.org:10002 04:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:29 Configure a credential helper to remove this warning. See 04:01:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:29 04:01:29 Login Succeeded 04:01:29 nexus3.edgexfoundry.org:10003 04:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:29 Configure a credential helper to remove this warning. See 04:01:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:29 04:01:29 Login Succeeded 04:01:29 nexus3.edgexfoundry.org:10004 04:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:29 Configure a credential helper to remove this warning. See 04:01:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:29 04:01:29 Login Succeeded 04:01:29 ****.io 04:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:29 Configure a credential helper to remove this warning. See 04:01:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:29 04:01:29 Login Succeeded 04:01:29 ---> ****-login.sh ends [Pipeline] } 04:01:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:01:30 + git rev-list -1 --merges 5b09041a5e6435f0f19428e234fb6ed8608d40ac~1..5b09041a5e6435f0f19428e234fb6ed8608d40ac [Pipeline] echo 04:01:30 -----------> git rev-list -1 --merges 5b09041a5e6435f0f19428e234fb6ed8608d40ac~1..5b09041a5e6435f0f19428e234fb6ed8608d40ac 5b09041a5e6435f0f19428e234fb6ed8608d40ac [false] [Pipeline] sh 04:01:30 + git log --format=format:%s -1 5b09041a5e6435f0f19428e234fb6ed8608d40ac [Pipeline] echo 04:01:30 ========================================================= 04:01:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:01:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:31 + git log --format=format:%s -1 5b09041a5e6435f0f19428e234fb6ed8608d40ac [Pipeline] echo 04:01:31 [semverPrep] GIT_COMMIT: 5b09041a5e6435f0f19428e234fb6ed8608d40ac, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v4 [Pipeline] echo 04:01:31 [semverPrep] This is not a build commit. [Pipeline] sh 04:01:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:01:31 + grep -v github /etc/ssh/ssh_known_hosts 04:01:31 + [ -e /tmp/ssh_known_hosts ] 04:01:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:01:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:01:31 + sudo tee -a /etc/ssh/ssh_known_hosts 04:01:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:32 04:01:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:32 0.1.4: Pulling from edgex-devops/py-git-semver 04:01:32 b85a868b505f: Pulling fs layer 04:01:32 e2be974225ed: Pulling fs layer 04:01:32 339a4e72a1f5: Pulling fs layer 04:01:32 988bab9f4d93: Pulling fs layer 04:01:32 1469e6f7b9e6: Pulling fs layer 04:01:32 eaf3925da568: Pulling fs layer 04:01:32 bab4dde63d76: Pulling fs layer 04:01:32 988bab9f4d93: Waiting 04:01:32 bde34c3a00c8: Pulling fs layer 04:01:32 b352a97aabf1: Pulling fs layer 04:01:32 4872d77fe225: Pulling fs layer 04:01:32 5851b861e8e6: Pulling fs layer 04:01:32 1469e6f7b9e6: Waiting 04:01:32 bab4dde63d76: Waiting 04:01:32 5851b861e8e6: Waiting 04:01:32 4872d77fe225: Waiting 04:01:32 bde34c3a00c8: Waiting 04:01:32 b352a97aabf1: Waiting 04:01:32 e2be974225ed: Download complete 04:01:32 988bab9f4d93: Verifying Checksum 04:01:32 988bab9f4d93: Download complete 04:01:32 1469e6f7b9e6: Verifying Checksum 04:01:32 eaf3925da568: Verifying Checksum 04:01:32 eaf3925da568: Download complete 04:01:32 339a4e72a1f5: Verifying Checksum 04:01:32 339a4e72a1f5: Download complete 04:01:33 bde34c3a00c8: Verifying Checksum 04:01:33 bde34c3a00c8: Download complete 04:01:33 b352a97aabf1: Verifying Checksum 04:01:33 b352a97aabf1: Download complete 04:01:33 4872d77fe225: Verifying Checksum 04:01:33 4872d77fe225: Download complete 04:01:33 5851b861e8e6: Download complete 04:01:33 b85a868b505f: Verifying Checksum 04:01:33 b85a868b505f: Download complete 04:01:33 bab4dde63d76: Verifying Checksum 04:01:33 bab4dde63d76: Download complete 04:01:34 b85a868b505f: Pull complete 04:01:34 e2be974225ed: Pull complete 04:01:34 339a4e72a1f5: Pull complete 04:01:34 988bab9f4d93: Pull complete 04:01:35 1469e6f7b9e6: Pull complete 04:01:35 eaf3925da568: Pull complete 04:01:36 bab4dde63d76: Pull complete 04:01:36 bde34c3a00c8: Pull complete 04:01:36 b352a97aabf1: Pull complete 04:01:36 4872d77fe225: Pull complete 04:01:36 5851b861e8e6: Pull complete 04:01:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:37 prd-ubuntu20.04-docker-8c-8g-34835 does not seem to be running inside a container 04:01:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-158 -v /w/workspace/foundry_app-record-replay_PR-158:/w/workspace/foundry_app-record-replay_PR-158:rw,z -v /w/workspace/foundry_app-record-replay_PR-158@tmp:/w/workspace/foundry_app-record-replay_PR-158@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 04:01:39 $ docker top b74f007942f5cbf52b2a1de68d71a94ccf0777af7015d7eaf3ac8ff150d7b964 -eo pid,comm 04:01:39 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). 04:01:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:01:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:39 [ssh-agent] Looking for ssh-agent implementation... 04:01:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:39 $ docker exec b74f007942f5cbf52b2a1de68d71a94ccf0777af7015d7eaf3ac8ff150d7b964 ssh-agent 04:01:39 SSH_AUTH_SOCK=/tmp/ssh-x5xpE9EnquQs/agent.33 04:01:39 SSH_AGENT_PID=39 04:01:39 Running ssh-add (command line suppressed) 04:01:39 Identity added: /w/workspace/foundry_app-record-replay_PR-158@tmp/private_key_17611734838631510654.key (/w/workspace/foundry_app-record-replay_PR-158@tmp/private_key_17611734838631510654.key) 04:01:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:40 + git tag --points-at HEAD [Pipeline] } 04:01:40 $ docker exec --env ******** --env ******** b74f007942f5cbf52b2a1de68d71a94ccf0777af7015d7eaf3ac8ff150d7b964 ssh-agent -k 04:01:40 unset SSH_AUTH_SOCK; 04:01:40 unset SSH_AGENT_PID; 04:01:40 echo Agent pid 39 killed; 04:01:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:01:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:40 [ssh-agent] Looking for ssh-agent implementation... 04:01:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:40 $ docker exec b74f007942f5cbf52b2a1de68d71a94ccf0777af7015d7eaf3ac8ff150d7b964 ssh-agent 04:01:40 SSH_AUTH_SOCK=/tmp/ssh-tj8PJHvcNCYk/agent.72 04:01:40 SSH_AGENT_PID=78 04:01:40 Running ssh-add (command line suppressed) 04:01:40 Identity added: /w/workspace/foundry_app-record-replay_PR-158@tmp/private_key_14451901925194758712.key (/w/workspace/foundry_app-record-replay_PR-158@tmp/private_key_14451901925194758712.key) 04:01:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:41 + git semver init 04:01:41 2024-12-10 04:01:41,156 [run_init] DEBUG init version:0.0.0 force:False 04:01:41 2024-12-10 04:01:41,157 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-158/.semver 04:01:41 2024-12-10 04:01:41,157 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-158/.semver 04:01:41 2024-12-10 04:01:41,157 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-158/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-158, universal_newlines=False, shell=None, istream=None) 04:01:43 2024-12-10 04:01:42,791 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-158/.git/info/exclude 04:01:43 2024-12-10 04:01:42,791 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-158/.semver/PR-158 with force:False 04:01:43 2024-12-10 04:01:42,791 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-158/.semver/PR-158 04:01:43 2024-12-10 04:01:42,795 [execute] INFO git cat-file --batch-check 04:01:43 2024-12-10 04:01:42,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-158/.semver, universal_newlines=False, shell=None, istream=) 04:01:43 2024-12-10 04:01:42,801 [execute] INFO git cat-file --batch 04:01:43 2024-12-10 04:01:42,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-158/.semver, universal_newlines=False, shell=None, istream=) 04:01:43 2024-12-10 04:01:42,805 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-158/.semver/PR-158 04:01:43 0.0.0 [Pipeline] } 04:01:43 $ docker exec --env ******** --env ******** b74f007942f5cbf52b2a1de68d71a94ccf0777af7015d7eaf3ac8ff150d7b964 ssh-agent -k 04:01:43 unset SSH_AUTH_SOCK; 04:01:43 unset SSH_AGENT_PID; 04:01:43 echo Agent pid 78 killed; 04:01:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:01:43 + git semver [Pipeline] } 04:01:44 $ docker stop --time=1 b74f007942f5cbf52b2a1de68d71a94ccf0777af7015d7eaf3ac8ff150d7b964 04:01:45 $ docker rm -f --volumes b74f007942f5cbf52b2a1de68d71a94ccf0777af7015d7eaf3ac8ff150d7b964 [Pipeline] // withDockerContainer [Pipeline] sh 04:01:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:01:46 Stashed 1 file(s) [Pipeline] echo 04:01:46 [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 04:01:47 provisioning config files... 04:01:47 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-158@tmp/config8391351347324947222tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 04:01:47 ---> ****-login.sh 04:01:47 nexus3.edgexfoundry.org:10001 04:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:47 Configure a credential helper to remove this warning. See 04:01:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:47 04:01:47 Login Succeeded 04:01:47 nexus3.edgexfoundry.org:10002 04:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:47 Configure a credential helper to remove this warning. See 04:01:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:47 04:01:47 Login Succeeded 04:01:47 nexus3.edgexfoundry.org:10003 04:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:48 Configure a credential helper to remove this warning. See 04:01:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:48 04:01:48 Login Succeeded 04:01:48 nexus3.edgexfoundry.org:10004 04:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:48 Configure a credential helper to remove this warning. See 04:01:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:48 04:01:48 Login Succeeded 04:01:48 ****.io 04:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:01:48 Configure a credential helper to remove this warning. See 04:01:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:01:48 04:01:48 Login Succeeded 04:01:48 ---> ****-login.sh ends [Pipeline] } 04:01:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:01:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:01:48 ========================================================= 04:01:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 04:01:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:49 + 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 . 04:01:49 Sending build context to Docker daemon 9.823MB 04:01:49 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 04:01:49 Step 2/12 : FROM ${BASE} AS builder 04:01:49 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:49 43c4264eed91: Pulling fs layer 04:01:49 4cc291be95ef: Pulling fs layer 04:01:49 2ac1f1163629: Pulling fs layer 04:01:49 5c3c966382ef: Pulling fs layer 04:01:49 4f4fb700ef54: Pulling fs layer 04:01:49 5d5c8e513c77: Pulling fs layer 04:01:49 9f66e0745190: Pulling fs layer 04:01:49 f49a43e4bbc0: Pulling fs layer 04:01:49 5d5c8e513c77: Waiting 04:01:49 561ebcabdf7f: Pulling fs layer 04:01:49 5c3c966382ef: Waiting 04:01:49 4f4fb700ef54: Waiting 04:01:49 9f66e0745190: Waiting 04:01:49 f49a43e4bbc0: Waiting 04:01:49 561ebcabdf7f: Waiting 04:01:49 4cc291be95ef: Verifying Checksum 04:01:49 4cc291be95ef: Download complete 04:01:49 5c3c966382ef: Verifying Checksum 04:01:49 4f4fb700ef54: Verifying Checksum 04:01:49 4f4fb700ef54: Download complete 04:01:49 5d5c8e513c77: Verifying Checksum 04:01:49 5d5c8e513c77: Download complete 04:01:49 43c4264eed91: Download complete 04:01:49 9f66e0745190: Verifying Checksum 04:01:49 9f66e0745190: Download complete 04:01:49 43c4264eed91: Pull complete 04:01:49 561ebcabdf7f: Verifying Checksum 04:01:49 561ebcabdf7f: Download complete 04:01:49 4cc291be95ef: Pull complete 04:01:49 2ac1f1163629: Download complete 04:01:49 f49a43e4bbc0: Verifying Checksum 04:01:49 f49a43e4bbc0: Download complete 04:01:53 2ac1f1163629: Pull complete 04:01:53 5c3c966382ef: Pull complete 04:01:53 4f4fb700ef54: Pull complete 04:01:53 5d5c8e513c77: Pull complete 04:01:53 9f66e0745190: Pull complete 04:01:55 f49a43e4bbc0: Pull complete 04:01:55 561ebcabdf7f: Pull complete 04:01:55 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 04:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 04:01:55 ---> 3a752c3f9dda 04:01:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:01:58 ---> Running in 76bd6c220577 04:01:58 Removing intermediate container 76bd6c220577 04:01:58 ---> 5fa17bc46029 04:01:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:01:58 ---> Running in 21ba9bc4a9c4 04:01:58 Removing intermediate container 21ba9bc4a9c4 04:01:58 ---> 864eb0b6be47 04:01:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:01:58 ---> Running in 8dc929392954 04:01:58 Removing intermediate container 8dc929392954 04:01:58 ---> 712a9f5c12af 04:01:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:01:58 ---> Running in 34514afc294f 04:01:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:01:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:01:58 OK: 246 MiB in 54 packages 04:01:59 Removing intermediate container 34514afc294f 04:01:59 ---> aa42d8ab4f55 04:01:59 Step 7/12 : WORKDIR /app 04:01:59 ---> Running in 27ccce28a81d 04:01:59 Removing intermediate container 27ccce28a81d 04:01:59 ---> c19b5507da0e 04:01:59 Step 8/12 : COPY go.mod vendor* ./ 04:01:59 ---> ad837238731b 04:01:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:59 ---> Running in 10234efe6569 04:02:38 Removing intermediate container 10234efe6569 04:02:38 ---> 2d22fdf1ad0b 04:02:38 Step 10/12 : COPY . . 04:02:38 ---> 9142e06e3a8e 04:02:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:02:38 ---> Running in 8e201ade2432 04:02:38 Removing intermediate container 8e201ade2432 04:02:38 ---> 46968de76129 04:02:38 Step 12/12 : RUN $MAKE 04:02:38 ---> Running in e82126eba3c4 04:02:38 noop 04:02:38 Removing intermediate container e82126eba3c4 04:02:38 ---> 994f13e3802c 04:02:38 Successfully built 994f13e3802c 04:02:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:39 + docker inspect -f . ci-base-image-x86_64 04:02:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:39 prd-ubuntu20.04-docker-8c-8g-34835 does not seem to be running inside a container 04:02:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-158 -v /w/workspace/foundry_app-record-replay_PR-158:/w/workspace/foundry_app-record-replay_PR-158:rw,z -v /w/workspace/foundry_app-record-replay_PR-158@tmp:/w/workspace/foundry_app-record-replay_PR-158@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 04:02:39 $ docker top 3aaade94677c5b0cb48feae7aba3883f6ceca8ef3e4f914ce17ef7e318d0f02b -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:40 + go version 04:02:40 go version go1.23.2 linux/amd64 [Pipeline] } 04:02:40 $ docker stop --time=1 3aaade94677c5b0cb48feae7aba3883f6ceca8ef3e4f914ce17ef7e318d0f02b 04:02:41 $ docker rm -f --volumes 3aaade94677c5b0cb48feae7aba3883f6ceca8ef3e4f914ce17ef7e318d0f02b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:42 + docker inspect -f . ci-base-image-x86_64 04:02:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:42 prd-ubuntu20.04-docker-8c-8g-34835 does not seem to be running inside a container 04:02:42 $ 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-158 -v /w/workspace/foundry_app-record-replay_PR-158:/w/workspace/foundry_app-record-replay_PR-158:rw,z -v /w/workspace/foundry_app-record-replay_PR-158@tmp:/w/workspace/foundry_app-record-replay_PR-158@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 04:02:42 $ docker top 77e361ab8fba5106ae2926f79abbe4e5c4bf5dca231ef5ad64d69e60d65043e2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:43 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-158 [Pipeline] fileExists [Pipeline] sh 04:02:43 + make test 04:02:43 go test -race -coverprofile=coverage.out ./... 04:03:22 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:03:22 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:03:22 github.com/edgexfoundry/app-record-replay coverage: 0.0% of statements 04:03:22 github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks coverage: 0.0% of statements 04:03:22 ok github.com/edgexfoundry/app-record-replay/internal/app 1.026s coverage: 88.0% of statements 04:03:25 ok github.com/edgexfoundry/app-record-replay/internal/application 9.583s coverage: 98.7% of statements 04:03:25 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.072s coverage: 89.7% of statements 04:03:25 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.019s coverage: 100.0% of statements 04:03:26 running golangci-lint 04:03:26 golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z 04:03:26 go version go1.23.2 linux/amd64 04:03:26 level=info msg="golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z" 04:03:26 level=info msg="[config_reader] Used config file .golangci.yml" 04:03:26 level=info msg="[lintersdb] Active 7 linters: [errcheck gosec gosimple govet ineffassign staticcheck unused]" 04:03:48 level=info msg="[loader] Go packages loading at mode 575 (compiled_files|exports_file|imports|name|deps|files|types_sizes) took 19.65441678s" 04:03:48 level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 6.08819ms" 04:03:55 level=info msg="[linters_context/goanalysis] analyzers took 44.490015367s with top 10 stages: buildir: 36.069311105s, inspect: 1.809966258s, fact_deprecated: 1.48727832s, printf: 1.062397662s, ctrlflow: 1.002451327s, fact_purity: 821.737093ms, nilness: 681.251454ms, typedness: 493.659278ms, SA5012: 379.183373ms, tokenfileanalyzer: 258.310747ms" 04:03:55 level=info msg="[runner] Issues before processing: 10, after processing: 0" 04:03:55 level=info msg="[runner] Processors filtering stat (in/out): invalid_issue: 10/10, skip_files: 10/10, autogenerated_exclude: 10/10, exclude: 10/10, cgo: 10/10, filename_unadjuster: 10/10, path_prettifier: 10/10, skip_dirs: 10/10, identifier_marker: 10/10, exclude-rules: 10/0" 04:03:55 level=info msg="[runner] processing took 842.783µs with stages: identifier_marker: 412.722µs, autogenerated_exclude: 157.014µs, exclude-rules: 100.563µs, skip_dirs: 82.652µs, path_prettifier: 74.342µs, cgo: 3.29µs, invalid_issue: 2.96µs, nolint: 1.54µs, filename_unadjuster: 1.38µs, max_same_issues: 1.18µs, uniq_by_line: 770ns, skip_files: 650ns, fixer: 600ns, sort_results: 450ns, path_prefixer: 420ns, exclude: 420ns, max_from_linter: 400ns, diff: 310ns, source_code: 300ns, path_shortener: 290ns, max_per_file_from_linter: 290ns, severity-rules: 240ns" 04:03:55 level=info msg="[runner] linters took 8.966137203s with stages: goanalysis_metalinter: 8.965152537s" 04:03:55 level=info msg="File cache stats: 0 entries of total size 0B" 04:03:55 level=info msg="Memory: 288 samples, avg is 222.2MB, max is 1076.8MB" 04:03:55 level=info msg="Execution took 28.631559372s" 04:03:55 go vet ./... 04:04:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:04:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:04:00 ./bin/test-attribution-txt.sh [Pipeline] echo 04:04:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:04:00 $ docker stop --time=1 77e361ab8fba5106ae2926f79abbe4e5c4bf5dca231ef5ad64d69e60d65043e2 04:04:02 $ docker rm -f --volumes 77e361ab8fba5106ae2926f79abbe4e5c4bf5dca231ef5ad64d69e60d65043e2 [Pipeline] // withDockerContainer [Pipeline] sh 04:04:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:04:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:04:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:04:04 + ls -al . 04:04:04 total 264 04:04:04 drwxrwxr-x 10 jenkins jenkins 4096 Dec 10 04:02 . 04:04:04 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 04:01 .. 04:04:04 -rw-rw-r-- 1 jenkins jenkins 119 Dec 10 04:01 .dockerignore 04:04:04 drwxrwxr-x 8 jenkins jenkins 4096 Dec 10 04:03 .git 04:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 10 04:01 .github 04:04:04 -rw-rw-r-- 1 jenkins jenkins 164 Dec 10 04:01 .gitignore 04:04:04 -rw-rw-r-- 1 jenkins jenkins 41 Dec 10 04:01 .golangci.yml 04:04:04 drwxr-xr-x 3 jenkins jenkins 4096 Dec 10 04:01 .semver 04:04:04 -rw-rw-r-- 1 jenkins jenkins 16870 Dec 10 04:01 Attribution.txt 04:04:04 -rw-rw-r-- 1 jenkins jenkins 458 Dec 10 04:01 CHANGELOG.md 04:04:04 -rw-rw-r-- 1 jenkins jenkins 1726 Dec 10 04:01 Dockerfile 04:04:04 -rw-rw-r-- 1 jenkins jenkins 677 Dec 10 04:01 GOVERNANCE.md 04:04:04 -rw-rw-r-- 1 jenkins jenkins 681 Dec 10 04:01 Jenkinsfile 04:04:04 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 10 04:01 LICENSE 04:04:04 -rw-rw-r-- 1 jenkins jenkins 3851 Dec 10 04:01 Makefile 04:04:04 -rw-rw-r-- 1 jenkins jenkins 611 Dec 10 04:01 OWNERS.md 04:04:04 -rw-rw-r-- 1 jenkins jenkins 4107 Dec 10 04:01 README.md 04:04:04 -rw-rw-r-- 1 jenkins jenkins 7789 Dec 10 04:01 Record and Reply.postman_collection.json 04:04:04 -rw-rw-r-- 1 jenkins jenkins 5 Dec 10 04:01 VERSION 04:04:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 04:01 bin 04:04:04 -rw-r--r-- 1 jenkins jenkins 34247 Dec 10 04:03 coverage.out 04:04:04 -rw-rw-r-- 1 jenkins jenkins 6717 Dec 10 04:01 go.mod 04:04:04 -rw-rw-r-- 1 jenkins jenkins 87870 Dec 10 04:01 go.sum 04:04:04 drwxrwxr-x 7 jenkins jenkins 4096 Dec 10 04:01 internal 04:04:04 -rw-rw-r-- 1 jenkins jenkins 913 Dec 10 04:01 main.go 04:04:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 04:01 openapi 04:04:04 drwxrwxr-x 3 jenkins jenkins 4096 Dec 10 04:01 pkg 04:04:04 drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 04:01 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:05 + 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=5b09041a5e6435f0f19428e234fb6ed8608d40ac --label arch=amd64 --label version=0.0.0 . 04:04:05 Sending build context to Docker daemon 9.858MB 04:04:05 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 04:04:05 Step 2/27 : FROM ${BASE} AS builder 04:04:05 ---> 994f13e3802c 04:04:05 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 04:04:05 ---> Running in 42ce5ae0af95 04:04:05 Removing intermediate container 42ce5ae0af95 04:04:05 ---> 730595de5273 04:04:05 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 04:04:05 ---> Running in aea8d13b2167 04:04:05 Removing intermediate container aea8d13b2167 04:04:05 ---> 776709915503 04:04:05 Step 5/27 : ARG ADD_BUILD_TAGS="" 04:04:05 ---> Running in 981d80b44b81 04:04:05 Removing intermediate container 981d80b44b81 04:04:05 ---> 56d693226ecf 04:04:05 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:05 ---> Running in 981eb6055d51 04:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:04:06 OK: 246 MiB in 54 packages 04:04:06 Removing intermediate container 981eb6055d51 04:04:06 ---> 6e45accae854 04:04:06 Step 7/27 : WORKDIR /app 04:04:06 ---> Running in b54c9c473de4 04:04:06 Removing intermediate container b54c9c473de4 04:04:06 ---> 950299a34369 04:04:06 Step 8/27 : COPY go.mod vendor* ./ 04:04:06 ---> b84e6dc98d80 04:04:06 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:06 ---> Running in 65a3b952670b 04:04:07 Removing intermediate container 65a3b952670b 04:04:07 ---> f5464e95874c 04:04:07 Step 10/27 : COPY . . 04:04:07 ---> acb0ecf74e60 04:04:07 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:07 ---> Running in c8192ae364d1 04:04:07 Removing intermediate container c8192ae364d1 04:04:07 ---> cb23a60378a9 04:04:07 Step 12/27 : RUN $MAKE 04:04:07 ---> Running in 04bc6fd177fd 04:04:08 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.SDKVersion=v4.0.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v4/internal.ApplicationVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o app-record-replay 04:04:40 Removing intermediate container 04bc6fd177fd 04:04:40 ---> 45206a3dab1c 04:04:40 Step 13/27 : FROM alpine:3.20 04:04:40 3.20: Pulling from library/alpine 04:04:40 da9db072f522: Pulling fs layer 04:04:40 da9db072f522: Download complete 04:04:40 da9db072f522: Pull complete 04:04:40 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 04:04:40 Status: Downloaded newer image for alpine:3.20 04:04:40 ---> 63b790fccc90 04:04:40 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:04:40 ---> Running in 08b49e768a2b 04:04:40 Removing intermediate container 08b49e768a2b 04:04:40 ---> b552e6bcd058 04:04:40 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 04:04:40 ---> Running in 02fe3c81dd2d 04:04:40 Removing intermediate container 02fe3c81dd2d 04:04:40 ---> 173c019f411d 04:04:40 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 04:04:40 ---> Running in d7004307c7f1 04:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:04:40 (1/2) Installing ca-certificates (20240705-r0) 04:04:40 (2/2) Installing dumb-init (1.2.5-r3) 04:04:40 Executing busybox-1.36.1-r29.trigger 04:04:40 Executing ca-certificates-20240705-r0.trigger 04:04:40 OK: 9 MiB in 16 packages 04:04:40 Removing intermediate container d7004307c7f1 04:04:40 ---> b0c0f996e25e 04:04:40 Step 17/27 : RUN apk --no-cache upgrade 04:04:40 ---> Running in 8f853fece03c 04:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:04:40 Upgrading critical system libraries and apk-tools: 04:04:40 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 04:04:40 Executing busybox-1.36.1-r29.trigger 04:04:40 Continuing the upgrade transaction with new apk-tools: 04:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 04:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 04:04:40 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 04:04:40 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 04:04:40 Executing ca-certificates-20240705-r0.trigger 04:04:40 OK: 9 MiB in 16 packages 04:04:40 Removing intermediate container 8f853fece03c 04:04:40 ---> c7fc49d2b119 04:04:40 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:04:40 ---> a8212801d830 04:04:40 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 04:04:40 ---> bcef5e68f485 04:04:40 Step 20/27 : COPY --from=builder /app/res/ /res/ 04:04:40 ---> e73021f57219 04:04:40 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 04:04:41 ---> 970b88a0888f 04:04:41 Step 22/27 : EXPOSE 59712 04:04:41 ---> Running in 552738d7daff 04:04:41 Removing intermediate container 552738d7daff 04:04:41 ---> 90c2909b0d2b 04:04:41 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 04:04:41 ---> Running in 41fdd1d37df5 04:04:41 Removing intermediate container 41fdd1d37df5 04:04:41 ---> 02d83cd86ca4 04:04:41 Step 24/27 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 04:04:41 ---> Running in a81584e091ee 04:04:41 Removing intermediate container a81584e091ee 04:04:41 ---> 22114e9387f7 04:04:41 Step 25/27 : LABEL arch=amd64 04:04:41 ---> Running in 33c3d5658bd3 04:04:41 Removing intermediate container 33c3d5658bd3 04:04:41 ---> b238f26f818a 04:04:41 Step 26/27 : LABEL git_sha=5b09041a5e6435f0f19428e234fb6ed8608d40ac 04:04:41 ---> Running in e48bb1ce29e9 04:04:41 Removing intermediate container e48bb1ce29e9 04:04:41 ---> 1265355ebff6 04:04:41 Step 27/27 : LABEL version=0.0.0 04:04:41 ---> Running in 9704f3588cb5 04:04:41 Removing intermediate container 9704f3588cb5 04:04:41 ---> fd509c57e206 04:04:41 [Warning] One or more build-args [ARCH] were not consumed 04:04:41 Successfully built fd509c57e206 04:04:41 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 04:04:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:42 04:04:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:42 latest: Pulling from edgex-lftools-log-publisher 04:04:42 5eb5b503b376: Pulling fs layer 04:04:42 5c69ac0246d0: Pulling fs layer 04:04:42 ec43610c2a17: Pulling fs layer 04:04:42 3a2ae6a8a46f: Pulling fs layer 04:04:42 33b1e0a273af: Pulling fs layer 04:04:42 5d3b04190fa2: Pulling fs layer 04:04:42 2f39f015ded8: Pulling fs layer 04:04:42 3a2ae6a8a46f: Waiting 04:04:42 5d3b04190fa2: Waiting 04:04:42 33b1e0a273af: Waiting 04:04:42 2f39f015ded8: Waiting 04:04:42 5c69ac0246d0: Verifying Checksum 04:04:42 5c69ac0246d0: Download complete 04:04:42 3a2ae6a8a46f: Verifying Checksum 04:04:42 3a2ae6a8a46f: Download complete 04:04:42 33b1e0a273af: Verifying Checksum 04:04:42 33b1e0a273af: Download complete 04:04:42 5d3b04190fa2: Verifying Checksum 04:04:42 5d3b04190fa2: Download complete 04:04:42 ec43610c2a17: Verifying Checksum 04:04:42 ec43610c2a17: Download complete 04:04:43 5eb5b503b376: Verifying Checksum 04:04:43 5eb5b503b376: Download complete 04:04:43 2f39f015ded8: Verifying Checksum 04:04:43 2f39f015ded8: Download complete 04:04:44 5eb5b503b376: Pull complete 04:04:44 5c69ac0246d0: Pull complete 04:04:44 ec43610c2a17: Pull complete 04:04:44 3a2ae6a8a46f: Pull complete 04:04:45 33b1e0a273af: Pull complete 04:04:45 5d3b04190fa2: Pull complete 04:04:49 2f39f015ded8: Pull complete 04:04:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:49 prd-ubuntu20.04-docker-8c-8g-34835 does not seem to be running inside a container 04:04:49 $ 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-158 -v /w/workspace/foundry_app-record-replay_PR-158:/w/workspace/foundry_app-record-replay_PR-158:rw,z -v /w/workspace/foundry_app-record-replay_PR-158@tmp:/w/workspace/foundry_app-record-replay_PR-158@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 04:04:51 $ docker top 256a0a59d55776acf23545a1c1082ce5dbd1f8a17906ee18066fca2be056dc72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:51 ---> job-cost.sh 04:04:51 lf-activate-venv: SKIPPING 04:04:51 INFO: No Stack... 04:04:52 INFO: Retrieving Pricing Info for: v3-standard-8 04:04:52 INFO: Archiving Costs [Pipeline] sh 04:04:52 + cat /w/workspace/foundry_app-record-replay_PR-158/archives/cost.csv 04:04:52 + cut -d, -f6 [Pipeline] lock 04:04:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-record-replay-PR-158-1-stack-cost] 04:04:52 Resource [jenkins-edgexfoundry-app-record-replay-PR-158-1-stack-cost] did not exist. Created. 04:04:52 Lock acquired on [Resource: jenkins-edgexfoundry-app-record-replay-PR-158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:53 + echo total: 0.2199999988079071 [Pipeline] stash 04:04:53 Stashed 1 file(s) [Pipeline] } 04:04:53 Lock released on resource [Resource: jenkins-edgexfoundry-app-record-replay-PR-158-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:53 $ docker stop --time=1 256a0a59d55776acf23545a1c1082ce5dbd1f8a17906ee18066fca2be056dc72 04:04:54 $ docker rm -f --volumes 256a0a59d55776acf23545a1c1082ce5dbd1f8a17906ee18066fca2be056dc72 [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 04:04:55 provisioning config files... 04:04:55 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-158@tmp/config4946643561536113332tmp [Pipeline] { [Pipeline] sh 04:04:55 + set +x 04:04:55 + curl -s https://codecov.io/bash 04:04:55 + bash -s -- 04:04:55 04:04:55 _____ _ 04:04:55 / ____| | | 04:04:55 | | ___ __| | ___ ___ _____ __ 04:04:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:04:55 | |___| (_) | (_| | __/ (_| (_) \ V / 04:04:55 \_____\___/ \__,_|\___|\___\___/ \_/ 04:04:55 Bash-1.0.6 04:04:55 04:04:55 04:04:55 ==> git version 2.25.1 found 04:04:55 ==> 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 04:04:55 Release-Date: 2020-01-08 04:04:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:04:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:04:55 ==> Jenkins CI detected. 04:04:55 current dir:  /w/workspace/foundry_app-record-replay_PR-158 04:04:55 project root: . 04:04:55 --> token set from env 04:04:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:04:55 ==> Running gcov in . (disable via -X gcov) 04:04:55 ==> Python coveragepy not found 04:04:55 ==> Searching for coverage reports in: 04:04:55 + . 04:04:55 -> Found 1 reports 04:04:55 ==> Detecting git/mercurial file structure 04:04:55 ==> Reading reports 04:04:56 + ./coverage.out bytes=34247 04:04:56 ==> Appending adjustments 04:04:56 https://docs.codecov.io/docs/fixing-reports 04:04:56 + Found adjustments 04:04:56 ==> Gzipping contents 04:04:56 8.0K /tmp/codecov.dZt7nv.gz 04:04:56 ==> Uploading reports 04:04:56 url: https://codecov.io 04:04:56 query: branch=PR-158&commit=5b09041a5e6435f0f19428e234fb6ed8608d40ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=158&job=&cmd_args= 04:04:56 -> Pinging Codecov 04:04:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-158&commit=5b09041a5e6435f0f19428e234fb6ed8608d40ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=158&job=&cmd_args= 04:04:56 -> Uploading to 04:04:56 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/app-record-replay/5b09041a5e6435f0f19428e234fb6ed8608d40ac/4e237c5a-ca43-49da-9ebb-ff4aade93f0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241210%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241210T040456Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=47cd189fe89bfeec33168431a859b5e45999000f02a11cce336dd58f1a76341a 04:04:56 % Total % Received % Xferd Average Speed Time Time Time Current 04:04:56 Dload Upload Total Spent Left Speed 04:04:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5392 0 0 100 5392 0 34343 --:--:-- --:--:-- --:--:-- 34343 04:04:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/5b09041a5e6435f0f19428e234fb6ed8608d40ac [Pipeline] } 04:04:56 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 04:04:58 + [ -d /w/workspace/foundry_app-record-replay_PR-158/archives ] 04:04:58 + ls -al /w/workspace/foundry_app-record-replay_PR-158/archives 04:04:58 total 16 04:04:58 drwxr-xr-x 3 root root 4096 Dec 10 04:04 . 04:04:58 drwxrwxr-x 11 jenkins jenkins 4096 Dec 10 04:04 .. 04:04:58 drwxr-xr-x 2 root root 4096 Dec 10 04:04 cost 04:04:58 -rw-r--r-- 1 root root 89 Dec 10 04:04 cost.csv 04:04:58 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-158/archives 04:04:58 + ls -al /w/workspace/foundry_app-record-replay_PR-158/archives 04:04:58 total 16 04:04:58 drwxr-xr-x 3 jenkins jenkins 4096 Dec 10 04:04 . 04:04:58 drwxrwxr-x 11 jenkins jenkins 4096 Dec 10 04:04 .. 04:04:58 drwxr-xr-x 2 jenkins jenkins 4096 Dec 10 04:04 cost 04:04:58 -rw-r--r-- 1 jenkins jenkins 89 Dec 10 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:04:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:04:59 ---> package-listing.sh 04:04:59 ++ facter osfamily 04:04:59 ++ tr '[:upper:]' '[:lower:]' 04:05:00 + OS_FAMILY=debian 04:05:00 + workspace=/w/workspace/foundry_app-record-replay_PR-158 04:05:00 + START_PACKAGES=/tmp/packages_start.txt 04:05:00 + END_PACKAGES=/tmp/packages_end.txt 04:05:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:05:00 + PACKAGES=/tmp/packages_start.txt 04:05:00 + '[' /w/workspace/foundry_app-record-replay_PR-158 ']' 04:05:00 + PACKAGES=/tmp/packages_end.txt 04:05:00 + case "${OS_FAMILY}" in 04:05:00 + dpkg -l 04:05:00 + grep '^ii' 04:05:00 + '[' -f /tmp/packages_start.txt ']' 04:05:00 + '[' -f /tmp/packages_end.txt ']' 04:05:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:05:00 + '[' /w/workspace/foundry_app-record-replay_PR-158 ']' 04:05:00 + mkdir -p /w/workspace/foundry_app-record-replay_PR-158/archives/ 04:05:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-158/archives/ [Pipeline] echo 04:05:00 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-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:05:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:01 prd-ubuntu20.04-docker-8c-8g-34835 does not seem to be running inside a container 04:05:01 $ 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-158/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-158 -v /w/workspace/foundry_app-record-replay_PR-158:/w/workspace/foundry_app-record-replay_PR-158:rw,z -v /w/workspace/foundry_app-record-replay_PR-158@tmp:/w/workspace/foundry_app-record-replay_PR-158@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 04:05:01 $ docker top 77bcb5e5e6f89670f81c52a607a35dcbf67130716969f5765f56f71ef7f744d0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:01 + touch /tmp/pre-build-complete [Pipeline] sh 04:05:02 + mkdir -p /var/log/sysstat [Pipeline] sh 04:05:02 + ls /var/log/sa-host 04:05:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:02 provisioning config files... 04:05:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-158@tmp/config7728935890198550098tmp [Pipeline] { [Pipeline] echo 04:05:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:05:03 ---> create-netrc.sh [Pipeline] } 04:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:05:03 ---> python-tools-install.sh [Pipeline] echo 04:05:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:05:04 ---> sudo-logs.sh 04:05:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:05:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:05:04 ---> job-cost.sh 04:05:04 lf-activate-venv: SKIPPING 04:05:04 DEBUG: total: 0.2199999988079071 04:05:04 INFO: Retrieving Stack Cost... 04:05:04 INFO: Retrieving Pricing Info for: v3-standard-8 04:05:04 INFO: Archiving Costs [Pipeline] echo 04:05:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:05:05 ---> logs-deploy.sh 04:05:05 lf-activate-venv: SKIPPING 04:05:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-158/1 04:05:05 INFO: archiving workspace using pattern(s): 04:05:06 Archives upload complete. 04:05:06 INFO: archiving logs to Nexus