Pull request #4 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd+9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee (32cea9590164dfed377add03f9c301ebffe46a66) 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-ssh6583976406640457297.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-ssh4964567818008528063.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-4/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-4/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5696742109435344782.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13232465627338144947.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-4/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-4/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14791889683423481120.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-18937’ is offline Running on prd-ubuntu20.04-docker-8c-8g-18939 in /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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/exfoundry_app-record-replay_PR-4 # 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 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee into PR head commit 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd Merge succeeded, producing 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd Checking out Revision 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd (PR-4) > 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/4/head:refs/remotes/origin/PR-4 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd # 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 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd # timeout=10 Commit message: "feat: Implement dummy main to test Ci pipeline and docker builds" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:37:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:37:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:37:29 ========================================================= 22:37:29 EdgeX Global Pipelines Version Info 22:37:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 26debe03fd4fe77745388753d03fa500687a9009 # timeout=10 22:37:29 ------------------- 22:37:29 stable info: 22:37:29 ------------------- 22:37:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:37:29 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:37:29 Message: update stable to v1.0.250 22:37:30 ------------------- 22:37:30 experimental info: 22:37:30 ------------------- 22:37:30 Commited By: **** collab-it+edgex@linuxfoundation.org 22:37:30 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:37:30 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:37:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:37:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:37:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:37:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-4 [Pipeline] echo 22:37:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-4 [Pipeline] echo 22:37:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-4 [Pipeline] echo 22:37:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd [Pipeline] echo 22:37:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05db699 [Pipeline] echo 22:37:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:37:31 provisioning config files... 22:37:31 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config12305246357443527852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:31 ---> docker-login.sh 22:37:31 nexus3.edgexfoundry.org:10001 22:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:31 Configure a credential helper to remove this warning. See 22:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:31 22:37:31 Login Succeeded 22:37:31 nexus3.edgexfoundry.org:10002 22:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:32 Configure a credential helper to remove this warning. See 22:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:32 22:37:32 Login Succeeded 22:37:32 nexus3.edgexfoundry.org:10003 22:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:32 Configure a credential helper to remove this warning. See 22:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:32 22:37:32 Login Succeeded 22:37:32 nexus3.edgexfoundry.org:10004 22:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:32 Configure a credential helper to remove this warning. See 22:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:32 22:37:32 Login Succeeded 22:37:32 docker.io 22:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:32 Configure a credential helper to remove this warning. See 22:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:32 22:37:32 Login Succeeded 22:37:32 ---> docker-login.sh ends [Pipeline] } 22:37:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:37:32 + git rev-list -1 --merges 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd~1..05db6991b2dbb3f008c1f25ed1ba302f9cb680cd [Pipeline] echo 22:37:32 -----------> git rev-list -1 --merges 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd~1..05db6991b2dbb3f008c1f25ed1ba302f9cb680cd 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd [false] [Pipeline] sh 22:37:33 + git log --format=format:%s -1 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd [Pipeline] echo 22:37:33 ========================================================= 22:37:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:37:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:33 + git log --format=format:%s -1 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd [Pipeline] echo 22:37:33 [semverPrep] GIT_COMMIT: 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd, Commit Message: feat: Implement dummy main to test Ci pipeline and docker builds [Pipeline] echo 22:37:33 [semverPrep] This is not a build commit. [Pipeline] sh 22:37:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:37:33 + grep -v github /etc/ssh/ssh_known_hosts 22:37:33 + [ -e /tmp/ssh_known_hosts ] 22:37:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:37:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:37:33 + sudo tee -a /etc/ssh/ssh_known_hosts 22:37:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:37:34 22:37:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:37:34 0.1.4: Pulling from edgex-devops/py-git-semver 22:37:34 b85a868b505f: Pulling fs layer 22:37:34 e2be974225ed: Pulling fs layer 22:37:34 339a4e72a1f5: Pulling fs layer 22:37:34 988bab9f4d93: Pulling fs layer 22:37:34 1469e6f7b9e6: Pulling fs layer 22:37:34 eaf3925da568: Pulling fs layer 22:37:34 bab4dde63d76: Pulling fs layer 22:37:34 bde34c3a00c8: Pulling fs layer 22:37:34 b352a97aabf1: Pulling fs layer 22:37:34 4872d77fe225: Pulling fs layer 22:37:34 5851b861e8e6: Pulling fs layer 22:37:34 988bab9f4d93: Waiting 22:37:34 1469e6f7b9e6: Waiting 22:37:34 eaf3925da568: Waiting 22:37:34 bab4dde63d76: Waiting 22:37:34 bde34c3a00c8: Waiting 22:37:34 b352a97aabf1: Waiting 22:37:34 4872d77fe225: Waiting 22:37:34 5851b861e8e6: Waiting 22:37:35 e2be974225ed: Download complete 22:37:35 988bab9f4d93: Verifying Checksum 22:37:35 988bab9f4d93: Download complete 22:37:35 1469e6f7b9e6: Verifying Checksum 22:37:35 1469e6f7b9e6: Download complete 22:37:35 eaf3925da568: Download complete 22:37:35 339a4e72a1f5: Verifying Checksum 22:37:35 339a4e72a1f5: Download complete 22:37:35 bde34c3a00c8: Verifying Checksum 22:37:35 bde34c3a00c8: Download complete 22:37:35 b352a97aabf1: Download complete 22:37:35 4872d77fe225: Verifying Checksum 22:37:35 5851b861e8e6: Download complete 22:37:35 b85a868b505f: Verifying Checksum 22:37:35 b85a868b505f: Download complete 22:37:35 bab4dde63d76: Verifying Checksum 22:37:35 bab4dde63d76: Download complete 22:37:36 b85a868b505f: Pull complete 22:37:36 e2be974225ed: Pull complete 22:37:36 339a4e72a1f5: Pull complete 22:37:37 988bab9f4d93: Pull complete 22:37:37 1469e6f7b9e6: Pull complete 22:37:37 eaf3925da568: Pull complete 22:37:39 bab4dde63d76: Pull complete 22:37:39 bde34c3a00c8: Pull complete 22:37:39 b352a97aabf1: Pull complete 22:37:39 4872d77fe225: Pull complete 22:37:39 5851b861e8e6: Pull complete 22:37:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:37:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:37:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:39 prd-ubuntu20.04-docker-8c-8g-18939 does not seem to be running inside a container 22:37:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:37:43 $ docker top d38bce923fc4713c85ab6d6bbe11923a431c1029e5aead965fd1a9e8815c213f -eo pid,comm 22:37:43 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). 22:37:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:37:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:37:43 [ssh-agent] Looking for ssh-agent implementation... 22:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:37:43 $ docker exec d38bce923fc4713c85ab6d6bbe11923a431c1029e5aead965fd1a9e8815c213f ssh-agent 22:37:43 SSH_AUTH_SOCK=/tmp/ssh-m7bdV5a4OPmg/agent.31 22:37:43 SSH_AGENT_PID=37 22:37:43 Running ssh-add (command line suppressed) 22:37:43 Identity added: /w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_11749584158999418632.key (/w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_11749584158999418632.key) 22:37:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:37:44 + git tag --points-at HEAD [Pipeline] } 22:37:44 $ docker exec --env ******** --env ******** d38bce923fc4713c85ab6d6bbe11923a431c1029e5aead965fd1a9e8815c213f ssh-agent -k 22:37:44 unset SSH_AUTH_SOCK; 22:37:44 unset SSH_AGENT_PID; 22:37:44 echo Agent pid 37 killed; 22:37:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:37:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:37:44 [ssh-agent] Looking for ssh-agent implementation... 22:37:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:37:44 $ docker exec d38bce923fc4713c85ab6d6bbe11923a431c1029e5aead965fd1a9e8815c213f ssh-agent 22:37:44 SSH_AUTH_SOCK=/tmp/ssh-gjkkKWzlHSlK/agent.69 22:37:44 SSH_AGENT_PID=75 22:37:44 Running ssh-add (command line suppressed) 22:37:44 Identity added: /w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_17436320589358461998.key (/w/workspace/exfoundry_app-record-replay_PR-4@tmp/private_key_17436320589358461998.key) 22:37:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:37:45 + git semver init 22:37:45 2023-06-20 22:37:45,204 [run_init] DEBUG init version:0.0.0 force:False 22:37:45 2023-06-20 22:37:45,204 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_app-record-replay_PR-4/.semver 22:37:45 2023-06-20 22:37:45,204 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/exfoundry_app-record-replay_PR-4/.semver 22:37:45 2023-06-20 22:37:45,205 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/exfoundry_app-record-replay_PR-4/.semver'], cwd=/w/workspace/exfoundry_app-record-replay_PR-4, universal_newlines=False, shell=None, istream=None) 22:37:45 2023-06-20 22:37:45,752 [append_file] DEBUG append to file:/w/workspace/exfoundry_app-record-replay_PR-4/.git/info/exclude 22:37:45 2023-06-20 22:37:45,753 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 with force:False 22:37:45 2023-06-20 22:37:45,753 [write_file] DEBUG write to file:/w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 22:37:45 2023-06-20 22:37:45,757 [execute] INFO git cat-file --batch-check 22:37:45 2023-06-20 22:37:45,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_app-record-replay_PR-4/.semver, universal_newlines=False, shell=None, istream=) 22:37:45 2023-06-20 22:37:45,765 [execute] INFO git cat-file --batch 22:37:45 2023-06-20 22:37:45,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_app-record-replay_PR-4/.semver, universal_newlines=False, shell=None, istream=) 22:37:45 2023-06-20 22:37:45,770 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_PR-4/.semver/PR-4 22:37:45 0.0.0 [Pipeline] } 22:37:45 $ docker exec --env ******** --env ******** d38bce923fc4713c85ab6d6bbe11923a431c1029e5aead965fd1a9e8815c213f ssh-agent -k 22:37:45 unset SSH_AUTH_SOCK; 22:37:45 unset SSH_AGENT_PID; 22:37:45 echo Agent pid 75 killed; 22:37:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:37:46 + git semver [Pipeline] } 22:37:46 $ docker stop --time=1 d38bce923fc4713c85ab6d6bbe11923a431c1029e5aead965fd1a9e8815c213f 22:37:47 $ docker rm -f --volumes d38bce923fc4713c85ab6d6bbe11923a431c1029e5aead965fd1a9e8815c213f [Pipeline] // withDockerContainer [Pipeline] sh 22:37:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:37:48 Stashed 1 file(s) [Pipeline] echo 22:37:48 [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 22:37:48 provisioning config files... 22:37:48 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config10323837619526898369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:48 ---> docker-login.sh 22:37:48 nexus3.edgexfoundry.org:10001 22:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:48 Configure a credential helper to remove this warning. See 22:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:48 22:37:48 Login Succeeded 22:37:48 nexus3.edgexfoundry.org:10002 22:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:48 Configure a credential helper to remove this warning. See 22:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:48 22:37:48 Login Succeeded 22:37:48 nexus3.edgexfoundry.org:10003 22:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:49 Configure a credential helper to remove this warning. See 22:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:49 22:37:49 Login Succeeded 22:37:49 nexus3.edgexfoundry.org:10004 22:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:49 Configure a credential helper to remove this warning. See 22:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:49 22:37:49 Login Succeeded 22:37:49 docker.io 22:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:49 Configure a credential helper to remove this warning. See 22:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:49 22:37:49 Login Succeeded 22:37:49 ---> docker-login.sh ends [Pipeline] } 22:37:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:37:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:49 ========================================================= 22:37:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:37:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:49 + 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 . 22:37:49 Sending build context to Docker daemon 144.4kB 22:37:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:37:49 Step 2/12 : FROM ${BASE} AS builder 22:37:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:37:49 f56be85fc22e: Pulling fs layer 22:37:49 85791d961cd3: Pulling fs layer 22:37:49 d694b5ae8c79: Pulling fs layer 22:37:49 9f32a84ed3da: Pulling fs layer 22:37:49 4d19c01a9841: Pulling fs layer 22:37:49 9325e15d5711: Pulling fs layer 22:37:49 556b6ee489ea: Pulling fs layer 22:37:49 c5a4b2cf53e6: Pulling fs layer 22:37:49 9f32a84ed3da: Waiting 22:37:49 4d19c01a9841: Waiting 22:37:49 9325e15d5711: Waiting 22:37:49 c5a4b2cf53e6: Waiting 22:37:49 85791d961cd3: Download complete 22:37:49 9f32a84ed3da: Download complete 22:37:49 4d19c01a9841: Verifying Checksum 22:37:49 4d19c01a9841: Download complete 22:37:49 f56be85fc22e: Download complete 22:37:50 9325e15d5711: Verifying Checksum 22:37:50 9325e15d5711: Download complete 22:37:50 f56be85fc22e: Pull complete 22:37:50 85791d961cd3: Pull complete 22:37:50 d694b5ae8c79: Download complete 22:37:50 c5a4b2cf53e6: Download complete 22:37:50 556b6ee489ea: Verifying Checksum 22:37:50 556b6ee489ea: Download complete 22:37:54 d694b5ae8c79: Pull complete 22:37:54 9f32a84ed3da: Pull complete 22:37:54 4d19c01a9841: Pull complete 22:37:54 9325e15d5711: Pull complete 22:37:56 556b6ee489ea: Pull complete 22:37:56 c5a4b2cf53e6: Pull complete 22:37:56 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:37:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:37:56 ---> c4be618373d6 22:37:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:38:03 Still waiting to schedule task 22:38:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-18938’ is offline 22:38:06 ---> Running in e1196271122a 22:38:06 Removing intermediate container e1196271122a 22:38:06 ---> f5471a2fe3f8 22:38:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:38:06 ---> Running in 546491714e85 22:38:06 Removing intermediate container 546491714e85 22:38:06 ---> 4f89a79d628e 22:38:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:38:06 ---> Running in 25fb0dd02612 22:38:06 Removing intermediate container 25fb0dd02612 22:38:06 ---> d2a50aed8438 22:38:06 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:38:06 ---> Running in 22c87a40dd08 22:38:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:38:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:38:06 OK: 265 MiB in 53 packages 22:38:07 Removing intermediate container 22c87a40dd08 22:38:07 ---> 276899f579ec 22:38:07 Step 7/12 : WORKDIR /app 22:38:07 ---> Running in 9e959877b590 22:38:07 Removing intermediate container 9e959877b590 22:38:07 ---> 8a3c6c3f8076 22:38:07 Step 8/12 : COPY go.mod vendor* ./ 22:38:07 ---> 29d45c7cbd56 22:38:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:38:07 ---> Running in 19de93b88266 22:38:07 Removing intermediate container 19de93b88266 22:38:07 ---> 9c0ac7b20d63 22:38:07 Step 10/12 : COPY . . 22:38:07 ---> c194f1df4a8c 22:38:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:38:07 ---> Running in a9c68fcea00c 22:38:08 Removing intermediate container a9c68fcea00c 22:38:08 ---> 30be69ddd5c8 22:38:08 Step 12/12 : RUN $MAKE 22:38:08 ---> Running in 2f5b45fdc45e 22:38:08 noop 22:38:08 Removing intermediate container 2f5b45fdc45e 22:38:08 ---> 154ca837a744 22:38:08 Successfully built 154ca837a744 22:38:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:09 + docker inspect -f . ci-base-image-x86_64 22:38:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:09 prd-ubuntu20.04-docker-8c-8g-18939 does not seem to be running inside a container 22:38:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:38:09 $ docker top ac21d18655b7b972dca5969458d36d4ef0bfd6fcd458b4f10fd538c735bd0f9e -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:09 + go version 22:38:09 go version go1.20.2 linux/amd64 [Pipeline] } 22:38:09 $ docker stop --time=1 ac21d18655b7b972dca5969458d36d4ef0bfd6fcd458b4f10fd538c735bd0f9e 22:38:11 $ docker rm -f --volumes ac21d18655b7b972dca5969458d36d4ef0bfd6fcd458b4f10fd538c735bd0f9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:11 + docker inspect -f . ci-base-image-x86_64 22:38:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:11 prd-ubuntu20.04-docker-8c-8g-18939 does not seem to be running inside a container 22:38:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:38:12 $ docker top 003548d57629850cb73d2e2a1bf7fb73147e8b1d6ea4fd6c03e2a9c58e4b7ff2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:12 + git config --global --add safe.directory /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] fileExists [Pipeline] sh 22:38:12 + make test 22:38:12 go test -race -coverprofile=coverage.out ./... 22:38:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:38:24 go vet ./... 22:38:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:38:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:38:24 ./bin/test-attribution-txt.sh [Pipeline] echo 22:38:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:38:24 $ docker stop --time=1 003548d57629850cb73d2e2a1bf7fb73147e8b1d6ea4fd6c03e2a9c58e4b7ff2 22:38:26 $ docker rm -f --volumes 003548d57629850cb73d2e2a1bf7fb73147e8b1d6ea4fd6c03e2a9c58e4b7ff2 [Pipeline] // withDockerContainer [Pipeline] sh 22:38:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:38:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:38:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:38:28 + ls -al . 22:38:28 total 108 22:38:28 drwxrwxr-x 7 jenkins jenkins 4096 Jun 20 22:38 . 22:38:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 22:37 .. 22:38:28 -rw-rw-r-- 1 jenkins jenkins 119 Jun 20 22:37 .dockerignore 22:38:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 22:37 .git 22:38:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 22:37 .github 22:38:28 -rw-rw-r-- 1 jenkins jenkins 164 Jun 20 22:37 .gitignore 22:38:28 -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 22:37 .golangci.yml 22:38:28 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 22:37 .semver 22:38:28 -rw-rw-r-- 1 jenkins jenkins 8955 Jun 20 22:37 Attribution.txt 22:38:28 -rw-rw-r-- 1 jenkins jenkins 258 Jun 20 22:37 CHANGELOG.md 22:38:28 -rw-rw-r-- 1 jenkins jenkins 1624 Jun 20 22:37 Dockerfile 22:38:28 -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 22:37 GOVERNANCE.md 22:38:28 -rw-rw-r-- 1 jenkins jenkins 681 Jun 20 22:37 Jenkinsfile 22:38:28 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 20 22:37 LICENSE 22:38:28 -rw-rw-r-- 1 jenkins jenkins 611 Jun 20 22:37 OWNERS.md 22:38:28 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 20 22:37 README.md 22:38:28 -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 22:37 VERSION 22:38:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 22:37 bin 22:38:28 -rw-r--r-- 1 jenkins jenkins 13 Jun 20 22:38 coverage.out 22:38:28 -rw-rw-r-- 1 jenkins jenkins 65 Jun 20 22:37 go.mod 22:38:28 -rw-rw-r-- 1 jenkins jenkins 0 Jun 20 22:37 go.sum 22:38:28 -rw-rw-r-- 1 jenkins jenkins 693 Jun 20 22:37 main.go 22:38:28 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 20 22:37 makefile 22:38:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 22:37 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:28 + 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=05db6991b2dbb3f008c1f25ed1ba302f9cb680cd --label arch=amd64 --label version=0.0.0 . 22:38:28 Sending build context to Docker daemon 145.4kB 22:38:28 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:38:28 Step 2/26 : FROM ${BASE} AS builder 22:38:28 ---> 154ca837a744 22:38:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:38:28 ---> Running in b6d3ad859acd 22:38:28 Removing intermediate container b6d3ad859acd 22:38:28 ---> 33a552b9c072 22:38:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:38:28 ---> Running in 9bbe9fee91f1 22:38:28 Removing intermediate container 9bbe9fee91f1 22:38:28 ---> d68b4f1c1f34 22:38:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:38:28 ---> Running in d6de29a46046 22:38:28 Removing intermediate container d6de29a46046 22:38:28 ---> 83bba908295d 22:38:28 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:38:28 ---> Running in 736db866535f 22:38:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:38:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:38:29 OK: 265 MiB in 53 packages 22:38:29 Removing intermediate container 736db866535f 22:38:29 ---> 764d5c938a1a 22:38:29 Step 7/26 : WORKDIR /app 22:38:29 ---> Running in 2c858cca7d94 22:38:30 Removing intermediate container 2c858cca7d94 22:38:30 ---> 0bd14cd853e4 22:38:30 Step 8/26 : COPY go.mod vendor* ./ 22:38:30 ---> ab4103cb47b8 22:38:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:38:30 ---> Running in 57645ca6eb3f 22:38:30 Removing intermediate container 57645ca6eb3f 22:38:30 ---> 4fbd3393ff4f 22:38:30 Step 10/26 : COPY . . 22:38:30 ---> 770f3648623a 22:38:30 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:38:30 ---> Running in ceec1c1ff5f9 22:38:30 Removing intermediate container ceec1c1ff5f9 22:38:30 ---> cced1f3c2e7f 22:38:30 Step 12/26 : RUN $MAKE 22:38:30 ---> Running in b9c38ba55354 22:38:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:38:36 Removing intermediate container b9c38ba55354 22:38:36 ---> 6be817d902e8 22:38:36 Step 13/26 : FROM alpine:3.17 22:38:36 3.17: Pulling from library/alpine 22:38:36 4db1b89c0bd1: Pulling fs layer 22:38:36 4db1b89c0bd1: Verifying Checksum 22:38:36 4db1b89c0bd1: Download complete 22:38:37 4db1b89c0bd1: Pull complete 22:38:37 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 22:38:37 Status: Downloaded newer image for alpine:3.17 22:38:37 ---> 1f73a9d63274 22:38:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:38:37 ---> Running in d880febc39c4 22:38:37 Removing intermediate container d880febc39c4 22:38:37 ---> 99f301bcf317 22:38:37 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 22:38:37 ---> Running in 0a48c7881be1 22:38:37 Removing intermediate container 0a48c7881be1 22:38:37 ---> 7a0ebe1b299e 22:38:37 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:38:37 ---> Running in 184f74c570d9 22:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:38:38 (1/2) Installing ca-certificates (20230506-r0) 22:38:38 (2/2) Installing dumb-init (1.2.5-r2) 22:38:38 Executing busybox-1.35.0-r29.trigger 22:38:38 Executing ca-certificates-20230506-r0.trigger 22:38:38 OK: 8 MiB in 17 packages 22:38:38 Removing intermediate container 184f74c570d9 22:38:38 ---> b5bdd003bbd8 22:38:38 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:38:38 ---> 68d9c441058c 22:38:38 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:38:38 ---> 9fe187ee3d10 22:38:38 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:38:38 ---> 1af1e089bbf1 22:38:38 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:38:39 ---> 2fd0d9c48b1b 22:38:39 Step 21/26 : EXPOSE 59712 22:38:39 ---> Running in fd098d1a0c7b 22:38:39 Removing intermediate container fd098d1a0c7b 22:38:39 ---> 9acd87652248 22:38:39 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:38:39 ---> Running in feb383dfb2e3 22:38:39 Removing intermediate container feb383dfb2e3 22:38:39 ---> 7a0d5bf902f5 22:38:39 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:38:39 ---> Running in bd15b33df149 22:38:39 Removing intermediate container bd15b33df149 22:38:39 ---> 5b8fa922976e 22:38:39 Step 24/26 : LABEL arch=amd64 22:38:39 ---> Running in 5845f7fe8dcf 22:38:39 Removing intermediate container 5845f7fe8dcf 22:38:39 ---> 4f6b7eca96e9 22:38:39 Step 25/26 : LABEL git_sha=05db6991b2dbb3f008c1f25ed1ba302f9cb680cd 22:38:39 ---> Running in d78aad2867a9 22:38:39 Removing intermediate container d78aad2867a9 22:38:39 ---> 091ccafca5e8 22:38:39 Step 26/26 : LABEL version=0.0.0 22:38:39 ---> Running in 7d148662a263 22:38:39 Removing intermediate container 7d148662a263 22:38:39 ---> 59a65578db5f 22:38:39 [Warning] One or more build-args [ARCH] were not consumed 22:38:39 Successfully built 59a65578db5f 22:38:39 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 22:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:38:40 22:38:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:38:40 latest: Pulling from edgex-lftools-log-publisher 22:38:40 5eb5b503b376: Pulling fs layer 22:38:40 5c69ac0246d0: Pulling fs layer 22:38:40 ec43610c2a17: Pulling fs layer 22:38:40 3a2ae6a8a46f: Pulling fs layer 22:38:40 33b1e0a273af: Pulling fs layer 22:38:40 5d3b04190fa2: Pulling fs layer 22:38:40 2f39f015ded8: Pulling fs layer 22:38:40 3a2ae6a8a46f: Waiting 22:38:40 33b1e0a273af: Waiting 22:38:40 5d3b04190fa2: Waiting 22:38:40 2f39f015ded8: Waiting 22:38:40 5c69ac0246d0: Download complete 22:38:40 3a2ae6a8a46f: Download complete 22:38:40 33b1e0a273af: Verifying Checksum 22:38:40 33b1e0a273af: Download complete 22:38:40 5d3b04190fa2: Verifying Checksum 22:38:40 5d3b04190fa2: Download complete 22:38:40 ec43610c2a17: Download complete 22:38:40 5eb5b503b376: Download complete 22:38:41 2f39f015ded8: Download complete 22:38:42 5eb5b503b376: Pull complete 22:38:42 5c69ac0246d0: Pull complete 22:38:42 ec43610c2a17: Pull complete 22:38:42 3a2ae6a8a46f: Pull complete 22:38:43 33b1e0a273af: Pull complete 22:38:43 5d3b04190fa2: Pull complete 22:38:47 2f39f015ded8: Pull complete 22:38:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:38:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:38:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:47 prd-ubuntu20.04-docker-8c-8g-18939 does not seem to be running inside a container 22:38:47 $ 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/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:38:52 $ docker top 3548b30e369004726a1eb2ff29a01abe7161fd1fa033a5710454252acc89cc6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:52 ---> job-cost.sh 22:38:52 lf-activate-venv: SKIPPING 22:38:52 INFO: No Stack... 22:38:52 INFO: Retrieving Pricing Info for: v3-standard-8 22:38:53 INFO: Archiving Costs [Pipeline] sh 22:38:53 + cat /w/workspace/exfoundry_app-record-replay_PR-4/archives/cost.csv 22:38:53 + cut -d, -f6 [Pipeline] lock 22:38:53 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-4-6-stack-cost] 22:38:53 Resource [jenkins-edgexfoundry-app-record-replay-PR-4-6-stack-cost] did not exist. Created. 22:38:53 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-4-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:38:53 + echo total: 0.2199999988079071 [Pipeline] stash 22:38:53 Stashed 1 file(s) [Pipeline] } 22:38:53 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-4-6-stack-cost] [Pipeline] // lock [Pipeline] } 22:38:53 $ docker stop --time=1 3548b30e369004726a1eb2ff29a01abe7161fd1fa033a5710454252acc89cc6e 22:38:54 $ docker rm -f --volumes 3548b30e369004726a1eb2ff29a01abe7161fd1fa033a5710454252acc89cc6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:39:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18940 in /w/workspace/exfoundry_app-record-replay_PR-4 [Pipeline] { [Pipeline] ws 22:39:37 Running in /w/workspace/app-record-replay/6 [Pipeline] { [Pipeline] checkout 22:39:37 The recommended git tool is: NONE 22:39:42 using credential edgex-jenkins-ssh 22:39:42 Cloning the remote Git repository 22:39:42 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 22:39:42 > git init /w/workspace/app-record-replay/6 # timeout=10 22:39:42 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:39:42 > git --version # timeout=10 22:39:42 > git --version # 'git version 2.25.1' 22:39:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:39:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:39:43 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:39:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:39:44 Merging remotes/origin/main commit 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee into PR head commit 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd 22:39:43 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:39:43 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:39:43 using GIT_SSH to set credentials SSH Credentials for GitHub 22:39:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/4/head:refs/remotes/origin/PR-4 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:39:44 > git config core.sparsecheckout # timeout=10 22:39:44 > git checkout -f 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd # timeout=10 22:39:44 Merge succeeded, producing 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd 22:39:44 Checking out Revision 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd (PR-4) 22:39:44 > git remote # timeout=10 22:39:44 > git config --get remote.origin.url # timeout=10 22:39:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:39:44 > git merge 9e922b9e5c9061430c0bdd5b3bb3138567ecf0ee # timeout=10 22:39:44 > git rev-parse HEAD^{commit} # timeout=10 22:39:44 > git config core.sparsecheckout # timeout=10 22:39:44 > git checkout -f 05db6991b2dbb3f008c1f25ed1ba302f9cb680cd # timeout=10 22:39:48 Commit message: "feat: Implement dummy main to test Ci pipeline and docker builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:39:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:39:48 % Total % Received % Xferd Average Speed Time Time Time Current 22:39:48 Dload Upload Total Spent Left Speed 22:39:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 22:39:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:39:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:39:50 + sudo tee /etc/docker/daemon.new 22:39:50 { 22:39:50 "registry-mirrors": [ 22:39:50 "https://nexus3.edgexfoundry.org:10001" 22:39:50 ], 22:39:50 "bip": "10.250.0.254/24", 22:39:50 "hosts": [ 22:39:50 "tcp://0.0.0.0:5555", 22:39:50 "unix:///var/run/docker.sock" 22:39:50 ], 22:39:50 "mtu": 1458, 22:39:50 "selinux-enabled": true, 22:39:50 "seccomp-profile": "/etc/docker/seccomp.json" 22:39:50 } [Pipeline] sh 22:39:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:39:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:08 provisioning config files... 22:40:09 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/6@tmp/config14731421505209385537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:09 ---> docker-login.sh 22:40:09 nexus3.edgexfoundry.org:10001 22:40:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:09 Configure a credential helper to remove this warning. See 22:40:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:09 22:40:09 Login Succeeded 22:40:09 nexus3.edgexfoundry.org:10002 22:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:10 Configure a credential helper to remove this warning. See 22:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:10 22:40:10 Login Succeeded 22:40:10 nexus3.edgexfoundry.org:10003 22:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:10 Configure a credential helper to remove this warning. See 22:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:10 22:40:10 Login Succeeded 22:40:10 nexus3.edgexfoundry.org:10004 22:40:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:10 Configure a credential helper to remove this warning. See 22:40:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:10 22:40:10 Login Succeeded 22:40:10 docker.io 22:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:11 Configure a credential helper to remove this warning. See 22:40:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:11 22:40:11 Login Succeeded 22:40:11 ---> docker-login.sh ends [Pipeline] } 22:40:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:40:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:11 ========================================================= 22:40:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:40:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:12 + 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 . 22:40:12 Sending build context to Docker daemon 51.2kB 22:40:12 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:40:12 Step 2/12 : FROM ${BASE} AS builder 22:40:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:40:12 c41833b44d91: Pulling fs layer 22:40:12 ed15518f5707: Pulling fs layer 22:40:12 feae8fd75edb: Pulling fs layer 22:40:12 242c74f7c9fa: Pulling fs layer 22:40:12 3cdef696dda3: Pulling fs layer 22:40:12 2ced38df9373: Pulling fs layer 22:40:12 58f1dce35555: Pulling fs layer 22:40:12 242c74f7c9fa: Waiting 22:40:12 3cdef696dda3: Waiting 22:40:12 2ced38df9373: Waiting 22:40:12 58f1dce35555: Waiting 22:40:12 ed15518f5707: Download complete 22:40:12 242c74f7c9fa: Verifying Checksum 22:40:12 242c74f7c9fa: Download complete 22:40:12 3cdef696dda3: Verifying Checksum 22:40:12 3cdef696dda3: Download complete 22:40:12 c41833b44d91: Download complete 22:40:13 c41833b44d91: Pull complete 22:40:13 58f1dce35555: Verifying Checksum 22:40:13 58f1dce35555: Download complete 22:40:15 feae8fd75edb: Verifying Checksum 22:40:15 feae8fd75edb: Download complete 22:40:15 2ced38df9373: Verifying Checksum 22:40:15 2ced38df9373: Download complete 22:40:16 ed15518f5707: Pull complete 22:40:31 feae8fd75edb: Pull complete 22:40:31 242c74f7c9fa: Pull complete 22:40:31 3cdef696dda3: Pull complete 22:40:36 2ced38df9373: Pull complete 22:40:39 58f1dce35555: Pull complete 22:40:39 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:40:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:40:39 ---> fadd8f120f05 22:40:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:40:41 ---> Running in dc9183fdde92 22:40:41 Removing intermediate container dc9183fdde92 22:40:41 ---> 4481b5027479 22:40:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:40:41 ---> Running in bbf56783951c 22:40:41 Removing intermediate container bbf56783951c 22:40:41 ---> ba5fa65a8e20 22:40:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:40:41 ---> Running in 88af17dc7f9b 22:40:42 Removing intermediate container 88af17dc7f9b 22:40:42 ---> cccdaff8975f 22:40:42 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:40:42 ---> Running in 63107f399c9a 22:40:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:40:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:40:44 OK: 263 MiB in 53 packages 22:40:45 Removing intermediate container 63107f399c9a 22:40:45 ---> 065f68bf77bd 22:40:45 Step 7/12 : WORKDIR /app 22:40:45 ---> Running in 8ebe1a7bae4c 22:40:45 Removing intermediate container 8ebe1a7bae4c 22:40:45 ---> 5b30e17dcd48 22:40:45 Step 8/12 : COPY go.mod vendor* ./ 22:40:46 ---> 14da99053afc 22:40:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:46 ---> Running in 85d0891c9831 22:40:47 Removing intermediate container 85d0891c9831 22:40:47 ---> 1b90213c4a7a 22:40:47 Step 10/12 : COPY . . 22:40:48 ---> aaa09711edb0 22:40:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:40:48 ---> Running in b1dc6fba26ab 22:40:48 Removing intermediate container b1dc6fba26ab 22:40:48 ---> 3c717ef29be0 22:40:48 Step 12/12 : RUN $MAKE 22:40:48 ---> Running in 827a8f0b454c 22:40:49 noop 22:40:50 Removing intermediate container 827a8f0b454c 22:40:50 ---> 87324a245e4e 22:40:50 Successfully built 87324a245e4e 22:40:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:50 + docker inspect -f . ci-base-image-arm64 22:40:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:50 prd-ubuntu20.04-docker-arm64-4c-16g-18940 does not seem to be running inside a container 22:40:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/6 -v /w/workspace/app-record-replay/6:/w/workspace/app-record-replay/6:rw,z -v /w/workspace/app-record-replay/6@tmp:/w/workspace/app-record-replay/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:40:51 $ docker top 1743b756301389129e149269aa59c1f7e88174a85adbe7e31b35124774bbf4cd -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:52 + go version 22:40:52 go version go1.20.2 linux/arm64 [Pipeline] } 22:40:52 $ docker stop --time=1 1743b756301389129e149269aa59c1f7e88174a85adbe7e31b35124774bbf4cd 22:40:55 $ docker rm -f --volumes 1743b756301389129e149269aa59c1f7e88174a85adbe7e31b35124774bbf4cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:56 + docker inspect -f . ci-base-image-arm64 22:40:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:56 prd-ubuntu20.04-docker-arm64-4c-16g-18940 does not seem to be running inside a container 22:40:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/6 -v /w/workspace/app-record-replay/6:/w/workspace/app-record-replay/6:rw,z -v /w/workspace/app-record-replay/6@tmp:/w/workspace/app-record-replay/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:40:57 $ docker top dbaa629d1897562906c3950f5bdf1a27b2cfa30192e8bf9266e40b7f636e3999 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:58 + git config --global --add safe.directory /w/workspace/app-record-replay/6 [Pipeline] fileExists [Pipeline] sh 22:40:58 + make test 22:40:58 go test -race -coverprofile=coverage.out ./... 22:41:37 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:41:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:41:37 go vet ./... 22:41:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:41:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:41:59 ./bin/test-attribution-txt.sh [Pipeline] echo 22:41:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:41:59 $ docker stop --time=1 dbaa629d1897562906c3950f5bdf1a27b2cfa30192e8bf9266e40b7f636e3999 22:42:01 $ docker rm -f --volumes dbaa629d1897562906c3950f5bdf1a27b2cfa30192e8bf9266e40b7f636e3999 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:42:01 Warning: overwriting stash ‘coverage-report’ 22:42:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:42:02 + ls -al . 22:42:02 total 104 22:42:02 drwxrwxr-x 6 jenkins jenkins 4096 Jun 20 22:40 . 22:42:02 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 22:39 .. 22:42:02 -rw-rw-r-- 1 jenkins jenkins 119 Jun 20 22:39 .dockerignore 22:42:02 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 22:39 .git 22:42:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 22:39 .github 22:42:02 -rw-rw-r-- 1 jenkins jenkins 164 Jun 20 22:39 .gitignore 22:42:02 -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 22:39 .golangci.yml 22:42:02 -rw-rw-r-- 1 jenkins jenkins 8955 Jun 20 22:39 Attribution.txt 22:42:02 -rw-rw-r-- 1 jenkins jenkins 258 Jun 20 22:39 CHANGELOG.md 22:42:02 -rw-rw-r-- 1 jenkins jenkins 1624 Jun 20 22:39 Dockerfile 22:42:02 -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 22:39 GOVERNANCE.md 22:42:02 -rw-rw-r-- 1 jenkins jenkins 681 Jun 20 22:39 Jenkinsfile 22:42:02 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 20 22:39 LICENSE 22:42:02 -rw-rw-r-- 1 jenkins jenkins 611 Jun 20 22:39 OWNERS.md 22:42:02 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 20 22:39 README.md 22:42:02 -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 22:37 VERSION 22:42:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 22:39 bin 22:42:02 -rw-r--r-- 1 jenkins jenkins 13 Jun 20 22:40 coverage.out 22:42:02 -rw-rw-r-- 1 jenkins jenkins 65 Jun 20 22:39 go.mod 22:42:02 -rw-rw-r-- 1 jenkins jenkins 0 Jun 20 22:39 go.sum 22:42:02 -rw-rw-r-- 1 jenkins jenkins 693 Jun 20 22:39 main.go 22:42:02 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 20 22:39 makefile 22:42:02 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 22:39 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:03 + 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=05db6991b2dbb3f008c1f25ed1ba302f9cb680cd --label arch=arm64 --label version=0.0.0 . 22:42:03 Sending build context to Docker daemon 52.22kB 22:42:03 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:42:03 Step 2/26 : FROM ${BASE} AS builder 22:42:03 ---> 87324a245e4e 22:42:03 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:42:03 ---> Running in 545a76ae7414 22:42:03 Removing intermediate container 545a76ae7414 22:42:03 ---> 1993deab0f7e 22:42:03 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:42:03 ---> Running in a14a9b3d4740 22:42:04 Removing intermediate container a14a9b3d4740 22:42:04 ---> af1f14495930 22:42:04 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:42:04 ---> Running in 0f37c45485a5 22:42:04 Removing intermediate container 0f37c45485a5 22:42:04 ---> 95f95b1a2590 22:42:04 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:42:04 ---> Running in eb4dcee57e11 22:42:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:42:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:42:07 OK: 263 MiB in 53 packages 22:42:07 Removing intermediate container eb4dcee57e11 22:42:07 ---> b5f38d445c85 22:42:07 Step 7/26 : WORKDIR /app 22:42:07 ---> Running in 728cab73f566 22:42:07 Removing intermediate container 728cab73f566 22:42:07 ---> ff4519a9a1dd 22:42:07 Step 8/26 : COPY go.mod vendor* ./ 22:42:08 ---> d5dd2b910088 22:42:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:08 ---> Running in 9e3aec29a288 22:42:09 Removing intermediate container 9e3aec29a288 22:42:09 ---> 9ae4158a96ed 22:42:09 Step 10/26 : COPY . . 22:42:10 ---> 0f754a201b0e 22:42:10 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:42:10 ---> Running in 5971863f95fa 22:42:10 Removing intermediate container 5971863f95fa 22:42:10 ---> ba9684ef60c0 22:42:10 Step 12/26 : RUN $MAKE 22:42:10 ---> Running in beca64c3ce41 22:42:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:42:38 Removing intermediate container beca64c3ce41 22:42:38 ---> 69ca2923ac7d 22:42:38 Step 13/26 : FROM alpine:3.17 22:42:38 3.17: Pulling from library/alpine 22:42:38 edb6bdbacee9: Pulling fs layer 22:42:38 edb6bdbacee9: Verifying Checksum 22:42:38 edb6bdbacee9: Download complete 22:42:38 edb6bdbacee9: Pull complete 22:42:38 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 22:42:38 Status: Downloaded newer image for alpine:3.17 22:42:38 ---> 779605e5fbc0 22:42:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:42:38 ---> Running in 3b7df7a09084 22:42:38 Removing intermediate container 3b7df7a09084 22:42:38 ---> 75d93062a805 22:42:38 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 22:42:38 ---> Running in 74c34495b097 22:42:38 Removing intermediate container 74c34495b097 22:42:38 ---> e081c9136785 22:42:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:42:38 ---> Running in 146998f83f28 22:42:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:42:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:42:39 (1/2) Installing ca-certificates (20230506-r0) 22:42:39 (2/2) Installing dumb-init (1.2.5-r2) 22:42:39 Executing busybox-1.35.0-r29.trigger 22:42:39 Executing ca-certificates-20230506-r0.trigger 22:42:40 OK: 8 MiB in 17 packages 22:42:41 Removing intermediate container 146998f83f28 22:42:41 ---> ac3a41fb2963 22:42:41 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:42:41 ---> 56d2e5ad3873 22:42:41 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:42:42 ---> 1404d804c076 22:42:42 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:42:42 ---> 42896c8038db 22:42:42 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:42:43 ---> 07c7e4e0c05d 22:42:43 Step 21/26 : EXPOSE 59712 22:42:43 ---> Running in dff05f4bff5a 22:42:43 Removing intermediate container dff05f4bff5a 22:42:43 ---> d678bfa240cb 22:42:43 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:42:43 ---> Running in be74815d8ee2 22:42:43 Removing intermediate container be74815d8ee2 22:42:43 ---> 75186b0db5f1 22:42:43 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:42:43 ---> Running in 05dbd1012783 22:42:44 Removing intermediate container 05dbd1012783 22:42:44 ---> a050d4954f8e 22:42:44 Step 24/26 : LABEL arch=arm64 22:42:44 ---> Running in 94c6dd65769c 22:42:44 Removing intermediate container 94c6dd65769c 22:42:44 ---> 90c1ea4a9c42 22:42:44 Step 25/26 : LABEL git_sha=05db6991b2dbb3f008c1f25ed1ba302f9cb680cd 22:42:44 ---> Running in a601e17aeb7b 22:42:44 Removing intermediate container a601e17aeb7b 22:42:44 ---> 66d5ffbdf205 22:42:44 Step 26/26 : LABEL version=0.0.0 22:42:44 ---> Running in 0258a303dffd 22:42:44 Removing intermediate container 0258a303dffd 22:42:44 ---> 48fbec3478ec 22:42:44 [Warning] One or more build-args [ARCH] were not consumed 22:42:44 Successfully built 48fbec3478ec 22:42:45 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 22:42:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:42:45 22:42:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:42:46 arm64: Pulling from edgex-lftools-log-publisher 22:42:46 8998bd30e6a1: Pulling fs layer 22:42:46 04944245beec: Pulling fs layer 22:42:46 699f458cf7ca: Pulling fs layer 22:42:46 765212b225bb: Pulling fs layer 22:42:46 f23df028b6ca: Pulling fs layer 22:42:46 d65c8cfc05b1: Pulling fs layer 22:42:46 2437ff75d9bd: Pulling fs layer 22:42:46 765212b225bb: Waiting 22:42:46 f23df028b6ca: Waiting 22:42:46 d65c8cfc05b1: Waiting 22:42:46 2437ff75d9bd: Waiting 22:42:46 04944245beec: Verifying Checksum 22:42:46 04944245beec: Download complete 22:42:46 765212b225bb: Verifying Checksum 22:42:46 765212b225bb: Download complete 22:42:46 f23df028b6ca: Verifying Checksum 22:42:46 f23df028b6ca: Download complete 22:42:46 d65c8cfc05b1: Download complete 22:42:46 699f458cf7ca: Verifying Checksum 22:42:46 699f458cf7ca: Download complete 22:42:46 8998bd30e6a1: Verifying Checksum 22:42:46 8998bd30e6a1: Download complete 22:42:48 2437ff75d9bd: Verifying Checksum 22:42:48 2437ff75d9bd: Download complete 22:42:50 8998bd30e6a1: Pull complete 22:42:51 04944245beec: Pull complete 22:42:52 699f458cf7ca: Pull complete 22:42:52 765212b225bb: Pull complete 22:42:53 f23df028b6ca: Pull complete 22:42:53 d65c8cfc05b1: Pull complete 22:43:08 2437ff75d9bd: Pull complete 22:43:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:43:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:08 prd-ubuntu20.04-docker-arm64-4c-16g-18940 does not seem to be running inside a container 22:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/6 -v /w/workspace/app-record-replay/6:/w/workspace/app-record-replay/6:rw,z -v /w/workspace/app-record-replay/6@tmp:/w/workspace/app-record-replay/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:43:11 $ docker top 21be8cbb1bb01fb875479c8881619633382b21df78dfc76d0f8f7bc5c3fa6ca7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:11 ---> job-cost.sh 22:43:12 lf-activate-venv: SKIPPING 22:43:12 INFO: No Stack... 22:43:12 INFO: Retrieving Pricing Info for: v3-standard-4 22:43:13 INFO: Archiving Costs [Pipeline] sh 22:43:13 + cat /w/workspace/app-record-replay/6/archives/cost.csv 22:43:13 + cut -d, -f6 [Pipeline] lock 22:43:13 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-4-6-stack-cost] 22:43:13 Resource [jenkins-edgexfoundry-app-record-replay-PR-4-6-stack-cost] did not exist. Created. 22:43:13 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-4-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:43:14 /w/workspace/app-record-replay/6@tmp/durable-2b76c19c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:43:14 + echo total: 0.10999999940395355 [Pipeline] stash 22:43:14 Warning: overwriting stash ‘stack-cost’ 22:43:14 Stashed 1 file(s) [Pipeline] } 22:43:14 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-4-6-stack-cost] [Pipeline] // lock [Pipeline] } 22:43:14 $ docker stop --time=1 21be8cbb1bb01fb875479c8881619633382b21df78dfc76d0f8f7bc5c3fa6ca7 22:43:16 $ docker rm -f --volumes 21be8cbb1bb01fb875479c8881619633382b21df78dfc76d0f8f7bc5c3fa6ca7 [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 22:43:16 provisioning config files... 22:43:16 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-4 #6 22:43:16 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config3583777272357678759tmp [Pipeline] { [Pipeline] sh 22:43:16 + set +x 22:43:16 + curl -s https://codecov.io/bash 22:43:16 + bash -s -- 22:43:17 22:43:17 _____ _ 22:43:17 / ____| | | 22:43:17 | | ___ __| | ___ ___ _____ __ 22:43:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:43:17 | |___| (_) | (_| | __/ (_| (_) \ V / 22:43:17 \_____\___/ \__,_|\___|\___\___/ \_/ 22:43:17 Bash-1.0.6 22:43:17 22:43:17 22:43:17 ==> git version 2.25.1 found 22:43:17 ==> 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 22:43:17 Release-Date: 2020-01-08 22:43:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:43:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:43:17 ==> Jenkins CI detected. 22:43:17 current dir:  /w/workspace/exfoundry_app-record-replay_PR-4 22:43:17 project root: . 22:43:17 --> token set from env 22:43:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:43:17 ==> Running gcov in . (disable via -X gcov) 22:43:17 ==> Python coveragepy not found 22:43:17 ==> Searching for coverage reports in: 22:43:17 + . 22:43:17 -> Found 1 reports 22:43:17 ==> Detecting git/mercurial file structure 22:43:17 ==> Reading reports 22:43:17 + ./coverage.out bytes=13 22:43:17 ==> Appending adjustments 22:43:17 https://docs.codecov.io/docs/fixing-reports 22:43:17 + Found adjustments 22:43:17 ==> Gzipping contents 22:43:17 4.0K /tmp/codecov.7JGax2.gz 22:43:17 ==> Uploading reports 22:43:17 url: https://codecov.io 22:43:17 query: branch=PR-4&commit=05db6991b2dbb3f008c1f25ed1ba302f9cb680cd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-4%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=4&job=&cmd_args= 22:43:17 -> Pinging Codecov 22:43:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-4&commit=05db6991b2dbb3f008c1f25ed1ba302f9cb680cd&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-4%2F6%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=4&job=&cmd_args= 22:43:17 Invalid request parameters 22:43:17 400 [Pipeline] } 22:43:17 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 22:43:18 + [ -d /w/workspace/exfoundry_app-record-replay_PR-4/archives ] 22:43:18 + ls -al /w/workspace/exfoundry_app-record-replay_PR-4/archives 22:43:18 total 16 22:43:18 drwxr-xr-x 3 root root 4096 Jun 20 22:38 . 22:43:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 22:38 .. 22:43:18 drwxr-xr-x 2 root root 4096 Jun 20 22:38 cost 22:43:18 -rw-r--r-- 1 root root 87 Jun 20 22:38 cost.csv 22:43:18 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_app-record-replay_PR-4/archives 22:43:18 + ls -al /w/workspace/exfoundry_app-record-replay_PR-4/archives 22:43:18 total 16 22:43:18 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 22:38 . 22:43:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 22:38 .. 22:43:18 drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 22:38 cost 22:43:18 -rw-r--r-- 1 jenkins jenkins 87 Jun 20 22:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:43:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:43:19 ---> package-listing.sh 22:43:19 ++ facter osfamily 22:43:19 ++ tr '[:upper:]' '[:lower:]' 22:43:19 + OS_FAMILY=debian 22:43:19 + workspace=/w/workspace/exfoundry_app-record-replay_PR-4 22:43:19 + START_PACKAGES=/tmp/packages_start.txt 22:43:19 + END_PACKAGES=/tmp/packages_end.txt 22:43:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:43:19 + PACKAGES=/tmp/packages_start.txt 22:43:19 + '[' /w/workspace/exfoundry_app-record-replay_PR-4 ']' 22:43:19 + PACKAGES=/tmp/packages_end.txt 22:43:19 + case "${OS_FAMILY}" in 22:43:19 + dpkg -l 22:43:19 + grep '^ii' 22:43:19 + '[' -f /tmp/packages_start.txt ']' 22:43:19 + '[' -f /tmp/packages_end.txt ']' 22:43:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:43:19 + '[' /w/workspace/exfoundry_app-record-replay_PR-4 ']' 22:43:19 + mkdir -p /w/workspace/exfoundry_app-record-replay_PR-4/archives/ 22:43:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_app-record-replay_PR-4/archives/ [Pipeline] echo 22:43:19 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/exfoundry_app-record-replay_PR-4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:43:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:20 prd-ubuntu20.04-docker-8c-8g-18939 does not seem to be running inside a container 22:43:20 $ 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/exfoundry_app-record-replay_PR-4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_app-record-replay_PR-4 -v /w/workspace/exfoundry_app-record-replay_PR-4:/w/workspace/exfoundry_app-record-replay_PR-4:rw,z -v /w/workspace/exfoundry_app-record-replay_PR-4@tmp:/w/workspace/exfoundry_app-record-replay_PR-4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:43:20 $ docker top 1ded385087997181a9c09d9169c2a4bfd9e868d4a2a96e51046e3be96ae1d5ac -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:21 + touch /tmp/pre-build-complete [Pipeline] sh 22:43:21 + mkdir -p /var/log/sysstat [Pipeline] sh 22:43:21 + ls /var/log/sa-host 22:43:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:21 provisioning config files... 22:43:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_app-record-replay_PR-4@tmp/config10346427733135056380tmp [Pipeline] { [Pipeline] echo 22:43:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:43:22 ---> create-netrc.sh [Pipeline] } 22:43:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:43:22 ---> python-tools-install.sh [Pipeline] echo 22:43:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:43:22 ---> sudo-logs.sh 22:43:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:43:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:43:23 ---> job-cost.sh 22:43:23 lf-activate-venv: SKIPPING 22:43:23 DEBUG: total: 0.2199999988079071 22:43:23 INFO: Retrieving Stack Cost... 22:43:23 INFO: Retrieving Pricing Info for: v3-standard-8 22:43:23 INFO: Archiving Costs [Pipeline] echo 22:43:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:43:24 ---> logs-deploy.sh 22:43:24 lf-activate-venv: SKIPPING 22:43:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-4/6 22:43:24 INFO: archiving workspace using pattern(s): 22:43:25 Archives upload complete. 22:43:25 INFO: archiving logs to Nexus