Pull request #40 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 2c7d034133c4da6a7184d5193f51bffe6ea24aa2+a3df25cb06c99faf73416738ebe3ed6f58d891fa (b4d5f10e675fa9a47dcce239ab70c8637ed2b193) 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-ssh11947650008611515809.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3987333048973789553.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh 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-40/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-40/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9761511564266079629.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-40/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14600151177007922434.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh899161571086407036.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-40/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-40/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4684275116293162331.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-988’ Running on prd-ubuntu20.04-docker-8c-8g-990 in /w/workspace/xfoundry_app-record-replay_PR-40 [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-40 # 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 a3df25cb06c99faf73416738ebe3ed6f58d891fa into PR head commit 2c7d034133c4da6a7184d5193f51bffe6ea24aa2 Merge succeeded, producing 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 Checking out Revision 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 (PR-40) > 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/40/head:refs/remotes/origin/PR-40 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7d034133c4da6a7184d5193f51bffe6ea24aa2 # 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 a3df25cb06c99faf73416738ebe3ed6f58d891fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 # timeout=10 Commit message: "Merge commit 'a3df25cb06c99faf73416738ebe3ed6f58d891fa' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-12T22:33:29.283Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-12T22:33:29.452Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-12T22:33:29.551Z] ========================================================= [2023-07-12T22:33:29.551Z] EdgeX Global Pipelines Version Info [2023-07-12T22:33:29.551Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:33:30.286Z] ------------------- [2023-07-12T22:33:30.286Z] stable info: [2023-07-12T22:33:30.286Z] ------------------- [2023-07-12T22:33:30.286Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-12T22:33:30.286Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-12T22:33:30.286Z] Message: update stable to v1.0.250 [2023-07-12T22:33:30.857Z] ------------------- [2023-07-12T22:33:30.857Z] experimental info: [2023-07-12T22:33:30.857Z] ------------------- [2023-07-12T22:33:30.858Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-12T22:33:30.858Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-12T22:33:30.858Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-12T22:33:31.118Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-07-12T22:33:31.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-07-12T22:33:31.200Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-12T22:33:31.237Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-12T22:33:31.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-12T22:33:31.311Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-12T22:33:31.345Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-12T22:33:31.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-12T22:33:31.420Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-12T22:33:31.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-12T22:33:31.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-12T22:33:31.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-07-12T22:33:31.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-12T22:33:31.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-12T22:33:31.638Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-12T22:33:31.675Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-12T22:33:31.711Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-12T22:33:31.749Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-12T22:33:31.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-12T22:33:31.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-12T22:33:31.860Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-12T22:33:31.894Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-12T22:33:31.932Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-12T22:33:31.968Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-12T22:33:32.007Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-12T22:33:32.050Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-12T22:33:32.091Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-12T22:33:32.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-40 [Pipeline] echo [2023-07-12T22:33:32.166Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-40 [Pipeline] echo [2023-07-12T22:33:32.200Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-40 [Pipeline] echo [2023-07-12T22:33:32.235Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 [Pipeline] echo [2023-07-12T22:33:32.276Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b604d0 [Pipeline] echo [2023-07-12T22:33:32.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-12T22:33:32.428Z] provisioning config files... [2023-07-12T22:33:32.444Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-40@tmp/config7258831619663864891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:33:32.782Z] ---> docker-login.sh [2023-07-12T22:33:32.782Z] nexus3.edgexfoundry.org:10001 [2023-07-12T22:33:33.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:33.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:33.302Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:33.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:33.302Z] [2023-07-12T22:33:33.302Z] Login Succeeded [2023-07-12T22:33:33.302Z] nexus3.edgexfoundry.org:10002 [2023-07-12T22:33:33.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:33.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:33.303Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:33.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:33.303Z] [2023-07-12T22:33:33.303Z] Login Succeeded [2023-07-12T22:33:33.563Z] nexus3.edgexfoundry.org:10003 [2023-07-12T22:33:33.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:33.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:33.563Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:33.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:33.563Z] [2023-07-12T22:33:33.563Z] Login Succeeded [2023-07-12T22:33:33.563Z] nexus3.edgexfoundry.org:10004 [2023-07-12T22:33:33.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:33.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:33.563Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:33.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:33.563Z] [2023-07-12T22:33:33.563Z] Login Succeeded [2023-07-12T22:33:33.563Z] docker.io [2023-07-12T22:33:33.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:34.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:34.080Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:34.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:34.080Z] [2023-07-12T22:33:34.080Z] Login Succeeded [2023-07-12T22:33:34.080Z] ---> docker-login.sh ends [Pipeline] } [2023-07-12T22:33:34.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-12T22:33:34.744Z] + git rev-list -1 --merges 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4~1..6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 [Pipeline] echo [2023-07-12T22:33:34.798Z] -----------> git rev-list -1 --merges 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4~1..6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 [2023-07-12T22:33:34.798Z] 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 [false] [Pipeline] sh [2023-07-12T22:33:35.106Z] + git log --format=format:%s -1 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 [Pipeline] echo [2023-07-12T22:33:35.139Z] ========================================================= [2023-07-12T22:33:35.139Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-12T22:33:35.139Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-12T22:33:35.572Z] + git log --format=format:%s -1 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 [Pipeline] echo [2023-07-12T22:33:35.603Z] [semverPrep] GIT_COMMIT: 6b604d0bca4c9775cf5e025a7f1c70a14cf461f4, Commit Message: Merge commit 'a3df25cb06c99faf73416738ebe3ed6f58d891fa' into HEAD [Pipeline] echo [2023-07-12T22:33:35.631Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-12T22:33:36.015Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-12T22:33:36.015Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-12T22:33:36.015Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-12T22:33:36.015Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-12T22:33:36.015Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-12T22:33:36.015Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-12T22:33:36.015Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:33:36.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-12T22:33:36.503Z] [2023-07-12T22:33:36.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:33:36.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-12T22:33:36.872Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-12T22:33:36.872Z] b85a868b505f: Pulling fs layer [2023-07-12T22:33:36.872Z] e2be974225ed: Pulling fs layer [2023-07-12T22:33:36.872Z] 339a4e72a1f5: Pulling fs layer [2023-07-12T22:33:36.872Z] 988bab9f4d93: Pulling fs layer [2023-07-12T22:33:36.872Z] 1469e6f7b9e6: Pulling fs layer [2023-07-12T22:33:36.872Z] eaf3925da568: Pulling fs layer [2023-07-12T22:33:36.872Z] bab4dde63d76: Pulling fs layer [2023-07-12T22:33:36.872Z] bde34c3a00c8: Pulling fs layer [2023-07-12T22:33:36.872Z] b352a97aabf1: Pulling fs layer [2023-07-12T22:33:36.872Z] 4872d77fe225: Pulling fs layer [2023-07-12T22:33:36.872Z] 5851b861e8e6: Pulling fs layer [2023-07-12T22:33:36.872Z] bab4dde63d76: Waiting [2023-07-12T22:33:36.872Z] bde34c3a00c8: Waiting [2023-07-12T22:33:36.872Z] b352a97aabf1: Waiting [2023-07-12T22:33:36.872Z] 4872d77fe225: Waiting [2023-07-12T22:33:36.872Z] 5851b861e8e6: Waiting [2023-07-12T22:33:36.872Z] 1469e6f7b9e6: Waiting [2023-07-12T22:33:36.872Z] 988bab9f4d93: Waiting [2023-07-12T22:33:36.872Z] eaf3925da568: Waiting [2023-07-12T22:33:36.872Z] e2be974225ed: Verifying Checksum [2023-07-12T22:33:36.872Z] e2be974225ed: Download complete [2023-07-12T22:33:36.872Z] 988bab9f4d93: Download complete [2023-07-12T22:33:36.872Z] 1469e6f7b9e6: Verifying Checksum [2023-07-12T22:33:36.872Z] 1469e6f7b9e6: Download complete [2023-07-12T22:33:36.872Z] 339a4e72a1f5: Verifying Checksum [2023-07-12T22:33:36.872Z] 339a4e72a1f5: Download complete [2023-07-12T22:33:36.872Z] eaf3925da568: Verifying Checksum [2023-07-12T22:33:36.872Z] eaf3925da568: Download complete [2023-07-12T22:33:37.132Z] bde34c3a00c8: Verifying Checksum [2023-07-12T22:33:37.132Z] bde34c3a00c8: Download complete [2023-07-12T22:33:37.132Z] b352a97aabf1: Verifying Checksum [2023-07-12T22:33:37.132Z] b352a97aabf1: Download complete [2023-07-12T22:33:37.132Z] 4872d77fe225: Verifying Checksum [2023-07-12T22:33:37.132Z] 4872d77fe225: Download complete [2023-07-12T22:33:37.132Z] 5851b861e8e6: Verifying Checksum [2023-07-12T22:33:37.132Z] 5851b861e8e6: Download complete [2023-07-12T22:33:37.132Z] b85a868b505f: Verifying Checksum [2023-07-12T22:33:37.132Z] b85a868b505f: Download complete [2023-07-12T22:33:37.393Z] bab4dde63d76: Download complete [2023-07-12T22:33:38.331Z] b85a868b505f: Pull complete [2023-07-12T22:33:38.590Z] e2be974225ed: Pull complete [2023-07-12T22:33:39.225Z] 339a4e72a1f5: Pull complete [2023-07-12T22:33:39.225Z] 988bab9f4d93: Pull complete [2023-07-12T22:33:39.487Z] 1469e6f7b9e6: Pull complete [2023-07-12T22:33:39.487Z] eaf3925da568: Pull complete [2023-07-12T22:33:42.584Z] bab4dde63d76: Pull complete [2023-07-12T22:33:42.584Z] bde34c3a00c8: Pull complete [2023-07-12T22:33:42.584Z] b352a97aabf1: Pull complete [2023-07-12T22:33:42.584Z] 4872d77fe225: Pull complete [2023-07-12T22:33:42.584Z] 5851b861e8e6: Pull complete [2023-07-12T22:33:42.584Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-12T22:33:42.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-12T22:33:42.584Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T22:33:42.830Z] prd-ubuntu20.04-docker-8c-8g-990 does not seem to be running inside a container [2023-07-12T22:33:42.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-40 -v /w/workspace/xfoundry_app-record-replay_PR-40:/w/workspace/xfoundry_app-record-replay_PR-40:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-40@tmp:/w/workspace/xfoundry_app-record-replay_PR-40@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-12T22:33:45.606Z] $ docker top 695787adc5260569526b03084782d9c970d634dbf9430a1e761d7443242be8d2 -eo pid,comm [2023-07-12T22:33:45.662Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-12T22:33:45.662Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-12T22:33:45.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-12T22:33:45.816Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-12T22:33:45.939Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-12T22:33:45.945Z] $ docker exec 695787adc5260569526b03084782d9c970d634dbf9430a1e761d7443242be8d2 ssh-agent [2023-07-12T22:33:46.062Z] SSH_AUTH_SOCK=/tmp/ssh-iFHXf0HXPY6I/agent.32 [2023-07-12T22:33:46.062Z] SSH_AGENT_PID=38 [2023-07-12T22:33:46.070Z] Running ssh-add (command line suppressed) [2023-07-12T22:33:46.184Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-40@tmp/private_key_11944350681504022873.key (/w/workspace/xfoundry_app-record-replay_PR-40@tmp/private_key_11944350681504022873.key) [2023-07-12T22:33:46.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-12T22:33:46.527Z] + git tag --points-at HEAD [Pipeline] } [2023-07-12T22:33:46.555Z] $ docker exec --env ******** --env ******** 695787adc5260569526b03084782d9c970d634dbf9430a1e761d7443242be8d2 ssh-agent -k [2023-07-12T22:33:46.666Z] unset SSH_AUTH_SOCK; [2023-07-12T22:33:46.666Z] unset SSH_AGENT_PID; [2023-07-12T22:33:46.667Z] echo Agent pid 38 killed; [2023-07-12T22:33:46.673Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-12T22:33:46.763Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-12T22:33:46.763Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-12T22:33:46.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-12T22:33:46.886Z] $ docker exec 695787adc5260569526b03084782d9c970d634dbf9430a1e761d7443242be8d2 ssh-agent [2023-07-12T22:33:47.003Z] SSH_AUTH_SOCK=/tmp/ssh-Biu3oP9kJUem/agent.70 [2023-07-12T22:33:47.004Z] SSH_AGENT_PID=76 [2023-07-12T22:33:47.008Z] Running ssh-add (command line suppressed) [2023-07-12T22:33:47.124Z] Identity added: /w/workspace/xfoundry_app-record-replay_PR-40@tmp/private_key_5475288774469775494.key (/w/workspace/xfoundry_app-record-replay_PR-40@tmp/private_key_5475288774469775494.key) [2023-07-12T22:33:47.136Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-12T22:33:47.464Z] + git semver init [2023-07-12T22:33:47.723Z] 2023-07-12 22:33:47,654 [run_init] DEBUG init version:0.0.0 force:False [2023-07-12T22:33:47.723Z] 2023-07-12 22:33:47,655 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-40/.semver [2023-07-12T22:33:47.723Z] 2023-07-12 22:33:47,655 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-40/.semver [2023-07-12T22:33:47.723Z] 2023-07-12 22:33:47,655 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-40/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-40, universal_newlines=False, shell=None, istream=None) [2023-07-12T22:33:48.293Z] 2023-07-12 22:33:48,254 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-40/.git/info/exclude [2023-07-12T22:33:48.293Z] 2023-07-12 22:33:48,255 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-40/.semver/PR-40 with force:False [2023-07-12T22:33:48.293Z] 2023-07-12 22:33:48,255 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-40/.semver/PR-40 [2023-07-12T22:33:48.293Z] 2023-07-12 22:33:48,259 [execute] INFO git cat-file --batch-check [2023-07-12T22:33:48.293Z] 2023-07-12 22:33:48,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-40/.semver, universal_newlines=False, shell=None, istream=) [2023-07-12T22:33:48.293Z] 2023-07-12 22:33:48,267 [execute] INFO git cat-file --batch [2023-07-12T22:33:48.293Z] 2023-07-12 22:33:48,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-40/.semver, universal_newlines=False, shell=None, istream=) [2023-07-12T22:33:48.293Z] 2023-07-12 22:33:48,275 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-40/.semver/PR-40 [2023-07-12T22:33:48.293Z] 0.0.0 [Pipeline] } [2023-07-12T22:33:48.319Z] $ docker exec --env ******** --env ******** 695787adc5260569526b03084782d9c970d634dbf9430a1e761d7443242be8d2 ssh-agent -k [2023-07-12T22:33:48.417Z] unset SSH_AUTH_SOCK; [2023-07-12T22:33:48.418Z] unset SSH_AGENT_PID; [2023-07-12T22:33:48.418Z] echo Agent pid 76 killed; [2023-07-12T22:33:48.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-12T22:33:48.853Z] + git semver [Pipeline] } [2023-07-12T22:33:49.142Z] $ docker stop --time=1 695787adc5260569526b03084782d9c970d634dbf9430a1e761d7443242be8d2 [2023-07-12T22:33:50.468Z] $ docker rm -f --volumes 695787adc5260569526b03084782d9c970d634dbf9430a1e761d7443242be8d2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-12T22:33:50.866Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-12T22:33:51.169Z] Stashed 1 file(s) [Pipeline] echo [2023-07-12T22:33:51.186Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-12T22:33:51.762Z] provisioning config files... [2023-07-12T22:33:51.772Z] copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-40@tmp/config1285314255624576873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:33:52.124Z] ---> docker-login.sh [2023-07-12T22:33:52.124Z] nexus3.edgexfoundry.org:10001 [2023-07-12T22:33:52.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:52.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:52.124Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:52.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:52.124Z] [2023-07-12T22:33:52.124Z] Login Succeeded [2023-07-12T22:33:52.124Z] nexus3.edgexfoundry.org:10002 [2023-07-12T22:33:52.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:52.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:52.124Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:52.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:52.124Z] [2023-07-12T22:33:52.124Z] Login Succeeded [2023-07-12T22:33:52.124Z] nexus3.edgexfoundry.org:10003 [2023-07-12T22:33:52.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:52.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:52.386Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:52.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:52.386Z] [2023-07-12T22:33:52.386Z] Login Succeeded [2023-07-12T22:33:52.386Z] nexus3.edgexfoundry.org:10004 [2023-07-12T22:33:52.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:52.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:52.386Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:52.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:52.386Z] [2023-07-12T22:33:52.386Z] Login Succeeded [2023-07-12T22:33:52.386Z] docker.io [2023-07-12T22:33:52.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:33:52.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:33:52.646Z] Configure a credential helper to remove this warning. See [2023-07-12T22:33:52.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:33:52.646Z] [2023-07-12T22:33:52.646Z] Login Succeeded [2023-07-12T22:33:52.646Z] ---> docker-login.sh ends [Pipeline] } [2023-07-12T22:33:52.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-12T22:33:52.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T22:33:52.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T22:33:52.946Z] ========================================================= [2023-07-12T22:33:52.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-12T22:33:52.946Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:33:53.413Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-12T22:33:53.413Z] Sending build context to Docker daemon 325.6kB [2023-07-12T22:33:53.413Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-12T22:33:53.413Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-12T22:33:53.413Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-12T22:33:53.413Z] 4db1b89c0bd1: Pulling fs layer [2023-07-12T22:33:53.413Z] 6911f1a30b25: Pulling fs layer [2023-07-12T22:33:53.413Z] e194b8c5c2a9: Pulling fs layer [2023-07-12T22:33:53.413Z] 6863d3e3a2b1: Pulling fs layer [2023-07-12T22:33:53.413Z] ec0bb842ea78: Pulling fs layer [2023-07-12T22:33:53.413Z] 40a00589a448: Pulling fs layer [2023-07-12T22:33:53.413Z] 6c08303d61cc: Pulling fs layer [2023-07-12T22:33:53.413Z] 798269fcf238: Pulling fs layer [2023-07-12T22:33:53.413Z] ec0bb842ea78: Waiting [2023-07-12T22:33:53.413Z] 6c08303d61cc: Waiting [2023-07-12T22:33:53.413Z] 798269fcf238: Waiting [2023-07-12T22:33:53.413Z] 6863d3e3a2b1: Waiting [2023-07-12T22:33:53.413Z] 6911f1a30b25: Download complete [2023-07-12T22:33:53.413Z] 6863d3e3a2b1: Verifying Checksum [2023-07-12T22:33:53.413Z] 6863d3e3a2b1: Download complete [2023-07-12T22:33:53.413Z] ec0bb842ea78: Verifying Checksum [2023-07-12T22:33:53.413Z] ec0bb842ea78: Download complete [2023-07-12T22:33:53.413Z] 4db1b89c0bd1: Verifying Checksum [2023-07-12T22:33:53.413Z] 4db1b89c0bd1: Download complete [2023-07-12T22:33:53.673Z] 40a00589a448: Verifying Checksum [2023-07-12T22:33:53.673Z] 40a00589a448: Download complete [2023-07-12T22:33:53.673Z] 4db1b89c0bd1: Pull complete [2023-07-12T22:33:53.933Z] 6911f1a30b25: Pull complete [2023-07-12T22:33:53.933Z] 798269fcf238: Verifying Checksum [2023-07-12T22:33:53.933Z] 798269fcf238: Download complete [2023-07-12T22:33:54.193Z] e194b8c5c2a9: Download complete [2023-07-12T22:33:54.452Z] 6c08303d61cc: Verifying Checksum [2023-07-12T22:33:54.452Z] 6c08303d61cc: Download complete [2023-07-12T22:33:57.738Z] e194b8c5c2a9: Pull complete [2023-07-12T22:33:57.738Z] 6863d3e3a2b1: Pull complete [2023-07-12T22:33:57.738Z] ec0bb842ea78: Pull complete [2023-07-12T22:33:57.998Z] 40a00589a448: Pull complete [2023-07-12T22:34:00.530Z] 6c08303d61cc: Pull complete [2023-07-12T22:34:01.469Z] 798269fcf238: Pull complete [2023-07-12T22:34:01.469Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-12T22:34:01.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-12T22:34:01.469Z] ---> ec979cd7f677 [2023-07-12T22:34:01.469Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-12T22:34:04.761Z] ---> Running in 6603aa412881 [2023-07-12T22:34:05.021Z] Removing intermediate container 6603aa412881 [2023-07-12T22:34:05.021Z] ---> 212fd3423d0a [2023-07-12T22:34:05.021Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-12T22:34:05.021Z] ---> Running in 9de9881609e4 [2023-07-12T22:34:05.021Z] Removing intermediate container 9de9881609e4 [2023-07-12T22:34:05.021Z] ---> cf690ba7ce32 [2023-07-12T22:34:05.021Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-12T22:34:05.021Z] ---> Running in 68ff4cd4612a [2023-07-12T22:34:05.281Z] Removing intermediate container 68ff4cd4612a [2023-07-12T22:34:05.281Z] ---> ddaed33ad6bf [2023-07-12T22:34:05.281Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-12T22:34:05.281Z] ---> Running in b54eef1e10c4 [2023-07-12T22:34:05.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-12T22:34:05.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-12T22:34:06.056Z] OK: 265 MiB in 53 packages [2023-07-12T22:34:06.314Z] Removing intermediate container b54eef1e10c4 [2023-07-12T22:34:06.314Z] ---> 0b080aafdab4 [2023-07-12T22:34:06.314Z] Step 7/12 : WORKDIR /app [2023-07-12T22:34:06.314Z] ---> Running in 087304acfa5f [2023-07-12T22:34:06.314Z] Removing intermediate container 087304acfa5f [2023-07-12T22:34:06.314Z] ---> 14922fc6fb66 [2023-07-12T22:34:06.314Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-12T22:34:06.573Z] ---> 445e6e0f2025 [2023-07-12T22:34:06.573Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-12T22:34:06.573Z] ---> Running in ed87fef432f1 [2023-07-12T22:34:06.574Z] Still waiting to schedule task [2023-07-12T22:34:06.574Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-989’ [2023-07-12T22:34:33.156Z] Removing intermediate container ed87fef432f1 [2023-07-12T22:34:33.156Z] ---> d86d88a95c15 [2023-07-12T22:34:33.156Z] Step 10/12 : COPY . . [2023-07-12T22:34:33.156Z] ---> 81582590c566 [2023-07-12T22:34:33.156Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-12T22:34:33.156Z] ---> Running in 6eb524371a33 [2023-07-12T22:34:33.156Z] Removing intermediate container 6eb524371a33 [2023-07-12T22:34:33.156Z] ---> aea420784390 [2023-07-12T22:34:33.156Z] Step 12/12 : RUN $MAKE [2023-07-12T22:34:33.156Z] ---> Running in 2c25d5e9558c [2023-07-12T22:34:33.156Z] noop [2023-07-12T22:34:33.156Z] Removing intermediate container 2c25d5e9558c [2023-07-12T22:34:33.156Z] ---> a10be4944532 [2023-07-12T22:34:33.156Z] Successfully built a10be4944532 [2023-07-12T22:34:33.156Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:34:33.595Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-12T22:34:33.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T22:34:33.744Z] prd-ubuntu20.04-docker-8c-8g-990 does not seem to be running inside a container [2023-07-12T22:34:33.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-40 -v /w/workspace/xfoundry_app-record-replay_PR-40:/w/workspace/xfoundry_app-record-replay_PR-40:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-40@tmp:/w/workspace/xfoundry_app-record-replay_PR-40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-12T22:34:34.103Z] $ docker top fcb3e2381e4237b6db99592f53b3c40357cc56d6c288a489992bea8cd8a3d768 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T22:34:34.488Z] + go version [2023-07-12T22:34:34.488Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-12T22:34:34.523Z] $ docker stop --time=1 fcb3e2381e4237b6db99592f53b3c40357cc56d6c288a489992bea8cd8a3d768 [2023-07-12T22:34:35.767Z] $ docker rm -f --volumes fcb3e2381e4237b6db99592f53b3c40357cc56d6c288a489992bea8cd8a3d768 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:34:36.425Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-12T22:34:36.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T22:34:36.567Z] prd-ubuntu20.04-docker-8c-8g-990 does not seem to be running inside a container [2023-07-12T22:34:36.604Z] $ 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-40 -v /w/workspace/xfoundry_app-record-replay_PR-40:/w/workspace/xfoundry_app-record-replay_PR-40:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-40@tmp:/w/workspace/xfoundry_app-record-replay_PR-40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-12T22:34:36.950Z] $ docker top 0819f627572695fb2dc1afc6f8e19879f05faf28a78ec078f16f900c3c93d401 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T22:34:37.341Z] + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-40 [Pipeline] fileExists [Pipeline] sh [2023-07-12T22:34:37.701Z] + make test [2023-07-12T22:34:37.701Z] go test -race -coverprofile=coverage.out ./... [2023-07-12T22:34:55.986Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-07-12T22:34:56.243Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.076s coverage: 87.5% of statements [2023-07-12T22:34:56.243Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-07-12T22:34:56.243Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-07-12T22:34:56.243Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-07-12T22:34:56.244Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 0.064s coverage: 92.9% of statements [2023-07-12T22:34:56.244Z] ok github.com/edgexfoundry/app-record-replay/internal/data 0.053s coverage: 65.2% of statements [2023-07-12T22:35:16.205Z] go vet ./... [2023-07-12T22:35:18.110Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-12T22:35:18.110Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-12T22:35:18.110Z] ./bin/test-attribution-txt.sh [2023-07-12T22:35:18.110Z] An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add [2023-07-12T22:35:18.110Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2023-07-12T22:35:18.110Z] An attribution for golang.org/x/exp is missing from Attribution.txt, please add [Pipeline] echo [2023-07-12T22:35:18.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-12T22:35:18.178Z] $ docker stop --time=1 0819f627572695fb2dc1afc6f8e19879f05faf28a78ec078f16f900c3c93d401 [2023-07-12T22:35:22.389Z] $ docker rm -f --volumes 0819f627572695fb2dc1afc6f8e19879f05faf28a78ec078f16f900c3c93d401 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-12T22:35:22.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-12T22:35:23.020Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-12T22:35:23.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-12T22:35:23.979Z] + ls -al . [2023-07-12T22:35:23.979Z] total 164 [2023-07-12T22:35:23.979Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 22:34 . [2023-07-12T22:35:23.979Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 22:33 .. [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 119 Jul 12 22:33 .dockerignore [2023-07-12T22:35:23.979Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:33 .git [2023-07-12T22:35:23.979Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:33 .github [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 164 Jul 12 22:33 .gitignore [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 22:33 .golangci.yml [2023-07-12T22:35:23.979Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 22:33 .semver [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 10245 Jul 12 22:33 Attribution.txt [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 258 Jul 12 22:33 CHANGELOG.md [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 1616 Jul 12 22:33 Dockerfile [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 22:33 GOVERNANCE.md [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 681 Jul 12 22:33 Jenkinsfile [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 22:33 LICENSE [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jul 12 22:33 Makefile [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 611 Jul 12 22:33 OWNERS.md [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 2363 Jul 12 22:33 README.md [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 4285 Jul 12 22:33 Record and Reply.postman_collection.json [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 22:33 VERSION [2023-07-12T22:35:23.979Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:33 bin [2023-07-12T22:35:23.979Z] -rw-r--r-- 1 jenkins jenkins 7172 Jul 12 22:34 coverage.out [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 3678 Jul 12 22:33 go.mod [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 32843 Jul 12 22:33 go.sum [2023-07-12T22:35:23.979Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 22:33 internal [2023-07-12T22:35:23.979Z] -rw-rw-r-- 1 jenkins jenkins 913 Jul 12 22:33 main.go [2023-07-12T22:35:23.979Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:33 pkg [2023-07-12T22:35:23.979Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:33 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:35:24.376Z] + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 --label arch=amd64 --label version=0.0.0 . [2023-07-12T22:35:24.376Z] Sending build context to Docker daemon 333.8kB [2023-07-12T22:35:24.376Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-07-12T22:35:24.376Z] Step 2/26 : FROM ${BASE} AS builder [2023-07-12T22:35:24.376Z] ---> a10be4944532 [2023-07-12T22:35:24.376Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git" [2023-07-12T22:35:24.376Z] ---> Running in 2e9ef1d6c868 [2023-07-12T22:35:24.636Z] Removing intermediate container 2e9ef1d6c868 [2023-07-12T22:35:24.636Z] ---> ce686154ab86 [2023-07-12T22:35:24.636Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-07-12T22:35:24.636Z] ---> Running in 01e13fe70e6f [2023-07-12T22:35:24.636Z] Removing intermediate container 01e13fe70e6f [2023-07-12T22:35:24.636Z] ---> fe17176cf254 [2023-07-12T22:35:24.636Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-07-12T22:35:24.636Z] ---> Running in c5db85bf06f5 [2023-07-12T22:35:24.636Z] Removing intermediate container c5db85bf06f5 [2023-07-12T22:35:24.636Z] ---> 640183cc4018 [2023-07-12T22:35:24.636Z] Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-12T22:35:24.636Z] ---> Running in 4d368f19ae78 [2023-07-12T22:35:24.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-12T22:35:25.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-12T22:35:25.416Z] OK: 265 MiB in 53 packages [2023-07-12T22:35:25.675Z] Removing intermediate container 4d368f19ae78 [2023-07-12T22:35:25.675Z] ---> 3e3c37cfee99 [2023-07-12T22:35:25.675Z] Step 7/26 : WORKDIR /app [2023-07-12T22:35:25.675Z] ---> Running in 287718b73e67 [2023-07-12T22:35:25.933Z] Removing intermediate container 287718b73e67 [2023-07-12T22:35:25.933Z] ---> 4bd56bcc4004 [2023-07-12T22:35:25.933Z] Step 8/26 : COPY go.mod vendor* ./ [2023-07-12T22:35:25.933Z] ---> 3bf921c71f90 [2023-07-12T22:35:25.933Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-12T22:35:25.933Z] ---> Running in da6cfd2156d2 [2023-07-12T22:35:26.868Z] Removing intermediate container da6cfd2156d2 [2023-07-12T22:35:26.868Z] ---> 74c86271128c [2023-07-12T22:35:26.868Z] Step 10/26 : COPY . . [2023-07-12T22:35:26.868Z] ---> aa40372e4979 [2023-07-12T22:35:26.868Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-12T22:35:26.868Z] ---> Running in 0dd4f7b87591 [2023-07-12T22:35:26.868Z] Removing intermediate container 0dd4f7b87591 [2023-07-12T22:35:26.868Z] ---> eda0fc16e9d6 [2023-07-12T22:35:26.868Z] Step 12/26 : RUN $MAKE [2023-07-12T22:35:26.868Z] ---> Running in b2b8446b2502 [2023-07-12T22:35:27.436Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-07-12T22:35:45.513Z] Removing intermediate container b2b8446b2502 [2023-07-12T22:35:45.513Z] ---> 27ccfd108ea9 [2023-07-12T22:35:45.513Z] Step 13/26 : FROM alpine:3.17 [2023-07-12T22:35:46.080Z] 3.17: Pulling from library/alpine [2023-07-12T22:35:46.080Z] 4db1b89c0bd1: Already exists [2023-07-12T22:35:46.340Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-12T22:35:46.340Z] Status: Downloaded newer image for alpine:3.17 [2023-07-12T22:35:46.340Z] ---> 1f73a9d63274 [2023-07-12T22:35:46.340Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-12T22:35:46.340Z] ---> Running in 7e252d7362de [2023-07-12T22:35:46.340Z] Removing intermediate container 7e252d7362de [2023-07-12T22:35:46.340Z] ---> aee28b3586ff [2023-07-12T22:35:46.340Z] Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} [2023-07-12T22:35:46.599Z] ---> Running in 345e14ed6b2d [2023-07-12T22:35:46.599Z] Removing intermediate container 345e14ed6b2d [2023-07-12T22:35:46.599Z] ---> 47be5b4d4e50 [2023-07-12T22:35:46.599Z] Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-07-12T22:35:46.599Z] ---> Running in 086b5fc1b2dd [2023-07-12T22:35:46.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-12T22:35:47.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-12T22:35:47.377Z] (1/2) Installing ca-certificates (20230506-r0) [2023-07-12T22:35:47.377Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-07-12T22:35:47.377Z] Executing busybox-1.35.0-r29.trigger [2023-07-12T22:35:47.377Z] Executing ca-certificates-20230506-r0.trigger [2023-07-12T22:35:47.377Z] OK: 8 MiB in 17 packages [2023-07-12T22:35:47.642Z] Removing intermediate container 086b5fc1b2dd [2023-07-12T22:35:47.642Z] ---> 28670920a92c [2023-07-12T22:35:47.642Z] Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-07-12T22:35:47.902Z] ---> c17e3e25d51d [2023-07-12T22:35:47.902Z] Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE [2023-07-12T22:35:47.902Z] ---> 64ff109718a8 [2023-07-12T22:35:47.902Z] Step 19/26 : COPY --from=builder /app/res/ /res/ [2023-07-12T22:35:48.164Z] ---> ebf1d441c1c2 [2023-07-12T22:35:48.164Z] Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-07-12T22:35:49.124Z] ---> 185f6ad98051 [2023-07-12T22:35:49.124Z] Step 21/26 : EXPOSE 59712 [2023-07-12T22:35:49.124Z] ---> Running in 2709155f5087 [2023-07-12T22:35:49.124Z] Removing intermediate container 2709155f5087 [2023-07-12T22:35:49.124Z] ---> 70d5ae48adb9 [2023-07-12T22:35:49.124Z] Step 22/26 : ENTRYPOINT ["/app-record-replay"] [2023-07-12T22:35:49.124Z] ---> Running in d522fbdf98a0 [2023-07-12T22:35:49.384Z] Removing intermediate container d522fbdf98a0 [2023-07-12T22:35:49.384Z] ---> 1853833315fc [2023-07-12T22:35:49.384Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-12T22:35:49.384Z] ---> Running in f949890de3d3 [2023-07-12T22:35:49.384Z] Removing intermediate container f949890de3d3 [2023-07-12T22:35:49.384Z] ---> 2f4c1274a3b6 [2023-07-12T22:35:49.384Z] Step 24/26 : LABEL arch=amd64 [2023-07-12T22:35:49.384Z] ---> Running in 623557054a06 [2023-07-12T22:35:49.384Z] Removing intermediate container 623557054a06 [2023-07-12T22:35:49.384Z] ---> 1fea69964850 [2023-07-12T22:35:49.384Z] Step 25/26 : LABEL git_sha=6b604d0bca4c9775cf5e025a7f1c70a14cf461f4 [2023-07-12T22:35:49.384Z] ---> Running in bfc3dad06633 [2023-07-12T22:35:49.643Z] Removing intermediate container bfc3dad06633 [2023-07-12T22:35:49.643Z] ---> d1a4155af2a4 [2023-07-12T22:35:49.643Z] Step 26/26 : LABEL version=0.0.0 [2023-07-12T22:35:49.643Z] ---> Running in 6e7e49126dc5 [2023-07-12T22:35:49.643Z] Removing intermediate container 6e7e49126dc5 [2023-07-12T22:35:49.643Z] ---> 1fd4db682a73 [2023-07-12T22:35:49.643Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-12T22:35:49.643Z] Successfully built 1fd4db682a73 [2023-07-12T22:35:49.643Z] Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:35:50.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T22:35:50.524Z] [2023-07-12T22:35:50.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:35:50.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T22:35:50.919Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-12T22:35:50.919Z] 5eb5b503b376: Pulling fs layer [2023-07-12T22:35:50.919Z] 5c69ac0246d0: Pulling fs layer [2023-07-12T22:35:50.919Z] ec43610c2a17: Pulling fs layer [2023-07-12T22:35:50.919Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-12T22:35:50.919Z] 33b1e0a273af: Pulling fs layer [2023-07-12T22:35:50.919Z] 5d3b04190fa2: Pulling fs layer [2023-07-12T22:35:50.919Z] 2f39f015ded8: Pulling fs layer [2023-07-12T22:35:50.919Z] 33b1e0a273af: Waiting [2023-07-12T22:35:50.919Z] 5d3b04190fa2: Waiting [2023-07-12T22:35:50.919Z] 3a2ae6a8a46f: Waiting [2023-07-12T22:35:50.919Z] 2f39f015ded8: Waiting [2023-07-12T22:35:50.919Z] 5c69ac0246d0: Verifying Checksum [2023-07-12T22:35:50.919Z] 5c69ac0246d0: Download complete [2023-07-12T22:35:50.919Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-12T22:35:50.919Z] 3a2ae6a8a46f: Download complete [2023-07-12T22:35:50.919Z] 33b1e0a273af: Verifying Checksum [2023-07-12T22:35:50.919Z] 33b1e0a273af: Download complete [2023-07-12T22:35:50.919Z] 5d3b04190fa2: Verifying Checksum [2023-07-12T22:35:50.919Z] 5d3b04190fa2: Download complete [2023-07-12T22:35:50.919Z] ec43610c2a17: Verifying Checksum [2023-07-12T22:35:50.919Z] ec43610c2a17: Download complete [2023-07-12T22:35:51.178Z] 5eb5b503b376: Verifying Checksum [2023-07-12T22:35:51.178Z] 5eb5b503b376: Download complete [2023-07-12T22:35:51.743Z] 2f39f015ded8: Download complete [2023-07-12T22:35:52.309Z] 5eb5b503b376: Pull complete [2023-07-12T22:35:52.309Z] 5c69ac0246d0: Pull complete [2023-07-12T22:35:52.872Z] ec43610c2a17: Pull complete [2023-07-12T22:35:52.872Z] 3a2ae6a8a46f: Pull complete [2023-07-12T22:35:53.132Z] 33b1e0a273af: Pull complete [2023-07-12T22:35:53.132Z] 5d3b04190fa2: Pull complete [2023-07-12T22:35:57.318Z] 2f39f015ded8: Pull complete [2023-07-12T22:35:57.318Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-12T22:35:57.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T22:35:57.318Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T22:35:57.529Z] prd-ubuntu20.04-docker-8c-8g-990 does not seem to be running inside a container [2023-07-12T22:35:57.563Z] $ 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-40 -v /w/workspace/xfoundry_app-record-replay_PR-40:/w/workspace/xfoundry_app-record-replay_PR-40:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-40@tmp:/w/workspace/xfoundry_app-record-replay_PR-40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-12T22:36:00.370Z] $ docker top b51d11b7e003c17e2962974cd1a1489f21995c26a00ec0f69490afcc6e1d75e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:36:00.817Z] ---> job-cost.sh [2023-07-12T22:36:00.817Z] lf-activate-venv: SKIPPING [2023-07-12T22:36:00.817Z] INFO: No Stack... [2023-07-12T22:36:01.385Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-12T22:36:01.648Z] INFO: Archiving Costs [Pipeline] sh [2023-07-12T22:36:01.969Z] + cat /w/workspace/xfoundry_app-record-replay_PR-40/archives/cost.csv [2023-07-12T22:36:01.969Z] + cut -d, -f6 [Pipeline] lock [2023-07-12T22:36:02.009Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-40-1-stack-cost] [2023-07-12T22:36:02.014Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-40-1-stack-cost] did not exist. Created. [2023-07-12T22:36:02.014Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-40-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-12T22:36:02.401Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-12T22:36:02.453Z] Stashed 1 file(s) [Pipeline] } [2023-07-12T22:36:02.478Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-40-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-12T22:36:02.551Z] $ docker stop --time=1 b51d11b7e003c17e2962974cd1a1489f21995c26a00ec0f69490afcc6e1d75e5 [2023-07-12T22:36:03.702Z] $ docker rm -f --volumes b51d11b7e003c17e2962974cd1a1489f21995c26a00ec0f69490afcc6e1d75e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-12T22:38:00.152Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-991 in /w/workspace/xfoundry_app-record-replay_PR-40 [Pipeline] { [Pipeline] ws [2023-07-12T22:38:00.216Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2023-07-12T22:38:00.300Z] Selected Git installation does not exist. Using Default [2023-07-12T22:38:00.300Z] The recommended git tool is: NONE [2023-07-12T22:38:06.618Z] using credential edgex-jenkins-ssh [2023-07-12T22:38:06.636Z] Cloning the remote Git repository [2023-07-12T22:38:06.692Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-07-12T22:38:06.837Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2023-07-12T22:38:07.006Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-07-12T22:38:07.008Z] > git --version # timeout=10 [2023-07-12T22:38:07.029Z] > git --version # 'git version 2.25.1' [2023-07-12T22:38:07.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-12T22:38:07.219Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-12T22:38:07.809Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-07-12T22:38:07.837Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-12T22:38:08.828Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-07-12T22:38:08.886Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-07-12T22:38:08.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-12T22:38:08.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/40/head:refs/remotes/origin/PR-40 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-12T22:38:09.411Z] Merging remotes/origin/main commit a3df25cb06c99faf73416738ebe3ed6f58d891fa into PR head commit 2c7d034133c4da6a7184d5193f51bffe6ea24aa2 [2023-07-12T22:38:10.665Z] Merge succeeded, producing 5fe963381ed9b15e81b1d4a123003571c876726f [2023-07-12T22:38:10.665Z] Checking out Revision 5fe963381ed9b15e81b1d4a123003571c876726f (PR-40) [2023-07-12T22:38:09.432Z] > git config core.sparsecheckout # timeout=10 [2023-07-12T22:38:09.520Z] > git checkout -f 2c7d034133c4da6a7184d5193f51bffe6ea24aa2 # timeout=10 [2023-07-12T22:38:09.601Z] > git remote # timeout=10 [2023-07-12T22:38:09.622Z] > git config --get remote.origin.url # timeout=10 [2023-07-12T22:38:09.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-12T22:38:09.662Z] > git merge a3df25cb06c99faf73416738ebe3ed6f58d891fa # timeout=10 [2023-07-12T22:38:09.721Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-12T22:38:10.675Z] > git config core.sparsecheckout # timeout=10 [2023-07-12T22:38:10.688Z] > git checkout -f 5fe963381ed9b15e81b1d4a123003571c876726f # timeout=10 [2023-07-12T22:38:14.215Z] Commit message: "Merge commit 'a3df25cb06c99faf73416738ebe3ed6f58d891fa' into HEAD" [2023-07-12T22:38:14.215Z] First time build. Skipping changelog. [2023-07-12T22:38:14.269Z] > git --version # timeout=10 [2023-07-12T22:38:14.280Z] > git --version # 'git version 2.25.1' [2023-07-12T22:38:14.300Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-12T22:38:15.637Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-12T22:38:15.637Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-12T22:38:15.637Z] Dload Upload Total Spent Left Speed [2023-07-12T22:38:15.637Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-07-12T22:38:16.436Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-12T22:38:16.806Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-12T22:38:16.806Z] + sudo tee /etc/docker/daemon.new [2023-07-12T22:38:16.806Z] { [2023-07-12T22:38:16.806Z] "registry-mirrors": [ [2023-07-12T22:38:16.806Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-12T22:38:16.806Z] ], [2023-07-12T22:38:16.806Z] "bip": "10.250.0.254/24", [2023-07-12T22:38:16.806Z] "hosts": [ [2023-07-12T22:38:16.806Z] "tcp://0.0.0.0:5555", [2023-07-12T22:38:16.806Z] "unix:///var/run/docker.sock" [2023-07-12T22:38:16.806Z] ], [2023-07-12T22:38:16.806Z] "mtu": 1458, [2023-07-12T22:38:16.806Z] "selinux-enabled": true, [2023-07-12T22:38:16.806Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-12T22:38:16.806Z] } [Pipeline] sh [2023-07-12T22:38:17.161Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-12T22:38:17.512Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-12T22:38:35.860Z] provisioning config files... [2023-07-12T22:38:35.894Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config1926358548366205065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:38:36.302Z] ---> docker-login.sh [2023-07-12T22:38:36.302Z] nexus3.edgexfoundry.org:10001 [2023-07-12T22:38:36.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:38:37.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:38:37.175Z] Configure a credential helper to remove this warning. See [2023-07-12T22:38:37.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:38:37.175Z] [2023-07-12T22:38:37.175Z] Login Succeeded [2023-07-12T22:38:37.175Z] nexus3.edgexfoundry.org:10002 [2023-07-12T22:38:37.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:38:37.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:38:37.446Z] Configure a credential helper to remove this warning. See [2023-07-12T22:38:37.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:38:37.446Z] [2023-07-12T22:38:37.446Z] Login Succeeded [2023-07-12T22:38:37.446Z] nexus3.edgexfoundry.org:10003 [2023-07-12T22:38:37.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:38:37.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:38:37.718Z] Configure a credential helper to remove this warning. See [2023-07-12T22:38:37.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:38:37.718Z] [2023-07-12T22:38:37.718Z] Login Succeeded [2023-07-12T22:38:37.718Z] nexus3.edgexfoundry.org:10004 [2023-07-12T22:38:37.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:38:38.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:38:38.266Z] Configure a credential helper to remove this warning. See [2023-07-12T22:38:38.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:38:38.266Z] [2023-07-12T22:38:38.266Z] Login Succeeded [2023-07-12T22:38:38.266Z] docker.io [2023-07-12T22:38:38.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T22:38:38.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T22:38:38.812Z] Configure a credential helper to remove this warning. See [2023-07-12T22:38:38.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T22:38:38.812Z] [2023-07-12T22:38:38.812Z] Login Succeeded [2023-07-12T22:38:38.812Z] ---> docker-login.sh ends [Pipeline] } [2023-07-12T22:38:38.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-12T22:38:39.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T22:38:39.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T22:38:39.324Z] ========================================================= [2023-07-12T22:38:39.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-12T22:38:39.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:38:39.827Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-12T22:38:39.827Z] Sending build context to Docker daemon 156.2kB [2023-07-12T22:38:40.099Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-12T22:38:40.099Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-12T22:38:40.372Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-12T22:38:40.372Z] edb6bdbacee9: Pulling fs layer [2023-07-12T22:38:40.372Z] 5f9638ab2659: Pulling fs layer [2023-07-12T22:38:40.372Z] 8d51d6327a98: Pulling fs layer [2023-07-12T22:38:40.372Z] 8b374f2dd631: Pulling fs layer [2023-07-12T22:38:40.372Z] ec14aa9079de: Pulling fs layer [2023-07-12T22:38:40.372Z] 2f466654f4bb: Pulling fs layer [2023-07-12T22:38:40.372Z] 554e91adad29: Pulling fs layer [2023-07-12T22:38:40.372Z] 8b374f2dd631: Waiting [2023-07-12T22:38:40.372Z] ec14aa9079de: Waiting [2023-07-12T22:38:40.372Z] 2f466654f4bb: Waiting [2023-07-12T22:38:40.372Z] 554e91adad29: Waiting [2023-07-12T22:38:40.372Z] 5f9638ab2659: Verifying Checksum [2023-07-12T22:38:40.372Z] 5f9638ab2659: Download complete [2023-07-12T22:38:40.372Z] 8b374f2dd631: Verifying Checksum [2023-07-12T22:38:40.372Z] 8b374f2dd631: Download complete [2023-07-12T22:38:40.372Z] ec14aa9079de: Verifying Checksum [2023-07-12T22:38:40.372Z] ec14aa9079de: Download complete [2023-07-12T22:38:40.372Z] edb6bdbacee9: Verifying Checksum [2023-07-12T22:38:41.354Z] edb6bdbacee9: Pull complete [2023-07-12T22:38:41.958Z] 554e91adad29: Verifying Checksum [2023-07-12T22:38:41.958Z] 554e91adad29: Download complete [2023-07-12T22:38:41.958Z] 5f9638ab2659: Pull complete [2023-07-12T22:38:42.942Z] 8d51d6327a98: Verifying Checksum [2023-07-12T22:38:42.942Z] 8d51d6327a98: Download complete [2023-07-12T22:38:42.942Z] 2f466654f4bb: Verifying Checksum [2023-07-12T22:38:42.942Z] 2f466654f4bb: Download complete [2023-07-12T22:38:55.285Z] 8d51d6327a98: Pull complete [2023-07-12T22:38:55.285Z] 8b374f2dd631: Pull complete [2023-07-12T22:38:55.285Z] ec14aa9079de: Pull complete [2023-07-12T22:39:01.955Z] 2f466654f4bb: Pull complete [2023-07-12T22:39:05.316Z] 554e91adad29: Pull complete [2023-07-12T22:39:05.588Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-12T22:39:05.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-12T22:39:05.588Z] ---> 1e15ea492957 [2023-07-12T22:39:05.588Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-07-12T22:39:07.552Z] ---> Running in bb0a7743ac63 [2023-07-12T22:39:07.552Z] Removing intermediate container bb0a7743ac63 [2023-07-12T22:39:07.552Z] ---> 1c22df1b058c [2023-07-12T22:39:07.552Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-12T22:39:07.822Z] ---> Running in ceafa1319773 [2023-07-12T22:39:08.091Z] Removing intermediate container ceafa1319773 [2023-07-12T22:39:08.091Z] ---> 91971a35bae5 [2023-07-12T22:39:08.091Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-12T22:39:08.091Z] ---> Running in 4c2cc899399e [2023-07-12T22:39:08.360Z] Removing intermediate container 4c2cc899399e [2023-07-12T22:39:08.360Z] ---> f690f4eb34f1 [2023-07-12T22:39:08.360Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-12T22:39:08.632Z] ---> Running in 658e353ffa16 [2023-07-12T22:39:10.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-12T22:39:10.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-12T22:39:11.607Z] OK: 263 MiB in 53 packages [2023-07-12T22:39:12.577Z] Removing intermediate container 658e353ffa16 [2023-07-12T22:39:12.577Z] ---> cbb3d0af390b [2023-07-12T22:39:12.577Z] Step 7/12 : WORKDIR /app [2023-07-12T22:39:12.847Z] ---> Running in 0c2ac032a9d0 [2023-07-12T22:39:13.117Z] Removing intermediate container 0c2ac032a9d0 [2023-07-12T22:39:13.117Z] ---> db699a383b48 [2023-07-12T22:39:13.117Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-12T22:39:13.704Z] ---> 61482071c5dd [2023-07-12T22:39:13.704Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-12T22:39:13.704Z] ---> Running in 37f3ca1616f2 [2023-07-12T22:40:21.646Z] Removing intermediate container 37f3ca1616f2 [2023-07-12T22:40:21.646Z] ---> 630fcd51a0ec [2023-07-12T22:40:21.646Z] Step 10/12 : COPY . . [2023-07-12T22:40:21.646Z] ---> 6da458ccd6a8 [2023-07-12T22:40:21.646Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-12T22:40:21.646Z] ---> Running in 48210a1e19d6 [2023-07-12T22:40:21.646Z] Removing intermediate container 48210a1e19d6 [2023-07-12T22:40:21.646Z] ---> c06c3252f8e1 [2023-07-12T22:40:21.646Z] Step 12/12 : RUN $MAKE [2023-07-12T22:40:21.646Z] ---> Running in 3556977097fd [2023-07-12T22:40:22.614Z] noop [2023-07-12T22:40:23.205Z] Removing intermediate container 3556977097fd [2023-07-12T22:40:23.205Z] ---> b24b0b77616d [2023-07-12T22:40:23.205Z] Successfully built b24b0b77616d [2023-07-12T22:40:23.205Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:40:23.666Z] + docker inspect -f . ci-base-image-arm64 [2023-07-12T22:40:23.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T22:40:23.950Z] prd-ubuntu20.04-docker-arm64-4c-16g-991 does not seem to be running inside a container [2023-07-12T22:40:24.027Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-07-12T22:40:26.982Z] $ docker top a95267ebc816bc3d43db705277c58e238790ce89177ef224f709476863881857 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T22:40:27.878Z] + go version [2023-07-12T22:40:27.878Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-12T22:40:27.919Z] $ docker stop --time=1 a95267ebc816bc3d43db705277c58e238790ce89177ef224f709476863881857 [2023-07-12T22:40:29.582Z] $ docker rm -f --volumes a95267ebc816bc3d43db705277c58e238790ce89177ef224f709476863881857 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:40:30.457Z] + docker inspect -f . ci-base-image-arm64 [2023-07-12T22:40:30.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T22:40:30.752Z] prd-ubuntu20.04-docker-arm64-4c-16g-991 does not seem to be running inside a container [2023-07-12T22:40:30.829Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-07-12T22:40:32.108Z] $ docker top 30f0b0235a8113fbb1ce5c630897bde51b57610f1d7f737e4d2999ef0e94e6ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T22:40:32.987Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2023-07-12T22:40:33.370Z] + make test [2023-07-12T22:40:33.370Z] go test -race -coverprofile=coverage.out ./... [2023-07-12T22:43:55.188Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-07-12T22:44:05.274Z] ok github.com/edgexfoundry/app-record-replay/internal/app 0.272s coverage: 87.5% of statements [2023-07-12T22:44:05.274Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 0.361s coverage: 92.9% of statements [2023-07-12T22:44:08.621Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-07-12T22:44:08.621Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-07-12T22:44:08.621Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-07-12T22:44:08.891Z] ok github.com/edgexfoundry/app-record-replay/internal/data 0.232s coverage: 65.2% of statements [2023-07-12T22:44:09.854Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-12T22:44:09.854Z] go vet ./... [2023-07-12T22:46:49.286Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-12T22:46:49.286Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-12T22:46:49.286Z] ./bin/test-attribution-txt.sh [2023-07-12T22:46:49.286Z] An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add [2023-07-12T22:46:49.286Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2023-07-12T22:46:49.286Z] An attribution for golang.org/x/exp is missing from Attribution.txt, please add [Pipeline] echo [2023-07-12T22:46:49.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-12T22:46:49.366Z] $ docker stop --time=1 30f0b0235a8113fbb1ce5c630897bde51b57610f1d7f737e4d2999ef0e94e6ff [2023-07-12T22:46:51.868Z] $ docker rm -f --volumes 30f0b0235a8113fbb1ce5c630897bde51b57610f1d7f737e4d2999ef0e94e6ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-12T22:46:54.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-12T22:46:54.721Z] Warning: overwriting stash ‘coverage-report’ [2023-07-12T22:46:55.151Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-12T22:46:55.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-12T22:46:56.079Z] + ls -al . [2023-07-12T22:46:56.079Z] total 160 [2023-07-12T22:46:56.079Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:40 . [2023-07-12T22:46:56.079Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 22:38 .. [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 119 Jul 12 22:38 .dockerignore [2023-07-12T22:46:56.079Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 22:38 .git [2023-07-12T22:46:56.079Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:38 .github [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 164 Jul 12 22:38 .gitignore [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 22:38 .golangci.yml [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 10245 Jul 12 22:38 Attribution.txt [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 258 Jul 12 22:38 CHANGELOG.md [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 1616 Jul 12 22:38 Dockerfile [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 22:38 GOVERNANCE.md [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 681 Jul 12 22:38 Jenkinsfile [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 22:38 LICENSE [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jul 12 22:38 Makefile [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 611 Jul 12 22:38 OWNERS.md [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 2363 Jul 12 22:38 README.md [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 4285 Jul 12 22:38 Record and Reply.postman_collection.json [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 22:33 VERSION [2023-07-12T22:46:56.079Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:38 bin [2023-07-12T22:46:56.079Z] -rw-r--r-- 1 jenkins jenkins 7172 Jul 12 22:44 coverage.out [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 3678 Jul 12 22:38 go.mod [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 32843 Jul 12 22:38 go.sum [2023-07-12T22:46:56.079Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 22:38 internal [2023-07-12T22:46:56.079Z] -rw-rw-r-- 1 jenkins jenkins 913 Jul 12 22:38 main.go [2023-07-12T22:46:56.079Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 22:38 pkg [2023-07-12T22:46:56.079Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 22:38 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:46:56.505Z] + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5fe963381ed9b15e81b1d4a123003571c876726f --label arch=arm64 --label version=0.0.0 . [2023-07-12T22:46:56.505Z] Sending build context to Docker daemon 164.4kB [2023-07-12T22:46:56.773Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-07-12T22:46:56.773Z] Step 2/26 : FROM ${BASE} AS builder [2023-07-12T22:46:56.773Z] ---> b24b0b77616d [2023-07-12T22:46:56.773Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git" [2023-07-12T22:46:56.773Z] ---> Running in 2e6fc9bd4a11 [2023-07-12T22:46:57.041Z] Removing intermediate container 2e6fc9bd4a11 [2023-07-12T22:46:57.041Z] ---> 20a032377415 [2023-07-12T22:46:57.041Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-07-12T22:46:57.308Z] ---> Running in 4099c0bd85c5 [2023-07-12T22:46:57.575Z] Removing intermediate container 4099c0bd85c5 [2023-07-12T22:46:57.575Z] ---> 0ccced442a3b [2023-07-12T22:46:57.575Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-07-12T22:46:57.575Z] ---> Running in fae858bba375 [2023-07-12T22:46:57.845Z] Removing intermediate container fae858bba375 [2023-07-12T22:46:57.845Z] ---> d3fdd78f8fec [2023-07-12T22:46:57.845Z] Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-12T22:46:57.845Z] ---> Running in 0c3f3c28e70c [2023-07-12T22:46:59.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-12T22:46:59.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-12T22:47:00.944Z] OK: 263 MiB in 53 packages [2023-07-12T22:47:01.531Z] Removing intermediate container 0c3f3c28e70c [2023-07-12T22:47:01.531Z] ---> d358e2cb5c25 [2023-07-12T22:47:01.531Z] Step 7/26 : WORKDIR /app [2023-07-12T22:47:01.531Z] ---> Running in 227aa765bf84 [2023-07-12T22:47:01.798Z] Removing intermediate container 227aa765bf84 [2023-07-12T22:47:01.798Z] ---> b440087c26e2 [2023-07-12T22:47:01.798Z] Step 8/26 : COPY go.mod vendor* ./ [2023-07-12T22:47:02.382Z] ---> 54b42373b955 [2023-07-12T22:47:02.382Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-12T22:47:02.382Z] ---> Running in bf855ecfcf92 [2023-07-12T22:47:04.968Z] Removing intermediate container bf855ecfcf92 [2023-07-12T22:47:04.968Z] ---> d7d9b34e7737 [2023-07-12T22:47:04.968Z] Step 10/26 : COPY . . [2023-07-12T22:47:05.238Z] ---> cc7d92c8847b [2023-07-12T22:47:05.238Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-12T22:47:05.507Z] ---> Running in f6a4b3194614 [2023-07-12T22:47:05.774Z] Removing intermediate container f6a4b3194614 [2023-07-12T22:47:05.774Z] ---> 6da7373324c3 [2023-07-12T22:47:05.774Z] Step 12/26 : RUN $MAKE [2023-07-12T22:47:05.774Z] ---> Running in 1a1fe4a3eef0 [2023-07-12T22:47:06.736Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-07-12T22:49:43.621Z] Removing intermediate container 1a1fe4a3eef0 [2023-07-12T22:49:43.621Z] ---> 3ec38f411cc0 [2023-07-12T22:49:43.621Z] Step 13/26 : FROM alpine:3.17 [2023-07-12T22:49:43.621Z] 3.17: Pulling from library/alpine [2023-07-12T22:49:43.621Z] edb6bdbacee9: Already exists [2023-07-12T22:49:43.621Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-12T22:49:43.621Z] Status: Downloaded newer image for alpine:3.17 [2023-07-12T22:49:43.621Z] ---> 779605e5fbc0 [2023-07-12T22:49:43.621Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-12T22:49:43.621Z] ---> Running in e941c9eb46e9 [2023-07-12T22:49:43.621Z] Removing intermediate container e941c9eb46e9 [2023-07-12T22:49:43.621Z] ---> 41a18ce4082c [2023-07-12T22:49:43.621Z] Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} [2023-07-12T22:49:43.621Z] ---> Running in 2efa14e0f52b [2023-07-12T22:49:43.621Z] Removing intermediate container 2efa14e0f52b [2023-07-12T22:49:43.621Z] ---> acb816e3c505 [2023-07-12T22:49:43.621Z] Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-07-12T22:49:43.621Z] ---> Running in 416ff48cc918 [2023-07-12T22:49:43.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-12T22:49:43.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-12T22:49:43.621Z] (1/2) Installing ca-certificates (20230506-r0) [2023-07-12T22:49:43.621Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-07-12T22:49:43.621Z] Executing busybox-1.35.0-r29.trigger [2023-07-12T22:49:43.621Z] Executing ca-certificates-20230506-r0.trigger [2023-07-12T22:49:43.621Z] OK: 8 MiB in 17 packages [2023-07-12T22:49:43.621Z] Removing intermediate container 416ff48cc918 [2023-07-12T22:49:43.621Z] ---> c6d503dabdd7 [2023-07-12T22:49:43.621Z] Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-07-12T22:49:43.621Z] ---> 9a70b705fa05 [2023-07-12T22:49:43.621Z] Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE [2023-07-12T22:49:43.621Z] ---> 3f6f3d7db47d [2023-07-12T22:49:43.621Z] Step 19/26 : COPY --from=builder /app/res/ /res/ [2023-07-12T22:49:43.621Z] ---> 06653f9829d6 [2023-07-12T22:49:43.621Z] Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-07-12T22:49:43.621Z] ---> 75e19636d885 [2023-07-12T22:49:43.621Z] Step 21/26 : EXPOSE 59712 [2023-07-12T22:49:43.621Z] ---> Running in 51be366e7fd4 [2023-07-12T22:49:43.621Z] Removing intermediate container 51be366e7fd4 [2023-07-12T22:49:43.621Z] ---> c10d899278c9 [2023-07-12T22:49:43.621Z] Step 22/26 : ENTRYPOINT ["/app-record-replay"] [2023-07-12T22:49:43.621Z] ---> Running in 1bc6751e3409 [2023-07-12T22:49:43.621Z] Removing intermediate container 1bc6751e3409 [2023-07-12T22:49:43.621Z] ---> c4417d7ea6e0 [2023-07-12T22:49:43.621Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-12T22:49:43.621Z] ---> Running in 170e9cf57ee0 [2023-07-12T22:49:43.621Z] Removing intermediate container 170e9cf57ee0 [2023-07-12T22:49:43.621Z] ---> 20c2641f6185 [2023-07-12T22:49:43.621Z] Step 24/26 : LABEL arch=arm64 [2023-07-12T22:49:43.621Z] ---> Running in 994db681b876 [2023-07-12T22:49:43.621Z] Removing intermediate container 994db681b876 [2023-07-12T22:49:43.621Z] ---> 396c5c2d901d [2023-07-12T22:49:43.621Z] Step 25/26 : LABEL git_sha=5fe963381ed9b15e81b1d4a123003571c876726f [2023-07-12T22:49:43.621Z] ---> Running in 8487c732162e [2023-07-12T22:49:43.621Z] Removing intermediate container 8487c732162e [2023-07-12T22:49:43.621Z] ---> 90828db62dd9 [2023-07-12T22:49:43.621Z] Step 26/26 : LABEL version=0.0.0 [2023-07-12T22:49:43.621Z] ---> Running in 92dfed2ca817 [2023-07-12T22:49:43.621Z] Removing intermediate container 92dfed2ca817 [2023-07-12T22:49:43.621Z] ---> 0b082ef3c928 [2023-07-12T22:49:43.621Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-12T22:49:43.621Z] Successfully built 0b082ef3c928 [2023-07-12T22:49:43.621Z] Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:49:44.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-12T22:49:44.420Z] [2023-07-12T22:49:44.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:49:44.813Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-12T22:49:44.814Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-12T22:49:44.814Z] 8998bd30e6a1: Pulling fs layer [2023-07-12T22:49:44.814Z] 04944245beec: Pulling fs layer [2023-07-12T22:49:44.814Z] 699f458cf7ca: Pulling fs layer [2023-07-12T22:49:44.814Z] 765212b225bb: Pulling fs layer [2023-07-12T22:49:44.814Z] f23df028b6ca: Pulling fs layer [2023-07-12T22:49:44.814Z] d65c8cfc05b1: Pulling fs layer [2023-07-12T22:49:44.814Z] 2437ff75d9bd: Pulling fs layer [2023-07-12T22:49:44.814Z] 765212b225bb: Waiting [2023-07-12T22:49:44.814Z] f23df028b6ca: Waiting [2023-07-12T22:49:44.814Z] d65c8cfc05b1: Waiting [2023-07-12T22:49:44.814Z] 2437ff75d9bd: Waiting [2023-07-12T22:49:45.082Z] 04944245beec: Verifying Checksum [2023-07-12T22:49:45.082Z] 04944245beec: Download complete [2023-07-12T22:49:45.082Z] 765212b225bb: Verifying Checksum [2023-07-12T22:49:45.082Z] 765212b225bb: Download complete [2023-07-12T22:49:45.082Z] f23df028b6ca: Verifying Checksum [2023-07-12T22:49:45.082Z] f23df028b6ca: Download complete [2023-07-12T22:49:45.082Z] d65c8cfc05b1: Verifying Checksum [2023-07-12T22:49:45.082Z] d65c8cfc05b1: Download complete [2023-07-12T22:49:45.082Z] 699f458cf7ca: Verifying Checksum [2023-07-12T22:49:45.082Z] 699f458cf7ca: Download complete [2023-07-12T22:49:45.664Z] 8998bd30e6a1: Verifying Checksum [2023-07-12T22:49:45.664Z] 8998bd30e6a1: Download complete [2023-07-12T22:49:47.604Z] 2437ff75d9bd: Verifying Checksum [2023-07-12T22:49:47.604Z] 2437ff75d9bd: Download complete [2023-07-12T22:49:49.545Z] 8998bd30e6a1: Pull complete [2023-07-12T22:49:49.837Z] 04944245beec: Pull complete [2023-07-12T22:49:51.248Z] 699f458cf7ca: Pull complete [2023-07-12T22:49:51.515Z] 765212b225bb: Pull complete [2023-07-12T22:49:55.762Z] f23df028b6ca: Pull complete [2023-07-12T22:49:56.029Z] d65c8cfc05b1: Pull complete [2023-07-12T22:50:11.680Z] 2437ff75d9bd: Pull complete [2023-07-12T22:50:11.680Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-12T22:50:11.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-12T22:50:11.680Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T22:50:12.012Z] prd-ubuntu20.04-docker-arm64-4c-16g-991 does not seem to be running inside a container [2023-07-12T22:50:12.094Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-12T22:50:14.711Z] $ docker top 04f1848b6e5d8dc7d3f2d92ad9d7be787f9272cecbce17783425ebd6fcd9ed4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:50:15.282Z] ---> job-cost.sh [2023-07-12T22:50:15.548Z] lf-activate-venv: SKIPPING [2023-07-12T22:50:15.548Z] INFO: No Stack... [2023-07-12T22:50:16.131Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-12T22:50:17.087Z] INFO: Archiving Costs [Pipeline] sh [2023-07-12T22:50:17.745Z] + cut -d, -f6 [2023-07-12T22:50:17.745Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock [2023-07-12T22:50:17.831Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-40-1-stack-cost] [2023-07-12T22:50:17.835Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-40-1-stack-cost] did not exist. Created. [2023-07-12T22:50:17.836Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-40-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-12T22:50:18.555Z] /w/workspace/app-record-replay/1@tmp/durable-25898515/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-12T22:50:18.907Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-12T22:50:18.952Z] Warning: overwriting stash ‘stack-cost’ [2023-07-12T22:50:18.996Z] Stashed 1 file(s) [Pipeline] } [2023-07-12T22:50:19.009Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-40-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-12T22:50:19.099Z] $ docker stop --time=1 04f1848b6e5d8dc7d3f2d92ad9d7be787f9272cecbce17783425ebd6fcd9ed4e [2023-07-12T22:50:21.705Z] $ docker rm -f --volumes 04f1848b6e5d8dc7d3f2d92ad9d7be787f9272cecbce17783425ebd6fcd9ed4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-07-12T22:50:22.731Z] provisioning config files... [2023-07-12T22:50:22.737Z] Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-40 #1 [2023-07-12T22:50:22.738Z] copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-40@tmp/config16113696873547339915tmp [Pipeline] { [Pipeline] sh [2023-07-12T22:50:23.071Z] + set +x [2023-07-12T22:50:23.071Z] + curl -s https://codecov.io/bash [2023-07-12T22:50:23.071Z] + bash -s -- [2023-07-12T22:50:23.071Z] [2023-07-12T22:50:23.071Z] _____ _ [2023-07-12T22:50:23.071Z] / ____| | | [2023-07-12T22:50:23.071Z] | | ___ __| | ___ ___ _____ __ [2023-07-12T22:50:23.071Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-12T22:50:23.071Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-12T22:50:23.071Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-12T22:50:23.071Z] Bash-1.0.6 [2023-07-12T22:50:23.071Z] [2023-07-12T22:50:23.071Z] [2023-07-12T22:50:23.071Z] ==> git version 2.25.1 found [2023-07-12T22:50:23.071Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-07-12T22:50:23.071Z] Release-Date: 2020-01-08 [2023-07-12T22:50:23.071Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-12T22:50:23.071Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-12T22:50:23.071Z] ==> Jenkins CI detected. [2023-07-12T22:50:23.071Z] current dir:  /w/workspace/xfoundry_app-record-replay_PR-40 [2023-07-12T22:50:23.071Z] project root: . [2023-07-12T22:50:23.071Z] --> token set from env [2023-07-12T22:50:23.071Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-12T22:50:23.071Z] ==> Running gcov in . (disable via -X gcov) [2023-07-12T22:50:23.071Z] ==> Python coveragepy not found [2023-07-12T22:50:23.071Z] ==> Searching for coverage reports in: [2023-07-12T22:50:23.071Z] + . [2023-07-12T22:50:23.071Z] -> Found 1 reports [2023-07-12T22:50:23.071Z] ==> Detecting git/mercurial file structure [2023-07-12T22:50:23.071Z] ==> Reading reports [2023-07-12T22:50:23.330Z] + ./coverage.out bytes=7172 [2023-07-12T22:50:23.330Z] ==> Appending adjustments [2023-07-12T22:50:23.330Z] https://docs.codecov.io/docs/fixing-reports [2023-07-12T22:50:23.330Z] + Found adjustments [2023-07-12T22:50:23.330Z] ==> Gzipping contents [2023-07-12T22:50:23.330Z] 4.0K /tmp/codecov.9vN7tJ.gz [2023-07-12T22:50:23.330Z] ==> Uploading reports [2023-07-12T22:50:23.330Z] url: https://codecov.io [2023-07-12T22:50:23.330Z] query: branch=PR-40&commit=6b604d0bca4c9775cf5e025a7f1c70a14cf461f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-40%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=40&job=&cmd_args= [2023-07-12T22:50:23.330Z] -> Pinging Codecov [2023-07-12T22:50:23.330Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-40&commit=6b604d0bca4c9775cf5e025a7f1c70a14cf461f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-40%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=40&job=&cmd_args= [2023-07-12T22:50:55.419Z]  [2023-07-12T22:50:55.419Z] [2023-07-12T22:50:55.419Z] [2023-07-12T22:50:55.419Z] 502 Server Error [2023-07-12T22:50:55.419Z] [2023-07-12T22:50:55.419Z] [2023-07-12T22:50:55.419Z]

