Pull request #47 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d65d47d7952555a589023473f3b57b8d9b0f904c+2e51e3d5a7cada7ac4eb3228ea6e278e6b110868 (76ae7323dc8a9db41adc8ef667f958d75db7b8ee) 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-ssh11167870436269516134.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-ssh8988470397081461282.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-47/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-47/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11813511595948345766.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-47/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4780304981973797715.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-ssh2156468594289545345.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-47/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-47/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13591677882978938815.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-1706 in /w/workspace/xfoundry_app-record-replay_PR-47 [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-47 # 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 2e51e3d5a7cada7ac4eb3228ea6e278e6b110868 into PR head commit d65d47d7952555a589023473f3b57b8d9b0f904c Merge succeeded, producing d65d47d7952555a589023473f3b57b8d9b0f904c Checking out Revision d65d47d7952555a589023473f3b57b8d9b0f904c (PR-47) > 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/47/head:refs/remotes/origin/PR-47 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d65d47d7952555a589023473f3b57b8d9b0f904c # 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 2e51e3d5a7cada7ac4eb3228ea6e278e6b110868 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d65d47d7952555a589023473f3b57b8d9b0f904c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:08:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:08:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:08:18 ========================================================= 04:08:18 EdgeX Global Pipelines Version Info 04:08:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:08:19 ------------------- 04:08:19 stable info: 04:08:19 ------------------- 04:08:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:08:19 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:08:19 Message: update stable to v1.0.250 04:08:20 ------------------- 04:08:20 experimental info: 04:08:20 ------------------- 04:08:20 Commited By: **** collab-it+edgex@linuxfoundation.org 04:08:20 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:08:20 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:08:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-47 [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-47 [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-47 [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d65d47d7952555a589023473f3b57b8d9b0f904c [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d65d47d [Pipeline] echo 04:08:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:21 provisioning config files... 04:08:21 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-47@tmp/config16684361775925927364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:22 ---> docker-login.sh 04:08:22 nexus3.edgexfoundry.org:10001 04:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:22 Configure a credential helper to remove this warning. See 04:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:22 04:08:22 Login Succeeded 04:08:22 nexus3.edgexfoundry.org:10002 04:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:22 Configure a credential helper to remove this warning. See 04:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:22 04:08:22 Login Succeeded 04:08:22 nexus3.edgexfoundry.org:10003 04:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:22 Configure a credential helper to remove this warning. See 04:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:22 04:08:22 Login Succeeded 04:08:22 nexus3.edgexfoundry.org:10004 04:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:22 Configure a credential helper to remove this warning. See 04:08:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:22 04:08:22 Login Succeeded 04:08:22 docker.io 04:08:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:23 Configure a credential helper to remove this warning. See 04:08:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:23 04:08:23 Login Succeeded 04:08:23 ---> docker-login.sh ends [Pipeline] } 04:08:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:08:23 + git rev-list -1 --merges d65d47d7952555a589023473f3b57b8d9b0f904c~1..d65d47d7952555a589023473f3b57b8d9b0f904c [Pipeline] echo 04:08:23 -----------> git rev-list -1 --merges d65d47d7952555a589023473f3b57b8d9b0f904c~1..d65d47d7952555a589023473f3b57b8d9b0f904c d65d47d7952555a589023473f3b57b8d9b0f904c [false] [Pipeline] sh 04:08:24 + git log --format=format:%s -1 d65d47d7952555a589023473f3b57b8d9b0f904c [Pipeline] echo 04:08:24 ========================================================= 04:08:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:08:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:24 + git log --format=format:%s -1 d65d47d7952555a589023473f3b57b8d9b0f904c [Pipeline] echo 04:08:24 [semverPrep] GIT_COMMIT: d65d47d7952555a589023473f3b57b8d9b0f904c, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 04:08:24 [semverPrep] This is not a build commit. [Pipeline] sh 04:08:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:25 + grep -v github /etc/ssh/ssh_known_hosts 04:08:25 + [ -e /tmp/ssh_known_hosts ] 04:08:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:08:25 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:08:25 sudo tee -a /etc/ssh/ssh_known_hosts 04:08:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:25 04:08:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:26 0.1.4: Pulling from edgex-devops/py-git-semver 04:08:26 b85a868b505f: Pulling fs layer 04:08:26 e2be974225ed: Pulling fs layer 04:08:26 339a4e72a1f5: Pulling fs layer 04:08:26 988bab9f4d93: Pulling fs layer 04:08:26 1469e6f7b9e6: Pulling fs layer 04:08:26 eaf3925da568: Pulling fs layer 04:08:26 bab4dde63d76: Pulling fs layer 04:08:26 bde34c3a00c8: Pulling fs layer 04:08:26 b352a97aabf1: Pulling fs layer 04:08:26 4872d77fe225: Pulling fs layer 04:08:26 5851b861e8e6: Pulling fs layer 04:08:26 bab4dde63d76: Waiting 04:08:26 bde34c3a00c8: Waiting 04:08:26 b352a97aabf1: Waiting 04:08:26 4872d77fe225: Waiting 04:08:26 5851b861e8e6: Waiting 04:08:26 988bab9f4d93: Waiting 04:08:26 1469e6f7b9e6: Waiting 04:08:26 eaf3925da568: Waiting 04:08:26 e2be974225ed: Download complete 04:08:26 988bab9f4d93: Verifying Checksum 04:08:26 988bab9f4d93: Download complete 04:08:26 1469e6f7b9e6: Verifying Checksum 04:08:26 1469e6f7b9e6: Download complete 04:08:26 eaf3925da568: Download complete 04:08:26 339a4e72a1f5: Verifying Checksum 04:08:26 339a4e72a1f5: Download complete 04:08:26 bde34c3a00c8: Verifying Checksum 04:08:26 bde34c3a00c8: Download complete 04:08:26 b352a97aabf1: Verifying Checksum 04:08:26 b352a97aabf1: Download complete 04:08:26 4872d77fe225: Verifying Checksum 04:08:26 4872d77fe225: Download complete 04:08:26 5851b861e8e6: Verifying Checksum 04:08:26 5851b861e8e6: Download complete 04:08:26 b85a868b505f: Verifying Checksum 04:08:26 b85a868b505f: Download complete 04:08:26 bab4dde63d76: Verifying Checksum 04:08:26 bab4dde63d76: Download complete 04:08:27 b85a868b505f: Pull complete 04:08:27 e2be974225ed: Pull complete 04:08:28 339a4e72a1f5: Pull complete 04:08:28 988bab9f4d93: Pull complete 04:08:28 1469e6f7b9e6: Pull complete 04:08:28 eaf3925da568: Pull complete 04:08:30 bab4dde63d76: Pull complete 04:08:30 bde34c3a00c8: Pull complete 04:08:30 b352a97aabf1: Pull complete 04:08:30 4872d77fe225: Pull complete 04:08:30 5851b861e8e6: Pull complete 04:08:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:08:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:30 prd-ubuntu20.04-docker-8c-8g-1706 does not seem to be running inside a container 04:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-47 -v /w/workspace/xfoundry_app-record-replay_PR-47:/w/workspace/xfoundry_app-record-replay_PR-47:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-47@tmp:/w/workspace/xfoundry_app-record-replay_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:08:34 $ docker top 0064cc3cdd0b41c78cd5337b0d5536769c11ce25b194a176579fff1c415c2c14 -eo pid,comm 04:08:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:08:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:34 [ssh-agent] Looking for ssh-agent implementation... 04:08:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:35 $ docker exec 0064cc3cdd0b41c78cd5337b0d5536769c11ce25b194a176579fff1c415c2c14 ssh-agent 04:08:35 SSH_AUTH_SOCK=/tmp/ssh-2Wjcgh1Pro8B/agent.31 04:08:35 SSH_AGENT_PID=37 04:08:35 Running ssh-add (command line suppressed) 04:08:35 Identity added: /w/workspace/xfoundry_app-record-replay_PR-47@tmp/private_key_10917177136648989876.key (/w/workspace/xfoundry_app-record-replay_PR-47@tmp/private_key_10917177136648989876.key) 04:08:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:35 + git tag --points-at HEAD [Pipeline] } 04:08:35 $ docker exec --env ******** --env ******** 0064cc3cdd0b41c78cd5337b0d5536769c11ce25b194a176579fff1c415c2c14 ssh-agent -k 04:08:35 unset SSH_AUTH_SOCK; 04:08:35 unset SSH_AGENT_PID; 04:08:35 echo Agent pid 37 killed; 04:08:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:08:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:35 [ssh-agent] Looking for ssh-agent implementation... 04:08:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:35 $ docker exec 0064cc3cdd0b41c78cd5337b0d5536769c11ce25b194a176579fff1c415c2c14 ssh-agent 04:08:36 SSH_AUTH_SOCK=/tmp/ssh-Hs90lVeoGqcg/agent.69 04:08:36 SSH_AGENT_PID=75 04:08:36 Running ssh-add (command line suppressed) 04:08:36 Identity added: /w/workspace/xfoundry_app-record-replay_PR-47@tmp/private_key_15764606735636580451.key (/w/workspace/xfoundry_app-record-replay_PR-47@tmp/private_key_15764606735636580451.key) 04:08:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:36 + git semver init 04:08:36 2023-07-21 04:08:36,653 [run_init] DEBUG init version:0.0.0 force:False 04:08:36 2023-07-21 04:08:36,654 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-47/.semver 04:08:36 2023-07-21 04:08:36,654 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-47/.semver 04:08:36 2023-07-21 04:08:36,655 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-47/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-47, universal_newlines=False, shell=None, istream=None) 04:08:37 2023-07-21 04:08:37,255 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-47/.git/info/exclude 04:08:37 2023-07-21 04:08:37,255 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-47/.semver/PR-47 with force:False 04:08:37 2023-07-21 04:08:37,256 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-47/.semver/PR-47 04:08:37 2023-07-21 04:08:37,260 [execute] INFO git cat-file --batch-check 04:08:37 2023-07-21 04:08:37,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-47/.semver, universal_newlines=False, shell=None, istream=) 04:08:37 2023-07-21 04:08:37,265 [execute] INFO git cat-file --batch 04:08:37 2023-07-21 04:08:37,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-47/.semver, universal_newlines=False, shell=None, istream=) 04:08:37 2023-07-21 04:08:37,270 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-47/.semver/PR-47 04:08:37 0.0.0 [Pipeline] } 04:08:37 $ docker exec --env ******** --env ******** 0064cc3cdd0b41c78cd5337b0d5536769c11ce25b194a176579fff1c415c2c14 ssh-agent -k 04:08:37 unset SSH_AUTH_SOCK; 04:08:37 unset SSH_AGENT_PID; 04:08:37 echo Agent pid 75 killed; 04:08:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:37 + git semver [Pipeline] } 04:08:38 $ docker stop --time=1 0064cc3cdd0b41c78cd5337b0d5536769c11ce25b194a176579fff1c415c2c14 04:08:39 $ docker rm -f --volumes 0064cc3cdd0b41c78cd5337b0d5536769c11ce25b194a176579fff1c415c2c14 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:08:40 Stashed 1 file(s) [Pipeline] echo 04:08:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:40 provisioning config files... 04:08:40 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-47@tmp/config10767239993558091935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:41 ---> docker-login.sh 04:08:41 nexus3.edgexfoundry.org:10001 04:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:41 Configure a credential helper to remove this warning. See 04:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:41 04:08:41 Login Succeeded 04:08:41 nexus3.edgexfoundry.org:10002 04:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:41 Configure a credential helper to remove this warning. See 04:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:41 04:08:41 Login Succeeded 04:08:41 nexus3.edgexfoundry.org:10003 04:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:41 Configure a credential helper to remove this warning. See 04:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:41 04:08:41 Login Succeeded 04:08:41 nexus3.edgexfoundry.org:10004 04:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:41 Configure a credential helper to remove this warning. See 04:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:41 04:08:41 Login Succeeded 04:08:41 docker.io 04:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:41 Configure a credential helper to remove this warning. See 04:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:41 04:08:41 Login Succeeded 04:08:41 ---> docker-login.sh ends [Pipeline] } 04:08:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:42 ========================================================= 04:08:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:08:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:42 + 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 . 04:08:42 Sending build context to Docker daemon 359.4kB 04:08:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:08:42 Step 2/12 : FROM ${BASE} AS builder 04:08:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:08:42 4db1b89c0bd1: Pulling fs layer 04:08:42 6911f1a30b25: Pulling fs layer 04:08:42 e194b8c5c2a9: Pulling fs layer 04:08:42 6863d3e3a2b1: Pulling fs layer 04:08:42 ec0bb842ea78: Pulling fs layer 04:08:42 40a00589a448: Pulling fs layer 04:08:42 6c08303d61cc: Pulling fs layer 04:08:42 798269fcf238: Pulling fs layer 04:08:42 6863d3e3a2b1: Waiting 04:08:42 ec0bb842ea78: Waiting 04:08:42 40a00589a448: Waiting 04:08:42 6c08303d61cc: Waiting 04:08:42 798269fcf238: Waiting 04:08:42 6911f1a30b25: Download complete 04:08:42 6863d3e3a2b1: Verifying Checksum 04:08:42 6863d3e3a2b1: Download complete 04:08:42 ec0bb842ea78: Verifying Checksum 04:08:42 ec0bb842ea78: Download complete 04:08:42 4db1b89c0bd1: Verifying Checksum 04:08:42 4db1b89c0bd1: Download complete 04:08:42 40a00589a448: Verifying Checksum 04:08:42 40a00589a448: Download complete 04:08:42 4db1b89c0bd1: Pull complete 04:08:42 6911f1a30b25: Pull complete 04:08:44 798269fcf238: Verifying Checksum 04:08:44 798269fcf238: Download complete 04:08:44 e194b8c5c2a9: Verifying Checksum 04:08:44 e194b8c5c2a9: Download complete 04:08:44 6c08303d61cc: Verifying Checksum 04:08:44 6c08303d61cc: Download complete 04:08:47 e194b8c5c2a9: Pull complete 04:08:47 6863d3e3a2b1: Pull complete 04:08:47 ec0bb842ea78: Pull complete 04:08:47 40a00589a448: Pull complete 04:08:49 6c08303d61cc: Pull complete 04:08:50 798269fcf238: Pull complete 04:08:50 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:08:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:08:50 ---> ec979cd7f677 04:08:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:08:55 Still waiting to schedule task 04:08:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:08:58 ---> Running in e8d58253bda7 04:08:58 Removing intermediate container e8d58253bda7 04:08:58 ---> f29c2a5afae7 04:08:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:08:58 ---> Running in 18d03e686c38 04:08:58 Removing intermediate container 18d03e686c38 04:08:58 ---> 1cfaa68be1b4 04:08:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:08:59 ---> Running in f42e6119afea 04:08:59 Removing intermediate container f42e6119afea 04:08:59 ---> 3c297c8bac0e 04:08:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:08:59 ---> Running in a8bd57e9ae08 04:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:08:59 OK: 265 MiB in 53 packages 04:09:00 Removing intermediate container a8bd57e9ae08 04:09:00 ---> 487c620567e6 04:09:00 Step 7/12 : WORKDIR /app 04:09:00 ---> Running in 8c57cd837f3e 04:09:00 Removing intermediate container 8c57cd837f3e 04:09:00 ---> 0b09b2092093 04:09:00 Step 8/12 : COPY go.mod vendor* ./ 04:09:00 ---> e988c9c803d0 04:09:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:00 ---> Running in d4f952d19575 04:09:57 Removing intermediate container d4f952d19575 04:09:57 ---> 79a3d739b50b 04:09:57 Step 10/12 : COPY . . 04:09:57 ---> 269955af62c0 04:09:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:09:57 ---> Running in dbb61d086eea 04:09:57 Removing intermediate container dbb61d086eea 04:09:57 ---> 97decfe1478c 04:09:57 Step 12/12 : RUN $MAKE 04:09:57 ---> Running in 4ca5a8d61a81 04:09:57 noop 04:09:57 Removing intermediate container 4ca5a8d61a81 04:09:57 ---> 39be023f4041 04:09:57 Successfully built 39be023f4041 04:09:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:57 + docker inspect -f . ci-base-image-x86_64 04:09:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:57 prd-ubuntu20.04-docker-8c-8g-1706 does not seem to be running inside a container 04:09:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-47 -v /w/workspace/xfoundry_app-record-replay_PR-47:/w/workspace/xfoundry_app-record-replay_PR-47:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-47@tmp:/w/workspace/xfoundry_app-record-replay_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:09:58 $ docker top 7145af38ed47c1f88e0676b78e75839c55f4ce9fcca9dde9a4c831f4de33d5b2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:58 + go version 04:09:58 go version go1.20.6 linux/amd64 [Pipeline] } 04:09:58 $ docker stop --time=1 7145af38ed47c1f88e0676b78e75839c55f4ce9fcca9dde9a4c831f4de33d5b2 04:10:00 $ docker rm -f --volumes 7145af38ed47c1f88e0676b78e75839c55f4ce9fcca9dde9a4c831f4de33d5b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:00 + docker inspect -f . ci-base-image-x86_64 04:10:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:00 prd-ubuntu20.04-docker-8c-8g-1706 does not seem to be running inside a container 04:10:00 $ 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-47 -v /w/workspace/xfoundry_app-record-replay_PR-47:/w/workspace/xfoundry_app-record-replay_PR-47:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-47@tmp:/w/workspace/xfoundry_app-record-replay_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:10:01 $ docker top db3da87a69449b7465fd7a9f6743d2c01b26a12931a64a03277f1e9374ff7728 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:01 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-47 [Pipeline] fileExists [Pipeline] sh 04:10:01 + make test 04:10:01 go test -race -coverprofile=coverage.out ./... 04:10:23 ? github.com/edgexfoundry/app-record-replay [no test files] 04:10:23 ok github.com/edgexfoundry/app-record-replay/internal/app 0.058s coverage: 87.5% of statements 04:10:23 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:10:23 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:10:23 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:10:23 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.101s coverage: 86.0% of statements 04:10:23 ok github.com/edgexfoundry/app-record-replay/internal/data 0.062s coverage: 65.2% of statements 04:10:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1707 in /w/workspace/xfoundry_app-record-replay_PR-47 [Pipeline] { [Pipeline] ws 04:10:24 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 04:10:24 Selected Git installation does not exist. Using Default 04:10:24 The recommended git tool is: NONE 04:10:29 using credential edgex-jenkins-ssh 04:10:29 Cloning the remote Git repository 04:10:29 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 04:10:30 > git init /w/workspace/app-record-replay/1 # timeout=10 04:10:30 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:10:30 > git --version # timeout=10 04:10:30 > git --version # 'git version 2.25.1' 04:10:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:31 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:10:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:32 Merging remotes/origin/main commit 2e51e3d5a7cada7ac4eb3228ea6e278e6b110868 into PR head commit d65d47d7952555a589023473f3b57b8d9b0f904c 04:10:33 Merge succeeded, producing d65d47d7952555a589023473f3b57b8d9b0f904c 04:10:33 Checking out Revision d65d47d7952555a589023473f3b57b8d9b0f904c (PR-47) 04:10:33 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 04:10:32 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:10:32 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:10:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/47/head:refs/remotes/origin/PR-47 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:32 > git config core.sparsecheckout # timeout=10 04:10:32 > git checkout -f d65d47d7952555a589023473f3b57b8d9b0f904c # timeout=10 04:10:33 > git remote # timeout=10 04:10:33 > git config --get remote.origin.url # timeout=10 04:10:33 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:33 > git merge 2e51e3d5a7cada7ac4eb3228ea6e278e6b110868 # timeout=10 04:10:33 > git rev-parse HEAD^{commit} # timeout=10 04:10:33 > git config core.sparsecheckout # timeout=10 04:10:33 > git checkout -f d65d47d7952555a589023473f3b57b8d9b0f904c # timeout=10 04:10:33 > git --version # timeout=10 04:10:33 > git --version # 'git version 2.25.1' 04:10:33 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:10:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:34 Dload Upload Total Spent Left Speed 04:10:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 51004 0 --:--:-- --:--:-- --:--:-- 51208 [Pipeline] sh 04:10:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:10:36 + sudo tee /etc/docker/daemon.new 04:10:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:10:36 { 04:10:36 "registry-mirrors": [ 04:10:36 "https://nexus3.edgexfoundry.org:10001" 04:10:36 ], 04:10:36 "bip": "10.250.0.254/24", 04:10:36 "hosts": [ 04:10:36 "tcp://0.0.0.0:5555", 04:10:36 "unix:///var/run/docker.sock" 04:10:36 ], 04:10:36 "mtu": 1458, 04:10:36 "selinux-enabled": true, 04:10:36 "seccomp-profile": "/etc/docker/seccomp.json" 04:10:36 } [Pipeline] sh 04:10:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:10:36 + sudo service docker restart 04:10:45 go vet ./... 04:10:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:10:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:10:46 ./bin/test-attribution-txt.sh [Pipeline] echo 04:10:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:10:46 $ docker stop --time=1 db3da87a69449b7465fd7a9f6743d2c01b26a12931a64a03277f1e9374ff7728 04:10:50 $ docker rm -f --volumes db3da87a69449b7465fd7a9f6743d2c01b26a12931a64a03277f1e9374ff7728 [Pipeline] // withDockerContainer [Pipeline] sh 04:10:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:10:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:10:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:10:53 + ls -al . 04:10:53 total 168 04:10:53 drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 04:10 . 04:10:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 04:08 .. 04:10:53 -rw-rw-r-- 1 jenkins jenkins 119 Jul 21 04:08 .dockerignore 04:10:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 04:08 .git 04:10:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 04:08 .github 04:10:53 -rw-rw-r-- 1 jenkins jenkins 164 Jul 21 04:08 .gitignore 04:10:53 -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 04:08 .golangci.yml 04:10:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 04:08 .semver 04:10:53 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 21 04:08 Attribution.txt 04:10:53 -rw-rw-r-- 1 jenkins jenkins 258 Jul 21 04:08 CHANGELOG.md 04:10:53 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 21 04:08 Dockerfile 04:10:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 04:08 GOVERNANCE.md 04:10:53 -rw-rw-r-- 1 jenkins jenkins 681 Jul 21 04:08 Jenkinsfile 04:10:53 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 21 04:08 LICENSE 04:10:53 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 21 04:08 Makefile 04:10:53 -rw-rw-r-- 1 jenkins jenkins 611 Jul 21 04:08 OWNERS.md 04:10:53 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 21 04:08 README.md 04:10:53 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 21 04:08 Record and Reply.postman_collection.json 04:10:53 -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 04:08 VERSION 04:10:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 04:08 bin 04:10:53 -rw-r--r-- 1 jenkins jenkins 8853 Jul 21 04:10 coverage.out 04:10:53 -rw-rw-r-- 1 jenkins jenkins 3680 Jul 21 04:08 go.mod 04:10:53 -rw-rw-r-- 1 jenkins jenkins 32847 Jul 21 04:08 go.sum 04:10:53 drwxrwxr-x 6 jenkins jenkins 4096 Jul 21 04:08 internal 04:10:53 -rw-rw-r-- 1 jenkins jenkins 913 Jul 21 04:08 main.go 04:10:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 04:08 pkg 04:10:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 04:08 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:53 + 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=d65d47d7952555a589023473f3b57b8d9b0f904c --label arch=amd64 --label version=0.0.0 . 04:10:53 Sending build context to Docker daemon 369.2kB 04:10:53 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:10:53 Step 2/26 : FROM ${BASE} AS builder 04:10:53 ---> 39be023f4041 04:10:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:10:53 ---> Running in a44ad17fbc73 04:10:54 Removing intermediate container a44ad17fbc73 04:10:54 ---> 7fc9f077b065 04:10:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:10:54 ---> Running in 78ed2c64bb0f 04:10:54 Removing intermediate container 78ed2c64bb0f 04:10:54 ---> 65af56bf366c 04:10:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:10:54 ---> Running in c3121f13c753 04:10:54 Removing intermediate container c3121f13c753 04:10:54 ---> b5bfc29db258 04:10:54 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:10:54 ---> Running in 65849f645707 04:10:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:10:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:55 provisioning config files... 04:10:55 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config2868585848876689338tmp 04:10:55 OK: 265 MiB in 53 packages [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:55 Removing intermediate container 65849f645707 04:10:55 ---> b008beb3a856 04:10:55 Step 7/26 : WORKDIR /app 04:10:55 ---> Running in 6ab24c3d3eb8 04:10:55 Removing intermediate container 6ab24c3d3eb8 04:10:55 ---> b8d8ea18a84b 04:10:55 Step 8/26 : COPY go.mod vendor* ./ 04:10:55 ---> a064f6ff5b7a 04:10:55 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:55 ---> Running in 2d370b5eef74 04:10:55 ---> docker-login.sh 04:10:55 nexus3.edgexfoundry.org:10001 04:10:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:55 Configure a credential helper to remove this warning. See 04:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:55 04:10:55 Login Succeeded 04:10:55 nexus3.edgexfoundry.org:10002 04:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:56 Removing intermediate container 2d370b5eef74 04:10:56 ---> baf06df203df 04:10:56 Step 10/26 : COPY . . 04:10:56 ---> fb8df43c1ee6 04:10:56 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:10:56 ---> Running in 0efe856af3e9 04:10:56 Removing intermediate container 0efe856af3e9 04:10:56 ---> 5eb33073538e 04:10:56 Step 12/26 : RUN $MAKE 04:10:56 ---> Running in 6c0f477ca02d 04:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:56 Configure a credential helper to remove this warning. See 04:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:56 04:10:56 Login Succeeded 04:10:56 nexus3.edgexfoundry.org:10003 04:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:56 Configure a credential helper to remove this warning. See 04:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:56 04:10:56 Login Succeeded 04:10:56 nexus3.edgexfoundry.org:10004 04:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:57 Configure a credential helper to remove this warning. See 04:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:57 04:10:57 Login Succeeded 04:10:57 docker.io 04:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:57 Configure a credential helper to remove this warning. See 04:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:57 04:10:57 Login Succeeded 04:10:57 ---> docker-login.sh ends [Pipeline] } 04:10:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:58 ========================================================= 04:10:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:10:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10: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 . 04:10:58 Sending build context to Docker daemon 163.8kB 04:10:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:10:59 Step 2/12 : FROM ${BASE} AS builder 04:10:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:10:59 edb6bdbacee9: Pulling fs layer 04:10:59 5f9638ab2659: Pulling fs layer 04:10:59 8d51d6327a98: Pulling fs layer 04:10:59 8b374f2dd631: Pulling fs layer 04:10:59 ec14aa9079de: Pulling fs layer 04:10:59 2f466654f4bb: Pulling fs layer 04:10:59 554e91adad29: Pulling fs layer 04:10:59 ec14aa9079de: Waiting 04:10:59 2f466654f4bb: Waiting 04:10:59 554e91adad29: Waiting 04:10:59 8b374f2dd631: Waiting 04:10:59 5f9638ab2659: Verifying Checksum 04:10:59 5f9638ab2659: Download complete 04:10:59 8b374f2dd631: Verifying Checksum 04:10:59 8b374f2dd631: Download complete 04:10:59 ec14aa9079de: Verifying Checksum 04:10:59 ec14aa9079de: Download complete 04:10:59 edb6bdbacee9: Verifying Checksum 04:11:00 edb6bdbacee9: Pull complete 04:11:00 554e91adad29: Verifying Checksum 04:11:00 554e91adad29: Download complete 04:11:00 5f9638ab2659: Pull complete 04:11:01 8d51d6327a98: Verifying Checksum 04:11:01 8d51d6327a98: Download complete 04:11:01 2f466654f4bb: Verifying Checksum 04:11:01 2f466654f4bb: Download complete 04:11:14 8d51d6327a98: Pull complete 04:11:14 8b374f2dd631: Pull complete 04:11:14 ec14aa9079de: Pull complete 04:11:19 Removing intermediate container 6c0f477ca02d 04:11:19 ---> b60d2be2e607 04:11:19 Step 13/26 : FROM alpine:3.17 04:11:19 3.17: Pulling from library/alpine 04:11:19 4db1b89c0bd1: Already exists 04:11:19 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 04:11:19 Status: Downloaded newer image for alpine:3.17 04:11:19 ---> 1f73a9d63274 04:11:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:11:19 ---> Running in c89db7459af3 04:11:19 Removing intermediate container c89db7459af3 04:11:19 ---> 565ee3a6a9d0 04:11:19 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 04:11:19 ---> Running in d25e523d9977 04:11:19 Removing intermediate container d25e523d9977 04:11:19 ---> 555aa740915d 04:11:19 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:11:19 ---> Running in 888c6c9d9911 04:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:11:19 2f466654f4bb: Pull complete 04:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:11:20 (1/2) Installing ca-certificates (20230506-r0) 04:11:20 (2/2) Installing dumb-init (1.2.5-r2) 04:11:20 Executing busybox-1.35.0-r29.trigger 04:11:20 Executing ca-certificates-20230506-r0.trigger 04:11:20 OK: 8 MiB in 17 packages 04:11:21 Removing intermediate container 888c6c9d9911 04:11:21 ---> 0d780d1a63c5 04:11:21 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:11:22 ---> dee28c2adcfc 04:11:22 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:11:22 554e91adad29: Pull complete 04:11:22 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:11:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:11:22 ---> 1e15ea492957 04:11:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:11:22 ---> dc08c82eac13 04:11:22 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:11:22 ---> 95ef775e110f 04:11:22 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 04:11:23 ---> f7b8634c5fbc 04:11:23 Step 21/26 : EXPOSE 59712 04:11:24 ---> Running in 0d020a916c33 04:11:24 ---> Running in 9f53afdc39e6 04:11:24 Removing intermediate container 9f53afdc39e6 04:11:24 ---> 716726483a97 04:11:24 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:11:24 Removing intermediate container 0d020a916c33 04:11:24 ---> 1ff7c121ce6b 04:11:24 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 04:11:24 ---> Running in 84c18c36d72f 04:11:24 ---> Running in 036e70e75d27 04:11:24 Removing intermediate container 036e70e75d27 04:11:24 ---> 0b7927ab91d5 04:11:24 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:11:24 Removing intermediate container 84c18c36d72f 04:11:24 ---> bc31f08f538d 04:11:24 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:11:24 ---> Running in a2fb03f76779 04:11:24 ---> Running in 4a69c992199f 04:11:25 Removing intermediate container a2fb03f76779 04:11:25 ---> 7cb5745a692b 04:11:25 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:11:25 ---> Running in 77b2e317e4db 04:11:25 Removing intermediate container 4a69c992199f 04:11:25 ---> e9ec62f3bd97 04:11:25 Step 24/26 : LABEL arch=amd64 04:11:25 ---> Running in b40714f737fe 04:11:25 Removing intermediate container b40714f737fe 04:11:25 ---> 40fde55935cc 04:11:25 Step 25/26 : LABEL git_sha=d65d47d7952555a589023473f3b57b8d9b0f904c 04:11:25 ---> Running in b446e8493c7f 04:11:26 Removing intermediate container b446e8493c7f 04:11:26 ---> cc24f855c901 04:11:26 Step 26/26 : LABEL version=0.0.0 04:11:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:11:26 ---> Running in 16f2dce4f73a 04:11:26 Removing intermediate container 16f2dce4f73a 04:11:26 ---> 9abda4812c99 04:11:26 [Warning] One or more build-args [ARCH] were not consumed 04:11:26 Successfully built 9abda4812c99 04:11:26 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:11:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:27 04:11:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:28 OK: 263 MiB in 53 packages 04:11:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:28 latest: Pulling from edgex-lftools-log-publisher 04:11:28 5eb5b503b376: Pulling fs layer 04:11:28 5c69ac0246d0: Pulling fs layer 04:11:28 ec43610c2a17: Pulling fs layer 04:11:28 3a2ae6a8a46f: Pulling fs layer 04:11:28 33b1e0a273af: Pulling fs layer 04:11:28 5d3b04190fa2: Pulling fs layer 04:11:28 2f39f015ded8: Pulling fs layer 04:11:28 33b1e0a273af: Waiting 04:11:28 3a2ae6a8a46f: Waiting 04:11:28 5d3b04190fa2: Waiting 04:11:28 2f39f015ded8: Waiting 04:11:28 5c69ac0246d0: Verifying Checksum 04:11:28 5c69ac0246d0: Download complete 04:11:28 3a2ae6a8a46f: Verifying Checksum 04:11:28 3a2ae6a8a46f: Download complete 04:11:28 33b1e0a273af: Verifying Checksum 04:11:28 33b1e0a273af: Download complete 04:11:28 5d3b04190fa2: Verifying Checksum 04:11:28 5d3b04190fa2: Download complete 04:11:28 ec43610c2a17: Verifying Checksum 04:11:28 ec43610c2a17: Download complete 04:11:28 5eb5b503b376: Verifying Checksum 04:11:28 5eb5b503b376: Download complete 04:11:29 Removing intermediate container 77b2e317e4db 04:11:29 ---> ba0f9555b76c 04:11:29 Step 7/12 : WORKDIR /app 04:11:29 ---> Running in a9aff78057b5 04:11:29 2f39f015ded8: Download complete 04:11:29 Removing intermediate container a9aff78057b5 04:11:29 ---> 6f26aa52fe6c 04:11:29 Step 8/12 : COPY go.mod vendor* ./ 04:11:29 ---> 2ae13513d198 04:11:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:29 5eb5b503b376: Pull complete 04:11:29 5c69ac0246d0: Pull complete 04:11:29 ---> Running in db19415ca478 04:11:30 ec43610c2a17: Pull complete 04:11:30 3a2ae6a8a46f: Pull complete 04:11:30 33b1e0a273af: Pull complete 04:11:30 5d3b04190fa2: Pull complete 04:11:34 2f39f015ded8: Pull complete 04:11:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:11:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:34 prd-ubuntu20.04-docker-8c-8g-1706 does not seem to be running inside a container 04:11:34 $ 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-47 -v /w/workspace/xfoundry_app-record-replay_PR-47:/w/workspace/xfoundry_app-record-replay_PR-47:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-47@tmp:/w/workspace/xfoundry_app-record-replay_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:11:41 $ docker top bde635493211eda329ec16adc6d1e35c5c45bac934345c15b69cccc3e8a9698f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:42 ---> job-cost.sh 04:11:42 lf-activate-venv: SKIPPING 04:11:42 INFO: No Stack... 04:11:42 INFO: Retrieving Pricing Info for: v3-standard-8 04:11:43 INFO: Archiving Costs [Pipeline] sh 04:11:43 + + cut -d, -f6 04:11:43 cat /w/workspace/xfoundry_app-record-replay_PR-47/archives/cost.csv [Pipeline] lock 04:11:43 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-47-1-stack-cost] 04:11:43 Resource [jenkins-edgexfoundry-app-record-replay-PR-47-1-stack-cost] did not exist. Created. 04:11:43 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-47-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:11:44 + echo total: 0.2199999988079071 [Pipeline] stash 04:11:44 Stashed 1 file(s) [Pipeline] } 04:11:44 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-47-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:11:44 $ docker stop --time=1 bde635493211eda329ec16adc6d1e35c5c45bac934345c15b69cccc3e8a9698f 04:11:45 $ docker rm -f --volumes bde635493211eda329ec16adc6d1e35c5c45bac934345c15b69cccc3e8a9698f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:12:37 Removing intermediate container db19415ca478 04:12:37 ---> 912e8ba40b2d 04:12:37 Step 10/12 : COPY . . 04:12:37 ---> 62c3cf8b7036 04:12:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:12:37 ---> Running in a70c409c5a72 04:12:37 Removing intermediate container a70c409c5a72 04:12:37 ---> 37ecacbb0902 04:12:37 Step 12/12 : RUN $MAKE 04:12:37 ---> Running in 61d130fc23b9 04:12:37 noop 04:12:37 Removing intermediate container 61d130fc23b9 04:12:37 ---> 4d837e512036 04:12:37 Successfully built 4d837e512036 04:12:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:38 + docker inspect -f . ci-base-image-arm64 04:12:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:38 prd-ubuntu20.04-docker-arm64-4c-16g-1707 does not seem to be running inside a container 04:12:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:39 $ docker top 34af07cfa2b295b9d1288375657924a03bce26c5593b14735f7ea01859ad483b -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:40 + go version 04:12:40 go version go1.20.6 linux/arm64 [Pipeline] } 04:12:40 $ docker stop --time=1 34af07cfa2b295b9d1288375657924a03bce26c5593b14735f7ea01859ad483b 04:12:43 $ docker rm -f --volumes 34af07cfa2b295b9d1288375657924a03bce26c5593b14735f7ea01859ad483b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:44 + docker inspect -f . ci-base-image-arm64 04:12:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:44 prd-ubuntu20.04-docker-arm64-4c-16g-1707 does not seem to be running inside a container 04:12:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:45 $ docker top 1233a44a7ba7c3dbe84a1adebfbf151768b992adffce0a11ffb622a28c679c98 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:46 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 04:12:46 + make test 04:12:46 go test -race -coverprofile=coverage.out ./... 04:15:23 ? github.com/edgexfoundry/app-record-replay [no test files] 04:15:31 ok github.com/edgexfoundry/app-record-replay/internal/app 0.268s coverage: 87.5% of statements 04:15:31 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.398s coverage: 86.0% of statements 04:15:36 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:15:36 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:15:36 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:15:36 ok github.com/edgexfoundry/app-record-replay/internal/data 0.204s coverage: 65.2% of statements 04:15:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:15:36 go vet ./... 04:17:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:17:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:17:58 ./bin/test-attribution-txt.sh [Pipeline] echo 04:17:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:17:58 $ docker stop --time=1 1233a44a7ba7c3dbe84a1adebfbf151768b992adffce0a11ffb622a28c679c98 04:18:01 $ docker rm -f --volumes 1233a44a7ba7c3dbe84a1adebfbf151768b992adffce0a11ffb622a28c679c98 [Pipeline] // withDockerContainer [Pipeline] sh 04:18:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:18:03 Warning: overwriting stash ‘coverage-report’ 04:18:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:18:04 + ls -al . 04:18:04 total 164 04:18:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 04:12 . 04:18:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 04:10 .. 04:18:04 -rw-rw-r-- 1 jenkins jenkins 119 Jul 21 04:10 .dockerignore 04:18:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 04:10 .git 04:18:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 04:10 .github 04:18:04 -rw-rw-r-- 1 jenkins jenkins 164 Jul 21 04:10 .gitignore 04:18:04 -rw-rw-r-- 1 jenkins jenkins 41 Jul 21 04:10 .golangci.yml 04:18:04 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 21 04:10 Attribution.txt 04:18:04 -rw-rw-r-- 1 jenkins jenkins 258 Jul 21 04:10 CHANGELOG.md 04:18:04 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 21 04:10 Dockerfile 04:18:04 -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 04:10 GOVERNANCE.md 04:18:04 -rw-rw-r-- 1 jenkins jenkins 681 Jul 21 04:10 Jenkinsfile 04:18:04 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 21 04:10 LICENSE 04:18:04 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 21 04:10 Makefile 04:18:04 -rw-rw-r-- 1 jenkins jenkins 611 Jul 21 04:10 OWNERS.md 04:18:04 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 21 04:10 README.md 04:18:04 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 21 04:10 Record and Reply.postman_collection.json 04:18:04 -rw-rw-r-- 1 jenkins jenkins 5 Jul 21 04:08 VERSION 04:18:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 04:10 bin 04:18:04 -rw-r--r-- 1 jenkins jenkins 8853 Jul 21 04:15 coverage.out 04:18:04 -rw-rw-r-- 1 jenkins jenkins 3680 Jul 21 04:10 go.mod 04:18:04 -rw-rw-r-- 1 jenkins jenkins 32847 Jul 21 04:10 go.sum 04:18:04 drwxrwxr-x 6 jenkins jenkins 4096 Jul 21 04:10 internal 04:18:04 -rw-rw-r-- 1 jenkins jenkins 913 Jul 21 04:10 main.go 04:18:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 21 04:10 pkg 04:18:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 04:10 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:05 + 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=d65d47d7952555a589023473f3b57b8d9b0f904c --label arch=arm64 --label version=0.0.0 . 04:18:05 Sending build context to Docker daemon 173.6kB 04:18:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:18:05 Step 2/26 : FROM ${BASE} AS builder 04:18:05 ---> 4d837e512036 04:18:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:18:05 ---> Running in ea2265f5ad95 04:18:05 Removing intermediate container ea2265f5ad95 04:18:05 ---> 7488bc9d9db0 04:18:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:18:05 ---> Running in 521d18c7fd3a 04:18:06 Removing intermediate container 521d18c7fd3a 04:18:06 ---> f9d6b3bd5a58 04:18:06 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:18:06 ---> Running in ce75a7f737eb 04:18:06 Removing intermediate container ce75a7f737eb 04:18:06 ---> 2bde1089d383 04:18:06 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:18:06 ---> Running in cff1025d4e3f 04:18:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:18:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:18:08 OK: 263 MiB in 53 packages 04:18:09 Removing intermediate container cff1025d4e3f 04:18:09 ---> 1827285b8ee5 04:18:09 Step 7/26 : WORKDIR /app 04:18:09 ---> Running in 60dbf3bb34c8 04:18:10 Removing intermediate container 60dbf3bb34c8 04:18:10 ---> 1a5f570ea494 04:18:10 Step 8/26 : COPY go.mod vendor* ./ 04:18:10 ---> be5bc3eefbd9 04:18:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:10 ---> Running in da0ead56e4d6 04:18:16 Removing intermediate container da0ead56e4d6 04:18:16 ---> c7c2ab7a34cd 04:18:16 Step 10/26 : COPY . . 04:18:16 ---> f18a23759554 04:18:16 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:18:16 ---> Running in d23302393660 04:18:16 Removing intermediate container d23302393660 04:18:16 ---> 957382b035a2 04:18:16 Step 12/26 : RUN $MAKE 04:18:16 ---> Running in 3e683611e916 04:18:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:20:23 Removing intermediate container 3e683611e916 04:20:23 ---> 72252ad3b6b5 04:20:23 Step 13/26 : FROM alpine:3.17 04:20:23 3.17: Pulling from library/alpine 04:20:23 edb6bdbacee9: Already exists 04:20:23 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 04:20:23 Status: Downloaded newer image for alpine:3.17 04:20:23 ---> 779605e5fbc0 04:20:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:20:23 ---> Running in 438647b07d9e 04:20:23 Removing intermediate container 438647b07d9e 04:20:23 ---> 2e8ee21bd53b 04:20:23 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 04:20:23 ---> Running in 7ac1bd8b3636 04:20:23 Removing intermediate container 7ac1bd8b3636 04:20:23 ---> fdaff162471e 04:20:23 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:20:23 ---> Running in ee2e73b599ee 04:20:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:20:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:20:23 (1/2) Installing ca-certificates (20230506-r0) 04:20:23 (2/2) Installing dumb-init (1.2.5-r2) 04:20:23 Executing busybox-1.35.0-r29.trigger 04:20:23 Executing ca-certificates-20230506-r0.trigger 04:20:24 OK: 8 MiB in 17 packages 04:20:25 Removing intermediate container ee2e73b599ee 04:20:25 ---> 1af568852f9e 04:20:25 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:20:25 ---> d33edd3ef301 04:20:25 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:20:26 ---> 677bd582746b 04:20:26 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:20:26 ---> 243faa3bfb68 04:20:26 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 04:20:30 ---> 3379cd2845d9 04:20:30 Step 21/26 : EXPOSE 59712 04:20:30 ---> Running in fb0c3e65787f 04:20:30 Removing intermediate container fb0c3e65787f 04:20:30 ---> f4e26617f900 04:20:30 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 04:20:30 ---> Running in fd174bce4ad7 04:20:30 Removing intermediate container fd174bce4ad7 04:20:30 ---> 0172645e708f 04:20:30 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:20:30 ---> Running in ee69f9191212 04:20:31 Removing intermediate container ee69f9191212 04:20:31 ---> 8d1a16c288ca 04:20:31 Step 24/26 : LABEL arch=arm64 04:20:31 ---> Running in b260a34bba21 04:20:31 Removing intermediate container b260a34bba21 04:20:31 ---> 92e8f8438563 04:20:31 Step 25/26 : LABEL git_sha=d65d47d7952555a589023473f3b57b8d9b0f904c 04:20:31 ---> Running in 06fd8128ef55 04:20:31 Removing intermediate container 06fd8128ef55 04:20:31 ---> debf1bdb72a4 04:20:31 Step 26/26 : LABEL version=0.0.0 04:20:31 ---> Running in b4e96fd09b8e 04:20:32 Removing intermediate container b4e96fd09b8e 04:20:32 ---> 734819d68b90 04:20:32 [Warning] One or more build-args [ARCH] were not consumed 04:20:32 Successfully built 734819d68b90 04:20:32 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 04:20:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:33 04:20:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:33 arm64: Pulling from edgex-lftools-log-publisher 04:20:33 8998bd30e6a1: Pulling fs layer 04:20:33 04944245beec: Pulling fs layer 04:20:33 699f458cf7ca: Pulling fs layer 04:20:33 765212b225bb: Pulling fs layer 04:20:33 f23df028b6ca: Pulling fs layer 04:20:33 d65c8cfc05b1: Pulling fs layer 04:20:33 2437ff75d9bd: Pulling fs layer 04:20:33 f23df028b6ca: Waiting 04:20:33 d65c8cfc05b1: Waiting 04:20:33 2437ff75d9bd: Waiting 04:20:33 765212b225bb: Waiting 04:20:33 04944245beec: Verifying Checksum 04:20:33 04944245beec: Download complete 04:20:33 765212b225bb: Verifying Checksum 04:20:33 765212b225bb: Download complete 04:20:33 f23df028b6ca: Verifying Checksum 04:20:33 f23df028b6ca: Download complete 04:20:33 d65c8cfc05b1: Download complete 04:20:34 699f458cf7ca: Verifying Checksum 04:20:34 699f458cf7ca: Download complete 04:20:34 8998bd30e6a1: Download complete 04:20:37 2437ff75d9bd: Verifying Checksum 04:20:37 2437ff75d9bd: Download complete 04:20:38 8998bd30e6a1: Pull complete 04:20:38 04944245beec: Pull complete 04:20:40 699f458cf7ca: Pull complete 04:20:40 765212b225bb: Pull complete 04:20:42 f23df028b6ca: Pull complete 04:20:43 d65c8cfc05b1: Pull complete 04:20:58 2437ff75d9bd: Pull complete 04:20:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:58 prd-ubuntu20.04-docker-arm64-4c-16g-1707 does not seem to be running inside a container 04:20:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:21:01 $ docker top edeeb75a6ad4658a3ef0709f11537168c0f55efe973f9f96092c387c96b0911a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:01 ---> job-cost.sh 04:21:01 lf-activate-venv: SKIPPING 04:21:01 INFO: No Stack... 04:21:02 INFO: Retrieving Pricing Info for: v3-standard-4 04:21:03 INFO: Archiving Costs [Pipeline] sh 04:21:03 + cut -d, -f6 04:21:03 + cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock 04:21:03 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-47-1-stack-cost] 04:21:03 Resource [jenkins-edgexfoundry-app-record-replay-PR-47-1-stack-cost] did not exist. Created. 04:21:03 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-47-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:03 /w/workspace/app-record-replay/1@tmp/durable-e4ecd759/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:21:04 + echo total: 0.10999999940395355 [Pipeline] stash 04:21:04 Warning: overwriting stash ‘stack-cost’ 04:21:04 Stashed 1 file(s) [Pipeline] } 04:21:04 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-47-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:04 $ docker stop --time=1 edeeb75a6ad4658a3ef0709f11537168c0f55efe973f9f96092c387c96b0911a 04:21:05 $ docker rm -f --volumes edeeb75a6ad4658a3ef0709f11537168c0f55efe973f9f96092c387c96b0911a [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 04:21:06 provisioning config files... 04:21:06 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-47 #1 04:21:06 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-47@tmp/config2445099628043806574tmp [Pipeline] { [Pipeline] sh 04:21:07 + set +x 04:21:07 + curl -s https://codecov.io/bash 04:21:07 + bash -s -- 04:21:07 04:21:07 _____ _ 04:21:07 / ____| | | 04:21:07 | | ___ __| | ___ ___ _____ __ 04:21:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:21:07 | |___| (_) | (_| | __/ (_| (_) \ V / 04:21:07 \_____\___/ \__,_|\___|\___\___/ \_/ 04:21:07 Bash-1.0.6 04:21:07 04:21:07 04:21:07 ==> git version 2.25.1 found 04:21:07 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:21:07 Release-Date: 2020-01-08 04:21:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:21:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:21:07 ==> Jenkins CI detected. 04:21:07 current dir:  /w/workspace/xfoundry_app-record-replay_PR-47 04:21:07 project root: . 04:21:07 --> token set from env 04:21:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:21:07 ==> Running gcov in . (disable via -X gcov) 04:21:07 ==> Python coveragepy not found 04:21:07 ==> Searching for coverage reports in: 04:21:07 + . 04:21:07 -> Found 1 reports 04:21:07 ==> Detecting git/mercurial file structure 04:21:07 ==> Reading reports 04:21:07 + ./coverage.out bytes=8853 04:21:07 ==> Appending adjustments 04:21:07 https://docs.codecov.io/docs/fixing-reports 04:21:07 + Found adjustments 04:21:07 ==> Gzipping contents 04:21:07 4.0K /tmp/codecov.S8TCir.gz 04:21:07 ==> Uploading reports 04:21:07 url: https://codecov.io 04:21:07 query: branch=PR-47&commit=d65d47d7952555a589023473f3b57b8d9b0f904c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-47%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=47&job=&cmd_args= 04:21:07 -> Pinging Codecov 04:21:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-47&commit=d65d47d7952555a589023473f3b57b8d9b0f904c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-47%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=47&job=&cmd_args= 04:21:07 Invalid request parameters 04:21:07 400 [Pipeline] } 04:21:07 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 04:21:09 + [ -d /w/workspace/xfoundry_app-record-replay_PR-47/archives ] 04:21:09 + ls -al /w/workspace/xfoundry_app-record-replay_PR-47/archives 04:21:09 total 16 04:21:09 drwxr-xr-x 3 root root 4096 Jul 21 04:11 . 04:21:09 drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 04:11 .. 04:21:09 drwxr-xr-x 2 root root 4096 Jul 21 04:11 cost 04:21:09 -rw-r--r-- 1 root root 88 Jul 21 04:11 cost.csv 04:21:09 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-47/archives 04:21:09 + ls -al /w/workspace/xfoundry_app-record-replay_PR-47/archives 04:21:09 total 16 04:21:09 drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 04:11 . 04:21:09 drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 04:11 .. 04:21:09 drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 04:11 cost 04:21:09 -rw-r--r-- 1 jenkins jenkins 88 Jul 21 04:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:21:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:21:10 ---> package-listing.sh 04:21:10 ++ tr '[:upper:]' '[:lower:]' 04:21:10 ++ facter osfamily 04:21:10 + OS_FAMILY=debian 04:21:10 + workspace=/w/workspace/xfoundry_app-record-replay_PR-47 04:21:10 + START_PACKAGES=/tmp/packages_start.txt 04:21:10 + END_PACKAGES=/tmp/packages_end.txt 04:21:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:21:10 + PACKAGES=/tmp/packages_start.txt 04:21:10 + '[' /w/workspace/xfoundry_app-record-replay_PR-47 ']' 04:21:10 + PACKAGES=/tmp/packages_end.txt 04:21:10 + case "${OS_FAMILY}" in 04:21:10 + dpkg -l 04:21:10 + grep '^ii' 04:21:10 + '[' -f /tmp/packages_start.txt ']' 04:21:10 + '[' -f /tmp/packages_end.txt ']' 04:21:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:21:10 + '[' /w/workspace/xfoundry_app-record-replay_PR-47 ']' 04:21:10 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-47/archives/ 04:21:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-47/archives/ [Pipeline] echo 04:21:10 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-47/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:21:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:11 prd-ubuntu20.04-docker-8c-8g-1706 does not seem to be running inside a container 04:21:11 $ 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-47/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-47 -v /w/workspace/xfoundry_app-record-replay_PR-47:/w/workspace/xfoundry_app-record-replay_PR-47:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-47@tmp:/w/workspace/xfoundry_app-record-replay_PR-47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:12 $ docker top e213cfb0275f7e3852d29769d80208c0be9b6a3fb84c59cef9ad07b6543162cb -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:12 + touch /tmp/pre-build-complete [Pipeline] sh 04:21:12 + mkdir -p /var/log/sysstat [Pipeline] sh 04:21:13 + ls /var/log/sa-host 04:21:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:13 provisioning config files... 04:21:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-47@tmp/config10258921731801229523tmp [Pipeline] { [Pipeline] echo 04:21:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:21:13 ---> create-netrc.sh [Pipeline] } 04:21:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:21:14 ---> python-tools-install.sh [Pipeline] echo 04:21:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:21:14 ---> sudo-logs.sh 04:21:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:21:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:21:14 ---> job-cost.sh 04:21:14 lf-activate-venv: SKIPPING 04:21:14 DEBUG: total: 0.2199999988079071 04:21:14 INFO: Retrieving Stack Cost... 04:21:15 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:15 INFO: Archiving Costs [Pipeline] echo 04:21:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:21:16 ---> logs-deploy.sh 04:21:16 lf-activate-venv: SKIPPING 04:21:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-47/1 04:21:16 INFO: archiving workspace using pattern(s): 04:21:17 Archives upload complete. 04:21:17 INFO: archiving logs to Nexus