Pull request #56 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 90458aff5952e3959d65678bf25cab3d18ebfb0c rather than 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 Obtained Jenkinsfile from 90458aff5952e3959d65678bf25cab3d18ebfb0c 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-ssh7357120211863086988.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3828009329082747729.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-56/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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16813876288803342388.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh5684649382274024690.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-56/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-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1311327966866340240.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 ‘prd-ubuntu20.04-docker-8c-8g-3733’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3736 in /w/workspace/xfoundry_app-record-replay_PR-56 [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-56 # 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 90458aff5952e3959d65678bf25cab3d18ebfb0c into PR head commit 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 Merge succeeded, producing 6295656debd28a453c05386d5878e1188c53eeb7 Checking out Revision 6295656debd28a453c05386d5878e1188c53eeb7 (PR-56) > 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/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 # 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 90458aff5952e3959d65678bf25cab3d18ebfb0c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6295656debd28a453c05386d5878e1188c53eeb7 # timeout=10 Commit message: "Merge commit '90458aff5952e3959d65678bf25cab3d18ebfb0c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-15T23:45:19.761Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-15T23:45:19.831Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-15T23:45:19.856Z] ========================================================= [2023-08-15T23:45:19.856Z] EdgeX Global Pipelines Version Info [2023-08-15T23:45:19.856Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2cfbca2b21e0b27c63edfce00d075b62c178e9bd # timeout=10 [2023-08-15T23:45:20.564Z] ------------------- [2023-08-15T23:45:20.564Z] stable info: [2023-08-15T23:45:20.564Z] ------------------- [2023-08-15T23:45:20.564Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-15T23:45:20.564Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-15T23:45:20.564Z] Message: update stable to v1.0.253 [2023-08-15T23:45:21.133Z] ------------------- [2023-08-15T23:45:21.133Z] experimental info: [2023-08-15T23:45:21.133Z] ------------------- [2023-08-15T23:45:21.133Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-15T23:45:21.133Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-15T23:45:21.133Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-15T23:45:21.347Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-08-15T23:45:21.362Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-08-15T23:45:21.376Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-15T23:45:21.391Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-15T23:45:21.409Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-15T23:45:21.427Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-15T23:45:21.439Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-15T23:45:21.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-15T23:45:21.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-15T23:45:21.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-15T23:45:21.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-15T23:45:21.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-08-15T23:45:21.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-15T23:45:21.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-15T23:45:21.532Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-15T23:45:21.550Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-15T23:45:21.564Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-15T23:45:21.573Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-15T23:45:21.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-15T23:45:21.600Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-15T23:45:21.608Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-15T23:45:21.617Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-15T23:45:21.625Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-15T23:45:21.634Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-15T23:45:21.643Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-15T23:45:21.656Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-15T23:45:21.668Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-15T23:45:21.682Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo [2023-08-15T23:45:21.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo [2023-08-15T23:45:21.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo [2023-08-15T23:45:21.720Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6295656debd28a453c05386d5878e1188c53eeb7 [Pipeline] echo [2023-08-15T23:45:21.731Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6295656 [Pipeline] echo [2023-08-15T23:45:21.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T23:45:21.793Z] provisioning config files... [2023-08-15T23:45:21.804Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config10968277250603798631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:45:22.110Z] ---> docker-login.sh [2023-08-15T23:45:22.110Z] nexus3.edgexfoundry.org:10001 [2023-08-15T23:45:22.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:22.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:22.371Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:22.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:22.371Z] [2023-08-15T23:45:22.371Z] Login Succeeded [2023-08-15T23:45:22.371Z] nexus3.edgexfoundry.org:10002 [2023-08-15T23:45:22.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:22.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:22.630Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:22.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:22.630Z] [2023-08-15T23:45:22.630Z] Login Succeeded [2023-08-15T23:45:22.630Z] nexus3.edgexfoundry.org:10003 [2023-08-15T23:45:22.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:22.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:22.630Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:22.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:22.630Z] [2023-08-15T23:45:22.630Z] Login Succeeded [2023-08-15T23:45:22.630Z] nexus3.edgexfoundry.org:10004 [2023-08-15T23:45:22.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:22.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:22.630Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:22.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:22.630Z] [2023-08-15T23:45:22.630Z] Login Succeeded [2023-08-15T23:45:22.630Z] docker.io [2023-08-15T23:45:22.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:23.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:23.152Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:23.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:23.152Z] [2023-08-15T23:45:23.152Z] Login Succeeded [2023-08-15T23:45:23.152Z] ---> docker-login.sh ends [Pipeline] } [2023-08-15T23:45:23.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-15T23:45:23.541Z] + git rev-list -1 --merges 6295656debd28a453c05386d5878e1188c53eeb7~1..6295656debd28a453c05386d5878e1188c53eeb7 [Pipeline] echo [2023-08-15T23:45:23.582Z] -----------> git rev-list -1 --merges 6295656debd28a453c05386d5878e1188c53eeb7~1..6295656debd28a453c05386d5878e1188c53eeb7 6295656debd28a453c05386d5878e1188c53eeb7 [2023-08-15T23:45:23.582Z] 6295656debd28a453c05386d5878e1188c53eeb7 [false] [Pipeline] sh [2023-08-15T23:45:23.869Z] + git log --format=format:%s -1 6295656debd28a453c05386d5878e1188c53eeb7 [Pipeline] echo [2023-08-15T23:45:23.882Z] ========================================================= [2023-08-15T23:45:23.882Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-15T23:45:23.882Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-15T23:45:24.221Z] + git log --format=format:%s -1 6295656debd28a453c05386d5878e1188c53eeb7 [Pipeline] echo [2023-08-15T23:45:24.232Z] [semverPrep] GIT_COMMIT: 6295656debd28a453c05386d5878e1188c53eeb7, Commit Message: Merge commit '90458aff5952e3959d65678bf25cab3d18ebfb0c' into HEAD [Pipeline] echo [2023-08-15T23:45:24.244Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-15T23:45:24.605Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-15T23:45:24.605Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-15T23:45:24.605Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-15T23:45:24.605Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-15T23:45:24.605Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-15T23:45:24.605Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-15T23:45:24.605Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:45:24.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T23:45:24.961Z] [2023-08-15T23:45:24.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:45:25.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T23:45:25.258Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-15T23:45:25.258Z] b85a868b505f: Pulling fs layer [2023-08-15T23:45:25.258Z] e2be974225ed: Pulling fs layer [2023-08-15T23:45:25.258Z] 339a4e72a1f5: Pulling fs layer [2023-08-15T23:45:25.258Z] 988bab9f4d93: Pulling fs layer [2023-08-15T23:45:25.258Z] 1469e6f7b9e6: Pulling fs layer [2023-08-15T23:45:25.258Z] eaf3925da568: Pulling fs layer [2023-08-15T23:45:25.258Z] bab4dde63d76: Pulling fs layer [2023-08-15T23:45:25.258Z] bde34c3a00c8: Pulling fs layer [2023-08-15T23:45:25.258Z] b352a97aabf1: Pulling fs layer [2023-08-15T23:45:25.258Z] 4872d77fe225: Pulling fs layer [2023-08-15T23:45:25.258Z] 5851b861e8e6: Pulling fs layer [2023-08-15T23:45:25.258Z] bab4dde63d76: Waiting [2023-08-15T23:45:25.258Z] bde34c3a00c8: Waiting [2023-08-15T23:45:25.258Z] 988bab9f4d93: Waiting [2023-08-15T23:45:25.258Z] b352a97aabf1: Waiting [2023-08-15T23:45:25.258Z] 4872d77fe225: Waiting [2023-08-15T23:45:25.258Z] eaf3925da568: Waiting [2023-08-15T23:45:25.258Z] e2be974225ed: Download complete [2023-08-15T23:45:25.258Z] 988bab9f4d93: Verifying Checksum [2023-08-15T23:45:25.258Z] 988bab9f4d93: Download complete [2023-08-15T23:45:25.258Z] 1469e6f7b9e6: Verifying Checksum [2023-08-15T23:45:25.258Z] 1469e6f7b9e6: Download complete [2023-08-15T23:45:25.258Z] 339a4e72a1f5: Verifying Checksum [2023-08-15T23:45:25.258Z] 339a4e72a1f5: Download complete [2023-08-15T23:45:25.516Z] eaf3925da568: Download complete [2023-08-15T23:45:25.516Z] bde34c3a00c8: Download complete [2023-08-15T23:45:25.516Z] b352a97aabf1: Verifying Checksum [2023-08-15T23:45:25.516Z] b352a97aabf1: Download complete [2023-08-15T23:45:25.516Z] 4872d77fe225: Verifying Checksum [2023-08-15T23:45:25.516Z] 4872d77fe225: Download complete [2023-08-15T23:45:25.516Z] 5851b861e8e6: Verifying Checksum [2023-08-15T23:45:25.516Z] 5851b861e8e6: Download complete [2023-08-15T23:45:25.516Z] b85a868b505f: Verifying Checksum [2023-08-15T23:45:25.516Z] b85a868b505f: Download complete [2023-08-15T23:45:25.775Z] bab4dde63d76: Verifying Checksum [2023-08-15T23:45:25.775Z] bab4dde63d76: Download complete [2023-08-15T23:45:26.708Z] b85a868b505f: Pull complete [2023-08-15T23:45:26.967Z] e2be974225ed: Pull complete [2023-08-15T23:45:27.225Z] 339a4e72a1f5: Pull complete [2023-08-15T23:45:27.486Z] 988bab9f4d93: Pull complete [2023-08-15T23:45:27.746Z] 1469e6f7b9e6: Pull complete [2023-08-15T23:45:27.746Z] eaf3925da568: Pull complete [2023-08-15T23:45:29.650Z] bab4dde63d76: Pull complete [2023-08-15T23:45:29.650Z] bde34c3a00c8: Pull complete [2023-08-15T23:45:29.650Z] b352a97aabf1: Pull complete [2023-08-15T23:45:29.650Z] 4872d77fe225: Pull complete [2023-08-15T23:45:29.650Z] 5851b861e8e6: Pull complete [2023-08-15T23:45:29.650Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-15T23:45:29.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-15T23:45:29.650Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T23:45:29.737Z] prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container [2023-08-15T23:45:29.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-15T23:45:32.397Z] $ docker top 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d -eo pid,comm [2023-08-15T23:45:32.446Z] 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-08-15T23:45:32.446Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-15T23:45:32.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-15T23:45:32.486Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-15T23:45:32.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-15T23:45:32.599Z] $ docker exec 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d ssh-agent [2023-08-15T23:45:32.717Z] SSH_AUTH_SOCK=/tmp/ssh-zWPb0yEPKF6b/agent.32 [2023-08-15T23:45:32.717Z] SSH_AGENT_PID=38 [2023-08-15T23:45:32.722Z] Running ssh-add (command line suppressed) [2023-08-15T23:45:32.835Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_8248880999406345163.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_8248880999406345163.key) [2023-08-15T23:45:32.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-15T23:45:33.134Z] + git tag --points-at HEAD [Pipeline] } [2023-08-15T23:45:33.152Z] $ docker exec --env ******** --env ******** 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d ssh-agent -k [2023-08-15T23:45:33.243Z] unset SSH_AUTH_SOCK; [2023-08-15T23:45:33.243Z] unset SSH_AGENT_PID; [2023-08-15T23:45:33.243Z] echo Agent pid 38 killed; [2023-08-15T23:45:33.250Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-15T23:45:33.276Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-15T23:45:33.276Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-15T23:45:33.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-15T23:45:33.391Z] $ docker exec 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d ssh-agent [2023-08-15T23:45:33.486Z] SSH_AUTH_SOCK=/tmp/ssh-Hh3MZfPwt9LT/agent.71 [2023-08-15T23:45:33.486Z] SSH_AGENT_PID=77 [2023-08-15T23:45:33.490Z] Running ssh-add (command line suppressed) [2023-08-15T23:45:33.591Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_619225637794725870.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_619225637794725870.key) [2023-08-15T23:45:33.602Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-15T23:45:33.891Z] + git semver init [2023-08-15T23:45:34.150Z] 2023-08-15 23:45:34,072 [run_init] DEBUG init version:0.0.0 force:False [2023-08-15T23:45:34.150Z] 2023-08-15 23:45:34,072 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-56/.semver [2023-08-15T23:45:34.150Z] 2023-08-15 23:45:34,073 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-56/.semver [2023-08-15T23:45:34.150Z] 2023-08-15 23:45:34,073 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-56/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56, universal_newlines=False, shell=None, istream=None) [2023-08-15T23:45:34.717Z] 2023-08-15 23:45:34,676 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-56/.git/info/exclude [2023-08-15T23:45:34.717Z] 2023-08-15 23:45:34,677 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 with force:False [2023-08-15T23:45:34.717Z] 2023-08-15 23:45:34,677 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 [2023-08-15T23:45:34.717Z] 2023-08-15 23:45:34,681 [execute] INFO git cat-file --batch-check [2023-08-15T23:45:34.717Z] 2023-08-15 23:45:34,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) [2023-08-15T23:45:34.717Z] 2023-08-15 23:45:34,687 [execute] INFO git cat-file --batch [2023-08-15T23:45:34.717Z] 2023-08-15 23:45:34,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) [2023-08-15T23:45:34.717Z] 2023-08-15 23:45:34,694 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 [2023-08-15T23:45:34.717Z] 0.0.0 [Pipeline] } [2023-08-15T23:45:34.730Z] $ docker exec --env ******** --env ******** 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d ssh-agent -k [2023-08-15T23:45:34.830Z] unset SSH_AUTH_SOCK; [2023-08-15T23:45:34.831Z] unset SSH_AGENT_PID; [2023-08-15T23:45:34.831Z] echo Agent pid 77 killed; [2023-08-15T23:45:34.840Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-15T23:45:35.149Z] + git semver [Pipeline] } [2023-08-15T23:45:35.425Z] $ docker stop --time=1 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d [2023-08-15T23:45:36.694Z] $ docker rm -f --volumes 825a7e799511b518b75ed26bfbf75191c7c0693a43c158afcc55b9ae7037192d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-15T23:45:37.025Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-15T23:45:37.223Z] Stashed 1 file(s) [Pipeline] echo [2023-08-15T23:45:37.227Z] [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-08-15T23:45:37.344Z] provisioning config files... [2023-08-15T23:45:37.353Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config14587099611196380694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:45:37.648Z] ---> docker-login.sh [2023-08-15T23:45:37.648Z] nexus3.edgexfoundry.org:10001 [2023-08-15T23:45:37.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:37.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:37.648Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:37.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:37.648Z] [2023-08-15T23:45:37.648Z] Login Succeeded [2023-08-15T23:45:37.648Z] nexus3.edgexfoundry.org:10002 [2023-08-15T23:45:37.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:37.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:37.648Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:37.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:37.648Z] [2023-08-15T23:45:37.648Z] Login Succeeded [2023-08-15T23:45:37.648Z] nexus3.edgexfoundry.org:10003 [2023-08-15T23:45:37.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:37.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:37.908Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:37.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:37.908Z] [2023-08-15T23:45:37.908Z] Login Succeeded [2023-08-15T23:45:37.908Z] nexus3.edgexfoundry.org:10004 [2023-08-15T23:45:37.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:37.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:37.908Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:37.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:37.908Z] [2023-08-15T23:45:37.908Z] Login Succeeded [2023-08-15T23:45:37.908Z] docker.io [2023-08-15T23:45:37.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:45:38.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:45:38.168Z] Configure a credential helper to remove this warning. See [2023-08-15T23:45:38.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:45:38.168Z] [2023-08-15T23:45:38.168Z] Login Succeeded [2023-08-15T23:45:38.168Z] ---> docker-login.sh ends [Pipeline] } [2023-08-15T23:45:38.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-15T23:45:38.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T23:45:38.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T23:45:38.287Z] ========================================================= [2023-08-15T23:45:38.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-15T23:45:38.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:45:38.612Z] + 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-08-15T23:45:38.612Z] Sending build context to Docker daemon 451.6kB [2023-08-15T23:45:38.612Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T23:45:38.612Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-15T23:45:38.612Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-15T23:45:38.612Z] 4db1b89c0bd1: Pulling fs layer [2023-08-15T23:45:38.612Z] 6911f1a30b25: Pulling fs layer [2023-08-15T23:45:38.612Z] e194b8c5c2a9: Pulling fs layer [2023-08-15T23:45:38.612Z] 6863d3e3a2b1: Pulling fs layer [2023-08-15T23:45:38.612Z] ec0bb842ea78: Pulling fs layer [2023-08-15T23:45:38.612Z] 40a00589a448: Pulling fs layer [2023-08-15T23:45:38.612Z] 6c08303d61cc: Pulling fs layer [2023-08-15T23:45:38.612Z] 798269fcf238: Pulling fs layer [2023-08-15T23:45:38.612Z] 40a00589a448: Waiting [2023-08-15T23:45:38.612Z] 6863d3e3a2b1: Waiting [2023-08-15T23:45:38.612Z] 6c08303d61cc: Waiting [2023-08-15T23:45:38.612Z] 798269fcf238: Waiting [2023-08-15T23:45:38.612Z] 6911f1a30b25: Download complete [2023-08-15T23:45:38.612Z] 6863d3e3a2b1: Verifying Checksum [2023-08-15T23:45:38.612Z] 6863d3e3a2b1: Download complete [2023-08-15T23:45:38.612Z] ec0bb842ea78: Download complete [2023-08-15T23:45:38.612Z] 4db1b89c0bd1: Verifying Checksum [2023-08-15T23:45:38.612Z] 4db1b89c0bd1: Download complete [2023-08-15T23:45:38.871Z] 40a00589a448: Verifying Checksum [2023-08-15T23:45:38.871Z] 40a00589a448: Download complete [2023-08-15T23:45:38.871Z] 4db1b89c0bd1: Pull complete [2023-08-15T23:45:39.132Z] 6911f1a30b25: Pull complete [2023-08-15T23:45:39.392Z] e194b8c5c2a9: Verifying Checksum [2023-08-15T23:45:39.392Z] e194b8c5c2a9: Download complete [2023-08-15T23:45:39.392Z] 798269fcf238: Verifying Checksum [2023-08-15T23:45:39.392Z] 798269fcf238: Download complete [2023-08-15T23:45:39.649Z] 6c08303d61cc: Verifying Checksum [2023-08-15T23:45:42.174Z] e194b8c5c2a9: Pull complete [2023-08-15T23:45:42.431Z] 6863d3e3a2b1: Pull complete [2023-08-15T23:45:42.431Z] ec0bb842ea78: Pull complete [2023-08-15T23:45:42.431Z] 40a00589a448: Pull complete [2023-08-15T23:45:44.960Z] 6c08303d61cc: Pull complete [2023-08-15T23:45:45.527Z] 798269fcf238: Pull complete [2023-08-15T23:45:45.527Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-15T23:45:45.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-15T23:45:45.527Z] ---> ec979cd7f677 [2023-08-15T23:45:45.527Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-08-15T23:45:49.720Z] ---> Running in c0b9b488f81a [2023-08-15T23:45:49.720Z] Removing intermediate container c0b9b488f81a [2023-08-15T23:45:49.720Z] ---> 8f513f3a9ec2 [2023-08-15T23:45:49.720Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-15T23:45:49.720Z] ---> Running in e74a4ff65b25 [2023-08-15T23:45:49.720Z] Removing intermediate container e74a4ff65b25 [2023-08-15T23:45:49.720Z] ---> 8e53ad9c37ac [2023-08-15T23:45:49.720Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-15T23:45:49.720Z] ---> Running in fafc5ab725e0 [2023-08-15T23:45:49.720Z] Removing intermediate container fafc5ab725e0 [2023-08-15T23:45:49.720Z] ---> 8236d062e703 [2023-08-15T23:45:49.720Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-15T23:45:49.720Z] ---> Running in 71cc443443dd [2023-08-15T23:45:49.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-15T23:45:50.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-15T23:45:50.496Z] OK: 265 MiB in 53 packages [2023-08-15T23:45:50.754Z] Removing intermediate container 71cc443443dd [2023-08-15T23:45:50.754Z] ---> 51e62c43df47 [2023-08-15T23:45:50.754Z] Step 7/12 : WORKDIR /app [2023-08-15T23:45:50.754Z] ---> Running in 73ba72152288 [2023-08-15T23:45:51.013Z] Removing intermediate container 73ba72152288 [2023-08-15T23:45:51.013Z] ---> f10f75f8cfa8 [2023-08-15T23:45:51.013Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-15T23:45:51.013Z] ---> 0f61ff802eb9 [2023-08-15T23:45:51.013Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T23:45:51.013Z] ---> Running in dd361930f28f [2023-08-15T23:45:52.314Z] Still waiting to schedule task [2023-08-15T23:45:52.314Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-15T23:46:37.686Z] Removing intermediate container dd361930f28f [2023-08-15T23:46:37.686Z] ---> 4dbe5b9e5469 [2023-08-15T23:46:37.686Z] Step 10/12 : COPY . . [2023-08-15T23:46:37.686Z] ---> 587184c3625e [2023-08-15T23:46:37.686Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-15T23:46:37.686Z] ---> Running in 8a446402e7eb [2023-08-15T23:46:37.686Z] Removing intermediate container 8a446402e7eb [2023-08-15T23:46:37.686Z] ---> 9063ca6e7efe [2023-08-15T23:46:37.686Z] Step 12/12 : RUN $MAKE [2023-08-15T23:46:37.686Z] ---> Running in a5f08c3da7c4 [2023-08-15T23:46:37.945Z] noop [2023-08-15T23:46:38.204Z] Removing intermediate container a5f08c3da7c4 [2023-08-15T23:46:38.204Z] ---> 5151d1638875 [2023-08-15T23:46:38.204Z] Successfully built 5151d1638875 [2023-08-15T23:46:38.204Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:46:38.517Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-15T23:46:38.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T23:46:38.587Z] prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container [2023-08-15T23:46:38.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** -e ******** ci-base-image-x86_64 cat [2023-08-15T23:46:38.931Z] $ docker top 260e3b589d212797a2a87ad83c2706e5aaa29275c38cefde440ebbb7a3b76df2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T23:46:39.271Z] + go version [2023-08-15T23:46:39.271Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-15T23:46:39.282Z] $ docker stop --time=1 260e3b589d212797a2a87ad83c2706e5aaa29275c38cefde440ebbb7a3b76df2 [2023-08-15T23:46:40.539Z] $ docker rm -f --volumes 260e3b589d212797a2a87ad83c2706e5aaa29275c38cefde440ebbb7a3b76df2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:46:40.937Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-15T23:46:40.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T23:46:41.009Z] prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container [2023-08-15T23:46:41.039Z] $ 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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** -e ******** ci-base-image-x86_64 cat [2023-08-15T23:46:41.349Z] $ docker top 4a5abacb04f9332c1c56df4c97e4169fde38301c8fd78cdd300143d63e698bfa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T23:46:41.690Z] + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] fileExists [Pipeline] sh [2023-08-15T23:46:41.987Z] + make test [2023-08-15T23:46:41.988Z] go test -race -coverprofile=coverage.out ./... [2023-08-15T23:47:00.067Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-08-15T23:47:00.067Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.071s coverage: 88.0% of statements [2023-08-15T23:47:00.067Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-08-15T23:47:00.067Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-08-15T23:47:00.067Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-08-15T23:47:10.041Z] ok github.com/edgexfoundry/app-record-replay/internal/application 8.587s coverage: 97.5% of statements [2023-08-15T23:47:10.041Z] --- FAIL: TestHttpController_ExportRecordedData (0.01s) [2023-08-15T23:47:10.041Z] --- FAIL: TestHttpController_ExportRecordedData/Valid_-_no_events (0.00s) [2023-08-15T23:47:10.041Z] controller_test.go:486: [2023-08-15T23:47:10.041Z] Error Trace: /w/workspace/xfoundry_app-record-replay_PR-56/internal/controller/controller_test.go:486 [2023-08-15T23:47:10.041Z] Error: Not equal: [2023-08-15T23:47:10.041Z] expected: 204 [2023-08-15T23:47:10.041Z] actual : 200 [2023-08-15T23:47:10.041Z] Test: TestHttpController_ExportRecordedData/Valid_-_no_events [2023-08-15T23:47:10.041Z] FAIL [2023-08-15T23:47:10.041Z] github.com/edgexfoundry/app-record-replay/internal/controller coverage: 76.5% of statements [2023-08-15T23:47:10.041Z] FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.092s [2023-08-15T23:47:10.041Z] FAIL [2023-08-15T23:47:10.041Z] make: *** [Makefile:69: unittest] Error 1 [Pipeline] } [2023-08-15T23:47:10.053Z] $ docker stop --time=1 4a5abacb04f9332c1c56df4c97e4169fde38301c8fd78cdd300143d63e698bfa [2023-08-15T23:47:13.313Z] $ docker rm -f --volumes 4a5abacb04f9332c1c56df4c97e4169fde38301c8fd78cdd300143d63e698bfa [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-08-15T23:47:13.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T23:47:13.848Z] [2023-08-15T23:47:13.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:47:14.141Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T23:47:14.142Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-15T23:47:14.142Z] 5eb5b503b376: Pulling fs layer [2023-08-15T23:47:14.142Z] 5c69ac0246d0: Pulling fs layer [2023-08-15T23:47:14.142Z] ec43610c2a17: Pulling fs layer [2023-08-15T23:47:14.142Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-15T23:47:14.142Z] 33b1e0a273af: Pulling fs layer [2023-08-15T23:47:14.142Z] 5d3b04190fa2: Pulling fs layer [2023-08-15T23:47:14.142Z] 2f39f015ded8: Pulling fs layer [2023-08-15T23:47:14.142Z] 3a2ae6a8a46f: Waiting [2023-08-15T23:47:14.142Z] 33b1e0a273af: Waiting [2023-08-15T23:47:14.142Z] 5d3b04190fa2: Waiting [2023-08-15T23:47:14.142Z] 2f39f015ded8: Waiting [2023-08-15T23:47:14.142Z] 5c69ac0246d0: Verifying Checksum [2023-08-15T23:47:14.142Z] 5c69ac0246d0: Download complete [2023-08-15T23:47:14.142Z] 3a2ae6a8a46f: Download complete [2023-08-15T23:47:14.142Z] 33b1e0a273af: Verifying Checksum [2023-08-15T23:47:14.142Z] 33b1e0a273af: Download complete [2023-08-15T23:47:14.142Z] 5d3b04190fa2: Verifying Checksum [2023-08-15T23:47:14.142Z] ec43610c2a17: Verifying Checksum [2023-08-15T23:47:14.142Z] ec43610c2a17: Download complete [2023-08-15T23:47:14.402Z] 5eb5b503b376: Download complete [2023-08-15T23:47:14.970Z] 2f39f015ded8: Download complete [2023-08-15T23:47:15.536Z] 5eb5b503b376: Pull complete [2023-08-15T23:47:15.536Z] 5c69ac0246d0: Pull complete [2023-08-15T23:47:15.796Z] ec43610c2a17: Pull complete [2023-08-15T23:47:15.796Z] 3a2ae6a8a46f: Pull complete [2023-08-15T23:47:16.054Z] 33b1e0a273af: Pull complete [2023-08-15T23:47:16.054Z] 5d3b04190fa2: Pull complete [2023-08-15T23:47:20.241Z] 2f39f015ded8: Pull complete [2023-08-15T23:47:20.241Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-15T23:47:20.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T23:47:20.241Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T23:47:20.319Z] prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container [2023-08-15T23:47:20.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/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-15T23:47:23.014Z] $ docker top eb794a2e3c1646f8598f5362c36636573c94b663612109ab2dbf45e4a9014cff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:47:23.389Z] ---> job-cost.sh [2023-08-15T23:47:23.389Z] lf-activate-venv: SKIPPING [2023-08-15T23:47:23.389Z] INFO: No Stack... [2023-08-15T23:47:23.647Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-15T23:47:23.906Z] INFO: Archiving Costs [Pipeline] sh [2023-08-15T23:47:24.197Z] + cat /w/workspace/xfoundry_app-record-replay_PR-56/archives/cost.csv [2023-08-15T23:47:24.197Z] + cut -d, -f6 [Pipeline] lock [2023-08-15T23:47:24.210Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [2023-08-15T23:47:24.211Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3737 in /w/workspace/xfoundry_app-record-replay_PR-56 [2023-08-15T23:47:24.216Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] did not exist. Created. [2023-08-15T23:47:24.216Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [Pipeline] { [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] ws [2023-08-15T23:47:24.270Z] Running in /w/workspace/app-record-replay/7 [Pipeline] { [Pipeline] checkout [2023-08-15T23:47:24.304Z] Selected Git installation does not exist. Using Default [2023-08-15T23:47:24.305Z] The recommended git tool is: NONE [2023-08-15T23:47:24.524Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-15T23:47:24.563Z] Stashed 1 file(s) [Pipeline] } [2023-08-15T23:47:24.605Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-15T23:47:24.628Z] $ docker stop --time=1 eb794a2e3c1646f8598f5362c36636573c94b663612109ab2dbf45e4a9014cff [2023-08-15T23:47:25.767Z] $ docker rm -f --volumes eb794a2e3c1646f8598f5362c36636573c94b663612109ab2dbf45e4a9014cff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-15T23:47:25.869Z] Failed in branch amd64 [2023-08-15T23:47:29.334Z] using credential edgex-jenkins-ssh [2023-08-15T23:47:29.350Z] Cloning the remote Git repository [2023-08-15T23:47:29.398Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-08-15T23:47:29.500Z] > git init /w/workspace/app-record-replay/7 # timeout=10 [2023-08-15T23:47:29.634Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-08-15T23:47:29.635Z] > git --version # timeout=10 [2023-08-15T23:47:29.658Z] > git --version # 'git version 2.25.1' [2023-08-15T23:47:29.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-15T23:47:29.803Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-15T23:47:30.397Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-08-15T23:47:30.419Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-15T23:47:31.220Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-08-15T23:47:31.259Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-08-15T23:47:31.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-15T23:47:31.273Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-15T23:47:31.812Z] Merging remotes/origin/main commit 90458aff5952e3959d65678bf25cab3d18ebfb0c into PR head commit 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 [2023-08-15T23:47:32.098Z] Merge succeeded, producing b1c445ba58da862789ab70ebf79a7cf2e0b66a63 [2023-08-15T23:47:32.099Z] Checking out Revision b1c445ba58da862789ab70ebf79a7cf2e0b66a63 (PR-56) [2023-08-15T23:47:31.836Z] > git config core.sparsecheckout # timeout=10 [2023-08-15T23:47:31.906Z] > git checkout -f 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 # timeout=10 [2023-08-15T23:47:31.983Z] > git remote # timeout=10 [2023-08-15T23:47:32.001Z] > git config --get remote.origin.url # timeout=10 [2023-08-15T23:47:32.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-15T23:47:32.033Z] > git merge 90458aff5952e3959d65678bf25cab3d18ebfb0c # timeout=10 [2023-08-15T23:47:32.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-15T23:47:32.110Z] > git config core.sparsecheckout # timeout=10 [2023-08-15T23:47:32.125Z] > git checkout -f b1c445ba58da862789ab70ebf79a7cf2e0b66a63 # timeout=10 [2023-08-15T23:47:35.560Z] Commit message: "Merge commit '90458aff5952e3959d65678bf25cab3d18ebfb0c' into HEAD" [2023-08-15T23:47:35.584Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-08-15T23:47:35.572Z] > git rev-list --no-walk 2cfbca2b21e0b27c63edfce00d075b62c178e9bd # timeout=10 [Pipeline] sh [2023-08-15T23:47:36.398Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-15T23:47:36.398Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-15T23:47:36.398Z] Dload Upload Total Spent Left Speed [2023-08-15T23:47:36.398Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-08-15T23:47:37.112Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-15T23:47:37.432Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-15T23:47:37.432Z] + sudo tee /etc/docker/daemon.new [2023-08-15T23:47:37.432Z] { [2023-08-15T23:47:37.432Z] "registry-mirrors": [ [2023-08-15T23:47:37.432Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-15T23:47:37.432Z] ], [2023-08-15T23:47:37.432Z] "bip": "10.250.0.254/24", [2023-08-15T23:47:37.432Z] "hosts": [ [2023-08-15T23:47:37.432Z] "tcp://0.0.0.0:5555", [2023-08-15T23:47:37.432Z] "unix:///var/run/docker.sock" [2023-08-15T23:47:37.432Z] ], [2023-08-15T23:47:37.432Z] "mtu": 1458, [2023-08-15T23:47:37.432Z] "selinux-enabled": true, [2023-08-15T23:47:37.432Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-15T23:47:37.432Z] } [Pipeline] sh [2023-08-15T23:47:37.757Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-15T23:47:38.100Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T23:47:56.344Z] provisioning config files... [2023-08-15T23:47:56.367Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/7@tmp/config11803869293225333403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:47:56.706Z] ---> docker-login.sh [2023-08-15T23:47:56.707Z] nexus3.edgexfoundry.org:10001 [2023-08-15T23:47:56.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:47:57.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:47:57.244Z] Configure a credential helper to remove this warning. See [2023-08-15T23:47:57.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:47:57.244Z] [2023-08-15T23:47:57.244Z] Login Succeeded [2023-08-15T23:47:57.244Z] nexus3.edgexfoundry.org:10002 [2023-08-15T23:47:57.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:47:57.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:47:57.513Z] Configure a credential helper to remove this warning. See [2023-08-15T23:47:57.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:47:57.513Z] [2023-08-15T23:47:57.513Z] Login Succeeded [2023-08-15T23:47:57.513Z] nexus3.edgexfoundry.org:10003 [2023-08-15T23:47:57.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:47:58.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:47:58.054Z] Configure a credential helper to remove this warning. See [2023-08-15T23:47:58.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:47:58.054Z] [2023-08-15T23:47:58.054Z] Login Succeeded [2023-08-15T23:47:58.054Z] nexus3.edgexfoundry.org:10004 [2023-08-15T23:47:58.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:47:58.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:47:58.326Z] Configure a credential helper to remove this warning. See [2023-08-15T23:47:58.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:47:58.326Z] [2023-08-15T23:47:58.326Z] Login Succeeded [2023-08-15T23:47:58.326Z] docker.io [2023-08-15T23:47:58.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-15T23:47:58.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-15T23:47:58.862Z] Configure a credential helper to remove this warning. See [2023-08-15T23:47:58.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-15T23:47:58.862Z] [2023-08-15T23:47:58.862Z] Login Succeeded [2023-08-15T23:47:58.862Z] ---> docker-login.sh ends [Pipeline] } [2023-08-15T23:47:58.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-15T23:47:59.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T23:47:59.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-15T23:47:59.164Z] ========================================================= [2023-08-15T23:47:59.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-15T23:47:59.164Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:47:59.511Z] + 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-08-15T23:47:59.778Z] Sending build context to Docker daemon 204.8kB [2023-08-15T23:47:59.778Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-15T23:47:59.778Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-15T23:48:01.187Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-15T23:48:01.187Z] edb6bdbacee9: Pulling fs layer [2023-08-15T23:48:01.187Z] 5f9638ab2659: Pulling fs layer [2023-08-15T23:48:01.187Z] 8d51d6327a98: Pulling fs layer [2023-08-15T23:48:01.187Z] 8b374f2dd631: Pulling fs layer [2023-08-15T23:48:01.187Z] ec14aa9079de: Pulling fs layer [2023-08-15T23:48:01.187Z] 2f466654f4bb: Pulling fs layer [2023-08-15T23:48:01.187Z] 554e91adad29: Pulling fs layer [2023-08-15T23:48:01.187Z] ec14aa9079de: Waiting [2023-08-15T23:48:01.187Z] 2f466654f4bb: Waiting [2023-08-15T23:48:01.187Z] 8b374f2dd631: Waiting [2023-08-15T23:48:01.187Z] 554e91adad29: Waiting [2023-08-15T23:48:01.187Z] 5f9638ab2659: Verifying Checksum [2023-08-15T23:48:01.187Z] 5f9638ab2659: Download complete [2023-08-15T23:48:01.187Z] 8b374f2dd631: Verifying Checksum [2023-08-15T23:48:01.187Z] 8b374f2dd631: Download complete [2023-08-15T23:48:01.187Z] ec14aa9079de: Verifying Checksum [2023-08-15T23:48:01.187Z] ec14aa9079de: Download complete [2023-08-15T23:48:01.187Z] edb6bdbacee9: Verifying Checksum [2023-08-15T23:48:01.187Z] edb6bdbacee9: Download complete [2023-08-15T23:48:02.177Z] edb6bdbacee9: Pull complete [2023-08-15T23:48:02.445Z] 554e91adad29: Verifying Checksum [2023-08-15T23:48:02.445Z] 554e91adad29: Download complete [2023-08-15T23:48:02.715Z] 5f9638ab2659: Pull complete [2023-08-15T23:48:03.683Z] 2f466654f4bb: Verifying Checksum [2023-08-15T23:48:03.683Z] 2f466654f4bb: Download complete [2023-08-15T23:48:03.683Z] 8d51d6327a98: Verifying Checksum [2023-08-15T23:48:03.683Z] 8d51d6327a98: Download complete [2023-08-15T23:48:15.997Z] 8d51d6327a98: Pull complete [2023-08-15T23:48:15.997Z] 8b374f2dd631: Pull complete [2023-08-15T23:48:15.997Z] ec14aa9079de: Pull complete [2023-08-15T23:48:21.344Z] 2f466654f4bb: Pull complete [2023-08-15T23:48:23.960Z] 554e91adad29: Pull complete [2023-08-15T23:48:23.960Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-15T23:48:23.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-15T23:48:23.960Z] ---> 1e15ea492957 [2023-08-15T23:48:23.960Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-08-15T23:48:29.302Z] ---> Running in 6269224be64b [2023-08-15T23:48:29.302Z] Removing intermediate container 6269224be64b [2023-08-15T23:48:29.302Z] ---> 9d5c51ec011c [2023-08-15T23:48:29.302Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-15T23:48:29.302Z] ---> Running in 597e17e4523b [2023-08-15T23:48:29.569Z] Removing intermediate container 597e17e4523b [2023-08-15T23:48:29.569Z] ---> 2941b5577861 [2023-08-15T23:48:29.569Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-15T23:48:29.569Z] ---> Running in f1c7d21ca241 [2023-08-15T23:48:29.835Z] Removing intermediate container f1c7d21ca241 [2023-08-15T23:48:29.835Z] ---> b65b8ce40556 [2023-08-15T23:48:29.835Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-15T23:48:30.102Z] ---> Running in aa0e849466e9 [2023-08-15T23:48:31.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-15T23:48:31.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-15T23:48:32.610Z] OK: 263 MiB in 53 packages [2023-08-15T23:48:33.582Z] Removing intermediate container aa0e849466e9 [2023-08-15T23:48:33.582Z] ---> 99630a42c383 [2023-08-15T23:48:33.582Z] Step 7/12 : WORKDIR /app [2023-08-15T23:48:33.582Z] ---> Running in 0798d0702b32 [2023-08-15T23:48:33.582Z] Removing intermediate container 0798d0702b32 [2023-08-15T23:48:33.582Z] ---> 151839349086 [2023-08-15T23:48:33.582Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-15T23:48:34.166Z] ---> 59561a1b0a83 [2023-08-15T23:48:34.166Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-15T23:48:34.166Z] ---> Running in 9ff222205581 [2023-08-15T23:49:42.041Z] Removing intermediate container 9ff222205581 [2023-08-15T23:49:42.041Z] ---> 5e124d019145 [2023-08-15T23:49:42.041Z] Step 10/12 : COPY . . [2023-08-15T23:49:42.041Z] ---> 413264d0be91 [2023-08-15T23:49:42.041Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-15T23:49:42.041Z] ---> Running in 21809268de2d [2023-08-15T23:49:42.041Z] Removing intermediate container 21809268de2d [2023-08-15T23:49:42.041Z] ---> 6f5316c1a92f [2023-08-15T23:49:42.041Z] Step 12/12 : RUN $MAKE [2023-08-15T23:49:42.041Z] ---> Running in 3a3afa74277c [2023-08-15T23:49:42.041Z] noop [2023-08-15T23:49:42.041Z] Removing intermediate container 3a3afa74277c [2023-08-15T23:49:42.041Z] ---> 4099422c430d [2023-08-15T23:49:42.041Z] Successfully built 4099422c430d [2023-08-15T23:49:42.041Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:49:42.396Z] + docker inspect -f . ci-base-image-arm64 [2023-08-15T23:49:42.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T23:49:42.596Z] prd-ubuntu20.04-docker-arm64-4c-16g-3737 does not seem to be running inside a container [2023-08-15T23:49:42.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/7 -v /w/workspace/app-record-replay/7:/w/workspace/app-record-replay/7:rw,z -v /w/workspace/app-record-replay/7@tmp:/w/workspace/app-record-replay/7@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 ******** -e ******** ci-base-image-arm64 cat [2023-08-15T23:49:43.786Z] $ docker top e29b5ea8a707ad265e8f9f42c7ef9675ce5785ffdf512e8d7bfeb992c13f1cfe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T23:49:44.606Z] + go version [2023-08-15T23:49:44.606Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-15T23:49:44.624Z] $ docker stop --time=1 e29b5ea8a707ad265e8f9f42c7ef9675ce5785ffdf512e8d7bfeb992c13f1cfe [2023-08-15T23:49:47.532Z] $ docker rm -f --volumes e29b5ea8a707ad265e8f9f42c7ef9675ce5785ffdf512e8d7bfeb992c13f1cfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:49:48.066Z] + docker inspect -f . ci-base-image-arm64 [2023-08-15T23:49:48.066Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T23:49:48.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-3737 does not seem to be running inside a container [2023-08-15T23:49:48.293Z] $ 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/7 -v /w/workspace/app-record-replay/7:/w/workspace/app-record-replay/7:rw,z -v /w/workspace/app-record-replay/7@tmp:/w/workspace/app-record-replay/7@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 ******** -e ******** ci-base-image-arm64 cat [2023-08-15T23:49:49.414Z] $ docker top d90527a96cf9495f787bbe0da22997a2a269204efa3c20154eae4ca682f5e817 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T23:49:50.231Z] + git config --global --add safe.directory /w/workspace/app-record-replay/7 [Pipeline] fileExists [Pipeline] sh [2023-08-15T23:49:50.556Z] + make test [2023-08-15T23:49:50.556Z] go test -race -coverprofile=coverage.out ./... [2023-08-15T23:52:27.265Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-08-15T23:52:39.572Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.255s coverage: 88.0% of statements [2023-08-15T23:52:43.828Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-08-15T23:52:43.828Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-08-15T23:52:43.828Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-08-15T23:52:47.197Z] ok github.com/edgexfoundry/app-record-replay/internal/application 8.845s coverage: 97.5% of statements [2023-08-15T23:52:47.197Z] --- FAIL: TestHttpController_ExportRecordedData (0.18s) [2023-08-15T23:52:47.197Z] --- FAIL: TestHttpController_ExportRecordedData/Valid_-_no_events (0.00s) [2023-08-15T23:52:47.197Z] controller_test.go:486: [2023-08-15T23:52:47.197Z] Error Trace: /w/workspace/app-record-replay/7/internal/controller/controller_test.go:486 [2023-08-15T23:52:47.197Z] Error: Not equal: [2023-08-15T23:52:47.197Z] expected: 204 [2023-08-15T23:52:47.197Z] actual : 200 [2023-08-15T23:52:47.197Z] Test: TestHttpController_ExportRecordedData/Valid_-_no_events [2023-08-15T23:52:47.197Z] FAIL [2023-08-15T23:52:47.197Z] github.com/edgexfoundry/app-record-replay/internal/controller coverage: 76.5% of statements [2023-08-15T23:52:47.197Z] FAIL github.com/edgexfoundry/app-record-replay/internal/controller 1.153s [2023-08-15T23:52:47.197Z] FAIL [2023-08-15T23:52:48.166Z] make: *** [Makefile:69: unittest] Error 1 [Pipeline] } [2023-08-15T23:52:48.184Z] $ docker stop --time=1 d90527a96cf9495f787bbe0da22997a2a269204efa3c20154eae4ca682f5e817 [2023-08-15T23:52:50.203Z] $ docker rm -f --volumes d90527a96cf9495f787bbe0da22997a2a269204efa3c20154eae4ca682f5e817 [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-08-15T23:52:55.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-15T23:52:55.355Z] [2023-08-15T23:52:55.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:52:55.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-15T23:52:55.975Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-15T23:52:55.975Z] 8998bd30e6a1: Pulling fs layer [2023-08-15T23:52:55.975Z] 04944245beec: Pulling fs layer [2023-08-15T23:52:55.975Z] 699f458cf7ca: Pulling fs layer [2023-08-15T23:52:55.975Z] 765212b225bb: Pulling fs layer [2023-08-15T23:52:55.975Z] f23df028b6ca: Pulling fs layer [2023-08-15T23:52:55.975Z] d65c8cfc05b1: Pulling fs layer [2023-08-15T23:52:55.975Z] 2437ff75d9bd: Pulling fs layer [2023-08-15T23:52:55.975Z] 765212b225bb: Waiting [2023-08-15T23:52:55.975Z] f23df028b6ca: Waiting [2023-08-15T23:52:55.975Z] d65c8cfc05b1: Waiting [2023-08-15T23:52:55.975Z] 2437ff75d9bd: Waiting [2023-08-15T23:52:55.975Z] 04944245beec: Verifying Checksum [2023-08-15T23:52:55.975Z] 04944245beec: Download complete [2023-08-15T23:52:55.975Z] 765212b225bb: Download complete [2023-08-15T23:52:55.975Z] f23df028b6ca: Verifying Checksum [2023-08-15T23:52:56.244Z] f23df028b6ca: Download complete [2023-08-15T23:52:56.244Z] d65c8cfc05b1: Verifying Checksum [2023-08-15T23:52:56.244Z] d65c8cfc05b1: Download complete [2023-08-15T23:52:56.244Z] 699f458cf7ca: Verifying Checksum [2023-08-15T23:52:56.244Z] 699f458cf7ca: Download complete [2023-08-15T23:52:56.829Z] 8998bd30e6a1: Verifying Checksum [2023-08-15T23:52:56.829Z] 8998bd30e6a1: Download complete [2023-08-15T23:53:00.188Z] 2437ff75d9bd: Verifying Checksum [2023-08-15T23:53:00.188Z] 2437ff75d9bd: Download complete [2023-08-15T23:53:02.798Z] 8998bd30e6a1: Pull complete [2023-08-15T23:53:03.387Z] 04944245beec: Pull complete [2023-08-15T23:53:04.789Z] 699f458cf7ca: Pull complete [2023-08-15T23:53:04.789Z] 765212b225bb: Pull complete [2023-08-15T23:53:05.750Z] f23df028b6ca: Pull complete [2023-08-15T23:53:05.750Z] d65c8cfc05b1: Pull complete [2023-08-15T23:53:20.746Z] 2437ff75d9bd: Pull complete [2023-08-15T23:53:20.746Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-15T23:53:20.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-15T23:53:20.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T23:53:20.931Z] prd-ubuntu20.04-docker-arm64-4c-16g-3737 does not seem to be running inside a container [2023-08-15T23:53:21.051Z] $ 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/7 -v /w/workspace/app-record-replay/7:/w/workspace/app-record-replay/7:rw,z -v /w/workspace/app-record-replay/7@tmp:/w/workspace/app-record-replay/7@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-15T23:53:23.412Z] $ docker top bd58bd69d2247aecdf5c67177848b2b5ed935b29adfa53095e519e3a811e0e79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:53:24.273Z] ---> job-cost.sh [2023-08-15T23:53:24.273Z] lf-activate-venv: SKIPPING [2023-08-15T23:53:24.273Z] INFO: No Stack... [2023-08-15T23:53:24.542Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-15T23:53:25.510Z] INFO: Archiving Costs [Pipeline] sh [2023-08-15T23:53:25.855Z] + cut -d, -f6 [2023-08-15T23:53:25.855Z] + cat /w/workspace/app-record-replay/7/archives/cost.csv [Pipeline] lock [2023-08-15T23:53:25.933Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [2023-08-15T23:53:25.938Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] did not exist. Created. [2023-08-15T23:53:25.939Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-15T23:53:26.602Z] /w/workspace/app-record-replay/7@tmp/durable-74600967/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-15T23:53:26.933Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-15T23:53:26.957Z] Warning: overwriting stash ‘stack-cost’ [2023-08-15T23:53:27.293Z] Stashed 1 file(s) [Pipeline] } [2023-08-15T23:53:27.299Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-15T23:53:27.318Z] $ docker stop --time=1 bd58bd69d2247aecdf5c67177848b2b5ed935b29adfa53095e519e3a811e0e79 [2023-08-15T23:53:28.745Z] $ docker rm -f --volumes bd58bd69d2247aecdf5c67177848b2b5ed935b29adfa53095e519e3a811e0e79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-15T23:53:29.003Z] 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-08-15T23:53:29.749Z] + [ -d /w/workspace/xfoundry_app-record-replay_PR-56/archives ] [2023-08-15T23:53:29.749Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives [2023-08-15T23:53:29.749Z] total 16 [2023-08-15T23:53:29.749Z] drwxr-xr-x 3 root root 4096 Aug 15 23:47 . [2023-08-15T23:53:29.749Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 23:47 .. [2023-08-15T23:53:29.749Z] drwxr-xr-x 2 root root 4096 Aug 15 23:47 cost [2023-08-15T23:53:29.749Z] -rw-r--r-- 1 root root 88 Aug 15 23:47 cost.csv [2023-08-15T23:53:29.749Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-56/archives [2023-08-15T23:53:29.749Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives [2023-08-15T23:53:29.749Z] total 16 [2023-08-15T23:53:29.749Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 23:47 . [2023-08-15T23:53:29.749Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 23:47 .. [2023-08-15T23:53:29.749Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 23:47 cost [2023-08-15T23:53:29.749Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 15 23:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:53:30.036Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:53:30.900Z] ---> package-listing.sh [2023-08-15T23:53:30.900Z] ++ facter osfamily [2023-08-15T23:53:30.900Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-15T23:53:31.160Z] + OS_FAMILY=debian [2023-08-15T23:53:31.160Z] + workspace=/w/workspace/xfoundry_app-record-replay_PR-56 [2023-08-15T23:53:31.160Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-15T23:53:31.160Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-15T23:53:31.160Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-15T23:53:31.160Z] + PACKAGES=/tmp/packages_start.txt [2023-08-15T23:53:31.160Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' [2023-08-15T23:53:31.160Z] + PACKAGES=/tmp/packages_end.txt [2023-08-15T23:53:31.160Z] + case "${OS_FAMILY}" in [2023-08-15T23:53:31.160Z] + dpkg -l [2023-08-15T23:53:31.160Z] + grep '^ii' [2023-08-15T23:53:31.160Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-15T23:53:31.160Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-15T23:53:31.160Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-15T23:53:31.160Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' [2023-08-15T23:53:31.160Z] + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-56/archives/ [2023-08-15T23:53:31.160Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-56/archives/ [Pipeline] echo [2023-08-15T23:53:31.170Z] 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-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-15T23:53:31.445Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-15T23:53:32.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-15T23:53:32.004Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-15T23:53:32.081Z] prd-ubuntu20.04-docker-8c-8g-3736 does not seem to be running inside a container [2023-08-15T23:53:32.110Z] $ 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-56/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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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-08-15T23:53:32.296Z] $ docker top 578882f2ed5cfd05cba7a29ce605a3632f378fd9f70c87be438949bc531c1b58 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-15T23:53:32.629Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-15T23:53:32.918Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-15T23:53:33.203Z] + ls /var/log/sa-host [2023-08-15T23:53:33.203Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-15T23:53:33.272Z] provisioning config files... [2023-08-15T23:53:33.281Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config14400604256458931010tmp [Pipeline] { [Pipeline] echo [2023-08-15T23:53:33.294Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:53:33.575Z] ---> create-netrc.sh [Pipeline] } [2023-08-15T23:53:33.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:53:33.896Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-15T23:53:33.904Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:53:34.184Z] ---> sudo-logs.sh [2023-08-15T23:53:34.184Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-15T23:53:34.217Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:53:34.500Z] ---> job-cost.sh [2023-08-15T23:53:34.500Z] lf-activate-venv: SKIPPING [2023-08-15T23:53:34.500Z] DEBUG: total: 0.2199999988079071 [2023-08-15T23:53:34.501Z] INFO: Retrieving Stack Cost... [2023-08-15T23:53:34.759Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-15T23:53:35.019Z] INFO: Archiving Costs [Pipeline] echo [2023-08-15T23:53:35.031Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-15T23:53:35.314Z] ---> logs-deploy.sh [2023-08-15T23:53:35.314Z] lf-activate-venv: SKIPPING [2023-08-15T23:53:35.314Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-56/7 [2023-08-15T23:53:35.314Z] INFO: archiving workspace using pattern(s): [2023-08-15T23:53:36.252Z] Archives upload complete. [2023-08-15T23:53:36.252Z] INFO: archiving logs to Nexus