Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee 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-ssh1249280482337910313.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-ssh15294874308628501950.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6359426675969043791.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2487138472713176217.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-ssh17767951678814151897.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17843144110594201237.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-18922 in /w/workspace/exfoundry_app-record-replay_main [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_main # 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 Avoid second fetch Checking out Revision 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee # timeout=10 Commit message: "Merge pull request #3 from lenny-intel/init-repo" 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 19:34:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:34:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:34:26 ========================================================= 19:34:26 EdgeX Global Pipelines Version Info 19:34:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:34:26 ------------------- 19:34:26 stable info: 19:34:26 ------------------- 19:34:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:34:26 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:34:26 Message: update stable to v1.0.250 19:34:27 ------------------- 19:34:27 experimental info: 19:34:27 ------------------- 19:34:27 Commited By: **** collab-it+edgex@linuxfoundation.org 19:34:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:34:27 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:34:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 19:34:27 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 19:34:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:34:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:34:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:34:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:34:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:34:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:34:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee [Pipeline] echo 19:34:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e922b9 [Pipeline] echo 19:34:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:34:29 provisioning config files... 19:34:29 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config14863215378857701001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:34:29 ---> docker-login.sh 19:34:29 nexus3.edgexfoundry.org:10001 19:34:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:30 Configure a credential helper to remove this warning. See 19:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:30 19:34:30 Login Succeeded 19:34:30 nexus3.edgexfoundry.org:10002 19:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:30 Configure a credential helper to remove this warning. See 19:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:30 19:34:30 Login Succeeded 19:34:30 nexus3.edgexfoundry.org:10003 19:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:30 Configure a credential helper to remove this warning. See 19:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:30 19:34:30 Login Succeeded 19:34:30 nexus3.edgexfoundry.org:10004 19:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:30 Configure a credential helper to remove this warning. See 19:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:30 19:34:30 Login Succeeded 19:34:30 docker.io 19:34:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:30 Configure a credential helper to remove this warning. See 19:34:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:30 19:34:30 Login Succeeded 19:34:30 ---> docker-login.sh ends [Pipeline] } 19:34:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:34:31 + git rev-list -1 --merges 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee~1..9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee [Pipeline] echo 19:34:31 -----------> git rev-list -1 --merges 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee~1..9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee 19:34:31 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee [false] [Pipeline] sh 19:34:31 + git log --format=format:%s -1 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee [Pipeline] echo 19:34:31 ========================================================= 19:34:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:34:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:34:32 + git log --format=format:%s -1 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee [Pipeline] echo 19:34:32 [semverPrep] GIT_COMMIT: 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee, Commit Message: Merge pull request #3 from lenny-intel/init-repo [Pipeline] echo 19:34:32 [semverPrep] This is not a build commit. [Pipeline] sh 19:34:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:34:32 + grep -v github /etc/ssh/ssh_known_hosts 19:34:32 + [ -e /tmp/ssh_known_hosts ] 19:34:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:34:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:34:32 + sudo tee -a /etc/ssh/ssh_known_hosts 19:34:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:34:33 19:34:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:34:33 0.1.4: Pulling from edgex-devops/py-git-semver 19:34:33 b85a868b505f: Pulling fs layer 19:34:33 e2be974225ed: Pulling fs layer 19:34:33 339a4e72a1f5: Pulling fs layer 19:34:33 988bab9f4d93: Pulling fs layer 19:34:33 1469e6f7b9e6: Pulling fs layer 19:34:33 eaf3925da568: Pulling fs layer 19:34:33 bab4dde63d76: Pulling fs layer 19:34:33 1469e6f7b9e6: Waiting 19:34:33 bde34c3a00c8: Pulling fs layer 19:34:33 eaf3925da568: Waiting 19:34:33 b352a97aabf1: Pulling fs layer 19:34:33 bab4dde63d76: Waiting 19:34:33 4872d77fe225: Pulling fs layer 19:34:33 5851b861e8e6: Pulling fs layer 19:34:33 bde34c3a00c8: Waiting 19:34:33 b352a97aabf1: Waiting 19:34:33 5851b861e8e6: Waiting 19:34:33 e2be974225ed: Download complete 19:34:33 988bab9f4d93: Download complete 19:34:33 1469e6f7b9e6: Verifying Checksum 19:34:33 1469e6f7b9e6: Download complete 19:34:33 339a4e72a1f5: Verifying Checksum 19:34:33 339a4e72a1f5: Download complete 19:34:33 eaf3925da568: Download complete 19:34:33 bde34c3a00c8: Verifying Checksum 19:34:33 bde34c3a00c8: Download complete 19:34:33 b352a97aabf1: Verifying Checksum 19:34:33 b352a97aabf1: Download complete 19:34:33 4872d77fe225: Verifying Checksum 19:34:33 4872d77fe225: Download complete 19:34:33 5851b861e8e6: Download complete 19:34:33 b85a868b505f: Verifying Checksum 19:34:33 b85a868b505f: Download complete 19:34:34 bab4dde63d76: Verifying Checksum 19:34:34 bab4dde63d76: Download complete 19:34:35 b85a868b505f: Pull complete 19:34:35 e2be974225ed: Pull complete 19:34:35 339a4e72a1f5: Pull complete 19:34:35 988bab9f4d93: Pull complete 19:34:35 1469e6f7b9e6: Pull complete 19:34:36 eaf3925da568: Pull complete 19:34:37 bab4dde63d76: Pull complete 19:34:37 bde34c3a00c8: Pull complete 19:34:37 b352a97aabf1: Pull complete 19:34:37 4872d77fe225: Pull complete 19:34:37 5851b861e8e6: Pull complete 19:34:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:34:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:34:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:34:38 prd-ubuntu20.04-docker-8c-8g-18922 does not seem to be running inside a container 19:34:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:34:40 $ docker top 45a969aef723bf4d68e2a7ab064308fb00ae7f24656583d351f23ec9f0ccabf1 -eo pid,comm 19:34:40 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). 19:34:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:34:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:34:40 [ssh-agent] Looking for ssh-agent implementation... 19:34:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:34:40 $ docker exec 45a969aef723bf4d68e2a7ab064308fb00ae7f24656583d351f23ec9f0ccabf1 ssh-agent 19:34:40 SSH_AUTH_SOCK=/tmp/ssh-6TqMbRscGlqG/agent.32 19:34:40 SSH_AGENT_PID=38 19:34:40 Running ssh-add (command line suppressed) 19:34:40 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_1556884977976909986.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_1556884977976909986.key) 19:34:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:34:41 + git tag --points-at HEAD [Pipeline] } 19:34:41 $ docker exec --env ******** --env ******** 45a969aef723bf4d68e2a7ab064308fb00ae7f24656583d351f23ec9f0ccabf1 ssh-agent -k 19:34:41 unset SSH_AUTH_SOCK; 19:34:41 unset SSH_AGENT_PID; 19:34:41 echo Agent pid 38 killed; 19:34:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:34:41 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0-dev.0' [Pipeline] sshagent 19:34:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:34:41 [ssh-agent] Looking for ssh-agent implementation... 19:34:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:34:41 $ docker exec 45a969aef723bf4d68e2a7ab064308fb00ae7f24656583d351f23ec9f0ccabf1 ssh-agent 19:34:41 SSH_AUTH_SOCK=/tmp/ssh-35DpXcZaN46z/agent.70 19:34:41 SSH_AGENT_PID=76 19:34:41 Running ssh-add (command line suppressed) 19:34:41 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_7028002343993452185.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_7028002343993452185.key) 19:34:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:34:42 + git semver init 19:34:42 2023-06-20 19:34:42,309 [run_init] DEBUG init version:0.0.0 force:False 19:34:42 2023-06-20 19:34:42,310 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_app-record-replay_main/.semver 19:34:42 2023-06-20 19:34:42,310 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/exfoundry_app-record-replay_main/.semver 19:34:42 2023-06-20 19:34:42,311 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/exfoundry_app-record-replay_main/.semver'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=None) 19:34:42 2023-06-20 19:34:42,848 [append_file] DEBUG append to file:/w/workspace/exfoundry_app-record-replay_main/.git/info/exclude 19:34:42 2023-06-20 19:34:42,848 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_app-record-replay_main/.semver/main with force:False 19:34:42 2023-06-20 19:34:42,848 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 19:34:42 2023-06-20 19:34:42,849 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 19:34:42 3.1.0-dev.1 [Pipeline] } 19:34:42 $ docker exec --env ******** --env ******** 45a969aef723bf4d68e2a7ab064308fb00ae7f24656583d351f23ec9f0ccabf1 ssh-agent -k 19:34:43 unset SSH_AUTH_SOCK; 19:34:43 unset SSH_AGENT_PID; 19:34:43 echo Agent pid 76 killed; 19:34:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:34:43 + git semver [Pipeline] } 19:34:43 $ docker stop --time=1 45a969aef723bf4d68e2a7ab064308fb00ae7f24656583d351f23ec9f0ccabf1 19:34:45 $ docker rm -f --volumes 45a969aef723bf4d68e2a7ab064308fb00ae7f24656583d351f23ec9f0ccabf1 [Pipeline] // withDockerContainer [Pipeline] sh 19:34:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:34:45 Stashed 1 file(s) [Pipeline] echo 19:34:45 [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [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 19:34:46 provisioning config files... 19:34:46 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config2820896286175309971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:34:46 ---> docker-login.sh 19:34:46 nexus3.edgexfoundry.org:10001 19:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:46 Configure a credential helper to remove this warning. See 19:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:46 19:34:46 Login Succeeded 19:34:46 nexus3.edgexfoundry.org:10002 19:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:46 Configure a credential helper to remove this warning. See 19:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:46 19:34:46 Login Succeeded 19:34:46 nexus3.edgexfoundry.org:10003 19:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:47 Configure a credential helper to remove this warning. See 19:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:47 19:34:47 Login Succeeded 19:34:47 nexus3.edgexfoundry.org:10004 19:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:47 Configure a credential helper to remove this warning. See 19:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:47 19:34:47 Login Succeeded 19:34:47 docker.io 19:34:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:47 Configure a credential helper to remove this warning. See 19:34:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:47 19:34:47 Login Succeeded 19:34:47 ---> docker-login.sh ends [Pipeline] } 19:34:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:34:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:34:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:34:47 ========================================================= 19:34:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:34:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:48 + 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 . 19:34:48 Sending build context to Docker daemon 169kB 19:34:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:34:48 Step 2/12 : FROM ${BASE} AS builder 19:34:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:34:48 f56be85fc22e: Pulling fs layer 19:34:48 85791d961cd3: Pulling fs layer 19:34:48 d694b5ae8c79: Pulling fs layer 19:34:48 9f32a84ed3da: Pulling fs layer 19:34:48 4d19c01a9841: Pulling fs layer 19:34:48 9325e15d5711: Pulling fs layer 19:34:48 556b6ee489ea: Pulling fs layer 19:34:48 c5a4b2cf53e6: Pulling fs layer 19:34:48 9f32a84ed3da: Waiting 19:34:48 4d19c01a9841: Waiting 19:34:48 c5a4b2cf53e6: Waiting 19:34:48 9325e15d5711: Waiting 19:34:48 556b6ee489ea: Waiting 19:34:48 85791d961cd3: Download complete 19:34:48 9f32a84ed3da: Verifying Checksum 19:34:48 9f32a84ed3da: Download complete 19:34:48 4d19c01a9841: Verifying Checksum 19:34:48 4d19c01a9841: Download complete 19:34:48 f56be85fc22e: Download complete 19:34:48 9325e15d5711: Verifying Checksum 19:34:48 9325e15d5711: Download complete 19:34:48 f56be85fc22e: Pull complete 19:34:48 85791d961cd3: Pull complete 19:34:48 d694b5ae8c79: Verifying Checksum 19:34:48 d694b5ae8c79: Download complete 19:34:48 c5a4b2cf53e6: Verifying Checksum 19:34:48 c5a4b2cf53e6: Download complete 19:34:48 556b6ee489ea: Verifying Checksum 19:34:48 556b6ee489ea: Download complete 19:34:52 d694b5ae8c79: Pull complete 19:34:52 9f32a84ed3da: Pull complete 19:34:52 4d19c01a9841: Pull complete 19:34:52 9325e15d5711: Pull complete 19:34:54 556b6ee489ea: Pull complete 19:34:55 c5a4b2cf53e6: Pull complete 19:34:55 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:34:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:34:55 ---> c4be618373d6 19:34:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:34:58 ---> Running in e16727f44519 19:34:58 Removing intermediate container e16727f44519 19:34:58 ---> 64e52c302164 19:34:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:34:58 ---> Running in 19cfe9403be3 19:34:58 Removing intermediate container 19cfe9403be3 19:34:58 ---> f97bd56ebecf 19:34:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:34:58 ---> Running in 5c6b8086e18d 19:34:58 Removing intermediate container 5c6b8086e18d 19:34:58 ---> 004fb0939b9e 19:34:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:34:58 ---> Running in 4be5ac4a76cf 19:34:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:34:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:34:59 OK: 265 MiB in 53 packages 19:34:59 Removing intermediate container 4be5ac4a76cf 19:34:59 ---> 9098f20dcf19 19:34:59 Step 7/12 : WORKDIR /app 19:34:59 ---> Running in 6ebd936e6e06 19:34:59 Removing intermediate container 6ebd936e6e06 19:34:59 ---> b0c1504c31b7 19:34:59 Step 8/12 : COPY go.mod vendor* ./ 19:34:59 ---> b630bb672057 19:34:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:34:59 ---> Running in 7d704a838792 19:35:01 Still waiting to schedule task 19:35:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:35:31 Removing intermediate container 7d704a838792 19:35:31 ---> 8442c80fcd60 19:35:31 Step 10/12 : COPY . . 19:35:31 ---> 171dfacbea13 19:35:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:35:31 ---> Running in b5ad93098a2a 19:35:31 Removing intermediate container b5ad93098a2a 19:35:31 ---> 034ce31c0ce3 19:35:31 Step 12/12 : RUN $MAKE 19:35:31 ---> Running in 24a0835b6e6d 19:35:31 noop 19:35:32 Removing intermediate container 24a0835b6e6d 19:35:32 ---> 61b26610d1dd 19:35:32 Successfully built 61b26610d1dd 19:35:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:32 + docker inspect -f . ci-base-image-x86_64 19:35:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:35:32 prd-ubuntu20.04-docker-8c-8g-18922 does not seem to be running inside a container 19:35:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** ci-base-image-x86_64 cat 19:35:33 $ docker top d0cef1b74d3655cb71a5e0ceeb454ccc456ed96b6a6adfba25d3f186e55f570a -eo pid,comm [Pipeline] { [Pipeline] sh 19:35:33 + go version 19:35:33 go version go1.20.2 linux/amd64 [Pipeline] } 19:35:33 $ docker stop --time=1 d0cef1b74d3655cb71a5e0ceeb454ccc456ed96b6a6adfba25d3f186e55f570a 19:35:35 $ docker rm -f --volumes d0cef1b74d3655cb71a5e0ceeb454ccc456ed96b6a6adfba25d3f186e55f570a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:36 + docker inspect -f . ci-base-image-x86_64 19:35:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:35:36 prd-ubuntu20.04-docker-8c-8g-18922 does not seem to be running inside a container 19:35:36 $ 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_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** ci-base-image-x86_64 cat 19:35:36 $ docker top 09880d167692efa9c6a766a00a06840be49e1581635ac1b7e3dd6d60eedf0a00 -eo pid,comm [Pipeline] { [Pipeline] sh 19:35:37 + git config --global --add safe.directory /w/workspace/exfoundry_app-record-replay_main [Pipeline] fileExists [Pipeline] sh 19:35:37 + make test 19:35:37 go test -race -coverprofile=coverage.out ./... 19:35:37 go: warning: "./..." matched no packages 19:35:37 no packages to test 19:35:37 make: *** [makefile:53: unittest] Error 1 [Pipeline] } 19:35:37 $ docker stop --time=1 09880d167692efa9c6a766a00a06840be49e1581635ac1b7e3dd6d60eedf0a00 19:35:38 $ docker rm -f --volumes 09880d167692efa9c6a766a00a06840be49e1581635ac1b7e3dd6d60eedf0a00 [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 19:35:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:35:39 19:35:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:35:40 latest: Pulling from edgex-lftools-log-publisher 19:35:40 5eb5b503b376: Pulling fs layer 19:35:40 5c69ac0246d0: Pulling fs layer 19:35:40 ec43610c2a17: Pulling fs layer 19:35:40 3a2ae6a8a46f: Pulling fs layer 19:35:40 33b1e0a273af: Pulling fs layer 19:35:40 5d3b04190fa2: Pulling fs layer 19:35:40 2f39f015ded8: Pulling fs layer 19:35:40 3a2ae6a8a46f: Waiting 19:35:40 33b1e0a273af: Waiting 19:35:40 2f39f015ded8: Waiting 19:35:40 5d3b04190fa2: Waiting 19:35:40 5c69ac0246d0: Download complete 19:35:40 3a2ae6a8a46f: Verifying Checksum 19:35:40 3a2ae6a8a46f: Download complete 19:35:40 33b1e0a273af: Verifying Checksum 19:35:40 33b1e0a273af: Download complete 19:35:40 ec43610c2a17: Verifying Checksum 19:35:40 ec43610c2a17: Download complete 19:35:40 5d3b04190fa2: Download complete 19:35:40 5eb5b503b376: Verifying Checksum 19:35:40 5eb5b503b376: Download complete 19:35:41 2f39f015ded8: Download complete 19:35:41 5eb5b503b376: Pull complete 19:35:41 5c69ac0246d0: Pull complete 19:35:42 ec43610c2a17: Pull complete 19:35:42 3a2ae6a8a46f: Pull complete 19:35:42 33b1e0a273af: Pull complete 19:35:42 5d3b04190fa2: Pull complete 19:35:46 2f39f015ded8: Pull complete 19:35:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:35:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:35:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:35:46 prd-ubuntu20.04-docker-8c-8g-18922 does not seem to be running inside a container 19:35:46 $ 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_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:35:49 $ docker top ca3efc35df32a8d52827ae106b8ec151d59378114f79559261f5797af5f46f2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:35:50 ---> job-cost.sh 19:35:50 lf-activate-venv: SKIPPING 19:35:50 INFO: No Stack... 19:35:50 INFO: Retrieving Pricing Info for: v3-standard-8 19:35:51 INFO: Archiving Costs [Pipeline] sh 19:35:51 + cat /w/workspace/exfoundry_app-record-replay_main/archives/cost.csv 19:35:51 + cut -d, -f6 [Pipeline] lock 19:35:51 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-1-stack-cost] 19:35:51 Resource [jenkins-edgexfoundry-app-record-replay-main-1-stack-cost] did not exist. Created. 19:35:51 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:35:52 + echo total: 0.2199999988079071 [Pipeline] stash 19:35:52 Stashed 1 file(s) [Pipeline] } 19:35:52 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:35:52 $ docker stop --time=1 ca3efc35df32a8d52827ae106b8ec151d59378114f79559261f5797af5f46f2f 19:35:53 $ docker rm -f --volumes ca3efc35df32a8d52827ae106b8ec151d59378114f79559261f5797af5f46f2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:35:53 Failed in branch amd64 19:36:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18923 in /w/workspace/exfoundry_app-record-replay_main [Pipeline] { [Pipeline] ws 19:36:31 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 19:36:31 The recommended git tool is: NONE 19:36:36 using credential edgex-jenkins-ssh 19:36:36 Cloning the remote Git repository 19:36:36 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 19:36:36 > git init /w/workspace/app-record-replay/1 # timeout=10 19:36:37 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 19:36:37 > git --version # timeout=10 19:36:37 > git --version # 'git version 2.25.1' 19:36:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:36:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:36:38 Avoid second fetch 19:36:38 Checking out Revision 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee (main) 19:36:37 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 19:36:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:36:38 > git config core.sparsecheckout # timeout=10 19:36:38 > git checkout -f 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee # timeout=10 19:36:42 Commit message: "Merge pull request #3 from lenny-intel/init-repo" 19:36:42 > git --version # timeout=10 19:36:42 > git --version # 'git version 2.25.1' 19:36:42 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:36:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:36:43 % Total % Received % Xferd Average Speed Time Time Time Current 19:36:43 Dload Upload Total Spent Left Speed 19:36:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 19:36:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:36:44 + sudo tee /etc/docker/daemon.new 19:36:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:36:44 { 19:36:44 "registry-mirrors": [ 19:36:44 "https://nexus3.edgexfoundry.org:10001" 19:36:44 ], 19:36:44 "bip": "10.250.0.254/24", 19:36:44 "hosts": [ 19:36:44 "tcp://0.0.0.0:5555", 19:36:44 "unix:///var/run/docker.sock" 19:36:44 ], 19:36:44 "mtu": 1458, 19:36:44 "selinux-enabled": true, 19:36:44 "seccomp-profile": "/etc/docker/seccomp.json" 19:36:44 } [Pipeline] sh 19:36:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:36:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:37:03 provisioning config files... 19:37:03 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config9151841033709162634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:37:03 ---> docker-login.sh 19:37:03 nexus3.edgexfoundry.org:10001 19:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:04 Configure a credential helper to remove this warning. See 19:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:04 19:37:04 Login Succeeded 19:37:04 nexus3.edgexfoundry.org:10002 19:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:04 Configure a credential helper to remove this warning. See 19:37:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:04 19:37:04 Login Succeeded 19:37:04 nexus3.edgexfoundry.org:10003 19:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:05 Configure a credential helper to remove this warning. See 19:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:05 19:37:05 Login Succeeded 19:37:05 nexus3.edgexfoundry.org:10004 19:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:05 Configure a credential helper to remove this warning. See 19:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:05 19:37:05 Login Succeeded 19:37:05 docker.io 19:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:37:06 Configure a credential helper to remove this warning. See 19:37:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:37:06 19:37:06 Login Succeeded 19:37:06 ---> docker-login.sh ends [Pipeline] } 19:37:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:37:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:37:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:37:06 ========================================================= 19:37:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:37:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:37:07 + 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 . 19:37:07 Sending build context to Docker daemon 81.41kB 19:37:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:37:07 Step 2/12 : FROM ${BASE} AS builder 19:37:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:37:07 c41833b44d91: Pulling fs layer 19:37:07 ed15518f5707: Pulling fs layer 19:37:07 feae8fd75edb: Pulling fs layer 19:37:07 242c74f7c9fa: Pulling fs layer 19:37:07 3cdef696dda3: Pulling fs layer 19:37:07 2ced38df9373: Pulling fs layer 19:37:07 58f1dce35555: Pulling fs layer 19:37:07 2ced38df9373: Waiting 19:37:07 242c74f7c9fa: Waiting 19:37:07 3cdef696dda3: Waiting 19:37:07 ed15518f5707: Verifying Checksum 19:37:07 ed15518f5707: Download complete 19:37:07 242c74f7c9fa: Verifying Checksum 19:37:07 242c74f7c9fa: Download complete 19:37:07 3cdef696dda3: Verifying Checksum 19:37:07 3cdef696dda3: Download complete 19:37:07 c41833b44d91: Verifying Checksum 19:37:07 c41833b44d91: Download complete 19:37:08 c41833b44d91: Pull complete 19:37:08 58f1dce35555: Verifying Checksum 19:37:08 58f1dce35555: Download complete 19:37:09 ed15518f5707: Pull complete 19:37:10 feae8fd75edb: Verifying Checksum 19:37:10 feae8fd75edb: Download complete 19:37:10 2ced38df9373: Verifying Checksum 19:37:10 2ced38df9373: Download complete 19:37:22 feae8fd75edb: Pull complete 19:37:22 242c74f7c9fa: Pull complete 19:37:22 3cdef696dda3: Pull complete 19:37:27 2ced38df9373: Pull complete 19:37:30 58f1dce35555: Pull complete 19:37:30 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:37:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:37:30 ---> fadd8f120f05 19:37:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:37:31 ---> Running in 09f51c19e211 19:37:32 Removing intermediate container 09f51c19e211 19:37:32 ---> b8c70ffb1d60 19:37:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:37:32 ---> Running in 8d161bebd949 19:37:32 Removing intermediate container 8d161bebd949 19:37:32 ---> 188d79249f2b 19:37:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:37:32 ---> Running in 46984dcefe79 19:37:32 Removing intermediate container 46984dcefe79 19:37:32 ---> c15ee1ac40fc 19:37:32 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:37:32 ---> Running in 6f3b406f8b75 19:37:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:37:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:37:35 OK: 263 MiB in 53 packages 19:37:36 Removing intermediate container 6f3b406f8b75 19:37:36 ---> 1de0690b5e95 19:37:36 Step 7/12 : WORKDIR /app 19:37:36 ---> Running in 87e1015007e4 19:37:36 Removing intermediate container 87e1015007e4 19:37:36 ---> 3cb2b53438b8 19:37:36 Step 8/12 : COPY go.mod vendor* ./ 19:37:36 ---> a7a3cf855dca 19:37:36 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:37:37 ---> Running in 93277dffadca 19:38:33 Removing intermediate container 93277dffadca 19:38:33 ---> c1d8d3d7e8ea 19:38:33 Step 10/12 : COPY . . 19:38:33 ---> 00580d3b25eb 19:38:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:38:34 ---> Running in 6c889a980800 19:38:34 Removing intermediate container 6c889a980800 19:38:34 ---> 24d16440fa37 19:38:34 Step 12/12 : RUN $MAKE 19:38:34 ---> Running in ff42ce89cf75 19:38:35 noop 19:38:37 Removing intermediate container ff42ce89cf75 19:38:37 ---> 4e4c86b7f1ab 19:38:37 Successfully built 4e4c86b7f1ab 19:38:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:37 + docker inspect -f . ci-base-image-arm64 19:38:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:37 prd-ubuntu20.04-docker-arm64-4c-16g-18923 does not seem to be running inside a container 19:38: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 ******** ci-base-image-arm64 cat 19:38:39 $ docker top 777023bcd858e218b5cc3a3007473e7521a7f15b51457f4e35e841d21d4fd6b2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:38:40 + go version 19:38:40 go version go1.20.2 linux/arm64 [Pipeline] } 19:38:40 $ docker stop --time=1 777023bcd858e218b5cc3a3007473e7521a7f15b51457f4e35e841d21d4fd6b2 19:38:41 $ docker rm -f --volumes 777023bcd858e218b5cc3a3007473e7521a7f15b51457f4e35e841d21d4fd6b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:42 + docker inspect -f . ci-base-image-arm64 19:38:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:42 prd-ubuntu20.04-docker-arm64-4c-16g-18923 does not seem to be running inside a container 19:38:42 $ 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 ******** ci-base-image-arm64 cat 19:38:43 $ docker top ea9b53494ecc90414a6aaa9a048128cbaf79ff07d7d6ca9892f71c6ff2c30801 -eo pid,comm [Pipeline] { [Pipeline] sh 19:38:44 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 19:38:44 + make test 19:38:44 go test -race -coverprofile=coverage.out ./... 19:38:44 go: warning: "./..." matched no packages 19:38:44 no packages to test 19:38:44 make: *** [makefile:53: unittest] Error 1 [Pipeline] } 19:38:44 $ docker stop --time=1 ea9b53494ecc90414a6aaa9a048128cbaf79ff07d7d6ca9892f71c6ff2c30801 19:38:46 $ docker rm -f --volumes ea9b53494ecc90414a6aaa9a048128cbaf79ff07d7d6ca9892f71c6ff2c30801 [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 19:38:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:38:47 19:38:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:38:47 arm64: Pulling from edgex-lftools-log-publisher 19:38:47 8998bd30e6a1: Pulling fs layer 19:38:47 04944245beec: Pulling fs layer 19:38:47 699f458cf7ca: Pulling fs layer 19:38:47 765212b225bb: Pulling fs layer 19:38:47 f23df028b6ca: Pulling fs layer 19:38:47 d65c8cfc05b1: Pulling fs layer 19:38:47 2437ff75d9bd: Pulling fs layer 19:38:47 f23df028b6ca: Waiting 19:38:47 d65c8cfc05b1: Waiting 19:38:47 2437ff75d9bd: Waiting 19:38:47 765212b225bb: Waiting 19:38:48 04944245beec: Verifying Checksum 19:38:48 04944245beec: Download complete 19:38:48 765212b225bb: Verifying Checksum 19:38:48 765212b225bb: Download complete 19:38:48 f23df028b6ca: Verifying Checksum 19:38:48 f23df028b6ca: Download complete 19:38:48 d65c8cfc05b1: Verifying Checksum 19:38:48 d65c8cfc05b1: Download complete 19:38:48 699f458cf7ca: Verifying Checksum 19:38:48 699f458cf7ca: Download complete 19:38:48 8998bd30e6a1: Verifying Checksum 19:38:48 8998bd30e6a1: Download complete 19:38:50 2437ff75d9bd: Verifying Checksum 19:38:50 2437ff75d9bd: Download complete 19:38:52 8998bd30e6a1: Pull complete 19:38:52 04944245beec: Pull complete 19:38:54 699f458cf7ca: Pull complete 19:38:54 765212b225bb: Pull complete 19:38:55 f23df028b6ca: Pull complete 19:38:55 d65c8cfc05b1: Pull complete 19:39:10 2437ff75d9bd: Pull complete 19:39:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:39:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:39:10 prd-ubuntu20.04-docker-arm64-4c-16g-18923 does not seem to be running inside a container 19:39:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:39:13 $ docker top 33dc6825f2265f0887812634215db077a341a82e000782a5783d71ff580ae69d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:39:13 ---> job-cost.sh 19:39:13 lf-activate-venv: SKIPPING 19:39:13 INFO: No Stack... 19:39:14 INFO: Retrieving Pricing Info for: v3-standard-4 19:39:15 INFO: Archiving Costs [Pipeline] sh 19:39:15 + cat /w/workspace/app-record-replay/1/archives/cost.csv 19:39:15 + cut -d, -f6 [Pipeline] lock 19:39:15 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-1-stack-cost] 19:39:15 Resource [jenkins-edgexfoundry-app-record-replay-main-1-stack-cost] did not exist. Created. 19:39:15 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:39:16 /w/workspace/app-record-replay/1@tmp/durable-b78d4050/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:39:16 + echo total: 0.10999999940395355 [Pipeline] stash 19:39:16 Warning: overwriting stash ‘stack-cost’ 19:39:16 Stashed 1 file(s) [Pipeline] } 19:39:16 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:39:17 $ docker stop --time=1 33dc6825f2265f0887812634215db077a341a82e000782a5783d71ff580ae69d 19:39:18 $ docker rm -f --volumes 33dc6825f2265f0887812634215db077a341a82e000782a5783d71ff580ae69d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:39:19 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 19:39:21 + [ -d /w/workspace/exfoundry_app-record-replay_main/archives ] 19:39:21 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 19:39:21 total 16 19:39:21 drwxr-xr-x 3 root root 4096 Jun 20 19:35 . 19:39:21 drwxrwxr-x 6 jenkins jenkins 4096 Jun 20 19:35 .. 19:39:21 drwxr-xr-x 2 root root 4096 Jun 20 19:35 cost 19:39:21 -rw-r--r-- 1 root root 87 Jun 20 19:35 cost.csv 19:39:21 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_app-record-replay_main/archives 19:39:21 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 19:39:21 total 16 19:39:21 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 19:35 . 19:39:21 drwxrwxr-x 6 jenkins jenkins 4096 Jun 20 19:35 .. 19:39:21 drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 19:35 cost 19:39:21 -rw-r--r-- 1 jenkins jenkins 87 Jun 20 19:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:39:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:39:22 ---> package-listing.sh 19:39:22 ++ facter osfamily 19:39:22 ++ tr '[:upper:]' '[:lower:]' 19:39:22 + OS_FAMILY=debian 19:39:22 + workspace=/w/workspace/exfoundry_app-record-replay_main 19:39:22 + START_PACKAGES=/tmp/packages_start.txt 19:39:22 + END_PACKAGES=/tmp/packages_end.txt 19:39:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:39:22 + PACKAGES=/tmp/packages_start.txt 19:39:22 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 19:39:22 + PACKAGES=/tmp/packages_end.txt 19:39:22 + case "${OS_FAMILY}" in 19:39:22 + dpkg -l 19:39:22 + grep '^ii' 19:39:22 + '[' -f /tmp/packages_start.txt ']' 19:39:22 + '[' -f /tmp/packages_end.txt ']' 19:39:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:39:22 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 19:39:22 + mkdir -p /w/workspace/exfoundry_app-record-replay_main/archives/ 19:39:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_app-record-replay_main/archives/ [Pipeline] echo 19:39:22 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:39:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:39:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:39:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:39:23 prd-ubuntu20.04-docker-8c-8g-18922 does not seem to be running inside a container 19:39:23 $ 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_main/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_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:39:23 $ docker top 663a41eb2c91ef71381e5a78a865f9e8cd0862136fb4106c0737ec82f771cede -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:24 + touch /tmp/pre-build-complete [Pipeline] sh 19:39:24 + mkdir -p /var/log/sysstat [Pipeline] sh 19:39:24 + ls /var/log/sa-host 19:39:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:39:25 provisioning config files... 19:39:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config16208508339858849253tmp [Pipeline] { [Pipeline] echo 19:39:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:39:25 ---> create-netrc.sh [Pipeline] } 19:39:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:39:25 ---> python-tools-install.sh [Pipeline] echo 19:39:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:39:26 ---> sudo-logs.sh 19:39:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:39:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:39:26 ---> job-cost.sh 19:39:26 lf-activate-venv: SKIPPING 19:39:26 DEBUG: total: 0.2199999988079071 19:39:26 INFO: Retrieving Stack Cost... 19:39:26 INFO: Retrieving Pricing Info for: v3-standard-8 19:39:27 INFO: Archiving Costs [Pipeline] echo 19:39:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:39:27 ---> logs-deploy.sh 19:39:27 lf-activate-venv: SKIPPING 19:39:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/main/1 19:39:27 INFO: archiving workspace using pattern(s): 19:39:28 Archives upload complete. 19:39:28 INFO: archiving logs to Nexus