Pull request #25 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from 702cf971efcc9b7d5171fc361275db0bbb5365d5+f5c7a18031cd417fd66742b551e8281643a7d45d (f80b93ad008f1722bdf8b2ceaa54ddddf04539b7) 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-ssh6206834038510940784.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1363115876038139252.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-25/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-25/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5970244686494318429.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-25/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9914958450406373030.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5238217467545431287.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-25/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-25/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1051721386707052722.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19031 in /w/workspace/xfoundry_app-record-replay_PR-25 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-25 # 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 f5c7a18031cd417fd66742b551e8281643a7d45d into PR head commit 702cf971efcc9b7d5171fc361275db0bbb5365d5 Merge succeeded, producing 702cf971efcc9b7d5171fc361275db0bbb5365d5 Checking out Revision 702cf971efcc9b7d5171fc361275db0bbb5365d5 (PR-25) > 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/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 702cf971efcc9b7d5171fc361275db0bbb5365d5 # 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 f5c7a18031cd417fd66742b551e8281643a7d45d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 702cf971efcc9b7d5171fc361275db0bbb5365d5 # timeout=10 Commit message: "feat: Implement HTTP Controller interface and stubs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:42:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:42:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:42:36 ========================================================= 23:42:36 EdgeX Global Pipelines Version Info 23:42:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:42:37 ------------------- 23:42:37 stable info: 23:42:37 ------------------- 23:42:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:42:37 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:42:37 Message: update stable to v1.0.250 23:42:38 ------------------- 23:42:38 experimental info: 23:42:38 ------------------- 23:42:38 Commited By: **** collab-it+edgex@linuxfoundation.org 23:42:38 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:42:38 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-25 [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-25 [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-25 [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 702cf971efcc9b7d5171fc361275db0bbb5365d5 [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 702cf97 [Pipeline] echo 23:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:39 provisioning config files... 23:42:39 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-25@tmp/config13276462398157568931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:40 ---> docker-login.sh 23:42:40 nexus3.edgexfoundry.org:10001 23:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:40 Configure a credential helper to remove this warning. See 23:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:40 23:42:40 Login Succeeded 23:42:40 nexus3.edgexfoundry.org:10002 23:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:40 Configure a credential helper to remove this warning. See 23:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:40 23:42:40 Login Succeeded 23:42:40 nexus3.edgexfoundry.org:10003 23:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:40 Configure a credential helper to remove this warning. See 23:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:40 23:42:40 Login Succeeded 23:42:40 nexus3.edgexfoundry.org:10004 23:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:40 Configure a credential helper to remove this warning. See 23:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:40 23:42:40 Login Succeeded 23:42:40 docker.io 23:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:41 Configure a credential helper to remove this warning. See 23:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:41 23:42:41 Login Succeeded 23:42:41 ---> docker-login.sh ends [Pipeline] } 23:42:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:42:41 + git rev-list -1 --merges 702cf971efcc9b7d5171fc361275db0bbb5365d5~1..702cf971efcc9b7d5171fc361275db0bbb5365d5 [Pipeline] echo 23:42:42 -----------> git rev-list -1 --merges 702cf971efcc9b7d5171fc361275db0bbb5365d5~1..702cf971efcc9b7d5171fc361275db0bbb5365d5 702cf971efcc9b7d5171fc361275db0bbb5365d5 [false] [Pipeline] sh 23:42:42 + git log --format=format:%s -1 702cf971efcc9b7d5171fc361275db0bbb5365d5 [Pipeline] echo 23:42:42 ========================================================= 23:42:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:42:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:42 + git log --format=format:%s -1 702cf971efcc9b7d5171fc361275db0bbb5365d5 [Pipeline] echo 23:42:42 [semverPrep] GIT_COMMIT: 702cf971efcc9b7d5171fc361275db0bbb5365d5, Commit Message: feat: Implement HTTP Controller interface and stubs [Pipeline] echo 23:42:42 [semverPrep] This is not a build commit. [Pipeline] sh 23:42:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:42:43 + grep -v github /etc/ssh/ssh_known_hosts 23:42:43 + [ -e /tmp/ssh_known_hosts ] 23:42:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:42:43 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:42:43 sudo tee -a /etc/ssh/ssh_known_hosts 23:42:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:43 23:42:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:44 0.1.4: Pulling from edgex-devops/py-git-semver 23:42:44 b85a868b505f: Pulling fs layer 23:42:44 e2be974225ed: Pulling fs layer 23:42:44 339a4e72a1f5: Pulling fs layer 23:42:44 988bab9f4d93: Pulling fs layer 23:42:44 1469e6f7b9e6: Pulling fs layer 23:42:44 eaf3925da568: Pulling fs layer 23:42:44 bab4dde63d76: Pulling fs layer 23:42:44 bde34c3a00c8: Pulling fs layer 23:42:44 b352a97aabf1: Pulling fs layer 23:42:44 4872d77fe225: Pulling fs layer 23:42:44 5851b861e8e6: Pulling fs layer 23:42:44 988bab9f4d93: Waiting 23:42:44 1469e6f7b9e6: Waiting 23:42:44 eaf3925da568: Waiting 23:42:44 bab4dde63d76: Waiting 23:42:44 4872d77fe225: Waiting 23:42:44 bde34c3a00c8: Waiting 23:42:44 5851b861e8e6: Waiting 23:42:44 b352a97aabf1: Waiting 23:42:44 e2be974225ed: Verifying Checksum 23:42:44 e2be974225ed: Download complete 23:42:44 988bab9f4d93: Verifying Checksum 23:42:44 1469e6f7b9e6: Verifying Checksum 23:42:44 1469e6f7b9e6: Download complete 23:42:44 eaf3925da568: Verifying Checksum 23:42:44 eaf3925da568: Download complete 23:42:44 339a4e72a1f5: Verifying Checksum 23:42:44 339a4e72a1f5: Download complete 23:42:44 bde34c3a00c8: Download complete 23:42:44 b352a97aabf1: Verifying Checksum 23:42:44 b352a97aabf1: Download complete 23:42:44 4872d77fe225: Verifying Checksum 23:42:44 4872d77fe225: Download complete 23:42:44 5851b861e8e6: Verifying Checksum 23:42:44 5851b861e8e6: Download complete 23:42:44 b85a868b505f: Verifying Checksum 23:42:44 b85a868b505f: Download complete 23:42:44 bab4dde63d76: Download complete 23:42:45 b85a868b505f: Pull complete 23:42:45 e2be974225ed: Pull complete 23:42:46 339a4e72a1f5: Pull complete 23:42:46 988bab9f4d93: Pull complete 23:42:46 1469e6f7b9e6: Pull complete 23:42:46 eaf3925da568: Pull complete 23:42:49 bab4dde63d76: Pull complete 23:42:49 bde34c3a00c8: Pull complete 23:42:49 b352a97aabf1: Pull complete 23:42:49 4872d77fe225: Pull complete 23:42:49 5851b861e8e6: Pull complete 23:42:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:42:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:50 prd-ubuntu20.04-docker-8c-8g-19031 does not seem to be running inside a container 23:42:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-25 -v /w/workspace/xfoundry_app-record-replay_PR-25:/w/workspace/xfoundry_app-record-replay_PR-25:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-25@tmp:/w/workspace/xfoundry_app-record-replay_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:42:55 $ docker top 64807fdf323168d1c9d62e95ef2f3de503b61e6196d989a14c91c1b93d91a786 -eo pid,comm 23:42:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:42:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:42:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:42:56 [ssh-agent] Looking for ssh-agent implementation... 23:42:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:42:56 $ docker exec 64807fdf323168d1c9d62e95ef2f3de503b61e6196d989a14c91c1b93d91a786 ssh-agent 23:42:56 SSH_AUTH_SOCK=/tmp/ssh-Or6hRtAYeBjU/agent.14 23:42:56 SSH_AGENT_PID=20 23:42:56 Running ssh-add (command line suppressed) 23:42:56 Identity added: /w/workspace/xfoundry_app-record-replay_PR-25@tmp/private_key_7890977402426814893.key (/w/workspace/xfoundry_app-record-replay_PR-25@tmp/private_key_7890977402426814893.key) 23:42:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:42:56 + git tag --points-at HEAD [Pipeline] } 23:42:56 $ docker exec --env ******** --env ******** 64807fdf323168d1c9d62e95ef2f3de503b61e6196d989a14c91c1b93d91a786 ssh-agent -k 23:42:57 unset SSH_AUTH_SOCK; 23:42:57 unset SSH_AGENT_PID; 23:42:57 echo Agent pid 20 killed; 23:42:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:42:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:42:57 [ssh-agent] Looking for ssh-agent implementation... 23:42:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:42:57 $ docker exec 64807fdf323168d1c9d62e95ef2f3de503b61e6196d989a14c91c1b93d91a786 ssh-agent 23:42:57 SSH_AUTH_SOCK=/tmp/ssh-tTP1sHDThdm9/agent.70 23:42:57 SSH_AGENT_PID=76 23:42:57 Running ssh-add (command line suppressed) 23:42:57 Identity added: /w/workspace/xfoundry_app-record-replay_PR-25@tmp/private_key_12474689064197382755.key (/w/workspace/xfoundry_app-record-replay_PR-25@tmp/private_key_12474689064197382755.key) 23:42:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:42:57 + git semver init 23:42:58 2023-06-21 23:42:57,979 [run_init] DEBUG init version:0.0.0 force:False 23:42:58 2023-06-21 23:42:57,980 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-25/.semver 23:42:58 2023-06-21 23:42:57,981 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-25/.semver 23:42:58 2023-06-21 23:42:57,982 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-25/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-25, universal_newlines=False, shell=None, istream=None) 23:42:58 2023-06-21 23:42:58,593 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-25/.git/info/exclude 23:42:58 2023-06-21 23:42:58,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-25/.semver/PR-25 with force:False 23:42:58 2023-06-21 23:42:58,594 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-25/.semver/PR-25 23:42:58 2023-06-21 23:42:58,598 [execute] INFO git cat-file --batch-check 23:42:58 2023-06-21 23:42:58,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-25/.semver, universal_newlines=False, shell=None, istream=) 23:42:58 2023-06-21 23:42:58,606 [execute] INFO git cat-file --batch 23:42:58 2023-06-21 23:42:58,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-25/.semver, universal_newlines=False, shell=None, istream=) 23:42:58 2023-06-21 23:42:58,611 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-25/.semver/PR-25 23:42:58 0.0.0 [Pipeline] } 23:42:58 $ docker exec --env ******** --env ******** 64807fdf323168d1c9d62e95ef2f3de503b61e6196d989a14c91c1b93d91a786 ssh-agent -k 23:42:59 unset SSH_AUTH_SOCK; 23:42:59 unset SSH_AGENT_PID; 23:42:59 echo Agent pid 76 killed; 23:42:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:42:59 + git semver [Pipeline] } 23:43:00 $ docker stop --time=1 64807fdf323168d1c9d62e95ef2f3de503b61e6196d989a14c91c1b93d91a786 23:43:01 $ docker rm -f --volumes 64807fdf323168d1c9d62e95ef2f3de503b61e6196d989a14c91c1b93d91a786 [Pipeline] // withDockerContainer [Pipeline] sh 23:43:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:43:02 Stashed 1 file(s) [Pipeline] echo 23:43:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:03 provisioning config files... 23:43:03 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-25@tmp/config4937180429811324228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:03 ---> docker-login.sh 23:43:03 nexus3.edgexfoundry.org:10001 23:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:03 Configure a credential helper to remove this warning. See 23:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:03 23:43:03 Login Succeeded 23:43:03 nexus3.edgexfoundry.org:10002 23:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:03 Configure a credential helper to remove this warning. See 23:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:03 23:43:03 Login Succeeded 23:43:03 nexus3.edgexfoundry.org:10003 23:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:03 Configure a credential helper to remove this warning. See 23:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:03 23:43:03 Login Succeeded 23:43:03 nexus3.edgexfoundry.org:10004 23:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:03 Configure a credential helper to remove this warning. See 23:43:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:03 23:43:03 Login Succeeded 23:43:03 docker.io 23:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:04 Configure a credential helper to remove this warning. See 23:43:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:04 23:43:04 Login Succeeded 23:43:04 ---> docker-login.sh ends [Pipeline] } 23:43:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:43:04 ========================================================= 23:43:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:43:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:43:05 Sending build context to Docker daemon 232.4kB 23:43:05 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:43:05 Step 2/12 : FROM ${BASE} AS builder 23:43:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:43:05 f56be85fc22e: Pulling fs layer 23:43:05 85791d961cd3: Pulling fs layer 23:43:05 d694b5ae8c79: Pulling fs layer 23:43:05 9f32a84ed3da: Pulling fs layer 23:43:05 4d19c01a9841: Pulling fs layer 23:43:05 9325e15d5711: Pulling fs layer 23:43:05 556b6ee489ea: Pulling fs layer 23:43:05 c5a4b2cf53e6: Pulling fs layer 23:43:05 9f32a84ed3da: Waiting 23:43:05 9325e15d5711: Waiting 23:43:05 4d19c01a9841: Waiting 23:43:05 556b6ee489ea: Waiting 23:43:05 85791d961cd3: Verifying Checksum 23:43:05 85791d961cd3: Download complete 23:43:05 9f32a84ed3da: Download complete 23:43:05 4d19c01a9841: Download complete 23:43:05 f56be85fc22e: Verifying Checksum 23:43:05 f56be85fc22e: Download complete 23:43:05 9325e15d5711: Verifying Checksum 23:43:05 9325e15d5711: Download complete 23:43:05 f56be85fc22e: Pull complete 23:43:06 c5a4b2cf53e6: Verifying Checksum 23:43:06 c5a4b2cf53e6: Download complete 23:43:06 85791d961cd3: Pull complete 23:43:06 d694b5ae8c79: Verifying Checksum 23:43:06 d694b5ae8c79: Download complete 23:43:06 556b6ee489ea: Verifying Checksum 23:43:06 556b6ee489ea: Download complete 23:43:09 d694b5ae8c79: Pull complete 23:43:09 9f32a84ed3da: Pull complete 23:43:09 4d19c01a9841: Pull complete 23:43:09 9325e15d5711: Pull complete 23:43:12 556b6ee489ea: Pull complete 23:43:13 c5a4b2cf53e6: Pull complete 23:43:13 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:43:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:43:13 ---> c4be618373d6 23:43:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:43:17 Still waiting to schedule task 23:43:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19030’ 23:43:20 ---> Running in 0f367a544879 23:43:20 Removing intermediate container 0f367a544879 23:43:20 ---> ac342a9c05b1 23:43:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:43:20 ---> Running in 302f4960d7c0 23:43:20 Removing intermediate container 302f4960d7c0 23:43:20 ---> ad14da3379b9 23:43:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:43:20 ---> Running in 653116c0b45a 23:43:20 Removing intermediate container 653116c0b45a 23:43:20 ---> b836340adf42 23:43:20 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:43:20 ---> Running in a9129132e5de 23:43:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:43:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:43:20 OK: 265 MiB in 53 packages 23:43:21 Removing intermediate container a9129132e5de 23:43:21 ---> f33ce17390de 23:43:21 Step 7/12 : WORKDIR /app 23:43:21 ---> Running in 97dd6bf7df58 23:43:21 Removing intermediate container 97dd6bf7df58 23:43:21 ---> 57d5fae8fc68 23:43:21 Step 8/12 : COPY go.mod vendor* ./ 23:43:21 ---> 2fc5b07c0d52 23:43:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:21 ---> Running in c3adfcc62730 23:44:00 Removing intermediate container c3adfcc62730 23:44:00 ---> b960b3679849 23:44:00 Step 10/12 : COPY . . 23:44:00 ---> 78064195b664 23:44:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:44:00 ---> Running in ce28e464df11 23:44:00 Removing intermediate container ce28e464df11 23:44:00 ---> 7faf52e97c5f 23:44:00 Step 12/12 : RUN $MAKE 23:44:00 ---> Running in 56b4abfc96e5 23:44:00 noop 23:44:00 Removing intermediate container 56b4abfc96e5 23:44:00 ---> 9723d956077c 23:44:00 Successfully built 9723d956077c 23:44:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:00 + docker inspect -f . ci-base-image-x86_64 23:44:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:00 prd-ubuntu20.04-docker-8c-8g-19031 does not seem to be running inside a container 23:44:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-25 -v /w/workspace/xfoundry_app-record-replay_PR-25:/w/workspace/xfoundry_app-record-replay_PR-25:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-25@tmp:/w/workspace/xfoundry_app-record-replay_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:44:01 $ docker top 7eb816e93972f360946c8ead02465c96739bde6f0f933d0e546386bf891153b9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:01 + go version 23:44:01 go version go1.20.2 linux/amd64 [Pipeline] } 23:44:01 $ docker stop --time=1 7eb816e93972f360946c8ead02465c96739bde6f0f933d0e546386bf891153b9 23:44:03 $ docker rm -f --volumes 7eb816e93972f360946c8ead02465c96739bde6f0f933d0e546386bf891153b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:03 + docker inspect -f . ci-base-image-x86_64 23:44:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:04 prd-ubuntu20.04-docker-8c-8g-19031 does not seem to be running inside a container 23:44:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-25 -v /w/workspace/xfoundry_app-record-replay_PR-25:/w/workspace/xfoundry_app-record-replay_PR-25:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-25@tmp:/w/workspace/xfoundry_app-record-replay_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:44:04 $ docker top 822c218bf197e5bcf920dc94d87536fd1484c3e933675c076b1585c340280030 -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:04 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-25 [Pipeline] fileExists [Pipeline] sh 23:44:05 + make test 23:44:05 go test -race -coverprofile=coverage.out ./... 23:44:15 ? github.com/edgexfoundry/app-record-replay [no test files] 23:44:27 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:44:27 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:44:27 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:44:27 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.061s coverage: 10.0% of statements 23:44:27 ok github.com/edgexfoundry/app-record-replay/internal/data 0.063s coverage: 27.3% of statements 23:44:49 go vet ./... 23:44:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:44:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:44:52 ./bin/test-attribution-txt.sh [Pipeline] echo 23:44:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:44:52 $ docker stop --time=1 822c218bf197e5bcf920dc94d87536fd1484c3e933675c076b1585c340280030 23:44:56 $ docker rm -f --volumes 822c218bf197e5bcf920dc94d87536fd1484c3e933675c076b1585c340280030 [Pipeline] // withDockerContainer [Pipeline] sh 23:44:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:44:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:44:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:44:58 + ls -al . 23:44:58 total 148 23:44:58 drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 23:44 . 23:44:58 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 23:42 .. 23:44:58 -rw-rw-r-- 1 jenkins jenkins 119 Jun 21 23:42 .dockerignore 23:44:58 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 23:42 .git 23:44:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 23:42 .github 23:44:58 -rw-rw-r-- 1 jenkins jenkins 164 Jun 21 23:42 .gitignore 23:44:58 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 23:42 .golangci.yml 23:44:58 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 23:42 .semver 23:44:58 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 21 23:42 Attribution.txt 23:44:58 -rw-rw-r-- 1 jenkins jenkins 258 Jun 21 23:42 CHANGELOG.md 23:44:58 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 21 23:42 Dockerfile 23:44:58 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 23:42 GOVERNANCE.md 23:44:58 -rw-rw-r-- 1 jenkins jenkins 681 Jun 21 23:42 Jenkinsfile 23:44:58 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 23:42 LICENSE 23:44:58 -rw-rw-r-- 1 jenkins jenkins 611 Jun 21 23:42 OWNERS.md 23:44:58 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 21 23:42 README.md 23:44:58 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 23:43 VERSION 23:44:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 23:42 bin 23:44:58 -rw-r--r-- 1 jenkins jenkins 1849 Jun 21 23:44 coverage.out 23:44:58 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 21 23:42 go.mod 23:44:58 -rw-rw-r-- 1 jenkins jenkins 30578 Jun 21 23:42 go.sum 23:44:58 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 23:42 internal 23:44:58 -rw-rw-r-- 1 jenkins jenkins 693 Jun 21 23:42 main.go 23:44:58 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 21 23:42 makefile 23:44:58 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 23:42 pkg 23:44:58 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 23:42 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44: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=702cf971efcc9b7d5171fc361275db0bbb5365d5 --label arch=amd64 --label version=0.0.0 . 23:44:58 Sending build context to Docker daemon 235kB 23:44:58 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:44:58 Step 2/26 : FROM ${BASE} AS builder 23:44:58 ---> 9723d956077c 23:44:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:44:59 ---> Running in 3b09ee6cbe5b 23:44:59 Removing intermediate container 3b09ee6cbe5b 23:44:59 ---> 487004df1651 23:44:59 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:44:59 ---> Running in a1386350c844 23:44:59 Removing intermediate container a1386350c844 23:44:59 ---> 25ab0450d6c4 23:44:59 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:44:59 ---> Running in 60eb407f2d54 23:44:59 Removing intermediate container 60eb407f2d54 23:44:59 ---> 5a768796fc0b 23:44:59 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:44:59 ---> Running in 03e0bbc5d3ed 23:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:45:00 OK: 265 MiB in 53 packages 23:45:00 Removing intermediate container 03e0bbc5d3ed 23:45:00 ---> 571c12b23d17 23:45:00 Step 7/26 : WORKDIR /app 23:45:00 ---> Running in aee916440123 23:45:00 Removing intermediate container aee916440123 23:45:00 ---> b532911d29e8 23:45:00 Step 8/26 : COPY go.mod vendor* ./ 23:45:00 ---> e0c26fa5b45a 23:45:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:00 ---> Running in 9587c6637b7d 23:45:01 Removing intermediate container 9587c6637b7d 23:45:01 ---> 91b734161509 23:45:01 Step 10/26 : COPY . . 23:45:01 ---> c36374b6a887 23:45:01 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:45:01 ---> Running in 0bd5f4e82ba7 23:45:01 Removing intermediate container 0bd5f4e82ba7 23:45:01 ---> 8c28b1ffdfa1 23:45:01 Step 12/26 : RUN $MAKE 23:45:01 ---> Running in 341c38f6adc8 23:45:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:45:08 Removing intermediate container 341c38f6adc8 23:45:08 ---> 5612396d8e70 23:45:08 Step 13/26 : FROM alpine:3.17 23:45:08 3.17: Pulling from library/alpine 23:45:08 4db1b89c0bd1: Pulling fs layer 23:45:08 4db1b89c0bd1: Verifying Checksum 23:45:08 4db1b89c0bd1: Download complete 23:45:08 4db1b89c0bd1: Pull complete 23:45:08 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:45:08 Status: Downloaded newer image for alpine:3.17 23:45:08 ---> 1f73a9d63274 23:45:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:45:09 ---> Running in e89c592b9179 23:45:09 Removing intermediate container e89c592b9179 23:45:09 ---> 10d1e61b74e6 23:45:09 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:45:09 ---> Running in 788e3b8a09ca 23:45:09 Removing intermediate container 788e3b8a09ca 23:45:09 ---> 60d49ecb66a8 23:45:09 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:45:09 ---> Running in 620ca5bd8b2d 23:45:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:45:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:45:09 (1/2) Installing ca-certificates (20230506-r0) 23:45:09 (2/2) Installing dumb-init (1.2.5-r2) 23:45:09 Executing busybox-1.35.0-r29.trigger 23:45:09 Executing ca-certificates-20230506-r0.trigger 23:45:10 OK: 8 MiB in 17 packages 23:45:10 Removing intermediate container 620ca5bd8b2d 23:45:10 ---> d5214b1f6bec 23:45:10 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:45:11 ---> 5264d2a6fac3 23:45:11 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:45:11 ---> c54e7bf8880e 23:45:11 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:45:11 ---> f62439329310 23:45:11 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:45:11 ---> 333affa7c615 23:45:11 Step 21/26 : EXPOSE 59712 23:45:11 ---> Running in 0673aedd499f 23:45:11 Removing intermediate container 0673aedd499f 23:45:11 ---> 55c6cee48624 23:45:11 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:45:11 ---> Running in 97feddedc9f6 23:45:11 Removing intermediate container 97feddedc9f6 23:45:11 ---> 40df20e5fd4b 23:45:11 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:45:11 ---> Running in 453e6f199c85 23:45:11 Removing intermediate container 453e6f199c85 23:45:11 ---> 01bbb3ba04f9 23:45:11 Step 24/26 : LABEL arch=amd64 23:45:11 ---> Running in f12084a4dc1d 23:45:12 Removing intermediate container f12084a4dc1d 23:45:12 ---> 81184b052b2b 23:45:12 Step 25/26 : LABEL git_sha=702cf971efcc9b7d5171fc361275db0bbb5365d5 23:45:12 ---> Running in d811f1ad85a9 23:45:12 Removing intermediate container d811f1ad85a9 23:45:12 ---> fb6279d41477 23:45:12 Step 26/26 : LABEL version=0.0.0 23:45:12 ---> Running in 1df3d09875f6 23:45:12 Removing intermediate container 1df3d09875f6 23:45:12 ---> 44781b559c31 23:45:12 [Warning] One or more build-args [ARCH] were not consumed 23:45:12 Successfully built 44781b559c31 23:45:12 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:13 23:45:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:13 latest: Pulling from edgex-lftools-log-publisher 23:45:13 5eb5b503b376: Pulling fs layer 23:45:13 5c69ac0246d0: Pulling fs layer 23:45:13 ec43610c2a17: Pulling fs layer 23:45:13 3a2ae6a8a46f: Pulling fs layer 23:45:13 33b1e0a273af: Pulling fs layer 23:45:13 5d3b04190fa2: Pulling fs layer 23:45:13 2f39f015ded8: Pulling fs layer 23:45:13 3a2ae6a8a46f: Waiting 23:45:13 2f39f015ded8: Waiting 23:45:13 5c69ac0246d0: Verifying Checksum 23:45:13 5c69ac0246d0: Download complete 23:45:13 3a2ae6a8a46f: Download complete 23:45:13 33b1e0a273af: Verifying Checksum 23:45:13 33b1e0a273af: Download complete 23:45:13 ec43610c2a17: Verifying Checksum 23:45:13 ec43610c2a17: Download complete 23:45:13 5d3b04190fa2: Verifying Checksum 23:45:13 5d3b04190fa2: Download complete 23:45:13 5eb5b503b376: Verifying Checksum 23:45:13 5eb5b503b376: Download complete 23:45:14 2f39f015ded8: Download complete 23:45:15 5eb5b503b376: Pull complete 23:45:15 5c69ac0246d0: Pull complete 23:45:15 ec43610c2a17: Pull complete 23:45:15 3a2ae6a8a46f: Pull complete 23:45:16 33b1e0a273af: Pull complete 23:45:16 5d3b04190fa2: Pull complete 23:45:21 2f39f015ded8: Pull complete 23:45:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:45:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:45:21 prd-ubuntu20.04-docker-8c-8g-19031 does not seem to be running inside a container 23:45:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-25 -v /w/workspace/xfoundry_app-record-replay_PR-25:/w/workspace/xfoundry_app-record-replay_PR-25:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-25@tmp:/w/workspace/xfoundry_app-record-replay_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:45:27 $ docker top eea69453fe1b4ecf56341664988d6e37079461d3c72bddc4de8b44f56b177445 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:45:27 ---> job-cost.sh 23:45:27 lf-activate-venv: SKIPPING 23:45:27 INFO: No Stack... 23:45:28 INFO: Retrieving Pricing Info for: v3-standard-8 23:45:28 INFO: Archiving Costs [Pipeline] sh 23:45:28 + cat /w/workspace/xfoundry_app-record-replay_PR-25/archives/cost.csv 23:45:28 + cut -d, -f6 [Pipeline] lock 23:45:28 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-25-1-stack-cost] 23:45:28 Resource [jenkins-edgexfoundry-app-record-replay-PR-25-1-stack-cost] did not exist. Created. 23:45:28 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-25-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:45:29 + echo total: 0.2199999988079071 [Pipeline] stash 23:45:29 Stashed 1 file(s) [Pipeline] } 23:45:29 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-25-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:45:29 $ docker stop --time=1 eea69453fe1b4ecf56341664988d6e37079461d3c72bddc4de8b44f56b177445 23:45:30 $ docker rm -f --volumes eea69453fe1b4ecf56341664988d6e37079461d3c72bddc4de8b44f56b177445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:46:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19032 in /w/workspace/xfoundry_app-record-replay_PR-25 [Pipeline] { [Pipeline] ws 23:46:14 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 23:46:14 Selected Git installation does not exist. Using Default 23:46:14 The recommended git tool is: NONE 23:46:20 using credential edgex-jenkins-ssh 23:46:20 Cloning the remote Git repository 23:46:20 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:46:20 > git init /w/workspace/app-record-replay/1 # timeout=10 23:46:20 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:46:20 > git --version # timeout=10 23:46:20 > git --version # 'git version 2.25.1' 23:46:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:21 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:46:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:22 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:46:22 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:46:22 Merging remotes/origin/main commit f5c7a18031cd417fd66742b551e8281643a7d45d into PR head commit 702cf971efcc9b7d5171fc361275db0bbb5365d5 23:46:22 Merge succeeded, producing 702cf971efcc9b7d5171fc361275db0bbb5365d5 23:46:22 Checking out Revision 702cf971efcc9b7d5171fc361275db0bbb5365d5 (PR-25) 23:46:22 > git config core.sparsecheckout # timeout=10 23:46:22 > git checkout -f 702cf971efcc9b7d5171fc361275db0bbb5365d5 # timeout=10 23:46:22 > git remote # timeout=10 23:46:22 > git config --get remote.origin.url # timeout=10 23:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:22 > git merge f5c7a18031cd417fd66742b551e8281643a7d45d # timeout=10 23:46:22 > git rev-parse HEAD^{commit} # timeout=10 23:46:22 > git config core.sparsecheckout # timeout=10 23:46:22 > git checkout -f 702cf971efcc9b7d5171fc361275db0bbb5365d5 # timeout=10 23:46:26 Commit message: "feat: Implement HTTP Controller interface and stubs" 23:46:26 > git --version # timeout=10 23:46:26 > git --version # 'git version 2.25.1' 23:46:26 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:46:27 % Total % Received % Xferd Average Speed Time Time Time Current 23:46:27 Dload Upload Total Spent Left Speed 23:46:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 23:46:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:46:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:46:28 + sudo tee /etc/docker/daemon.new 23:46:28 { 23:46:28 "registry-mirrors": [ 23:46:28 "https://nexus3.edgexfoundry.org:10001" 23:46:28 ], 23:46:28 "bip": "10.250.0.254/24", 23:46:28 "hosts": [ 23:46:28 "tcp://0.0.0.0:5555", 23:46:28 "unix:///var/run/docker.sock" 23:46:28 ], 23:46:28 "mtu": 1458, 23:46:28 "selinux-enabled": true, 23:46:28 "seccomp-profile": "/etc/docker/seccomp.json" 23:46:28 } [Pipeline] sh 23:46:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:46:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:46:47 provisioning config files... 23:46:47 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config4877824821158236474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:46:48 ---> docker-login.sh 23:46:48 nexus3.edgexfoundry.org:10001 23:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:48 Configure a credential helper to remove this warning. See 23:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:48 23:46:48 Login Succeeded 23:46:49 nexus3.edgexfoundry.org:10002 23:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:49 Configure a credential helper to remove this warning. See 23:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:49 23:46:49 Login Succeeded 23:46:49 nexus3.edgexfoundry.org:10003 23:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:49 Configure a credential helper to remove this warning. See 23:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:49 23:46:49 Login Succeeded 23:46:49 nexus3.edgexfoundry.org:10004 23:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:50 Configure a credential helper to remove this warning. See 23:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:50 23:46:50 Login Succeeded 23:46:50 docker.io 23:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:50 Configure a credential helper to remove this warning. See 23:46:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:50 23:46:50 Login Succeeded 23:46:50 ---> docker-login.sh ends [Pipeline] } 23:46:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:46:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:46:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:46:51 ========================================================= 23:46:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:46:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:46:51 Sending build context to Docker daemon 122.4kB 23:46:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:46:51 Step 2/12 : FROM ${BASE} AS builder 23:46:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:46:51 c41833b44d91: Pulling fs layer 23:46:51 ed15518f5707: Pulling fs layer 23:46:51 feae8fd75edb: Pulling fs layer 23:46:51 242c74f7c9fa: Pulling fs layer 23:46:51 3cdef696dda3: Pulling fs layer 23:46:51 2ced38df9373: Pulling fs layer 23:46:51 58f1dce35555: Pulling fs layer 23:46:51 3cdef696dda3: Waiting 23:46:51 2ced38df9373: Waiting 23:46:51 58f1dce35555: Waiting 23:46:51 242c74f7c9fa: Waiting 23:46:52 ed15518f5707: Verifying Checksum 23:46:52 ed15518f5707: Download complete 23:46:52 242c74f7c9fa: Verifying Checksum 23:46:52 242c74f7c9fa: Download complete 23:46:52 3cdef696dda3: Verifying Checksum 23:46:52 3cdef696dda3: Download complete 23:46:52 c41833b44d91: Download complete 23:46:53 c41833b44d91: Pull complete 23:46:53 58f1dce35555: Verifying Checksum 23:46:53 58f1dce35555: Download complete 23:46:53 ed15518f5707: Pull complete 23:46:54 feae8fd75edb: Verifying Checksum 23:46:54 feae8fd75edb: Download complete 23:46:54 2ced38df9373: Verifying Checksum 23:46:54 2ced38df9373: Download complete 23:47:07 feae8fd75edb: Pull complete 23:47:07 242c74f7c9fa: Pull complete 23:47:07 3cdef696dda3: Pull complete 23:47:12 2ced38df9373: Pull complete 23:47:14 58f1dce35555: Pull complete 23:47:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:47:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:47:14 ---> fadd8f120f05 23:47:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:47:16 ---> Running in 53767a0a2548 23:47:16 Removing intermediate container 53767a0a2548 23:47:16 ---> c3e35e984daf 23:47:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:47:16 ---> Running in e3882f14e818 23:47:16 Removing intermediate container e3882f14e818 23:47:16 ---> a7317f798247 23:47:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:47:16 ---> Running in b05beff6baeb 23:47:17 Removing intermediate container b05beff6baeb 23:47:17 ---> 09c32b9eab79 23:47:17 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:47:17 ---> Running in 38ea20e9b326 23:47:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:47:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:47:19 OK: 263 MiB in 53 packages 23:47:20 Removing intermediate container 38ea20e9b326 23:47:20 ---> 230355a3d3cc 23:47:20 Step 7/12 : WORKDIR /app 23:47:20 ---> Running in a077c6bd5350 23:47:21 Removing intermediate container a077c6bd5350 23:47:21 ---> f1223b34aace 23:47:21 Step 8/12 : COPY go.mod vendor* ./ 23:47:21 ---> 961f7d50a225 23:47:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:47:21 ---> Running in 2700b892f559 23:48:29 Removing intermediate container 2700b892f559 23:48:29 ---> 3cc611e98068 23:48:29 Step 10/12 : COPY . . 23:48:29 ---> ee5988406c99 23:48:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:48:29 ---> Running in 9033ce84e37f 23:48:29 Removing intermediate container 9033ce84e37f 23:48:29 ---> c33782485a78 23:48:29 Step 12/12 : RUN $MAKE 23:48:29 ---> Running in 0d27af401370 23:48:29 noop 23:48:29 Removing intermediate container 0d27af401370 23:48:29 ---> 7e3e51b3aa2e 23:48:29 Successfully built 7e3e51b3aa2e 23:48:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:30 + docker inspect -f . ci-base-image-arm64 23:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:30 prd-ubuntu20.04-docker-arm64-4c-16g-19032 does not seem to be running inside a container 23:48:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:48:31 $ docker top 8208ec8b1cb75aac937ccf8a256c279d31af5e95ead77703d4e631cbd32acf68 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:32 + go version 23:48:32 go version go1.20.2 linux/arm64 [Pipeline] } 23:48:32 $ docker stop --time=1 8208ec8b1cb75aac937ccf8a256c279d31af5e95ead77703d4e631cbd32acf68 23:48:34 $ docker rm -f --volumes 8208ec8b1cb75aac937ccf8a256c279d31af5e95ead77703d4e631cbd32acf68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:34 + docker inspect -f . ci-base-image-arm64 23:48:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:35 prd-ubuntu20.04-docker-arm64-4c-16g-19032 does not seem to be running inside a container 23:48:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:48:36 $ docker top 5880b7c4df85f62deb1acbf759a2447675ff35860083675f8da459bec046c1c4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:36 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 23:48:37 + make test 23:48:37 go test -race -coverprofile=coverage.out ./... 23:49:24 ? github.com/edgexfoundry/app-record-replay [no test files] 23:51:15 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.278s coverage: 10.0% of statements 23:51:15 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:51:15 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:51:15 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:51:15 ok github.com/edgexfoundry/app-record-replay/internal/data 0.205s coverage: 27.3% of statements 23:51:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:51:15 go vet ./... 23:53:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:53:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:53:22 ./bin/test-attribution-txt.sh [Pipeline] echo 23:53:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:53:22 $ docker stop --time=1 5880b7c4df85f62deb1acbf759a2447675ff35860083675f8da459bec046c1c4 23:53:24 $ docker rm -f --volumes 5880b7c4df85f62deb1acbf759a2447675ff35860083675f8da459bec046c1c4 [Pipeline] // withDockerContainer [Pipeline] sh 23:53:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:53:25 Warning: overwriting stash ‘coverage-report’ 23:53:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:53:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:53:27 + ls -al . 23:53:27 total 144 23:53:27 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 23:48 . 23:53:27 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 23:46 .. 23:53:27 -rw-rw-r-- 1 jenkins jenkins 119 Jun 21 23:46 .dockerignore 23:53:27 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 23:46 .git 23:53:27 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 23:46 .github 23:53:27 -rw-rw-r-- 1 jenkins jenkins 164 Jun 21 23:46 .gitignore 23:53:27 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 23:46 .golangci.yml 23:53:27 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 21 23:46 Attribution.txt 23:53:27 -rw-rw-r-- 1 jenkins jenkins 258 Jun 21 23:46 CHANGELOG.md 23:53:27 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 21 23:46 Dockerfile 23:53:27 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 23:46 GOVERNANCE.md 23:53:27 -rw-rw-r-- 1 jenkins jenkins 681 Jun 21 23:46 Jenkinsfile 23:53:27 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 23:46 LICENSE 23:53:27 -rw-rw-r-- 1 jenkins jenkins 611 Jun 21 23:46 OWNERS.md 23:53:27 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 21 23:46 README.md 23:53:27 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 23:43 VERSION 23:53:27 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 23:46 bin 23:53:27 -rw-r--r-- 1 jenkins jenkins 1849 Jun 21 23:51 coverage.out 23:53:27 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 21 23:46 go.mod 23:53:27 -rw-rw-r-- 1 jenkins jenkins 30578 Jun 21 23:46 go.sum 23:53:27 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 23:46 internal 23:53:27 -rw-rw-r-- 1 jenkins jenkins 693 Jun 21 23:46 main.go 23:53:27 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 21 23:46 makefile 23:53:27 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 23:46 pkg 23:53:27 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 23:46 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:27 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=702cf971efcc9b7d5171fc361275db0bbb5365d5 --label arch=arm64 --label version=0.0.0 . 23:53:27 Sending build context to Docker daemon 124.9kB 23:53:28 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:53:28 Step 2/26 : FROM ${BASE} AS builder 23:53:28 ---> 7e3e51b3aa2e 23:53:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:53:28 ---> Running in a1088193d485 23:53:28 Removing intermediate container a1088193d485 23:53:28 ---> 6c54d4eb87a6 23:53:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:53:28 ---> Running in b050b0c3c647 23:53:28 Removing intermediate container b050b0c3c647 23:53:28 ---> 92b1075f2762 23:53:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:53:28 ---> Running in f2cd65f37941 23:53:29 Removing intermediate container f2cd65f37941 23:53:29 ---> bb8c822f6bd0 23:53:29 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:29 ---> Running in f022f7a87aea 23:53:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:53:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:53:31 OK: 263 MiB in 53 packages 23:53:32 Removing intermediate container f022f7a87aea 23:53:32 ---> aaf9a9547c81 23:53:32 Step 7/26 : WORKDIR /app 23:53:32 ---> Running in 52b22877dd03 23:53:32 Removing intermediate container 52b22877dd03 23:53:32 ---> 52706e4f0c48 23:53:32 Step 8/26 : COPY go.mod vendor* ./ 23:53:33 ---> 363fb4e712f4 23:53:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:33 ---> Running in c6352d2414c4 23:53:36 Removing intermediate container c6352d2414c4 23:53:36 ---> 23b77b38411a 23:53:36 Step 10/26 : COPY . . 23:53:36 ---> 7c98cd8a85dd 23:53:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:53:36 ---> Running in daa2bc8d451c 23:53:36 Removing intermediate container daa2bc8d451c 23:53:36 ---> 80e587d5147c 23:53:36 Step 12/26 : RUN $MAKE 23:53:36 ---> Running in 7eaf1428fc95 23:53:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:54:03 Removing intermediate container 7eaf1428fc95 23:54:03 ---> a41b52882680 23:54:03 Step 13/26 : FROM alpine:3.17 23:54:03 3.17: Pulling from library/alpine 23:54:03 edb6bdbacee9: Pulling fs layer 23:54:03 edb6bdbacee9: Download complete 23:54:03 edb6bdbacee9: Pull complete 23:54:03 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:54:03 Status: Downloaded newer image for alpine:3.17 23:54:03 ---> 779605e5fbc0 23:54:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:54:03 ---> Running in 6c225d35420a 23:54:03 Removing intermediate container 6c225d35420a 23:54:03 ---> 4156e949e885 23:54:03 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:54:03 ---> Running in 3433f1ef0715 23:54:03 Removing intermediate container 3433f1ef0715 23:54:03 ---> a976c65f4f34 23:54:03 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:54:03 ---> Running in 548a0fac3657 23:54:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:54:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:54:05 (1/2) Installing ca-certificates (20230506-r0) 23:54:05 (2/2) Installing dumb-init (1.2.5-r2) 23:54:05 Executing busybox-1.35.0-r29.trigger 23:54:05 Executing ca-certificates-20230506-r0.trigger 23:54:06 OK: 8 MiB in 17 packages 23:54:07 Removing intermediate container 548a0fac3657 23:54:07 ---> fa69190a4e23 23:54:07 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:54:09 ---> 43f3eabb1596 23:54:09 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:54:09 ---> b2ec9ef3c082 23:54:09 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:54:10 ---> 1f8c1024cd39 23:54:10 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:54:10 ---> c14f93d6ad62 23:54:10 Step 21/26 : EXPOSE 59712 23:54:10 ---> Running in 9e3d975fcfbe 23:54:11 Removing intermediate container 9e3d975fcfbe 23:54:11 ---> 508400992b58 23:54:11 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:54:11 ---> Running in 8890ae53f8ad 23:54:11 Removing intermediate container 8890ae53f8ad 23:54:11 ---> 05166dbbaa42 23:54:11 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:54:11 ---> Running in fc39df292c93 23:54:11 Removing intermediate container fc39df292c93 23:54:11 ---> 17ef2a29d0b2 23:54:11 Step 24/26 : LABEL arch=arm64 23:54:11 ---> Running in d2f99ccb426d 23:54:11 Removing intermediate container d2f99ccb426d 23:54:11 ---> 387d75d93729 23:54:11 Step 25/26 : LABEL git_sha=702cf971efcc9b7d5171fc361275db0bbb5365d5 23:54:12 ---> Running in 5f4914bed899 23:54:12 Removing intermediate container 5f4914bed899 23:54:12 ---> 3c8548bf644a 23:54:12 Step 26/26 : LABEL version=0.0.0 23:54:12 ---> Running in 80591418d47a 23:54:12 Removing intermediate container 80591418d47a 23:54:12 ---> ed46b426036a 23:54:12 [Warning] One or more build-args [ARCH] were not consumed 23:54:12 Successfully built ed46b426036a 23:54:12 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:54:13 23:54:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:54:13 arm64: Pulling from edgex-lftools-log-publisher 23:54:13 8998bd30e6a1: Pulling fs layer 23:54:13 04944245beec: Pulling fs layer 23:54:13 699f458cf7ca: Pulling fs layer 23:54:13 765212b225bb: Pulling fs layer 23:54:13 f23df028b6ca: Pulling fs layer 23:54:13 d65c8cfc05b1: Pulling fs layer 23:54:13 2437ff75d9bd: Pulling fs layer 23:54:13 f23df028b6ca: Waiting 23:54:13 d65c8cfc05b1: Waiting 23:54:13 2437ff75d9bd: Waiting 23:54:13 765212b225bb: Waiting 23:54:14 04944245beec: Verifying Checksum 23:54:14 04944245beec: Download complete 23:54:14 765212b225bb: Verifying Checksum 23:54:14 765212b225bb: Download complete 23:54:14 f23df028b6ca: Download complete 23:54:14 d65c8cfc05b1: Verifying Checksum 23:54:14 d65c8cfc05b1: Download complete 23:54:14 699f458cf7ca: Verifying Checksum 23:54:14 699f458cf7ca: Download complete 23:54:14 8998bd30e6a1: Verifying Checksum 23:54:14 8998bd30e6a1: Download complete 23:54:16 2437ff75d9bd: Verifying Checksum 23:54:16 2437ff75d9bd: Download complete 23:54:18 8998bd30e6a1: Pull complete 23:54:18 04944245beec: Pull complete 23:54:20 699f458cf7ca: Pull complete 23:54:20 765212b225bb: Pull complete 23:54:21 f23df028b6ca: Pull complete 23:54:21 d65c8cfc05b1: Pull complete 23:54:36 2437ff75d9bd: Pull complete 23:54:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:54:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:54:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:36 prd-ubuntu20.04-docker-arm64-4c-16g-19032 does not seem to be running inside a container 23:54:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:54:39 $ docker top df786e4e5230399e1c6f6f9977c7e4126546e117008d3fce8180d93e6ed44239 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:40 ---> job-cost.sh 23:54:40 lf-activate-venv: SKIPPING 23:54:40 INFO: No Stack... 23:54:40 INFO: Retrieving Pricing Info for: v3-standard-4 23:54:41 INFO: Archiving Costs [Pipeline] sh 23:54:41 + cat /w/workspace/app-record-replay/1/archives/cost.csv 23:54:41 + cut -d, -f6 [Pipeline] lock 23:54:41 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-25-1-stack-cost] 23:54:41 Resource [jenkins-edgexfoundry-app-record-replay-PR-25-1-stack-cost] did not exist. Created. 23:54:41 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-25-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:54:42 /w/workspace/app-record-replay/1@tmp/durable-628f3b83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:54:43 + echo total: 0.10999999940395355 [Pipeline] stash 23:54:43 Warning: overwriting stash ‘stack-cost’ 23:54:43 Stashed 1 file(s) [Pipeline] } 23:54:43 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-25-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:54:43 $ docker stop --time=1 df786e4e5230399e1c6f6f9977c7e4126546e117008d3fce8180d93e6ed44239 23:54:44 $ docker rm -f --volumes df786e4e5230399e1c6f6f9977c7e4126546e117008d3fce8180d93e6ed44239 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:54:45 provisioning config files... 23:54:45 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-25 #1 23:54:45 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-25@tmp/config1030301243872204578tmp [Pipeline] { [Pipeline] sh 23:54:46 + set +x 23:54:46 + bash -s -- 23:54:46 + curl -s https://codecov.io/bash 23:54:46 23:54:46 _____ _ 23:54:46 / ____| | | 23:54:46 | | ___ __| | ___ ___ _____ __ 23:54:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:54:46 | |___| (_) | (_| | __/ (_| (_) \ V / 23:54:46 \_____\___/ \__,_|\___|\___\___/ \_/ 23:54:46 Bash-1.0.6 23:54:46 23:54:46 23:54:46 ==> git version 2.25.1 found 23:54:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:54:46 Release-Date: 2020-01-08 23:54:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:54:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:54:46 ==> Jenkins CI detected. 23:54:46 current dir:  /w/workspace/xfoundry_app-record-replay_PR-25 23:54:46 project root: . 23:54:46 --> token set from env 23:54:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:54:46 ==> Running gcov in . (disable via -X gcov) 23:54:46 ==> Python coveragepy not found 23:54:46 ==> Searching for coverage reports in: 23:54:46 + . 23:54:46 -> Found 1 reports 23:54:46 ==> Detecting git/mercurial file structure 23:54:46 ==> Reading reports 23:54:46 + ./coverage.out bytes=1849 23:54:46 ==> Appending adjustments 23:54:46 https://docs.codecov.io/docs/fixing-reports 23:54:46 + Found adjustments 23:54:46 ==> Gzipping contents 23:54:46 4.0K /tmp/codecov.eGcehd.gz 23:54:46 ==> Uploading reports 23:54:46 url: https://codecov.io 23:54:46 query: branch=PR-25&commit=702cf971efcc9b7d5171fc361275db0bbb5365d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=25&job=&cmd_args= 23:54:46 -> Pinging Codecov 23:54:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-25&commit=702cf971efcc9b7d5171fc361275db0bbb5365d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-25%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=25&job=&cmd_args= 23:54:46 Invalid request parameters 23:54:46 400 [Pipeline] } 23:54:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:54:48 + [ -d /w/workspace/xfoundry_app-record-replay_PR-25/archives ] 23:54:48 + ls -al /w/workspace/xfoundry_app-record-replay_PR-25/archives 23:54:48 total 16 23:54:48 drwxr-xr-x 3 root root 4096 Jun 21 23:45 . 23:54:48 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 23:45 .. 23:54:48 drwxr-xr-x 2 root root 4096 Jun 21 23:45 cost 23:54:48 -rw-r--r-- 1 root root 88 Jun 21 23:45 cost.csv 23:54:48 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-25/archives 23:54:48 + ls -al /w/workspace/xfoundry_app-record-replay_PR-25/archives 23:54:48 total 16 23:54:48 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 23:45 . 23:54:48 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 23:45 .. 23:54:48 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 23:45 cost 23:54:48 -rw-r--r-- 1 jenkins jenkins 88 Jun 21 23:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:54:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:54:49 ---> package-listing.sh 23:54:49 ++ facter osfamily 23:54:49 ++ tr '[:upper:]' '[:lower:]' 23:54:49 + OS_FAMILY=debian 23:54:49 + workspace=/w/workspace/xfoundry_app-record-replay_PR-25 23:54:49 + START_PACKAGES=/tmp/packages_start.txt 23:54:49 + END_PACKAGES=/tmp/packages_end.txt 23:54:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:54:49 + PACKAGES=/tmp/packages_start.txt 23:54:49 + '[' /w/workspace/xfoundry_app-record-replay_PR-25 ']' 23:54:49 + PACKAGES=/tmp/packages_end.txt 23:54:49 + case "${OS_FAMILY}" in 23:54:49 + dpkg -l 23:54:49 + grep '^ii' 23:54:49 + '[' -f /tmp/packages_start.txt ']' 23:54:49 + '[' -f /tmp/packages_end.txt ']' 23:54:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:54:49 + '[' /w/workspace/xfoundry_app-record-replay_PR-25 ']' 23:54:49 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-25/archives/ 23:54:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-25/archives/ [Pipeline] echo 23:54:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-25/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:54:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:50 prd-ubuntu20.04-docker-8c-8g-19031 does not seem to be running inside a container 23:54:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-25/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-25 -v /w/workspace/xfoundry_app-record-replay_PR-25:/w/workspace/xfoundry_app-record-replay_PR-25:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-25@tmp:/w/workspace/xfoundry_app-record-replay_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:54:51 $ docker top e8a49baeb07be62d06a185332b9dff36e3c9e8f1813fba5b57069ebfc9209854 -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:51 + touch /tmp/pre-build-complete [Pipeline] sh 23:54:51 + mkdir -p /var/log/sysstat [Pipeline] sh 23:54:52 + ls /var/log/sa-host 23:54:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:52 provisioning config files... 23:54:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-25@tmp/config11900446823079375302tmp [Pipeline] { [Pipeline] echo 23:54:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:54:52 ---> create-netrc.sh [Pipeline] } 23:54:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:54:52 ---> python-tools-install.sh [Pipeline] echo 23:54:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:54:53 ---> sudo-logs.sh 23:54:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:54:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:54:53 ---> job-cost.sh 23:54:53 lf-activate-venv: SKIPPING 23:54:53 DEBUG: total: 0.2199999988079071 23:54:53 INFO: Retrieving Stack Cost... 23:54:53 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:54 INFO: Archiving Costs [Pipeline] echo 23:54:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:54:54 ---> logs-deploy.sh 23:54:54 lf-activate-venv: SKIPPING 23:54:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-25/1 23:54:54 INFO: archiving workspace using pattern(s): 23:54:55 Archives upload complete. 23:54:55 INFO: archiving logs to Nexus