Pull request #42 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 marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at e3cafd29cc51be544a464c6e881622e5acd656ed rather than 36ec209a631cbee20cf2006b63879b11f2a07e10 Obtained Jenkinsfile from e3cafd29cc51be544a464c6e881622e5acd656ed 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-ssh8844411849370292459.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-ssh11664140539390509779.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-42/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-42/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6077133308337839319.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-ssh3641179263534869999.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-42/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-42/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13422541920158919828.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 Running on prd-ubuntu20.04-docker-8c-8g-1570 in /w/workspace/xfoundry_app-record-replay_PR-42 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-42 # 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 e3cafd29cc51be544a464c6e881622e5acd656ed into PR head commit 36ec209a631cbee20cf2006b63879b11f2a07e10 Merge succeeded, producing cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a Checking out Revision cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a (PR-42) > 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/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36ec209a631cbee20cf2006b63879b11f2a07e10 # 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 e3cafd29cc51be544a464c6e881622e5acd656ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a # timeout=10 Commit message: "Merge commit 'e3cafd29cc51be544a464c6e881622e5acd656ed' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-19T19:20:01.074Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-19T19:20:01.135Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-19T19:20:01.148Z] ========================================================= [2023-07-19T19:20:01.148Z] EdgeX Global Pipelines Version Info [2023-07-19T19:20:01.148Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f306e97ecb67d7ba36743741262978a56ccb0694 # timeout=10 [2023-07-19T19:20:02.217Z] ------------------- [2023-07-19T19:20:02.218Z] stable info: [2023-07-19T19:20:02.218Z] ------------------- [2023-07-19T19:20:02.218Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-19T19:20:02.218Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T19:20:02.218Z] Message: update stable to v1.0.250 [2023-07-19T19:20:02.477Z] ------------------- [2023-07-19T19:20:02.477Z] experimental info: [2023-07-19T19:20:02.477Z] ------------------- [2023-07-19T19:20:02.477Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-19T19:20:02.477Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-19T19:20:02.477Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-19T19:20:02.665Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-07-19T19:20:02.681Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-07-19T19:20:02.697Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-19T19:20:02.711Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-19T19:20:02.723Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-19T19:20:02.736Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-19T19:20:02.749Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-19T19:20:02.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-19T19:20:02.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-19T19:20:02.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-19T19:20:02.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-19T19:20:02.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-07-19T19:20:02.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-19T19:20:02.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-19T19:20:02.854Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T19:20:02.865Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-19T19:20:02.878Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T19:20:02.891Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-19T19:20:02.903Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-19T19:20:02.913Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-19T19:20:02.923Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-19T19:20:02.934Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-19T19:20:02.942Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-19T19:20:02.951Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-19T19:20:02.960Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-19T19:20:02.971Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-19T19:20:02.984Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-19T19:20:03.001Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo [2023-07-19T19:20:03.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo [2023-07-19T19:20:03.034Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo [2023-07-19T19:20:03.043Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [Pipeline] echo [2023-07-19T19:20:03.055Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cda3d76 [Pipeline] echo [2023-07-19T19:20:03.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T19:20:03.110Z] provisioning config files... [2023-07-19T19:20:03.124Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config12270252494479045298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:20:03.422Z] ---> docker-login.sh [2023-07-19T19:20:03.422Z] nexus3.edgexfoundry.org:10001 [2023-07-19T19:20:03.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:03.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:03.682Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:03.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:03.682Z] [2023-07-19T19:20:03.682Z] Login Succeeded [2023-07-19T19:20:03.682Z] nexus3.edgexfoundry.org:10002 [2023-07-19T19:20:03.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:03.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:03.942Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:03.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:03.942Z] [2023-07-19T19:20:03.942Z] Login Succeeded [2023-07-19T19:20:03.942Z] nexus3.edgexfoundry.org:10003 [2023-07-19T19:20:03.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:03.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:03.942Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:03.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:03.942Z] [2023-07-19T19:20:03.942Z] Login Succeeded [2023-07-19T19:20:03.942Z] nexus3.edgexfoundry.org:10004 [2023-07-19T19:20:03.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:03.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:03.942Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:03.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:03.942Z] [2023-07-19T19:20:03.942Z] Login Succeeded [2023-07-19T19:20:03.942Z] docker.io [2023-07-19T19:20:04.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:04.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:04.773Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:04.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:04.773Z] [2023-07-19T19:20:04.773Z] Login Succeeded [2023-07-19T19:20:04.773Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T19:20:04.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-19T19:20:05.144Z] + git rev-list -1 --merges cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a~1..cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [Pipeline] echo [2023-07-19T19:20:05.182Z] -----------> git rev-list -1 --merges cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a~1..cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [2023-07-19T19:20:05.183Z] cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [false] [Pipeline] sh [2023-07-19T19:20:05.471Z] + git log --format=format:%s -1 cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [Pipeline] echo [2023-07-19T19:20:05.486Z] ========================================================= [2023-07-19T19:20:05.486Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-19T19:20:05.487Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T19:20:05.803Z] + git log --format=format:%s -1 cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [Pipeline] echo [2023-07-19T19:20:05.813Z] [semverPrep] GIT_COMMIT: cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a, Commit Message: Merge commit 'e3cafd29cc51be544a464c6e881622e5acd656ed' into HEAD [Pipeline] echo [2023-07-19T19:20:05.825Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-19T19:20:06.193Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-19T19:20:06.193Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-19T19:20:06.193Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-19T19:20:06.193Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-19T19:20:06.193Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-19T19:20:06.193Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-19T19:20:06.193Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:20:06.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T19:20:06.621Z] [2023-07-19T19:20:06.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:20:06.924Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T19:20:06.924Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-19T19:20:06.924Z] b85a868b505f: Pulling fs layer [2023-07-19T19:20:06.924Z] e2be974225ed: Pulling fs layer [2023-07-19T19:20:06.924Z] 339a4e72a1f5: Pulling fs layer [2023-07-19T19:20:06.924Z] 988bab9f4d93: Pulling fs layer [2023-07-19T19:20:06.924Z] 1469e6f7b9e6: Pulling fs layer [2023-07-19T19:20:06.924Z] eaf3925da568: Pulling fs layer [2023-07-19T19:20:06.924Z] bab4dde63d76: Pulling fs layer [2023-07-19T19:20:06.924Z] bde34c3a00c8: Pulling fs layer [2023-07-19T19:20:06.924Z] b352a97aabf1: Pulling fs layer [2023-07-19T19:20:06.924Z] 4872d77fe225: Pulling fs layer [2023-07-19T19:20:06.924Z] 5851b861e8e6: Pulling fs layer [2023-07-19T19:20:06.924Z] b352a97aabf1: Waiting [2023-07-19T19:20:06.924Z] 1469e6f7b9e6: Waiting [2023-07-19T19:20:06.924Z] 4872d77fe225: Waiting [2023-07-19T19:20:06.924Z] 5851b861e8e6: Waiting [2023-07-19T19:20:06.924Z] eaf3925da568: Waiting [2023-07-19T19:20:06.924Z] bab4dde63d76: Waiting [2023-07-19T19:20:06.924Z] bde34c3a00c8: Waiting [2023-07-19T19:20:06.924Z] e2be974225ed: Download complete [2023-07-19T19:20:06.924Z] 988bab9f4d93: Verifying Checksum [2023-07-19T19:20:06.924Z] 988bab9f4d93: Download complete [2023-07-19T19:20:06.924Z] 1469e6f7b9e6: Verifying Checksum [2023-07-19T19:20:06.924Z] 1469e6f7b9e6: Download complete [2023-07-19T19:20:07.183Z] 339a4e72a1f5: Verifying Checksum [2023-07-19T19:20:07.183Z] 339a4e72a1f5: Download complete [2023-07-19T19:20:07.183Z] eaf3925da568: Verifying Checksum [2023-07-19T19:20:07.183Z] eaf3925da568: Download complete [2023-07-19T19:20:07.183Z] bde34c3a00c8: Download complete [2023-07-19T19:20:07.183Z] b352a97aabf1: Verifying Checksum [2023-07-19T19:20:07.183Z] b352a97aabf1: Download complete [2023-07-19T19:20:07.183Z] 4872d77fe225: Verifying Checksum [2023-07-19T19:20:07.183Z] 4872d77fe225: Download complete [2023-07-19T19:20:07.183Z] 5851b861e8e6: Download complete [2023-07-19T19:20:07.183Z] b85a868b505f: Verifying Checksum [2023-07-19T19:20:07.183Z] b85a868b505f: Download complete [2023-07-19T19:20:07.442Z] bab4dde63d76: Verifying Checksum [2023-07-19T19:20:07.442Z] bab4dde63d76: Download complete [2023-07-19T19:20:08.377Z] b85a868b505f: Pull complete [2023-07-19T19:20:08.377Z] e2be974225ed: Pull complete [2023-07-19T19:20:08.945Z] 339a4e72a1f5: Pull complete [2023-07-19T19:20:08.945Z] 988bab9f4d93: Pull complete [2023-07-19T19:20:09.204Z] 1469e6f7b9e6: Pull complete [2023-07-19T19:20:09.204Z] eaf3925da568: Pull complete [2023-07-19T19:20:11.109Z] bab4dde63d76: Pull complete [2023-07-19T19:20:11.110Z] bde34c3a00c8: Pull complete [2023-07-19T19:20:11.110Z] b352a97aabf1: Pull complete [2023-07-19T19:20:11.110Z] 4872d77fe225: Pull complete [2023-07-19T19:20:11.110Z] 5851b861e8e6: Pull complete [2023-07-19T19:20:11.110Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-19T19:20:11.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-19T19:20:11.110Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T19:20:11.206Z] prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container [2023-07-19T19:20:11.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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-07-19T19:20:12.258Z] $ docker top b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 -eo pid,comm [2023-07-19T19:20:12.311Z] 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-07-19T19:20:12.311Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-19T19:20:12.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T19:20:12.350Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T19:20:12.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T19:20:12.469Z] $ docker exec b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 ssh-agent [2023-07-19T19:20:12.581Z] SSH_AUTH_SOCK=/tmp/ssh-Boozmg6LZOse/agent.31 [2023-07-19T19:20:12.581Z] SSH_AGENT_PID=37 [2023-07-19T19:20:12.586Z] Running ssh-add (command line suppressed) [2023-07-19T19:20:12.673Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_4983056345239576815.key (/w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_4983056345239576815.key) [2023-07-19T19:20:12.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T19:20:12.977Z] + git tag --points-at HEAD [Pipeline] } [2023-07-19T19:20:12.992Z] $ docker exec --env ******** --env ******** b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 ssh-agent -k [2023-07-19T19:20:13.089Z] unset SSH_AUTH_SOCK; [2023-07-19T19:20:13.090Z] unset SSH_AGENT_PID; [2023-07-19T19:20:13.090Z] echo Agent pid 37 killed; [2023-07-19T19:20:13.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-19T19:20:13.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-19T19:20:13.126Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-19T19:20:13.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-19T19:20:13.237Z] $ docker exec b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 ssh-agent [2023-07-19T19:20:13.340Z] SSH_AUTH_SOCK=/tmp/ssh-mfKNs5ptXktx/agent.69 [2023-07-19T19:20:13.340Z] SSH_AGENT_PID=75 [2023-07-19T19:20:13.345Z] Running ssh-add (command line suppressed) [2023-07-19T19:20:13.438Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_17759179125840949810.key (/w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_17759179125840949810.key) [2023-07-19T19:20:13.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-19T19:20:13.745Z] + git semver init [2023-07-19T19:20:14.005Z] 2023-07-19 19:20:13,913 [run_init] DEBUG init version:0.0.0 force:False [2023-07-19T19:20:14.005Z] 2023-07-19 19:20:13,914 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-42/.semver [2023-07-19T19:20:14.005Z] 2023-07-19 19:20:13,914 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-42/.semver [2023-07-19T19:20:14.005Z] 2023-07-19 19:20:13,915 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-42/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-42, universal_newlines=False, shell=None, istream=None) [2023-07-19T19:20:14.573Z] 2023-07-19 19:20:14,490 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-42/.git/info/exclude [2023-07-19T19:20:14.573Z] 2023-07-19 19:20:14,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-42/.semver/PR-42 with force:False [2023-07-19T19:20:14.573Z] 2023-07-19 19:20:14,491 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-42/.semver/PR-42 [2023-07-19T19:20:14.573Z] 2023-07-19 19:20:14,494 [execute] INFO git cat-file --batch-check [2023-07-19T19:20:14.573Z] 2023-07-19 19:20:14,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-42/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T19:20:14.573Z] 2023-07-19 19:20:14,501 [execute] INFO git cat-file --batch [2023-07-19T19:20:14.573Z] 2023-07-19 19:20:14,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-42/.semver, universal_newlines=False, shell=None, istream=) [2023-07-19T19:20:14.573Z] 2023-07-19 19:20:14,506 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-42/.semver/PR-42 [2023-07-19T19:20:14.573Z] 0.0.0 [Pipeline] } [2023-07-19T19:20:14.581Z] $ docker exec --env ******** --env ******** b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 ssh-agent -k [2023-07-19T19:20:14.665Z] unset SSH_AUTH_SOCK; [2023-07-19T19:20:14.665Z] unset SSH_AGENT_PID; [2023-07-19T19:20:14.666Z] echo Agent pid 75 killed; [2023-07-19T19:20:14.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-19T19:20:14.977Z] + git semver [Pipeline] } [2023-07-19T19:20:15.250Z] $ docker stop --time=1 b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 [2023-07-19T19:20:16.504Z] $ docker rm -f --volumes b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-19T19:20:16.836Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-19T19:20:17.030Z] Stashed 1 file(s) [Pipeline] echo [2023-07-19T19:20:17.033Z] [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-07-19T19:20:17.140Z] provisioning config files... [2023-07-19T19:20:17.149Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config6027026369881539940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:20:17.443Z] ---> docker-login.sh [2023-07-19T19:20:17.443Z] nexus3.edgexfoundry.org:10001 [2023-07-19T19:20:17.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:17.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:17.444Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:17.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:17.444Z] [2023-07-19T19:20:17.444Z] Login Succeeded [2023-07-19T19:20:17.444Z] nexus3.edgexfoundry.org:10002 [2023-07-19T19:20:17.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:17.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:17.444Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:17.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:17.444Z] [2023-07-19T19:20:17.444Z] Login Succeeded [2023-07-19T19:20:17.444Z] nexus3.edgexfoundry.org:10003 [2023-07-19T19:20:17.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:17.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:17.703Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:17.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:17.703Z] [2023-07-19T19:20:17.703Z] Login Succeeded [2023-07-19T19:20:17.703Z] nexus3.edgexfoundry.org:10004 [2023-07-19T19:20:17.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:17.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:17.703Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:17.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:17.703Z] [2023-07-19T19:20:17.703Z] Login Succeeded [2023-07-19T19:20:17.703Z] docker.io [2023-07-19T19:20:17.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:20:17.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:20:17.963Z] Configure a credential helper to remove this warning. See [2023-07-19T19:20:17.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:20:17.963Z] [2023-07-19T19:20:17.963Z] Login Succeeded [2023-07-19T19:20:17.963Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T19:20:17.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T19:20:18.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T19:20:18.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T19:20:18.103Z] ========================================================= [2023-07-19T19:20:18.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-19T19:20:18.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:20:18.405Z] + 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-07-19T19:20:18.405Z] Sending build context to Docker daemon 351.7kB [2023-07-19T19:20:18.405Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T19:20:18.405Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-19T19:20:18.405Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-19T19:20:18.405Z] 4db1b89c0bd1: Pulling fs layer [2023-07-19T19:20:18.405Z] 6911f1a30b25: Pulling fs layer [2023-07-19T19:20:18.405Z] e194b8c5c2a9: Pulling fs layer [2023-07-19T19:20:18.405Z] 6863d3e3a2b1: Pulling fs layer [2023-07-19T19:20:18.405Z] ec0bb842ea78: Pulling fs layer [2023-07-19T19:20:18.405Z] 40a00589a448: Pulling fs layer [2023-07-19T19:20:18.405Z] 6c08303d61cc: Pulling fs layer [2023-07-19T19:20:18.405Z] 798269fcf238: Pulling fs layer [2023-07-19T19:20:18.405Z] 6863d3e3a2b1: Waiting [2023-07-19T19:20:18.405Z] 6c08303d61cc: Waiting [2023-07-19T19:20:18.405Z] ec0bb842ea78: Waiting [2023-07-19T19:20:18.405Z] 798269fcf238: Waiting [2023-07-19T19:20:18.405Z] 40a00589a448: Waiting [2023-07-19T19:20:18.405Z] 6911f1a30b25: Download complete [2023-07-19T19:20:18.405Z] 6863d3e3a2b1: Verifying Checksum [2023-07-19T19:20:18.405Z] 6863d3e3a2b1: Download complete [2023-07-19T19:20:18.405Z] ec0bb842ea78: Verifying Checksum [2023-07-19T19:20:18.405Z] ec0bb842ea78: Download complete [2023-07-19T19:20:18.405Z] 4db1b89c0bd1: Verifying Checksum [2023-07-19T19:20:18.405Z] 4db1b89c0bd1: Download complete [2023-07-19T19:20:18.405Z] 40a00589a448: Verifying Checksum [2023-07-19T19:20:18.405Z] 40a00589a448: Download complete [2023-07-19T19:20:18.665Z] 4db1b89c0bd1: Pull complete [2023-07-19T19:20:18.665Z] 6911f1a30b25: Pull complete [2023-07-19T19:20:19.234Z] e194b8c5c2a9: Verifying Checksum [2023-07-19T19:20:19.234Z] e194b8c5c2a9: Download complete [2023-07-19T19:20:19.234Z] 798269fcf238: Download complete [2023-07-19T19:20:19.492Z] 6c08303d61cc: Verifying Checksum [2023-07-19T19:20:19.492Z] 6c08303d61cc: Download complete [2023-07-19T19:20:22.025Z] e194b8c5c2a9: Pull complete [2023-07-19T19:20:22.025Z] 6863d3e3a2b1: Pull complete [2023-07-19T19:20:22.025Z] ec0bb842ea78: Pull complete [2023-07-19T19:20:22.285Z] 40a00589a448: Pull complete [2023-07-19T19:20:24.186Z] 6c08303d61cc: Pull complete [2023-07-19T19:20:25.121Z] 798269fcf238: Pull complete [2023-07-19T19:20:25.121Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-19T19:20:25.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-19T19:20:25.121Z] ---> ec979cd7f677 [2023-07-19T19:20:25.121Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-19T19:20:26.498Z] ---> Running in ab891c4dac31 [2023-07-19T19:20:26.498Z] Removing intermediate container ab891c4dac31 [2023-07-19T19:20:26.498Z] ---> 2c70896e83f9 [2023-07-19T19:20:26.498Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T19:20:26.498Z] ---> Running in 6ab1c52ac97d [2023-07-19T19:20:26.498Z] Removing intermediate container 6ab1c52ac97d [2023-07-19T19:20:26.498Z] ---> a4ca1a3ea6c2 [2023-07-19T19:20:26.498Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-19T19:20:26.498Z] ---> Running in 8d3cb69a8722 [2023-07-19T19:20:26.498Z] Removing intermediate container 8d3cb69a8722 [2023-07-19T19:20:26.498Z] ---> 56fa3b67ff00 [2023-07-19T19:20:26.498Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T19:20:26.498Z] ---> Running in 6da48304707a [2023-07-19T19:20:26.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-19T19:20:27.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-19T19:20:27.274Z] OK: 265 MiB in 53 packages [2023-07-19T19:20:27.533Z] Removing intermediate container 6da48304707a [2023-07-19T19:20:27.533Z] ---> 06b3090798d6 [2023-07-19T19:20:27.533Z] Step 7/12 : WORKDIR /app [2023-07-19T19:20:27.533Z] ---> Running in f1e82392eb25 [2023-07-19T19:20:27.533Z] Removing intermediate container f1e82392eb25 [2023-07-19T19:20:27.533Z] ---> a2635e16c473 [2023-07-19T19:20:27.533Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-19T19:20:27.791Z] ---> 2e0a390af345 [2023-07-19T19:20:27.791Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T19:20:27.791Z] ---> Running in 063a367e7d7d [2023-07-19T19:20:32.110Z] Still waiting to schedule task [2023-07-19T19:20:32.110Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-19T19:20:49.724Z] Removing intermediate container 063a367e7d7d [2023-07-19T19:20:49.725Z] ---> 42be39905ef0 [2023-07-19T19:20:49.725Z] Step 10/12 : COPY . . [2023-07-19T19:20:49.725Z] ---> 9780432d4dd5 [2023-07-19T19:20:49.725Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T19:20:49.725Z] ---> Running in c5f831639982 [2023-07-19T19:20:49.725Z] Removing intermediate container c5f831639982 [2023-07-19T19:20:49.725Z] ---> d5df86b386f1 [2023-07-19T19:20:49.725Z] Step 12/12 : RUN $MAKE [2023-07-19T19:20:49.725Z] ---> Running in c86d76dededf [2023-07-19T19:20:49.725Z] noop [2023-07-19T19:20:49.725Z] Removing intermediate container c86d76dededf [2023-07-19T19:20:49.725Z] ---> 546b7bf1e998 [2023-07-19T19:20:49.725Z] Successfully built 546b7bf1e998 [2023-07-19T19:20:49.725Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:20:50.031Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T19:20:50.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T19:20:50.102Z] prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container [2023-07-19T19:20:50.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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-07-19T19:20:50.456Z] $ docker top 776cc72d369782be800b1418fcd4cbc60b2c5bec2c212421c8e6eebe4d6f9ad6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T19:20:50.802Z] + go version [2023-07-19T19:20:50.802Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-19T19:20:50.811Z] $ docker stop --time=1 776cc72d369782be800b1418fcd4cbc60b2c5bec2c212421c8e6eebe4d6f9ad6 [2023-07-19T19:20:52.045Z] $ docker rm -f --volumes 776cc72d369782be800b1418fcd4cbc60b2c5bec2c212421c8e6eebe4d6f9ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:20:52.452Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-19T19:20:52.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T19:20:52.518Z] prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container [2023-07-19T19:20:52.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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-07-19T19:20:52.863Z] $ docker top fd920eb1c1c71885857d28530b879a3f2df242f3bf4d9f071cc6decd3a353764 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T19:20:53.203Z] + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-42 [Pipeline] fileExists [Pipeline] sh [2023-07-19T19:20:53.496Z] + make test [2023-07-19T19:20:53.496Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T19:21:11.573Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-07-19T19:21:11.831Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-07-19T19:21:11.831Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-07-19T19:21:11.831Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-07-19T19:21:11.831Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.060s coverage: 87.5% of statements [2023-07-19T19:21:12.089Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 0.099s coverage: 86.0% of statements [2023-07-19T19:21:12.089Z] ok github.com/edgexfoundry/app-record-replay/internal/data 0.060s coverage: 65.2% of statements [2023-07-19T19:21:34.610Z] go vet ./... [2023-07-19T19:21:35.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T19:21:35.548Z] ./internal/controller/controller.go [2023-07-19T19:21:35.548Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T19:21:35.548Z] make: *** [Makefile:74: test] Error 1 [Pipeline] } [2023-07-19T19:21:35.557Z] $ docker stop --time=1 fd920eb1c1c71885857d28530b879a3f2df242f3bf4d9f071cc6decd3a353764 [2023-07-19T19:21:37.549Z] $ docker rm -f --volumes fd920eb1c1c71885857d28530b879a3f2df242f3bf4d9f071cc6decd3a353764 [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-07-19T19:21:38.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T19:21:38.299Z] [2023-07-19T19:21:38.299Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:21:38.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T19:21:38.600Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-19T19:21:38.600Z] 5eb5b503b376: Pulling fs layer [2023-07-19T19:21:38.600Z] 5c69ac0246d0: Pulling fs layer [2023-07-19T19:21:38.600Z] ec43610c2a17: Pulling fs layer [2023-07-19T19:21:38.600Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-19T19:21:38.600Z] 33b1e0a273af: Pulling fs layer [2023-07-19T19:21:38.600Z] 5d3b04190fa2: Pulling fs layer [2023-07-19T19:21:38.600Z] 2f39f015ded8: Pulling fs layer [2023-07-19T19:21:38.600Z] 33b1e0a273af: Waiting [2023-07-19T19:21:38.600Z] 3a2ae6a8a46f: Waiting [2023-07-19T19:21:38.600Z] 5d3b04190fa2: Waiting [2023-07-19T19:21:38.600Z] 2f39f015ded8: Waiting [2023-07-19T19:21:38.600Z] 5c69ac0246d0: Download complete [2023-07-19T19:21:38.600Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-19T19:21:38.600Z] 3a2ae6a8a46f: Download complete [2023-07-19T19:21:38.600Z] ec43610c2a17: Verifying Checksum [2023-07-19T19:21:38.600Z] ec43610c2a17: Download complete [2023-07-19T19:21:38.600Z] 33b1e0a273af: Verifying Checksum [2023-07-19T19:21:38.600Z] 33b1e0a273af: Download complete [2023-07-19T19:21:38.600Z] 5d3b04190fa2: Verifying Checksum [2023-07-19T19:21:38.600Z] 5d3b04190fa2: Download complete [2023-07-19T19:21:38.858Z] 5eb5b503b376: Verifying Checksum [2023-07-19T19:21:38.858Z] 5eb5b503b376: Download complete [2023-07-19T19:21:39.423Z] 2f39f015ded8: Download complete [2023-07-19T19:21:39.989Z] 5eb5b503b376: Pull complete [2023-07-19T19:21:39.989Z] 5c69ac0246d0: Pull complete [2023-07-19T19:21:40.555Z] ec43610c2a17: Pull complete [2023-07-19T19:21:40.555Z] 3a2ae6a8a46f: Pull complete [2023-07-19T19:21:40.555Z] 33b1e0a273af: Pull complete [2023-07-19T19:21:40.815Z] 5d3b04190fa2: Pull complete [2023-07-19T19:21:45.028Z] 2f39f015ded8: Pull complete [2023-07-19T19:21:45.028Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-19T19:21:45.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T19:21:45.028Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T19:21:45.119Z] prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container [2023-07-19T19:21:45.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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-07-19T19:21:46.071Z] $ docker top fb222c2186f605641ef511d02d416bffae42c51047641f52e5b400cde6fa1d35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:21:46.495Z] ---> job-cost.sh [2023-07-19T19:21:46.495Z] lf-activate-venv: SKIPPING [2023-07-19T19:21:46.495Z] INFO: No Stack... [2023-07-19T19:21:47.065Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T19:21:47.325Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T19:21:47.616Z] + cat /w/workspace/xfoundry_app-record-replay_PR-42/archives/cost.csv [2023-07-19T19:21:47.616Z] + cut -d, -f6 [Pipeline] lock [2023-07-19T19:21:47.631Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [2023-07-19T19:21:47.637Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] did not exist. Created. [2023-07-19T19:21:47.638Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T19:21:47.954Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-19T19:21:47.994Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T19:21:48.003Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T19:21:48.021Z] $ docker stop --time=1 fb222c2186f605641ef511d02d416bffae42c51047641f52e5b400cde6fa1d35 [2023-07-19T19:21:49.162Z] $ docker rm -f --volumes fb222c2186f605641ef511d02d416bffae42c51047641f52e5b400cde6fa1d35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-19T19:21:49.261Z] Failed in branch amd64 [2023-07-19T19:22:02.401Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1573 in /w/workspace/xfoundry_app-record-replay_PR-42 [Pipeline] { [Pipeline] ws [2023-07-19T19:22:02.412Z] Running in /w/workspace/app-record-replay/6 [Pipeline] { [Pipeline] checkout [2023-07-19T19:22:02.452Z] Selected Git installation does not exist. Using Default [2023-07-19T19:22:02.452Z] The recommended git tool is: NONE [2023-07-19T19:22:07.214Z] using credential edgex-jenkins-ssh [2023-07-19T19:22:07.234Z] Cloning the remote Git repository [2023-07-19T19:22:07.267Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-07-19T19:22:07.348Z] > git init /w/workspace/app-record-replay/6 # timeout=10 [2023-07-19T19:22:07.480Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-07-19T19:22:07.481Z] > git --version # timeout=10 [2023-07-19T19:22:07.505Z] > git --version # 'git version 2.25.1' [2023-07-19T19:22:07.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T19:22:07.656Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T19:22:08.240Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-07-19T19:22:08.269Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-19T19:22:09.662Z] Merging remotes/origin/main commit e3cafd29cc51be544a464c6e881622e5acd656ed into PR head commit 36ec209a631cbee20cf2006b63879b11f2a07e10 [2023-07-19T19:22:09.941Z] Merge succeeded, producing 24e6c8e52d33aa27acf8c6b16131979c88d2faff [2023-07-19T19:22:09.941Z] Checking out Revision 24e6c8e52d33aa27acf8c6b16131979c88d2faff (PR-42) [2023-07-19T19:22:09.069Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-07-19T19:22:09.115Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-07-19T19:22:09.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T19:22:09.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-19T19:22:09.674Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T19:22:09.750Z] > git checkout -f 36ec209a631cbee20cf2006b63879b11f2a07e10 # timeout=10 [2023-07-19T19:22:09.826Z] > git remote # timeout=10 [2023-07-19T19:22:09.844Z] > git config --get remote.origin.url # timeout=10 [2023-07-19T19:22:09.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-19T19:22:09.869Z] > git merge e3cafd29cc51be544a464c6e881622e5acd656ed # timeout=10 [2023-07-19T19:22:09.917Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-19T19:22:09.941Z] > git config core.sparsecheckout # timeout=10 [2023-07-19T19:22:09.952Z] > git checkout -f 24e6c8e52d33aa27acf8c6b16131979c88d2faff # timeout=10 [2023-07-19T19:22:13.367Z] Commit message: "Merge commit 'e3cafd29cc51be544a464c6e881622e5acd656ed' into HEAD" [2023-07-19T19:22:13.390Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-19T19:22:13.371Z] > git rev-list --no-walk f306e97ecb67d7ba36743741262978a56ccb0694 # timeout=10 [2023-07-19T19:22:14.317Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-19T19:22:14.317Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-19T19:22:14.317Z] Dload Upload Total Spent Left Speed [2023-07-19T19:22:14.317Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh [2023-07-19T19:22:15.024Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-19T19:22:15.346Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-07-19T19:22:15.347Z] /etc/docker/daemon.new [2023-07-19T19:22:15.347Z] { [2023-07-19T19:22:15.347Z] "registry-mirrors": [ [2023-07-19T19:22:15.347Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-19T19:22:15.347Z] ], [2023-07-19T19:22:15.347Z] "bip": "10.250.0.254/24", [2023-07-19T19:22:15.347Z] "hosts": [ [2023-07-19T19:22:15.347Z] "tcp://0.0.0.0:5555", [2023-07-19T19:22:15.347Z] "unix:///var/run/docker.sock" [2023-07-19T19:22:15.347Z] ], [2023-07-19T19:22:15.347Z] "mtu": 1458, [2023-07-19T19:22:15.347Z] "selinux-enabled": true, [2023-07-19T19:22:15.347Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-19T19:22:15.347Z] } [Pipeline] sh [2023-07-19T19:22:15.675Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-19T19:22:16.000Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T19:22:34.250Z] provisioning config files... [2023-07-19T19:22:34.274Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/6@tmp/config8433386094616450237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:22:34.619Z] ---> docker-login.sh [2023-07-19T19:22:34.619Z] nexus3.edgexfoundry.org:10001 [2023-07-19T19:22:34.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:22:35.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:22:35.170Z] Configure a credential helper to remove this warning. See [2023-07-19T19:22:35.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:22:35.170Z] [2023-07-19T19:22:35.170Z] Login Succeeded [2023-07-19T19:22:35.170Z] nexus3.edgexfoundry.org:10002 [2023-07-19T19:22:35.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:22:35.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:22:35.439Z] Configure a credential helper to remove this warning. See [2023-07-19T19:22:35.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:22:35.439Z] [2023-07-19T19:22:35.439Z] Login Succeeded [2023-07-19T19:22:35.439Z] nexus3.edgexfoundry.org:10003 [2023-07-19T19:22:35.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:22:35.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:22:35.984Z] Configure a credential helper to remove this warning. See [2023-07-19T19:22:35.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:22:35.984Z] [2023-07-19T19:22:35.984Z] Login Succeeded [2023-07-19T19:22:35.984Z] nexus3.edgexfoundry.org:10004 [2023-07-19T19:22:36.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:22:36.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:22:36.262Z] Configure a credential helper to remove this warning. See [2023-07-19T19:22:36.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:22:36.262Z] [2023-07-19T19:22:36.262Z] Login Succeeded [2023-07-19T19:22:36.262Z] docker.io [2023-07-19T19:22:36.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-19T19:22:36.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-19T19:22:36.800Z] Configure a credential helper to remove this warning. See [2023-07-19T19:22:36.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-19T19:22:36.800Z] [2023-07-19T19:22:36.800Z] Login Succeeded [2023-07-19T19:22:36.800Z] ---> docker-login.sh ends [Pipeline] } [2023-07-19T19:22:36.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-19T19:22:37.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T19:22:37.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-19T19:22:37.083Z] ========================================================= [2023-07-19T19:22:37.083Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-19T19:22:37.083Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:22:37.419Z] + 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-07-19T19:22:37.420Z] Sending build context to Docker daemon 163.8kB [2023-07-19T19:22:37.701Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-19T19:22:37.701Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-19T19:22:37.701Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-19T19:22:37.701Z] edb6bdbacee9: Pulling fs layer [2023-07-19T19:22:37.701Z] 5f9638ab2659: Pulling fs layer [2023-07-19T19:22:37.701Z] 8d51d6327a98: Pulling fs layer [2023-07-19T19:22:37.701Z] 8b374f2dd631: Pulling fs layer [2023-07-19T19:22:37.701Z] ec14aa9079de: Pulling fs layer [2023-07-19T19:22:37.701Z] 2f466654f4bb: Pulling fs layer [2023-07-19T19:22:37.701Z] 554e91adad29: Pulling fs layer [2023-07-19T19:22:37.701Z] 8b374f2dd631: Waiting [2023-07-19T19:22:37.701Z] ec14aa9079de: Waiting [2023-07-19T19:22:37.701Z] 2f466654f4bb: Waiting [2023-07-19T19:22:37.701Z] 554e91adad29: Waiting [2023-07-19T19:22:37.701Z] 5f9638ab2659: Verifying Checksum [2023-07-19T19:22:37.701Z] 5f9638ab2659: Download complete [2023-07-19T19:22:37.978Z] 8b374f2dd631: Verifying Checksum [2023-07-19T19:22:37.978Z] 8b374f2dd631: Download complete [2023-07-19T19:22:37.978Z] ec14aa9079de: Verifying Checksum [2023-07-19T19:22:37.978Z] ec14aa9079de: Download complete [2023-07-19T19:22:37.978Z] edb6bdbacee9: Download complete [2023-07-19T19:22:38.947Z] edb6bdbacee9: Pull complete [2023-07-19T19:22:39.220Z] 554e91adad29: Verifying Checksum [2023-07-19T19:22:39.220Z] 554e91adad29: Download complete [2023-07-19T19:22:39.493Z] 5f9638ab2659: Pull complete [2023-07-19T19:22:40.469Z] 8d51d6327a98: Verifying Checksum [2023-07-19T19:22:40.469Z] 8d51d6327a98: Download complete [2023-07-19T19:22:40.469Z] 2f466654f4bb: Verifying Checksum [2023-07-19T19:22:40.469Z] 2f466654f4bb: Download complete [2023-07-19T19:22:52.818Z] 8d51d6327a98: Pull complete [2023-07-19T19:22:52.818Z] 8b374f2dd631: Pull complete [2023-07-19T19:22:52.818Z] ec14aa9079de: Pull complete [2023-07-19T19:22:58.182Z] 2f466654f4bb: Pull complete [2023-07-19T19:23:00.778Z] 554e91adad29: Pull complete [2023-07-19T19:23:00.778Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-19T19:23:00.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-19T19:23:00.778Z] ---> 1e15ea492957 [2023-07-19T19:23:00.778Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-19T19:23:02.187Z] ---> Running in ade3eed1d494 [2023-07-19T19:23:02.461Z] Removing intermediate container ade3eed1d494 [2023-07-19T19:23:02.461Z] ---> 1080d77e10ad [2023-07-19T19:23:02.461Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-19T19:23:02.461Z] ---> Running in c1fc2dae5864 [2023-07-19T19:23:02.731Z] Removing intermediate container c1fc2dae5864 [2023-07-19T19:23:02.731Z] ---> 34a22daef0f5 [2023-07-19T19:23:02.731Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-19T19:23:02.999Z] ---> Running in 8ae080af66b5 [2023-07-19T19:23:03.266Z] Removing intermediate container 8ae080af66b5 [2023-07-19T19:23:03.266Z] ---> 8b0f3fc535f8 [2023-07-19T19:23:03.266Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-19T19:23:03.266Z] ---> Running in 8d019e434562 [2023-07-19T19:23:04.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-19T19:23:04.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-19T19:23:05.775Z] OK: 263 MiB in 53 packages [2023-07-19T19:23:06.747Z] Removing intermediate container 8d019e434562 [2023-07-19T19:23:06.747Z] ---> ee63485b20d3 [2023-07-19T19:23:06.747Z] Step 7/12 : WORKDIR /app [2023-07-19T19:23:06.747Z] ---> Running in 7ac00fb8cba2 [2023-07-19T19:23:07.016Z] Removing intermediate container 7ac00fb8cba2 [2023-07-19T19:23:07.016Z] ---> c952233591b3 [2023-07-19T19:23:07.016Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-19T19:23:08.423Z] ---> 477517b4f70d [2023-07-19T19:23:08.423Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-19T19:23:08.423Z] ---> Running in 0916859ea41e [2023-07-19T19:24:16.302Z] Removing intermediate container 0916859ea41e [2023-07-19T19:24:16.302Z] ---> f37f918d0bd5 [2023-07-19T19:24:16.302Z] Step 10/12 : COPY . . [2023-07-19T19:24:16.302Z] ---> 69dad761b8fa [2023-07-19T19:24:16.302Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-19T19:24:16.302Z] ---> Running in 49f5956fd0cd [2023-07-19T19:24:16.302Z] Removing intermediate container 49f5956fd0cd [2023-07-19T19:24:16.302Z] ---> 6904cb9d4e25 [2023-07-19T19:24:16.302Z] Step 12/12 : RUN $MAKE [2023-07-19T19:24:16.302Z] ---> Running in b45f268381ff [2023-07-19T19:24:16.302Z] noop [2023-07-19T19:24:16.302Z] Removing intermediate container b45f268381ff [2023-07-19T19:24:16.302Z] ---> 91bd1032cdb0 [2023-07-19T19:24:16.302Z] Successfully built 91bd1032cdb0 [2023-07-19T19:24:16.302Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:24:16.648Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T19:24:16.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T19:24:16.850Z] prd-ubuntu20.04-docker-arm64-4c-16g-1573 does not seem to be running inside a container [2023-07-19T19:24:16.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/6 -v /w/workspace/app-record-replay/6:/w/workspace/app-record-replay/6:rw,z -v /w/workspace/app-record-replay/6@tmp:/w/workspace/app-record-replay/6@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-07-19T19:24:18.150Z] $ docker top 74c4aa943a5efdb71142bfa772b58af66fcfd6fc7de674934cf6d77a2662c275 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T19:24:18.971Z] + go version [2023-07-19T19:24:18.972Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-19T19:24:18.997Z] $ docker stop --time=1 74c4aa943a5efdb71142bfa772b58af66fcfd6fc7de674934cf6d77a2662c275 [2023-07-19T19:24:20.604Z] $ docker rm -f --volumes 74c4aa943a5efdb71142bfa772b58af66fcfd6fc7de674934cf6d77a2662c275 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:24:21.115Z] + docker inspect -f . ci-base-image-arm64 [2023-07-19T19:24:21.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T19:24:21.279Z] prd-ubuntu20.04-docker-arm64-4c-16g-1573 does not seem to be running inside a container [2023-07-19T19:24:21.344Z] $ 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/6 -v /w/workspace/app-record-replay/6:/w/workspace/app-record-replay/6:rw,z -v /w/workspace/app-record-replay/6@tmp:/w/workspace/app-record-replay/6@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-07-19T19:24:22.469Z] $ docker top 4f4e547a7a57099d8d6edbd17cbab2fd670b2db2cde8fff6b5baddfd6b5aeec4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T19:24:22.974Z] + git config --global --add safe.directory /w/workspace/app-record-replay/6 [Pipeline] fileExists [Pipeline] sh [2023-07-19T19:24:23.303Z] + make test [2023-07-19T19:24:23.303Z] go test -race -coverprofile=coverage.out ./... [2023-07-19T19:27:00.018Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-07-19T19:27:10.087Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.249s coverage: 87.5% of statements [2023-07-19T19:27:10.087Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 0.412s coverage: 86.0% of statements [2023-07-19T19:27:13.427Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-07-19T19:27:13.427Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-07-19T19:27:13.427Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-07-19T19:27:13.427Z] ok github.com/edgexfoundry/app-record-replay/internal/data 0.220s coverage: 65.2% of statements [2023-07-19T19:27:14.011Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-19T19:27:14.011Z] go vet ./... [2023-07-19T19:29:35.711Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-19T19:29:35.711Z] ./internal/controller/controller.go [2023-07-19T19:29:35.711Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-19T19:29:35.711Z] make: *** [Makefile:74: test] Error 1 [Pipeline] } [2023-07-19T19:29:35.740Z] $ docker stop --time=1 4f4e547a7a57099d8d6edbd17cbab2fd670b2db2cde8fff6b5baddfd6b5aeec4 [2023-07-19T19:29:37.557Z] $ docker rm -f --volumes 4f4e547a7a57099d8d6edbd17cbab2fd670b2db2cde8fff6b5baddfd6b5aeec4 [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-07-19T19:29:39.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T19:29:39.121Z] [2023-07-19T19:29:39.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:29:39.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T19:29:39.802Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-19T19:29:39.803Z] 8998bd30e6a1: Pulling fs layer [2023-07-19T19:29:39.803Z] 04944245beec: Pulling fs layer [2023-07-19T19:29:39.803Z] 699f458cf7ca: Pulling fs layer [2023-07-19T19:29:39.803Z] 765212b225bb: Pulling fs layer [2023-07-19T19:29:39.803Z] f23df028b6ca: Pulling fs layer [2023-07-19T19:29:39.803Z] d65c8cfc05b1: Pulling fs layer [2023-07-19T19:29:39.803Z] 2437ff75d9bd: Pulling fs layer [2023-07-19T19:29:39.803Z] f23df028b6ca: Waiting [2023-07-19T19:29:39.803Z] d65c8cfc05b1: Waiting [2023-07-19T19:29:39.803Z] 2437ff75d9bd: Waiting [2023-07-19T19:29:39.803Z] 765212b225bb: Waiting [2023-07-19T19:29:39.803Z] 04944245beec: Verifying Checksum [2023-07-19T19:29:39.803Z] 04944245beec: Download complete [2023-07-19T19:29:39.803Z] 765212b225bb: Verifying Checksum [2023-07-19T19:29:39.803Z] 765212b225bb: Download complete [2023-07-19T19:29:39.803Z] f23df028b6ca: Verifying Checksum [2023-07-19T19:29:39.803Z] f23df028b6ca: Download complete [2023-07-19T19:29:40.093Z] d65c8cfc05b1: Verifying Checksum [2023-07-19T19:29:40.093Z] d65c8cfc05b1: Download complete [2023-07-19T19:29:40.093Z] 699f458cf7ca: Verifying Checksum [2023-07-19T19:29:40.093Z] 699f458cf7ca: Download complete [2023-07-19T19:29:40.441Z] 8998bd30e6a1: Verifying Checksum [2023-07-19T19:29:40.441Z] 8998bd30e6a1: Download complete [2023-07-19T19:29:42.537Z] 2437ff75d9bd: Verifying Checksum [2023-07-19T19:29:42.537Z] 2437ff75d9bd: Download complete [2023-07-19T19:29:44.487Z] 8998bd30e6a1: Pull complete [2023-07-19T19:29:45.073Z] 04944245beec: Pull complete [2023-07-19T19:29:46.487Z] 699f458cf7ca: Pull complete [2023-07-19T19:29:46.487Z] 765212b225bb: Pull complete [2023-07-19T19:29:47.074Z] f23df028b6ca: Pull complete [2023-07-19T19:29:47.342Z] d65c8cfc05b1: Pull complete [2023-07-19T19:30:02.371Z] 2437ff75d9bd: Pull complete [2023-07-19T19:30:02.371Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-19T19:30:02.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-19T19:30:02.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T19:30:02.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-1573 does not seem to be running inside a container [2023-07-19T19:30:02.634Z] $ 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/6 -v /w/workspace/app-record-replay/6:/w/workspace/app-record-replay/6:rw,z -v /w/workspace/app-record-replay/6@tmp:/w/workspace/app-record-replay/6@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-07-19T19:30:05.111Z] $ docker top b8a70186b2fd8dfcc7b8d75b93e3f5f34fc4a35d0be0bdb8eccb262f0ebef898 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:30:05.912Z] ---> job-cost.sh [2023-07-19T19:30:05.912Z] lf-activate-venv: SKIPPING [2023-07-19T19:30:05.912Z] INFO: No Stack... [2023-07-19T19:30:06.176Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-19T19:30:07.130Z] INFO: Archiving Costs [Pipeline] sh [2023-07-19T19:30:07.452Z] + cut -d, -f6 [2023-07-19T19:30:07.452Z] + cat /w/workspace/app-record-replay/6/archives/cost.csv [Pipeline] lock [2023-07-19T19:30:07.512Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [2023-07-19T19:30:07.540Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] did not exist. Created. [2023-07-19T19:30:07.540Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-19T19:30:07.880Z] /w/workspace/app-record-replay/6@tmp/durable-12cea631/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-19T19:30:08.210Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-19T19:30:08.231Z] Warning: overwriting stash ‘stack-cost’ [2023-07-19T19:30:08.569Z] Stashed 1 file(s) [Pipeline] } [2023-07-19T19:30:08.576Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-19T19:30:08.604Z] $ docker stop --time=1 b8a70186b2fd8dfcc7b8d75b93e3f5f34fc4a35d0be0bdb8eccb262f0ebef898 [2023-07-19T19:30:10.067Z] $ docker rm -f --volumes b8a70186b2fd8dfcc7b8d75b93e3f5f34fc4a35d0be0bdb8eccb262f0ebef898 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-19T19:30:10.267Z] 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-07-19T19:30:11.008Z] + [ -d /w/workspace/xfoundry_app-record-replay_PR-42/archives ] [2023-07-19T19:30:11.008Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-42/archives [2023-07-19T19:30:11.008Z] total 16 [2023-07-19T19:30:11.008Z] drwxr-xr-x 3 root root 4096 Jul 19 19:21 . [2023-07-19T19:30:11.008Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 19:21 .. [2023-07-19T19:30:11.008Z] drwxr-xr-x 2 root root 4096 Jul 19 19:21 cost [2023-07-19T19:30:11.008Z] -rw-r--r-- 1 root root 89 Jul 19 19:21 cost.csv [2023-07-19T19:30:11.008Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-42/archives [2023-07-19T19:30:11.008Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-42/archives [2023-07-19T19:30:11.008Z] total 16 [2023-07-19T19:30:11.008Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 19:21 . [2023-07-19T19:30:11.008Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 19:21 .. [2023-07-19T19:30:11.008Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 19:21 cost [2023-07-19T19:30:11.008Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 19 19:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:30:11.299Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:30:12.157Z] ---> package-listing.sh [2023-07-19T19:30:12.157Z] ++ facter osfamily [2023-07-19T19:30:12.157Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-19T19:30:12.417Z] + OS_FAMILY=debian [2023-07-19T19:30:12.417Z] + workspace=/w/workspace/xfoundry_app-record-replay_PR-42 [2023-07-19T19:30:12.417Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-19T19:30:12.417Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-19T19:30:12.417Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-19T19:30:12.417Z] + PACKAGES=/tmp/packages_start.txt [2023-07-19T19:30:12.417Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-42 ']' [2023-07-19T19:30:12.417Z] + PACKAGES=/tmp/packages_end.txt [2023-07-19T19:30:12.417Z] + case "${OS_FAMILY}" in [2023-07-19T19:30:12.417Z] + dpkg -l [2023-07-19T19:30:12.417Z] + grep '^ii' [2023-07-19T19:30:12.417Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-19T19:30:12.417Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-19T19:30:12.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-19T19:30:12.417Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-42 ']' [2023-07-19T19:30:12.417Z] + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-42/archives/ [2023-07-19T19:30:12.417Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-42/archives/ [Pipeline] echo [2023-07-19T19:30:12.430Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-42/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-19T19:30:12.707Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-19T19:30:13.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-19T19:30:13.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-19T19:30:13.327Z] prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container [2023-07-19T19:30:13.349Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-42/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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-07-19T19:30:13.521Z] $ docker top 3e65ab361a51dba90bc5fab551e2847b1697bf80bb35f179afee9048cc114e98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-19T19:30:13.863Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-19T19:30:14.143Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-19T19:30:14.432Z] + ls /var/log/sa-host [2023-07-19T19:30:14.433Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-19T19:30:14.578Z] provisioning config files... [2023-07-19T19:30:14.584Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config2582150116360223986tmp [Pipeline] { [Pipeline] echo [2023-07-19T19:30:14.597Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:30:14.882Z] ---> create-netrc.sh [Pipeline] } [2023-07-19T19:30:14.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:30:15.210Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-19T19:30:15.217Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:30:15.496Z] ---> sudo-logs.sh [2023-07-19T19:30:15.496Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-19T19:30:15.526Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:30:15.808Z] ---> job-cost.sh [2023-07-19T19:30:15.808Z] lf-activate-venv: SKIPPING [2023-07-19T19:30:15.808Z] DEBUG: total: 0.2199999988079071 [2023-07-19T19:30:15.808Z] INFO: Retrieving Stack Cost... [2023-07-19T19:30:16.066Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-19T19:30:16.633Z] INFO: Archiving Costs [Pipeline] echo [2023-07-19T19:30:16.643Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-19T19:30:16.924Z] ---> logs-deploy.sh [2023-07-19T19:30:16.924Z] lf-activate-venv: SKIPPING [2023-07-19T19:30:16.924Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-42/6 [2023-07-19T19:30:16.924Z] INFO: archiving workspace using pattern(s): [2023-07-19T19:30:17.862Z] Archives upload complete. [2023-07-19T19:30:17.862Z] INFO: archiving logs to Nexus