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 [2023-06-20T21:22:58.390Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-20T21:22:58.459Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-20T21:22:58.482Z] ========================================================= [2023-06-20T21:22:58.482Z] EdgeX Global Pipelines Version Info [2023-06-20T21:22:58.482Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk de7724b5d0abf93df3c614d3b7c1f39244054d5d # timeout=10 [2023-06-20T21:22:59.197Z] ------------------- [2023-06-20T21:22:59.197Z] stable info: [2023-06-20T21:22:59.197Z] ------------------- [2023-06-20T21:22:59.197Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-20T21:22:59.197Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-20T21:22:59.197Z] Message: update stable to v1.0.250 [2023-06-20T21:22:59.768Z] ------------------- [2023-06-20T21:22:59.768Z] experimental info: [2023-06-20T21:22:59.768Z] ------------------- [2023-06-20T21:22:59.768Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-20T21:22:59.768Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-20T21:22:59.768Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-20T21:22:59.947Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-06-20T21:22:59.962Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-06-20T21:22:59.982Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-20T21:23:00.000Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-20T21:23:00.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-20T21:23:00.036Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-20T21:23:00.050Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-20T21:23:00.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-20T21:23:00.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-20T21:23:00.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-20T21:23:00.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-20T21:23:00.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-06-20T21:23:00.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-20T21:23:00.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-20T21:23:00.187Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-20T21:23:00.204Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-20T21:23:00.221Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-20T21:23:00.235Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-20T21:23:00.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-20T21:23:00.269Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-20T21:23:00.285Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-20T21:23:00.305Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-20T21:23:00.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-20T21:23:00.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-20T21:23:00.361Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-20T21:23:00.378Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-20T21:23:00.390Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-20T21:23:00.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4 [Pipeline] echo [2023-06-20T21:23:00.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4 [Pipeline] echo [2023-06-20T21:23:00.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4 [Pipeline] echo [2023-06-20T21:23:00.463Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [Pipeline] echo [2023-06-20T21:23:00.483Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45f96ce [Pipeline] echo [2023-06-20T21:23:00.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-20T21:23:00.553Z] provisioning config files... [2023-06-20T21:23:00.568Z] copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config11049129054450697980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:23:00.921Z] ---> docker-login.sh [2023-06-20T21:23:00.921Z] nexus3.edgexfoundry.org:10001 [2023-06-20T21:23:00.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:01.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:01.188Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:01.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:01.188Z] [2023-06-20T21:23:01.188Z] Login Succeeded [2023-06-20T21:23:01.188Z] nexus3.edgexfoundry.org:10002 [2023-06-20T21:23:01.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:01.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:01.452Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:01.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:01.452Z] [2023-06-20T21:23:01.452Z] Login Succeeded [2023-06-20T21:23:01.452Z] nexus3.edgexfoundry.org:10003 [2023-06-20T21:23:01.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:01.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:01.452Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:01.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:01.452Z] [2023-06-20T21:23:01.452Z] Login Succeeded [2023-06-20T21:23:01.452Z] nexus3.edgexfoundry.org:10004 [2023-06-20T21:23:01.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:01.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:01.452Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:01.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:01.452Z] [2023-06-20T21:23:01.452Z] Login Succeeded [2023-06-20T21:23:01.713Z] docker.io [2023-06-20T21:23:01.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:01.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:01.974Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:01.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:01.974Z] [2023-06-20T21:23:01.974Z] Login Succeeded [2023-06-20T21:23:01.974Z] ---> docker-login.sh ends [Pipeline] } [2023-06-20T21:23:01.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-20T21:23:02.339Z] + git rev-list -1 --merges 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8~1..45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [Pipeline] echo [2023-06-20T21:23:02.391Z] -----------> git rev-list -1 --merges 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8~1..45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [false] [Pipeline] sh [2023-06-20T21:23:02.682Z] + git log --format=format:%s -1 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [Pipeline] echo [2023-06-20T21:23:02.698Z] ========================================================= [2023-06-20T21:23:02.698Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-20T21:23:02.698Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-20T21:23:03.042Z] + git log --format=format:%s -1 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [Pipeline] echo [2023-06-20T21:23:03.054Z] [semverPrep] GIT_COMMIT: 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8, Commit Message: feat: Implement dummy main to test Ci pipeline and docker builds [Pipeline] echo [2023-06-20T21:23:03.064Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-20T21:23:03.441Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-20T21:23:03.441Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-20T21:23:03.441Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-20T21:23:03.441Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-20T21:23:03.441Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-06-20T21:23:03.441Z] -a /etc/ssh/ssh_known_hosts [2023-06-20T21:23:03.441Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-20T21:23:03.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-20T21:23:03.872Z] [2023-06-20T21:23:03.872Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-20T21:23:04.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-20T21:23:04.169Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-20T21:23:04.169Z] b85a868b505f: Pulling fs layer [2023-06-20T21:23:04.169Z] e2be974225ed: Pulling fs layer [2023-06-20T21:23:04.169Z] 339a4e72a1f5: Pulling fs layer [2023-06-20T21:23:04.169Z] 988bab9f4d93: Pulling fs layer [2023-06-20T21:23:04.169Z] 1469e6f7b9e6: Pulling fs layer [2023-06-20T21:23:04.169Z] eaf3925da568: Pulling fs layer [2023-06-20T21:23:04.169Z] bab4dde63d76: Pulling fs layer [2023-06-20T21:23:04.169Z] bde34c3a00c8: Pulling fs layer [2023-06-20T21:23:04.169Z] b352a97aabf1: Pulling fs layer [2023-06-20T21:23:04.169Z] 4872d77fe225: Pulling fs layer [2023-06-20T21:23:04.169Z] 5851b861e8e6: Pulling fs layer [2023-06-20T21:23:04.169Z] b352a97aabf1: Waiting [2023-06-20T21:23:04.169Z] eaf3925da568: Waiting [2023-06-20T21:23:04.169Z] 4872d77fe225: Waiting [2023-06-20T21:23:04.169Z] 1469e6f7b9e6: Waiting [2023-06-20T21:23:04.169Z] 988bab9f4d93: Waiting [2023-06-20T21:23:04.169Z] bab4dde63d76: Waiting [2023-06-20T21:23:04.169Z] 5851b861e8e6: Waiting [2023-06-20T21:23:04.169Z] bde34c3a00c8: Waiting [2023-06-20T21:23:04.169Z] e2be974225ed: Download complete [2023-06-20T21:23:04.169Z] 988bab9f4d93: Verifying Checksum [2023-06-20T21:23:04.169Z] 988bab9f4d93: Download complete [2023-06-20T21:23:04.169Z] 339a4e72a1f5: Verifying Checksum [2023-06-20T21:23:04.169Z] 339a4e72a1f5: Download complete [2023-06-20T21:23:04.169Z] 1469e6f7b9e6: Verifying Checksum [2023-06-20T21:23:04.169Z] 1469e6f7b9e6: Download complete [2023-06-20T21:23:04.169Z] eaf3925da568: Verifying Checksum [2023-06-20T21:23:04.169Z] eaf3925da568: Download complete [2023-06-20T21:23:04.428Z] bde34c3a00c8: Verifying Checksum [2023-06-20T21:23:04.428Z] bde34c3a00c8: Download complete [2023-06-20T21:23:04.428Z] b352a97aabf1: Download complete [2023-06-20T21:23:04.428Z] 4872d77fe225: Verifying Checksum [2023-06-20T21:23:04.428Z] 4872d77fe225: Download complete [2023-06-20T21:23:04.428Z] 5851b861e8e6: Verifying Checksum [2023-06-20T21:23:04.428Z] 5851b861e8e6: Download complete [2023-06-20T21:23:04.428Z] b85a868b505f: Verifying Checksum [2023-06-20T21:23:04.428Z] b85a868b505f: Download complete [2023-06-20T21:23:04.687Z] bab4dde63d76: Verifying Checksum [2023-06-20T21:23:04.687Z] bab4dde63d76: Download complete [2023-06-20T21:23:05.624Z] b85a868b505f: Pull complete [2023-06-20T21:23:05.884Z] e2be974225ed: Pull complete [2023-06-20T21:23:06.144Z] 339a4e72a1f5: Pull complete [2023-06-20T21:23:06.406Z] 988bab9f4d93: Pull complete [2023-06-20T21:23:06.666Z] 1469e6f7b9e6: Pull complete [2023-06-20T21:23:06.666Z] eaf3925da568: Pull complete [2023-06-20T21:23:08.576Z] bab4dde63d76: Pull complete [2023-06-20T21:23:08.576Z] bde34c3a00c8: Pull complete [2023-06-20T21:23:08.576Z] b352a97aabf1: Pull complete [2023-06-20T21:23:08.576Z] 4872d77fe225: Pull complete [2023-06-20T21:23:08.576Z] 5851b861e8e6: Pull complete [2023-06-20T21:23:08.576Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-20T21:23:08.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-20T21:23:08.576Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-20T21:23:08.676Z] prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container [2023-06-20T21:23:08.720Z] $ 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 [2023-06-20T21:23:11.355Z] $ docker top c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 -eo pid,comm [2023-06-20T21:23:11.403Z] 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). [2023-06-20T21:23:11.403Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-20T21:23:11.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-20T21:23:11.444Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-20T21:23:11.554Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-20T21:23:11.562Z] $ docker exec c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 ssh-agent [2023-06-20T21:23:11.669Z] SSH_AUTH_SOCK=/tmp/ssh-Q6oCVtmeOg6M/agent.33 [2023-06-20T21:23:11.670Z] SSH_AGENT_PID=40 [2023-06-20T21:23:11.676Z] Running ssh-add (command line suppressed) [2023-06-20T21:23:11.794Z] 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) [2023-06-20T21:23:11.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-20T21:23:12.086Z] + git tag --points-at HEAD [Pipeline] } [2023-06-20T21:23:12.101Z] $ docker exec --env ******** --env ******** c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 ssh-agent -k [2023-06-20T21:23:12.189Z] unset SSH_AUTH_SOCK; [2023-06-20T21:23:12.189Z] unset SSH_AGENT_PID; [2023-06-20T21:23:12.190Z] echo Agent pid 40 killed; [2023-06-20T21:23:12.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-20T21:23:12.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-20T21:23:12.215Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-20T21:23:12.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-20T21:23:12.328Z] $ docker exec c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 ssh-agent [2023-06-20T21:23:12.419Z] SSH_AUTH_SOCK=/tmp/ssh-ytE1IiQ3Ripw/agent.72 [2023-06-20T21:23:12.419Z] SSH_AGENT_PID=78 [2023-06-20T21:23:12.424Z] Running ssh-add (command line suppressed) [2023-06-20T21:23:12.545Z] 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) [2023-06-20T21:23:12.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-20T21:23:12.841Z] + git semver init [2023-06-20T21:23:13.101Z] 2023-06-20 21:23:13,033 [run_init] DEBUG init version:0.0.0 force:False [2023-06-20T21:23:13.101Z] 2023-06-20 21:23:13,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_app-record-replay_PR-4/.semver [2023-06-20T21:23:13.101Z] 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 [2023-06-20T21:23:13.101Z] 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) [2023-06-20T21:23:14.041Z] 2023-06-20 21:23:13,705 [append_file] DEBUG append to file:/w/workspace/exfoundry_app-record-replay_PR-4/.git/info/exclude [2023-06-20T21:23:14.041Z] 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 [2023-06-20T21:23:14.041Z] 2023-06-20 21:23:13,706 [write_file] DEBUG write to file:/w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 [2023-06-20T21:23:14.041Z] 2023-06-20 21:23:13,710 [execute] INFO git cat-file --batch-check [2023-06-20T21:23:14.041Z] 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=) [2023-06-20T21:23:14.041Z] 2023-06-20 21:23:13,716 [execute] INFO git cat-file --batch [2023-06-20T21:23:14.041Z] 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=) [2023-06-20T21:23:14.041Z] 2023-06-20 21:23:13,721 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 [2023-06-20T21:23:14.041Z] 0.0.0 [Pipeline] } [2023-06-20T21:23:14.055Z] $ docker exec --env ******** --env ******** c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 ssh-agent -k [2023-06-20T21:23:14.149Z] unset SSH_AUTH_SOCK; [2023-06-20T21:23:14.150Z] unset SSH_AGENT_PID; [2023-06-20T21:23:14.150Z] echo Agent pid 78 killed; [2023-06-20T21:23:14.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-20T21:23:14.458Z] + git semver [Pipeline] } [2023-06-20T21:23:14.735Z] $ docker stop --time=1 c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 [2023-06-20T21:23:16.067Z] $ docker rm -f --volumes c3a1f871850c1769825fdf5a3bd89fa3ec4fb491880dc8a2a86f04bfd80f4330 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-20T21:23:16.402Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-20T21:23:16.612Z] Stashed 1 file(s) [Pipeline] echo [2023-06-20T21:23:16.616Z] [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 [2023-06-20T21:23:16.726Z] provisioning config files... [2023-06-20T21:23:16.734Z] copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config10182824517346492171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:23:17.030Z] ---> docker-login.sh [2023-06-20T21:23:17.030Z] nexus3.edgexfoundry.org:10001 [2023-06-20T21:23:17.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:17.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:17.030Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:17.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:17.030Z] [2023-06-20T21:23:17.030Z] Login Succeeded [2023-06-20T21:23:17.030Z] nexus3.edgexfoundry.org:10002 [2023-06-20T21:23:17.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:17.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:17.030Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:17.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:17.030Z] [2023-06-20T21:23:17.030Z] Login Succeeded [2023-06-20T21:23:17.030Z] nexus3.edgexfoundry.org:10003 [2023-06-20T21:23:17.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:17.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:17.288Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:17.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:17.288Z] [2023-06-20T21:23:17.288Z] Login Succeeded [2023-06-20T21:23:17.288Z] nexus3.edgexfoundry.org:10004 [2023-06-20T21:23:17.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:17.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:17.288Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:17.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:17.288Z] [2023-06-20T21:23:17.288Z] Login Succeeded [2023-06-20T21:23:17.288Z] docker.io [2023-06-20T21:23:17.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:23:17.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:23:17.548Z] Configure a credential helper to remove this warning. See [2023-06-20T21:23:17.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:23:17.548Z] [2023-06-20T21:23:17.548Z] Login Succeeded [2023-06-20T21:23:17.548Z] ---> docker-login.sh ends [Pipeline] } [2023-06-20T21:23:17.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-20T21:23:17.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-20T21:23:17.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-20T21:23:17.631Z] ========================================================= [2023-06-20T21:23:17.631Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-20T21:23:17.631Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-20T21:23:17.941Z] + 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 . [2023-06-20T21:23:17.941Z] Sending build context to Docker daemon 179.2kB [2023-06-20T21:23:17.941Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-20T21:23:17.941Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-20T21:23:17.941Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-20T21:23:17.941Z] f56be85fc22e: Pulling fs layer [2023-06-20T21:23:17.941Z] 85791d961cd3: Pulling fs layer [2023-06-20T21:23:17.941Z] d694b5ae8c79: Pulling fs layer [2023-06-20T21:23:17.941Z] 9f32a84ed3da: Pulling fs layer [2023-06-20T21:23:17.941Z] 4d19c01a9841: Pulling fs layer [2023-06-20T21:23:17.941Z] 9325e15d5711: Pulling fs layer [2023-06-20T21:23:17.941Z] 556b6ee489ea: Pulling fs layer [2023-06-20T21:23:17.941Z] c5a4b2cf53e6: Pulling fs layer [2023-06-20T21:23:17.941Z] 9f32a84ed3da: Waiting [2023-06-20T21:23:17.941Z] 4d19c01a9841: Waiting [2023-06-20T21:23:17.941Z] 9325e15d5711: Waiting [2023-06-20T21:23:17.941Z] 556b6ee489ea: Waiting [2023-06-20T21:23:17.941Z] c5a4b2cf53e6: Waiting [2023-06-20T21:23:17.941Z] 85791d961cd3: Verifying Checksum [2023-06-20T21:23:17.941Z] 85791d961cd3: Download complete [2023-06-20T21:23:17.941Z] 9f32a84ed3da: Verifying Checksum [2023-06-20T21:23:17.941Z] 9f32a84ed3da: Download complete [2023-06-20T21:23:17.941Z] 4d19c01a9841: Verifying Checksum [2023-06-20T21:23:17.941Z] 4d19c01a9841: Download complete [2023-06-20T21:23:17.941Z] f56be85fc22e: Verifying Checksum [2023-06-20T21:23:17.941Z] f56be85fc22e: Download complete [2023-06-20T21:23:17.941Z] 9325e15d5711: Verifying Checksum [2023-06-20T21:23:17.941Z] 9325e15d5711: Download complete [2023-06-20T21:23:18.199Z] f56be85fc22e: Pull complete [2023-06-20T21:23:18.199Z] 85791d961cd3: Pull complete [2023-06-20T21:23:18.766Z] d694b5ae8c79: Verifying Checksum [2023-06-20T21:23:18.766Z] d694b5ae8c79: Download complete [2023-06-20T21:23:18.766Z] c5a4b2cf53e6: Verifying Checksum [2023-06-20T21:23:18.767Z] c5a4b2cf53e6: Download complete [2023-06-20T21:23:19.027Z] 556b6ee489ea: Verifying Checksum [2023-06-20T21:23:19.027Z] 556b6ee489ea: Download complete [2023-06-20T21:23:22.310Z] d694b5ae8c79: Pull complete [2023-06-20T21:23:22.310Z] 9f32a84ed3da: Pull complete [2023-06-20T21:23:22.310Z] 4d19c01a9841: Pull complete [2023-06-20T21:23:22.310Z] 9325e15d5711: Pull complete [2023-06-20T21:23:24.214Z] 556b6ee489ea: Pull complete [2023-06-20T21:23:25.148Z] c5a4b2cf53e6: Pull complete [2023-06-20T21:23:25.148Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-20T21:23:25.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-20T21:23:25.148Z] ---> c4be618373d6 [2023-06-20T21:23:25.148Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-06-20T21:23:29.378Z] ---> Running in 56eb53eee8a5 [2023-06-20T21:23:29.637Z] Removing intermediate container 56eb53eee8a5 [2023-06-20T21:23:29.637Z] ---> 13bbe9818394 [2023-06-20T21:23:29.637Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-20T21:23:29.637Z] ---> Running in 031a674a1935 [2023-06-20T21:23:29.637Z] Removing intermediate container 031a674a1935 [2023-06-20T21:23:29.637Z] ---> 40f2b042d940 [2023-06-20T21:23:29.637Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-20T21:23:29.637Z] ---> Running in c150ecbcb7cb [2023-06-20T21:23:29.637Z] Removing intermediate container c150ecbcb7cb [2023-06-20T21:23:29.637Z] ---> 9c7ae045e153 [2023-06-20T21:23:29.637Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-20T21:23:29.898Z] ---> Running in e9e3be0e07d7 [2023-06-20T21:23:30.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-20T21:23:30.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-20T21:23:30.728Z] OK: 265 MiB in 53 packages [2023-06-20T21:23:30.986Z] Removing intermediate container e9e3be0e07d7 [2023-06-20T21:23:30.986Z] ---> ec2dacdb3496 [2023-06-20T21:23:30.986Z] Step 7/12 : WORKDIR /app [2023-06-20T21:23:30.986Z] ---> Running in 499f67b65478 [2023-06-20T21:23:30.986Z] Removing intermediate container 499f67b65478 [2023-06-20T21:23:30.986Z] ---> c52f36a9f563 [2023-06-20T21:23:30.986Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-20T21:23:30.986Z] ---> a1ae1fec435d [2023-06-20T21:23:30.986Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-20T21:23:30.986Z] ---> Running in a3f0320caef2 [2023-06-20T21:23:31.695Z] Still waiting to schedule task [2023-06-20T21:23:31.696Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-20T21:24:17.660Z] Removing intermediate container a3f0320caef2 [2023-06-20T21:24:17.660Z] ---> d771c051c327 [2023-06-20T21:24:17.660Z] Step 10/12 : COPY . . [2023-06-20T21:24:17.660Z] ---> 71967cb9dc8e [2023-06-20T21:24:17.660Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-20T21:24:17.660Z] ---> Running in 67c9f5391005 [2023-06-20T21:24:17.660Z] Removing intermediate container 67c9f5391005 [2023-06-20T21:24:17.660Z] ---> 82d7d4ecba7a [2023-06-20T21:24:17.660Z] Step 12/12 : RUN $MAKE [2023-06-20T21:24:17.660Z] ---> Running in 802bf7d69539 [2023-06-20T21:24:17.660Z] noop [2023-06-20T21:24:17.660Z] Removing intermediate container 802bf7d69539 [2023-06-20T21:24:17.660Z] ---> 6d802202b2ff [2023-06-20T21:24:17.660Z] Successfully built 6d802202b2ff [2023-06-20T21:24:17.660Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-20T21:24:17.981Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-20T21:24:17.982Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-20T21:24:18.055Z] prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container [2023-06-20T21:24:18.093Z] $ 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 [2023-06-20T21:24:18.411Z] $ docker top 5cb5980f8118fd9d929ecad0417d5efec4e229bc032c420a4ac0519e755d283f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-20T21:24:18.751Z] + go version [2023-06-20T21:24:18.751Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-20T21:24:18.765Z] $ docker stop --time=1 5cb5980f8118fd9d929ecad0417d5efec4e229bc032c420a4ac0519e755d283f [2023-06-20T21:24:20.036Z] $ 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 [2023-06-20T21:24:20.402Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-20T21:24:20.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-20T21:24:20.475Z] prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container [2023-06-20T21:24:20.508Z] $ 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 [2023-06-20T21:24:20.804Z] $ docker top ee29cd433116161a9168fa0b62da8c3b0905d8522d8b9ba7ab4787b989fb4ef8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-20T21:24:21.150Z] + git config --global --add safe.directory /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] fileExists [Pipeline] sh [2023-06-20T21:24:21.445Z] + make test [2023-06-20T21:24:21.446Z] go test -race -coverprofile=coverage.out ./... [2023-06-20T21:24:28.010Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2023-06-20T21:24:33.275Z] go vet ./... [2023-06-20T21:24:34.211Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-20T21:24:34.211Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-20T21:24:34.211Z] ./bin/test-attribution-txt.sh [2023-06-20T21:24:34.211Z] make: ./bin/test-attribution-txt.sh: No such file or directory [2023-06-20T21:24:34.211Z] make: *** [makefile:59: test] Error 127 [Pipeline] } [2023-06-20T21:24:34.228Z] $ docker stop --time=1 ee29cd433116161a9168fa0b62da8c3b0905d8522d8b9ba7ab4787b989fb4ef8 [2023-06-20T21:24:36.041Z] $ 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 [2023-06-20T21:24:36.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-20T21:24:36.537Z] [2023-06-20T21:24:36.537Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-20T21:24:36.832Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-20T21:24:36.833Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-20T21:24:36.833Z] 5eb5b503b376: Pulling fs layer [2023-06-20T21:24:36.833Z] 5c69ac0246d0: Pulling fs layer [2023-06-20T21:24:36.833Z] ec43610c2a17: Pulling fs layer [2023-06-20T21:24:36.833Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-20T21:24:36.833Z] 33b1e0a273af: Pulling fs layer [2023-06-20T21:24:36.833Z] 5d3b04190fa2: Pulling fs layer [2023-06-20T21:24:36.833Z] 2f39f015ded8: Pulling fs layer [2023-06-20T21:24:36.833Z] 3a2ae6a8a46f: Waiting [2023-06-20T21:24:36.833Z] 33b1e0a273af: Waiting [2023-06-20T21:24:36.833Z] 2f39f015ded8: Waiting [2023-06-20T21:24:36.833Z] 5c69ac0246d0: Download complete [2023-06-20T21:24:36.833Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-20T21:24:36.833Z] 3a2ae6a8a46f: Download complete [2023-06-20T21:24:36.833Z] 33b1e0a273af: Verifying Checksum [2023-06-20T21:24:36.833Z] 33b1e0a273af: Download complete [2023-06-20T21:24:36.833Z] 5d3b04190fa2: Verifying Checksum [2023-06-20T21:24:36.833Z] 5d3b04190fa2: Download complete [2023-06-20T21:24:36.833Z] ec43610c2a17: Verifying Checksum [2023-06-20T21:24:36.833Z] ec43610c2a17: Download complete [2023-06-20T21:24:37.093Z] 5eb5b503b376: Verifying Checksum [2023-06-20T21:24:37.093Z] 5eb5b503b376: Download complete [2023-06-20T21:24:37.659Z] 2f39f015ded8: Download complete [2023-06-20T21:24:38.225Z] 5eb5b503b376: Pull complete [2023-06-20T21:24:38.225Z] 5c69ac0246d0: Pull complete [2023-06-20T21:24:38.793Z] ec43610c2a17: Pull complete [2023-06-20T21:24:38.793Z] 3a2ae6a8a46f: Pull complete [2023-06-20T21:24:39.052Z] 33b1e0a273af: Pull complete [2023-06-20T21:24:39.052Z] 5d3b04190fa2: Pull complete [2023-06-20T21:24:43.239Z] 2f39f015ded8: Pull complete [2023-06-20T21:24:43.239Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-20T21:24:43.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-20T21:24:43.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-20T21:24:43.314Z] prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container [2023-06-20T21:24:43.348Z] $ 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 [2023-06-20T21:24:48.653Z] $ docker top a6a03795723e02dd872276526c5f64ba414393c5dc7ef81e2a3a913501aa69a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:24:49.047Z] ---> job-cost.sh [2023-06-20T21:24:49.047Z] lf-activate-venv: SKIPPING [2023-06-20T21:24:49.047Z] INFO: No Stack... [2023-06-20T21:24:49.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-20T21:24:49.872Z] INFO: Archiving Costs [Pipeline] sh [2023-06-20T21:24:50.161Z] + cat /w/workspace/exfoundry_app-record-replay_PR-4/archives/cost.csv [2023-06-20T21:24:50.161Z] + cut -d, -f6 [Pipeline] lock [2023-06-20T21:24:50.176Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [2023-06-20T21:24:50.184Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] did not exist. Created. [2023-06-20T21:24:50.184Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-20T21:24:50.485Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-20T21:24:50.510Z] Stashed 1 file(s) [Pipeline] } [2023-06-20T21:24:50.516Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-20T21:24:50.538Z] $ docker stop --time=1 a6a03795723e02dd872276526c5f64ba414393c5dc7ef81e2a3a913501aa69a2 [2023-06-20T21:24:51.694Z] $ docker rm -f --volumes a6a03795723e02dd872276526c5f64ba414393c5dc7ef81e2a3a913501aa69a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-20T21:24:51.793Z] Failed in branch amd64 [2023-06-20T21:25:02.726Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18930 in /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] { [Pipeline] ws [2023-06-20T21:25:02.740Z] Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout [2023-06-20T21:25:02.779Z] The recommended git tool is: NONE [2023-06-20T21:25:07.775Z] using credential edgex-jenkins-ssh [2023-06-20T21:25:07.791Z] Cloning the remote Git repository [2023-06-20T21:25:07.835Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-06-20T21:25:07.915Z] > git init /w/workspace/app-record-replay/2 # timeout=10 [2023-06-20T21:25:08.046Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-06-20T21:25:08.047Z] > git --version # timeout=10 [2023-06-20T21:25:08.067Z] > git --version # 'git version 2.25.1' [2023-06-20T21:25:08.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-20T21:25:08.204Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-20T21:25:08.739Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-06-20T21:25:08.763Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-20T21:25:10.158Z] Merging remotes/origin/main commit 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee into PR head commit 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [2023-06-20T21:25:09.591Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-06-20T21:25:09.636Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-06-20T21:25:09.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-20T21:25:09.653Z] > 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 [2023-06-20T21:25:10.180Z] > git config core.sparsecheckout # timeout=10 [2023-06-20T21:25:10.435Z] Merge succeeded, producing 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 [2023-06-20T21:25:10.436Z] Checking out Revision 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 (PR-4) [2023-06-20T21:25:10.266Z] > git checkout -f 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 # timeout=10 [2023-06-20T21:25:10.342Z] > git remote # timeout=10 [2023-06-20T21:25:10.361Z] > git config --get remote.origin.url # timeout=10 [2023-06-20T21:25:10.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-20T21:25:10.394Z] > git merge 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee # timeout=10 [2023-06-20T21:25:10.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-20T21:25:10.444Z] > git config core.sparsecheckout # timeout=10 [2023-06-20T21:25:10.459Z] > git checkout -f 45f96cee9b3bfb24d6a9a1c9a26930503c2820b8 # timeout=10 [2023-06-20T21:25:13.822Z] 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 [2023-06-20T21:25:14.816Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-20T21:25:14.816Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-20T21:25:14.816Z] Dload Upload Total Spent Left Speed [2023-06-20T21:25:14.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 55199 0 --:--:-- --:--:-- --:--:-- 55199 [Pipeline] sh [2023-06-20T21:25:15.464Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-20T21:25:15.791Z] + sudo tee /etc/docker/daemon.new [2023-06-20T21:25:15.791Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-20T21:25:15.791Z] { [2023-06-20T21:25:15.791Z] "registry-mirrors": [ [2023-06-20T21:25:15.791Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-20T21:25:15.791Z] ], [2023-06-20T21:25:15.791Z] "bip": "10.250.0.254/24", [2023-06-20T21:25:15.791Z] "hosts": [ [2023-06-20T21:25:15.791Z] "tcp://0.0.0.0:5555", [2023-06-20T21:25:15.791Z] "unix:///var/run/docker.sock" [2023-06-20T21:25:15.791Z] ], [2023-06-20T21:25:15.791Z] "mtu": 1458, [2023-06-20T21:25:15.791Z] "selinux-enabled": true, [2023-06-20T21:25:15.791Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-20T21:25:15.791Z] } [Pipeline] sh [2023-06-20T21:25:16.114Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-20T21:25:16.434Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-20T21:25:34.685Z] provisioning config files... [2023-06-20T21:25:34.710Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config16029910659927144617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:25:35.056Z] ---> docker-login.sh [2023-06-20T21:25:35.056Z] nexus3.edgexfoundry.org:10001 [2023-06-20T21:25:35.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:25:35.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:25:35.598Z] Configure a credential helper to remove this warning. See [2023-06-20T21:25:35.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:25:35.598Z] [2023-06-20T21:25:35.598Z] Login Succeeded [2023-06-20T21:25:35.598Z] nexus3.edgexfoundry.org:10002 [2023-06-20T21:25:35.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:25:35.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:25:35.866Z] Configure a credential helper to remove this warning. See [2023-06-20T21:25:35.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:25:35.866Z] [2023-06-20T21:25:35.866Z] Login Succeeded [2023-06-20T21:25:35.866Z] nexus3.edgexfoundry.org:10003 [2023-06-20T21:25:36.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:25:36.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:25:36.404Z] Configure a credential helper to remove this warning. See [2023-06-20T21:25:36.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:25:36.404Z] [2023-06-20T21:25:36.404Z] Login Succeeded [2023-06-20T21:25:36.404Z] nexus3.edgexfoundry.org:10004 [2023-06-20T21:25:36.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:25:36.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:25:36.673Z] Configure a credential helper to remove this warning. See [2023-06-20T21:25:36.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:25:36.673Z] [2023-06-20T21:25:36.673Z] Login Succeeded [2023-06-20T21:25:36.673Z] docker.io [2023-06-20T21:25:36.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-20T21:25:37.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-20T21:25:37.212Z] Configure a credential helper to remove this warning. See [2023-06-20T21:25:37.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-20T21:25:37.212Z] [2023-06-20T21:25:37.212Z] Login Succeeded [2023-06-20T21:25:37.212Z] ---> docker-login.sh ends [Pipeline] } [2023-06-20T21:25:37.224Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-20T21:25:37.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-20T21:25:37.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-20T21:25:37.490Z] ========================================================= [2023-06-20T21:25:37.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-20T21:25:37.490Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-20T21:25:37.839Z] + 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 . [2023-06-20T21:25:37.839Z] Sending build context to Docker daemon 86.02kB [2023-06-20T21:25:38.112Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-20T21:25:38.112Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-20T21:25:38.112Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-20T21:25:38.112Z] c41833b44d91: Pulling fs layer [2023-06-20T21:25:38.112Z] ed15518f5707: Pulling fs layer [2023-06-20T21:25:38.112Z] feae8fd75edb: Pulling fs layer [2023-06-20T21:25:38.112Z] 242c74f7c9fa: Pulling fs layer [2023-06-20T21:25:38.112Z] 3cdef696dda3: Pulling fs layer [2023-06-20T21:25:38.112Z] 2ced38df9373: Pulling fs layer [2023-06-20T21:25:38.112Z] 58f1dce35555: Pulling fs layer [2023-06-20T21:25:38.112Z] 3cdef696dda3: Waiting [2023-06-20T21:25:38.112Z] 2ced38df9373: Waiting [2023-06-20T21:25:38.112Z] 58f1dce35555: Waiting [2023-06-20T21:25:38.112Z] 242c74f7c9fa: Waiting [2023-06-20T21:25:38.384Z] ed15518f5707: Verifying Checksum [2023-06-20T21:25:38.384Z] ed15518f5707: Download complete [2023-06-20T21:25:38.384Z] 242c74f7c9fa: Verifying Checksum [2023-06-20T21:25:38.384Z] 242c74f7c9fa: Download complete [2023-06-20T21:25:38.384Z] 3cdef696dda3: Verifying Checksum [2023-06-20T21:25:38.384Z] 3cdef696dda3: Download complete [2023-06-20T21:25:38.384Z] c41833b44d91: Download complete [2023-06-20T21:25:39.365Z] c41833b44d91: Pull complete [2023-06-20T21:25:39.633Z] 58f1dce35555: Verifying Checksum [2023-06-20T21:25:39.633Z] 58f1dce35555: Download complete [2023-06-20T21:25:39.914Z] ed15518f5707: Pull complete [2023-06-20T21:25:40.883Z] 2ced38df9373: Verifying Checksum [2023-06-20T21:25:40.883Z] 2ced38df9373: Download complete [2023-06-20T21:25:40.883Z] feae8fd75edb: Download complete [2023-06-20T21:25:53.216Z] feae8fd75edb: Pull complete [2023-06-20T21:25:53.216Z] 242c74f7c9fa: Pull complete [2023-06-20T21:25:53.216Z] 3cdef696dda3: Pull complete [2023-06-20T21:25:58.570Z] 2ced38df9373: Pull complete [2023-06-20T21:26:01.171Z] 58f1dce35555: Pull complete [2023-06-20T21:26:01.171Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-20T21:26:01.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-20T21:26:01.171Z] ---> fadd8f120f05 [2023-06-20T21:26:01.171Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-06-20T21:26:03.122Z] ---> Running in 768e5c820d04 [2023-06-20T21:26:03.122Z] Removing intermediate container 768e5c820d04 [2023-06-20T21:26:03.122Z] ---> 12c0cb06583b [2023-06-20T21:26:03.122Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-20T21:26:03.122Z] ---> Running in be71b7ef827d [2023-06-20T21:26:03.389Z] Removing intermediate container be71b7ef827d [2023-06-20T21:26:03.389Z] ---> c9112ea74574 [2023-06-20T21:26:03.389Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-20T21:26:03.389Z] ---> Running in 314c2b22b5b7 [2023-06-20T21:26:03.977Z] Removing intermediate container 314c2b22b5b7 [2023-06-20T21:26:03.978Z] ---> 66cbbee0f10f [2023-06-20T21:26:03.978Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-20T21:26:03.978Z] ---> Running in 10f0042f9496 [2023-06-20T21:26:04.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-20T21:26:05.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-20T21:26:06.490Z] OK: 263 MiB in 53 packages [2023-06-20T21:26:07.075Z] Removing intermediate container 10f0042f9496 [2023-06-20T21:26:07.075Z] ---> ef23d3bbf2dd [2023-06-20T21:26:07.075Z] Step 7/12 : WORKDIR /app [2023-06-20T21:26:07.342Z] ---> Running in 2404dbd3056e [2023-06-20T21:26:07.610Z] Removing intermediate container 2404dbd3056e [2023-06-20T21:26:07.610Z] ---> f39ed297a836 [2023-06-20T21:26:07.610Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-20T21:26:07.879Z] ---> 4616c4167e73 [2023-06-20T21:26:07.879Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-20T21:26:08.150Z] ---> Running in 70c4e0a9eab7 [2023-06-20T21:27:16.038Z] Removing intermediate container 70c4e0a9eab7 [2023-06-20T21:27:16.038Z] ---> 0e64999b01cb [2023-06-20T21:27:16.038Z] Step 10/12 : COPY . . [2023-06-20T21:27:16.038Z] ---> d604c42dbed3 [2023-06-20T21:27:16.038Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-20T21:27:16.038Z] ---> Running in bd56edacaade [2023-06-20T21:27:16.038Z] Removing intermediate container bd56edacaade [2023-06-20T21:27:16.038Z] ---> 2896c7b204cc [2023-06-20T21:27:16.038Z] Step 12/12 : RUN $MAKE [2023-06-20T21:27:16.038Z] ---> Running in 0b5f3fcf852a [2023-06-20T21:27:16.038Z] noop [2023-06-20T21:27:16.038Z] Removing intermediate container 0b5f3fcf852a [2023-06-20T21:27:16.038Z] ---> a4f49ababb9f [2023-06-20T21:27:16.039Z] Successfully built a4f49ababb9f [2023-06-20T21:27:16.039Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-20T21:27:16.386Z] + docker inspect -f . ci-base-image-arm64 [2023-06-20T21:27:16.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-20T21:27:16.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-18930 does not seem to be running inside a container [2023-06-20T21:27:16.641Z] $ 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 [2023-06-20T21:27:17.733Z] $ docker top 25affe2554604d1396a8535d885c536b5bcb1748a8a23be8498ee57e95f1cff4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-20T21:27:18.549Z] + go version [2023-06-20T21:27:18.549Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-20T21:27:18.569Z] $ docker stop --time=1 25affe2554604d1396a8535d885c536b5bcb1748a8a23be8498ee57e95f1cff4 [2023-06-20T21:27:20.122Z] $ 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 [2023-06-20T21:27:20.648Z] + docker inspect -f . ci-base-image-arm64 [2023-06-20T21:27:20.649Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-20T21:27:20.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-18930 does not seem to be running inside a container [2023-06-20T21:27:20.881Z] $ 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 [2023-06-20T21:27:22.023Z] $ docker top bace81f9c0061fdc184a9e8c681d8c8e7a3abc77bb8e80d4c8b6500ebab5449a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-20T21:27:22.850Z] + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh [2023-06-20T21:27:23.174Z] + make test [2023-06-20T21:27:23.174Z] go test -race -coverprofile=coverage.out ./... [2023-06-20T21:28:02.039Z] ? github.com/edgexfoundry/app-service-configurable [no test files] [2023-06-20T21:28:02.039Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-20T21:28:02.039Z] go vet ./... [2023-06-20T21:28:24.091Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-20T21:28:24.357Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-20T21:28:24.357Z] ./bin/test-attribution-txt.sh [2023-06-20T21:28:24.357Z] make: ./bin/test-attribution-txt.sh: No such file or directory [2023-06-20T21:28:24.357Z] make: *** [makefile:59: test] Error 127 [Pipeline] } [2023-06-20T21:28:24.378Z] $ docker stop --time=1 bace81f9c0061fdc184a9e8c681d8c8e7a3abc77bb8e80d4c8b6500ebab5449a [2023-06-20T21:28:26.103Z] $ 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 [2023-06-20T21:28:26.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-20T21:28:26.864Z] [2023-06-20T21:28:26.864Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-20T21:28:27.205Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-20T21:28:27.471Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-20T21:28:27.471Z] 8998bd30e6a1: Pulling fs layer [2023-06-20T21:28:27.471Z] 04944245beec: Pulling fs layer [2023-06-20T21:28:27.471Z] 699f458cf7ca: Pulling fs layer [2023-06-20T21:28:27.471Z] 765212b225bb: Pulling fs layer [2023-06-20T21:28:27.471Z] f23df028b6ca: Pulling fs layer [2023-06-20T21:28:27.471Z] d65c8cfc05b1: Pulling fs layer [2023-06-20T21:28:27.471Z] 2437ff75d9bd: Pulling fs layer [2023-06-20T21:28:27.471Z] f23df028b6ca: Waiting [2023-06-20T21:28:27.471Z] 2437ff75d9bd: Waiting [2023-06-20T21:28:27.471Z] d65c8cfc05b1: Waiting [2023-06-20T21:28:27.471Z] 765212b225bb: Waiting [2023-06-20T21:28:27.471Z] 04944245beec: Verifying Checksum [2023-06-20T21:28:27.471Z] 04944245beec: Download complete [2023-06-20T21:28:27.471Z] 765212b225bb: Verifying Checksum [2023-06-20T21:28:27.471Z] 765212b225bb: Download complete [2023-06-20T21:28:27.471Z] f23df028b6ca: Verifying Checksum [2023-06-20T21:28:27.471Z] f23df028b6ca: Download complete [2023-06-20T21:28:27.471Z] d65c8cfc05b1: Verifying Checksum [2023-06-20T21:28:27.471Z] d65c8cfc05b1: Download complete [2023-06-20T21:28:27.740Z] 699f458cf7ca: Verifying Checksum [2023-06-20T21:28:27.741Z] 699f458cf7ca: Download complete [2023-06-20T21:28:28.018Z] 8998bd30e6a1: Verifying Checksum [2023-06-20T21:28:28.018Z] 8998bd30e6a1: Download complete [2023-06-20T21:28:30.609Z] 2437ff75d9bd: Verifying Checksum [2023-06-20T21:28:32.021Z] 8998bd30e6a1: Pull complete [2023-06-20T21:28:32.289Z] 04944245beec: Pull complete [2023-06-20T21:28:33.699Z] 699f458cf7ca: Pull complete [2023-06-20T21:28:33.699Z] 765212b225bb: Pull complete [2023-06-20T21:28:34.659Z] f23df028b6ca: Pull complete [2023-06-20T21:28:34.659Z] d65c8cfc05b1: Pull complete [2023-06-20T21:28:49.656Z] 2437ff75d9bd: Pull complete [2023-06-20T21:28:49.656Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-20T21:28:49.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-20T21:28:49.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-20T21:28:49.838Z] prd-ubuntu20.04-docker-arm64-4c-16g-18930 does not seem to be running inside a container [2023-06-20T21:28:49.903Z] $ 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 [2023-06-20T21:28:52.307Z] $ docker top 503a9cc1cd2feaade9e96bc5cefb38e47dbd1729e412c3c6df60fbffbadb623d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:28:53.121Z] ---> job-cost.sh [2023-06-20T21:28:53.122Z] lf-activate-venv: SKIPPING [2023-06-20T21:28:53.122Z] INFO: No Stack... [2023-06-20T21:28:53.387Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-20T21:28:54.343Z] INFO: Archiving Costs [Pipeline] sh [2023-06-20T21:28:54.662Z] + cat /w/workspace/app-record-replay/2/archives/cost.csv [2023-06-20T21:28:54.662Z] + cut -d, -f6 [Pipeline] lock [2023-06-20T21:28:54.790Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [2023-06-20T21:28:54.798Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] did not exist. Created. [2023-06-20T21:28:54.798Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-20T21:28:55.156Z] /w/workspace/app-record-replay/2@tmp/durable-03f1647c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-20T21:28:55.525Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-20T21:28:55.548Z] Warning: overwriting stash ‘stack-cost’ [2023-06-20T21:28:56.000Z] Stashed 1 file(s) [Pipeline] } [2023-06-20T21:28:56.011Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-4-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-20T21:28:56.035Z] $ docker stop --time=1 503a9cc1cd2feaade9e96bc5cefb38e47dbd1729e412c3c6df60fbffbadb623d [2023-06-20T21:28:57.525Z] $ 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] } [2023-06-20T21:28:57.781Z] 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 [2023-06-20T21:28:58.490Z] + [ -d /w/workspace/exfoundry_app-record-replay_PR-4/archives ] [2023-06-20T21:28:58.490Z] + ls -al /w/workspace/exfoundry_app-record-replay_PR-4/archives [2023-06-20T21:28:58.490Z] total 16 [2023-06-20T21:28:58.490Z] drwxr-xr-x 3 root root 4096 Jun 20 21:24 . [2023-06-20T21:28:58.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 21:24 .. [2023-06-20T21:28:58.490Z] drwxr-xr-x 2 root root 4096 Jun 20 21:24 cost [2023-06-20T21:28:58.490Z] -rw-r--r-- 1 root root 87 Jun 20 21:24 cost.csv [2023-06-20T21:28:58.490Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_app-record-replay_PR-4/archives [2023-06-20T21:28:58.490Z] + ls -al /w/workspace/exfoundry_app-record-replay_PR-4/archives [2023-06-20T21:28:58.490Z] total 16 [2023-06-20T21:28:58.490Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 21:24 . [2023-06-20T21:28:58.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 21:24 .. [2023-06-20T21:28:58.490Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 21:24 cost [2023-06-20T21:28:58.490Z] -rw-r--r-- 1 jenkins jenkins 87 Jun 20 21:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:28:58.781Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:28:59.641Z] ---> package-listing.sh [2023-06-20T21:28:59.641Z] ++ facter osfamily [2023-06-20T21:28:59.641Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-20T21:28:59.900Z] + OS_FAMILY=debian [2023-06-20T21:28:59.900Z] + workspace=/w/workspace/exfoundry_app-record-replay_PR-4 [2023-06-20T21:28:59.900Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-20T21:28:59.900Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-20T21:28:59.900Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-20T21:28:59.900Z] + PACKAGES=/tmp/packages_start.txt [2023-06-20T21:28:59.900Z] + '[' /w/workspace/exfoundry_app-record-replay_PR-4 ']' [2023-06-20T21:28:59.900Z] + PACKAGES=/tmp/packages_end.txt [2023-06-20T21:28:59.900Z] + case "${OS_FAMILY}" in [2023-06-20T21:28:59.900Z] + dpkg -l [2023-06-20T21:28:59.900Z] + grep '^ii' [2023-06-20T21:28:59.900Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-20T21:28:59.900Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-20T21:28:59.900Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-20T21:28:59.900Z] + '[' /w/workspace/exfoundry_app-record-replay_PR-4 ']' [2023-06-20T21:28:59.900Z] + mkdir -p /w/workspace/exfoundry_app-record-replay_PR-4/archives/ [2023-06-20T21:28:59.900Z] + 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 [2023-06-20T21:28:59.912Z] 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 [2023-06-20T21:29:00.190Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-20T21:29:00.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-20T21:29:00.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-20T21:29:00.819Z] prd-ubuntu20.04-docker-8c-8g-18929 does not seem to be running inside a container [2023-06-20T21:29:00.848Z] $ 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 [2023-06-20T21:29:01.034Z] $ docker top 75ec9c52ff11e603141140f910f3d26f33325c17dce824f9dadd30a615bfe18f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-20T21:29:01.362Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-20T21:29:01.652Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-20T21:29:01.938Z] + ls /var/log/sa-host [2023-06-20T21:29:01.938Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-20T21:29:02.092Z] provisioning config files... [2023-06-20T21:29:02.100Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config13666657592870816216tmp [Pipeline] { [Pipeline] echo [2023-06-20T21:29:02.112Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:29:02.396Z] ---> create-netrc.sh [Pipeline] } [2023-06-20T21:29:02.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:29:02.741Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-20T21:29:02.750Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:29:03.035Z] ---> sudo-logs.sh [2023-06-20T21:29:03.035Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-20T21:29:03.065Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:29:03.350Z] ---> job-cost.sh [2023-06-20T21:29:03.350Z] lf-activate-venv: SKIPPING [2023-06-20T21:29:03.350Z] DEBUG: total: 0.2199999988079071 [2023-06-20T21:29:03.350Z] INFO: Retrieving Stack Cost... [2023-06-20T21:29:03.609Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-20T21:29:03.868Z] INFO: Archiving Costs [Pipeline] echo [2023-06-20T21:29:03.882Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-20T21:29:04.163Z] ---> logs-deploy.sh [2023-06-20T21:29:04.164Z] lf-activate-venv: SKIPPING [2023-06-20T21:29:04.164Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-4/2 [2023-06-20T21:29:04.164Z] INFO: archiving workspace using pattern(s): [2023-06-20T21:29:05.100Z] Archives upload complete. [2023-06-20T21:29:05.100Z] INFO: archiving logs to Nexus