Pull request #673 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 531a84fe61b33bfad3c12f641f08cd857ea08ca4+73e85768b09e7a901a474aca8d4c5663b6c61c92 (9e01cb70684fe0aeb1287753549a77a54296b49b) 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-ssh12705295344862586068.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh9075274210023619706.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 f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-673/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-service-configurable/branches/PR-673/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh64854507408898903.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh12430178594009613853.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-service-configurable/branches/PR-673/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-service-configurable/branches/PR-673/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15589210871451207037.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-service-configurable] ========================================================= [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-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 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-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9176 in /w/workspace/_app-service-configurable_PR-673 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-673 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.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-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.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-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/673/head:refs/remotes/origin/PR-673 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 73e85768b09e7a901a474aca8d4c5663b6c61c92 into PR head commit 531a84fe61b33bfad3c12f641f08cd857ea08ca4 Merge succeeded, producing 531a84fe61b33bfad3c12f641f08cd857ea08ca4 Checking out Revision 531a84fe61b33bfad3c12f641f08cd857ea08ca4 (PR-673) Commit message: "fix: Update app-function-sdk tag version" > git config core.sparsecheckout # timeout=10 > git checkout -f 531a84fe61b33bfad3c12f641f08cd857ea08ca4 # 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 73e85768b09e7a901a474aca8d4c5663b6c61c92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 531a84fe61b33bfad3c12f641f08cd857ea08ca4 # timeout=10 > git rev-list --no-walk fae340c90b373e2a95d5531951e35646ccdb79af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:06:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:06:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:06:39 ========================================================= 07:06:39 EdgeX Global Pipelines Version Info 07:06:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:06:40 ------------------- 07:06:40 stable info: 07:06:40 ------------------- 07:06:40 Commited By: Cherry Wang cherry@iotechsys.com 07:06:40 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 07:06:40 Message: update stable to v1.0.263 07:06:40 ------------------- 07:06:40 experimental info: 07:06:40 ------------------- 07:06:40 Commited By: Cherry Wang cherry@iotechsys.com 07:06:40 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 07:06:40 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:06:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 07:06:40 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 07:06:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:06:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:06:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:06:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:06:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:06:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:06:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-673 [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-673 [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-673 [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 531a84fe61b33bfad3c12f641f08cd857ea08ca4 [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 531a84f [Pipeline] echo 07:06:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:06:41 provisioning config files... 07:06:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config9108892481716290097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:41 ---> ****-login.sh 07:06:41 nexus3.edgexfoundry.org:10001 07:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:42 Configure a credential helper to remove this warning. See 07:06:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:42 07:06:42 Login Succeeded 07:06:42 nexus3.edgexfoundry.org:10002 07:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:42 Configure a credential helper to remove this warning. See 07:06:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:42 07:06:42 Login Succeeded 07:06:42 nexus3.edgexfoundry.org:10003 07:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:42 Configure a credential helper to remove this warning. See 07:06:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:42 07:06:42 Login Succeeded 07:06:42 nexus3.edgexfoundry.org:10004 07:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:42 Configure a credential helper to remove this warning. See 07:06:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:42 07:06:42 Login Succeeded 07:06:42 ****.io 07:06:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:42 Configure a credential helper to remove this warning. See 07:06:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:42 07:06:42 Login Succeeded 07:06:42 ---> ****-login.sh ends [Pipeline] } 07:06:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:06:43 + git rev-list -1 --merges 531a84fe61b33bfad3c12f641f08cd857ea08ca4~1..531a84fe61b33bfad3c12f641f08cd857ea08ca4 [Pipeline] echo 07:06:43 -----------> git rev-list -1 --merges 531a84fe61b33bfad3c12f641f08cd857ea08ca4~1..531a84fe61b33bfad3c12f641f08cd857ea08ca4 531a84fe61b33bfad3c12f641f08cd857ea08ca4 [false] [Pipeline] sh 07:06:43 + git log --format=format:%s -1 531a84fe61b33bfad3c12f641f08cd857ea08ca4 [Pipeline] echo 07:06:43 ========================================================= 07:06:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:06:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:06:44 + git log --format=format:%s -1 531a84fe61b33bfad3c12f641f08cd857ea08ca4 [Pipeline] echo 07:06:44 [semverPrep] GIT_COMMIT: 531a84fe61b33bfad3c12f641f08cd857ea08ca4, Commit Message: fix: Update app-function-sdk tag version [Pipeline] echo 07:06:44 [semverPrep] This is not a build commit. [Pipeline] sh 07:06:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:06:44 + grep -v github /etc/ssh/ssh_known_hosts 07:06:44 + [ -e /tmp/ssh_known_hosts ] 07:06:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:06:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:06:44 + sudo tee -a /etc/ssh/ssh_known_hosts 07:06:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:06:44 07:06:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:06:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:06:45 0.1.4: Pulling from edgex-devops/py-git-semver 07:06:45 b85a868b505f: Pulling fs layer 07:06:45 e2be974225ed: Pulling fs layer 07:06:45 339a4e72a1f5: Pulling fs layer 07:06:45 988bab9f4d93: Pulling fs layer 07:06:45 1469e6f7b9e6: Pulling fs layer 07:06:45 eaf3925da568: Pulling fs layer 07:06:45 bab4dde63d76: Pulling fs layer 07:06:45 bde34c3a00c8: Pulling fs layer 07:06:45 b352a97aabf1: Pulling fs layer 07:06:45 4872d77fe225: Pulling fs layer 07:06:45 5851b861e8e6: Pulling fs layer 07:06:45 bab4dde63d76: Waiting 07:06:45 bde34c3a00c8: Waiting 07:06:45 b352a97aabf1: Waiting 07:06:45 4872d77fe225: Waiting 07:06:45 5851b861e8e6: Waiting 07:06:45 1469e6f7b9e6: Waiting 07:06:45 eaf3925da568: Waiting 07:06:45 988bab9f4d93: Waiting 07:06:45 e2be974225ed: Verifying Checksum 07:06:45 e2be974225ed: Download complete 07:06:45 988bab9f4d93: Download complete 07:06:45 1469e6f7b9e6: Verifying Checksum 07:06:45 1469e6f7b9e6: Download complete 07:06:45 eaf3925da568: Verifying Checksum 07:06:45 eaf3925da568: Download complete 07:06:45 339a4e72a1f5: Verifying Checksum 07:06:45 339a4e72a1f5: Download complete 07:06:45 bde34c3a00c8: Verifying Checksum 07:06:45 bde34c3a00c8: Download complete 07:06:45 b352a97aabf1: Download complete 07:06:45 4872d77fe225: Verifying Checksum 07:06:45 4872d77fe225: Download complete 07:06:45 5851b861e8e6: Verifying Checksum 07:06:45 5851b861e8e6: Download complete 07:06:45 b85a868b505f: Verifying Checksum 07:06:45 b85a868b505f: Download complete 07:06:46 bab4dde63d76: Verifying Checksum 07:06:46 bab4dde63d76: Download complete 07:06:46 b85a868b505f: Pull complete 07:06:46 e2be974225ed: Pull complete 07:06:47 339a4e72a1f5: Pull complete 07:06:47 988bab9f4d93: Pull complete 07:06:47 1469e6f7b9e6: Pull complete 07:06:48 eaf3925da568: Pull complete 07:06:49 bab4dde63d76: Pull complete 07:06:49 bde34c3a00c8: Pull complete 07:06:49 b352a97aabf1: Pull complete 07:06:49 4872d77fe225: Pull complete 07:06:49 5851b861e8e6: Pull complete 07:06:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:06:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:06:50 prd-ubuntu20.04-docker-8c-8g-9176 does not seem to be running inside a container 07:06:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@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 07:06:53 $ docker top f5f486fe8ee86a12fa02e4f26309279e8b651336fab2ef8da77b5193e17b8bdf -eo pid,comm 07:06:53 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). 07:06:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:06:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:06:53 [ssh-agent] Looking for ssh-agent implementation... 07:06:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:06:53 $ docker exec f5f486fe8ee86a12fa02e4f26309279e8b651336fab2ef8da77b5193e17b8bdf ssh-agent 07:06:53 SSH_AUTH_SOCK=/tmp/ssh-Ws6MXfWINhB5/agent.32 07:06:53 SSH_AGENT_PID=38 07:06:53 Running ssh-add (command line suppressed) 07:06:53 Identity added: /w/workspace/_app-service-configurable_PR-673@tmp/private_key_13048238263659533843.key (/w/workspace/_app-service-configurable_PR-673@tmp/private_key_13048238263659533843.key) 07:06:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:06:53 + git tag --points-at HEAD [Pipeline] } 07:06:53 $ docker exec --env ******** --env ******** f5f486fe8ee86a12fa02e4f26309279e8b651336fab2ef8da77b5193e17b8bdf ssh-agent -k 07:06:53 unset SSH_AUTH_SOCK; 07:06:53 unset SSH_AGENT_PID; 07:06:53 echo Agent pid 38 killed; 07:06:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:06:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:06:54 [ssh-agent] Looking for ssh-agent implementation... 07:06:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:06:54 $ docker exec f5f486fe8ee86a12fa02e4f26309279e8b651336fab2ef8da77b5193e17b8bdf ssh-agent 07:06:54 SSH_AUTH_SOCK=/tmp/ssh-1X47DMxs0Xtm/agent.72 07:06:54 SSH_AGENT_PID=78 07:06:54 Running ssh-add (command line suppressed) 07:06:54 Identity added: /w/workspace/_app-service-configurable_PR-673@tmp/private_key_11891472472851119710.key (/w/workspace/_app-service-configurable_PR-673@tmp/private_key_11891472472851119710.key) 07:06:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:06:54 + git semver init 07:06:54 2024-09-02 07:06:54,869 [run_init] DEBUG init version:0.0.0 force:False 07:06:54 2024-09-02 07:06:54,870 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-673/.semver 07:06:54 2024-09-02 07:06:54,871 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-673/.semver 07:06:54 2024-09-02 07:06:54,871 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-673/.semver'], cwd=/w/workspace/_app-service-configurable_PR-673, universal_newlines=False, shell=None, istream=None) 07:06:56 2024-09-02 07:06:55,963 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-673/.git/info/exclude 07:06:56 2024-09-02 07:06:55,963 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-673/.semver/PR-673 with force:False 07:06:56 2024-09-02 07:06:55,964 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-673/.semver/PR-673 07:06:56 2024-09-02 07:06:55,968 [execute] INFO git cat-file --batch-check 07:06:56 2024-09-02 07:06:55,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-673/.semver, universal_newlines=False, shell=None, istream=) 07:06:56 2024-09-02 07:06:55,975 [execute] INFO git cat-file --batch 07:06:56 2024-09-02 07:06:55,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-673/.semver, universal_newlines=False, shell=None, istream=) 07:06:56 2024-09-02 07:06:55,981 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-673/.semver/PR-673 07:06:56 0.0.0 [Pipeline] } 07:06:56 $ docker exec --env ******** --env ******** f5f486fe8ee86a12fa02e4f26309279e8b651336fab2ef8da77b5193e17b8bdf ssh-agent -k 07:06:56 unset SSH_AUTH_SOCK; 07:06:56 unset SSH_AGENT_PID; 07:06:56 echo Agent pid 78 killed; 07:06:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:06:56 + git semver [Pipeline] } 07:06:57 $ docker stop --time=1 f5f486fe8ee86a12fa02e4f26309279e8b651336fab2ef8da77b5193e17b8bdf 07:06:58 $ docker rm -f --volumes f5f486fe8ee86a12fa02e4f26309279e8b651336fab2ef8da77b5193e17b8bdf [Pipeline] // withDockerContainer [Pipeline] sh 07:06:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:06:58 Stashed 1 file(s) [Pipeline] echo 07:06:58 [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 07:06:59 provisioning config files... 07:06:59 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config1240003581850106120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:59 ---> ****-login.sh 07:06:59 nexus3.edgexfoundry.org:10001 07:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:59 Configure a credential helper to remove this warning. See 07:06:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:59 07:06:59 Login Succeeded 07:06:59 nexus3.edgexfoundry.org:10002 07:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:59 Configure a credential helper to remove this warning. See 07:06:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:59 07:06:59 Login Succeeded 07:06:59 nexus3.edgexfoundry.org:10003 07:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:59 Configure a credential helper to remove this warning. See 07:06:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:59 07:06:59 Login Succeeded 07:06:59 nexus3.edgexfoundry.org:10004 07:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:59 Configure a credential helper to remove this warning. See 07:06:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:59 07:06:59 Login Succeeded 07:06:59 ****.io 07:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:06:59 Configure a credential helper to remove this warning. See 07:06:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:06:59 07:06:59 Login Succeeded 07:06:59 ---> ****-login.sh ends [Pipeline] } 07:07:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:07:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:07:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:07:00 ========================================================= 07:07:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:07:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 07:07:00 Sending build context to Docker daemon 9.156MB 07:07:00 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 07:07:00 Step 2/12 : FROM ${BASE} AS builder 07:07:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:07:00 619be1103602: Pulling fs layer 07:07:00 7862e08f4a3e: Pulling fs layer 07:07:00 5df492c9dc93: Pulling fs layer 07:07:00 7629e6793208: Pulling fs layer 07:07:00 4f4fb700ef54: Pulling fs layer 07:07:00 fb5054dd5b73: Pulling fs layer 07:07:00 eeca6798cff9: Pulling fs layer 07:07:00 aa269ceb94a6: Pulling fs layer 07:07:00 ada007ff1a6a: Pulling fs layer 07:07:00 7629e6793208: Waiting 07:07:00 4f4fb700ef54: Waiting 07:07:00 fb5054dd5b73: Waiting 07:07:00 eeca6798cff9: Waiting 07:07:00 aa269ceb94a6: Waiting 07:07:00 ada007ff1a6a: Waiting 07:07:00 7862e08f4a3e: Download complete 07:07:00 7629e6793208: Verifying Checksum 07:07:00 7629e6793208: Download complete 07:07:00 4f4fb700ef54: Verifying Checksum 07:07:00 4f4fb700ef54: Download complete 07:07:00 fb5054dd5b73: Verifying Checksum 07:07:00 fb5054dd5b73: Download complete 07:07:00 619be1103602: Verifying Checksum 07:07:00 619be1103602: Download complete 07:07:00 eeca6798cff9: Verifying Checksum 07:07:00 eeca6798cff9: Download complete 07:07:00 619be1103602: Pull complete 07:07:01 7862e08f4a3e: Pull complete 07:07:01 ada007ff1a6a: Verifying Checksum 07:07:01 ada007ff1a6a: Download complete 07:07:01 5df492c9dc93: Verifying Checksum 07:07:01 5df492c9dc93: Download complete 07:07:01 aa269ceb94a6: Verifying Checksum 07:07:01 aa269ceb94a6: Download complete 07:07:04 5df492c9dc93: Pull complete 07:07:04 7629e6793208: Pull complete 07:07:04 4f4fb700ef54: Pull complete 07:07:04 fb5054dd5b73: Pull complete 07:07:04 eeca6798cff9: Pull complete 07:07:06 aa269ceb94a6: Pull complete 07:07:07 ada007ff1a6a: Pull complete 07:07:07 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:07:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:07:07 ---> f489d0715acc 07:07:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 07:07:13 ---> Running in eb1f4f5efe20 07:07:13 Removing intermediate container eb1f4f5efe20 07:07:13 ---> bf0330b3e6ef 07:07:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:07:13 ---> Running in a31680625511 07:07:13 Removing intermediate container a31680625511 07:07:13 ---> f17469b1a40e 07:07:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:07:13 ---> Running in d6feabbefc0c 07:07:13 Removing intermediate container d6feabbefc0c 07:07:13 ---> 0ff41201e41b 07:07:13 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:07:13 ---> Running in cc8a899f90af 07:07:14 Still waiting to schedule task 07:07:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:07:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:07:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:07:15 OK: 264 MiB in 52 packages 07:07:15 Removing intermediate container cc8a899f90af 07:07:15 ---> 1b01b74d1452 07:07:15 Step 7/12 : WORKDIR /app 07:07:16 ---> Running in 8f92b1745240 07:07:16 Removing intermediate container 8f92b1745240 07:07:16 ---> 64a3a02faff8 07:07:16 Step 8/12 : COPY go.mod vendor* ./ 07:07:16 ---> 74b1ecd1c1e0 07:07:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:07:16 ---> Running in 610f29cc1e1c 07:08:12 Removing intermediate container 610f29cc1e1c 07:08:12 ---> bcd2c60930be 07:08:12 Step 10/12 : COPY . . 07:08:12 ---> c0a286f2f393 07:08:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:08:12 ---> Running in 3f2dc74a5184 07:08:12 Removing intermediate container 3f2dc74a5184 07:08:12 ---> 77ccbc4fefc8 07:08:12 Step 12/12 : RUN $MAKE 07:08:12 ---> Running in 1f6c3856407a 07:08:12 noop 07:08:12 Removing intermediate container 1f6c3856407a 07:08:12 ---> 415f80ced6ff 07:08:12 Successfully built 415f80ced6ff 07:08:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:12 + docker inspect -f . ci-base-image-x86_64 07:08:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:12 prd-ubuntu20.04-docker-8c-8g-9176 does not seem to be running inside a container 07:08:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@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 07:08:13 $ docker top 08e1de46859fb80d2f8b90c1fc369791d0baff030d674e09813ec89f63579192 -eo pid,comm [Pipeline] { [Pipeline] sh 07:08:13 + go version 07:08:13 go version go1.21.9 linux/amd64 [Pipeline] } 07:08:13 $ docker stop --time=1 08e1de46859fb80d2f8b90c1fc369791d0baff030d674e09813ec89f63579192 07:08:14 $ docker rm -f --volumes 08e1de46859fb80d2f8b90c1fc369791d0baff030d674e09813ec89f63579192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:15 + docker inspect -f . ci-base-image-x86_64 07:08:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:08:15 prd-ubuntu20.04-docker-8c-8g-9176 does not seem to be running inside a container 07:08:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@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 07:08:15 $ docker top 83384066e3e7328cc8bf46da7145a3870085f4c71c58b9c41347d9c4fe0b3b39 -eo pid,comm [Pipeline] { [Pipeline] sh 07:08:16 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-673 [Pipeline] fileExists [Pipeline] sh 07:08:16 + make test 07:08:16 go test -race -coverprofile=coverage.out ./... 07:08:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 07:08:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9177 in /w/workspace/_app-service-configurable_PR-673 [Pipeline] { [Pipeline] ws 07:08:54 Running in /w/workspace/app-service-configurable/5 [Pipeline] { [Pipeline] checkout 07:08:57 The recommended git tool is: git 07:09:04 using credential edgex-jenkins-ssh 07:09:04 Cloning the remote Git repository 07:09:04 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 07:09:04 > git init /w/workspace/app-service-configurable/5 # timeout=10 07:09:05 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 07:09:05 > git --version # timeout=10 07:09:05 > git --version # 'git version 2.25.1' 07:09:05 using GIT_SSH to set credentials SSH Credentials for GitHub 07:09:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:09:07 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 07:09:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:09:09 Merging remotes/origin/main commit 73e85768b09e7a901a474aca8d4c5663b6c61c92 into PR head commit 531a84fe61b33bfad3c12f641f08cd857ea08ca4 07:09:09 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 07:09:09 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 07:09:09 using GIT_SSH to set credentials SSH Credentials for GitHub 07:09:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/673/head:refs/remotes/origin/PR-673 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:09:09 > git config core.sparsecheckout # timeout=10 07:09:09 ERROR: Checkout failed 07:09:09 hudson.plugins.git.GitException: Command "git checkout -f 531a84fe61b33bfad3c12f641f08cd857ea08ca4" returned status code 128: 07:09:09 stdout: 07:09:09 stderr: fatal: reference is not a tree: 531a84fe61b33bfad3c12f641f08cd857ea08ca4 07:09:09 07:09:09 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2846) 07:09:09 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3174) 07:09:09 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to prd-ubuntu20.04-docker-arm64-4c-16g-9177 07:09:09 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787) 07:09:09 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) 07:09:09 at hudson.remoting.Channel.call(Channel.java:1003) 07:09:09 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:153) 07:09:09 at jdk.internal.reflect.GeneratedMethodAccessor684.invoke(Unknown Source) 07:09:09 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 07:09:09 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 07:09:09 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:138) 07:09:09 at com.sun.proxy.$Proxy230.execute(Unknown Source) 07:09:09 at jenkins.plugins.git.MergeWithGitSCMExtension.checkout(MergeWithGitSCMExtension.java:144) 07:09:09 at jenkins.plugins.git.MergeWithGitSCMExtension.decorateRevisionToBuild(MergeWithGitSCMExtension.java:110) 07:09:09 at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1162) 07:09:09 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1306) 07:09:09 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136) 07:09:09 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101) 07:09:09 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88) 07:09:09 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) 07:09:09 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 07:09:09 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 07:09:09 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 07:09:09 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 07:09:09 at java.base/java.lang.Thread.run(Thread.java:829) 07:09:09 Caused: hudson.plugins.git.GitException: Could not checkout 531a84fe61b33bfad3c12f641f08cd857ea08ca4 07:09:09 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3202) 07:09:09 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:170) 07:09:09 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161) 07:09:09 at hudson.remoting.UserRequest.perform(UserRequest.java:211) 07:09:09 at hudson.remoting.UserRequest.perform(UserRequest.java:54) 07:09:09 at hudson.remoting.Request$2.run(Request.java:377) 07:09:09 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) 07:09:09 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 07:09:09 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 07:09:09 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 07:09:09 at java.base/java.lang.Thread.run(Thread.java:829) 07:09:09 ERROR: Maximum checkout retry attempts reached, aborting [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:09:09 Failed in branch arm64 07:09:09 > git checkout -f 531a84fe61b33bfad3c12f641f08cd857ea08ca4 # timeout=10 07:09:14 go vet ./... 07:09:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:09:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:09:18 ./bin/test-attribution-txt.sh 07:09:18 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 07:09:18 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 07:09:18 An attribution for github.com/jackc/pgerrcode is missing from Attribution.txt, please add 07:09:18 An attribution for github.com/jackc/pgpassfile is missing from Attribution.txt, please add 07:09:18 An attribution for github.com/jackc/pgservicefile is missing from Attribution.txt, please add 07:09:18 An attribution for github.com/jackc/pgx/v5 is missing from Attribution.txt, please add 07:09:18 An attribution for github.com/jackc/puddle/v2 is missing from Attribution.txt, please add 07:09:18 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [Pipeline] echo 07:09:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:09:18 $ docker stop --time=1 83384066e3e7328cc8bf46da7145a3870085f4c71c58b9c41347d9c4fe0b3b39 07:09:22 $ docker rm -f --volumes 83384066e3e7328cc8bf46da7145a3870085f4c71c58b9c41347d9c4fe0b3b39 [Pipeline] // withDockerContainer [Pipeline] sh 07:09:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:09:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:09:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:09:23 + ls -al . 07:09:23 total 264 07:09:23 drwxrwxr-x 7 jenkins jenkins 4096 Sep 2 07:08 . 07:09:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 07:06 .. 07:09:23 -rw-rw-r-- 1 jenkins jenkins 119 Sep 2 07:06 .dockerignore 07:09:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 07:08 .git 07:09:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 07:06 .github 07:09:23 -rw-rw-r-- 1 jenkins jenkins 106 Sep 2 07:06 .gitignore 07:09:23 -rw-rw-r-- 1 jenkins jenkins 41 Sep 2 07:06 .golangci.yml 07:09:23 drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 07:06 .semver 07:09:23 -rw-rw-r-- 1 jenkins jenkins 18981 Sep 2 07:06 Attribution.txt 07:09:23 -rw-rw-r-- 1 jenkins jenkins 37263 Sep 2 07:06 CHANGELOG.md 07:09:23 -rw-rw-r-- 1 jenkins jenkins 2007 Sep 2 07:06 Dockerfile 07:09:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 07:06 GOVERNANCE.md 07:09:23 -rw-rw-r-- 1 jenkins jenkins 666 Sep 2 07:06 Jenkinsfile 07:09:23 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 2 07:06 LICENSE 07:09:23 -rw-rw-r-- 1 jenkins jenkins 618 Sep 2 07:06 OWNERS.md 07:09:23 -rw-rw-r-- 1 jenkins jenkins 4582 Sep 2 07:06 README.md 07:09:23 -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 07:06 VERSION 07:09:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 07:06 bin 07:09:23 -rw-r--r-- 1 jenkins jenkins 13 Sep 2 07:08 coverage.out 07:09:23 -rw-rw-r-- 1 jenkins jenkins 7341 Sep 2 07:06 go.mod 07:09:23 -rw-rw-r-- 1 jenkins jenkins 102419 Sep 2 07:06 go.sum 07:09:23 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 2 07:06 main.go 07:09:23 -rw-rw-r-- 1 jenkins jenkins 2572 Sep 2 07:06 makefile 07:09:23 drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 07:06 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:23 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=531a84fe61b33bfad3c12f641f08cd857ea08ca4 --label arch=amd64 --label version=0.0.0 . 07:09:23 Sending build context to Docker daemon 9.157MB 07:09:23 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 07:09:23 Step 2/27 : FROM ${BASE} AS builder 07:09:23 ---> 415f80ced6ff 07:09:23 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 07:09:23 ---> Running in a7eeb1bb7e56 07:09:24 Removing intermediate container a7eeb1bb7e56 07:09:24 ---> 033f878eabb9 07:09:24 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 07:09:24 ---> Running in e15b71b24a1e 07:09:24 Removing intermediate container e15b71b24a1e 07:09:24 ---> 92c58561be2a 07:09:24 Step 5/27 : ARG ADD_BUILD_TAGS="" 07:09:24 ---> Running in 43b0e1f7067a 07:09:24 Removing intermediate container 43b0e1f7067a 07:09:24 ---> aa0f0e6046c3 07:09:24 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:09:24 ---> Running in 311fb358513a 07:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:09:25 OK: 264 MiB in 52 packages 07:09:25 Removing intermediate container 311fb358513a 07:09:25 ---> 1331bb286c57 07:09:25 Step 7/27 : WORKDIR /app 07:09:25 ---> Running in 371434db0c11 07:09:25 Removing intermediate container 371434db0c11 07:09:25 ---> 91a990d47c1a 07:09:25 Step 8/27 : COPY go.mod vendor* ./ 07:09:25 ---> 987c3f1b0ca1 07:09:25 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:09:25 ---> Running in 508b6ff009b5 07:09:26 Removing intermediate container 508b6ff009b5 07:09:26 ---> cd8fe205a2b2 07:09:26 Step 10/27 : COPY . . 07:09:26 ---> c08eeb3199e0 07:09:26 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:09:26 ---> Running in cccef17fd1c5 07:09:26 Removing intermediate container cccef17fd1c5 07:09:26 ---> 639281bce6b4 07:09:26 Step 12/27 : RUN $MAKE 07:09:26 ---> Running in 1dc6f58a1304 07:09:26 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.49 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 07:09:53 Removing intermediate container 1dc6f58a1304 07:09:53 ---> 4070d4659ece 07:09:53 Step 13/27 : FROM alpine:3.18 07:09:53 3.18: Pulling from library/alpine 07:09:53 930bdd4d222e: Pulling fs layer 07:09:53 930bdd4d222e: Verifying Checksum 07:09:53 930bdd4d222e: Download complete 07:09:53 930bdd4d222e: Pull complete 07:09:53 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 07:09:53 Status: Downloaded newer image for alpine:3.18 07:09:53 ---> 18f865063206 07:09:53 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:09:53 ---> Running in 42965f5228a6 07:09:53 Removing intermediate container 42965f5228a6 07:09:53 ---> 03101d2a3792 07:09:53 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 07:09:53 ---> Running in a41deb6a77a7 07:09:53 Removing intermediate container a41deb6a77a7 07:09:53 ---> 1c51d52d4c97 07:09:53 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 07:09:53 ---> Running in 0b698c73c0df 07:09:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:09:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:09:54 (1/2) Installing ca-certificates (20240226-r0) 07:09:54 (2/2) Installing dumb-init (1.2.5-r2) 07:09:54 Executing busybox-1.36.1-r7.trigger 07:09:54 Executing ca-certificates-20240226-r0.trigger 07:09:54 OK: 8 MiB in 17 packages 07:09:54 Removing intermediate container 0b698c73c0df 07:09:54 ---> e92596b755e0 07:09:54 Step 17/27 : RUN apk --no-cache upgrade 07:09:54 ---> Running in 1f64f5963f9e 07:09:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:09:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:09:55 OK: 8 MiB in 17 packages 07:09:55 Removing intermediate container 1f64f5963f9e 07:09:55 ---> 3102e15a72fe 07:09:55 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 07:09:55 ---> 117902d4a49c 07:09:55 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 07:09:55 ---> 3eab50874f78 07:09:55 Step 20/27 : COPY --from=builder /app/res/ /res/ 07:09:55 ---> 27e706805c0c 07:09:55 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 07:09:56 ---> 3ccc3b749519 07:09:56 Step 22/27 : EXPOSE 48095 07:09:56 ---> Running in 81b613f12fd8 07:09:56 Removing intermediate container 81b613f12fd8 07:09:56 ---> e4f81e1bbd61 07:09:56 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 07:09:56 ---> Running in 3218942ba4b7 07:09:56 Removing intermediate container 3218942ba4b7 07:09:56 ---> 38878ad1ed44 07:09:56 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:09:56 ---> Running in db3d19e1d48e 07:09:56 Removing intermediate container db3d19e1d48e 07:09:56 ---> 1c2d494abfc3 07:09:56 Step 25/27 : LABEL arch=amd64 07:09:56 ---> Running in e49b2a8d3b98 07:09:56 Removing intermediate container e49b2a8d3b98 07:09:56 ---> 70672c720245 07:09:56 Step 26/27 : LABEL git_sha=531a84fe61b33bfad3c12f641f08cd857ea08ca4 07:09:56 ---> Running in 787bd2226112 07:09:56 Removing intermediate container 787bd2226112 07:09:56 ---> 9e3e0a68a230 07:09:56 Step 27/27 : LABEL version=0.0.0 07:09:56 ---> Running in 2ba74e3e0bac 07:09:56 Removing intermediate container 2ba74e3e0bac 07:09:56 ---> 2863fdf7ebe7 07:09:56 [Warning] One or more build-args [ARCH] were not consumed 07:09:56 Successfully built 2863fdf7ebe7 07:09:56 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:09:57 07:09:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:09:57 latest: Pulling from edgex-lftools-log-publisher 07:09:57 5eb5b503b376: Pulling fs layer 07:09:57 5c69ac0246d0: Pulling fs layer 07:09:57 ec43610c2a17: Pulling fs layer 07:09:57 3a2ae6a8a46f: Pulling fs layer 07:09:57 33b1e0a273af: Pulling fs layer 07:09:57 5d3b04190fa2: Pulling fs layer 07:09:57 2f39f015ded8: Pulling fs layer 07:09:57 33b1e0a273af: Waiting 07:09:57 3a2ae6a8a46f: Waiting 07:09:57 5d3b04190fa2: Waiting 07:09:57 2f39f015ded8: Waiting 07:09:57 5c69ac0246d0: Download complete 07:09:57 3a2ae6a8a46f: Verifying Checksum 07:09:57 3a2ae6a8a46f: Download complete 07:09:57 33b1e0a273af: Verifying Checksum 07:09:57 33b1e0a273af: Download complete 07:09:57 5d3b04190fa2: Verifying Checksum 07:09:57 ec43610c2a17: Verifying Checksum 07:09:57 ec43610c2a17: Download complete 07:09:57 5eb5b503b376: Verifying Checksum 07:09:57 5eb5b503b376: Download complete 07:09:58 2f39f015ded8: Download complete 07:09:59 5eb5b503b376: Pull complete 07:09:59 5c69ac0246d0: Pull complete 07:09:59 ec43610c2a17: Pull complete 07:09:59 3a2ae6a8a46f: Pull complete 07:09:59 33b1e0a273af: Pull complete 07:09:59 5d3b04190fa2: Pull complete 07:10:04 2f39f015ded8: Pull complete 07:10:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:10:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:04 prd-ubuntu20.04-docker-8c-8g-9176 does not seem to be running inside a container 07:10:04 $ 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-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@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 07:10:05 $ docker top aa7e28bee7273e7eff622c4cef2964cdfb9aa3e8c9eefdc905e3923f993f426e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:05 ---> job-cost.sh 07:10:05 lf-activate-venv: SKIPPING 07:10:05 INFO: No Stack... 07:10:06 INFO: Retrieving Pricing Info for: v3-standard-8 07:10:06 INFO: Archiving Costs [Pipeline] sh 07:10:06 + cat /w/workspace/_app-service-configurable_PR-673/archives/cost.csv 07:10:06 + cut -d, -f6 [Pipeline] lock 07:10:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-5-stack-cost] 07:10:06 Resource [jenkins-edgexfoundry-app-service-configurable-PR-673-5-stack-cost] did not exist. Created. 07:10:06 Lock acquired on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:10:07 + echo total: 0.2199999988079071 [Pipeline] stash 07:10:07 Stashed 1 file(s) [Pipeline] } 07:10:07 Lock released on resource [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-5-stack-cost] [Pipeline] // lock [Pipeline] } 07:10:07 $ docker stop --time=1 aa7e28bee7273e7eff622c4cef2964cdfb9aa3e8c9eefdc905e3923f993f426e 07:10:08 $ docker rm -f --volumes aa7e28bee7273e7eff622c4cef2964cdfb9aa3e8c9eefdc905e3923f993f426e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:10:09 + [ -d /w/workspace/_app-service-configurable_PR-673/archives ] 07:10:09 + ls -al /w/workspace/_app-service-configurable_PR-673/archives 07:10:09 total 16 07:10:09 drwxr-xr-x 3 root root 4096 Sep 2 07:10 . 07:10:09 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 07:10 .. 07:10:09 drwxr-xr-x 2 root root 4096 Sep 2 07:10 cost 07:10:09 -rw-r--r-- 1 root root 96 Sep 2 07:10 cost.csv 07:10:09 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-673/archives 07:10:09 + ls -al /w/workspace/_app-service-configurable_PR-673/archives 07:10:09 total 16 07:10:09 drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 07:10 . 07:10:09 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 07:10 .. 07:10:09 drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 07:10 cost 07:10:09 -rw-r--r-- 1 jenkins jenkins 96 Sep 2 07:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:10:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:10:10 ---> package-listing.sh 07:10:10 ++ tr '[:upper:]' '[:lower:]' 07:10:10 ++ facter osfamily 07:10:10 + OS_FAMILY=debian 07:10:10 + workspace=/w/workspace/_app-service-configurable_PR-673 07:10:10 + START_PACKAGES=/tmp/packages_start.txt 07:10:10 + END_PACKAGES=/tmp/packages_end.txt 07:10:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:10:10 + PACKAGES=/tmp/packages_start.txt 07:10:10 + '[' /w/workspace/_app-service-configurable_PR-673 ']' 07:10:10 + PACKAGES=/tmp/packages_end.txt 07:10:10 + case "${OS_FAMILY}" in 07:10:10 + dpkg -l 07:10:10 + grep '^ii' 07:10:10 + '[' -f /tmp/packages_start.txt ']' 07:10:10 + '[' -f /tmp/packages_end.txt ']' 07:10:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:10:10 + '[' /w/workspace/_app-service-configurable_PR-673 ']' 07:10:10 + mkdir -p /w/workspace/_app-service-configurable_PR-673/archives/ 07:10:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-673/archives/ [Pipeline] echo 07:10:10 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/_app-service-configurable_PR-673/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:10:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:11 prd-ubuntu20.04-docker-8c-8g-9176 does not seem to be running inside a container 07:10:11 $ 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/_app-service-configurable_PR-673/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@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 07:10:11 $ docker top 8a1d697e1a404d931cc0b08fc4e34e8ed9ecce7767f5542f41a80909022c624f -eo pid,comm [Pipeline] { [Pipeline] sh 07:10:12 + touch /tmp/pre-build-complete [Pipeline] sh 07:10:12 + mkdir -p /var/log/sysstat [Pipeline] sh 07:10:12 + ls /var/log/sa-host 07:10:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:10:12 provisioning config files... 07:10:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config9468458774327273413tmp [Pipeline] { [Pipeline] echo 07:10:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:10:13 ---> create-netrc.sh [Pipeline] } 07:10:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:10:13 ---> python-tools-install.sh [Pipeline] echo 07:10:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:10:13 ---> sudo-logs.sh 07:10:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:10:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:10:14 ---> job-cost.sh 07:10:14 lf-activate-venv: SKIPPING 07:10:14 DEBUG: total: 0.2199999988079071 07:10:14 INFO: Retrieving Stack Cost... 07:10:14 INFO: Retrieving Pricing Info for: v3-standard-8 07:10:14 INFO: Archiving Costs [Pipeline] echo 07:10:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:10:14 ---> logs-deploy.sh 07:10:14 lf-activate-venv: SKIPPING 07:10:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-673/5 07:10:14 INFO: archiving workspace using pattern(s): 07:10:15 Archives upload complete. 07:10:15 INFO: archiving logs to Nexus