Pull request #4 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8+9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee (a1e51a2a790040d311754ae54685854e4bf2712e) 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-ssh10346730504119162975.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-ssh13131984347703005399.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-4/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-4/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5279317613497917224.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 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-ssh11036235686684008285.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-4/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-4/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16433268008405538692.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-18929 in /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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/exfoundry_app-record-replay_PR-4 # 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 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee into PR head commit 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 Merge succeeded, producing 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 Checking out Revision 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 (PR-4) > 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/4/head:refs/remotes/origin/PR-4 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 # 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 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 # timeout=10 Commit message: "feat: Implement dummy main to test Ci pipeline and docker builds" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:22:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:22:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:22:58 ========================================================= 21:22:58 EdgeX Global Pipelines Version Info 21:22:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk de7724b5d0abf93df3c614d3b7c1f39244054d5d # timeout=10 21:22:59 ------------------- 21:22:59 stable info: 21:22:59 ------------------- 21:22:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:22:59 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:22:59 Message: update stable to v1.0.250 21:22:59 ------------------- 21:22:59 experimental info: 21:22:59 ------------------- 21:22:59 Commited By: **** collab-it+edgex@linuxfoundation.org 21:22:59 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:22:59 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:22:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 21:22:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 21:22:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4 [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4 [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4 [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45f96ce [Pipeline] echo 21:23:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:00 provisioning config files... 21:23:00 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config11049129054450697980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:00 ---> docker-login.sh 21:23:00 nexus3.edgexfoundry.org:10001 21:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:01 Configure a credential helper to remove this warning. See 21:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:01 21:23:01 Login Succeeded 21:23:01 nexus3.edgexfoundry.org:10002 21:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:01 Configure a credential helper to remove this warning. See 21:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:01 21:23:01 Login Succeeded 21:23:01 nexus3.edgexfoundry.org:10003 21:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:01 Configure a credential helper to remove this warning. See 21:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:01 21:23:01 Login Succeeded 21:23:01 nexus3.edgexfoundry.org:10004 21:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:01 Configure a credential helper to remove this warning. See 21:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:01 21:23:01 Login Succeeded 21:23:01 docker.io 21:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:01 Configure a credential helper to remove this warning. See 21:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:01 21:23:01 Login Succeeded 21:23:01 ---> docker-login.sh ends [Pipeline] } 21:23:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:23:02 + git rev-list -1 --merges 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8~1..45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [Pipeline] echo 21:23:02 -----------> git rev-list -1 --merges 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8~1..45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [false] [Pipeline] sh 21:23:02 + git log --format=format:%s -1 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [Pipeline] echo 21:23:02 ========================================================= 21:23:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:23:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:03 + git log --format=format:%s -1 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [Pipeline] echo 21:23:03 [semverPrep] GIT_COMMIT: 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8, Commit Message: feat: Implement dummy main to test Ci pipeline and docker builds [Pipeline] echo 21:23:03 [semverPrep] This is not a build commit. [Pipeline] sh 21:23:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:23:03 + grep -v github /etc/ssh/ssh_known_hosts 21:23:03 + [ -e /tmp/ssh_known_hosts ] 21:23:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:23:03 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 21:23:03 -a /etc/ssh/ssh_known_hosts 21:23:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:03 21:23:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:04 0.1.4: Pulling from edgex-devops/py-git-semver 21:23:04 b85a868b505f: Pulling fs layer 21:23:04 e2be974225ed: Pulling fs layer 21:23:04 339a4e72a1f5: Pulling fs layer 21:23:04 988bab9f4d93: Pulling fs layer 21:23:04 1469e6f7b9e6: Pulling fs layer 21:23:04 eaf3925da568: Pulling fs layer 21:23:04 bab4dde63d76: Pulling fs layer 21:23:04 bde34c3a00c8: Pulling fs layer 21:23:04 b352a97aabf1: Pulling fs layer 21:23:04 4872d77fe225: Pulling fs layer 21:23:04 5851b861e8e6: Pulling fs layer 21:23:04 b352a97aabf1: Waiting 21:23:04 eaf3925da568: Waiting 21:23:04 4872d77fe225: Waiting 21:23:04 1469e6f7b9e6: Waiting 21:23:04 988bab9f4d93: Waiting 21:23:04 bab4dde63d76: Waiting 21:23:04 5851b861e8e6: Waiting 21:23:04 bde34c3a00c8: Waiting 21:23:04 e2be974225ed: Download complete 21:23:04 988bab9f4d93: Verifying Checksum 21:23:04 988bab9f4d93: Download complete 21:23:04 339a4e72a1f5: Verifying Checksum 21:23:04 339a4e72a1f5: Download complete 21:23:04 1469e6f7b9e6: Verifying Checksum 21:23:04 1469e6f7b9e6: Download complete 21:23:04 eaf3925da568: Verifying Checksum 21:23:04 eaf3925da568: Download complete 21:23:04 bde34c3a00c8: Verifying Checksum 21:23:04 bde34c3a00c8: Download complete 21:23:04 b352a97aabf1: Download complete 21:23:04 4872d77fe225: Verifying Checksum 21:23:04 4872d77fe225: Download complete 21:23:04 5851b861e8e6: Verifying Checksum 21:23:04 5851b861e8e6: Download complete 21:23:04 b85a868b505f: Verifying Checksum 21:23:04 b85a868b505f: Download complete 21:23:04 bab4dde63d76: Verifying Checksum 21:23:04 bab4dde63d76: Download complete 21:23:05 b85a868b505f: Pull complete 21:23:05 e2be974225ed: Pull complete 21:23:06 339a4e72a1f5: Pull complete 21:23:06 988bab9f4d93: Pull complete 21:23:06 1469e6f7b9e6: Pull complete 21:23:06 eaf3925da568: Pull complete 21:23:08 bab4dde63d76: Pull complete 21:23:08 bde34c3a00c8: Pull complete 21:23:08 b352a97aabf1: Pull complete 21:23:08 4872d77fe225: Pull complete 21:23:08 5851b861e8e6: Pull complete 21:23:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:08 prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container 21:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:23:11 $ docker top c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 -eo pid,comm 21:23:11 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). 21:23:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:23:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:11 [ssh-agent] Looking for ssh-agent implementation... 21:23:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:11 $ docker exec c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 ssh-agent 21:23:11 SSH_AUTH_SOCK=/tmp/ssh-Q6oCVtmeOg6M/agent.33 21:23:11 SSH_AGENT_PID=40 21:23:11 Running ssh-add (command line suppressed) 21:23:11 Identity added: /w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_218510561340868528.key (/w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_218510561340868528.key) 21:23:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:12 + git tag --points-at HEAD [Pipeline] } 21:23:12 $ docker exec --env ******** --env ******** c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 ssh-agent -k 21:23:12 unset SSH_AUTH_SOCK; 21:23:12 unset SSH_AGENT_PID; 21:23:12 echo Agent pid 40 killed; 21:23:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:23:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:12 [ssh-agent] Looking for ssh-agent implementation... 21:23:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:12 $ docker exec c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 ssh-agent 21:23:12 SSH_AUTH_SOCK=/tmp/ssh-ytE1IiQ3Ripw/agent.72 21:23:12 SSH_AGENT_PID=78 21:23:12 Running ssh-add (command line suppressed) 21:23:12 Identity added: /w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_11371016332374415338.key (/w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_11371016332374415338.key) 21:23:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:12 + git semver init 21:23:13 2023-06-20 21:23:13,033 [run_init] DEBUG init version:0.0.0 force:False 21:23:13 2023-06-20 21:23:13,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_app-record-replay_PR-4/.semver 21:23:13 2023-06-20 21:23:13,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/exfoundry_app-record-replay_PR-4/.semver 21:23:13 2023-06-20 21:23:13,035 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/exfoundry_app-record-replay_PR-4/.semver'], cwd=/w/workspace/exfoundry_app-record-replay_PR-4, universal_newlines=False, shell=None, istream=None) 21:23:14 2023-06-20 21:23:13,705 [append_file] DEBUG append to file:/w/workspace/exfoundry_app-record-replay_PR-4/.git/info/exclude 21:23:14 2023-06-20 21:23:13,706 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 with force:False 21:23:14 2023-06-20 21:23:13,706 [write_file] DEBUG write to file:/w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 21:23:14 2023-06-20 21:23:13,710 [execute] INFO git cat-file --batch-check 21:23:14 2023-06-20 21:23:13,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_app-record-replay_PR-4/.semver, universal_newlines=False, shell=None, istream=) 21:23:14 2023-06-20 21:23:13,716 [execute] INFO git cat-file --batch 21:23:14 2023-06-20 21:23:13,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_app-record-replay_PR-4/.semver, universal_newlines=False, shell=None, istream=) 21:23:14 2023-06-20 21:23:13,721 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 21:23:14 0.0.0 [Pipeline] } 21:23:14 $ docker exec --env ******** --env ******** c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 ssh-agent -k 21:23:14 unset SSH_AUTH_SOCK; 21:23:14 unset SSH_AGENT_PID; 21:23:14 echo Agent pid 78 killed; 21:23:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:23:14 + git semver [Pipeline] } 21:23:14 $ docker stop --time=1 c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 21:23:16 $ docker rm -f --volumes c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:23:16 Stashed 1 file(s) [Pipeline] echo 21:23:16 [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 21:23:16 provisioning config files... 21:23:16 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config10182824517346492171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:17 ---> docker-login.sh 21:23:17 nexus3.edgexfoundry.org:10001 21:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:17 Configure a credential helper to remove this warning. See 21:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:17 21:23:17 Login Succeeded 21:23:17 nexus3.edgexfoundry.org:10002 21:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:17 Configure a credential helper to remove this warning. See 21:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:17 21:23:17 Login Succeeded 21:23:17 nexus3.edgexfoundry.org:10003 21:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:17 Configure a credential helper to remove this warning. See 21:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:17 21:23:17 Login Succeeded 21:23:17 nexus3.edgexfoundry.org:10004 21:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:17 Configure a credential helper to remove this warning. See 21:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:17 21:23:17 Login Succeeded 21:23:17 docker.io 21:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:17 Configure a credential helper to remove this warning. See 21:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:17 21:23:17 Login Succeeded 21:23:17 ---> docker-login.sh ends [Pipeline] } 21:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:17 ========================================================= 21:23:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:23:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:17 + 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 . 21:23:17 Sending build context to Docker daemon 179.2kB 21:23:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:23:17 Step 2/12 : FROM ${BASE} AS builder 21:23:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:23:17 f56be85fc22e: Pulling fs layer 21:23:17 85791d961cd3: Pulling fs layer 21:23:17 d694b5ae8c79: Pulling fs layer 21:23:17 9f32a84ed3da: Pulling fs layer 21:23:17 4d19c01a9841: Pulling fs layer 21:23:17 9325e15d5711: Pulling fs layer 21:23:17 556b6ee489ea: Pulling fs layer 21:23:17 c5a4b2cf53e6: Pulling fs layer 21:23:17 9f32a84ed3da: Waiting 21:23:17 4d19c01a9841: Waiting 21:23:17 9325e15d5711: Waiting 21:23:17 556b6ee489ea: Waiting 21:23:17 c5a4b2cf53e6: Waiting 21:23:17 85791d961cd3: Verifying Checksum 21:23:17 85791d961cd3: Download complete 21:23:17 9f32a84ed3da: Verifying Checksum 21:23:17 9f32a84ed3da: Download complete 21:23:17 4d19c01a9841: Verifying Checksum 21:23:17 4d19c01a9841: Download complete 21:23:17 f56be85fc22e: Verifying Checksum 21:23:17 f56be85fc22e: Download complete 21:23:17 9325e15d5711: Verifying Checksum 21:23:17 9325e15d5711: Download complete 21:23:18 f56be85fc22e: Pull complete 21:23:18 85791d961cd3: Pull complete 21:23:18 d694b5ae8c79: Verifying Checksum 21:23:18 d694b5ae8c79: Download complete 21:23:18 c5a4b2cf53e6: Verifying Checksum 21:23:18 c5a4b2cf53e6: Download complete 21:23:19 556b6ee489ea: Verifying Checksum 21:23:19 556b6ee489ea: Download complete 21:23:22 d694b5ae8c79: Pull complete 21:23:22 9f32a84ed3da: Pull complete 21:23:22 4d19c01a9841: Pull complete 21:23:22 9325e15d5711: Pull complete 21:23:24 556b6ee489ea: Pull complete 21:23:25 c5a4b2cf53e6: Pull complete 21:23:25 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:23:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:23:25 ---> c4be618373d6 21:23:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:23:29 ---> Running in 56eb53eee8a5 21:23:29 Removing intermediate container 56eb53eee8a5 21:23:29 ---> 13bbe9818394 21:23:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:23:29 ---> Running in 031a674a1935 21:23:29 Removing intermediate container 031a674a1935 21:23:29 ---> 40f2b042d940 21:23:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:23:29 ---> Running in c150ecbcb7cb 21:23:29 Removing intermediate container c150ecbcb7cb 21:23:29 ---> 9c7ae045e153 21:23:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:23:29 ---> Running in e9e3be0e07d7 21:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:23:30 OK: 265 MiB in 53 packages 21:23:30 Removing intermediate container e9e3be0e07d7 21:23:30 ---> ec2dacdb3496 21:23:30 Step 7/12 : WORKDIR /app 21:23:30 ---> Running in 499f67b65478 21:23:30 Removing intermediate container 499f67b65478 21:23:30 ---> c52f36a9f563 21:23:30 Step 8/12 : COPY go.mod vendor* ./ 21:23:30 ---> a1ae1fec435d 21:23:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:23:30 ---> Running in a3f0320caef2 21:23:31 Still waiting to schedule task 21:23:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:24:17 Removing intermediate container a3f0320caef2 21:24:17 ---> d771c051c327 21:24:17 Step 10/12 : COPY . . 21:24:17 ---> 71967cb9dc8e 21:24:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:24:17 ---> Running in 67c9f5391005 21:24:17 Removing intermediate container 67c9f5391005 21:24:17 ---> 82d7d4ecba7a 21:24:17 Step 12/12 : RUN $MAKE 21:24:17 ---> Running in 802bf7d69539 21:24:17 noop 21:24:17 Removing intermediate container 802bf7d69539 21:24:17 ---> 6d802202b2ff 21:24:17 Successfully built 6d802202b2ff 21:24:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:17 + docker inspect -f . ci-base-image-x86_64 21:24:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:18 prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container 21:24:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:18 $ docker top 5cb5980f8118fd9d929ecad0417d5efec4e229bc032c420a4ac0519e755d283f -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:18 + go version 21:24:18 go version go1.20.2 linux/amd64 [Pipeline] } 21:24:18 $ docker stop --time=1 5cb5980f8118fd9d929ecad0417d5efec4e229bc032c420a4ac0519e755d283f 21:24:20 $ docker rm -f --volumes 5cb5980f8118fd9d929ecad0417d5efec4e229bc032c420a4ac0519e755d283f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:20 + docker inspect -f . ci-base-image-x86_64 21:24:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:20 prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container 21:24:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:20 $ docker top ee29cd433116161a9168fa0b62da8c3b0905d8522d8b9ba7ab4787b989fb4ef8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:21 + git config --global --add safe.directory /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] fileExists [Pipeline] sh 21:24:21 + make test 21:24:21 go test -race -coverprofile=coverage.out ./... 21:24:28 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:24:33 go vet ./... 21:24:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:24:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:24:34 ./bin/test-attribution-txt.sh 21:24:34 make: ./bin/test-attribution-txt.sh: No such file or directory 21:24:34 make: *** [makefile:59: test] Error 127 [Pipeline] } 21:24:34 $ docker stop --time=1 ee29cd433116161a9168fa0b62da8c3b0905d8522d8b9ba7ab4787b989fb4ef8 21:24:36 $ docker rm -f --volumes ee29cd433116161a9168fa0b62da8c3b0905d8522d8b9ba7ab4787b989fb4ef8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:36 21:24:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:36 latest: Pulling from edgex-lftools-log-publisher 21:24:36 5eb5b503b376: Pulling fs layer 21:24:36 5c69ac0246d0: Pulling fs layer 21:24:36 ec43610c2a17: Pulling fs layer 21:24:36 3a2ae6a8a46f: Pulling fs layer 21:24:36 33b1e0a273af: Pulling fs layer 21:24:36 5d3b04190fa2: Pulling fs layer 21:24:36 2f39f015ded8: Pulling fs layer 21:24:36 3a2ae6a8a46f: Waiting 21:24:36 33b1e0a273af: Waiting 21:24:36 2f39f015ded8: Waiting 21:24:36 5c69ac0246d0: Download complete 21:24:36 3a2ae6a8a46f: Verifying Checksum 21:24:36 3a2ae6a8a46f: Download complete 21:24:36 33b1e0a273af: Verifying Checksum 21:24:36 33b1e0a273af: Download complete 21:24:36 5d3b04190fa2: Verifying Checksum 21:24:36 5d3b04190fa2: Download complete 21:24:36 ec43610c2a17: Verifying Checksum 21:24:36 ec43610c2a17: Download complete 21:24:37 5eb5b503b376: Verifying Checksum 21:24:37 5eb5b503b376: Download complete 21:24:37 2f39f015ded8: Download complete 21:24:38 5eb5b503b376: Pull complete 21:24:38 5c69ac0246d0: Pull complete 21:24:38 ec43610c2a17: Pull complete 21:24:38 3a2ae6a8a46f: Pull complete 21:24:39 33b1e0a273af: Pull complete 21:24:39 5d3b04190fa2: Pull complete 21:24:43 2f39f015ded8: Pull complete 21:24:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:43 prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container 21:24:43 $ 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/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:24:48 $ docker top a6a03795723e02dd872276526c5f64ba414393c5dc7ef81e2a3a913501aa69a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:49 ---> job-cost.sh 21:24:49 lf-activate-venv: SKIPPING 21:24:49 INFO: No Stack... 21:24:49 INFO: Retrieving Pricing Info for: v3-standard-8 21:24:49 INFO: Archiving Costs [Pipeline] sh 21:24:50 + cat /w/workspace/exfoundry_app-record-replay_PR-4/archives/cost.csv 21:24:50 + cut -d, -f6 [Pipeline] lock 21:24:50 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] 21:24:50 Resource [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] did not exist. Created. 21:24:50 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:24:50 + echo total: 0.2199999988079071 [Pipeline] stash 21:24:50 Stashed 1 file(s) [Pipeline] } 21:24:50 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:24:50 $ docker stop --time=1 a6a03795723e02dd872276526c5f64ba414393c5dc7ef81e2a3a913501aa69a2 21:24:51 $ docker rm -f --volumes a6a03795723e02dd872276526c5f64ba414393c5dc7ef81e2a3a913501aa69a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:24:51 Failed in branch amd64 21:25:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18930 in /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] { [Pipeline] ws 21:25:02 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 21:25:02 The recommended git tool is: NONE 21:25:07 using credential edgex-jenkins-ssh 21:25:07 Cloning the remote Git repository 21:25:07 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 21:25:07 > git init /w/workspace/app-record-replay/2 # timeout=10 21:25:08 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:25:08 > git --version # timeout=10 21:25:08 > git --version # 'git version 2.25.1' 21:25:08 using GIT_SSH to set credentials SSH Credentials for GitHub 21:25:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:25:08 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:25:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:25:10 Merging remotes/origin/main commit 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee into PR head commit 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 21:25:09 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:25:09 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:25:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:25:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/4/head:refs/remotes/origin/PR-4 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:25:10 > git config core.sparsecheckout # timeout=10 21:25:10 Merge succeeded, producing 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 21:25:10 Checking out Revision 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 (PR-4) 21:25:10 > git checkout -f 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 # timeout=10 21:25:10 > git remote # timeout=10 21:25:10 > git config --get remote.origin.url # timeout=10 21:25:10 using GIT_SSH to set credentials SSH Credentials for GitHub 21:25:10 > git merge 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee # timeout=10 21:25:10 > git rev-parse HEAD^{commit} # timeout=10 21:25:10 > git config core.sparsecheckout # timeout=10 21:25:10 > git checkout -f 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 # timeout=10 21:25:13 Commit message: "feat: Implement dummy main to test Ci pipeline and docker builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:25:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:25:14 % Total % Received % Xferd Average Speed Time Time Time Current 21:25:14 Dload Upload Total Spent Left Speed 21:25:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 55199 0 --:--:-- --:--:-- --:--:-- 55199 [Pipeline] sh 21:25:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:25:15 + sudo tee /etc/docker/daemon.new 21:25:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:25:15 { 21:25:15 "registry-mirrors": [ 21:25:15 "https://nexus3.edgexfoundry.org:10001" 21:25:15 ], 21:25:15 "bip": "10.250.0.254/24", 21:25:15 "hosts": [ 21:25:15 "tcp://0.0.0.0:5555", 21:25:15 "unix:///var/run/docker.sock" 21:25:15 ], 21:25:15 "mtu": 1458, 21:25:15 "selinux-enabled": true, 21:25:15 "seccomp-profile": "/etc/docker/seccomp.json" 21:25:15 } [Pipeline] sh 21:25:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:25:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:34 provisioning config files... 21:25:34 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config16029910659927144617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:35 ---> docker-login.sh 21:25:35 nexus3.edgexfoundry.org:10001 21:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:35 Configure a credential helper to remove this warning. See 21:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:35 21:25:35 Login Succeeded 21:25:35 nexus3.edgexfoundry.org:10002 21:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:35 Configure a credential helper to remove this warning. See 21:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:35 21:25:35 Login Succeeded 21:25:35 nexus3.edgexfoundry.org:10003 21:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:36 Configure a credential helper to remove this warning. See 21:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:36 21:25:36 Login Succeeded 21:25:36 nexus3.edgexfoundry.org:10004 21:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:36 Configure a credential helper to remove this warning. See 21:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:36 21:25:36 Login Succeeded 21:25:36 docker.io 21:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:37 Configure a credential helper to remove this warning. See 21:25:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:37 21:25:37 Login Succeeded 21:25:37 ---> docker-login.sh ends [Pipeline] } 21:25:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:25:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:37 ========================================================= 21:25:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:25:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:37 + 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 . 21:25:37 Sending build context to Docker daemon 86.02kB 21:25:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:25:38 Step 2/12 : FROM ${BASE} AS builder 21:25:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:25:38 c41833b44d91: Pulling fs layer 21:25:38 ed15518f5707: Pulling fs layer 21:25:38 feae8fd75edb: Pulling fs layer 21:25:38 242c74f7c9fa: Pulling fs layer 21:25:38 3cdef696dda3: Pulling fs layer 21:25:38 2ced38df9373: Pulling fs layer 21:25:38 58f1dce35555: Pulling fs layer 21:25:38 3cdef696dda3: Waiting 21:25:38 2ced38df9373: Waiting 21:25:38 58f1dce35555: Waiting 21:25:38 242c74f7c9fa: Waiting 21:25:38 ed15518f5707: Verifying Checksum 21:25:38 ed15518f5707: Download complete 21:25:38 242c74f7c9fa: Verifying Checksum 21:25:38 242c74f7c9fa: Download complete 21:25:38 3cdef696dda3: Verifying Checksum 21:25:38 3cdef696dda3: Download complete 21:25:38 c41833b44d91: Download complete 21:25:39 c41833b44d91: Pull complete 21:25:39 58f1dce35555: Verifying Checksum 21:25:39 58f1dce35555: Download complete 21:25:39 ed15518f5707: Pull complete 21:25:40 2ced38df9373: Verifying Checksum 21:25:40 2ced38df9373: Download complete 21:25:40 feae8fd75edb: Download complete 21:25:53 feae8fd75edb: Pull complete 21:25:53 242c74f7c9fa: Pull complete 21:25:53 3cdef696dda3: Pull complete 21:25:58 2ced38df9373: Pull complete 21:26:01 58f1dce35555: Pull complete 21:26:01 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:26:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:26:01 ---> fadd8f120f05 21:26:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:26:03 ---> Running in 768e5c820d04 21:26:03 Removing intermediate container 768e5c820d04 21:26:03 ---> 12c0cb06583b 21:26:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:26:03 ---> Running in be71b7ef827d 21:26:03 Removing intermediate container be71b7ef827d 21:26:03 ---> c9112ea74574 21:26:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:26:03 ---> Running in 314c2b22b5b7 21:26:03 Removing intermediate container 314c2b22b5b7 21:26:03 ---> 66cbbee0f10f 21:26:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:26:03 ---> Running in 10f0042f9496 21:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:26:06 OK: 263 MiB in 53 packages 21:26:07 Removing intermediate container 10f0042f9496 21:26:07 ---> ef23d3bbf2dd 21:26:07 Step 7/12 : WORKDIR /app 21:26:07 ---> Running in 2404dbd3056e 21:26:07 Removing intermediate container 2404dbd3056e 21:26:07 ---> f39ed297a836 21:26:07 Step 8/12 : COPY go.mod vendor* ./ 21:26:07 ---> 4616c4167e73 21:26:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:08 ---> Running in 70c4e0a9eab7 21:27:16 Removing intermediate container 70c4e0a9eab7 21:27:16 ---> 0e64999b01cb 21:27:16 Step 10/12 : COPY . . 21:27:16 ---> d604c42dbed3 21:27:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:27:16 ---> Running in bd56edacaade 21:27:16 Removing intermediate container bd56edacaade 21:27:16 ---> 2896c7b204cc 21:27:16 Step 12/12 : RUN $MAKE 21:27:16 ---> Running in 0b5f3fcf852a 21:27:16 noop 21:27:16 Removing intermediate container 0b5f3fcf852a 21:27:16 ---> a4f49ababb9f 21:27:16 Successfully built a4f49ababb9f 21:27:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:16 + docker inspect -f . ci-base-image-arm64 21:27:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:16 prd-ubuntu20.04-docker-arm64-4c-16g-18930 does not seem to be running inside a container 21:27:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:27:17 $ docker top 25affe2554604d1396a8535d885c536b5bcb1748a8a23be8498ee57e95f1cff4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:18 + go version 21:27:18 go version go1.20.2 linux/arm64 [Pipeline] } 21:27:18 $ docker stop --time=1 25affe2554604d1396a8535d885c536b5bcb1748a8a23be8498ee57e95f1cff4 21:27:20 $ docker rm -f --volumes 25affe2554604d1396a8535d885c536b5bcb1748a8a23be8498ee57e95f1cff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:20 + docker inspect -f . ci-base-image-arm64 21:27:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:20 prd-ubuntu20.04-docker-arm64-4c-16g-18930 does not seem to be running inside a container 21:27:20 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:27:22 $ docker top bace81f9c0061fdc184a9e8c681d8c8e7a3abc77bb8e80d4c8b6500ebab5449a -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:22 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 21:27:23 + make test 21:27:23 go test -race -coverprofile=coverage.out ./... 21:28:02 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:28:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:28:02 go vet ./... 21:28:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:28:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:28:24 ./bin/test-attribution-txt.sh 21:28:24 make: ./bin/test-attribution-txt.sh: No such file or directory 21:28:24 make: *** [makefile:59: test] Error 127 [Pipeline] } 21:28:24 $ docker stop --time=1 bace81f9c0061fdc184a9e8c681d8c8e7a3abc77bb8e80d4c8b6500ebab5449a 21:28:26 $ docker rm -f --volumes bace81f9c0061fdc184a9e8c681d8c8e7a3abc77bb8e80d4c8b6500ebab5449a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:26 21:28:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:27 arm64: Pulling from edgex-lftools-log-publisher 21:28:27 8998bd30e6a1: Pulling fs layer 21:28:27 04944245beec: Pulling fs layer 21:28:27 699f458cf7ca: Pulling fs layer 21:28:27 765212b225bb: Pulling fs layer 21:28:27 f23df028b6ca: Pulling fs layer 21:28:27 d65c8cfc05b1: Pulling fs layer 21:28:27 2437ff75d9bd: Pulling fs layer 21:28:27 f23df028b6ca: Waiting 21:28:27 2437ff75d9bd: Waiting 21:28:27 d65c8cfc05b1: Waiting 21:28:27 765212b225bb: Waiting 21:28:27 04944245beec: Verifying Checksum 21:28:27 04944245beec: Download complete 21:28:27 765212b225bb: Verifying Checksum 21:28:27 765212b225bb: Download complete 21:28:27 f23df028b6ca: Verifying Checksum 21:28:27 f23df028b6ca: Download complete 21:28:27 d65c8cfc05b1: Verifying Checksum 21:28:27 d65c8cfc05b1: Download complete 21:28:27 699f458cf7ca: Verifying Checksum 21:28:27 699f458cf7ca: Download complete 21:28:28 8998bd30e6a1: Verifying Checksum 21:28:28 8998bd30e6a1: Download complete 21:28:30 2437ff75d9bd: Verifying Checksum 21:28:32 8998bd30e6a1: Pull complete 21:28:32 04944245beec: Pull complete 21:28:33 699f458cf7ca: Pull complete 21:28:33 765212b225bb: Pull complete 21:28:34 f23df028b6ca: Pull complete 21:28:34 d65c8cfc05b1: Pull complete 21:28:49 2437ff75d9bd: Pull complete 21:28:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:28:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:49 prd-ubuntu20.04-docker-arm64-4c-16g-18930 does not seem to be running inside a container 21:28:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:28:52 $ docker top 503a9cc1cd2feaade9e96bc5cefb38e47dbd1729e412c3c6df60fbffbadb623d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:53 ---> job-cost.sh 21:28:53 lf-activate-venv: SKIPPING 21:28:53 INFO: No Stack... 21:28:53 INFO: Retrieving Pricing Info for: v3-standard-4 21:28:54 INFO: Archiving Costs [Pipeline] sh 21:28:54 + cat /w/workspace/app-record-replay/2/archives/cost.csv 21:28:54 + cut -d, -f6 [Pipeline] lock 21:28:54 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] 21:28:54 Resource [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] did not exist. Created. 21:28:54 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:28:55 /w/workspace/app-record-replay/2@tmp/durable-03f1647c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:28:55 + echo total: 0.10999999940395355 [Pipeline] stash 21:28:55 Warning: overwriting stash ‘stack-cost’ 21:28:56 Stashed 1 file(s) [Pipeline] } 21:28:56 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:28:56 $ docker stop --time=1 503a9cc1cd2feaade9e96bc5cefb38e47dbd1729e412c3c6df60fbffbadb623d 21:28:57 $ docker rm -f --volumes 503a9cc1cd2feaade9e96bc5cefb38e47dbd1729e412c3c6df60fbffbadb623d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:28:57 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:28:58 + [ -d /w/workspace/exfoundry_app-record-replay_PR-4/archives ] 21:28:58 + ls -al /w/workspace/exfoundry_app-record-replay_PR-4/archives 21:28:58 total 16 21:28:58 drwxr-xr-x 3 root root 4096 Jun 20 21:24 . 21:28:58 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 21:24 .. 21:28:58 drwxr-xr-x 2 root root 4096 Jun 20 21:24 cost 21:28:58 -rw-r--r-- 1 root root 87 Jun 20 21:24 cost.csv 21:28:58 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_app-record-replay_PR-4/archives 21:28:58 + ls -al /w/workspace/exfoundry_app-record-replay_PR-4/archives 21:28:58 total 16 21:28:58 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 21:24 . 21:28:58 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 21:24 .. 21:28:58 drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 21:24 cost 21:28:58 -rw-r--r-- 1 jenkins jenkins 87 Jun 20 21:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:28:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:28:59 ---> package-listing.sh 21:28:59 ++ facter osfamily 21:28:59 ++ tr '[:upper:]' '[:lower:]' 21:28:59 + OS_FAMILY=debian 21:28:59 + workspace=/w/workspace/exfoundry_app-record-replay_PR-4 21:28:59 + START_PACKAGES=/tmp/packages_start.txt 21:28:59 + END_PACKAGES=/tmp/packages_end.txt 21:28:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:28:59 + PACKAGES=/tmp/packages_start.txt 21:28:59 + '[' /w/workspace/exfoundry_app-record-replay_PR-4 ']' 21:28:59 + PACKAGES=/tmp/packages_end.txt 21:28:59 + case "${OS_FAMILY}" in 21:28:59 + dpkg -l 21:28:59 + grep '^ii' 21:28:59 + '[' -f /tmp/packages_start.txt ']' 21:28:59 + '[' -f /tmp/packages_end.txt ']' 21:28:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:28:59 + '[' /w/workspace/exfoundry_app-record-replay_PR-4 ']' 21:28:59 + mkdir -p /w/workspace/exfoundry_app-record-replay_PR-4/archives/ 21:28:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_app-record-replay_PR-4/archives/ [Pipeline] echo 21:28:59 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_app-record-replay_PR-4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:29:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:00 prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container 21:29:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_app-record-replay_PR-4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:29:01 $ docker top 75ec9c52ff11e603141140f910f3d26f33325c17dce824f9dadd30a615bfe18f -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:01 + touch /tmp/pre-build-complete [Pipeline] sh 21:29:01 + mkdir -p /var/log/sysstat [Pipeline] sh 21:29:01 + ls /var/log/sa-host 21:29:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:29:02 provisioning config files... 21:29:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config13666657592870816216tmp [Pipeline] { [Pipeline] echo 21:29:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:29:02 ---> create-netrc.sh [Pipeline] } 21:29:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:29:02 ---> python-tools-install.sh [Pipeline] echo 21:29:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:29:03 ---> sudo-logs.sh 21:29:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:29:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:29:03 ---> job-cost.sh 21:29:03 lf-activate-venv: SKIPPING 21:29:03 DEBUG: total: 0.2199999988079071 21:29:03 INFO: Retrieving Stack Cost... 21:29:03 INFO: Retrieving Pricing Info for: v3-standard-8 21:29:03 INFO: Archiving Costs [Pipeline] echo 21:29:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:29:04 ---> logs-deploy.sh 21:29:04 lf-activate-venv: SKIPPING 21:29:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-4/2 21:29:04 INFO: archiving workspace using pattern(s): 21:29:05 Archives upload complete. 21:29:05 INFO: archiving logs to Nexus