Pull request #652 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 dovholuknf for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 12f51fb56db6afac364da0950132dcdd9009b0ed rather than 351eacf3674c3ce555b22653a5c30e6352076e2e Obtained Jenkinsfile from 12f51fb56db6afac364da0950132dcdd9009b0ed 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-ssh2615588096454553714.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11628658748839727007.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-652/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-652/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17513452255013846029.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh4829930240845919519.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-652/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-652/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2102457233817412398.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-578 in /w/workspace/_app-service-configurable_PR-652 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-652 # 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/652/head:refs/remotes/origin/PR-652 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 12f51fb56db6afac364da0950132dcdd9009b0ed into PR head commit 351eacf3674c3ce555b22653a5c30e6352076e2e Merge succeeded, producing 351eacf3674c3ce555b22653a5c30e6352076e2e Checking out Revision 351eacf3674c3ce555b22653a5c30e6352076e2e (PR-652) > git config core.sparsecheckout # timeout=10 > git checkout -f 351eacf3674c3ce555b22653a5c30e6352076e2e # 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 12f51fb56db6afac364da0950132dcdd9009b0ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 351eacf3674c3ce555b22653a5c30e6352076e2e # timeout=10 Commit message: "fix: settings come from app-services now" > git rev-list --no-walk cc7c91f6e5c01dcd8f87a7330bc05a0bc1f0b961 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:00:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:00:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:00:28 ========================================================= 14:00:28 EdgeX Global Pipelines Version Info 14:00:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:00:28 ------------------- 14:00:28 stable info: 14:00:28 ------------------- 14:00:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:00:28 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 14:00:28 Message: update stable to v1.0.258 14:00:29 ------------------- 14:00:29 experimental info: 14:00:29 ------------------- 14:00:29 Commited By: **** collab-it+edgex@linuxfoundation.org 14:00:29 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 14:00:29 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:00:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 14:00:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 14:00:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:00:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:00:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:00:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 14:00:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:00:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-652 [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-652 [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-652 [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 351eacf3674c3ce555b22653a5c30e6352076e2e [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 351eacf [Pipeline] echo 14:00:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:00:30 provisioning config files... 14:00:30 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-652@tmp/config9553899891541545573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:30 ---> ****-login.sh 14:00:30 nexus3.edgexfoundry.org:10001 14:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:31 Configure a credential helper to remove this warning. See 14:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:31 14:00:31 Login Succeeded 14:00:31 nexus3.edgexfoundry.org:10002 14:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:31 Configure a credential helper to remove this warning. See 14:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:31 14:00:31 Login Succeeded 14:00:31 nexus3.edgexfoundry.org:10003 14:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:31 Configure a credential helper to remove this warning. See 14:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:31 14:00:31 Login Succeeded 14:00:31 nexus3.edgexfoundry.org:10004 14:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:31 Configure a credential helper to remove this warning. See 14:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:31 14:00:31 Login Succeeded 14:00:31 ****.io 14:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:31 Configure a credential helper to remove this warning. See 14:00:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:31 14:00:31 Login Succeeded 14:00:31 ---> ****-login.sh ends [Pipeline] } 14:00:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:00:32 + git rev-list -1 --merges 351eacf3674c3ce555b22653a5c30e6352076e2e~1..351eacf3674c3ce555b22653a5c30e6352076e2e [Pipeline] echo 14:00:32 -----------> git rev-list -1 --merges 351eacf3674c3ce555b22653a5c30e6352076e2e~1..351eacf3674c3ce555b22653a5c30e6352076e2e 351eacf3674c3ce555b22653a5c30e6352076e2e [false] [Pipeline] sh 14:00:32 + git log --format=format:%s -1 351eacf3674c3ce555b22653a5c30e6352076e2e [Pipeline] echo 14:00:32 ========================================================= 14:00:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:00:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:00:33 + git log --format=format:%s -1 351eacf3674c3ce555b22653a5c30e6352076e2e [Pipeline] echo 14:00:33 [semverPrep] GIT_COMMIT: 351eacf3674c3ce555b22653a5c30e6352076e2e, Commit Message: fix: settings come from app-services now [Pipeline] echo 14:00:33 [semverPrep] This is not a build commit. [Pipeline] sh 14:00:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:00:33 + grep -v github /etc/ssh/ssh_known_hosts 14:00:33 + [ -e /tmp/ssh_known_hosts ] 14:00:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:00:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:00:33 + sudo tee -a /etc/ssh/ssh_known_hosts 14:00:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:00:33 14:00:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:00:34 0.1.4: Pulling from edgex-devops/py-git-semver 14:00:34 b85a868b505f: Pulling fs layer 14:00:34 e2be974225ed: Pulling fs layer 14:00:34 339a4e72a1f5: Pulling fs layer 14:00:34 988bab9f4d93: Pulling fs layer 14:00:34 1469e6f7b9e6: Pulling fs layer 14:00:34 eaf3925da568: Pulling fs layer 14:00:34 bab4dde63d76: Pulling fs layer 14:00:34 bde34c3a00c8: Pulling fs layer 14:00:34 b352a97aabf1: Pulling fs layer 14:00:34 4872d77fe225: Pulling fs layer 14:00:34 5851b861e8e6: Pulling fs layer 14:00:34 bab4dde63d76: Waiting 14:00:34 bde34c3a00c8: Waiting 14:00:34 b352a97aabf1: Waiting 14:00:34 4872d77fe225: Waiting 14:00:34 5851b861e8e6: Waiting 14:00:34 1469e6f7b9e6: Waiting 14:00:34 988bab9f4d93: Waiting 14:00:34 eaf3925da568: Waiting 14:00:34 e2be974225ed: Verifying Checksum 14:00:34 e2be974225ed: Download complete 14:00:34 988bab9f4d93: Verifying Checksum 14:00:34 988bab9f4d93: Download complete 14:00:34 1469e6f7b9e6: Verifying Checksum 14:00:34 1469e6f7b9e6: Download complete 14:00:34 eaf3925da568: Verifying Checksum 14:00:34 eaf3925da568: Download complete 14:00:34 339a4e72a1f5: Verifying Checksum 14:00:34 339a4e72a1f5: Download complete 14:00:34 bde34c3a00c8: Download complete 14:00:34 b352a97aabf1: Download complete 14:00:34 4872d77fe225: Download complete 14:00:34 5851b861e8e6: Verifying Checksum 14:00:34 5851b861e8e6: Download complete 14:00:34 b85a868b505f: Verifying Checksum 14:00:34 b85a868b505f: Download complete 14:00:34 bab4dde63d76: Verifying Checksum 14:00:34 bab4dde63d76: Download complete 14:00:35 b85a868b505f: Pull complete 14:00:36 e2be974225ed: Pull complete 14:00:36 339a4e72a1f5: Pull complete 14:00:36 988bab9f4d93: Pull complete 14:00:36 1469e6f7b9e6: Pull complete 14:00:36 eaf3925da568: Pull complete 14:00:38 bab4dde63d76: Pull complete 14:00:38 bde34c3a00c8: Pull complete 14:00:38 b352a97aabf1: Pull complete 14:00:39 4872d77fe225: Pull complete 14:00:39 5851b861e8e6: Pull complete 14:00:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:00:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:00:39 prd-ubuntu20.04-docker-8c-8g-578 does not seem to be running inside a container 14:00:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-652 -v /w/workspace/_app-service-configurable_PR-652:/w/workspace/_app-service-configurable_PR-652:rw,z -v /w/workspace/_app-service-configurable_PR-652@tmp:/w/workspace/_app-service-configurable_PR-652@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:00:42 $ docker top dfa594643eb5c8d5c83e8c658c08d15bebc0e35b073b45e027b1242c276dc1c7 -eo pid,comm 14:00:42 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). 14:00:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:00:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:00:42 [ssh-agent] Looking for ssh-agent implementation... 14:00:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:00:42 $ docker exec dfa594643eb5c8d5c83e8c658c08d15bebc0e35b073b45e027b1242c276dc1c7 ssh-agent 14:00:43 SSH_AUTH_SOCK=/tmp/ssh-qOwqvqvduchj/agent.31 14:00:43 SSH_AGENT_PID=37 14:00:43 Running ssh-add (command line suppressed) 14:00:43 Identity added: /w/workspace/_app-service-configurable_PR-652@tmp/private_key_18316441357141273758.key (/w/workspace/_app-service-configurable_PR-652@tmp/private_key_18316441357141273758.key) 14:00:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:00:43 + git tag --points-at HEAD [Pipeline] } 14:00:43 $ docker exec --env ******** --env ******** dfa594643eb5c8d5c83e8c658c08d15bebc0e35b073b45e027b1242c276dc1c7 ssh-agent -k 14:00:43 unset SSH_AUTH_SOCK; 14:00:43 unset SSH_AGENT_PID; 14:00:43 echo Agent pid 37 killed; 14:00:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:00:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:00:43 [ssh-agent] Looking for ssh-agent implementation... 14:00:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:00:43 $ docker exec dfa594643eb5c8d5c83e8c658c08d15bebc0e35b073b45e027b1242c276dc1c7 ssh-agent 14:00:43 SSH_AUTH_SOCK=/tmp/ssh-7BPX04NpBWva/agent.70 14:00:43 SSH_AGENT_PID=76 14:00:43 Running ssh-add (command line suppressed) 14:00:44 Identity added: /w/workspace/_app-service-configurable_PR-652@tmp/private_key_8419714580520151063.key (/w/workspace/_app-service-configurable_PR-652@tmp/private_key_8419714580520151063.key) 14:00:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:00:44 + git semver init 14:00:44 2024-03-21 14:00:44,483 [run_init] DEBUG init version:0.0.0 force:False 14:00:44 2024-03-21 14:00:44,484 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-652/.semver 14:00:44 2024-03-21 14:00:44,484 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-652/.semver 14:00:44 2024-03-21 14:00:44,485 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-652/.semver'], cwd=/w/workspace/_app-service-configurable_PR-652, universal_newlines=False, shell=None, istream=None) 14:00:45 2024-03-21 14:00:45,634 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-652/.git/info/exclude 14:00:45 2024-03-21 14:00:45,635 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-652/.semver/PR-652 with force:False 14:00:45 2024-03-21 14:00:45,635 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-652/.semver/PR-652 14:00:45 2024-03-21 14:00:45,640 [execute] INFO git cat-file --batch-check 14:00:45 2024-03-21 14:00:45,640 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-652/.semver, universal_newlines=False, shell=None, istream=) 14:00:45 2024-03-21 14:00:45,646 [execute] INFO git cat-file --batch 14:00:45 2024-03-21 14:00:45,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-652/.semver, universal_newlines=False, shell=None, istream=) 14:00:45 2024-03-21 14:00:45,651 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-652/.semver/PR-652 14:00:45 0.0.0 [Pipeline] } 14:00:45 $ docker exec --env ******** --env ******** dfa594643eb5c8d5c83e8c658c08d15bebc0e35b073b45e027b1242c276dc1c7 ssh-agent -k 14:00:46 unset SSH_AUTH_SOCK; 14:00:46 unset SSH_AGENT_PID; 14:00:46 echo Agent pid 76 killed; 14:00:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:00:46 + git semver [Pipeline] } 14:00:46 $ docker stop --time=1 dfa594643eb5c8d5c83e8c658c08d15bebc0e35b073b45e027b1242c276dc1c7 14:00:47 $ docker rm -f --volumes dfa594643eb5c8d5c83e8c658c08d15bebc0e35b073b45e027b1242c276dc1c7 [Pipeline] // withDockerContainer [Pipeline] sh 14:00:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:00:48 Stashed 1 file(s) [Pipeline] echo 14:00: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 14:00:48 provisioning config files... 14:00:48 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-652@tmp/config12683741899025648786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:00:49 ---> ****-login.sh 14:00:49 nexus3.edgexfoundry.org:10001 14:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:49 Configure a credential helper to remove this warning. See 14:00:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:49 14:00:49 Login Succeeded 14:00:49 nexus3.edgexfoundry.org:10002 14:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:49 Configure a credential helper to remove this warning. See 14:00:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:49 14:00:49 Login Succeeded 14:00:49 nexus3.edgexfoundry.org:10003 14:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:49 Configure a credential helper to remove this warning. See 14:00:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:49 14:00:49 Login Succeeded 14:00:49 nexus3.edgexfoundry.org:10004 14:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:49 Configure a credential helper to remove this warning. See 14:00:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:49 14:00:49 Login Succeeded 14:00:49 ****.io 14:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:00:49 Configure a credential helper to remove this warning. See 14:00:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:00:49 14:00:49 Login Succeeded 14:00:49 ---> ****-login.sh ends [Pipeline] } 14:00:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:00:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:00:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:00:49 ========================================================= 14:00:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 14:00:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:50 + 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 . 14:00:50 Sending build context to Docker daemon 8.894MB 14:00:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:00:50 Step 2/12 : FROM ${BASE} AS builder 14:00:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 14:00:50 7264a8db6415: Pulling fs layer 14:00:50 c4d48a809fc2: Pulling fs layer 14:00:50 4f1c88b9dad5: Pulling fs layer 14:00:50 ad3a456e5733: Pulling fs layer 14:00:50 69c7f0334f64: Pulling fs layer 14:00:50 1f1c1a5573a3: Pulling fs layer 14:00:50 ce7588e14bc9: Pulling fs layer 14:00:50 b5e4710f87ac: Pulling fs layer 14:00:50 69c7f0334f64: Waiting 14:00:50 1f1c1a5573a3: Waiting 14:00:50 ce7588e14bc9: Waiting 14:00:50 b5e4710f87ac: Waiting 14:00:50 ad3a456e5733: Waiting 14:00:50 c4d48a809fc2: Download complete 14:00:50 ad3a456e5733: Verifying Checksum 14:00:50 ad3a456e5733: Download complete 14:00:50 69c7f0334f64: Download complete 14:00:50 7264a8db6415: Verifying Checksum 14:00:50 7264a8db6415: Download complete 14:00:50 1f1c1a5573a3: Verifying Checksum 14:00:50 1f1c1a5573a3: Download complete 14:00:50 7264a8db6415: Pull complete 14:00:50 b5e4710f87ac: Verifying Checksum 14:00:50 b5e4710f87ac: Download complete 14:00:50 c4d48a809fc2: Pull complete 14:00:50 4f1c88b9dad5: Verifying Checksum 14:00:50 4f1c88b9dad5: Download complete 14:00:51 ce7588e14bc9: Verifying Checksum 14:00:51 ce7588e14bc9: Download complete 14:00:53 4f1c88b9dad5: Pull complete 14:00:53 ad3a456e5733: Pull complete 14:00:53 69c7f0334f64: Pull complete 14:00:53 1f1c1a5573a3: Pull complete 14:00:56 ce7588e14bc9: Pull complete 14:00:56 b5e4710f87ac: Pull complete 14:00:56 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 14:00:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 14:00:56 ---> 88b5674ff536 14:00:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 14:01:03 ---> Running in 1bb968d018f5 14:01:03 Removing intermediate container 1bb968d018f5 14:01:03 ---> a3b4939aa06e 14:01:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:01:03 ---> Running in 1ac297ccca46 14:01:03 Removing intermediate container 1ac297ccca46 14:01:03 ---> 39815faecb91 14:01:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:01:03 ---> Running in 67ce10c2d688 14:01:03 Removing intermediate container 67ce10c2d688 14:01:03 ---> bef2afe6ba79 14:01:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:01:03 ---> Running in 4eb25e6ce9b1 14:01:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:01:03 Still waiting to schedule task 14:01:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:01:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:01:04 OK: 264 MiB in 52 packages 14:01:04 Removing intermediate container 4eb25e6ce9b1 14:01:04 ---> 902a84588c59 14:01:04 Step 7/12 : WORKDIR /app 14:01:04 ---> Running in aca90231502b 14:01:04 Removing intermediate container aca90231502b 14:01:04 ---> 6a59741e4b37 14:01:04 Step 8/12 : COPY go.mod vendor* ./ 14:01:04 ---> f8d501127048 14:01:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:01:04 ---> Running in d08fed94392c 14:02:12 Removing intermediate container d08fed94392c 14:02:12 ---> 0730a05c29ac 14:02:12 Step 10/12 : COPY . . 14:02:12 ---> 4e11bee18a26 14:02:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:02:12 ---> Running in 5b8ba26648bf 14:02:12 Removing intermediate container 5b8ba26648bf 14:02:12 ---> 1acf33f1407b 14:02:12 Step 12/12 : RUN $MAKE 14:02:12 ---> Running in c3f70c1fe1eb 14:02:12 noop 14:02:12 Removing intermediate container c3f70c1fe1eb 14:02:12 ---> f4ba5bb2982c 14:02:12 Successfully built f4ba5bb2982c 14:02:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:12 + docker inspect -f . ci-base-image-x86_64 14:02:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:12 prd-ubuntu20.04-docker-8c-8g-578 does not seem to be running inside a container 14:02:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-652 -v /w/workspace/_app-service-configurable_PR-652:/w/workspace/_app-service-configurable_PR-652:rw,z -v /w/workspace/_app-service-configurable_PR-652@tmp:/w/workspace/_app-service-configurable_PR-652@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:02:13 $ docker top ac9331e6bcc34399f15fc8ff8af9f21a48ef851961992189f87bd0227f747ceb -eo pid,comm [Pipeline] { [Pipeline] sh 14:02:13 + go version 14:02:13 go version go1.21.0 linux/amd64 [Pipeline] } 14:02:13 $ docker stop --time=1 ac9331e6bcc34399f15fc8ff8af9f21a48ef851961992189f87bd0227f747ceb 14:02:14 $ docker rm -f --volumes ac9331e6bcc34399f15fc8ff8af9f21a48ef851961992189f87bd0227f747ceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:15 + docker inspect -f . ci-base-image-x86_64 14:02:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:15 prd-ubuntu20.04-docker-8c-8g-578 does not seem to be running inside a container 14:02: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-652 -v /w/workspace/_app-service-configurable_PR-652:/w/workspace/_app-service-configurable_PR-652:rw,z -v /w/workspace/_app-service-configurable_PR-652@tmp:/w/workspace/_app-service-configurable_PR-652@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:02:15 $ docker top 295c6ebcf606f35e73af5a351bdd7cdbeded9fda3ed7fb661011f7f616f4f0cb -eo pid,comm [Pipeline] { [Pipeline] sh 14:02:16 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-652 [Pipeline] fileExists [Pipeline] sh 14:02:16 + make test 14:02:16 go test -race -coverprofile=coverage.out ./... 14:02:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-579 in /w/workspace/_app-service-configurable_PR-652 [Pipeline] { [Pipeline] ws 14:02:35 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 14:02:38 Selected Git installation does not exist. Using Default 14:02:38 The recommended git tool is: NONE 14:02:43 using credential edgex-jenkins-ssh 14:02:43 Cloning the remote Git repository 14:02:43 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 14:02:43 > git init /w/workspace/app-service-configurable/3 # timeout=10 14:02:43 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 14:02:43 > git --version # timeout=10 14:02:43 > git --version # 'git version 2.25.1' 14:02:43 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:02:45 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 14:02:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:02:47 Merging remotes/origin/main commit 12f51fb56db6afac364da0950132dcdd9009b0ed into PR head commit 351eacf3674c3ce555b22653a5c30e6352076e2e 14:02:46 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 14:02:46 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 14:02:46 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/652/head:refs/remotes/origin/PR-652 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:02:47 > git config core.sparsecheckout # timeout=10 14:02:47 Merge succeeded, producing 351eacf3674c3ce555b22653a5c30e6352076e2e 14:02:47 Checking out Revision 351eacf3674c3ce555b22653a5c30e6352076e2e (PR-652) 14:02:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 14:02:47 > git checkout -f 351eacf3674c3ce555b22653a5c30e6352076e2e # timeout=10 14:02:47 > git remote # timeout=10 14:02:47 > git config --get remote.origin.url # timeout=10 14:02:47 using GIT_SSH to set credentials SSH Credentials for GitHub 14:02:47 > git merge 12f51fb56db6afac364da0950132dcdd9009b0ed # timeout=10 14:02:47 > git rev-parse HEAD^{commit} # timeout=10 14:02:47 > git config core.sparsecheckout # timeout=10 14:02:47 > git checkout -f 351eacf3674c3ce555b22653a5c30e6352076e2e # timeout=10 14:02:51 Commit message: "fix: settings come from app-services now" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:02:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:02:52 % Total % Received % Xferd Average Speed Time Time Time Current 14:02:52 Dload Upload Total Spent Left Speed 14:02:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 85520 0 --:--:-- --:--:-- --:--:-- 86093 [Pipeline] sh 14:02:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:02:53 + sudo tee /etc/docker/daemon.new 14:02:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:02:53 { 14:02:53 "registry-mirrors": [ 14:02:53 "https://nexus3.edgexfoundry.org:10001" 14:02:53 ], 14:02:53 "bip": "10.250.0.254/24", 14:02:53 "hosts": [ 14:02:53 "tcp://0.0.0.0:5555", 14:02:53 "unix:///var/run/docker.sock" 14:02:53 ], 14:02:53 "mtu": 1458, 14:02:53 "selinux-enabled": true, 14:02:53 "seccomp-profile": "/etc/docker/seccomp.json" 14:02:53 } [Pipeline] sh 14:02:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:02:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:03:12 provisioning config files... 14:03:12 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config18199937089635056311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:03:12 ---> ****-login.sh 14:03:12 nexus3.edgexfoundry.org:10001 14:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:03:13 Configure a credential helper to remove this warning. See 14:03:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:03:13 14:03:13 Login Succeeded 14:03:13 nexus3.edgexfoundry.org:10002 14:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:03:13 Configure a credential helper to remove this warning. See 14:03:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:03:13 14:03:13 Login Succeeded 14:03:13 nexus3.edgexfoundry.org:10003 14:03:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:03:14 Configure a credential helper to remove this warning. See 14:03:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:03:14 14:03:14 Login Succeeded 14:03:14 nexus3.edgexfoundry.org:10004 14:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:03:14 Configure a credential helper to remove this warning. See 14:03:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:03:14 14:03:14 Login Succeeded 14:03:14 ****.io 14:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:03:14 Configure a credential helper to remove this warning. See 14:03:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:03:14 14:03:14 Login Succeeded 14:03:14 ---> ****-login.sh ends 14:03:14 go vet ./... [Pipeline] } 14:03:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:03:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:03:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:03:15 ========================================================= 14:03:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 14:03:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 14:03:15 Sending build context to Docker daemon 238.1kB 14:03:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:03:15 Step 2/12 : FROM ${BASE} AS builder 14:03:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:03:15 9fda8d8052c6: Pulling fs layer 14:03:15 5d54e960e981: Pulling fs layer 14:03:15 c4a7e357bf2a: Pulling fs layer 14:03:15 f0e02332f6b5: Pulling fs layer 14:03:15 872ee5b61b7b: Pulling fs layer 14:03:15 0c6a40ed1a82: Pulling fs layer 14:03:15 94ae7d8d031c: Pulling fs layer 14:03:15 872ee5b61b7b: Waiting 14:03:15 0c6a40ed1a82: Waiting 14:03:15 94ae7d8d031c: Waiting 14:03:15 f0e02332f6b5: Waiting 14:03:15 5d54e960e981: Verifying Checksum 14:03:15 5d54e960e981: Download complete 14:03:15 f0e02332f6b5: Verifying Checksum 14:03:15 f0e02332f6b5: Download complete 14:03:16 872ee5b61b7b: Verifying Checksum 14:03:16 872ee5b61b7b: Download complete 14:03:16 9fda8d8052c6: Verifying Checksum 14:03:16 9fda8d8052c6: Download complete 14:03:16 94ae7d8d031c: Verifying Checksum 14:03:16 94ae7d8d031c: Download complete 14:03:17 9fda8d8052c6: Pull complete 14:03:17 5d54e960e981: Pull complete 14:03:17 c4a7e357bf2a: Verifying Checksum 14:03:17 c4a7e357bf2a: Download complete 14:03:19 0c6a40ed1a82: Verifying Checksum 14:03:19 0c6a40ed1a82: Download complete 14:03:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:03:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:03:20 ./bin/test-attribution-txt.sh [Pipeline] echo 14:03:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:03:20 $ docker stop --time=1 295c6ebcf606f35e73af5a351bdd7cdbeded9fda3ed7fb661011f7f616f4f0cb 14:03:30 $ docker rm -f --volumes 295c6ebcf606f35e73af5a351bdd7cdbeded9fda3ed7fb661011f7f616f4f0cb [Pipeline] // withDockerContainer [Pipeline] sh 14:03:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:03:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:03:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:03:31 c4a7e357bf2a: Pull complete 14:03:31 f0e02332f6b5: Pull complete 14:03:31 872ee5b61b7b: Pull complete 14:03:31 + ls -al . 14:03:31 total 260 14:03:31 drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 14:02 . 14:03:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 14:00 .. 14:03:31 -rw-rw-r-- 1 jenkins jenkins 119 Mar 21 14:00 .dockerignore 14:03:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 14:02 .git 14:03:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 14:00 .github 14:03:31 -rw-rw-r-- 1 jenkins jenkins 106 Mar 21 14:00 .gitignore 14:03:31 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 14:00 .golangci.yml 14:03:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 14:00 .semver 14:03:31 -rw-rw-r-- 1 jenkins jenkins 18981 Mar 21 14:00 Attribution.txt 14:03:31 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 21 14:00 CHANGELOG.md 14:03:31 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 21 14:00 Dockerfile 14:03:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 14:00 GOVERNANCE.md 14:03:31 -rw-rw-r-- 1 jenkins jenkins 666 Mar 21 14:00 Jenkinsfile 14:03:31 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 21 14:00 LICENSE 14:03:31 -rw-rw-r-- 1 jenkins jenkins 618 Mar 21 14:00 OWNERS.md 14:03:31 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 21 14:00 README.md 14:03:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 14:00 VERSION 14:03:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 14:00 bin 14:03:31 -rw-r--r-- 1 jenkins jenkins 13 Mar 21 14:02 coverage.out 14:03:31 -rw-rw-r-- 1 jenkins jenkins 7078 Mar 21 14:00 go.mod 14:03:31 -rw-rw-r-- 1 jenkins jenkins 101604 Mar 21 14:00 go.sum 14:03:31 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 21 14:00 main.go 14:03:31 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 21 14:00 makefile 14:03:31 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 14:00 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:31 + 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=351eacf3674c3ce555b22653a5c30e6352076e2e --label arch=amd64 --label version=0.0.0 . 14:03:31 Sending build context to Docker daemon 8.895MB 14:03:31 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 14:03:31 Step 2/27 : FROM ${BASE} AS builder 14:03:31 ---> f4ba5bb2982c 14:03:31 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 14:03:32 ---> Running in 4f143974bea8 14:03:32 Removing intermediate container 4f143974bea8 14:03:32 ---> 187680329ebb 14:03:32 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 14:03:32 ---> Running in fd38f53cfca8 14:03:32 Removing intermediate container fd38f53cfca8 14:03:32 ---> bb636d5cff8b 14:03:32 Step 5/27 : ARG ADD_BUILD_TAGS="" 14:03:32 ---> Running in d0dc72023171 14:03:32 Removing intermediate container d0dc72023171 14:03:32 ---> a6f59f2ed2e3 14:03:32 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:03:32 ---> Running in df05fd5dad5b 14:03:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:03:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:03:32 OK: 264 MiB in 52 packages 14:03:33 Removing intermediate container df05fd5dad5b 14:03:33 ---> fb1683feceeb 14:03:33 Step 7/27 : WORKDIR /app 14:03:33 ---> Running in 641c463143ce 14:03:33 Removing intermediate container 641c463143ce 14:03:33 ---> 21f1845cb07e 14:03:33 Step 8/27 : COPY go.mod vendor* ./ 14:03:33 ---> c2358327d307 14:03:33 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:03:35 ---> Running in 5af79c2cecdb 14:03:36 Removing intermediate container 5af79c2cecdb 14:03:36 ---> ddd7c1e2ed89 14:03:36 Step 10/27 : COPY . . 14:03:36 ---> d6ce76c8d7e2 14:03:36 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:03:36 ---> Running in facd8c97c8c3 14:03:36 Removing intermediate container facd8c97c8c3 14:03:36 ---> 1bb840ac02f5 14:03:36 Step 12/27 : RUN $MAKE 14:03:36 ---> Running in 1719d798efd0 14:03:37 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.30 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 14:03:39 0c6a40ed1a82: Pull complete 14:03:40 94ae7d8d031c: Pull complete 14:03:40 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 14:03:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 14:03:40 ---> 86de565de09d 14:03:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 14:03:41 ---> Running in b4e57f7e2873 14:03:42 Removing intermediate container b4e57f7e2873 14:03:42 ---> 55880db81533 14:03:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:03:42 ---> Running in 1fa103a71ec6 14:03:42 Removing intermediate container 1fa103a71ec6 14:03:42 ---> 7545a64615c8 14:03:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:03:42 ---> Running in 091007e05703 14:03:43 Removing intermediate container 091007e05703 14:03:43 ---> 6009c5d04938 14:03:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:03:43 ---> Running in a26d2e0556a3 14:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:03:45 OK: 266 MiB in 52 packages 14:03:46 Removing intermediate container a26d2e0556a3 14:03:46 ---> bb2e27a4620c 14:03:46 Step 7/12 : WORKDIR /app 14:03:46 ---> Running in 7c3ea84d26b2 14:03:46 Removing intermediate container 7c3ea84d26b2 14:03:46 ---> 73d321f76544 14:03:46 Step 8/12 : COPY go.mod vendor* ./ 14:03:47 ---> 25b49e521f46 14:03:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:03:47 ---> Running in ad738150e993 14:04:15 Removing intermediate container 1719d798efd0 14:04:15 ---> e2b0bccdb66d 14:04:15 Step 13/27 : FROM alpine:3.18 14:04:15 3.18: Pulling from library/alpine 14:04:15 619be1103602: Pulling fs layer 14:04:15 619be1103602: Download complete 14:04:15 619be1103602: Pull complete 14:04:15 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 14:04:15 Status: Downloaded newer image for alpine:3.18 14:04:15 ---> d3782b16ccc9 14:04:15 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:04:15 ---> Running in 4a8f0f629ddf 14:04:15 Removing intermediate container 4a8f0f629ddf 14:04:15 ---> cb6ed4ecc98e 14:04:15 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 14:04:15 ---> Running in db63797a671b 14:04:15 Removing intermediate container db63797a671b 14:04:15 ---> ee09cb3b72d2 14:04:15 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 14:04:15 ---> Running in a3a07d50467d 14:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:04:15 (1/2) Installing ca-certificates (20240226-r0) 14:04:15 (2/2) Installing dumb-init (1.2.5-r2) 14:04:15 Executing busybox-1.36.1-r5.trigger 14:04:15 Executing ca-certificates-20240226-r0.trigger 14:04:15 OK: 8 MiB in 17 packages 14:04:15 Removing intermediate container a3a07d50467d 14:04:15 ---> c0d4cd56eebf 14:04:15 Step 17/27 : RUN apk --no-cache upgrade 14:04:15 ---> Running in dc2040578743 14:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:04:15 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:04:15 Executing ca-certificates-20240226-r0.trigger 14:04:15 OK: 8 MiB in 17 packages 14:04:15 Removing intermediate container dc2040578743 14:04:15 ---> bdcebb163054 14:04:15 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 14:04:15 ---> 059fedb5b159 14:04:15 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 14:04:15 ---> 2a2ef9ed9f9f 14:04:15 Step 20/27 : COPY --from=builder /app/res/ /res/ 14:04:15 ---> 5d013477fffb 14:04:15 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 14:04:16 ---> 2bae03d11016 14:04:16 Step 22/27 : EXPOSE 48095 14:04:16 ---> Running in b4cb5f69233e 14:04:16 Removing intermediate container b4cb5f69233e 14:04:16 ---> 9ec26d20ec9c 14:04:16 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 14:04:16 ---> Running in ac01e5bfadb7 14:04:16 Removing intermediate container ac01e5bfadb7 14:04:16 ---> 0efd4b643917 14:04:16 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:04:16 ---> Running in 7095be6ec7b6 14:04:16 Removing intermediate container 7095be6ec7b6 14:04:16 ---> 87bb821d9b5d 14:04:16 Step 25/27 : LABEL arch=amd64 14:04:16 ---> Running in 6c10629a5e58 14:04:16 Removing intermediate container 6c10629a5e58 14:04:16 ---> ce6ae5258f1d 14:04:16 Step 26/27 : LABEL git_sha=351eacf3674c3ce555b22653a5c30e6352076e2e 14:04:16 ---> Running in 8502fade01ac 14:04:16 Removing intermediate container 8502fade01ac 14:04:16 ---> 0ed180c09f72 14:04:16 Step 27/27 : LABEL version=0.0.0 14:04:16 ---> Running in 81c6c8d0df53 14:04:16 Removing intermediate container 81c6c8d0df53 14:04:16 ---> 3b643b631848 14:04:16 [Warning] One or more build-args [ARCH] were not consumed 14:04:16 Successfully built 3b643b631848 14:04:16 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] } [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 14:04:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:04:17 14:04:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:04:17 latest: Pulling from edgex-lftools-log-publisher 14:04:17 5eb5b503b376: Pulling fs layer 14:04:17 5c69ac0246d0: Pulling fs layer 14:04:17 ec43610c2a17: Pulling fs layer 14:04:17 3a2ae6a8a46f: Pulling fs layer 14:04:17 33b1e0a273af: Pulling fs layer 14:04:17 5d3b04190fa2: Pulling fs layer 14:04:17 2f39f015ded8: Pulling fs layer 14:04:17 3a2ae6a8a46f: Waiting 14:04:17 33b1e0a273af: Waiting 14:04:17 5d3b04190fa2: Waiting 14:04:17 5c69ac0246d0: Download complete 14:04:17 3a2ae6a8a46f: Verifying Checksum 14:04:17 3a2ae6a8a46f: Download complete 14:04:17 33b1e0a273af: Verifying Checksum 14:04:17 33b1e0a273af: Download complete 14:04:17 5d3b04190fa2: Verifying Checksum 14:04:17 5d3b04190fa2: Download complete 14:04:17 ec43610c2a17: Verifying Checksum 14:04:17 ec43610c2a17: Download complete 14:04:17 5eb5b503b376: Verifying Checksum 14:04:17 5eb5b503b376: Download complete 14:04:18 2f39f015ded8: Download complete 14:04:18 5eb5b503b376: Pull complete 14:04:18 5c69ac0246d0: Pull complete 14:04:19 ec43610c2a17: Pull complete 14:04:19 3a2ae6a8a46f: Pull complete 14:04:19 33b1e0a273af: Pull complete 14:04:19 5d3b04190fa2: Pull complete 14:04:23 2f39f015ded8: Pull complete 14:04:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:04:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:04:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:23 prd-ubuntu20.04-docker-8c-8g-578 does not seem to be running inside a container 14:04:23 $ 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-652 -v /w/workspace/_app-service-configurable_PR-652:/w/workspace/_app-service-configurable_PR-652:rw,z -v /w/workspace/_app-service-configurable_PR-652@tmp:/w/workspace/_app-service-configurable_PR-652@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:04:29 $ docker top c556c49d18766dd61f471d293d325b2f1d594828b184ba8496066d07cc1cb451 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:04:30 ---> job-cost.sh 14:04:30 lf-activate-venv: SKIPPING 14:04:30 INFO: No Stack... 14:04:30 INFO: Retrieving Pricing Info for: v3-standard-8 14:04:30 INFO: Archiving Costs [Pipeline] sh 14:04:31 + cat /w/workspace/_app-service-configurable_PR-652/archives/cost.csv 14:04:31 + cut -d, -f6 [Pipeline] lock 14:04:31 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-652-3-stack-cost] 14:04:31 Resource [jenkins-edgexfoundry-app-service-configurable-PR-652-3-stack-cost] did not exist. Created. 14:04:31 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-652-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:04:31 + echo total: 0.2199999988079071 [Pipeline] stash 14:04:31 Stashed 1 file(s) [Pipeline] } 14:04:31 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-652-3-stack-cost] [Pipeline] // lock [Pipeline] } 14:04:31 $ docker stop --time=1 c556c49d18766dd61f471d293d325b2f1d594828b184ba8496066d07cc1cb451 14:04:32 $ docker rm -f --volumes c556c49d18766dd61f471d293d325b2f1d594828b184ba8496066d07cc1cb451 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:05:54 Removing intermediate container ad738150e993 14:05:54 ---> 79e966ae20f4 14:05:54 Step 10/12 : COPY . . 14:05:54 ---> b6a9092d50b6 14:05:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:05:54 ---> Running in 2c9f454d80ea 14:05:54 Removing intermediate container 2c9f454d80ea 14:05:54 ---> 8dbec8e20ece 14:05:54 Step 12/12 : RUN $MAKE 14:05:54 ---> Running in 98ccd5fcb558 14:05:54 noop 14:05:54 Removing intermediate container 98ccd5fcb558 14:05:54 ---> da0adfb1bd89 14:05:54 Successfully built da0adfb1bd89 14:05:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:54 + docker inspect -f . ci-base-image-arm64 14:05:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:54 prd-ubuntu20.04-docker-arm64-4c-16g-579 does not seem to be running inside a container 14:05:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 ******** ci-base-image-arm64 cat 14:05:55 $ docker top 6c17174bec12d6f2322526b13887473557b62ab7611fddaa82592db3766a4b48 -eo pid,comm [Pipeline] { [Pipeline] sh 14:05:56 + go version 14:05:56 go version go1.21.0 linux/arm64 [Pipeline] } 14:05:56 $ docker stop --time=1 6c17174bec12d6f2322526b13887473557b62ab7611fddaa82592db3766a4b48 14:05:58 $ docker rm -f --volumes 6c17174bec12d6f2322526b13887473557b62ab7611fddaa82592db3766a4b48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:58 + docker inspect -f . ci-base-image-arm64 14:05:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:59 prd-ubuntu20.04-docker-arm64-4c-16g-579 does not seem to be running inside a container 14:05:59 $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 ******** ci-base-image-arm64 cat 14:06:00 $ docker top 69244ffee45eb7b02b1faef75fa782065a17a9ad2a01ed45d7f9c24dbb98ee4a -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:01 + git config --global --add safe.directory /w/workspace/app-service-configurable/3 [Pipeline] fileExists [Pipeline] sh 14:06:02 + make test 14:06:02 go test -race -coverprofile=coverage.out ./... 14:09:09 ? github.com/edgexfoundry/app-service-configurable [no test files] 14:09:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:09:09 go vet ./... 14:11:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:11:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:11:45 ./bin/test-attribution-txt.sh [Pipeline] echo 14:11:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:11:46 $ docker stop --time=1 69244ffee45eb7b02b1faef75fa782065a17a9ad2a01ed45d7f9c24dbb98ee4a 14:11:47 $ docker rm -f --volumes 69244ffee45eb7b02b1faef75fa782065a17a9ad2a01ed45d7f9c24dbb98ee4a [Pipeline] // withDockerContainer [Pipeline] sh 14:11:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:11:50 Warning: overwriting stash ‘coverage-report’ 14:11:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:11:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:11:51 + ls -al . 14:11:51 total 256 14:11:51 drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 14:06 . 14:11:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 14:02 .. 14:11:51 -rw-rw-r-- 1 jenkins jenkins 119 Mar 21 14:02 .dockerignore 14:11:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 14:02 .git 14:11:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 14:02 .github 14:11:51 -rw-rw-r-- 1 jenkins jenkins 106 Mar 21 14:02 .gitignore 14:11:51 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 14:02 .golangci.yml 14:11:51 -rw-rw-r-- 1 jenkins jenkins 18981 Mar 21 14:02 Attribution.txt 14:11:51 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 21 14:02 CHANGELOG.md 14:11:51 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 21 14:02 Dockerfile 14:11:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 14:02 GOVERNANCE.md 14:11:51 -rw-rw-r-- 1 jenkins jenkins 666 Mar 21 14:02 Jenkinsfile 14:11:51 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 21 14:02 LICENSE 14:11:51 -rw-rw-r-- 1 jenkins jenkins 618 Mar 21 14:02 OWNERS.md 14:11:51 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 21 14:02 README.md 14:11:51 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 14:00 VERSION 14:11:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 14:02 bin 14:11:51 -rw-r--r-- 1 jenkins jenkins 13 Mar 21 14:06 coverage.out 14:11:51 -rw-rw-r-- 1 jenkins jenkins 7078 Mar 21 14:02 go.mod 14:11:51 -rw-rw-r-- 1 jenkins jenkins 101604 Mar 21 14:02 go.sum 14:11:51 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 21 14:02 main.go 14:11:51 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 21 14:02 makefile 14:11:51 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 14:02 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:11:51 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=351eacf3674c3ce555b22653a5c30e6352076e2e --label arch=arm64 --label version=0.0.0 . 14:11:51 Sending build context to Docker daemon 239.1kB 14:11:51 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 14:11:51 Step 2/27 : FROM ${BASE} AS builder 14:11:51 ---> da0adfb1bd89 14:11:51 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 14:11:51 ---> Running in cb15d3ab05b9 14:11:52 Removing intermediate container cb15d3ab05b9 14:11:52 ---> 3c33f2488db3 14:11:52 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 14:11:52 ---> Running in d818c50bf3ad 14:11:52 Removing intermediate container d818c50bf3ad 14:11:52 ---> ccfce2fa5585 14:11:52 Step 5/27 : ARG ADD_BUILD_TAGS="" 14:11:52 ---> Running in 46dbfa153302 14:11:52 Removing intermediate container 46dbfa153302 14:11:52 ---> a03a557ef2ca 14:11:52 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:11:52 ---> Running in 23f02239825f 14:11:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:11:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:11:55 OK: 266 MiB in 52 packages 14:11:56 Removing intermediate container 23f02239825f 14:11:56 ---> a8d73037eed8 14:11:56 Step 7/27 : WORKDIR /app 14:11:56 ---> Running in 4b24bfeb9cba 14:11:56 Removing intermediate container 4b24bfeb9cba 14:11:56 ---> d56f01a2b980 14:11:56 Step 8/27 : COPY go.mod vendor* ./ 14:11:56 ---> bbac85321a23 14:11:56 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:11:57 ---> Running in 4da5657ea869 14:11:59 Removing intermediate container 4da5657ea869 14:11:59 ---> 6e57638d7bc3 14:11:59 Step 10/27 : COPY . . 14:12:00 ---> 579b4f60acbb 14:12:00 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:12:00 ---> Running in 3525c2a2b8ba 14:12:00 Removing intermediate container 3525c2a2b8ba 14:12:00 ---> cce517f77b1b 14:12:00 Step 12/27 : RUN $MAKE 14:12:00 ---> Running in 99813b6560f3 14:12:01 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.30 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 14:14:38 Removing intermediate container 99813b6560f3 14:14:38 ---> 466afcd0c7dd 14:14:38 Step 13/27 : FROM alpine:3.18 14:14:38 3.18: Pulling from library/alpine 14:14:38 c6b39de5b339: Pulling fs layer 14:14:38 c6b39de5b339: Download complete 14:14:38 c6b39de5b339: Pull complete 14:14:38 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 14:14:38 Status: Downloaded newer image for alpine:3.18 14:14:38 ---> 33abbf032149 14:14:38 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:14:38 ---> Running in 26c3471f6a70 14:14:38 Removing intermediate container 26c3471f6a70 14:14:38 ---> 07efd9cff671 14:14:38 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 14:14:38 ---> Running in 29b5de61081a 14:14:38 Removing intermediate container 29b5de61081a 14:14:38 ---> 915ec7a9734f 14:14:38 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 14:14:38 ---> Running in 5e45d8232324 14:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:14:38 (1/2) Installing ca-certificates (20240226-r0) 14:14:38 (2/2) Installing dumb-init (1.2.5-r2) 14:14:38 Executing busybox-1.36.1-r5.trigger 14:14:38 Executing ca-certificates-20240226-r0.trigger 14:14:38 OK: 9 MiB in 17 packages 14:14:38 Removing intermediate container 5e45d8232324 14:14:38 ---> 2462ddf7dfe3 14:14:38 Step 17/27 : RUN apk --no-cache upgrade 14:14:38 ---> Running in 46e23f69a42f 14:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:14:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:14:38 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:14:38 Executing ca-certificates-20240226-r0.trigger 14:14:38 OK: 9 MiB in 17 packages 14:14:38 Removing intermediate container 46e23f69a42f 14:14:38 ---> 78f0cbed6913 14:14:38 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 14:14:38 ---> 63107e6f861b 14:14:38 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 14:14:38 ---> 66ee67917aec 14:14:38 Step 20/27 : COPY --from=builder /app/res/ /res/ 14:14:39 ---> 3bbaf85dd421 14:14:39 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 14:14:40 ---> 38624c5ee952 14:14:40 Step 22/27 : EXPOSE 48095 14:14:41 ---> Running in f9f2101f0365 14:14:41 Removing intermediate container f9f2101f0365 14:14:41 ---> 287c0265a97b 14:14:41 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 14:14:41 ---> Running in 923e98e025e0 14:14:41 Removing intermediate container 923e98e025e0 14:14:41 ---> d9236d6e9e8f 14:14:41 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:14:41 ---> Running in 27cd509998e0 14:14:41 Removing intermediate container 27cd509998e0 14:14:41 ---> 1dca953fbd05 14:14:41 Step 25/27 : LABEL arch=arm64 14:14:42 ---> Running in 94ac7758c7d2 14:14:42 Removing intermediate container 94ac7758c7d2 14:14:42 ---> 00449e030d96 14:14:42 Step 26/27 : LABEL git_sha=351eacf3674c3ce555b22653a5c30e6352076e2e 14:14:42 ---> Running in f8f6ad6135ff 14:14:42 Removing intermediate container f8f6ad6135ff 14:14:42 ---> 0c1631264a76 14:14:42 Step 27/27 : LABEL version=0.0.0 14:14:42 ---> Running in 0cfe4dc8623f 14:14:42 Removing intermediate container 0cfe4dc8623f 14:14:42 ---> 8090bdeb27d0 14:14:42 [Warning] One or more build-args [ARCH] were not consumed 14:14:42 Successfully built 8090bdeb27d0 14:14:42 Successfully tagged app-service-configurable-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 14:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:14:43 14:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:14:43 arm64: Pulling from edgex-lftools-log-publisher 14:14:43 8998bd30e6a1: Pulling fs layer 14:14:43 04944245beec: Pulling fs layer 14:14:43 699f458cf7ca: Pulling fs layer 14:14:43 765212b225bb: Pulling fs layer 14:14:43 f23df028b6ca: Pulling fs layer 14:14:43 d65c8cfc05b1: Pulling fs layer 14:14:43 2437ff75d9bd: Pulling fs layer 14:14:43 f23df028b6ca: Waiting 14:14:43 d65c8cfc05b1: Waiting 14:14:43 2437ff75d9bd: Waiting 14:14:43 765212b225bb: Waiting 14:14:44 04944245beec: Verifying Checksum 14:14:44 04944245beec: Download complete 14:14:44 765212b225bb: Verifying Checksum 14:14:44 765212b225bb: Download complete 14:14:44 f23df028b6ca: Verifying Checksum 14:14:44 f23df028b6ca: Download complete 14:14:44 d65c8cfc05b1: Verifying Checksum 14:14:44 d65c8cfc05b1: Download complete 14:14:44 699f458cf7ca: Verifying Checksum 14:14:44 699f458cf7ca: Download complete 14:14:44 8998bd30e6a1: Download complete 14:14:47 2437ff75d9bd: Download complete 14:14:49 8998bd30e6a1: Pull complete 14:14:49 04944245beec: Pull complete 14:14:51 699f458cf7ca: Pull complete 14:14:51 765212b225bb: Pull complete 14:14:52 f23df028b6ca: Pull complete 14:14:52 d65c8cfc05b1: Pull complete 14:15:10 2437ff75d9bd: Pull complete 14:15:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:15:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:15:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:15:10 prd-ubuntu20.04-docker-arm64-4c-16g-579 does not seem to be running inside a container 14:15:10 $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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:arm64 cat 14:15:13 $ docker top bd7c2023a564462a13e45be81afc508c8e1eb600490bd82446f6a8343d722b0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:15:13 ---> job-cost.sh 14:15:14 lf-activate-venv: SKIPPING 14:15:14 INFO: No Stack... 14:15:14 INFO: Retrieving Pricing Info for: v3-standard-4 14:15:15 INFO: Archiving Costs [Pipeline] sh 14:15:16 + cat /w/workspace/app-service-configurable/3/archives/cost.csv 14:15:16 + cut -d, -f6 [Pipeline] lock 14:15:16 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-652-3-stack-cost] 14:15:16 Resource [jenkins-edgexfoundry-app-service-configurable-PR-652-3-stack-cost] did not exist. Created. 14:15:16 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-652-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:15:16 /w/workspace/app-service-configurable/3@tmp/durable-5fd9afc6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:15:17 + echo total: 0.10999999940395355 [Pipeline] stash 14:15:17 Warning: overwriting stash ‘stack-cost’ 14:15:17 Stashed 1 file(s) [Pipeline] } 14:15:17 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-652-3-stack-cost] [Pipeline] // lock [Pipeline] } 14:15:17 $ docker stop --time=1 bd7c2023a564462a13e45be81afc508c8e1eb600490bd82446f6a8343d722b0f 14:15:19 $ docker rm -f --volumes bd7c2023a564462a13e45be81afc508c8e1eb600490bd82446f6a8343d722b0f [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 14:15:19 provisioning config files... 14:15:19 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-652@tmp/config14422466002451355098tmp [Pipeline] { [Pipeline] sh 14:15:19 + set +x 14:15:19 + curl -s https://codecov.io/bash 14:15:19 + bash -s -- 14:15:19 14:15:19 _____ _ 14:15:19 / ____| | | 14:15:19 | | ___ __| | ___ ___ _____ __ 14:15:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:15:19 | |___| (_) | (_| | __/ (_| (_) \ V / 14:15:19 \_____\___/ \__,_|\___|\___\___/ \_/ 14:15:19 Bash-1.0.6 14:15:19 14:15:19 14:15:19 ==> git version 2.25.1 found 14:15:19 ==> 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 14:15:19 Release-Date: 2020-01-08 14:15:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:15:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:15:19 ==> Jenkins CI detected. 14:15:19 current dir:  /w/workspace/_app-service-configurable_PR-652 14:15:19 project root: . 14:15:19 --> token set from env 14:15:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:15:19 ==> Running gcov in . (disable via -X gcov) 14:15:19 ==> Python coveragepy not found 14:15:19 ==> Searching for coverage reports in: 14:15:19 + . 14:15:20 -> Found 1 reports 14:15:20 ==> Detecting git/mercurial file structure 14:15:20 ==> Reading reports 14:15:20 + ./coverage.out bytes=13 14:15:20 ==> Appending adjustments 14:15:20 https://docs.codecov.io/docs/fixing-reports 14:15:20 + Found adjustments 14:15:20 ==> Gzipping contents 14:15:20 4.0K /tmp/codecov.R7f8U0.gz 14:15:20 ==> Uploading reports 14:15:20 url: https://codecov.io 14:15:20 query: branch=PR-652&commit=351eacf3674c3ce555b22653a5c30e6352076e2e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-652%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=652&job=&cmd_args= 14:15:20 -> Pinging Codecov 14:15:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-652&commit=351eacf3674c3ce555b22653a5c30e6352076e2e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-652%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=652&job=&cmd_args= 14:15:20 -> Uploading to 14:15:20 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/A97CA9966030D2A3747ED39772930CCE/351eacf3674c3ce555b22653a5c30e6352076e2e/ca1cdf70-39b0-4dbd-8753-c04d77e0ca06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T141520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6bdac86672bac7836dab7b612e9ba2ed59e4552540894c0bd53b54e5ab87901c 14:15:20 % Total % Received % Xferd Average Speed Time Time Time Current 14:15:20 Dload Upload Total Spent Left Speed 14:15:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 903 --:--:-- --:--:-- --:--:-- 903 14:15:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/351eacf3674c3ce555b22653a5c30e6352076e2e [Pipeline] } 14:15:20 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 14:15:21 + [ -d /w/workspace/_app-service-configurable_PR-652/archives ] 14:15:21 + ls -al /w/workspace/_app-service-configurable_PR-652/archives 14:15:21 total 16 14:15:21 drwxr-xr-x 3 root root 4096 Mar 21 14:04 . 14:15:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 14:04 .. 14:15:21 drwxr-xr-x 2 root root 4096 Mar 21 14:04 cost 14:15:21 -rw-r--r-- 1 root root 96 Mar 21 14:04 cost.csv 14:15:21 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-652/archives 14:15:21 + ls -al /w/workspace/_app-service-configurable_PR-652/archives 14:15:21 total 16 14:15:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 14:04 . 14:15:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 14:04 .. 14:15:21 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 14:04 cost 14:15:21 -rw-r--r-- 1 jenkins jenkins 96 Mar 21 14:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:15:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:15:22 ---> package-listing.sh 14:15:22 ++ facter osfamily 14:15:22 ++ tr '[:upper:]' '[:lower:]' 14:15:22 + OS_FAMILY=debian 14:15:22 + workspace=/w/workspace/_app-service-configurable_PR-652 14:15:22 + START_PACKAGES=/tmp/packages_start.txt 14:15:22 + END_PACKAGES=/tmp/packages_end.txt 14:15:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:15:22 + PACKAGES=/tmp/packages_start.txt 14:15:22 + '[' /w/workspace/_app-service-configurable_PR-652 ']' 14:15:22 + PACKAGES=/tmp/packages_end.txt 14:15:22 + case "${OS_FAMILY}" in 14:15:22 + dpkg -l 14:15:22 + grep '^ii' 14:15:22 + '[' -f /tmp/packages_start.txt ']' 14:15:22 + '[' -f /tmp/packages_end.txt ']' 14:15:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:15:22 + '[' /w/workspace/_app-service-configurable_PR-652 ']' 14:15:22 + mkdir -p /w/workspace/_app-service-configurable_PR-652/archives/ 14:15:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-652/archives/ [Pipeline] echo 14:15:22 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-652/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:15:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:15:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:15:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:15:23 prd-ubuntu20.04-docker-8c-8g-578 does not seem to be running inside a container 14:15:23 $ 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-652/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-652 -v /w/workspace/_app-service-configurable_PR-652:/w/workspace/_app-service-configurable_PR-652:rw,z -v /w/workspace/_app-service-configurable_PR-652@tmp:/w/workspace/_app-service-configurable_PR-652@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:15:24 $ docker top a6034a4fc5cec9f40540d4e298922b5118dfd1fc66d69fcf9cc0c17d431d110e -eo pid,comm [Pipeline] { [Pipeline] sh 14:15:24 + touch /tmp/pre-build-complete [Pipeline] sh 14:15:24 + mkdir -p /var/log/sysstat [Pipeline] sh 14:15:25 + ls /var/log/sa-host 14:15:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:15:25 provisioning config files... 14:15:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-652@tmp/config11574895633196703752tmp [Pipeline] { [Pipeline] echo 14:15:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:15:25 ---> create-netrc.sh [Pipeline] } 14:15:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:15:26 ---> python-tools-install.sh [Pipeline] echo 14:15:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:15:26 ---> sudo-logs.sh 14:15:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:15:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:15:26 ---> job-cost.sh 14:15:26 lf-activate-venv: SKIPPING 14:15:26 DEBUG: total: 0.2199999988079071 14:15:26 INFO: Retrieving Stack Cost... 14:15:27 INFO: Retrieving Pricing Info for: v3-standard-8 14:15:27 INFO: Archiving Costs [Pipeline] echo 14:15:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:15:27 ---> logs-deploy.sh 14:15:27 lf-activate-venv: SKIPPING 14:15:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-652/3 14:15:27 INFO: archiving workspace using pattern(s): 14:15:28 Archives upload complete. 14:15:28 INFO: archiving logs to Nexus