Branch indexing 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 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b rather than 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 Obtained Jenkinsfile from 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b 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-ssh14346500000659253394.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-ssh10273949741387718988.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-ssh7907010252329059512.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-ssh8393957261359750194.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-ssh13784919044837033649.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3869 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 > 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 Merging remotes/origin/main commit 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b into PR head commit 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 Merge succeeded, producing 1ad073cca624a1583db6d75c8c43702e0bb754c1 Checking out Revision 1ad073cca624a1583db6d75c8c43702e0bb754c1 (PR-56) > 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 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ad073cca624a1583db6d75c8c43702e0bb754c1 # timeout=10 Commit message: "Merge commit '2e2d2508cb469b8aa4f57d66e2e040b41fc2985b' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk b1c445ba58da862789ab70ebf79a7cf2e0b66a63 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-16T23:09:37.638Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-16T23:09:37.693Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-16T23:09:37.709Z] ========================================================= [2023-08-16T23:09:37.709Z] EdgeX Global Pipelines Version Info [2023-08-16T23:09:37.709Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:09:38.420Z] ------------------- [2023-08-16T23:09:38.420Z] stable info: [2023-08-16T23:09:38.420Z] ------------------- [2023-08-16T23:09:38.420Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-16T23:09:38.420Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-16T23:09:38.420Z] Message: update stable to v1.0.253 [2023-08-16T23:09:38.989Z] ------------------- [2023-08-16T23:09:38.989Z] experimental info: [2023-08-16T23:09:38.989Z] ------------------- [2023-08-16T23:09:38.989Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-16T23:09:38.989Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-16T23:09:38.989Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-16T23:09:39.174Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-08-16T23:09:39.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-08-16T23:09:39.200Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-16T23:09:39.216Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-16T23:09:39.239Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-16T23:09:39.257Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-16T23:09:39.274Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-16T23:09:39.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-16T23:09:39.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-16T23:09:39.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-16T23:09:39.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-16T23:09:39.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-08-16T23:09:39.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-16T23:09:39.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-16T23:09:39.426Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-16T23:09:39.452Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-16T23:09:39.473Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-16T23:09:39.491Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-16T23:09:39.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-16T23:09:39.525Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-16T23:09:39.544Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-16T23:09:39.562Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-16T23:09:39.579Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-16T23:09:39.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-16T23:09:39.612Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-16T23:09:39.628Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-16T23:09:39.647Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-16T23:09:39.666Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo [2023-08-16T23:09:39.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo [2023-08-16T23:09:39.704Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo [2023-08-16T23:09:39.729Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ad073cca624a1583db6d75c8c43702e0bb754c1 [Pipeline] echo [2023-08-16T23:09:39.743Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ad073c [Pipeline] echo [2023-08-16T23:09:39.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-16T23:09:39.821Z] provisioning config files... [2023-08-16T23:09:39.831Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config11344170108053555907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:09:40.136Z] ---> docker-login.sh [2023-08-16T23:09:40.136Z] nexus3.edgexfoundry.org:10001 [2023-08-16T23:09:40.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:40.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:40.397Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:40.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:40.397Z] [2023-08-16T23:09:40.397Z] Login Succeeded [2023-08-16T23:09:40.397Z] nexus3.edgexfoundry.org:10002 [2023-08-16T23:09:40.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:40.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:40.657Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:40.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:40.657Z] [2023-08-16T23:09:40.657Z] Login Succeeded [2023-08-16T23:09:40.657Z] nexus3.edgexfoundry.org:10003 [2023-08-16T23:09:40.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:40.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:40.657Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:40.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:40.657Z] [2023-08-16T23:09:40.657Z] Login Succeeded [2023-08-16T23:09:40.657Z] nexus3.edgexfoundry.org:10004 [2023-08-16T23:09:40.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:40.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:40.916Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:40.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:40.916Z] [2023-08-16T23:09:40.916Z] Login Succeeded [2023-08-16T23:09:40.916Z] docker.io [2023-08-16T23:09:40.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:41.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:41.175Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:41.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:41.175Z] [2023-08-16T23:09:41.175Z] Login Succeeded [2023-08-16T23:09:41.175Z] ---> docker-login.sh ends [Pipeline] } [2023-08-16T23:09:41.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-16T23:09:41.586Z] + git rev-list -1 --merges 1ad073cca624a1583db6d75c8c43702e0bb754c1~1..1ad073cca624a1583db6d75c8c43702e0bb754c1 [Pipeline] echo [2023-08-16T23:09:41.630Z] -----------> git rev-list -1 --merges 1ad073cca624a1583db6d75c8c43702e0bb754c1~1..1ad073cca624a1583db6d75c8c43702e0bb754c1 1ad073cca624a1583db6d75c8c43702e0bb754c1 [2023-08-16T23:09:41.630Z] 1ad073cca624a1583db6d75c8c43702e0bb754c1 [false] [Pipeline] sh [2023-08-16T23:09:41.920Z] + git log --format=format:%s -1 1ad073cca624a1583db6d75c8c43702e0bb754c1 [Pipeline] echo [2023-08-16T23:09:41.933Z] ========================================================= [2023-08-16T23:09:41.933Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-16T23:09:41.933Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-16T23:09:42.274Z] + git log --format=format:%s -1 1ad073cca624a1583db6d75c8c43702e0bb754c1 [Pipeline] echo [2023-08-16T23:09:42.284Z] [semverPrep] GIT_COMMIT: 1ad073cca624a1583db6d75c8c43702e0bb754c1, Commit Message: Merge commit '2e2d2508cb469b8aa4f57d66e2e040b41fc2985b' into HEAD [Pipeline] echo [2023-08-16T23:09:42.292Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-16T23:09:42.663Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-16T23:09:42.663Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-16T23:09:42.663Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-16T23:09:42.663Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-16T23:09:42.663Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-16T23:09:42.663Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-16T23:09:42.663Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:09:43.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T23:09:43.121Z] [2023-08-16T23:09:43.121Z] 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-16T23:09:43.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T23:09:43.417Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-16T23:09:43.417Z] b85a868b505f: Pulling fs layer [2023-08-16T23:09:43.417Z] e2be974225ed: Pulling fs layer [2023-08-16T23:09:43.417Z] 339a4e72a1f5: Pulling fs layer [2023-08-16T23:09:43.417Z] 988bab9f4d93: Pulling fs layer [2023-08-16T23:09:43.417Z] 1469e6f7b9e6: Pulling fs layer [2023-08-16T23:09:43.417Z] eaf3925da568: Pulling fs layer [2023-08-16T23:09:43.417Z] bab4dde63d76: Pulling fs layer [2023-08-16T23:09:43.417Z] bde34c3a00c8: Pulling fs layer [2023-08-16T23:09:43.417Z] b352a97aabf1: Pulling fs layer [2023-08-16T23:09:43.417Z] 4872d77fe225: Pulling fs layer [2023-08-16T23:09:43.417Z] 5851b861e8e6: Pulling fs layer [2023-08-16T23:09:43.417Z] 4872d77fe225: Waiting [2023-08-16T23:09:43.417Z] bab4dde63d76: Waiting [2023-08-16T23:09:43.417Z] bde34c3a00c8: Waiting [2023-08-16T23:09:43.417Z] b352a97aabf1: Waiting [2023-08-16T23:09:43.417Z] 5851b861e8e6: Waiting [2023-08-16T23:09:43.417Z] 1469e6f7b9e6: Waiting [2023-08-16T23:09:43.417Z] eaf3925da568: Waiting [2023-08-16T23:09:43.417Z] e2be974225ed: Verifying Checksum [2023-08-16T23:09:43.417Z] 988bab9f4d93: Download complete [2023-08-16T23:09:43.677Z] 1469e6f7b9e6: Verifying Checksum [2023-08-16T23:09:43.677Z] 1469e6f7b9e6: Download complete [2023-08-16T23:09:43.677Z] 339a4e72a1f5: Verifying Checksum [2023-08-16T23:09:43.677Z] 339a4e72a1f5: Download complete [2023-08-16T23:09:43.677Z] eaf3925da568: Download complete [2023-08-16T23:09:43.677Z] bde34c3a00c8: Verifying Checksum [2023-08-16T23:09:43.677Z] bde34c3a00c8: Download complete [2023-08-16T23:09:43.677Z] b352a97aabf1: Verifying Checksum [2023-08-16T23:09:43.677Z] b352a97aabf1: Download complete [2023-08-16T23:09:43.677Z] 4872d77fe225: Download complete [2023-08-16T23:09:43.677Z] 5851b861e8e6: Verifying Checksum [2023-08-16T23:09:43.677Z] 5851b861e8e6: Download complete [2023-08-16T23:09:43.677Z] b85a868b505f: Verifying Checksum [2023-08-16T23:09:43.677Z] b85a868b505f: Download complete [2023-08-16T23:09:43.935Z] bab4dde63d76: Verifying Checksum [2023-08-16T23:09:43.935Z] bab4dde63d76: Download complete [2023-08-16T23:09:45.313Z] b85a868b505f: Pull complete [2023-08-16T23:09:45.313Z] e2be974225ed: Pull complete [2023-08-16T23:09:45.572Z] 339a4e72a1f5: Pull complete [2023-08-16T23:09:45.831Z] 988bab9f4d93: Pull complete [2023-08-16T23:09:46.091Z] 1469e6f7b9e6: Pull complete [2023-08-16T23:09:46.091Z] eaf3925da568: Pull complete [2023-08-16T23:09:47.995Z] bab4dde63d76: Pull complete [2023-08-16T23:09:47.995Z] bde34c3a00c8: Pull complete [2023-08-16T23:09:47.995Z] b352a97aabf1: Pull complete [2023-08-16T23:09:47.995Z] 4872d77fe225: Pull complete [2023-08-16T23:09:48.254Z] 5851b861e8e6: Pull complete [2023-08-16T23:09:48.254Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-16T23:09:48.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T23:09:48.254Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T23:09:48.364Z] prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container [2023-08-16T23:09:48.392Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-16T23:09:53.051Z] $ docker top 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 -eo pid,comm [2023-08-16T23:09:53.100Z] 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-16T23:09:53.100Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-16T23:09:53.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-16T23:09:53.138Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-16T23:09:53.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-16T23:09:53.255Z] $ docker exec 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 ssh-agent [2023-08-16T23:09:53.353Z] SSH_AUTH_SOCK=/tmp/ssh-sNRceeFkQ7Zb/agent.32 [2023-08-16T23:09:53.353Z] SSH_AGENT_PID=38 [2023-08-16T23:09:53.360Z] Running ssh-add (command line suppressed) [2023-08-16T23:09:53.448Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_15919815641997373063.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_15919815641997373063.key) [2023-08-16T23:09:53.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-16T23:09:53.747Z] + git tag --points-at HEAD [Pipeline] } [2023-08-16T23:09:53.770Z] $ docker exec --env ******** --env ******** 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 ssh-agent -k [2023-08-16T23:09:53.872Z] unset SSH_AUTH_SOCK; [2023-08-16T23:09:53.872Z] unset SSH_AGENT_PID; [2023-08-16T23:09:53.872Z] echo Agent pid 38 killed; [2023-08-16T23:09:53.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-16T23:09:53.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-16T23:09:53.900Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-16T23:09:54.011Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-16T23:09:54.017Z] $ docker exec 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 ssh-agent [2023-08-16T23:09:54.123Z] SSH_AUTH_SOCK=/tmp/ssh-S4hJgRAFPlbr/agent.70 [2023-08-16T23:09:54.123Z] SSH_AGENT_PID=76 [2023-08-16T23:09:54.127Z] Running ssh-add (command line suppressed) [2023-08-16T23:09:54.223Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_1772396737486514541.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_1772396737486514541.key) [2023-08-16T23:09:54.236Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-16T23:09:54.524Z] + git semver init [2023-08-16T23:09:55.092Z] 2023-08-16 23:09:54,883 [run_init] DEBUG init version:0.0.0 force:False [2023-08-16T23:09:55.092Z] 2023-08-16 23:09:54,884 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-56/.semver [2023-08-16T23:09:55.092Z] 2023-08-16 23:09:54,884 [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-16T23:09:55.092Z] 2023-08-16 23:09:54,885 [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-16T23:09:55.661Z] 2023-08-16 23:09:55,457 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-56/.git/info/exclude [2023-08-16T23:09:55.662Z] 2023-08-16 23:09:55,458 [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-16T23:09:55.662Z] 2023-08-16 23:09:55,458 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 [2023-08-16T23:09:55.662Z] 2023-08-16 23:09:55,461 [execute] INFO git cat-file --batch-check [2023-08-16T23:09:55.662Z] 2023-08-16 23:09:55,461 [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-16T23:09:55.662Z] 2023-08-16 23:09:55,467 [execute] INFO git cat-file --batch [2023-08-16T23:09:55.662Z] 2023-08-16 23:09:55,468 [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-16T23:09:55.662Z] 2023-08-16 23:09:55,472 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 [2023-08-16T23:09:55.662Z] 0.0.0 [Pipeline] } [2023-08-16T23:09:55.672Z] $ docker exec --env ******** --env ******** 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 ssh-agent -k [2023-08-16T23:09:55.768Z] unset SSH_AUTH_SOCK; [2023-08-16T23:09:55.768Z] unset SSH_AGENT_PID; [2023-08-16T23:09:55.768Z] echo Agent pid 76 killed; [2023-08-16T23:09:55.775Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-16T23:09:56.087Z] + git semver [Pipeline] } [2023-08-16T23:09:56.671Z] $ docker stop --time=1 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 [2023-08-16T23:09:57.969Z] $ docker rm -f --volumes 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-16T23:09:58.297Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-16T23:09:58.509Z] Stashed 1 file(s) [Pipeline] echo [2023-08-16T23:09:58.512Z] [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-16T23:09:58.669Z] provisioning config files... [2023-08-16T23:09:58.679Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config15491348811103008951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:09:58.973Z] ---> docker-login.sh [2023-08-16T23:09:58.973Z] nexus3.edgexfoundry.org:10001 [2023-08-16T23:09:58.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:58.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:58.973Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:58.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:58.973Z] [2023-08-16T23:09:58.973Z] Login Succeeded [2023-08-16T23:09:58.973Z] nexus3.edgexfoundry.org:10002 [2023-08-16T23:09:58.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:58.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:58.973Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:58.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:58.973Z] [2023-08-16T23:09:58.973Z] Login Succeeded [2023-08-16T23:09:58.973Z] nexus3.edgexfoundry.org:10003 [2023-08-16T23:09:59.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:59.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:59.231Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:59.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:59.231Z] [2023-08-16T23:09:59.231Z] Login Succeeded [2023-08-16T23:09:59.231Z] nexus3.edgexfoundry.org:10004 [2023-08-16T23:09:59.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:59.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:59.231Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:59.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:59.231Z] [2023-08-16T23:09:59.231Z] Login Succeeded [2023-08-16T23:09:59.231Z] docker.io [2023-08-16T23:09:59.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:09:59.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:09:59.749Z] Configure a credential helper to remove this warning. See [2023-08-16T23:09:59.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:09:59.749Z] [2023-08-16T23:09:59.749Z] Login Succeeded [2023-08-16T23:09:59.749Z] ---> docker-login.sh ends [Pipeline] } [2023-08-16T23:09:59.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-16T23:09:59.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T23:09:59.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T23:09:59.866Z] ========================================================= [2023-08-16T23:09:59.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-16T23:09:59.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:10:00.193Z] + 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-16T23:10:00.193Z] Sending build context to Docker daemon 454.1kB [2023-08-16T23:10:00.193Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T23:10:00.193Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-16T23:10:00.193Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-16T23:10:00.193Z] 4db1b89c0bd1: Pulling fs layer [2023-08-16T23:10:00.193Z] 6911f1a30b25: Pulling fs layer [2023-08-16T23:10:00.193Z] e194b8c5c2a9: Pulling fs layer [2023-08-16T23:10:00.193Z] 6863d3e3a2b1: Pulling fs layer [2023-08-16T23:10:00.193Z] ec0bb842ea78: Pulling fs layer [2023-08-16T23:10:00.193Z] 40a00589a448: Pulling fs layer [2023-08-16T23:10:00.193Z] 6c08303d61cc: Pulling fs layer [2023-08-16T23:10:00.193Z] 798269fcf238: Pulling fs layer [2023-08-16T23:10:00.193Z] ec0bb842ea78: Waiting [2023-08-16T23:10:00.193Z] 6863d3e3a2b1: Waiting [2023-08-16T23:10:00.193Z] 40a00589a448: Waiting [2023-08-16T23:10:00.193Z] 798269fcf238: Waiting [2023-08-16T23:10:00.193Z] 6c08303d61cc: Waiting [2023-08-16T23:10:00.193Z] 6911f1a30b25: Download complete [2023-08-16T23:10:00.193Z] 6863d3e3a2b1: Download complete [2023-08-16T23:10:00.470Z] ec0bb842ea78: Verifying Checksum [2023-08-16T23:10:00.470Z] ec0bb842ea78: Download complete [2023-08-16T23:10:00.470Z] 4db1b89c0bd1: Verifying Checksum [2023-08-16T23:10:00.470Z] 4db1b89c0bd1: Download complete [2023-08-16T23:10:00.470Z] 40a00589a448: Verifying Checksum [2023-08-16T23:10:00.470Z] 40a00589a448: Download complete [2023-08-16T23:10:00.470Z] 4db1b89c0bd1: Pull complete [2023-08-16T23:10:00.739Z] 6911f1a30b25: Pull complete [2023-08-16T23:10:01.312Z] 798269fcf238: Verifying Checksum [2023-08-16T23:10:01.312Z] 798269fcf238: Download complete [2023-08-16T23:10:01.312Z] e194b8c5c2a9: Verifying Checksum [2023-08-16T23:10:01.312Z] e194b8c5c2a9: Download complete [2023-08-16T23:10:01.572Z] 6c08303d61cc: Verifying Checksum [2023-08-16T23:10:01.572Z] 6c08303d61cc: Download complete [2023-08-16T23:10:04.863Z] e194b8c5c2a9: Pull complete [2023-08-16T23:10:04.863Z] 6863d3e3a2b1: Pull complete [2023-08-16T23:10:04.863Z] ec0bb842ea78: Pull complete [2023-08-16T23:10:04.863Z] 40a00589a448: Pull complete [2023-08-16T23:10:07.393Z] 6c08303d61cc: Pull complete [2023-08-16T23:10:08.328Z] 798269fcf238: Pull complete [2023-08-16T23:10:08.328Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-16T23:10:08.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-16T23:10:08.328Z] ---> ec979cd7f677 [2023-08-16T23:10:08.328Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-08-16T23:10:13.624Z] Still waiting to schedule task [2023-08-16T23:10:13.624Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-16T23:10:16.557Z] ---> Running in 519fc0b493b4 [2023-08-16T23:10:16.557Z] Removing intermediate container 519fc0b493b4 [2023-08-16T23:10:16.557Z] ---> 272cbac7d214 [2023-08-16T23:10:16.557Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-16T23:10:16.557Z] ---> Running in 6c20a2640452 [2023-08-16T23:10:16.557Z] Removing intermediate container 6c20a2640452 [2023-08-16T23:10:16.557Z] ---> f0eb7c67c646 [2023-08-16T23:10:16.557Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-16T23:10:16.557Z] ---> Running in 66ffac5197f3 [2023-08-16T23:10:16.557Z] Removing intermediate container 66ffac5197f3 [2023-08-16T23:10:16.557Z] ---> 09ae186263f0 [2023-08-16T23:10:16.557Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-16T23:10:16.557Z] ---> Running in f73b572b1357 [2023-08-16T23:10:16.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-16T23:10:17.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-16T23:10:17.331Z] OK: 265 MiB in 53 packages [2023-08-16T23:10:17.899Z] Removing intermediate container f73b572b1357 [2023-08-16T23:10:17.899Z] ---> bd9de067a9ce [2023-08-16T23:10:17.899Z] Step 7/12 : WORKDIR /app [2023-08-16T23:10:17.899Z] ---> Running in a45eafe1df81 [2023-08-16T23:10:18.157Z] Removing intermediate container a45eafe1df81 [2023-08-16T23:10:18.157Z] ---> 69af4650a4d1 [2023-08-16T23:10:18.157Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-16T23:10:18.157Z] ---> 508f89040634 [2023-08-16T23:10:18.157Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T23:10:18.157Z] ---> Running in f782e1a3a825 [2023-08-16T23:11:04.947Z] Removing intermediate container f782e1a3a825 [2023-08-16T23:11:04.947Z] ---> aada9fd6632a [2023-08-16T23:11:04.947Z] Step 10/12 : COPY . . [2023-08-16T23:11:05.208Z] ---> 1a79c85bbe7b [2023-08-16T23:11:05.208Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-16T23:11:05.208Z] ---> Running in 802f60fec070 [2023-08-16T23:11:05.466Z] Removing intermediate container 802f60fec070 [2023-08-16T23:11:05.466Z] ---> 3e8370f8c954 [2023-08-16T23:11:05.466Z] Step 12/12 : RUN $MAKE [2023-08-16T23:11:05.466Z] ---> Running in 1614a0e89e50 [2023-08-16T23:11:05.724Z] noop [2023-08-16T23:11:05.982Z] Removing intermediate container 1614a0e89e50 [2023-08-16T23:11:05.982Z] ---> e3c7386561ae [2023-08-16T23:11:05.982Z] Successfully built e3c7386561ae [2023-08-16T23:11:05.982Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:11:06.303Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-16T23:11:06.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T23:11:06.377Z] prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container [2023-08-16T23:11:06.416Z] $ 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 ******** ci-base-image-x86_64 cat [2023-08-16T23:11:06.799Z] $ docker top 30d1fbaab24b90a588183d578c7b3205a2aae1e920f3111167d474a8d3209286 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T23:11:07.142Z] + go version [2023-08-16T23:11:07.142Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-16T23:11:07.159Z] $ docker stop --time=1 30d1fbaab24b90a588183d578c7b3205a2aae1e920f3111167d474a8d3209286 [2023-08-16T23:11:08.476Z] $ docker rm -f --volumes 30d1fbaab24b90a588183d578c7b3205a2aae1e920f3111167d474a8d3209286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:11:08.882Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-16T23:11:08.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T23:11:08.956Z] prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container [2023-08-16T23:11:08.993Z] $ 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 ******** ci-base-image-x86_64 cat [2023-08-16T23:11:09.329Z] $ docker top 2fadf0fd4eb60482dcbb3d9e9b48cae6697f2edd9b4acb33ead64ac76e7ba8e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T23:11:09.663Z] + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] fileExists [Pipeline] sh [2023-08-16T23:11:09.958Z] + make test [2023-08-16T23:11:09.959Z] go test -race -coverprofile=coverage.out ./... [2023-08-16T23:11:31.889Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-08-16T23:11:31.889Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.059s coverage: 88.0% of statements [2023-08-16T23:11:31.889Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-08-16T23:11:31.889Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-08-16T23:11:31.889Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-08-16T23:11:39.998Z] ok github.com/edgexfoundry/app-record-replay/internal/application 8.164s coverage: 97.5% of statements [2023-08-16T23:11:39.998Z] --- FAIL: TestHttpController_ExportRecordedData (0.01s) [2023-08-16T23:11:39.998Z] --- FAIL: TestHttpController_ExportRecordedData/Valid_-_no_events (0.00s) [2023-08-16T23:11:39.998Z] controller_test.go:486: [2023-08-16T23:11:39.998Z] Error Trace: /w/workspace/xfoundry_app-record-replay_PR-56/internal/controller/controller_test.go:486 [2023-08-16T23:11:39.998Z] Error: Not equal: [2023-08-16T23:11:39.998Z] expected: 204 [2023-08-16T23:11:39.999Z] actual : 200 [2023-08-16T23:11:39.999Z] Test: TestHttpController_ExportRecordedData/Valid_-_no_events [2023-08-16T23:11:39.999Z] FAIL [2023-08-16T23:11:39.999Z] github.com/edgexfoundry/app-record-replay/internal/controller coverage: 76.5% of statements [2023-08-16T23:11:39.999Z] FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.081s [2023-08-16T23:11:39.999Z] FAIL [2023-08-16T23:11:39.999Z] make: *** [Makefile:69: unittest] Error 1 [Pipeline] } [2023-08-16T23:11:40.016Z] $ docker stop --time=1 2fadf0fd4eb60482dcbb3d9e9b48cae6697f2edd9b4acb33ead64ac76e7ba8e9 [2023-08-16T23:11:46.257Z] $ docker rm -f --volumes 2fadf0fd4eb60482dcbb3d9e9b48cae6697f2edd9b4acb33ead64ac76e7ba8e9 [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-16T23:11:46.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T23:11:46.845Z] [2023-08-16T23:11:46.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:11:47.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T23:11:47.150Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-16T23:11:47.150Z] 5eb5b503b376: Pulling fs layer [2023-08-16T23:11:47.150Z] 5c69ac0246d0: Pulling fs layer [2023-08-16T23:11:47.150Z] ec43610c2a17: Pulling fs layer [2023-08-16T23:11:47.150Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-16T23:11:47.150Z] 33b1e0a273af: Pulling fs layer [2023-08-16T23:11:47.150Z] 5d3b04190fa2: Pulling fs layer [2023-08-16T23:11:47.150Z] 2f39f015ded8: Pulling fs layer [2023-08-16T23:11:47.150Z] 5d3b04190fa2: Waiting [2023-08-16T23:11:47.150Z] 2f39f015ded8: Waiting [2023-08-16T23:11:47.150Z] 33b1e0a273af: Waiting [2023-08-16T23:11:47.150Z] 3a2ae6a8a46f: Waiting [2023-08-16T23:11:47.150Z] 5c69ac0246d0: Download complete [2023-08-16T23:11:47.150Z] 3a2ae6a8a46f: Download complete [2023-08-16T23:11:47.409Z] 33b1e0a273af: Verifying Checksum [2023-08-16T23:11:47.409Z] 33b1e0a273af: Download complete [2023-08-16T23:11:47.409Z] 5d3b04190fa2: Download complete [2023-08-16T23:11:47.409Z] ec43610c2a17: Verifying Checksum [2023-08-16T23:11:47.409Z] ec43610c2a17: Download complete [2023-08-16T23:11:47.409Z] 5eb5b503b376: Verifying Checksum [2023-08-16T23:11:47.409Z] 5eb5b503b376: Download complete [2023-08-16T23:11:48.343Z] 2f39f015ded8: Verifying Checksum [2023-08-16T23:11:48.343Z] 2f39f015ded8: Download complete [2023-08-16T23:11:48.600Z] 5eb5b503b376: Pull complete [2023-08-16T23:11:48.857Z] 5c69ac0246d0: Pull complete [2023-08-16T23:11:49.115Z] ec43610c2a17: Pull complete [2023-08-16T23:11:49.116Z] 3a2ae6a8a46f: Pull complete [2023-08-16T23:11:49.374Z] 33b1e0a273af: Pull complete [2023-08-16T23:11:49.374Z] 5d3b04190fa2: Pull complete [2023-08-16T23:11:53.563Z] 2f39f015ded8: Pull complete [2023-08-16T23:11:53.563Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-16T23:11:53.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T23:11:53.563Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T23:11:53.648Z] prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container [2023-08-16T23:11:53.688Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-16T23:12:01.074Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3870 in /w/workspace/xfoundry_app-record-replay_PR-56 [2023-08-16T23:12:01.329Z] $ docker top 5876583d81e9505cb7529312a62ddec16561811e8624d7f3d542de1eeceee9b3 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-08-16T23:12:01.470Z] Running in /w/workspace/app-record-replay/8 [Pipeline] { [Pipeline] checkout [2023-08-16T23:12:01.510Z] Selected Git installation does not exist. Using Default [2023-08-16T23:12:01.510Z] The recommended git tool is: NONE [2023-08-16T23:12:01.723Z] ---> job-cost.sh [2023-08-16T23:12:01.723Z] lf-activate-venv: SKIPPING [2023-08-16T23:12:01.723Z] INFO: No Stack... [2023-08-16T23:12:01.981Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-16T23:12:02.243Z] INFO: Archiving Costs [Pipeline] sh [2023-08-16T23:12:02.525Z] + cat /w/workspace/xfoundry_app-record-replay_PR-56/archives/cost.csv [2023-08-16T23:12:02.525Z] + cut -d, -f6 [Pipeline] lock [2023-08-16T23:12:02.540Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [2023-08-16T23:12:02.547Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] did not exist. Created. [2023-08-16T23:12:02.547Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-16T23:12:02.850Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-16T23:12:02.885Z] Stashed 1 file(s) [Pipeline] } [2023-08-16T23:12:02.893Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-16T23:12:02.917Z] $ docker stop --time=1 5876583d81e9505cb7529312a62ddec16561811e8624d7f3d542de1eeceee9b3 [2023-08-16T23:12:04.072Z] $ docker rm -f --volumes 5876583d81e9505cb7529312a62ddec16561811e8624d7f3d542de1eeceee9b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-16T23:12:04.196Z] Failed in branch amd64 [2023-08-16T23:12:06.543Z] using credential edgex-jenkins-ssh [2023-08-16T23:12:06.559Z] Cloning the remote Git repository [2023-08-16T23:12:06.603Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-08-16T23:12:06.691Z] > git init /w/workspace/app-record-replay/8 # timeout=10 [2023-08-16T23:12:06.825Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-08-16T23:12:06.826Z] > git --version # timeout=10 [2023-08-16T23:12:06.847Z] > git --version # 'git version 2.25.1' [2023-08-16T23:12:06.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-16T23:12:07.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-16T23:12:07.596Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-08-16T23:12:07.619Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-16T23:12:08.458Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-08-16T23:12:08.502Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-08-16T23:12:08.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-16T23:12:08.516Z] > 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-16T23:12:09.059Z] Merging remotes/origin/main commit 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b into PR head commit 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 [2023-08-16T23:12:09.359Z] Merge succeeded, producing 46bab419da94713a7477aba5f391dbd06f238263 [2023-08-16T23:12:09.360Z] Checking out Revision 46bab419da94713a7477aba5f391dbd06f238263 (PR-56) [2023-08-16T23:12:09.079Z] > git config core.sparsecheckout # timeout=10 [2023-08-16T23:12:09.162Z] > git checkout -f 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 # timeout=10 [2023-08-16T23:12:09.241Z] > git remote # timeout=10 [2023-08-16T23:12:09.260Z] > git config --get remote.origin.url # timeout=10 [2023-08-16T23:12:09.279Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-16T23:12:09.293Z] > git merge 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b # timeout=10 [2023-08-16T23:12:09.346Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-16T23:12:09.367Z] > git config core.sparsecheckout # timeout=10 [2023-08-16T23:12:09.379Z] > git checkout -f 46bab419da94713a7477aba5f391dbd06f238263 # timeout=10 [2023-08-16T23:12:12.829Z] Commit message: "Merge commit '2e2d2508cb469b8aa4f57d66e2e040b41fc2985b' into HEAD" [2023-08-16T23:12:12.853Z] First time build. Skipping changelog. [2023-08-16T23:12:12.838Z] > git rev-list --no-walk b1c445ba58da862789ab70ebf79a7cf2e0b66a63 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-16T23:12:13.822Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-16T23:12:13.822Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-16T23:12:13.822Z] Dload Upload Total Spent Left Speed [2023-08-16T23:12:13.822Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-08-16T23:12:14.598Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-16T23:12:14.913Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-16T23:12:14.913Z] + sudo tee /etc/docker/daemon.new [2023-08-16T23:12:14.913Z] { [2023-08-16T23:12:14.913Z] "registry-mirrors": [ [2023-08-16T23:12:14.913Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-16T23:12:14.913Z] ], [2023-08-16T23:12:14.913Z] "bip": "10.250.0.254/24", [2023-08-16T23:12:14.913Z] "hosts": [ [2023-08-16T23:12:14.913Z] "tcp://0.0.0.0:5555", [2023-08-16T23:12:14.913Z] "unix:///var/run/docker.sock" [2023-08-16T23:12:14.913Z] ], [2023-08-16T23:12:14.913Z] "mtu": 1458, [2023-08-16T23:12:14.913Z] "selinux-enabled": true, [2023-08-16T23:12:14.913Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-16T23:12:14.913Z] } [Pipeline] sh [2023-08-16T23:12:15.350Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-16T23:12:15.729Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-16T23:12:34.035Z] provisioning config files... [2023-08-16T23:12:34.059Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/8@tmp/config2678776663576446635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:12:34.403Z] ---> docker-login.sh [2023-08-16T23:12:34.403Z] nexus3.edgexfoundry.org:10001 [2023-08-16T23:12:34.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:12:34.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:12:34.942Z] Configure a credential helper to remove this warning. See [2023-08-16T23:12:34.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:12:34.943Z] [2023-08-16T23:12:34.943Z] Login Succeeded [2023-08-16T23:12:34.943Z] nexus3.edgexfoundry.org:10002 [2023-08-16T23:12:35.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:12:35.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:12:35.214Z] Configure a credential helper to remove this warning. See [2023-08-16T23:12:35.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:12:35.214Z] [2023-08-16T23:12:35.214Z] Login Succeeded [2023-08-16T23:12:35.214Z] nexus3.edgexfoundry.org:10003 [2023-08-16T23:12:35.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:12:35.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:12:35.756Z] Configure a credential helper to remove this warning. See [2023-08-16T23:12:35.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:12:35.756Z] [2023-08-16T23:12:35.756Z] Login Succeeded [2023-08-16T23:12:35.756Z] nexus3.edgexfoundry.org:10004 [2023-08-16T23:12:36.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:12:36.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:12:36.027Z] Configure a credential helper to remove this warning. See [2023-08-16T23:12:36.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:12:36.027Z] [2023-08-16T23:12:36.027Z] Login Succeeded [2023-08-16T23:12:36.027Z] docker.io [2023-08-16T23:12:36.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T23:12:36.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T23:12:36.564Z] Configure a credential helper to remove this warning. See [2023-08-16T23:12:36.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T23:12:36.564Z] [2023-08-16T23:12:36.564Z] Login Succeeded [2023-08-16T23:12:36.564Z] ---> docker-login.sh ends [Pipeline] } [2023-08-16T23:12:36.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-16T23:12:36.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T23:12:36.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T23:12:36.849Z] ========================================================= [2023-08-16T23:12:36.849Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-16T23:12:36.849Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:12:37.187Z] + 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-16T23:12:37.188Z] Sending build context to Docker daemon 204.8kB [2023-08-16T23:12:37.458Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T23:12:37.458Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-16T23:12:37.458Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-16T23:12:37.458Z] edb6bdbacee9: Pulling fs layer [2023-08-16T23:12:37.458Z] 5f9638ab2659: Pulling fs layer [2023-08-16T23:12:37.458Z] 8d51d6327a98: Pulling fs layer [2023-08-16T23:12:37.458Z] 8b374f2dd631: Pulling fs layer [2023-08-16T23:12:37.458Z] ec14aa9079de: Pulling fs layer [2023-08-16T23:12:37.458Z] 2f466654f4bb: Pulling fs layer [2023-08-16T23:12:37.458Z] 554e91adad29: Pulling fs layer [2023-08-16T23:12:37.458Z] 8b374f2dd631: Waiting [2023-08-16T23:12:37.458Z] ec14aa9079de: Waiting [2023-08-16T23:12:37.458Z] 2f466654f4bb: Waiting [2023-08-16T23:12:37.458Z] 554e91adad29: Waiting [2023-08-16T23:12:37.458Z] 5f9638ab2659: Verifying Checksum [2023-08-16T23:12:37.458Z] 5f9638ab2659: Download complete [2023-08-16T23:12:37.730Z] 8b374f2dd631: Verifying Checksum [2023-08-16T23:12:37.730Z] 8b374f2dd631: Download complete [2023-08-16T23:12:37.730Z] ec14aa9079de: Verifying Checksum [2023-08-16T23:12:37.730Z] ec14aa9079de: Download complete [2023-08-16T23:12:37.730Z] edb6bdbacee9: Verifying Checksum [2023-08-16T23:12:37.730Z] edb6bdbacee9: Download complete [2023-08-16T23:12:38.703Z] edb6bdbacee9: Pull complete [2023-08-16T23:12:38.973Z] 554e91adad29: Verifying Checksum [2023-08-16T23:12:38.973Z] 554e91adad29: Download complete [2023-08-16T23:12:39.243Z] 5f9638ab2659: Pull complete [2023-08-16T23:12:40.213Z] 2f466654f4bb: Verifying Checksum [2023-08-16T23:12:40.213Z] 8d51d6327a98: Verifying Checksum [2023-08-16T23:12:40.213Z] 8d51d6327a98: Download complete [2023-08-16T23:12:52.541Z] 8d51d6327a98: Pull complete [2023-08-16T23:12:52.541Z] 8b374f2dd631: Pull complete [2023-08-16T23:12:52.541Z] ec14aa9079de: Pull complete [2023-08-16T23:12:57.903Z] 2f466654f4bb: Pull complete [2023-08-16T23:13:00.490Z] 554e91adad29: Pull complete [2023-08-16T23:13:00.761Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-16T23:13:00.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-16T23:13:00.761Z] ---> 1e15ea492957 [2023-08-16T23:13:00.761Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-08-16T23:13:02.714Z] ---> Running in 3695161150d0 [2023-08-16T23:13:03.303Z] Removing intermediate container 3695161150d0 [2023-08-16T23:13:03.303Z] ---> 31085e728060 [2023-08-16T23:13:03.303Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-16T23:13:03.303Z] ---> Running in 8e7d389fcee5 [2023-08-16T23:13:03.570Z] Removing intermediate container 8e7d389fcee5 [2023-08-16T23:13:03.570Z] ---> 5e12c0941568 [2023-08-16T23:13:03.570Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-16T23:13:03.570Z] ---> Running in 3f5f24999c7b [2023-08-16T23:13:03.838Z] Removing intermediate container 3f5f24999c7b [2023-08-16T23:13:03.838Z] ---> d6654f766cca [2023-08-16T23:13:03.838Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-16T23:13:03.838Z] ---> Running in 7a5a725266d2 [2023-08-16T23:13:04.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-16T23:13:05.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-16T23:13:06.351Z] OK: 263 MiB in 53 packages [2023-08-16T23:13:07.324Z] Removing intermediate container 7a5a725266d2 [2023-08-16T23:13:07.325Z] ---> d8b94e51eb7a [2023-08-16T23:13:07.325Z] Step 7/12 : WORKDIR /app [2023-08-16T23:13:07.325Z] ---> Running in 1214aa0c4e12 [2023-08-16T23:13:07.325Z] Removing intermediate container 1214aa0c4e12 [2023-08-16T23:13:07.325Z] ---> cdef7150587a [2023-08-16T23:13:07.325Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-16T23:13:07.911Z] ---> c13e673ed5bd [2023-08-16T23:13:07.911Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T23:13:07.911Z] ---> Running in 41971b12be92 [2023-08-16T23:14:15.817Z] Removing intermediate container 41971b12be92 [2023-08-16T23:14:15.817Z] ---> e39893c334ce [2023-08-16T23:14:15.817Z] Step 10/12 : COPY . . [2023-08-16T23:14:15.817Z] ---> 357ccd5363f9 [2023-08-16T23:14:15.817Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-16T23:14:15.817Z] ---> Running in a2c477549d80 [2023-08-16T23:14:15.817Z] Removing intermediate container a2c477549d80 [2023-08-16T23:14:15.817Z] ---> 489e4374e481 [2023-08-16T23:14:15.817Z] Step 12/12 : RUN $MAKE [2023-08-16T23:14:15.817Z] ---> Running in 378fab09427e [2023-08-16T23:14:15.817Z] noop [2023-08-16T23:14:15.817Z] Removing intermediate container 378fab09427e [2023-08-16T23:14:15.817Z] ---> 8bfe85a43226 [2023-08-16T23:14:15.817Z] Successfully built 8bfe85a43226 [2023-08-16T23:14:15.817Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:14:16.170Z] + docker inspect -f . ci-base-image-arm64 [2023-08-16T23:14:16.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T23:14:16.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-3870 does not seem to be running inside a container [2023-08-16T23:14:16.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/8 -v /w/workspace/app-record-replay/8:/w/workspace/app-record-replay/8:rw,z -v /w/workspace/app-record-replay/8@tmp:/w/workspace/app-record-replay/8@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-16T23:14:20.697Z] $ docker top f0fdb0993cf2c11c7acb55feca29a4d4cde67c8f34991a905b6186e7349fb49f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T23:14:21.521Z] + go version [2023-08-16T23:14:21.521Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-16T23:14:21.541Z] $ docker stop --time=1 f0fdb0993cf2c11c7acb55feca29a4d4cde67c8f34991a905b6186e7349fb49f [2023-08-16T23:14:23.129Z] $ docker rm -f --volumes f0fdb0993cf2c11c7acb55feca29a4d4cde67c8f34991a905b6186e7349fb49f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:14:23.686Z] + docker inspect -f . ci-base-image-arm64 [2023-08-16T23:14:23.687Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T23:14:23.863Z] prd-ubuntu20.04-docker-arm64-4c-16g-3870 does not seem to be running inside a container [2023-08-16T23:14:23.926Z] $ 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/8 -v /w/workspace/app-record-replay/8:/w/workspace/app-record-replay/8:rw,z -v /w/workspace/app-record-replay/8@tmp:/w/workspace/app-record-replay/8@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-16T23:14:25.017Z] $ docker top 8c4279404507edd01194aec0f7740a7c8238685b3cb0f568ae3126cdb7341f17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T23:14:25.527Z] + git config --global --add safe.directory /w/workspace/app-record-replay/8 [Pipeline] fileExists [Pipeline] sh [2023-08-16T23:14:25.869Z] + make test [2023-08-16T23:14:25.869Z] go test -race -coverprofile=coverage.out ./... [2023-08-16T23:17:02.590Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-08-16T23:17:02.590Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.263s coverage: 88.0% of statements [2023-08-16T23:17:06.840Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-08-16T23:17:06.840Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-08-16T23:17:06.840Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-08-16T23:17:10.177Z] ok github.com/edgexfoundry/app-record-replay/internal/application 8.826s coverage: 97.5% of statements [2023-08-16T23:17:10.177Z] --- FAIL: TestHttpController_ExportRecordedData (0.45s) [2023-08-16T23:17:10.177Z] --- FAIL: TestHttpController_ExportRecordedData/Valid_-_no_events (0.00s) [2023-08-16T23:17:10.177Z] controller_test.go:486: [2023-08-16T23:17:10.177Z] Error Trace: /w/workspace/app-record-replay/8/internal/controller/controller_test.go:486 [2023-08-16T23:17:10.177Z] Error: Not equal: [2023-08-16T23:17:10.177Z] expected: 204 [2023-08-16T23:17:10.177Z] actual : 200 [2023-08-16T23:17:10.177Z] Test: TestHttpController_ExportRecordedData/Valid_-_no_events [2023-08-16T23:17:10.177Z] FAIL [2023-08-16T23:17:10.177Z] github.com/edgexfoundry/app-record-replay/internal/controller coverage: 76.5% of statements [2023-08-16T23:17:10.177Z] FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.823s [2023-08-16T23:17:10.177Z] FAIL [2023-08-16T23:17:10.760Z] make: *** [Makefile:69: unittest] Error 1 [Pipeline] } [2023-08-16T23:17:10.781Z] $ docker stop --time=1 8c4279404507edd01194aec0f7740a7c8238685b3cb0f568ae3126cdb7341f17 [2023-08-16T23:17:14.242Z] $ docker rm -f --volumes 8c4279404507edd01194aec0f7740a7c8238685b3cb0f568ae3126cdb7341f17 [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-16T23:17:15.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-16T23:17:15.427Z] [2023-08-16T23:17:15.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:17:15.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-16T23:17:16.021Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-16T23:17:16.021Z] 8998bd30e6a1: Pulling fs layer [2023-08-16T23:17:16.021Z] 04944245beec: Pulling fs layer [2023-08-16T23:17:16.021Z] 699f458cf7ca: Pulling fs layer [2023-08-16T23:17:16.021Z] 765212b225bb: Pulling fs layer [2023-08-16T23:17:16.021Z] f23df028b6ca: Pulling fs layer [2023-08-16T23:17:16.021Z] d65c8cfc05b1: Pulling fs layer [2023-08-16T23:17:16.021Z] 2437ff75d9bd: Pulling fs layer [2023-08-16T23:17:16.021Z] f23df028b6ca: Waiting [2023-08-16T23:17:16.021Z] d65c8cfc05b1: Waiting [2023-08-16T23:17:16.021Z] 2437ff75d9bd: Waiting [2023-08-16T23:17:16.021Z] 765212b225bb: Waiting [2023-08-16T23:17:16.021Z] 04944245beec: Verifying Checksum [2023-08-16T23:17:16.021Z] 04944245beec: Download complete [2023-08-16T23:17:16.021Z] 765212b225bb: Verifying Checksum [2023-08-16T23:17:16.021Z] 765212b225bb: Download complete [2023-08-16T23:17:16.021Z] f23df028b6ca: Verifying Checksum [2023-08-16T23:17:16.021Z] f23df028b6ca: Download complete [2023-08-16T23:17:16.021Z] d65c8cfc05b1: Verifying Checksum [2023-08-16T23:17:16.021Z] d65c8cfc05b1: Download complete [2023-08-16T23:17:16.289Z] 699f458cf7ca: Verifying Checksum [2023-08-16T23:17:16.289Z] 699f458cf7ca: Download complete [2023-08-16T23:17:16.558Z] 8998bd30e6a1: Verifying Checksum [2023-08-16T23:17:16.558Z] 8998bd30e6a1: Download complete [2023-08-16T23:17:19.152Z] 2437ff75d9bd: Verifying Checksum [2023-08-16T23:17:19.152Z] 2437ff75d9bd: Download complete [2023-08-16T23:17:20.563Z] 8998bd30e6a1: Pull complete [2023-08-16T23:17:21.150Z] 04944245beec: Pull complete [2023-08-16T23:17:22.561Z] 699f458cf7ca: Pull complete [2023-08-16T23:17:22.561Z] 765212b225bb: Pull complete [2023-08-16T23:17:23.147Z] f23df028b6ca: Pull complete [2023-08-16T23:17:23.415Z] d65c8cfc05b1: Pull complete [2023-08-16T23:17:38.573Z] 2437ff75d9bd: Pull complete [2023-08-16T23:17:38.573Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-16T23:17:38.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-16T23:17:38.573Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T23:17:38.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-3870 does not seem to be running inside a container [2023-08-16T23:17:38.868Z] $ 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/8 -v /w/workspace/app-record-replay/8:/w/workspace/app-record-replay/8:rw,z -v /w/workspace/app-record-replay/8@tmp:/w/workspace/app-record-replay/8@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-16T23:17:41.251Z] $ docker top 5da25ea605d4f04beae8749e8d173e846d6fa79d470b652a36c3671e0db93c16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:17:41.818Z] ---> job-cost.sh [2023-08-16T23:17:42.088Z] lf-activate-venv: SKIPPING [2023-08-16T23:17:42.089Z] INFO: No Stack... [2023-08-16T23:17:42.357Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-16T23:17:43.320Z] INFO: Archiving Costs [Pipeline] sh [2023-08-16T23:17:43.645Z] + cat /w/workspace/app-record-replay/8/archives/cost.csv [2023-08-16T23:17:43.645Z] + cut -d, -f6 [Pipeline] lock [2023-08-16T23:17:43.710Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [2023-08-16T23:17:43.717Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] did not exist. Created. [2023-08-16T23:17:43.717Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-16T23:17:44.063Z] /w/workspace/app-record-replay/8@tmp/durable-a01cac93/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-16T23:17:44.399Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-16T23:17:44.419Z] Warning: overwriting stash ‘stack-cost’ [2023-08-16T23:17:44.785Z] Stashed 1 file(s) [Pipeline] } [2023-08-16T23:17:44.795Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-16T23:17:44.814Z] $ docker stop --time=1 5da25ea605d4f04beae8749e8d173e846d6fa79d470b652a36c3671e0db93c16 [2023-08-16T23:17:46.283Z] $ docker rm -f --volumes 5da25ea605d4f04beae8749e8d173e846d6fa79d470b652a36c3671e0db93c16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-16T23:17:46.541Z] 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-16T23:17:47.244Z] + [ -d /w/workspace/xfoundry_app-record-replay_PR-56/archives ] [2023-08-16T23:17:47.244Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives [2023-08-16T23:17:47.244Z] total 16 [2023-08-16T23:17:47.244Z] drwxr-xr-x 3 root root 4096 Aug 16 23:12 . [2023-08-16T23:17:47.244Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 23:12 .. [2023-08-16T23:17:47.244Z] drwxr-xr-x 2 root root 4096 Aug 16 23:12 cost [2023-08-16T23:17:47.244Z] -rw-r--r-- 1 root root 88 Aug 16 23:12 cost.csv [2023-08-16T23:17:47.244Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-56/archives [2023-08-16T23:17:47.244Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives [2023-08-16T23:17:47.244Z] total 16 [2023-08-16T23:17:47.244Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 23:12 . [2023-08-16T23:17:47.244Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 23:12 .. [2023-08-16T23:17:47.244Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 23:12 cost [2023-08-16T23:17:47.244Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 16 23:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:17:47.590Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:17:48.437Z] ---> package-listing.sh [2023-08-16T23:17:48.437Z] ++ facter osfamily [2023-08-16T23:17:48.437Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-16T23:17:48.696Z] + OS_FAMILY=debian [2023-08-16T23:17:48.696Z] + workspace=/w/workspace/xfoundry_app-record-replay_PR-56 [2023-08-16T23:17:48.696Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-16T23:17:48.696Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-16T23:17:48.696Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-16T23:17:48.696Z] + PACKAGES=/tmp/packages_start.txt [2023-08-16T23:17:48.696Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' [2023-08-16T23:17:48.696Z] + PACKAGES=/tmp/packages_end.txt [2023-08-16T23:17:48.696Z] + case "${OS_FAMILY}" in [2023-08-16T23:17:48.696Z] + dpkg -l [2023-08-16T23:17:48.696Z] + grep '^ii' [2023-08-16T23:17:48.696Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-16T23:17:48.696Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-16T23:17:48.696Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-16T23:17:48.696Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' [2023-08-16T23:17:48.696Z] + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-56/archives/ [2023-08-16T23:17:48.696Z] + 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-16T23:17:48.706Z] 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-16T23:17:48.980Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T23:17:49.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T23:17:49.540Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T23:17:49.604Z] prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container [2023-08-16T23:17:49.641Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-16T23:17:49.800Z] $ docker top 86299e7ffa0e0cd540e57b9fd2ed2fa282b75b96414cb60e1a2f1ced4069c3e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T23:17:50.116Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-16T23:17:50.396Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-16T23:17:50.673Z] + ls /var/log/sa-host [2023-08-16T23:17:50.673Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-16T23:17:50.737Z] provisioning config files... [2023-08-16T23:17:50.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config11920025738616931077tmp [Pipeline] { [Pipeline] echo [2023-08-16T23:17:50.760Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:17:51.041Z] ---> create-netrc.sh [Pipeline] } [2023-08-16T23:17:51.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:17:51.366Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-16T23:17:51.373Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:17:51.650Z] ---> sudo-logs.sh [2023-08-16T23:17:51.650Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-16T23:17:51.674Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:17:51.952Z] ---> job-cost.sh [2023-08-16T23:17:51.952Z] lf-activate-venv: SKIPPING [2023-08-16T23:17:51.952Z] DEBUG: total: 0.2199999988079071 [2023-08-16T23:17:51.952Z] INFO: Retrieving Stack Cost... [2023-08-16T23:17:52.212Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-16T23:17:52.471Z] INFO: Archiving Costs [Pipeline] echo [2023-08-16T23:17:52.485Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T23:17:52.768Z] ---> logs-deploy.sh [2023-08-16T23:17:52.768Z] lf-activate-venv: SKIPPING [2023-08-16T23:17:52.768Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-56/8 [2023-08-16T23:17:52.768Z] INFO: archiving workspace using pattern(s): [2023-08-16T23:17:53.703Z] Archives upload complete. [2023-08-16T23:17:53.703Z] INFO: archiving logs to Nexus