Pull request #27 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 f1e887f240c7f2e8b6d12399faea70a75062f813+33243b892cd04961baa0321b8a5c910c508d1c9a (78060a47055ef6a1ac1edeb50eee1fda96991d95) 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-ssh4466296984457648315.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-ssh7535903850387053634.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-27/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-27/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7639155364696026178.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-27/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh96644730899039689.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-ssh13545052424164704292.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-27/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-27/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3862347097158785799.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19240 in /w/workspace/xfoundry_app-record-replay_PR-27 [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-27 # 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 33243b892cd04961baa0321b8a5c910c508d1c9a into PR head commit f1e887f240c7f2e8b6d12399faea70a75062f813 Merge succeeded, producing f1e887f240c7f2e8b6d12399faea70a75062f813 Checking out Revision f1e887f240c7f2e8b6d12399faea70a75062f813 (PR-27) > 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/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1e887f240c7f2e8b6d12399faea70a75062f813 # 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 33243b892cd04961baa0321b8a5c910c508d1c9a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1e887f240c7f2e8b6d12399faea70a75062f813 # timeout=10 Commit message: "feat: Implement HTTP routing" 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 15:25:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:25:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:25:04 ========================================================= 15:25:04 EdgeX Global Pipelines Version Info 15:25:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:25:05 ------------------- 15:25:05 stable info: 15:25:05 ------------------- 15:25:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:25:05 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:25:05 Message: update stable to v1.0.250 15:25:05 ------------------- 15:25:05 experimental info: 15:25:05 ------------------- 15:25:05 Commited By: **** collab-it+edgex@linuxfoundation.org 15:25:05 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 15:25:05 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:25:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-27 [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-27 [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-27 [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1e887f240c7f2e8b6d12399faea70a75062f813 [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1e887f [Pipeline] echo 15:25:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:25:07 provisioning config files... 15:25:07 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-27@tmp/config17024773440314906576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:07 ---> docker-login.sh 15:25:07 nexus3.edgexfoundry.org:10001 15:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:08 Configure a credential helper to remove this warning. See 15:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:08 15:25:08 Login Succeeded 15:25:08 nexus3.edgexfoundry.org:10002 15:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:08 Configure a credential helper to remove this warning. See 15:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:08 15:25:08 Login Succeeded 15:25:08 nexus3.edgexfoundry.org:10003 15:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:08 Configure a credential helper to remove this warning. See 15:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:08 15:25:08 Login Succeeded 15:25:08 nexus3.edgexfoundry.org:10004 15:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:08 Configure a credential helper to remove this warning. See 15:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:08 15:25:08 Login Succeeded 15:25:08 docker.io 15:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:09 Configure a credential helper to remove this warning. See 15:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:09 15:25:09 Login Succeeded 15:25:09 ---> docker-login.sh ends [Pipeline] } 15:25:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:25:09 + git rev-list -1 --merges f1e887f240c7f2e8b6d12399faea70a75062f813~1..f1e887f240c7f2e8b6d12399faea70a75062f813 [Pipeline] echo 15:25:09 -----------> git rev-list -1 --merges f1e887f240c7f2e8b6d12399faea70a75062f813~1..f1e887f240c7f2e8b6d12399faea70a75062f813 f1e887f240c7f2e8b6d12399faea70a75062f813 [false] [Pipeline] sh 15:25:10 + git log --format=format:%s -1 f1e887f240c7f2e8b6d12399faea70a75062f813 [Pipeline] echo 15:25:10 ========================================================= 15:25:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:25:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:25:10 + git log --format=format:%s -1 f1e887f240c7f2e8b6d12399faea70a75062f813 [Pipeline] echo 15:25:10 [semverPrep] GIT_COMMIT: f1e887f240c7f2e8b6d12399faea70a75062f813, Commit Message: feat: Implement HTTP routing [Pipeline] echo 15:25:10 [semverPrep] This is not a build commit. [Pipeline] sh 15:25:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:25:11 + grep -v github /etc/ssh/ssh_known_hosts 15:25:11 + [ -e /tmp/ssh_known_hosts ] 15:25:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:25:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:25:11 + sudo tee -a /etc/ssh/ssh_known_hosts 15:25:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:11 15:25:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:12 0.1.4: Pulling from edgex-devops/py-git-semver 15:25:12 b85a868b505f: Pulling fs layer 15:25:12 e2be974225ed: Pulling fs layer 15:25:12 339a4e72a1f5: Pulling fs layer 15:25:12 988bab9f4d93: Pulling fs layer 15:25:12 1469e6f7b9e6: Pulling fs layer 15:25:12 eaf3925da568: Pulling fs layer 15:25:12 bab4dde63d76: Pulling fs layer 15:25:12 bde34c3a00c8: Pulling fs layer 15:25:12 b352a97aabf1: Pulling fs layer 15:25:12 4872d77fe225: Pulling fs layer 15:25:12 5851b861e8e6: Pulling fs layer 15:25:12 988bab9f4d93: Waiting 15:25:12 bde34c3a00c8: Waiting 15:25:12 1469e6f7b9e6: Waiting 15:25:12 eaf3925da568: Waiting 15:25:12 5851b861e8e6: Waiting 15:25:12 4872d77fe225: Waiting 15:25:12 bab4dde63d76: Waiting 15:25:12 e2be974225ed: Download complete 15:25:12 988bab9f4d93: Verifying Checksum 15:25:12 988bab9f4d93: Download complete 15:25:12 339a4e72a1f5: Verifying Checksum 15:25:12 339a4e72a1f5: Download complete 15:25:12 1469e6f7b9e6: Verifying Checksum 15:25:12 1469e6f7b9e6: Download complete 15:25:12 eaf3925da568: Download complete 15:25:12 bde34c3a00c8: Download complete 15:25:12 b352a97aabf1: Download complete 15:25:12 4872d77fe225: Download complete 15:25:12 5851b861e8e6: Download complete 15:25:12 b85a868b505f: Verifying Checksum 15:25:12 b85a868b505f: Download complete 15:25:12 bab4dde63d76: Verifying Checksum 15:25:12 bab4dde63d76: Download complete 15:25:13 b85a868b505f: Pull complete 15:25:13 e2be974225ed: Pull complete 15:25:14 339a4e72a1f5: Pull complete 15:25:14 988bab9f4d93: Pull complete 15:25:14 1469e6f7b9e6: Pull complete 15:25:14 eaf3925da568: Pull complete 15:25:16 bab4dde63d76: Pull complete 15:25:16 bde34c3a00c8: Pull complete 15:25:16 b352a97aabf1: Pull complete 15:25:16 4872d77fe225: Pull complete 15:25:16 5851b861e8e6: Pull complete 15:25:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:25:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:25:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:25:17 prd-ubuntu20.04-docker-8c-8g-19240 does not seem to be running inside a container 15:25:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-27 -v /w/workspace/xfoundry_app-record-replay_PR-27:/w/workspace/xfoundry_app-record-replay_PR-27:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-27@tmp:/w/workspace/xfoundry_app-record-replay_PR-27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:25:20 $ docker top 7e57b360a489ddf2b08226e654535d3a41151be07059b27d67b4bbb325c7130d -eo pid,comm 15:25:20 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). 15:25:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:25:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:25:20 [ssh-agent] Looking for ssh-agent implementation... 15:25:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:25:20 $ docker exec 7e57b360a489ddf2b08226e654535d3a41151be07059b27d67b4bbb325c7130d ssh-agent 15:25:20 SSH_AUTH_SOCK=/tmp/ssh-njrwSapU0BVI/agent.32 15:25:20 SSH_AGENT_PID=39 15:25:20 Running ssh-add (command line suppressed) 15:25:20 Identity added: /w/workspace/xfoundry_app-record-replay_PR-27@tmp/private_key_11862226435331366049.key (/w/workspace/xfoundry_app-record-replay_PR-27@tmp/private_key_11862226435331366049.key) 15:25:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:25:21 + git tag --points-at HEAD [Pipeline] } 15:25:21 $ docker exec --env ******** --env ******** 7e57b360a489ddf2b08226e654535d3a41151be07059b27d67b4bbb325c7130d ssh-agent -k 15:25:21 unset SSH_AUTH_SOCK; 15:25:21 unset SSH_AGENT_PID; 15:25:21 echo Agent pid 39 killed; 15:25:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:25:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:25:21 [ssh-agent] Looking for ssh-agent implementation... 15:25:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:25:21 $ docker exec 7e57b360a489ddf2b08226e654535d3a41151be07059b27d67b4bbb325c7130d ssh-agent 15:25:21 SSH_AUTH_SOCK=/tmp/ssh-jqihwGDaVtnk/agent.71 15:25:21 SSH_AGENT_PID=77 15:25:21 Running ssh-add (command line suppressed) 15:25:21 Identity added: /w/workspace/xfoundry_app-record-replay_PR-27@tmp/private_key_12215603911023508364.key (/w/workspace/xfoundry_app-record-replay_PR-27@tmp/private_key_12215603911023508364.key) 15:25:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:25:22 + git semver init 15:25:22 2023-06-26 15:25:22,321 [run_init] DEBUG init version:0.0.0 force:False 15:25:22 2023-06-26 15:25:22,321 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-27/.semver 15:25:22 2023-06-26 15:25:22,322 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-27/.semver 15:25:22 2023-06-26 15:25:22,322 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-27/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-27, universal_newlines=False, shell=None, istream=None) 15:25:22 2023-06-26 15:25:22,892 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-27/.git/info/exclude 15:25:22 2023-06-26 15:25:22,892 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-27/.semver/PR-27 with force:False 15:25:22 2023-06-26 15:25:22,893 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-27/.semver/PR-27 15:25:22 2023-06-26 15:25:22,896 [execute] INFO git cat-file --batch-check 15:25:22 2023-06-26 15:25:22,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-27/.semver, universal_newlines=False, shell=None, istream=) 15:25:22 2023-06-26 15:25:22,903 [execute] INFO git cat-file --batch 15:25:22 2023-06-26 15:25:22,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-27/.semver, universal_newlines=False, shell=None, istream=) 15:25:22 2023-06-26 15:25:22,909 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-27/.semver/PR-27 15:25:22 0.0.0 [Pipeline] } 15:25:22 $ docker exec --env ******** --env ******** 7e57b360a489ddf2b08226e654535d3a41151be07059b27d67b4bbb325c7130d ssh-agent -k 15:25:23 unset SSH_AUTH_SOCK; 15:25:23 unset SSH_AGENT_PID; 15:25:23 echo Agent pid 77 killed; 15:25:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:25:23 + git semver [Pipeline] } 15:25:23 $ docker stop --time=1 7e57b360a489ddf2b08226e654535d3a41151be07059b27d67b4bbb325c7130d 15:25:25 $ docker rm -f --volumes 7e57b360a489ddf2b08226e654535d3a41151be07059b27d67b4bbb325c7130d [Pipeline] // withDockerContainer [Pipeline] sh 15:25:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:25:25 Stashed 1 file(s) [Pipeline] echo 15:25:25 [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 15:25:26 provisioning config files... 15:25:26 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-27@tmp/config22921156462186799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:26 ---> docker-login.sh 15:25:26 nexus3.edgexfoundry.org:10001 15:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:26 Configure a credential helper to remove this warning. See 15:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:26 15:25:26 Login Succeeded 15:25:26 nexus3.edgexfoundry.org:10002 15:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:26 Configure a credential helper to remove this warning. See 15:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:26 15:25:26 Login Succeeded 15:25:26 nexus3.edgexfoundry.org:10003 15:25:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:27 Configure a credential helper to remove this warning. See 15:25:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:27 15:25:27 Login Succeeded 15:25:27 nexus3.edgexfoundry.org:10004 15:25:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:27 Configure a credential helper to remove this warning. See 15:25:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:27 15:25:27 Login Succeeded 15:25:27 docker.io 15:25:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:27 Configure a credential helper to remove this warning. See 15:25:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:27 15:25:27 Login Succeeded 15:25:27 ---> docker-login.sh ends [Pipeline] } 15:25:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:25:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:25:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:25:27 ========================================================= 15:25:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:25:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:28 + 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 . 15:25:28 Sending build context to Docker daemon 238.6kB 15:25:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:25:28 Step 2/12 : FROM ${BASE} AS builder 15:25:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:25:28 f56be85fc22e: Pulling fs layer 15:25:28 85791d961cd3: Pulling fs layer 15:25:28 d694b5ae8c79: Pulling fs layer 15:25:28 9f32a84ed3da: Pulling fs layer 15:25:28 4d19c01a9841: Pulling fs layer 15:25:28 9325e15d5711: Pulling fs layer 15:25:28 556b6ee489ea: Pulling fs layer 15:25:28 c5a4b2cf53e6: Pulling fs layer 15:25:28 556b6ee489ea: Waiting 15:25:28 9325e15d5711: Waiting 15:25:28 c5a4b2cf53e6: Waiting 15:25:28 9f32a84ed3da: Waiting 15:25:28 4d19c01a9841: Waiting 15:25:28 85791d961cd3: Download complete 15:25:28 9f32a84ed3da: Verifying Checksum 15:25:28 9f32a84ed3da: Download complete 15:25:28 4d19c01a9841: Verifying Checksum 15:25:28 4d19c01a9841: Download complete 15:25:28 f56be85fc22e: Verifying Checksum 15:25:28 f56be85fc22e: Download complete 15:25:28 9325e15d5711: Verifying Checksum 15:25:28 9325e15d5711: Download complete 15:25:28 f56be85fc22e: Pull complete 15:25:28 85791d961cd3: Pull complete 15:25:28 d694b5ae8c79: Verifying Checksum 15:25:28 d694b5ae8c79: Download complete 15:25:28 c5a4b2cf53e6: Verifying Checksum 15:25:28 c5a4b2cf53e6: Download complete 15:25:29 556b6ee489ea: Verifying Checksum 15:25:29 556b6ee489ea: Download complete 15:25:32 d694b5ae8c79: Pull complete 15:25:32 9f32a84ed3da: Pull complete 15:25:32 4d19c01a9841: Pull complete 15:25:32 9325e15d5711: Pull complete 15:25:34 556b6ee489ea: Pull complete 15:25:36 c5a4b2cf53e6: Pull complete 15:25:36 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 15:25:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:25:36 ---> c4be618373d6 15:25:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 15:25:40 ---> Running in 8e0e5afc12e0 15:25:40 Removing intermediate container 8e0e5afc12e0 15:25:40 ---> 06117deb5af5 15:25:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:25:40 ---> Running in 822a01456d0f 15:25:40 Removing intermediate container 822a01456d0f 15:25:40 ---> c1ace4606e2e 15:25:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:25:40 ---> Running in 9f5c28d155b2 15:25:40 Removing intermediate container 9f5c28d155b2 15:25:40 ---> 71f6183d06c0 15:25:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:25:40 ---> Running in c52cc563d98d 15:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:25:41 Still waiting to schedule task 15:25:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:25:41 OK: 265 MiB in 53 packages 15:25:41 Removing intermediate container c52cc563d98d 15:25:41 ---> b5b4def0f330 15:25:41 Step 7/12 : WORKDIR /app 15:25:41 ---> Running in 668c8f1fb772 15:25:41 Removing intermediate container 668c8f1fb772 15:25:41 ---> 00bd37f898e7 15:25:41 Step 8/12 : COPY go.mod vendor* ./ 15:25:41 ---> 68af0e660a75 15:25:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:41 ---> Running in 451de950ff7a 15:26:38 Removing intermediate container 451de950ff7a 15:26:38 ---> aa37494c0059 15:26:38 Step 10/12 : COPY . . 15:26:38 ---> bc46599eec11 15:26:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:26:38 ---> Running in 0eff79bd25ce 15:26:38 Removing intermediate container 0eff79bd25ce 15:26:38 ---> 187464cc44c3 15:26:38 Step 12/12 : RUN $MAKE 15:26:38 ---> Running in bb978c9b2f93 15:26:38 noop 15:26:38 Removing intermediate container bb978c9b2f93 15:26:38 ---> cb4205f865b9 15:26:38 Successfully built cb4205f865b9 15:26:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:38 + docker inspect -f . ci-base-image-x86_64 15:26:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:38 prd-ubuntu20.04-docker-8c-8g-19240 does not seem to be running inside a container 15:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-27 -v /w/workspace/xfoundry_app-record-replay_PR-27:/w/workspace/xfoundry_app-record-replay_PR-27:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-27@tmp:/w/workspace/xfoundry_app-record-replay_PR-27@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 ******** ci-base-image-x86_64 cat 15:26:39 $ docker top c87a8a2844c213bc06a4d922a3894f2712084edfda70315c31875636f17a7fff -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:39 + go version 15:26:39 go version go1.20.2 linux/amd64 [Pipeline] } 15:26:39 $ docker stop --time=1 c87a8a2844c213bc06a4d922a3894f2712084edfda70315c31875636f17a7fff 15:26:40 $ docker rm -f --volumes c87a8a2844c213bc06a4d922a3894f2712084edfda70315c31875636f17a7fff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:41 + docker inspect -f . ci-base-image-x86_64 15:26:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:41 prd-ubuntu20.04-docker-8c-8g-19240 does not seem to be running inside a container 15:26:41 $ 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-27 -v /w/workspace/xfoundry_app-record-replay_PR-27:/w/workspace/xfoundry_app-record-replay_PR-27:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-27@tmp:/w/workspace/xfoundry_app-record-replay_PR-27@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 ******** ci-base-image-x86_64 cat 15:26:42 $ docker top d2757a27ec136a2a92d708444044a1bce43d9bc59afb40641dc52a03edc5f136 -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:42 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-27 [Pipeline] fileExists [Pipeline] sh 15:26:42 + make test 15:26:42 go test -race -coverprofile=coverage.out ./... 15:26:50 ? github.com/edgexfoundry/app-record-replay [no test files] 15:27:03 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 15:27:03 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 15:27:03 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 15:27:03 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.075s coverage: 69.2% of statements 15:27:03 ok github.com/edgexfoundry/app-record-replay/internal/data 0.061s coverage: 27.3% of statements 15:27:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19241 in /w/workspace/xfoundry_app-record-replay_PR-27 [Pipeline] { [Pipeline] ws 15:27:14 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 15:27:14 Selected Git installation does not exist. Using Default 15:27:14 The recommended git tool is: NONE 15:27:19 using credential edgex-jenkins-ssh 15:27:19 Cloning the remote Git repository 15:27:19 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 15:27:19 > git init /w/workspace/app-record-replay/1 # timeout=10 15:27:19 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 15:27:19 > git --version # timeout=10 15:27:19 > git --version # 'git version 2.25.1' 15:27:19 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:27:20 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 15:27:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:27:22 Merging remotes/origin/main commit 33243b892cd04961baa0321b8a5c910c508d1c9a into PR head commit f1e887f240c7f2e8b6d12399faea70a75062f813 15:27:21 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 15:27:21 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 15:27:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/27/head:refs/remotes/origin/PR-27 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:27:22 > git config core.sparsecheckout # timeout=10 15:27:22 > git checkout -f f1e887f240c7f2e8b6d12399faea70a75062f813 # timeout=10 15:27:22 > git remote # timeout=10 15:27:22 > git config --get remote.origin.url # timeout=10 15:27:22 using GIT_SSH to set credentials SSH Credentials for GitHub 15:27:22 > git merge 33243b892cd04961baa0321b8a5c910c508d1c9a # timeout=10 15:27:22 Merge succeeded, producing f1e887f240c7f2e8b6d12399faea70a75062f813 15:27:22 Checking out Revision f1e887f240c7f2e8b6d12399faea70a75062f813 (PR-27) 15:27:22 > git rev-parse HEAD^{commit} # timeout=10 15:27:22 > git config core.sparsecheckout # timeout=10 15:27:22 > git checkout -f f1e887f240c7f2e8b6d12399faea70a75062f813 # timeout=10 15:27:25 go vet ./... 15:27:25 Commit message: "feat: Implement HTTP routing" 15:27:25 > git --version # timeout=10 15:27:25 > git --version # 'git version 2.25.1' 15:27:25 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:27:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:27:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:27:27 ./bin/test-attribution-txt.sh [Pipeline] echo 15:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:27:27 $ docker stop --time=1 d2757a27ec136a2a92d708444044a1bce43d9bc59afb40641dc52a03edc5f136 15:27:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:27:27 % Total % Received % Xferd Average Speed Time Time Time Current 15:27:27 Dload Upload Total Spent Left Speed 15:27:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 15:27:30 $ docker rm -f --volumes d2757a27ec136a2a92d708444044a1bce43d9bc59afb40641dc52a03edc5f136 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 15:27:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:27:31 Stashed 1 file(s) [Pipeline] } 15:27:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 15:27:31 + sudo tee /etc/docker/daemon.new 15:27:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:27:31 { 15:27:31 "registry-mirrors": [ 15:27:31 "https://nexus3.edgexfoundry.org:10001" 15:27:31 ], 15:27:31 "bip": "10.250.0.254/24", 15:27:31 "hosts": [ 15:27:31 "tcp://0.0.0.0:5555", 15:27:31 "unix:///var/run/docker.sock" 15:27:31 ], 15:27:31 "mtu": 1458, 15:27:31 "selinux-enabled": true, 15:27:31 "seccomp-profile": "/etc/docker/seccomp.json" 15:27:31 } [Pipeline] sh [Pipeline] sh 15:27:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:27:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:27:32 + sudo service docker restart 15:27:32 + ls -al . 15:27:32 total 148 15:27:32 drwxrwxr-x 9 jenkins jenkins 4096 Jun 26 15:26 . 15:27:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 15:24 .. 15:27:32 -rw-rw-r-- 1 jenkins jenkins 119 Jun 26 15:25 .dockerignore 15:27:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 15:25 .git 15:27:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 15:25 .github 15:27:32 -rw-rw-r-- 1 jenkins jenkins 164 Jun 26 15:25 .gitignore 15:27:32 -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 15:25 .golangci.yml 15:27:32 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 15:25 .semver 15:27:32 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 26 15:25 Attribution.txt 15:27:32 -rw-rw-r-- 1 jenkins jenkins 258 Jun 26 15:25 CHANGELOG.md 15:27:32 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 26 15:25 Dockerfile 15:27:32 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 15:25 GOVERNANCE.md 15:27:32 -rw-rw-r-- 1 jenkins jenkins 681 Jun 26 15:25 Jenkinsfile 15:27:32 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 26 15:25 LICENSE 15:27:32 -rw-rw-r-- 1 jenkins jenkins 611 Jun 26 15:25 OWNERS.md 15:27:32 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 26 15:25 README.md 15:27:32 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 15:25 VERSION 15:27:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 15:25 bin 15:27:32 -rw-r--r-- 1 jenkins jenkins 3308 Jun 26 15:27 coverage.out 15:27:32 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 26 15:25 go.mod 15:27:32 -rw-rw-r-- 1 jenkins jenkins 30668 Jun 26 15:25 go.sum 15:27:32 drwxrwxr-x 5 jenkins jenkins 4096 Jun 26 15:25 internal 15:27:32 -rw-rw-r-- 1 jenkins jenkins 693 Jun 26 15:25 main.go 15:27:32 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 26 15:25 makefile 15:27:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 15:25 pkg 15:27:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 15:25 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:33 + 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=f1e887f240c7f2e8b6d12399faea70a75062f813 --label arch=amd64 --label version=0.0.0 . 15:27:33 Sending build context to Docker daemon 242.7kB 15:27:33 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 15:27:33 Step 2/26 : FROM ${BASE} AS builder 15:27:33 ---> cb4205f865b9 15:27:33 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 15:27:33 ---> Running in 4102a0eaa21c 15:27:33 Removing intermediate container 4102a0eaa21c 15:27:33 ---> f8a24526b756 15:27:33 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:27:33 ---> Running in fce148fbebb4 15:27:33 Removing intermediate container fce148fbebb4 15:27:33 ---> 875075f77131 15:27:33 Step 5/26 : ARG ADD_BUILD_TAGS="" 15:27:33 ---> Running in 9445a72ed1f1 15:27:33 Removing intermediate container 9445a72ed1f1 15:27:33 ---> 3a5486eb6d64 15:27:33 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:27:33 ---> Running in cd5ec9b50df6 15:27:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:27:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:27:34 OK: 265 MiB in 53 packages 15:27:34 Removing intermediate container cd5ec9b50df6 15:27:34 ---> 21aa49b85ebc 15:27:34 Step 7/26 : WORKDIR /app 15:27:34 ---> Running in 1ae1b4cf302f 15:27:34 Removing intermediate container 1ae1b4cf302f 15:27:34 ---> 587851ff4218 15:27:34 Step 8/26 : COPY go.mod vendor* ./ 15:27:34 ---> e601fb220e44 15:27:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:27:34 ---> Running in 2be3d100a19b 15:27:35 Removing intermediate container 2be3d100a19b 15:27:35 ---> 477c8effd2f5 15:27:35 Step 10/26 : COPY . . 15:27:35 ---> 190293c380ca 15:27:35 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:27:35 ---> Running in 2b361c9c623d 15:27:35 Removing intermediate container 2b361c9c623d 15:27:35 ---> d4332cce4e5c 15:27:35 Step 12/26 : RUN $MAKE 15:27:35 ---> Running in 15b864bcb505 15:27:36 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 15:27:41 Removing intermediate container 15b864bcb505 15:27:41 ---> 22dd23893cf0 15:27:41 Step 13/26 : FROM alpine:3.17 15:27:42 3.17: Pulling from library/alpine 15:27:42 4db1b89c0bd1: Pulling fs layer 15:27:42 4db1b89c0bd1: Verifying Checksum 15:27:42 4db1b89c0bd1: Download complete 15:27:42 4db1b89c0bd1: Pull complete 15:27:42 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 15:27:42 Status: Downloaded newer image for alpine:3.17 15:27:42 ---> 1f73a9d63274 15:27:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:27:42 ---> Running in 1b4b1999df53 15:27:42 Removing intermediate container 1b4b1999df53 15:27:42 ---> 0120e43074e6 15:27:42 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 15:27:42 ---> Running in c89bedda2f73 15:27:42 Removing intermediate container c89bedda2f73 15:27:42 ---> f353b43abaad 15:27:42 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 15:27:42 ---> Running in 286f20003196 15:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:27:43 (1/2) Installing ca-certificates (20230506-r0) 15:27:43 (2/2) Installing dumb-init (1.2.5-r2) 15:27:43 Executing busybox-1.35.0-r29.trigger 15:27:43 Executing ca-certificates-20230506-r0.trigger 15:27:43 OK: 8 MiB in 17 packages 15:27:43 Removing intermediate container 286f20003196 15:27:43 ---> d74fba517400 15:27:43 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:27:43 ---> 984da8bd98e7 15:27:43 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 15:27:43 ---> c34676f79bd9 15:27:43 Step 19/26 : COPY --from=builder /app/res/ /res/ 15:27:44 ---> 07d674cfc040 15:27:44 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 15:27:44 ---> 8585e70ec78d 15:27:44 Step 21/26 : EXPOSE 59712 15:27:44 ---> Running in bb4a560e866d 15:27:44 Removing intermediate container bb4a560e866d 15:27:44 ---> 0f4c48641d19 15:27:44 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 15:27:44 ---> Running in 116d5053ad7e 15:27:44 Removing intermediate container 116d5053ad7e 15:27:44 ---> 59be3ea72e38 15:27:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:27:44 ---> Running in 6d8cf7477cc1 15:27:44 Removing intermediate container 6d8cf7477cc1 15:27:44 ---> 4dc846c4b917 15:27:44 Step 24/26 : LABEL arch=amd64 15:27:44 ---> Running in 5d02c6b727fc 15:27:44 Removing intermediate container 5d02c6b727fc 15:27:44 ---> 3b5fab2a6234 15:27:44 Step 25/26 : LABEL git_sha=f1e887f240c7f2e8b6d12399faea70a75062f813 15:27:44 ---> Running in b97e72f2d3e7 15:27:44 Removing intermediate container b97e72f2d3e7 15:27:44 ---> 7015fdccef41 15:27:44 Step 26/26 : LABEL version=0.0.0 15:27:44 ---> Running in 33b66901a0fb 15:27:44 Removing intermediate container 33b66901a0fb 15:27:44 ---> b4c9389e4c26 15:27:44 [Warning] One or more build-args [ARCH] were not consumed 15:27:44 Successfully built b4c9389e4c26 15:27:44 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 15:27:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:45 15:27:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:46 latest: Pulling from edgex-lftools-log-publisher 15:27:46 5eb5b503b376: Pulling fs layer 15:27:46 5c69ac0246d0: Pulling fs layer 15:27:46 ec43610c2a17: Pulling fs layer 15:27:46 3a2ae6a8a46f: Pulling fs layer 15:27:46 33b1e0a273af: Pulling fs layer 15:27:46 5d3b04190fa2: Pulling fs layer 15:27:46 2f39f015ded8: Pulling fs layer 15:27:46 3a2ae6a8a46f: Waiting 15:27:46 33b1e0a273af: Waiting 15:27:46 5d3b04190fa2: Waiting 15:27:46 2f39f015ded8: Waiting 15:27:46 5c69ac0246d0: Verifying Checksum 15:27:46 5c69ac0246d0: Download complete 15:27:46 3a2ae6a8a46f: Verifying Checksum 15:27:46 3a2ae6a8a46f: Download complete 15:27:46 33b1e0a273af: Verifying Checksum 15:27:46 33b1e0a273af: Download complete 15:27:46 5d3b04190fa2: Verifying Checksum 15:27:46 5d3b04190fa2: Download complete 15:27:46 ec43610c2a17: Verifying Checksum 15:27:46 ec43610c2a17: Download complete 15:27:46 5eb5b503b376: Verifying Checksum 15:27:46 5eb5b503b376: Download complete 15:27:46 2f39f015ded8: Verifying Checksum 15:27:47 5eb5b503b376: Pull complete 15:27:47 5c69ac0246d0: Pull complete 15:27:47 ec43610c2a17: Pull complete 15:27:47 3a2ae6a8a46f: Pull complete 15:27:47 33b1e0a273af: Pull complete 15:27:48 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:51 provisioning config files... 15:27:51 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config10751725502680690128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:51 ---> docker-login.sh 15:27:51 nexus3.edgexfoundry.org:10001 15:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:52 2f39f015ded8: Pull complete 15:27:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:27:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:52 Configure a credential helper to remove this warning. See 15:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:52 15:27:52 Login Succeeded 15:27:52 nexus3.edgexfoundry.org:10002 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:52 prd-ubuntu20.04-docker-8c-8g-19240 does not seem to be running inside a container 15:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:52 Configure a credential helper to remove this warning. See 15:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:52 15:27:52 Login Succeeded 15:27:52 nexus3.edgexfoundry.org:10003 15:27:52 $ 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-27 -v /w/workspace/xfoundry_app-record-replay_PR-27:/w/workspace/xfoundry_app-record-replay_PR-27:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-27@tmp:/w/workspace/xfoundry_app-record-replay_PR-27@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 15:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:52 Configure a credential helper to remove this warning. See 15:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:52 15:27:52 Login Succeeded 15:27:52 nexus3.edgexfoundry.org:10004 15:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:53 Configure a credential helper to remove this warning. See 15:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:53 15:27:53 Login Succeeded 15:27:53 docker.io 15:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:53 Configure a credential helper to remove this warning. See 15:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:53 15:27:53 Login Succeeded 15:27:53 ---> docker-login.sh ends 15:27:56 $ docker top 2509bf04f87055a7bb96792cd59e2f2a7c39705a61ed59007f13772edb55121f -eo pid,comm [Pipeline] { [Pipeline] } 15:27:57 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 15:27:57 ---> job-cost.sh 15:27:57 lf-activate-venv: SKIPPING 15:27:57 INFO: No Stack... [Pipeline] echo 15:27:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:27:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:27:57 ========================================================= 15:27:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:27:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 15:27:57 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:58 + 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 . 15:27:58 Sending build context to Docker daemon 122.9kB 15:27:58 INFO: Archiving Costs [Pipeline] sh 15:27:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:27:58 Step 2/12 : FROM ${BASE} AS builder 15:27:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:27:58 c41833b44d91: Pulling fs layer 15:27:58 ed15518f5707: Pulling fs layer 15:27:58 feae8fd75edb: Pulling fs layer 15:27:58 242c74f7c9fa: Pulling fs layer 15:27:58 3cdef696dda3: Pulling fs layer 15:27:58 2ced38df9373: Pulling fs layer 15:27:58 58f1dce35555: Pulling fs layer 15:27:58 242c74f7c9fa: Waiting 15:27:58 2ced38df9373: Waiting 15:27:58 3cdef696dda3: Waiting 15:27:58 58f1dce35555: Waiting 15:27:58 ed15518f5707: Verifying Checksum 15:27:58 ed15518f5707: Download complete 15:27:58 + cat /w/workspace/xfoundry_app-record-replay_PR-27/archives/cost.csv 15:27:58 + cut -d, -f6 [Pipeline] lock 15:27:58 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-27-1-stack-cost] 15:27:58 Resource [jenkins-edgexfoundry-app-record-replay-PR-27-1-stack-cost] did not exist. Created. 15:27:58 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-27-1-stack-cost] [Pipeline] { 15:27:58 242c74f7c9fa: Verifying Checksum 15:27:58 242c74f7c9fa: Download complete 15:27:58 3cdef696dda3: Verifying Checksum 15:27:58 3cdef696dda3: Download complete 15:27:58 c41833b44d91: Verifying Checksum 15:27:58 c41833b44d91: Download complete [Pipeline] unstash [Pipeline] sh 15:27:59 + echo total: 0.2199999988079071 [Pipeline] stash 15:27:59 Stashed 1 file(s) [Pipeline] } 15:27:59 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-27-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:27:59 $ docker stop --time=1 2509bf04f87055a7bb96792cd59e2f2a7c39705a61ed59007f13772edb55121f 15:27:59 c41833b44d91: Pull complete 15:28:00 58f1dce35555: Verifying Checksum 15:28:00 58f1dce35555: Download complete 15:28:00 ed15518f5707: Pull complete 15:28:00 $ docker rm -f --volumes 2509bf04f87055a7bb96792cd59e2f2a7c39705a61ed59007f13772edb55121f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:28:01 feae8fd75edb: Verifying Checksum 15:28:01 feae8fd75edb: Download complete 15:28:01 2ced38df9373: Download complete 15:28:13 feae8fd75edb: Pull complete 15:28:13 242c74f7c9fa: Pull complete 15:28:13 3cdef696dda3: Pull complete 15:28:19 2ced38df9373: Pull complete 15:28:21 58f1dce35555: Pull complete 15:28:21 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 15:28:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:28:21 ---> fadd8f120f05 15:28:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 15:28:22 ---> Running in 37a12eadec7a 15:28:22 Removing intermediate container 37a12eadec7a 15:28:22 ---> c099b792f608 15:28:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:28:22 ---> Running in 4ffe261ea19e 15:28:23 Removing intermediate container 4ffe261ea19e 15:28:23 ---> 370057044171 15:28:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:28:23 ---> Running in e57fe1b5e983 15:28:23 Removing intermediate container e57fe1b5e983 15:28:23 ---> 2f5b5d414c9f 15:28:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:28:23 ---> Running in 89dcdc84630a 15:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:28:26 OK: 263 MiB in 53 packages 15:28:27 Removing intermediate container 89dcdc84630a 15:28:27 ---> 40207c99c84b 15:28:27 Step 7/12 : WORKDIR /app 15:28:27 ---> Running in ca9af72064c5 15:28:27 Removing intermediate container ca9af72064c5 15:28:27 ---> 60914be5ef9a 15:28:27 Step 8/12 : COPY go.mod vendor* ./ 15:28:27 ---> c398596c7459 15:28:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:28:27 ---> Running in 6cfa74c1c4c2 15:29:35 Removing intermediate container 6cfa74c1c4c2 15:29:35 ---> 29f61f1121bd 15:29:35 Step 10/12 : COPY . . 15:29:35 ---> daca8947ac59 15:29:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:29:35 ---> Running in 8417feea3b46 15:29:35 Removing intermediate container 8417feea3b46 15:29:35 ---> c8aa44604698 15:29:35 Step 12/12 : RUN $MAKE 15:29:35 ---> Running in c73e16a1351b 15:29:35 noop 15:29:36 Removing intermediate container c73e16a1351b 15:29:36 ---> d849a14cf9b1 15:29:36 Successfully built d849a14cf9b1 15:29:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:37 + docker inspect -f . ci-base-image-arm64 15:29:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:37 prd-ubuntu20.04-docker-arm64-4c-16g-19241 does not seem to be running inside a container 15:29:37 $ 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 15:29:38 $ docker top 082e5fb683fab75ca5cc3eec473f799193021488568c115fd69e8f270793ec8b -eo pid,comm [Pipeline] { [Pipeline] sh 15:29:39 + go version 15:29:39 go version go1.20.2 linux/arm64 [Pipeline] } 15:29:39 $ docker stop --time=1 082e5fb683fab75ca5cc3eec473f799193021488568c115fd69e8f270793ec8b 15:29:42 $ docker rm -f --volumes 082e5fb683fab75ca5cc3eec473f799193021488568c115fd69e8f270793ec8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:42 + docker inspect -f . ci-base-image-arm64 15:29:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:43 prd-ubuntu20.04-docker-arm64-4c-16g-19241 does not seem to be running inside a container 15:29:43 $ 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 15:29:44 $ docker top 966dc084d4f964a909d49ad41c4948ffc940997032cd62dc0e721319b5e59cc5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:29:44 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 15:29:45 + make test 15:29:45 go test -race -coverprofile=coverage.out ./... 15:30:32 ? github.com/edgexfoundry/app-record-replay [no test files] 15:32:23 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.294s coverage: 69.2% of statements 15:32:23 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 15:32:23 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 15:32:23 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 15:32:23 ok github.com/edgexfoundry/app-record-replay/internal/data 0.198s coverage: 27.3% of statements 15:32:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:32:23 go vet ./... 15:34:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:34:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:34:30 ./bin/test-attribution-txt.sh [Pipeline] echo 15:34:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:34:30 $ docker stop --time=1 966dc084d4f964a909d49ad41c4948ffc940997032cd62dc0e721319b5e59cc5 15:34:32 $ docker rm -f --volumes 966dc084d4f964a909d49ad41c4948ffc940997032cd62dc0e721319b5e59cc5 [Pipeline] // withDockerContainer [Pipeline] sh 15:34:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:34:33 Warning: overwriting stash ‘coverage-report’ 15:34:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:34:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:34:35 + ls -al . 15:34:35 total 144 15:34:35 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 15:29 . 15:34:35 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 15:27 .. 15:34:35 -rw-rw-r-- 1 jenkins jenkins 119 Jun 26 15:27 .dockerignore 15:34:35 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 15:27 .git 15:34:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 15:27 .github 15:34:35 -rw-rw-r-- 1 jenkins jenkins 164 Jun 26 15:27 .gitignore 15:34:35 -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 15:27 .golangci.yml 15:34:35 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 26 15:27 Attribution.txt 15:34:35 -rw-rw-r-- 1 jenkins jenkins 258 Jun 26 15:27 CHANGELOG.md 15:34:35 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 26 15:27 Dockerfile 15:34:35 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 15:27 GOVERNANCE.md 15:34:35 -rw-rw-r-- 1 jenkins jenkins 681 Jun 26 15:27 Jenkinsfile 15:34:35 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 26 15:27 LICENSE 15:34:35 -rw-rw-r-- 1 jenkins jenkins 611 Jun 26 15:27 OWNERS.md 15:34:35 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 26 15:27 README.md 15:34:35 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 15:25 VERSION 15:34:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 15:27 bin 15:34:35 -rw-r--r-- 1 jenkins jenkins 3308 Jun 26 15:32 coverage.out 15:34:35 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 26 15:27 go.mod 15:34:35 -rw-rw-r-- 1 jenkins jenkins 30668 Jun 26 15:27 go.sum 15:34:35 drwxrwxr-x 5 jenkins jenkins 4096 Jun 26 15:27 internal 15:34:35 -rw-rw-r-- 1 jenkins jenkins 693 Jun 26 15:27 main.go 15:34:35 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 26 15:27 makefile 15:34:35 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 15:27 pkg 15:34:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 15:27 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:35 + 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=f1e887f240c7f2e8b6d12399faea70a75062f813 --label arch=arm64 --label version=0.0.0 . 15:34:35 Sending build context to Docker daemon 127kB 15:34:36 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 15:34:36 Step 2/26 : FROM ${BASE} AS builder 15:34:36 ---> d849a14cf9b1 15:34:36 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 15:34:36 ---> Running in a01d1846cb9e 15:34:36 Removing intermediate container a01d1846cb9e 15:34:36 ---> 8573b90084a6 15:34:36 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:34:36 ---> Running in cc2a0bd54761 15:34:36 Removing intermediate container cc2a0bd54761 15:34:36 ---> 8b1a7407a8cf 15:34:36 Step 5/26 : ARG ADD_BUILD_TAGS="" 15:34:36 ---> Running in a4ac56bcbebd 15:34:37 Removing intermediate container a4ac56bcbebd 15:34:37 ---> f771eeee67d8 15:34:37 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:34:37 ---> Running in 4d7de8f56bbe 15:34:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:34:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:34:39 OK: 263 MiB in 53 packages 15:34:40 Removing intermediate container 4d7de8f56bbe 15:34:40 ---> 7848a96e7f8e 15:34:40 Step 7/26 : WORKDIR /app 15:34:40 ---> Running in cb8e448bd8d5 15:34:40 Removing intermediate container cb8e448bd8d5 15:34:40 ---> 3d1cca07ad58 15:34:40 Step 8/26 : COPY go.mod vendor* ./ 15:34:41 ---> 90d82fc8413f 15:34:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:34:41 ---> Running in 2edaec0e4e33 15:34:43 Removing intermediate container 2edaec0e4e33 15:34:43 ---> d4bda8122c58 15:34:43 Step 10/26 : COPY . . 15:34:44 ---> d162be5c0ca8 15:34:44 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:34:44 ---> Running in 1a1666bde35e 15:34:44 Removing intermediate container 1a1666bde35e 15:34:44 ---> 2968a1dbf1cd 15:34:44 Step 12/26 : RUN $MAKE 15:34:44 ---> Running in 27d91c62c455 15:34:45 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 15:35:12 Removing intermediate container 27d91c62c455 15:35:12 ---> f14556d2d496 15:35:12 Step 13/26 : FROM alpine:3.17 15:35:12 3.17: Pulling from library/alpine 15:35:12 edb6bdbacee9: Pulling fs layer 15:35:12 edb6bdbacee9: Verifying Checksum 15:35:12 edb6bdbacee9: Download complete 15:35:12 edb6bdbacee9: Pull complete 15:35:12 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 15:35:12 Status: Downloaded newer image for alpine:3.17 15:35:12 ---> 779605e5fbc0 15:35:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:35:12 ---> Running in fe8d25ceee64 15:35:12 Removing intermediate container fe8d25ceee64 15:35:12 ---> b487a18f34b3 15:35:12 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 15:35:12 ---> Running in 64f2885afb0b 15:35:12 Removing intermediate container 64f2885afb0b 15:35:12 ---> d2e052e0bd06 15:35:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 15:35:12 ---> Running in c2e5e83f5c02 15:35:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:35:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:35:13 (1/2) Installing ca-certificates (20230506-r0) 15:35:13 (2/2) Installing dumb-init (1.2.5-r2) 15:35:13 Executing busybox-1.35.0-r29.trigger 15:35:13 Executing ca-certificates-20230506-r0.trigger 15:35:14 OK: 8 MiB in 17 packages 15:35:18 Removing intermediate container c2e5e83f5c02 15:35:18 ---> 809cb674aa9b 15:35:18 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:35:18 ---> 06e9cf935b89 15:35:18 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 15:35:19 ---> deb554d340c5 15:35:19 Step 19/26 : COPY --from=builder /app/res/ /res/ 15:35:19 ---> 333be95f6cec 15:35:19 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 15:35:20 ---> d7ebe0120b26 15:35:20 Step 21/26 : EXPOSE 59712 15:35:20 ---> Running in 371e9e9ef9bc 15:35:20 Removing intermediate container 371e9e9ef9bc 15:35:20 ---> ccb82aa84615 15:35:20 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 15:35:20 ---> Running in a77ddfc3d8fe 15:35:21 Removing intermediate container a77ddfc3d8fe 15:35:21 ---> 9ee7c3e02fcb 15:35:21 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:35:21 ---> Running in 07535dbd8d13 15:35:21 Removing intermediate container 07535dbd8d13 15:35:21 ---> 94b901dd9650 15:35:21 Step 24/26 : LABEL arch=arm64 15:35:21 ---> Running in 98d655e75a2d 15:35:21 Removing intermediate container 98d655e75a2d 15:35:21 ---> 03def859a4bb 15:35:21 Step 25/26 : LABEL git_sha=f1e887f240c7f2e8b6d12399faea70a75062f813 15:35:21 ---> Running in 6d1fc70c495a 15:35:21 Removing intermediate container 6d1fc70c495a 15:35:21 ---> 4da6872dcf51 15:35:21 Step 26/26 : LABEL version=0.0.0 15:35:21 ---> Running in 9a3492d9f3f9 15:35:22 Removing intermediate container 9a3492d9f3f9 15:35:22 ---> d828918fdea5 15:35:22 [Warning] One or more build-args [ARCH] were not consumed 15:35:22 Successfully built d828918fdea5 15:35:22 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 15:35:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:35:23 15:35:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:35:23 arm64: Pulling from edgex-lftools-log-publisher 15:35:23 8998bd30e6a1: Pulling fs layer 15:35:23 04944245beec: Pulling fs layer 15:35:23 699f458cf7ca: Pulling fs layer 15:35:23 765212b225bb: Pulling fs layer 15:35:23 f23df028b6ca: Pulling fs layer 15:35:23 d65c8cfc05b1: Pulling fs layer 15:35:23 2437ff75d9bd: Pulling fs layer 15:35:23 765212b225bb: Waiting 15:35:23 f23df028b6ca: Waiting 15:35:23 2437ff75d9bd: Waiting 15:35:24 04944245beec: Verifying Checksum 15:35:24 04944245beec: Download complete 15:35:24 765212b225bb: Verifying Checksum 15:35:24 765212b225bb: Download complete 15:35:24 f23df028b6ca: Verifying Checksum 15:35:24 f23df028b6ca: Download complete 15:35:24 d65c8cfc05b1: Verifying Checksum 15:35:24 d65c8cfc05b1: Download complete 15:35:24 699f458cf7ca: Verifying Checksum 15:35:24 699f458cf7ca: Download complete 15:35:24 8998bd30e6a1: Verifying Checksum 15:35:24 8998bd30e6a1: Download complete 15:35:26 2437ff75d9bd: Verifying Checksum 15:35:26 2437ff75d9bd: Download complete 15:35:28 8998bd30e6a1: Pull complete 15:35:28 04944245beec: Pull complete 15:35:30 699f458cf7ca: Pull complete 15:35:30 765212b225bb: Pull complete 15:35:31 f23df028b6ca: Pull complete 15:35:31 d65c8cfc05b1: Pull complete 15:35:46 2437ff75d9bd: Pull complete 15:35:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:35:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:35:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:47 prd-ubuntu20.04-docker-arm64-4c-16g-19241 does not seem to be running inside a container 15:35:47 $ 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 15:35:49 $ docker top 70faef103752580b7550b4f812357918e692da45b152b1e1a11fc8e5ab3fab59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:35:50 ---> job-cost.sh 15:35:50 lf-activate-venv: SKIPPING 15:35:50 INFO: No Stack... 15:35:50 INFO: Retrieving Pricing Info for: v3-standard-4 15:35:51 INFO: Archiving Costs [Pipeline] sh 15:35:51 + cat /w/workspace/app-record-replay/1/archives/cost.csv 15:35:51 + cut -d, -f6 [Pipeline] lock 15:35:52 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-27-1-stack-cost] 15:35:52 Resource [jenkins-edgexfoundry-app-record-replay-PR-27-1-stack-cost] did not exist. Created. 15:35:52 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-27-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:35:52 /w/workspace/app-record-replay/1@tmp/durable-c1232e31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:35:52 + echo total: 0.10999999940395355 [Pipeline] stash 15:35:52 Warning: overwriting stash ‘stack-cost’ 15:35:52 Stashed 1 file(s) [Pipeline] } 15:35:52 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-27-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:35:52 $ docker stop --time=1 70faef103752580b7550b4f812357918e692da45b152b1e1a11fc8e5ab3fab59 15:35:54 $ docker rm -f --volumes 70faef103752580b7550b4f812357918e692da45b152b1e1a11fc8e5ab3fab59 [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 15:35:55 provisioning config files... 15:35:55 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-27 #1 15:35:55 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-27@tmp/config16896839611762820181tmp [Pipeline] { [Pipeline] sh 15:35:55 + set +x 15:35:55 + curl -s https://codecov.io/bash 15:35:55 + bash -s -- 15:35:56 15:35:56 _____ _ 15:35:56 / ____| | | 15:35:56 | | ___ __| | ___ ___ _____ __ 15:35:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:35:56 | |___| (_) | (_| | __/ (_| (_) \ V / 15:35:56 \_____\___/ \__,_|\___|\___\___/ \_/ 15:35:56 Bash-1.0.6 15:35:56 15:35:56 15:35:56 ==> git version 2.25.1 found 15:35:56 ==> 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 15:35:56 Release-Date: 2020-01-08 15:35:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:35:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:35:56 ==> Jenkins CI detected. 15:35:56 current dir:  /w/workspace/xfoundry_app-record-replay_PR-27 15:35:56 project root: . 15:35:56 --> token set from env 15:35:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:35:56 ==> Running gcov in . (disable via -X gcov) 15:35:56 ==> Python coveragepy not found 15:35:56 ==> Searching for coverage reports in: 15:35:56 + . 15:35:56 -> Found 1 reports 15:35:56 ==> Detecting git/mercurial file structure 15:35:56 ==> Reading reports 15:35:56 + ./coverage.out bytes=3308 15:35:56 ==> Appending adjustments 15:35:56 https://docs.codecov.io/docs/fixing-reports 15:35:56 + Found adjustments 15:35:56 ==> Gzipping contents 15:35:56 4.0K /tmp/codecov.ihEQe9.gz 15:35:56 ==> Uploading reports 15:35:56 url: https://codecov.io 15:35:56 query: branch=PR-27&commit=f1e887f240c7f2e8b6d12399faea70a75062f813&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-27%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=27&job=&cmd_args= 15:35:56 -> Pinging Codecov 15:35:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-27&commit=f1e887f240c7f2e8b6d12399faea70a75062f813&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-27%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=27&job=&cmd_args= 15:35:56 Invalid request parameters 15:35:56 400 [Pipeline] } 15:35:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [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 15:35:58 + [ -d /w/workspace/xfoundry_app-record-replay_PR-27/archives ] 15:35:58 + ls -al /w/workspace/xfoundry_app-record-replay_PR-27/archives 15:35:58 total 16 15:35:58 drwxr-xr-x 3 root root 4096 Jun 26 15:27 . 15:35:58 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 15:27 .. 15:35:58 drwxr-xr-x 2 root root 4096 Jun 26 15:27 cost 15:35:58 -rw-r--r-- 1 root root 88 Jun 26 15:27 cost.csv 15:35:58 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-27/archives 15:35:58 + ls -al /w/workspace/xfoundry_app-record-replay_PR-27/archives 15:35:58 total 16 15:35:58 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 15:27 . 15:35:58 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 15:27 .. 15:35:58 drwxr-xr-x 2 jenkins jenkins 4096 Jun 26 15:27 cost 15:35:58 -rw-r--r-- 1 jenkins jenkins 88 Jun 26 15:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:35:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:35:59 ---> package-listing.sh 15:35:59 ++ facter osfamily 15:35:59 ++ tr '[:upper:]' '[:lower:]' 15:35:59 + OS_FAMILY=debian 15:35:59 + workspace=/w/workspace/xfoundry_app-record-replay_PR-27 15:35:59 + START_PACKAGES=/tmp/packages_start.txt 15:35:59 + END_PACKAGES=/tmp/packages_end.txt 15:35:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:35:59 + PACKAGES=/tmp/packages_start.txt 15:35:59 + '[' /w/workspace/xfoundry_app-record-replay_PR-27 ']' 15:35:59 + PACKAGES=/tmp/packages_end.txt 15:35:59 + case "${OS_FAMILY}" in 15:35:59 + dpkg -l 15:35:59 + grep '^ii' 15:35:59 + '[' -f /tmp/packages_start.txt ']' 15:35:59 + '[' -f /tmp/packages_end.txt ']' 15:35:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:35:59 + '[' /w/workspace/xfoundry_app-record-replay_PR-27 ']' 15:35:59 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-27/archives/ 15:35:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-27/archives/ [Pipeline] echo 15:35:59 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-27/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:36:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:36:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:36:00 prd-ubuntu20.04-docker-8c-8g-19240 does not seem to be running inside a container 15:36:00 $ 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-27/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-27 -v /w/workspace/xfoundry_app-record-replay_PR-27:/w/workspace/xfoundry_app-record-replay_PR-27:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-27@tmp:/w/workspace/xfoundry_app-record-replay_PR-27@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:36:01 $ docker top 9235314533fb3df674c13d489dc129fc77a3e83b66b97b7d39e914a20a81c123 -eo pid,comm [Pipeline] { [Pipeline] sh 15:36:01 + touch /tmp/pre-build-complete [Pipeline] sh 15:36:01 + mkdir -p /var/log/sysstat [Pipeline] sh 15:36:02 + ls /var/log/sa-host 15:36:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:36:02 provisioning config files... 15:36:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-27@tmp/config3895891541362757128tmp [Pipeline] { [Pipeline] echo 15:36:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:36:02 ---> create-netrc.sh [Pipeline] } 15:36:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:36:03 ---> python-tools-install.sh [Pipeline] echo 15:36:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:36:03 ---> sudo-logs.sh 15:36:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:36:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:36:03 ---> job-cost.sh 15:36:03 lf-activate-venv: SKIPPING 15:36:03 DEBUG: total: 0.2199999988079071 15:36:03 INFO: Retrieving Stack Cost... 15:36:04 INFO: Retrieving Pricing Info for: v3-standard-8 15:36:04 INFO: Archiving Costs [Pipeline] echo 15:36:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:36:05 ---> logs-deploy.sh 15:36:05 lf-activate-venv: SKIPPING 15:36:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-27/1 15:36:05 INFO: archiving workspace using pattern(s): 15:36:06 Archives upload complete. 15:36:06 INFO: archiving logs to Nexus