Pull request #63 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b+0cf030821eec9376453adfe2348338ef327cf101 (6b04f383ba0a7cbb64ae75020d3bbf5501527067) 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-ssh12511058564809352057.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-ssh16951100179377753803.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8340876549194230267.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17340213836532481696.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh40221274822378978.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4271096167822481309.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-4268 in /w/workspace/xfoundry_app-record-replay_PR-63 [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-63 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0cf030821eec9376453adfe2348338ef327cf101 into PR head commit 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b Merge succeeded, producing 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b Checking out Revision 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b (PR-63) > 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/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b # 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 0cf030821eec9376453adfe2348338ef327cf101 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b # timeout=10 Commit message: "feat: Implement app layer Export" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-22T16:37:17.838Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-22T16:37:18.035Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-22T16:37:18.142Z] ========================================================= [2023-08-22T16:37:18.142Z] EdgeX Global Pipelines Version Info [2023-08-22T16:37:18.142Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:37:18.883Z] ------------------- [2023-08-22T16:37:18.883Z] stable info: [2023-08-22T16:37:18.883Z] ------------------- [2023-08-22T16:37:18.883Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-22T16:37:18.883Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T16:37:18.883Z] Message: update stable to v1.0.253 [2023-08-22T16:37:19.452Z] ------------------- [2023-08-22T16:37:19.452Z] experimental info: [2023-08-22T16:37:19.452Z] ------------------- [2023-08-22T16:37:19.452Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-22T16:37:19.452Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-22T16:37:19.452Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-22T16:37:19.722Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-08-22T16:37:19.768Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-08-22T16:37:19.806Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-22T16:37:19.852Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-22T16:37:19.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-22T16:37:19.933Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-22T16:37:19.975Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-22T16:37:20.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-22T16:37:20.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-22T16:37:20.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-22T16:37:20.134Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-22T16:37:20.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-08-22T16:37:20.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-22T16:37:20.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-22T16:37:20.295Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-22T16:37:20.332Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-22T16:37:20.371Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T16:37:20.411Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-22T16:37:20.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-22T16:37:20.486Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-22T16:37:20.527Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-22T16:37:20.572Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-22T16:37:20.613Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-22T16:37:20.651Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-22T16:37:20.692Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-22T16:37:20.733Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-22T16:37:20.771Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-22T16:37:20.815Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-63 [Pipeline] echo [2023-08-22T16:37:20.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-63 [Pipeline] echo [2023-08-22T16:37:20.901Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-63 [Pipeline] echo [2023-08-22T16:37:20.941Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b [Pipeline] echo [2023-08-22T16:37:20.987Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 88a2ce8 [Pipeline] echo [2023-08-22T16:37:21.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:37:21.158Z] provisioning config files... [2023-08-22T16:37:21.172Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config5099864443114569591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:37:21.514Z] ---> docker-login.sh [2023-08-22T16:37:21.515Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:37:21.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:21.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:21.779Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:21.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:21.779Z] [2023-08-22T16:37:21.779Z] Login Succeeded [2023-08-22T16:37:21.779Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:37:21.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:21.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:21.779Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:21.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:21.779Z] [2023-08-22T16:37:21.779Z] Login Succeeded [2023-08-22T16:37:21.779Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:37:21.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:22.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:22.038Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:22.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:22.038Z] [2023-08-22T16:37:22.038Z] Login Succeeded [2023-08-22T16:37:22.038Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:37:22.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:22.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:22.038Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:22.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:22.038Z] [2023-08-22T16:37:22.038Z] Login Succeeded [2023-08-22T16:37:22.038Z] docker.io [2023-08-22T16:37:22.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:22.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:22.298Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:22.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:22.298Z] [2023-08-22T16:37:22.298Z] Login Succeeded [2023-08-22T16:37:22.298Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:37:22.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-22T16:37:22.974Z] + git rev-list -1 --merges 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b~1..88a2ce8ebc1894a1ef51b751d1a9cef34847c76b [Pipeline] echo [2023-08-22T16:37:23.039Z] -----------> git rev-list -1 --merges 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b~1..88a2ce8ebc1894a1ef51b751d1a9cef34847c76b 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b [false] [Pipeline] sh [2023-08-22T16:37:23.349Z] + git log --format=format:%s -1 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b [Pipeline] echo [2023-08-22T16:37:23.389Z] ========================================================= [2023-08-22T16:37:23.389Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-22T16:37:23.389Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:37:23.848Z] + git log --format=format:%s -1 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b [Pipeline] echo [2023-08-22T16:37:23.884Z] [semverPrep] GIT_COMMIT: 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b, Commit Message: feat: Implement app layer Export [Pipeline] echo [2023-08-22T16:37:23.916Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-22T16:37:24.329Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-22T16:37:24.329Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-22T16:37:24.329Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-22T16:37:24.329Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-22T16:37:24.329Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-22T16:37:24.329Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-22T16:37:24.329Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:37:24.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:37:24.832Z] [2023-08-22T16:37:24.832Z] 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-22T16:37:25.220Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:37:25.220Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-22T16:37:25.220Z] b85a868b505f: Pulling fs layer [2023-08-22T16:37:25.220Z] e2be974225ed: Pulling fs layer [2023-08-22T16:37:25.220Z] 339a4e72a1f5: Pulling fs layer [2023-08-22T16:37:25.220Z] 988bab9f4d93: Pulling fs layer [2023-08-22T16:37:25.220Z] 1469e6f7b9e6: Pulling fs layer [2023-08-22T16:37:25.220Z] eaf3925da568: Pulling fs layer [2023-08-22T16:37:25.220Z] bab4dde63d76: Pulling fs layer [2023-08-22T16:37:25.220Z] bde34c3a00c8: Pulling fs layer [2023-08-22T16:37:25.220Z] b352a97aabf1: Pulling fs layer [2023-08-22T16:37:25.220Z] 4872d77fe225: Pulling fs layer [2023-08-22T16:37:25.220Z] 5851b861e8e6: Pulling fs layer [2023-08-22T16:37:25.220Z] 1469e6f7b9e6: Waiting [2023-08-22T16:37:25.220Z] bab4dde63d76: Waiting [2023-08-22T16:37:25.220Z] bde34c3a00c8: Waiting [2023-08-22T16:37:25.220Z] eaf3925da568: Waiting [2023-08-22T16:37:25.220Z] b352a97aabf1: Waiting [2023-08-22T16:37:25.220Z] 4872d77fe225: Waiting [2023-08-22T16:37:25.220Z] 5851b861e8e6: Waiting [2023-08-22T16:37:25.220Z] e2be974225ed: Download complete [2023-08-22T16:37:25.220Z] 988bab9f4d93: Verifying Checksum [2023-08-22T16:37:25.220Z] 988bab9f4d93: Download complete [2023-08-22T16:37:25.220Z] 339a4e72a1f5: Verifying Checksum [2023-08-22T16:37:25.220Z] 339a4e72a1f5: Download complete [2023-08-22T16:37:25.220Z] 1469e6f7b9e6: Verifying Checksum [2023-08-22T16:37:25.220Z] 1469e6f7b9e6: Download complete [2023-08-22T16:37:25.220Z] eaf3925da568: Verifying Checksum [2023-08-22T16:37:25.220Z] eaf3925da568: Download complete [2023-08-22T16:37:25.480Z] bde34c3a00c8: Download complete [2023-08-22T16:37:25.480Z] b352a97aabf1: Verifying Checksum [2023-08-22T16:37:25.480Z] b352a97aabf1: Download complete [2023-08-22T16:37:25.480Z] 4872d77fe225: Verifying Checksum [2023-08-22T16:37:25.480Z] 4872d77fe225: Download complete [2023-08-22T16:37:25.480Z] 5851b861e8e6: Verifying Checksum [2023-08-22T16:37:25.480Z] 5851b861e8e6: Download complete [2023-08-22T16:37:25.480Z] b85a868b505f: Verifying Checksum [2023-08-22T16:37:25.480Z] b85a868b505f: Download complete [2023-08-22T16:37:25.739Z] bab4dde63d76: Verifying Checksum [2023-08-22T16:37:25.739Z] bab4dde63d76: Download complete [2023-08-22T16:37:26.675Z] b85a868b505f: Pull complete [2023-08-22T16:37:26.675Z] e2be974225ed: Pull complete [2023-08-22T16:37:27.241Z] 339a4e72a1f5: Pull complete [2023-08-22T16:37:27.241Z] 988bab9f4d93: Pull complete [2023-08-22T16:37:27.501Z] 1469e6f7b9e6: Pull complete [2023-08-22T16:37:27.501Z] eaf3925da568: Pull complete [2023-08-22T16:37:29.404Z] bab4dde63d76: Pull complete [2023-08-22T16:37:29.404Z] bde34c3a00c8: Pull complete [2023-08-22T16:37:29.404Z] b352a97aabf1: Pull complete [2023-08-22T16:37:29.404Z] 4872d77fe225: Pull complete [2023-08-22T16:37:29.404Z] 5851b861e8e6: Pull complete [2023-08-22T16:37:29.404Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-22T16:37:29.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-22T16:37:29.404Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:37:29.709Z] prd-ubuntu20.04-docker-8c-8g-4268 does not seem to be running inside a container [2023-08-22T16:37:29.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-22T16:37:31.464Z] $ docker top 800921cd9fe52466b9e2140ed1946932101d83230dc69db5dcd8e56a8bc5ebc3 -eo pid,comm [2023-08-22T16:37:31.515Z] 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-22T16:37:31.515Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-22T16:37:31.636Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:37:31.636Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:37:31.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:37:31.749Z] $ docker exec 800921cd9fe52466b9e2140ed1946932101d83230dc69db5dcd8e56a8bc5ebc3 ssh-agent [2023-08-22T16:37:31.848Z] SSH_AUTH_SOCK=/tmp/ssh-K7v2A4NklgA0/agent.32 [2023-08-22T16:37:31.848Z] SSH_AGENT_PID=38 [2023-08-22T16:37:31.854Z] Running ssh-add (command line suppressed) [2023-08-22T16:37:31.948Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_18124293987568765318.key (/w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_18124293987568765318.key) [2023-08-22T16:37:31.961Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:37:32.287Z] + git tag --points-at HEAD [Pipeline] } [2023-08-22T16:37:32.312Z] $ docker exec --env ******** --env ******** 800921cd9fe52466b9e2140ed1946932101d83230dc69db5dcd8e56a8bc5ebc3 ssh-agent -k [2023-08-22T16:37:32.407Z] unset SSH_AUTH_SOCK; [2023-08-22T16:37:32.407Z] unset SSH_AGENT_PID; [2023-08-22T16:37:32.407Z] echo Agent pid 38 killed; [2023-08-22T16:37:32.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-22T16:37:32.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-22T16:37:32.529Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-22T16:37:32.635Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-22T16:37:32.638Z] $ docker exec 800921cd9fe52466b9e2140ed1946932101d83230dc69db5dcd8e56a8bc5ebc3 ssh-agent [2023-08-22T16:37:32.745Z] SSH_AUTH_SOCK=/tmp/ssh-whwu4CPmjDZX/agent.71 [2023-08-22T16:37:32.745Z] SSH_AGENT_PID=77 [2023-08-22T16:37:32.750Z] Running ssh-add (command line suppressed) [2023-08-22T16:37:32.841Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_10691108881347853585.key (/w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_10691108881347853585.key) [2023-08-22T16:37:32.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-22T16:37:33.200Z] + git semver init [2023-08-22T16:37:33.460Z] 2023-08-22 16:37:33,368 [run_init] DEBUG init version:0.0.0 force:False [2023-08-22T16:37:33.460Z] 2023-08-22 16:37:33,369 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-63/.semver [2023-08-22T16:37:33.460Z] 2023-08-22 16:37:33,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-63/.semver [2023-08-22T16:37:33.460Z] 2023-08-22 16:37:33,370 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-63/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-63, universal_newlines=False, shell=None, istream=None) [2023-08-22T16:37:34.030Z] 2023-08-22 16:37:33,963 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-63/.git/info/exclude [2023-08-22T16:37:34.030Z] 2023-08-22 16:37:33,963 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-63/.semver/PR-63 with force:False [2023-08-22T16:37:34.030Z] 2023-08-22 16:37:33,963 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-63/.semver/PR-63 [2023-08-22T16:37:34.030Z] 2023-08-22 16:37:33,967 [execute] INFO git cat-file --batch-check [2023-08-22T16:37:34.030Z] 2023-08-22 16:37:33,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-63/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:37:34.030Z] 2023-08-22 16:37:33,975 [execute] INFO git cat-file --batch [2023-08-22T16:37:34.030Z] 2023-08-22 16:37:33,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-63/.semver, universal_newlines=False, shell=None, istream=) [2023-08-22T16:37:34.030Z] 2023-08-22 16:37:33,980 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-63/.semver/PR-63 [2023-08-22T16:37:34.030Z] 0.0.0 [Pipeline] } [2023-08-22T16:37:34.058Z] $ docker exec --env ******** --env ******** 800921cd9fe52466b9e2140ed1946932101d83230dc69db5dcd8e56a8bc5ebc3 ssh-agent -k [2023-08-22T16:37:34.169Z] unset SSH_AUTH_SOCK; [2023-08-22T16:37:34.170Z] unset SSH_AGENT_PID; [2023-08-22T16:37:34.170Z] echo Agent pid 77 killed; [2023-08-22T16:37:34.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-22T16:37:34.615Z] + git semver [Pipeline] } [2023-08-22T16:37:34.894Z] $ docker stop --time=1 800921cd9fe52466b9e2140ed1946932101d83230dc69db5dcd8e56a8bc5ebc3 [2023-08-22T16:37:36.181Z] $ docker rm -f --volumes 800921cd9fe52466b9e2140ed1946932101d83230dc69db5dcd8e56a8bc5ebc3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-22T16:37:36.589Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-22T16:37:36.880Z] Stashed 1 file(s) [Pipeline] echo [2023-08-22T16:37:36.901Z] [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-22T16:37:37.521Z] provisioning config files... [2023-08-22T16:37:37.530Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config17914280201318191568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:37:37.660Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4274 in /w/workspace/xfoundry_app-record-replay_PR-63 [Pipeline] { [Pipeline] ws [2023-08-22T16:37:37.816Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2023-08-22T16:37:37.874Z] ---> docker-login.sh [2023-08-22T16:37:37.874Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:37:37.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:37.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:37.874Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:37.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:37.874Z] [2023-08-22T16:37:37.874Z] Login Succeeded [2023-08-22T16:37:37.874Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:37:37.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:37.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:37.874Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:37.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:37.874Z] [2023-08-22T16:37:37.874Z] Login Succeeded [2023-08-22T16:37:37.874Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:37:37.891Z] Selected Git installation does not exist. Using Default [2023-08-22T16:37:37.891Z] The recommended git tool is: NONE [2023-08-22T16:37:38.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:38.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:38.132Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:38.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:38.132Z] [2023-08-22T16:37:38.132Z] Login Succeeded [2023-08-22T16:37:38.132Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:37:38.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:38.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:38.132Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:38.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:38.132Z] [2023-08-22T16:37:38.132Z] Login Succeeded [2023-08-22T16:37:38.132Z] docker.io [2023-08-22T16:37:38.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:37:38.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:37:38.391Z] Configure a credential helper to remove this warning. See [2023-08-22T16:37:38.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:37:38.391Z] [2023-08-22T16:37:38.391Z] Login Succeeded [2023-08-22T16:37:38.391Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:37:38.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T16:37:38.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:37:38.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:37:38.708Z] ========================================================= [2023-08-22T16:37:38.708Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-22T16:37:38.708Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:37:39.196Z] + 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-22T16:37:39.197Z] Sending build context to Docker daemon 499.7kB [2023-08-22T16:37:39.197Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:37:39.197Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-22T16:37:39.197Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-22T16:37:39.197Z] 4db1b89c0bd1: Pulling fs layer [2023-08-22T16:37:39.197Z] 6911f1a30b25: Pulling fs layer [2023-08-22T16:37:39.197Z] e194b8c5c2a9: Pulling fs layer [2023-08-22T16:37:39.197Z] 6863d3e3a2b1: Pulling fs layer [2023-08-22T16:37:39.197Z] ec0bb842ea78: Pulling fs layer [2023-08-22T16:37:39.197Z] 40a00589a448: Pulling fs layer [2023-08-22T16:37:39.197Z] 6863d3e3a2b1: Waiting [2023-08-22T16:37:39.197Z] ec0bb842ea78: Waiting [2023-08-22T16:37:39.197Z] 6c08303d61cc: Pulling fs layer [2023-08-22T16:37:39.197Z] 798269fcf238: Pulling fs layer [2023-08-22T16:37:39.197Z] 40a00589a448: Waiting [2023-08-22T16:37:39.197Z] 798269fcf238: Waiting [2023-08-22T16:37:39.197Z] 6911f1a30b25: Download complete [2023-08-22T16:37:39.197Z] 6863d3e3a2b1: Verifying Checksum [2023-08-22T16:37:39.197Z] 6863d3e3a2b1: Download complete [2023-08-22T16:37:39.197Z] ec0bb842ea78: Download complete [2023-08-22T16:37:39.197Z] 4db1b89c0bd1: Verifying Checksum [2023-08-22T16:37:39.197Z] 4db1b89c0bd1: Download complete [2023-08-22T16:37:39.456Z] 40a00589a448: Verifying Checksum [2023-08-22T16:37:39.456Z] 40a00589a448: Download complete [2023-08-22T16:37:39.456Z] 4db1b89c0bd1: Pull complete [2023-08-22T16:37:39.715Z] 6911f1a30b25: Pull complete [2023-08-22T16:37:39.715Z] 798269fcf238: Verifying Checksum [2023-08-22T16:37:39.715Z] 798269fcf238: Download complete [2023-08-22T16:37:39.973Z] e194b8c5c2a9: Verifying Checksum [2023-08-22T16:37:39.973Z] e194b8c5c2a9: Download complete [2023-08-22T16:37:40.233Z] 6c08303d61cc: Verifying Checksum [2023-08-22T16:37:40.233Z] 6c08303d61cc: Download complete [2023-08-22T16:37:42.775Z] e194b8c5c2a9: Pull complete [2023-08-22T16:37:42.775Z] 6863d3e3a2b1: Pull complete [2023-08-22T16:37:43.034Z] ec0bb842ea78: Pull complete [2023-08-22T16:37:43.034Z] 40a00589a448: Pull complete [2023-08-22T16:37:43.763Z] using credential edgex-jenkins-ssh [2023-08-22T16:37:43.785Z] Cloning the remote Git repository [2023-08-22T16:37:43.839Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-08-22T16:37:43.939Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2023-08-22T16:37:44.129Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-08-22T16:37:44.131Z] > git --version # timeout=10 [2023-08-22T16:37:44.164Z] > git --version # 'git version 2.25.1' [2023-08-22T16:37:44.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-22T16:37:44.333Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T16:37:45.559Z] 6c08303d61cc: Pull complete [2023-08-22T16:37:46.125Z] 798269fcf238: Pull complete [2023-08-22T16:37:46.125Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-22T16:37:46.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-22T16:37:46.125Z] ---> ec979cd7f677 [2023-08-22T16:37:46.125Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-08-22T16:37:46.782Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-08-22T16:37:46.804Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-22T16:37:47.713Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-08-22T16:37:47.760Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-08-22T16:37:47.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-22T16:37:47.784Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-22T16:37:48.348Z] Merging remotes/origin/main commit 0cf030821eec9376453adfe2348338ef327cf101 into PR head commit 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b [2023-08-22T16:37:48.646Z] Merge succeeded, producing 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b [2023-08-22T16:37:48.646Z] Checking out Revision 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b (PR-63) [2023-08-22T16:37:48.376Z] > git config core.sparsecheckout # timeout=10 [2023-08-22T16:37:48.458Z] > git checkout -f 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b # timeout=10 [2023-08-22T16:37:48.550Z] > git remote # timeout=10 [2023-08-22T16:37:48.572Z] > git config --get remote.origin.url # timeout=10 [2023-08-22T16:37:48.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-22T16:37:48.605Z] > git merge 0cf030821eec9376453adfe2348338ef327cf101 # timeout=10 [2023-08-22T16:37:48.636Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-22T16:37:48.661Z] > git config core.sparsecheckout # timeout=10 [2023-08-22T16:37:48.679Z] > git checkout -f 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b # timeout=10 [2023-08-22T16:37:51.403Z] ---> Running in 42c52af9c1c4 [2023-08-22T16:37:51.403Z] Removing intermediate container 42c52af9c1c4 [2023-08-22T16:37:51.403Z] ---> 0f65c6672c27 [2023-08-22T16:37:51.403Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:37:51.403Z] ---> Running in 5cc566b9345d [2023-08-22T16:37:51.403Z] Removing intermediate container 5cc566b9345d [2023-08-22T16:37:51.403Z] ---> 569942a058a0 [2023-08-22T16:37:51.403Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:37:51.403Z] ---> Running in e7fc32225c89 [2023-08-22T16:37:51.403Z] Removing intermediate container e7fc32225c89 [2023-08-22T16:37:51.403Z] ---> 836ab7ec8ca7 [2023-08-22T16:37:51.403Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:37:51.403Z] ---> Running in 15efd7e143b0 [2023-08-22T16:37:51.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-22T16:37:51.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-22T16:37:51.662Z] OK: 265 MiB in 53 packages [2023-08-22T16:37:51.920Z] Removing intermediate container 15efd7e143b0 [2023-08-22T16:37:51.920Z] ---> 747b2a2ea9a0 [2023-08-22T16:37:51.920Z] Step 7/12 : WORKDIR /app [2023-08-22T16:37:51.920Z] ---> Running in dfe394d7309d [2023-08-22T16:37:51.920Z] Removing intermediate container dfe394d7309d [2023-08-22T16:37:51.920Z] ---> 69caffb235b9 [2023-08-22T16:37:51.920Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-22T16:37:52.177Z] Commit message: "feat: Implement app layer Export" [2023-08-22T16:37:52.179Z] ---> 971996873103 [2023-08-22T16:37:52.179Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:37:52.179Z] ---> Running in 3bb380995799 [2023-08-22T16:37:52.231Z] > git --version # timeout=10 [2023-08-22T16:37:52.243Z] > git --version # 'git version 2.25.1' [2023-08-22T16:37:52.260Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-22T16:37:53.334Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-22T16:37:53.334Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-22T16:37:53.334Z] Dload Upload Total Spent Left Speed [2023-08-22T16:37:53.334Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2023-08-22T16:37:54.067Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-22T16:37:54.446Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-22T16:37:54.446Z] + sudo tee /etc/docker/daemon.new [2023-08-22T16:37:54.446Z] { [2023-08-22T16:37:54.446Z] "registry-mirrors": [ [2023-08-22T16:37:54.446Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-22T16:37:54.446Z] ], [2023-08-22T16:37:54.446Z] "bip": "10.250.0.254/24", [2023-08-22T16:37:54.446Z] "hosts": [ [2023-08-22T16:37:54.446Z] "tcp://0.0.0.0:5555", [2023-08-22T16:37:54.446Z] "unix:///var/run/docker.sock" [2023-08-22T16:37:54.446Z] ], [2023-08-22T16:37:54.446Z] "mtu": 1458, [2023-08-22T16:37:54.446Z] "selinux-enabled": true, [2023-08-22T16:37:54.446Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-22T16:37:54.446Z] } [Pipeline] sh [2023-08-22T16:37:54.807Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-22T16:37:55.168Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:38:13.521Z] provisioning config files... [2023-08-22T16:38:13.551Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config14914887172031796844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:38:13.955Z] ---> docker-login.sh [2023-08-22T16:38:13.955Z] nexus3.edgexfoundry.org:10001 [2023-08-22T16:38:14.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:38:14.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:38:14.548Z] Configure a credential helper to remove this warning. See [2023-08-22T16:38:14.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:38:14.548Z] [2023-08-22T16:38:14.548Z] Login Succeeded [2023-08-22T16:38:14.548Z] nexus3.edgexfoundry.org:10002 [2023-08-22T16:38:14.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:38:15.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:38:15.090Z] Configure a credential helper to remove this warning. See [2023-08-22T16:38:15.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:38:15.090Z] [2023-08-22T16:38:15.090Z] Login Succeeded [2023-08-22T16:38:15.090Z] nexus3.edgexfoundry.org:10003 [2023-08-22T16:38:15.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:38:15.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:38:15.368Z] Configure a credential helper to remove this warning. See [2023-08-22T16:38:15.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:38:15.368Z] [2023-08-22T16:38:15.368Z] Login Succeeded [2023-08-22T16:38:15.368Z] nexus3.edgexfoundry.org:10004 [2023-08-22T16:38:15.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:38:15.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:38:15.643Z] Configure a credential helper to remove this warning. See [2023-08-22T16:38:15.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:38:15.643Z] [2023-08-22T16:38:15.643Z] Login Succeeded [2023-08-22T16:38:15.643Z] docker.io [2023-08-22T16:38:15.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-22T16:38:16.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-22T16:38:16.185Z] Configure a credential helper to remove this warning. See [2023-08-22T16:38:16.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-22T16:38:16.185Z] [2023-08-22T16:38:16.185Z] Login Succeeded [2023-08-22T16:38:16.185Z] ---> docker-login.sh ends [Pipeline] } [2023-08-22T16:38:16.223Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-22T16:38:16.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:38:16.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-22T16:38:16.665Z] ========================================================= [2023-08-22T16:38:16.665Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-22T16:38:16.665Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:38:17.201Z] + 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-22T16:38:17.201Z] Sending build context to Docker daemon 217.6kB [2023-08-22T16:38:17.469Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-22T16:38:17.469Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-22T16:38:17.469Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-22T16:38:17.469Z] edb6bdbacee9: Pulling fs layer [2023-08-22T16:38:17.469Z] 5f9638ab2659: Pulling fs layer [2023-08-22T16:38:17.469Z] 8d51d6327a98: Pulling fs layer [2023-08-22T16:38:17.469Z] 8b374f2dd631: Pulling fs layer [2023-08-22T16:38:17.469Z] ec14aa9079de: Pulling fs layer [2023-08-22T16:38:17.469Z] 2f466654f4bb: Pulling fs layer [2023-08-22T16:38:17.469Z] 554e91adad29: Pulling fs layer [2023-08-22T16:38:17.469Z] 8b374f2dd631: Waiting [2023-08-22T16:38:17.469Z] ec14aa9079de: Waiting [2023-08-22T16:38:17.469Z] 2f466654f4bb: Waiting [2023-08-22T16:38:17.469Z] 554e91adad29: Waiting [2023-08-22T16:38:17.740Z] 5f9638ab2659: Verifying Checksum [2023-08-22T16:38:17.740Z] 5f9638ab2659: Download complete [2023-08-22T16:38:17.740Z] 8b374f2dd631: Verifying Checksum [2023-08-22T16:38:17.740Z] 8b374f2dd631: Download complete [2023-08-22T16:38:17.740Z] ec14aa9079de: Verifying Checksum [2023-08-22T16:38:17.740Z] ec14aa9079de: Download complete [2023-08-22T16:38:17.740Z] edb6bdbacee9: Verifying Checksum [2023-08-22T16:38:17.740Z] edb6bdbacee9: Download complete [2023-08-22T16:38:18.709Z] edb6bdbacee9: Pull complete [2023-08-22T16:38:18.724Z] Removing intermediate container 3bb380995799 [2023-08-22T16:38:18.724Z] ---> 941366336f62 [2023-08-22T16:38:18.724Z] Step 10/12 : COPY . . [2023-08-22T16:38:18.724Z] ---> cd23033cf325 [2023-08-22T16:38:18.724Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:38:18.724Z] ---> Running in 2af0bdd106c9 [2023-08-22T16:38:18.724Z] Removing intermediate container 2af0bdd106c9 [2023-08-22T16:38:18.724Z] ---> 4a988b023a06 [2023-08-22T16:38:18.724Z] Step 12/12 : RUN $MAKE [2023-08-22T16:38:18.724Z] ---> Running in 6174e619256c [2023-08-22T16:38:18.724Z] noop [2023-08-22T16:38:18.724Z] Removing intermediate container 6174e619256c [2023-08-22T16:38:18.724Z] ---> 85d5e09763fa [2023-08-22T16:38:18.724Z] Successfully built 85d5e09763fa [2023-08-22T16:38:18.724Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:38:18.983Z] 554e91adad29: Verifying Checksum [2023-08-22T16:38:18.984Z] 554e91adad29: Download complete [2023-08-22T16:38:19.180Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T16:38:19.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:38:19.330Z] prd-ubuntu20.04-docker-8c-8g-4268 does not seem to be running inside a container [2023-08-22T16:38:19.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 ******** ci-base-image-x86_64 cat [2023-08-22T16:38:19.580Z] 5f9638ab2659: Pull complete [2023-08-22T16:38:19.672Z] $ docker top 8b294ba1ed99247c3c95f7457b34fed4b84f2517791533384a8bd17ee8c00d7f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:38:20.098Z] + go version [2023-08-22T16:38:20.098Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-22T16:38:20.132Z] $ docker stop --time=1 8b294ba1ed99247c3c95f7457b34fed4b84f2517791533384a8bd17ee8c00d7f [2023-08-22T16:38:20.170Z] 8d51d6327a98: Download complete [2023-08-22T16:38:20.170Z] 2f466654f4bb: Verifying Checksum [2023-08-22T16:38:20.170Z] 2f466654f4bb: Download complete [2023-08-22T16:38:21.438Z] $ docker rm -f --volumes 8b294ba1ed99247c3c95f7457b34fed4b84f2517791533384a8bd17ee8c00d7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:38:22.205Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-22T16:38:22.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:38:22.356Z] prd-ubuntu20.04-docker-8c-8g-4268 does not seem to be running inside a container [2023-08-22T16:38:22.387Z] $ 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-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 ******** ci-base-image-x86_64 cat [2023-08-22T16:38:22.699Z] $ docker top 8bf4a691cd1b868d9341a774ddde075111f3194f6d61c80c55eb16fc4c70fc3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:38:23.091Z] + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-63 [Pipeline] fileExists [Pipeline] sh [2023-08-22T16:38:23.444Z] + make test [2023-08-22T16:38:23.445Z] go test -race -coverprofile=coverage.out ./... [2023-08-22T16:38:32.515Z] 8d51d6327a98: Pull complete [2023-08-22T16:38:32.515Z] 8b374f2dd631: Pull complete [2023-08-22T16:38:32.515Z] ec14aa9079de: Pull complete [2023-08-22T16:38:40.744Z] 2f466654f4bb: Pull complete [2023-08-22T16:38:41.538Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-08-22T16:38:42.112Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.060s coverage: 88.0% of statements [2023-08-22T16:38:42.373Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-08-22T16:38:42.373Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-08-22T16:38:42.373Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-08-22T16:38:42.719Z] 554e91adad29: Pull complete [2023-08-22T16:38:42.988Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-22T16:38:42.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-22T16:38:42.988Z] ---> 1e15ea492957 [2023-08-22T16:38:42.988Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-08-22T16:38:44.943Z] ---> Running in 44be6ab18305 [2023-08-22T16:38:45.222Z] Removing intermediate container 44be6ab18305 [2023-08-22T16:38:45.222Z] ---> aec1a203d771 [2023-08-22T16:38:45.222Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-22T16:38:45.222Z] ---> Running in be25b7d92cb6 [2023-08-22T16:38:45.808Z] Removing intermediate container be25b7d92cb6 [2023-08-22T16:38:45.808Z] ---> 64b267a24ed6 [2023-08-22T16:38:45.808Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-22T16:38:45.808Z] ---> Running in ff63609d3616 [2023-08-22T16:38:46.077Z] Removing intermediate container ff63609d3616 [2023-08-22T16:38:46.077Z] ---> 0092be29f2f1 [2023-08-22T16:38:46.077Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-22T16:38:46.077Z] ---> Running in 32706cb76260 [2023-08-22T16:38:47.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-22T16:38:48.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-22T16:38:49.042Z] OK: 263 MiB in 53 packages [2023-08-22T16:38:49.629Z] Removing intermediate container 32706cb76260 [2023-08-22T16:38:49.629Z] ---> 7e3c892fd900 [2023-08-22T16:38:49.629Z] Step 7/12 : WORKDIR /app [2023-08-22T16:38:49.897Z] ---> Running in e8e42d27d2a1 [2023-08-22T16:38:50.165Z] Removing intermediate container e8e42d27d2a1 [2023-08-22T16:38:50.165Z] ---> ae337799558e [2023-08-22T16:38:50.166Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-22T16:38:50.755Z] ---> c7930d506a1c [2023-08-22T16:38:50.755Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-22T16:38:50.755Z] ---> Running in a08923cda72f [2023-08-22T16:38:52.342Z] ok github.com/edgexfoundry/app-record-replay/internal/application 8.591s coverage: 98.7% of statements [2023-08-22T16:38:52.342Z] --- FAIL: TestHttpController_ExportRecordedData (0.00s) [2023-08-22T16:38:52.342Z] --- FAIL: TestHttpController_ExportRecordedData/Valid_with_data_with_GZIP_query_parameter (0.00s) [2023-08-22T16:38:52.342Z] controller_test.go:488: [2023-08-22T16:38:52.342Z] Error Trace: /w/workspace/xfoundry_app-record-replay_PR-63/internal/controller/controller_test.go:488 [2023-08-22T16:38:52.342Z] Error: Not equal: [2023-08-22T16:38:52.342Z] expected: 200 [2023-08-22T16:38:52.342Z] actual : 500 [2023-08-22T16:38:52.342Z] Test: TestHttpController_ExportRecordedData/Valid_with_data_with_GZIP_query_parameter [2023-08-22T16:38:52.343Z] --- FAIL: TestHttpController_ExportRecordedData/Valid_with_data_with_ZLIB_query_parameter (0.00s) [2023-08-22T16:38:52.343Z] controller_test.go:488: [2023-08-22T16:38:52.343Z] Error Trace: /w/workspace/xfoundry_app-record-replay_PR-63/internal/controller/controller_test.go:488 [2023-08-22T16:38:52.343Z] Error: Not equal: [2023-08-22T16:38:52.343Z] expected: 200 [2023-08-22T16:38:52.343Z] actual : 500 [2023-08-22T16:38:52.343Z] Test: TestHttpController_ExportRecordedData/Valid_with_data_with_ZLIB_query_parameter [2023-08-22T16:38:52.343Z] FAIL [2023-08-22T16:38:52.343Z] github.com/edgexfoundry/app-record-replay/internal/controller coverage: 70.4% of statements [2023-08-22T16:38:52.343Z] FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.089s [2023-08-22T16:38:52.343Z] FAIL [2023-08-22T16:38:52.343Z] make: *** [Makefile:69: unittest] Error 1 [Pipeline] } [2023-08-22T16:38:52.411Z] $ docker stop --time=1 8bf4a691cd1b868d9341a774ddde075111f3194f6d61c80c55eb16fc4c70fc3d [2023-08-22T16:38:55.036Z] $ docker rm -f --volumes 8bf4a691cd1b868d9341a774ddde075111f3194f6d61c80c55eb16fc4c70fc3d [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-22T16:38:56.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:38:56.257Z] [2023-08-22T16:38:56.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:38:56.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:38:56.636Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-22T16:38:56.636Z] 5eb5b503b376: Pulling fs layer [2023-08-22T16:38:56.636Z] 5c69ac0246d0: Pulling fs layer [2023-08-22T16:38:56.636Z] ec43610c2a17: Pulling fs layer [2023-08-22T16:38:56.636Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-22T16:38:56.636Z] 33b1e0a273af: Pulling fs layer [2023-08-22T16:38:56.636Z] 5d3b04190fa2: Pulling fs layer [2023-08-22T16:38:56.636Z] 2f39f015ded8: Pulling fs layer [2023-08-22T16:38:56.636Z] 33b1e0a273af: Waiting [2023-08-22T16:38:56.636Z] 3a2ae6a8a46f: Waiting [2023-08-22T16:38:56.636Z] 5d3b04190fa2: Waiting [2023-08-22T16:38:56.636Z] 2f39f015ded8: Waiting [2023-08-22T16:38:56.636Z] 5c69ac0246d0: Verifying Checksum [2023-08-22T16:38:56.636Z] 5c69ac0246d0: Download complete [2023-08-22T16:38:56.636Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-22T16:38:56.636Z] 3a2ae6a8a46f: Download complete [2023-08-22T16:38:56.636Z] 33b1e0a273af: Verifying Checksum [2023-08-22T16:38:56.636Z] 33b1e0a273af: Download complete [2023-08-22T16:38:56.636Z] ec43610c2a17: Verifying Checksum [2023-08-22T16:38:56.636Z] ec43610c2a17: Download complete [2023-08-22T16:38:56.636Z] 5d3b04190fa2: Verifying Checksum [2023-08-22T16:38:56.636Z] 5d3b04190fa2: Download complete [2023-08-22T16:38:56.894Z] 5eb5b503b376: Verifying Checksum [2023-08-22T16:38:56.894Z] 5eb5b503b376: Download complete [2023-08-22T16:38:57.459Z] 2f39f015ded8: Verifying Checksum [2023-08-22T16:38:57.459Z] 2f39f015ded8: Download complete [2023-08-22T16:38:58.025Z] 5eb5b503b376: Pull complete [2023-08-22T16:38:58.025Z] 5c69ac0246d0: Pull complete [2023-08-22T16:38:58.591Z] ec43610c2a17: Pull complete [2023-08-22T16:38:58.591Z] 3a2ae6a8a46f: Pull complete [2023-08-22T16:38:58.591Z] 33b1e0a273af: Pull complete [2023-08-22T16:38:58.849Z] 5d3b04190fa2: Pull complete [2023-08-22T16:39:03.036Z] 2f39f015ded8: Pull complete [2023-08-22T16:39:03.038Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-22T16:39:03.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:39:03.038Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:39:03.297Z] prd-ubuntu20.04-docker-8c-8g-4268 does not seem to be running inside a container [2023-08-22T16:39:03.325Z] $ 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-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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-lftools-log-publisher:latest cat [2023-08-22T16:39:04.631Z] $ docker top 00abd1a87130d2a6fd5406463dcf119b143189cc37d0d820c7afc2a650890947 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:39:05.097Z] ---> job-cost.sh [2023-08-22T16:39:05.097Z] lf-activate-venv: SKIPPING [2023-08-22T16:39:05.097Z] INFO: No Stack... [2023-08-22T16:39:05.357Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T16:39:05.925Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T16:39:06.247Z] + cat /w/workspace/xfoundry_app-record-replay_PR-63/archives/cost.csv [2023-08-22T16:39:06.247Z] + cut -d, -f6 [Pipeline] lock [2023-08-22T16:39:06.297Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-63-1-stack-cost] [2023-08-22T16:39:06.302Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-63-1-stack-cost] did not exist. Created. [2023-08-22T16:39:06.302Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:39:06.701Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-22T16:39:06.769Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T16:39:06.794Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T16:39:06.870Z] $ docker stop --time=1 00abd1a87130d2a6fd5406463dcf119b143189cc37d0d820c7afc2a650890947 [2023-08-22T16:39:08.008Z] $ docker rm -f --volumes 00abd1a87130d2a6fd5406463dcf119b143189cc37d0d820c7afc2a650890947 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-22T16:39:08.389Z] Failed in branch amd64 [2023-08-22T16:40:12.428Z] Removing intermediate container a08923cda72f [2023-08-22T16:40:12.428Z] ---> 7562642136d2 [2023-08-22T16:40:12.428Z] Step 10/12 : COPY . . [2023-08-22T16:40:12.428Z] ---> 91e64fa168a8 [2023-08-22T16:40:12.428Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-22T16:40:12.428Z] ---> Running in 593bc7e0a932 [2023-08-22T16:40:12.428Z] Removing intermediate container 593bc7e0a932 [2023-08-22T16:40:12.428Z] ---> b7896f64d042 [2023-08-22T16:40:12.428Z] Step 12/12 : RUN $MAKE [2023-08-22T16:40:12.428Z] ---> Running in 8bed2e0327c8 [2023-08-22T16:40:12.428Z] noop [2023-08-22T16:40:12.428Z] Removing intermediate container 8bed2e0327c8 [2023-08-22T16:40:12.428Z] ---> f73ea0b50a28 [2023-08-22T16:40:12.428Z] Successfully built f73ea0b50a28 [2023-08-22T16:40:12.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:40:12.918Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T16:40:12.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:40:13.272Z] prd-ubuntu20.04-docker-arm64-4c-16g-4274 does not seem to be running inside a container [2023-08-22T16:40:13.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-22T16:40:14.719Z] $ docker top b7200374eda3c6406c6263bcd2e47a6448ebb3bdb325665903081ebef2d9d579 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:40:15.612Z] + go version [2023-08-22T16:40:15.612Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-22T16:40:15.654Z] $ docker stop --time=1 b7200374eda3c6406c6263bcd2e47a6448ebb3bdb325665903081ebef2d9d579 [2023-08-22T16:40:18.622Z] $ docker rm -f --volumes b7200374eda3c6406c6263bcd2e47a6448ebb3bdb325665903081ebef2d9d579 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:40:19.490Z] + docker inspect -f . ci-base-image-arm64 [2023-08-22T16:40:19.490Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:40:19.765Z] prd-ubuntu20.04-docker-arm64-4c-16g-4274 does not seem to be running inside a container [2023-08-22T16:40:19.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-22T16:40:21.127Z] $ docker top 12ed8a99797a2458c1a52913ce2f3bc25c2ed22c531b0b2c3c84a43ddc828af5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:40:22.061Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2023-08-22T16:40:22.456Z] + make test [2023-08-22T16:40:22.456Z] go test -race -coverprofile=coverage.out ./... [2023-08-22T16:43:14.447Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-08-22T16:43:14.447Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.257s coverage: 88.0% of statements [2023-08-22T16:43:15.407Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-08-22T16:43:15.407Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-08-22T16:43:15.407Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-08-22T16:43:25.462Z] ok github.com/edgexfoundry/app-record-replay/internal/application 8.869s coverage: 98.7% of statements [2023-08-22T16:43:25.462Z] --- FAIL: TestHttpController_ExportRecordedData (0.02s) [2023-08-22T16:43:25.462Z] --- FAIL: TestHttpController_ExportRecordedData/Valid_with_data_with_GZIP_query_parameter (0.00s) [2023-08-22T16:43:25.462Z] controller_test.go:488: [2023-08-22T16:43:25.462Z] Error Trace: /w/workspace/app-record-replay/1/internal/controller/controller_test.go:488 [2023-08-22T16:43:25.462Z] Error: Not equal: [2023-08-22T16:43:25.462Z] expected: 200 [2023-08-22T16:43:25.462Z] actual : 500 [2023-08-22T16:43:25.462Z] Test: TestHttpController_ExportRecordedData/Valid_with_data_with_GZIP_query_parameter [2023-08-22T16:43:25.462Z] --- FAIL: TestHttpController_ExportRecordedData/Valid_with_data_with_ZLIB_query_parameter (0.00s) [2023-08-22T16:43:25.462Z] controller_test.go:488: [2023-08-22T16:43:25.462Z] Error Trace: /w/workspace/app-record-replay/1/internal/controller/controller_test.go:488 [2023-08-22T16:43:25.462Z] Error: Not equal: [2023-08-22T16:43:25.462Z] expected: 200 [2023-08-22T16:43:25.462Z] actual : 500 [2023-08-22T16:43:25.462Z] Test: TestHttpController_ExportRecordedData/Valid_with_data_with_ZLIB_query_parameter [2023-08-22T16:43:25.462Z] FAIL [2023-08-22T16:43:25.462Z] github.com/edgexfoundry/app-record-replay/internal/controller coverage: 70.4% of statements [2023-08-22T16:43:25.462Z] FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.836s [2023-08-22T16:43:25.462Z] FAIL [2023-08-22T16:43:25.462Z] make: *** [Makefile:69: unittest] Error 1 [Pipeline] } [2023-08-22T16:43:25.521Z] $ docker stop --time=1 12ed8a99797a2458c1a52913ce2f3bc25c2ed22c531b0b2c3c84a43ddc828af5 [2023-08-22T16:43:28.993Z] $ docker rm -f --volumes 12ed8a99797a2458c1a52913ce2f3bc25c2ed22c531b0b2c3c84a43ddc828af5 [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-22T16:43:30.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:43:30.729Z] [2023-08-22T16:43:30.729Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:43:31.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:43:31.400Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-22T16:43:31.400Z] 8998bd30e6a1: Pulling fs layer [2023-08-22T16:43:31.400Z] 04944245beec: Pulling fs layer [2023-08-22T16:43:31.400Z] 699f458cf7ca: Pulling fs layer [2023-08-22T16:43:31.400Z] 765212b225bb: Pulling fs layer [2023-08-22T16:43:31.400Z] f23df028b6ca: Pulling fs layer [2023-08-22T16:43:31.400Z] d65c8cfc05b1: Pulling fs layer [2023-08-22T16:43:31.400Z] 2437ff75d9bd: Pulling fs layer [2023-08-22T16:43:31.400Z] 765212b225bb: Waiting [2023-08-22T16:43:31.400Z] 2437ff75d9bd: Waiting [2023-08-22T16:43:31.400Z] f23df028b6ca: Waiting [2023-08-22T16:43:31.400Z] d65c8cfc05b1: Waiting [2023-08-22T16:43:31.400Z] 04944245beec: Verifying Checksum [2023-08-22T16:43:31.400Z] 04944245beec: Download complete [2023-08-22T16:43:31.400Z] 765212b225bb: Verifying Checksum [2023-08-22T16:43:31.400Z] 765212b225bb: Download complete [2023-08-22T16:43:31.400Z] f23df028b6ca: Verifying Checksum [2023-08-22T16:43:31.400Z] f23df028b6ca: Download complete [2023-08-22T16:43:31.671Z] d65c8cfc05b1: Verifying Checksum [2023-08-22T16:43:31.671Z] d65c8cfc05b1: Download complete [2023-08-22T16:43:31.671Z] 699f458cf7ca: Verifying Checksum [2023-08-22T16:43:31.671Z] 699f458cf7ca: Download complete [2023-08-22T16:43:31.939Z] 8998bd30e6a1: Verifying Checksum [2023-08-22T16:43:31.939Z] 8998bd30e6a1: Download complete [2023-08-22T16:43:34.531Z] 2437ff75d9bd: Verifying Checksum [2023-08-22T16:43:34.531Z] 2437ff75d9bd: Download complete [2023-08-22T16:43:36.484Z] 8998bd30e6a1: Pull complete [2023-08-22T16:43:36.484Z] 04944245beec: Pull complete [2023-08-22T16:43:37.901Z] 699f458cf7ca: Pull complete [2023-08-22T16:43:38.174Z] 765212b225bb: Pull complete [2023-08-22T16:43:40.761Z] f23df028b6ca: Pull complete [2023-08-22T16:43:40.761Z] d65c8cfc05b1: Pull complete [2023-08-22T16:43:55.892Z] 2437ff75d9bd: Pull complete [2023-08-22T16:43:55.892Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-22T16:43:55.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-22T16:43:55.892Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:43:56.219Z] prd-ubuntu20.04-docker-arm64-4c-16g-4274 does not seem to be running inside a container [2023-08-22T16:43:56.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-22T16:43:59.106Z] $ docker top ecf3b4a6f88b243d7d129238da6d2efccb534f31b0a9734cce8b8b5abdb04496 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:43:59.993Z] ---> job-cost.sh [2023-08-22T16:43:59.993Z] lf-activate-venv: SKIPPING [2023-08-22T16:43:59.993Z] INFO: No Stack... [2023-08-22T16:44:00.260Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-22T16:44:01.220Z] INFO: Archiving Costs [Pipeline] sh [2023-08-22T16:44:01.876Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [2023-08-22T16:44:01.876Z] + cut -d, -f6 [Pipeline] lock [2023-08-22T16:44:01.960Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-63-1-stack-cost] [2023-08-22T16:44:01.965Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-63-1-stack-cost] did not exist. Created. [2023-08-22T16:44:01.966Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-63-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-22T16:44:02.696Z] /w/workspace/app-record-replay/1@tmp/durable-9ab2e0fa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-22T16:44:03.363Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-22T16:44:03.399Z] Warning: overwriting stash ‘stack-cost’ [2023-08-22T16:44:03.806Z] Stashed 1 file(s) [Pipeline] } [2023-08-22T16:44:03.822Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-63-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-22T16:44:03.913Z] $ docker stop --time=1 ecf3b4a6f88b243d7d129238da6d2efccb534f31b0a9734cce8b8b5abdb04496 [2023-08-22T16:44:06.981Z] $ docker rm -f --volumes ecf3b4a6f88b243d7d129238da6d2efccb534f31b0a9734cce8b8b5abdb04496 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-22T16:44:07.723Z] 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-22T16:44:09.763Z] + [ -d /w/workspace/xfoundry_app-record-replay_PR-63/archives ] [2023-08-22T16:44:09.763Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-63/archives [2023-08-22T16:44:09.763Z] total 16 [2023-08-22T16:44:09.763Z] drwxr-xr-x 3 root root 4096 Aug 22 16:39 . [2023-08-22T16:44:09.763Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 16:39 .. [2023-08-22T16:44:09.763Z] drwxr-xr-x 2 root root 4096 Aug 22 16:39 cost [2023-08-22T16:44:09.763Z] -rw-r--r-- 1 root root 89 Aug 22 16:39 cost.csv [2023-08-22T16:44:09.763Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-63/archives [2023-08-22T16:44:09.763Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-63/archives [2023-08-22T16:44:09.763Z] total 16 [2023-08-22T16:44:09.763Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:39 . [2023-08-22T16:44:09.763Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 16:39 .. [2023-08-22T16:44:09.763Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 16:39 cost [2023-08-22T16:44:09.763Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 22 16:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:44:10.089Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:44:10.980Z] ---> package-listing.sh [2023-08-22T16:44:10.980Z] ++ facter osfamily [2023-08-22T16:44:10.980Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-22T16:44:11.239Z] + OS_FAMILY=debian [2023-08-22T16:44:11.239Z] + workspace=/w/workspace/xfoundry_app-record-replay_PR-63 [2023-08-22T16:44:11.239Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-22T16:44:11.239Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-22T16:44:11.239Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-22T16:44:11.239Z] + PACKAGES=/tmp/packages_start.txt [2023-08-22T16:44:11.239Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-63 ']' [2023-08-22T16:44:11.239Z] + PACKAGES=/tmp/packages_end.txt [2023-08-22T16:44:11.239Z] + case "${OS_FAMILY}" in [2023-08-22T16:44:11.239Z] + dpkg -l [2023-08-22T16:44:11.239Z] + grep '^ii' [2023-08-22T16:44:11.239Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-22T16:44:11.239Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-22T16:44:11.239Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-22T16:44:11.239Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-63 ']' [2023-08-22T16:44:11.239Z] + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-63/archives/ [2023-08-22T16:44:11.239Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-63/archives/ [Pipeline] echo [2023-08-22T16:44:11.277Z] 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-63/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-22T16:44:11.568Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-22T16:44:12.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-22T16:44:12.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-22T16:44:12.428Z] prd-ubuntu20.04-docker-8c-8g-4268 does not seem to be running inside a container [2023-08-22T16:44:12.458Z] $ 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-63/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-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-22T16:44:12.650Z] $ docker top e68fc5078ce598e4930f51aaef34efc57c054f036e944a1ecb93c98c8981bf54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-22T16:44:13.037Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-22T16:44:13.347Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-22T16:44:13.655Z] + ls /var/log/sa-host [2023-08-22T16:44:13.656Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-22T16:44:13.789Z] provisioning config files... [2023-08-22T16:44:13.798Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config6069291065145455703tmp [Pipeline] { [Pipeline] echo [2023-08-22T16:44:13.853Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:44:14.164Z] ---> create-netrc.sh [Pipeline] } [2023-08-22T16:44:14.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:44:14.588Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-22T16:44:14.620Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:44:14.931Z] ---> sudo-logs.sh [2023-08-22T16:44:14.931Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-22T16:44:15.018Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:44:15.337Z] ---> job-cost.sh [2023-08-22T16:44:15.337Z] lf-activate-venv: SKIPPING [2023-08-22T16:44:15.337Z] DEBUG: total: 0.2199999988079071 [2023-08-22T16:44:15.337Z] INFO: Retrieving Stack Cost... [2023-08-22T16:44:15.596Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-22T16:44:16.163Z] INFO: Archiving Costs [Pipeline] echo [2023-08-22T16:44:16.197Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-22T16:44:16.507Z] ---> logs-deploy.sh [2023-08-22T16:44:16.507Z] lf-activate-venv: SKIPPING [2023-08-22T16:44:16.507Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-63/1 [2023-08-22T16:44:16.507Z] INFO: archiving workspace using pattern(s): [2023-08-22T16:44:17.444Z] Archives upload complete. [2023-08-22T16:44:17.444Z] INFO: archiving logs to Nexus