Error: Server Error

[2023-07-12T22:50:55.419Z]

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

[2023-07-12T22:50:55.419Z]

[2023-07-12T22:50:55.419Z] [2023-07-12T22:50:55.419Z] Invalid request parameters [2023-07-12T22:50:55.419Z] 400 [Pipeline] } [2023-07-12T22:50:55.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-12T22:50:57.120Z] + [ -d /w/workspace/xfoundry_app-record-replay_PR-40/archives ] [2023-07-12T22:50:57.120Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-40/archives [2023-07-12T22:50:57.120Z] total 16 [2023-07-12T22:50:57.120Z] drwxr-xr-x 3 root root 4096 Jul 12 22:36 . [2023-07-12T22:50:57.120Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 22:36 .. [2023-07-12T22:50:57.120Z] drwxr-xr-x 2 root root 4096 Jul 12 22:36 cost [2023-07-12T22:50:57.120Z] -rw-r--r-- 1 root root 88 Jul 12 22:36 cost.csv [2023-07-12T22:50:57.120Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-40/archives [2023-07-12T22:50:57.120Z] + ls -al /w/workspace/xfoundry_app-record-replay_PR-40/archives [2023-07-12T22:50:57.120Z] total 16 [2023-07-12T22:50:57.120Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 22:36 . [2023-07-12T22:50:57.120Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 22:36 .. [2023-07-12T22:50:57.120Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 22:36 cost [2023-07-12T22:50:57.120Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 12 22:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:50:57.460Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:50:58.351Z] ---> package-listing.sh [2023-07-12T22:50:58.351Z] ++ facter osfamily [2023-07-12T22:50:58.351Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-12T22:50:58.611Z] + OS_FAMILY=debian [2023-07-12T22:50:58.611Z] + workspace=/w/workspace/xfoundry_app-record-replay_PR-40 [2023-07-12T22:50:58.611Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-12T22:50:58.611Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-12T22:50:58.611Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-12T22:50:58.611Z] + PACKAGES=/tmp/packages_start.txt [2023-07-12T22:50:58.611Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-40 ']' [2023-07-12T22:50:58.611Z] + PACKAGES=/tmp/packages_end.txt [2023-07-12T22:50:58.611Z] + case "${OS_FAMILY}" in [2023-07-12T22:50:58.611Z] + dpkg -l [2023-07-12T22:50:58.611Z] + grep '^ii' [2023-07-12T22:50:58.611Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-12T22:50:58.611Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-12T22:50:58.611Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-12T22:50:58.611Z] + '[' /w/workspace/xfoundry_app-record-replay_PR-40 ']' [2023-07-12T22:50:58.611Z] + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-40/archives/ [2023-07-12T22:50:58.611Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-40/archives/ [Pipeline] echo [2023-07-12T22:50:58.644Z] 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-40/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-12T22:50:58.945Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T22:50:59.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T22:50:59.568Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T22:50:59.715Z] prd-ubuntu20.04-docker-8c-8g-990 does not seem to be running inside a container [2023-07-12T22:50:59.748Z] $ 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-40/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-40 -v /w/workspace/xfoundry_app-record-replay_PR-40:/w/workspace/xfoundry_app-record-replay_PR-40:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-40@tmp:/w/workspace/xfoundry_app-record-replay_PR-40@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-07-12T22:50:59.927Z] $ docker top c194a8f16a5994a38c83c912c53aecada37709df8c89cbe3a65a50938377b0f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T22:51:00.320Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-12T22:51:00.625Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-12T22:51:00.941Z] + ls /var/log/sa-host [2023-07-12T22:51:00.941Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-12T22:51:01.127Z] provisioning config files... [2023-07-12T22:51:01.136Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-40@tmp/config13019499389753003895tmp [Pipeline] { [Pipeline] echo [2023-07-12T22:51:01.192Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:51:01.507Z] ---> create-netrc.sh [Pipeline] } [2023-07-12T22:51:01.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:51:01.939Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-12T22:51:01.971Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:51:02.276Z] ---> sudo-logs.sh [2023-07-12T22:51:02.276Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-12T22:51:02.361Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:51:02.669Z] ---> job-cost.sh [2023-07-12T22:51:02.669Z] lf-activate-venv: SKIPPING [2023-07-12T22:51:02.669Z] DEBUG: total: 0.2199999988079071 [2023-07-12T22:51:02.669Z] INFO: Retrieving Stack Cost... [2023-07-12T22:51:02.931Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-12T22:51:03.498Z] INFO: Archiving Costs [Pipeline] echo [2023-07-12T22:51:03.533Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T22:51:03.836Z] ---> logs-deploy.sh [2023-07-12T22:51:03.837Z] lf-activate-venv: SKIPPING [2023-07-12T22:51:03.837Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-40/1 [2023-07-12T22:51:03.837Z] INFO: archiving workspace using pattern(s): [2023-07-12T22:51:04.770Z] Archives upload complete. [2023-07-12T22:51:04.771Z] INFO: archiving logs to Nexus