Pull request #103 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ad55588cbb6488f0e535e5c3593ec8a572d8b106+cf2b27898899a203f9eb6ebf67b2fde31c12ce22 (7fa9ae7cff5f7c215841c5139fe4a2765137248a) 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-ssh6361046787522023839.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh2471746202572778082.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-103/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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13811176276944005968.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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15956037341664242901.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh16448232502918956478.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-103/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-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14651163173409682271.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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.21 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-16812 in /w/workspace/foundry_app-record-replay_PR-103 [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-103 # 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 > 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/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cf2b27898899a203f9eb6ebf67b2fde31c12ce22 into PR head commit ad55588cbb6488f0e535e5c3593ec8a572d8b106 Merge succeeded, producing ad55588cbb6488f0e535e5c3593ec8a572d8b106 Checking out Revision ad55588cbb6488f0e535e5c3593ec8a572d8b106 (PR-103) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:08:21 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ad55588cbb6488f0e535e5c3593ec8a572d8b106 # 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 cf2b27898899a203f9eb6ebf67b2fde31c12ce22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad55588cbb6488f0e535e5c3593ec8a572d8b106 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:08:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:08:21 ========================================================= 04:08:21 EdgeX Global Pipelines Version Info 04:08:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:08:22 ------------------- 04:08:22 stable info: 04:08:22 ------------------- 04:08:22 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 04:08:22 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 04:08:22 Message: update stable to v1.0.257 04:08:22 ------------------- 04:08:22 experimental info: 04:08:22 ------------------- 04:08:22 Commited By: **** collab-it+edgex@linuxfoundation.org 04:08:22 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 04:08:22 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:08:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad55588cbb6488f0e535e5c3593ec8a572d8b106 [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad55588 [Pipeline] echo 04:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:24 provisioning config files... 04:08:24 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-103@tmp/config1759367967667983134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:25 ---> docker-login.sh 04:08:25 nexus3.edgexfoundry.org:10001 04:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:25 Configure a credential helper to remove this warning. See 04:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:25 04:08:25 Login Succeeded 04:08:25 nexus3.edgexfoundry.org:10002 04:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:25 Configure a credential helper to remove this warning. See 04:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:25 04:08:25 Login Succeeded 04:08:25 nexus3.edgexfoundry.org:10003 04:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:25 Configure a credential helper to remove this warning. See 04:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:25 04:08:25 Login Succeeded 04:08:25 nexus3.edgexfoundry.org:10004 04:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:25 Configure a credential helper to remove this warning. See 04:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:25 04:08:25 Login Succeeded 04:08:25 docker.io 04:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:26 Configure a credential helper to remove this warning. See 04:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:26 04:08:26 Login Succeeded 04:08:26 ---> docker-login.sh ends [Pipeline] } 04:08:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:08:27 + git rev-list -1 --merges ad55588cbb6488f0e535e5c3593ec8a572d8b106~1..ad55588cbb6488f0e535e5c3593ec8a572d8b106 [Pipeline] echo 04:08:27 -----------> git rev-list -1 --merges ad55588cbb6488f0e535e5c3593ec8a572d8b106~1..ad55588cbb6488f0e535e5c3593ec8a572d8b106 ad55588cbb6488f0e535e5c3593ec8a572d8b106 [false] [Pipeline] sh 04:08:27 + git log --format=format:%s -1 ad55588cbb6488f0e535e5c3593ec8a572d8b106 [Pipeline] echo 04:08:27 ========================================================= 04:08:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:08:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:28 + git log --format=format:%s -1 ad55588cbb6488f0e535e5c3593ec8a572d8b106 [Pipeline] echo 04:08:28 [semverPrep] GIT_COMMIT: ad55588cbb6488f0e535e5c3593ec8a572d8b106, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 04:08:28 [semverPrep] This is not a build commit. [Pipeline] sh 04:08:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:28 + grep -v github /etc/ssh/ssh_known_hosts 04:08:28 + [ -e /tmp/ssh_known_hosts ] 04:08:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:08:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:08:28 + sudo tee -a /etc/ssh/ssh_known_hosts 04:08:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:28 04:08:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:29 0.1.4: Pulling from edgex-devops/py-git-semver 04:08:29 b85a868b505f: Pulling fs layer 04:08:29 e2be974225ed: Pulling fs layer 04:08:29 339a4e72a1f5: Pulling fs layer 04:08:29 988bab9f4d93: Pulling fs layer 04:08:29 1469e6f7b9e6: Pulling fs layer 04:08:29 eaf3925da568: Pulling fs layer 04:08:29 bab4dde63d76: Pulling fs layer 04:08:29 bde34c3a00c8: Pulling fs layer 04:08:29 b352a97aabf1: Pulling fs layer 04:08:29 4872d77fe225: Pulling fs layer 04:08:29 5851b861e8e6: Pulling fs layer 04:08:29 988bab9f4d93: Waiting 04:08:29 eaf3925da568: Waiting 04:08:29 bab4dde63d76: Waiting 04:08:29 bde34c3a00c8: Waiting 04:08:29 4872d77fe225: Waiting 04:08:29 b352a97aabf1: Waiting 04:08:29 1469e6f7b9e6: Waiting 04:08:29 e2be974225ed: Verifying Checksum 04:08:29 e2be974225ed: Download complete 04:08:29 988bab9f4d93: Verifying Checksum 04:08:29 988bab9f4d93: Download complete 04:08:29 1469e6f7b9e6: Verifying Checksum 04:08:29 1469e6f7b9e6: Download complete 04:08:29 eaf3925da568: Verifying Checksum 04:08:29 eaf3925da568: Download complete 04:08:29 339a4e72a1f5: Verifying Checksum 04:08:29 339a4e72a1f5: Download complete 04:08:29 bde34c3a00c8: Verifying Checksum 04:08:29 bde34c3a00c8: Download complete 04:08:29 b352a97aabf1: Verifying Checksum 04:08:29 b352a97aabf1: Download complete 04:08:29 4872d77fe225: Verifying Checksum 04:08:29 4872d77fe225: Download complete 04:08:29 5851b861e8e6: Download complete 04:08:29 b85a868b505f: Verifying Checksum 04:08:29 b85a868b505f: Download complete 04:08:29 bab4dde63d76: Verifying Checksum 04:08:29 bab4dde63d76: Download complete 04:08:30 b85a868b505f: Pull complete 04:08:31 e2be974225ed: Pull complete 04:08:31 339a4e72a1f5: Pull complete 04:08:31 988bab9f4d93: Pull complete 04:08:31 1469e6f7b9e6: Pull complete 04:08:32 eaf3925da568: Pull complete 04:08:34 bab4dde63d76: Pull complete 04:08:34 bde34c3a00c8: Pull complete 04:08:34 b352a97aabf1: Pull complete 04:08:34 4872d77fe225: Pull complete 04:08:34 5851b861e8e6: Pull complete 04:08:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:08:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:34 prd-ubuntu20.04-docker-8c-8g-16812 does not seem to be running inside a container 04:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-103 -v /w/workspace/foundry_app-record-replay_PR-103:/w/workspace/foundry_app-record-replay_PR-103:rw,z -v /w/workspace/foundry_app-record-replay_PR-103@tmp:/w/workspace/foundry_app-record-replay_PR-103@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:08:39 $ docker top f2465c1c1c2888568514f40378f0e16d668e38ff8a096959b63d86a4f9a2191d -eo pid,comm 04:08: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:08:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:39 [ssh-agent] Looking for ssh-agent implementation... 04:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:39 $ docker exec f2465c1c1c2888568514f40378f0e16d668e38ff8a096959b63d86a4f9a2191d ssh-agent 04:08:39 SSH_AUTH_SOCK=/tmp/ssh-E01au2OGerxI/agent.32 04:08:39 SSH_AGENT_PID=38 04:08:39 Running ssh-add (command line suppressed) 04:08:39 Identity added: /w/workspace/foundry_app-record-replay_PR-103@tmp/private_key_4140291875275525809.key (/w/workspace/foundry_app-record-replay_PR-103@tmp/private_key_4140291875275525809.key) 04:08:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:39 + git tag --points-at HEAD [Pipeline] } 04:08:39 $ docker exec --env ******** --env ******** f2465c1c1c2888568514f40378f0e16d668e38ff8a096959b63d86a4f9a2191d ssh-agent -k 04:08:40 unset SSH_AUTH_SOCK; 04:08:40 unset SSH_AGENT_PID; 04:08:40 echo Agent pid 38 killed; 04:08:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:08:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:40 [ssh-agent] Looking for ssh-agent implementation... 04:08:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:40 $ docker exec f2465c1c1c2888568514f40378f0e16d668e38ff8a096959b63d86a4f9a2191d ssh-agent 04:08:40 SSH_AUTH_SOCK=/tmp/ssh-SOgvhsMoWrEb/agent.71 04:08:40 SSH_AGENT_PID=77 04:08:40 Running ssh-add (command line suppressed) 04:08:40 Identity added: /w/workspace/foundry_app-record-replay_PR-103@tmp/private_key_7151620467460339671.key (/w/workspace/foundry_app-record-replay_PR-103@tmp/private_key_7151620467460339671.key) 04:08:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:41 + git semver init 04:08:41 2023-11-07 04:08:41,550 [run_init] DEBUG init version:0.0.0 force:False 04:08:41 2023-11-07 04:08:41,551 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-103/.semver 04:08:41 2023-11-07 04:08:41,552 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-103/.semver 04:08:41 2023-11-07 04:08:41,552 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-103/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-103, universal_newlines=False, shell=None, istream=None) 04:08:45 2023-11-07 04:08:45,053 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-103/.git/info/exclude 04:08:45 2023-11-07 04:08:45,054 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-103/.semver/PR-103 with force:False 04:08:45 2023-11-07 04:08:45,054 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-103/.semver/PR-103 04:08:45 2023-11-07 04:08:45,058 [execute] INFO git cat-file --batch-check 04:08:45 2023-11-07 04:08:45,059 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-103/.semver, universal_newlines=False, shell=None, istream=) 04:08:45 2023-11-07 04:08:45,064 [execute] INFO git cat-file --batch 04:08:45 2023-11-07 04:08:45,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-103/.semver, universal_newlines=False, shell=None, istream=) 04:08:45 2023-11-07 04:08:45,069 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-103/.semver/PR-103 04:08:45 0.0.0 [Pipeline] } 04:08:45 $ docker exec --env ******** --env ******** f2465c1c1c2888568514f40378f0e16d668e38ff8a096959b63d86a4f9a2191d ssh-agent -k 04:08:45 unset SSH_AUTH_SOCK; 04:08:45 unset SSH_AGENT_PID; 04:08:45 echo Agent pid 77 killed; 04:08:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:46 + git semver [Pipeline] } 04:08:46 $ docker stop --time=1 f2465c1c1c2888568514f40378f0e16d668e38ff8a096959b63d86a4f9a2191d 04:08:48 $ docker rm -f --volumes f2465c1c1c2888568514f40378f0e16d668e38ff8a096959b63d86a4f9a2191d [Pipeline] // withDockerContainer [Pipeline] sh 04:08:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:08:48 Stashed 1 file(s) [Pipeline] echo 04:08:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:49 provisioning config files... 04:08:49 copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-103@tmp/config11861836297748700349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:49 ---> docker-login.sh 04:08:49 nexus3.edgexfoundry.org:10001 04:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:49 Configure a credential helper to remove this warning. See 04:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:49 04:08:49 Login Succeeded 04:08:49 nexus3.edgexfoundry.org:10002 04:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:49 Configure a credential helper to remove this warning. See 04:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:49 04:08:49 Login Succeeded 04:08:49 nexus3.edgexfoundry.org:10003 04:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:49 Configure a credential helper to remove this warning. See 04:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:49 04:08:49 Login Succeeded 04:08:49 nexus3.edgexfoundry.org:10004 04:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:49 Configure a credential helper to remove this warning. See 04:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:49 04:08:49 Login Succeeded 04:08:49 docker.io 04:08:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:50 Configure a credential helper to remove this warning. See 04:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:50 04:08:50 Login Succeeded 04:08:50 ---> docker-login.sh ends [Pipeline] } 04:08:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:08:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:08:50 ========================================================= 04:08:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:08:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:08:51 Sending build context to Docker daemon 648.2kB 04:08:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:08:51 Step 2/12 : FROM ${BASE} AS builder 04:08:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:08:51 7264a8db6415: Pulling fs layer 04:08:51 c4d48a809fc2: Pulling fs layer 04:08:51 4f1c88b9dad5: Pulling fs layer 04:08:51 ad3a456e5733: Pulling fs layer 04:08:51 33e27b845d1e: Pulling fs layer 04:08:51 c68163c4e522: Pulling fs layer 04:08:51 50da416c3ac9: Pulling fs layer 04:08:51 23d2d4c4bb30: Pulling fs layer 04:08:51 ad3a456e5733: Waiting 04:08:51 33e27b845d1e: Waiting 04:08:51 c68163c4e522: Waiting 04:08:51 50da416c3ac9: Waiting 04:08:51 23d2d4c4bb30: Waiting 04:08:51 c4d48a809fc2: Download complete 04:08:51 ad3a456e5733: Verifying Checksum 04:08:51 ad3a456e5733: Download complete 04:08:51 33e27b845d1e: Verifying Checksum 04:08:51 33e27b845d1e: Download complete 04:08:51 7264a8db6415: Verifying Checksum 04:08:51 7264a8db6415: Download complete 04:08:51 c68163c4e522: Verifying Checksum 04:08:51 c68163c4e522: Download complete 04:08:51 7264a8db6415: Pull complete 04:08:52 23d2d4c4bb30: Verifying Checksum 04:08:52 23d2d4c4bb30: Download complete 04:08:52 c4d48a809fc2: Pull complete 04:08:52 4f1c88b9dad5: Verifying Checksum 04:08:52 4f1c88b9dad5: Download complete 04:08:52 50da416c3ac9: Verifying Checksum 04:08:52 50da416c3ac9: Download complete 04:08:55 4f1c88b9dad5: Pull complete 04:08:55 ad3a456e5733: Pull complete 04:08:55 33e27b845d1e: Pull complete 04:08:55 c68163c4e522: Pull complete 04:08:58 50da416c3ac9: Pull complete 04:08:58 23d2d4c4bb30: Pull complete 04:08:58 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 04:08:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:08:58 ---> 0786185ac409 04:08:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:09:04 Still waiting to schedule task 04:09:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:09:04 ---> Running in b62c9c3a2ec3 04:09:04 Removing intermediate container b62c9c3a2ec3 04:09:04 ---> 0ecf5d576933 04:09:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:09:04 ---> Running in 5e3319fd8c7e 04:09:04 Removing intermediate container 5e3319fd8c7e 04:09:04 ---> ba08d93f8725 04:09:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:09:04 ---> Running in df359ac9f766 04:09:04 Removing intermediate container df359ac9f766 04:09:04 ---> 6846acc030fb 04:09:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:04 ---> Running in 54a02465c14d 04:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:09:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:09:04 OK: 264 MiB in 52 packages 04:09:05 Removing intermediate container 54a02465c14d 04:09:05 ---> ee5a8ac93d4c 04:09:05 Step 7/12 : WORKDIR /app 04:09:05 ---> Running in d3b065059c45 04:09:05 Removing intermediate container d3b065059c45 04:09:05 ---> 1dd7347c6b2b 04:09:05 Step 8/12 : COPY go.mod vendor* ./ 04:09:05 ---> 678ba4a6af34 04:09:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:05 ---> Running in ce073c10e336 04:09:52 Removing intermediate container ce073c10e336 04:09:52 ---> 78771f8786d2 04:09:52 Step 10/12 : COPY . . 04:09:52 ---> 8640e727b2bc 04:09:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:09:52 ---> Running in 22a03c3cadd8 04:09:52 Removing intermediate container 22a03c3cadd8 04:09:52 ---> 3f8788372389 04:09:52 Step 12/12 : RUN $MAKE 04:09:52 ---> Running in 70e828fa485b 04:09:52 noop 04:09:52 Removing intermediate container 70e828fa485b 04:09:52 ---> 5991388a0f7f 04:09:52 Successfully built 5991388a0f7f 04:09:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:52 + docker inspect -f . ci-base-image-x86_64 04:09:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:52 prd-ubuntu20.04-docker-8c-8g-16812 does not seem to be running inside a container 04:09:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-103 -v /w/workspace/foundry_app-record-replay_PR-103:/w/workspace/foundry_app-record-replay_PR-103:rw,z -v /w/workspace/foundry_app-record-replay_PR-103@tmp:/w/workspace/foundry_app-record-replay_PR-103@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:09:53 $ docker top 01566547c0450e18799cf0f77b720db014236205d78c554cb1f5ea28741b089b -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:53 + go version 04:09:53 go version go1.21.0 linux/amd64 [Pipeline] } 04:09:53 $ docker stop --time=1 01566547c0450e18799cf0f77b720db014236205d78c554cb1f5ea28741b089b 04:09:54 $ docker rm -f --volumes 01566547c0450e18799cf0f77b720db014236205d78c554cb1f5ea28741b089b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:55 + docker inspect -f . ci-base-image-x86_64 04:09:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:55 prd-ubuntu20.04-docker-8c-8g-16812 does not seem to be running inside a container 04:09:55 $ 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-103 -v /w/workspace/foundry_app-record-replay_PR-103:/w/workspace/foundry_app-record-replay_PR-103:rw,z -v /w/workspace/foundry_app-record-replay_PR-103@tmp:/w/workspace/foundry_app-record-replay_PR-103@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:09:56 $ docker top a70c666b9b51a44d7815e875dc0cf72e7bfeb7baa6942bf387ae604530f458e0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:56 + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-103 [Pipeline] fileExists [Pipeline] sh 04:09:56 + make test 04:09:56 go test -race -coverprofile=coverage.out ./... 04:10:18 ? github.com/edgexfoundry/app-record-replay [no test files] 04:10:18 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:10:18 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:10:18 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:10:18 ok github.com/edgexfoundry/app-record-replay/internal/app 1.046s coverage: 88.0% of statements 04:10:27 ok github.com/edgexfoundry/app-record-replay/internal/application 9.611s coverage: 98.7% of statements 04:10:27 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.091s coverage: 89.7% of statements 04:10:27 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.037s coverage: 100.0% of statements 04:10:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16813 in /w/workspace/foundry_app-record-replay_PR-103 [Pipeline] { [Pipeline] ws 04:10:46 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 04:10:46 Selected Git installation does not exist. Using Default 04:10:46 The recommended git tool is: NONE 04:10:48 go vet ./... 04:10:51 using credential edgex-jenkins-ssh 04:10:51 Cloning the remote Git repository 04:10:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:10:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:10:52 ./bin/test-attribution-txt.sh [Pipeline] echo 04:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:10:52 $ docker stop --time=1 a70c666b9b51a44d7815e875dc0cf72e7bfeb7baa6942bf387ae604530f458e0 04:10:51 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 04:10:51 > git init /w/workspace/app-record-replay/1 # timeout=10 04:10:52 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:10:52 > git --version # timeout=10 04:10:52 > git --version # 'git version 2.25.1' 04:10:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:54 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:10:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:55 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:10:55 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:10:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:55 Merging remotes/origin/main commit cf2b27898899a203f9eb6ebf67b2fde31c12ce22 into PR head commit ad55588cbb6488f0e535e5c3593ec8a572d8b106 04:10:55 Merge succeeded, producing ad55588cbb6488f0e535e5c3593ec8a572d8b106 04:10:55 Checking out Revision ad55588cbb6488f0e535e5c3593ec8a572d8b106 (PR-103) 04:10:56 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 04:10:56 > git --version # timeout=10 04:10:56 > git --version # 'git version 2.25.1' 04:10:56 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 04:10:56 $ docker rm -f --volumes a70c666b9b51a44d7815e875dc0cf72e7bfeb7baa6942bf387ae604530f458e0 [Pipeline] // withDockerContainer [Pipeline] sh 04:10:56 + sudo chown -R jenkins:jenkins . 04:10:55 > git config core.sparsecheckout # timeout=10 04:10:55 > git checkout -f ad55588cbb6488f0e535e5c3593ec8a572d8b106 # timeout=10 04:10:55 > git remote # timeout=10 04:10:55 > git config --get remote.origin.url # timeout=10 04:10:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:55 > git merge cf2b27898899a203f9eb6ebf67b2fde31c12ce22 # timeout=10 04:10:55 > git rev-parse HEAD^{commit} # timeout=10 04:10:55 > git config core.sparsecheckout # timeout=10 04:10:55 > git checkout -f ad55588cbb6488f0e535e5c3593ec8a572d8b106 # timeout=10 [Pipeline] stash 04:10:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:10:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:10:58 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:58 Dload Upload Total Spent Left Speed 04:10:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k 04:10:58 + ls -al . 04:10:58 total 192 04:10:58 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 04:09 . 04:10:58 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 04:08 .. 04:10:58 -rw-rw-r-- 1 jenkins jenkins 119 Nov 7 04:08 .dockerignore 04:10:58 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 04:10 .git 04:10:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 04:08 .github 04:10:58 -rw-rw-r-- 1 jenkins jenkins 164 Nov 7 04:08 .gitignore 04:10:58 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 04:08 .golangci.yml 04:10:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 04:08 .semver 04:10:58 -rw-rw-r-- 1 jenkins jenkins 11301 Nov 7 04:08 Attribution.txt 04:10:58 -rw-rw-r-- 1 jenkins jenkins 458 Nov 7 04:08 CHANGELOG.md 04:10:58 -rw-rw-r-- 1 jenkins jenkins 1616 Nov 7 04:08 Dockerfile 04:10:58 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 04:08 GOVERNANCE.md 04:10:58 -rw-rw-r-- 1 jenkins jenkins 681 Nov 7 04:08 Jenkinsfile 04:10:58 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 7 04:08 LICENSE 04:10:58 -rw-rw-r-- 1 jenkins jenkins 3139 Nov 7 04:08 Makefile 04:10:58 -rw-rw-r-- 1 jenkins jenkins 611 Nov 7 04:08 OWNERS.md 04:10:58 -rw-rw-r-- 1 jenkins jenkins 4107 Nov 7 04:08 README.md 04:10:58 -rw-rw-r-- 1 jenkins jenkins 7789 Nov 7 04:08 Record and Reply.postman_collection.json 04:10:58 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 04:08 VERSION 04:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 04:08 bin 04:10:58 -rw-r--r-- 1 jenkins jenkins 24666 Nov 7 04:10 coverage.out 04:10:58 -rw-rw-r-- 1 jenkins jenkins 3866 Nov 7 04:08 go.mod 04:10:58 -rw-rw-r-- 1 jenkins jenkins 34811 Nov 7 04:08 go.sum 04:10:58 drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 04:08 internal 04:10:58 -rw-rw-r-- 1 jenkins jenkins 913 Nov 7 04:08 main.go 04:10:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 04:08 openapi 04:10:58 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 04:08 pkg 04:10:58 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 04:08 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 04:10:58 + 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=ad55588cbb6488f0e535e5c3593ec8a572d8b106 --label arch=amd64 --label version=0.0.0 . 04:10:58 Sending build context to Docker daemon 673.8kB 04:10:58 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:10:58 Step 2/26 : FROM ${BASE} AS builder 04:10:58 ---> 5991388a0f7f 04:10:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:10:58 ---> Running in 240ba2690f43 04:10:58 Removing intermediate container 240ba2690f43 04:10:58 ---> ba8b4024ef97 04:10:58 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:10:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 04:10:58 ---> Running in 6dc15631c86f 04:10:58 Removing intermediate container 6dc15631c86f 04:10:58 ---> 68d542d77f7a 04:10:58 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:10:58 ---> Running in 373b0c19fa95 04:10:58 Removing intermediate container 373b0c19fa95 04:10:58 ---> e60c6cc114f0 04:10:58 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:10:58 ---> Running in ae74aebecf41 [Pipeline] sh 04:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:10:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:10:59 + sudo tee /etc/docker/daemon.new 04:10:59 { 04:10:59 "registry-mirrors": [ 04:10:59 "https://nexus3.edgexfoundry.org:10001" 04:10:59 ], 04:10:59 "bip": "10.250.0.254/24", 04:10:59 "hosts": [ 04:10:59 "tcp://0.0.0.0:5555", 04:10:59 "unix:///var/run/docker.sock" 04:10:59 ], 04:10:59 "mtu": 1458, 04:10:59 "selinux-enabled": true, 04:10:59 "seccomp-profile": "/etc/docker/seccomp.json" 04:10:59 } [Pipeline] sh 04:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:10:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:10:59 OK: 264 MiB in 52 packages 04:10:59 + sudo service docker restart 04:11:00 Removing intermediate container ae74aebecf41 04:11:00 ---> d712984403c2 04:11:00 Step 7/26 : WORKDIR /app 04:11:00 ---> Running in d8d62120e6e4 04:11:00 Removing intermediate container d8d62120e6e4 04:11:00 ---> eb833a9f0ee6 04:11:00 Step 8/26 : COPY go.mod vendor* ./ 04:11:00 ---> 777f62ecaffc 04:11:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:00 ---> Running in 54e8f698a890 04:11:00 Removing intermediate container 54e8f698a890 04:11:00 ---> 21bf2971874e 04:11:00 Step 10/26 : COPY . . 04:11:01 ---> 27d8db47e8fd 04:11:01 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:11:01 ---> Running in d2c9678bade0 04:11:01 Removing intermediate container d2c9678bade0 04:11:01 ---> ba0fc5e5d2dd 04:11:01 Step 12/26 : RUN $MAKE 04:11:01 ---> Running in db5103ceea27 04:11:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:18 provisioning config files... 04:11:18 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config491228015382247528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:18 ---> docker-login.sh 04:11:18 nexus3.edgexfoundry.org:10001 04:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:19 Configure a credential helper to remove this warning. See 04:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:19 04:11:19 Login Succeeded 04:11:19 nexus3.edgexfoundry.org:10002 04:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:19 Configure a credential helper to remove this warning. See 04:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:19 04:11:19 Login Succeeded 04:11:19 nexus3.edgexfoundry.org:10003 04:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:19 Configure a credential helper to remove this warning. See 04:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:19 04:11:19 Login Succeeded 04:11:19 nexus3.edgexfoundry.org:10004 04:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:20 Configure a credential helper to remove this warning. See 04:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:20 04:11:20 Login Succeeded 04:11:20 docker.io 04:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:20 Configure a credential helper to remove this warning. See 04:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:20 04:11:20 Login Succeeded 04:11:20 ---> docker-login.sh ends [Pipeline] } 04:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:11:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:11:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:11:21 ========================================================= 04:11:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:11:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:11:21 Sending build context to Docker daemon 258.6kB 04:11:21 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:11:21 Step 2/12 : FROM ${BASE} AS builder 04:11:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:11:21 9fda8d8052c6: Pulling fs layer 04:11:21 5d54e960e981: Pulling fs layer 04:11:21 c4a7e357bf2a: Pulling fs layer 04:11:21 f0e02332f6b5: Pulling fs layer 04:11:21 cefa15bbcfad: Pulling fs layer 04:11:21 17808c966233: Pulling fs layer 04:11:21 f4c1fc716caa: Pulling fs layer 04:11:21 cefa15bbcfad: Waiting 04:11:21 17808c966233: Waiting 04:11:21 f4c1fc716caa: Waiting 04:11:21 f0e02332f6b5: Waiting 04:11:21 5d54e960e981: Verifying Checksum 04:11:21 5d54e960e981: Download complete 04:11:22 f0e02332f6b5: Verifying Checksum 04:11:22 f0e02332f6b5: Download complete 04:11:22 cefa15bbcfad: Verifying Checksum 04:11:22 9fda8d8052c6: Verifying Checksum 04:11:22 9fda8d8052c6: Download complete 04:11:22 cefa15bbcfad: Download complete 04:11:22 f4c1fc716caa: Verifying Checksum 04:11:22 f4c1fc716caa: Download complete 04:11:23 9fda8d8052c6: Pull complete 04:11:23 Removing intermediate container db5103ceea27 04:11:23 ---> 8709701a9485 04:11:23 Step 13/26 : FROM alpine:3.18 04:11:23 5d54e960e981: Pull complete 04:11:23 3.18: Pulling from library/alpine 04:11:23 96526aa774ef: Pulling fs layer 04:11:23 c4a7e357bf2a: Verifying Checksum 04:11:23 c4a7e357bf2a: Download complete 04:11:24 96526aa774ef: Verifying Checksum 04:11:24 96526aa774ef: Download complete 04:11:24 96526aa774ef: Pull complete 04:11:24 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:11:24 Status: Downloaded newer image for alpine:3.18 04:11:24 ---> 8ca4688f4f35 04:11:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:11:24 ---> Running in d585744faacc 04:11:24 Removing intermediate container d585744faacc 04:11:24 ---> 7f0d01abc018 04:11:24 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 04:11:24 ---> Running in 55fadcff7045 04:11:24 Removing intermediate container 55fadcff7045 04:11:24 ---> 91d84925db88 04:11:24 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:11:24 ---> Running in 5f3f9d17c840 04:11:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:11:24 17808c966233: Verifying Checksum 04:11:24 17808c966233: Download complete 04:11:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:11:25 (1/2) Installing ca-certificates (20230506-r0) 04:11:25 (2/2) Installing dumb-init (1.2.5-r2) 04:11:25 Executing busybox-1.36.1-r2.trigger 04:11:25 Executing ca-certificates-20230506-r0.trigger 04:11:25 OK: 8 MiB in 17 packages 04:11:25 Removing intermediate container 5f3f9d17c840 04:11:25 ---> 63b01e03efb7 04:11:25 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:11:25 ---> 8a1e9689a6d6 04:11:25 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:11:26 ---> 1b456b8dd114 04:11:26 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:11:26 ---> 4b55dc42fb7d 04:11:26 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 04:11:27 ---> 538ea6847255 04:11:27 Step 21/26 : EXPOSE 59712 04:11:27 ---> Running in b5a84345722a 04:11:27 Removing intermediate container b5a84345722a 04:11:27 ---> 486cbef3e6ca 04:11:27 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 04:11:27 ---> Running in 6f9a00d89ee5 04:11:27 Removing intermediate container 6f9a00d89ee5 04:11:27 ---> 3162a6b46f51 04:11:27 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:11:27 ---> Running in 954ca2d120ec 04:11:27 Removing intermediate container 954ca2d120ec 04:11:27 ---> 73a0c61fcefb 04:11:27 Step 24/26 : LABEL arch=amd64 04:11:27 ---> Running in 5ed325af9ba4 04:11:27 Removing intermediate container 5ed325af9ba4 04:11:27 ---> 66a9e8a4014f 04:11:27 Step 25/26 : LABEL git_sha=ad55588cbb6488f0e535e5c3593ec8a572d8b106 04:11:27 ---> Running in ddedce57fbbf 04:11:27 Removing intermediate container ddedce57fbbf 04:11:27 ---> f0a63a35943a 04:11:27 Step 26/26 : LABEL version=0.0.0 04:11:27 ---> Running in ca04865e2b77 04:11:27 Removing intermediate container ca04865e2b77 04:11:27 ---> 479befc16ca4 04:11:27 [Warning] One or more build-args [ARCH] were not consumed 04:11:27 Successfully built 479befc16ca4 04:11:27 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:28 04:11:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:28 latest: Pulling from edgex-lftools-log-publisher 04:11:28 5eb5b503b376: Pulling fs layer 04:11:28 5c69ac0246d0: Pulling fs layer 04:11:28 ec43610c2a17: Pulling fs layer 04:11:28 3a2ae6a8a46f: Pulling fs layer 04:11:28 33b1e0a273af: Pulling fs layer 04:11:28 5d3b04190fa2: Pulling fs layer 04:11:28 2f39f015ded8: Pulling fs layer 04:11:28 3a2ae6a8a46f: Waiting 04:11:28 33b1e0a273af: Waiting 04:11:28 5d3b04190fa2: Waiting 04:11:28 5c69ac0246d0: Download complete 04:11:28 3a2ae6a8a46f: Verifying Checksum 04:11:28 3a2ae6a8a46f: Download complete 04:11:28 33b1e0a273af: Verifying Checksum 04:11:28 33b1e0a273af: Download complete 04:11:28 ec43610c2a17: Verifying Checksum 04:11:28 ec43610c2a17: Download complete 04:11:28 5d3b04190fa2: Verifying Checksum 04:11:28 5d3b04190fa2: Download complete 04:11:29 5eb5b503b376: Verifying Checksum 04:11:29 5eb5b503b376: Download complete 04:11:29 2f39f015ded8: Download complete 04:11:30 5eb5b503b376: Pull complete 04:11:30 5c69ac0246d0: Pull complete 04:11:31 ec43610c2a17: Pull complete 04:11:31 3a2ae6a8a46f: Pull complete 04:11:31 33b1e0a273af: Pull complete 04:11:31 5d3b04190fa2: Pull complete 04:11:36 2f39f015ded8: Pull complete 04:11:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:36 prd-ubuntu20.04-docker-8c-8g-16812 does not seem to be running inside a container 04:11:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_app-record-replay_PR-103 -v /w/workspace/foundry_app-record-replay_PR-103:/w/workspace/foundry_app-record-replay_PR-103:rw,z -v /w/workspace/foundry_app-record-replay_PR-103@tmp:/w/workspace/foundry_app-record-replay_PR-103@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:11:37 c4a7e357bf2a: Pull complete 04:11:37 f0e02332f6b5: Pull complete 04:11:37 cefa15bbcfad: Pull complete 04:11:41 $ docker top 34c1eebabebc66472f64e00e11f5f9a89dc08be5c5d01c5e78586cdcf8adae49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:42 ---> job-cost.sh 04:11:42 lf-activate-venv: SKIPPING 04:11:42 INFO: No Stack... 04:11:42 INFO: Retrieving Pricing Info for: v3-standard-8 04:11:42 INFO: Archiving Costs [Pipeline] sh 04:11:43 + cat /w/workspace/foundry_app-record-replay_PR-103/archives/cost.csv 04:11:43 + cut -d, -f6 [Pipeline] lock 04:11:43 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-103-1-stack-cost] 04:11:43 Resource [jenkins-edgexfoundry-app-record-replay-PR-103-1-stack-cost] did not exist. Created. 04:11:43 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:11:43 + echo total: 0.2199999988079071 [Pipeline] stash 04:11:43 Stashed 1 file(s) [Pipeline] } 04:11:43 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-103-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:11:43 $ docker stop --time=1 34c1eebabebc66472f64e00e11f5f9a89dc08be5c5d01c5e78586cdcf8adae49 04:11:44 $ docker rm -f --volumes 34c1eebabebc66472f64e00e11f5f9a89dc08be5c5d01c5e78586cdcf8adae49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:11:45 17808c966233: Pull complete 04:11:46 f4c1fc716caa: Pull complete 04:11:46 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 04:11:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:11:46 ---> ea914061e18c 04:11:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:11:48 ---> Running in ac5a64154fd0 04:11:48 Removing intermediate container ac5a64154fd0 04:11:48 ---> 6ee7a676868f 04:11:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:11:48 ---> Running in 888e806ae2ff 04:11:49 Removing intermediate container 888e806ae2ff 04:11:49 ---> 6d601aee36b4 04:11:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:11:49 ---> Running in 920c30a9af90 04:11:49 Removing intermediate container 920c30a9af90 04:11:49 ---> a79e4354ad26 04:11:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:11:49 ---> Running in e2ea525c9c4e 04:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:11:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:11:52 OK: 266 MiB in 52 packages 04:11:53 Removing intermediate container e2ea525c9c4e 04:11:53 ---> 50e07ea4c0ef 04:11:53 Step 7/12 : WORKDIR /app 04:11:53 ---> Running in 8d6c536ddaa5 04:11:53 Removing intermediate container 8d6c536ddaa5 04:11:53 ---> 28672cd4e341 04:11:53 Step 8/12 : COPY go.mod vendor* ./ 04:11:54 ---> 23068251889f 04:11:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:54 ---> Running in 0f74d616ddf7 04:13:15 Removing intermediate container 0f74d616ddf7 04:13:15 ---> 674eb566f2cb 04:13:15 Step 10/12 : COPY . . 04:13:15 ---> c3d1d8ab64cb 04:13:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:13:15 ---> Running in c567cd0b7178 04:13:15 Removing intermediate container c567cd0b7178 04:13:15 ---> 2f8cb0b3f693 04:13:15 Step 12/12 : RUN $MAKE 04:13:15 ---> Running in 64eddfa1e035 04:13:15 noop 04:13:15 Removing intermediate container 64eddfa1e035 04:13:15 ---> cec641262491 04:13:15 Successfully built cec641262491 04:13:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:16 + docker inspect -f . ci-base-image-arm64 04:13:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:16 prd-ubuntu20.04-docker-arm64-4c-16g-16813 does not seem to be running inside a container 04:13:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:13:17 $ docker top 4f9adad8000d389847485d2505abc20227360bc1434f351d4d633e6e256f47e6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:18 + go version 04:13:18 go version go1.21.0 linux/arm64 [Pipeline] } 04:13:18 $ docker stop --time=1 4f9adad8000d389847485d2505abc20227360bc1434f351d4d633e6e256f47e6 04:13:20 $ docker rm -f --volumes 4f9adad8000d389847485d2505abc20227360bc1434f351d4d633e6e256f47e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:21 + docker inspect -f . ci-base-image-arm64 04:13:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:21 prd-ubuntu20.04-docker-arm64-4c-16g-16813 does not seem to be running inside a container 04:13:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:13:22 $ docker top 42b9eb5ad02d41c15946f36fbbc802458c68317a48c15aeac6ae95febdecfd1c -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:23 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 04:13:23 + make test 04:13:23 go test -race -coverprofile=coverage.out ./... 04:15:45 ? github.com/edgexfoundry/app-record-replay [no test files] 04:15:45 ok github.com/edgexfoundry/app-record-replay/internal/app 1.232s coverage: 88.0% of statements 04:15:45 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:15:45 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:15:45 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:15:50 --- FAIL: TestDataManager_StartReplay (5.55s) 04:15:50 --- FAIL: TestDataManager_StartReplay/Happy_Path (4.53s) 04:15:50 manager_test.go:495: 04:15:50 Error Trace: /w/workspace/app-record-replay/1/internal/application/manager_test.go:495 04:15:50 Error: Should be zero, but was 1 04:15:50 Test: TestDataManager_StartReplay/Happy_Path 04:15:50 FAIL 04:15:50 coverage: 98.7% of statements 04:15:50 FAIL github.com/edgexfoundry/app-record-replay/internal/application 8.968s 04:15:50 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.513s coverage: 89.7% of statements 04:15:50 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.163s coverage: 100.0% of statements 04:15:50 FAIL 04:15:51 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 04:15:51 $ docker stop --time=1 42b9eb5ad02d41c15946f36fbbc802458c68317a48c15aeac6ae95febdecfd1c 04:15:53 $ docker rm -f --volumes 42b9eb5ad02d41c15946f36fbbc802458c68317a48c15aeac6ae95febdecfd1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:54 04:15:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:55 arm64: Pulling from edgex-lftools-log-publisher 04:15:55 8998bd30e6a1: Pulling fs layer 04:15:55 04944245beec: Pulling fs layer 04:15:55 699f458cf7ca: Pulling fs layer 04:15:55 765212b225bb: Pulling fs layer 04:15:55 f23df028b6ca: Pulling fs layer 04:15:55 d65c8cfc05b1: Pulling fs layer 04:15:55 2437ff75d9bd: Pulling fs layer 04:15:55 765212b225bb: Waiting 04:15:55 f23df028b6ca: Waiting 04:15:55 04944245beec: Verifying Checksum 04:15:55 04944245beec: Download complete 04:15:55 765212b225bb: Verifying Checksum 04:15:55 765212b225bb: Download complete 04:15:55 f23df028b6ca: Verifying Checksum 04:15:55 f23df028b6ca: Download complete 04:15:55 d65c8cfc05b1: Verifying Checksum 04:15:55 d65c8cfc05b1: Download complete 04:15:55 699f458cf7ca: Verifying Checksum 04:15:55 699f458cf7ca: Download complete 04:15:56 8998bd30e6a1: Verifying Checksum 04:15:56 8998bd30e6a1: Download complete 04:15:59 2437ff75d9bd: Verifying Checksum 04:15:59 2437ff75d9bd: Download complete 04:16:01 8998bd30e6a1: Pull complete 04:16:02 04944245beec: Pull complete 04:16:04 699f458cf7ca: Pull complete 04:16:04 765212b225bb: Pull complete 04:16:05 f23df028b6ca: Pull complete 04:16:06 d65c8cfc05b1: Pull complete 04:16:28 2437ff75d9bd: Pull complete 04:16:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:16:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:28 prd-ubuntu20.04-docker-arm64-4c-16g-16813 does not seem to be running inside a container 04:16:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:16:30 $ docker top 01f41be0672e9cceefacb073c7131b601c0e464a4302227e0ab47d6843034091 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:31 ---> job-cost.sh 04:16:31 lf-activate-venv: SKIPPING 04:16:31 INFO: No Stack... 04:16:31 INFO: Retrieving Pricing Info for: v3-standard-4 04:16:32 INFO: Archiving Costs [Pipeline] sh 04:16:33 + cat /w/workspace/app-record-replay/1/archives/cost.csv 04:16:33 + cut -d, -f6 [Pipeline] lock 04:16:33 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-103-1-stack-cost] 04:16:33 Resource [jenkins-edgexfoundry-app-record-replay-PR-103-1-stack-cost] did not exist. Created. 04:16:33 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:33 /w/workspace/app-record-replay/1@tmp/durable-e0dd1615/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:16:34 + echo total: 0.10999999940395355 [Pipeline] stash 04:16:34 Warning: overwriting stash ‘stack-cost’ 04:16:34 Stashed 1 file(s) [Pipeline] } 04:16:34 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-103-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:34 $ docker stop --time=1 01f41be0672e9cceefacb073c7131b601c0e464a4302227e0ab47d6843034091 04:16:36 $ docker rm -f --volumes 01f41be0672e9cceefacb073c7131b601c0e464a4302227e0ab47d6843034091 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:16:37 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:16:39 + [ -d /w/workspace/foundry_app-record-replay_PR-103/archives ] 04:16:39 + ls -al /w/workspace/foundry_app-record-replay_PR-103/archives 04:16:39 total 16 04:16:39 drwxr-xr-x 3 root root 4096 Nov 7 04:11 . 04:16:39 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 04:11 .. 04:16:39 drwxr-xr-x 2 root root 4096 Nov 7 04:11 cost 04:16:39 -rw-r--r-- 1 root root 89 Nov 7 04:11 cost.csv 04:16:39 + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-103/archives 04:16:39 + ls -al /w/workspace/foundry_app-record-replay_PR-103/archives 04:16:39 total 16 04:16:39 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 04:11 . 04:16:39 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 04:11 .. 04:16:39 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 04:11 cost 04:16:39 -rw-r--r-- 1 jenkins jenkins 89 Nov 7 04:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:16:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:16:40 ---> package-listing.sh 04:16:40 ++ facter osfamily 04:16:40 ++ tr '[:upper:]' '[:lower:]' 04:16:40 + OS_FAMILY=debian 04:16:40 + workspace=/w/workspace/foundry_app-record-replay_PR-103 04:16:40 + START_PACKAGES=/tmp/packages_start.txt 04:16:40 + END_PACKAGES=/tmp/packages_end.txt 04:16:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:16:40 + PACKAGES=/tmp/packages_start.txt 04:16:40 + '[' /w/workspace/foundry_app-record-replay_PR-103 ']' 04:16:40 + PACKAGES=/tmp/packages_end.txt 04:16:40 + case "${OS_FAMILY}" in 04:16:40 + dpkg -l 04:16:40 + grep '^ii' 04:16:40 + '[' -f /tmp/packages_start.txt ']' 04:16:40 + '[' -f /tmp/packages_end.txt ']' 04:16:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:16:40 + '[' /w/workspace/foundry_app-record-replay_PR-103 ']' 04:16:40 + mkdir -p /w/workspace/foundry_app-record-replay_PR-103/archives/ 04:16:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-103/archives/ [Pipeline] echo 04:16:40 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-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:16:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:41 prd-ubuntu20.04-docker-8c-8g-16812 does not seem to be running inside a container 04:16:41 $ 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-103/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-103 -v /w/workspace/foundry_app-record-replay_PR-103:/w/workspace/foundry_app-record-replay_PR-103:rw,z -v /w/workspace/foundry_app-record-replay_PR-103@tmp:/w/workspace/foundry_app-record-replay_PR-103@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:16:42 $ docker top fd6d6648c588f8ae471335cf092dc5046e919cc058f1baf851b3c3398721483a -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:42 + touch /tmp/pre-build-complete [Pipeline] sh 04:16:42 + mkdir -p /var/log/sysstat [Pipeline] sh 04:16:43 + ls /var/log/sa-host 04:16:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:43 provisioning config files... 04:16:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-103@tmp/config12283519959671150356tmp [Pipeline] { [Pipeline] echo 04:16:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:16:43 ---> create-netrc.sh [Pipeline] } 04:16:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:16:44 ---> python-tools-install.sh [Pipeline] echo 04:16:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:16:44 ---> sudo-logs.sh 04:16:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:16:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:16:45 ---> job-cost.sh 04:16:45 lf-activate-venv: SKIPPING 04:16:45 DEBUG: total: 0.2199999988079071 04:16:45 INFO: Retrieving Stack Cost... 04:16:45 INFO: Retrieving Pricing Info for: v3-standard-8 04:16:45 INFO: Archiving Costs [Pipeline] echo 04:16:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:16:45 ---> logs-deploy.sh 04:16:45 lf-activate-venv: SKIPPING 04:16:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-103/1 04:16:45 INFO: archiving workspace using pattern(s): 04:16:46 Archives upload complete. 04:16:47 INFO: archiving logs to Nexus