Pull request #673 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 06760e5639fe5ce120769863a85d3570ba8f2889+73e85768b09e7a901a474aca8d4c5663b6c61c92 (505358d69af2e48a5b0cc82b884567177a8352f8) 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-ssh10883874896186829424.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5295986949255356568.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-673/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-673/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh329609729206890948.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12291486927391341983.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-673/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-673/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh147152593294053144.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 ‘prd-ubuntu20.04-docker-8c-8g-9153’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9158 in /w/workspace/_app-service-configurable_PR-673 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-673 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/673/head:refs/remotes/origin/PR-673 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 73e85768b09e7a901a474aca8d4c5663b6c61c92 into PR head commit 06760e5639fe5ce120769863a85d3570ba8f2889 Merge succeeded, producing cb831bfc33342aac7caa41b4dafd91c0593e651e Checking out Revision cb831bfc33342aac7caa41b4dafd91c0593e651e (PR-673) > git config core.sparsecheckout # timeout=10 > git checkout -f 06760e5639fe5ce120769863a85d3570ba8f2889 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 73e85768b09e7a901a474aca8d4c5663b6c61c92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb831bfc33342aac7caa41b4dafd91c0593e651e # timeout=10 Commit message: "Merge commit '73e85768b09e7a901a474aca8d4c5663b6c61c92' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:50:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:50:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:50:14 ========================================================= 04:50:14 EdgeX Global Pipelines Version Info 04:50:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5953f7b2bf78383e680d3992e30420ad05108e50 # timeout=10 04:50:14 ------------------- 04:50:14 stable info: 04:50:14 ------------------- 04:50:14 Commited By: Cherry Wang cherry@iotechsys.com 04:50:14 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:50:14 Message: update stable to v1.0.263 04:50:15 ------------------- 04:50:15 experimental info: 04:50:15 ------------------- 04:50:15 Commited By: Cherry Wang cherry@iotechsys.com 04:50:15 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:50:15 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:50:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-673 [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-673 [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-673 [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb831bfc33342aac7caa41b4dafd91c0593e651e [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb831bf [Pipeline] echo 04:50:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:50:16 provisioning config files... 04:50:16 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config6333666820587117234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:16 ---> ****-login.sh 04:50:16 nexus3.edgexfoundry.org:10001 04:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:17 Configure a credential helper to remove this warning. See 04:50:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:17 04:50:17 Login Succeeded 04:50:17 nexus3.edgexfoundry.org:10002 04:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:17 Configure a credential helper to remove this warning. See 04:50:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:17 04:50:17 Login Succeeded 04:50:17 nexus3.edgexfoundry.org:10003 04:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:17 Configure a credential helper to remove this warning. See 04:50:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:17 04:50:17 Login Succeeded 04:50:17 nexus3.edgexfoundry.org:10004 04:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:17 Configure a credential helper to remove this warning. See 04:50:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:17 04:50:17 Login Succeeded 04:50:17 ****.io 04:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:17 Configure a credential helper to remove this warning. See 04:50:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:17 04:50:17 Login Succeeded 04:50:17 ---> ****-login.sh ends [Pipeline] } 04:50:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:50:18 + git rev-list -1 --merges cb831bfc33342aac7caa41b4dafd91c0593e651e~1..cb831bfc33342aac7caa41b4dafd91c0593e651e [Pipeline] echo 04:50:18 -----------> git rev-list -1 --merges cb831bfc33342aac7caa41b4dafd91c0593e651e~1..cb831bfc33342aac7caa41b4dafd91c0593e651e cb831bfc33342aac7caa41b4dafd91c0593e651e 04:50:18 cb831bfc33342aac7caa41b4dafd91c0593e651e [false] [Pipeline] sh 04:50:18 + git log --format=format:%s -1 cb831bfc33342aac7caa41b4dafd91c0593e651e [Pipeline] echo 04:50:18 ========================================================= 04:50:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:50:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:50:18 + git log --format=format:%s -1 cb831bfc33342aac7caa41b4dafd91c0593e651e [Pipeline] echo 04:50:18 [semverPrep] GIT_COMMIT: cb831bfc33342aac7caa41b4dafd91c0593e651e, Commit Message: Merge commit '73e85768b09e7a901a474aca8d4c5663b6c61c92' into HEAD [Pipeline] echo 04:50:18 [semverPrep] This is not a build commit. [Pipeline] sh 04:50:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:50:19 + grep -v github /etc/ssh/ssh_known_hosts 04:50:19 + [ -e /tmp/ssh_known_hosts ] 04:50:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:50:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:50:19 + sudo tee -a /etc/ssh/ssh_known_hosts 04:50:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:50:19 04:50:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:50:19 0.1.4: Pulling from edgex-devops/py-git-semver 04:50:19 b85a868b505f: Pulling fs layer 04:50:19 e2be974225ed: Pulling fs layer 04:50:19 339a4e72a1f5: Pulling fs layer 04:50:19 988bab9f4d93: Pulling fs layer 04:50:19 1469e6f7b9e6: Pulling fs layer 04:50:19 eaf3925da568: Pulling fs layer 04:50:19 988bab9f4d93: Waiting 04:50:19 1469e6f7b9e6: Waiting 04:50:19 bab4dde63d76: Pulling fs layer 04:50:19 bde34c3a00c8: Pulling fs layer 04:50:19 eaf3925da568: Waiting 04:50:19 bab4dde63d76: Waiting 04:50:19 b352a97aabf1: Pulling fs layer 04:50:19 bde34c3a00c8: Waiting 04:50:19 b352a97aabf1: Waiting 04:50:19 4872d77fe225: Pulling fs layer 04:50:19 5851b861e8e6: Pulling fs layer 04:50:19 4872d77fe225: Waiting 04:50:19 e2be974225ed: Verifying Checksum 04:50:19 e2be974225ed: Download complete 04:50:19 988bab9f4d93: Download complete 04:50:19 1469e6f7b9e6: Verifying Checksum 04:50:19 1469e6f7b9e6: Download complete 04:50:19 eaf3925da568: Verifying Checksum 04:50:19 eaf3925da568: Download complete 04:50:19 339a4e72a1f5: Verifying Checksum 04:50:19 339a4e72a1f5: Download complete 04:50:20 bde34c3a00c8: Verifying Checksum 04:50:20 bde34c3a00c8: Download complete 04:50:20 b352a97aabf1: Download complete 04:50:20 4872d77fe225: Verifying Checksum 04:50:20 4872d77fe225: Download complete 04:50:20 5851b861e8e6: Download complete 04:50:20 b85a868b505f: Verifying Checksum 04:50:20 b85a868b505f: Download complete 04:50:20 bab4dde63d76: Verifying Checksum 04:50:20 bab4dde63d76: Download complete 04:50:21 b85a868b505f: Pull complete 04:50:21 e2be974225ed: Pull complete 04:50:22 339a4e72a1f5: Pull complete 04:50:22 988bab9f4d93: Pull complete 04:50:22 1469e6f7b9e6: Pull complete 04:50:22 eaf3925da568: Pull complete 04:50:24 bab4dde63d76: Pull complete 04:50:24 bde34c3a00c8: Pull complete 04:50:24 b352a97aabf1: Pull complete 04:50:24 4872d77fe225: Pull complete 04:50:24 5851b861e8e6: Pull complete 04:50:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:50:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:50:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:24 prd-ubuntu20.04-docker-8c-8g-9158 does not seem to be running inside a container 04:50:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:50:28 $ docker top ec6e444470fa3c2a88c0637e1ac9d37ef1617c103ac39d6aae2cfd870b90c248 -eo pid,comm 04:50:28 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). 04:50:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:50:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:50:28 [ssh-agent] Looking for ssh-agent implementation... 04:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:50:29 $ docker exec ec6e444470fa3c2a88c0637e1ac9d37ef1617c103ac39d6aae2cfd870b90c248 ssh-agent 04:50:29 SSH_AUTH_SOCK=/tmp/ssh-A3dOVJxVHbSE/agent.31 04:50:29 SSH_AGENT_PID=37 04:50:29 Running ssh-add (command line suppressed) 04:50:29 Identity added: /w/workspace/_app-service-configurable_PR-673@tmp/private_key_966402590292725676.key (/w/workspace/_app-service-configurable_PR-673@tmp/private_key_966402590292725676.key) 04:50:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:50:29 + git tag --points-at HEAD [Pipeline] } 04:50:29 $ docker exec --env ******** --env ******** ec6e444470fa3c2a88c0637e1ac9d37ef1617c103ac39d6aae2cfd870b90c248 ssh-agent -k 04:50:29 unset SSH_AUTH_SOCK; 04:50:29 unset SSH_AGENT_PID; 04:50:29 echo Agent pid 37 killed; 04:50:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:50:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:50:29 [ssh-agent] Looking for ssh-agent implementation... 04:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:50:29 $ docker exec ec6e444470fa3c2a88c0637e1ac9d37ef1617c103ac39d6aae2cfd870b90c248 ssh-agent 04:50:29 SSH_AUTH_SOCK=/tmp/ssh-iQe5NSDVazED/agent.70 04:50:29 SSH_AGENT_PID=76 04:50:29 Running ssh-add (command line suppressed) 04:50:30 Identity added: /w/workspace/_app-service-configurable_PR-673@tmp/private_key_9021950691274080462.key (/w/workspace/_app-service-configurable_PR-673@tmp/private_key_9021950691274080462.key) 04:50:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:50:30 + git semver init 04:50:30 2024-09-02 04:50:30,576 [run_init] DEBUG init version:0.0.0 force:False 04:50:30 2024-09-02 04:50:30,576 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-673/.semver 04:50:30 2024-09-02 04:50:30,577 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-673/.semver 04:50:30 2024-09-02 04:50:30,577 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-673/.semver'], cwd=/w/workspace/_app-service-configurable_PR-673, universal_newlines=False, shell=None, istream=None) 04:50:32 2024-09-02 04:50:31,619 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-673/.git/info/exclude 04:50:32 2024-09-02 04:50:31,620 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-673/.semver/PR-673 with force:False 04:50:32 2024-09-02 04:50:31,620 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-673/.semver/PR-673 04:50:32 2024-09-02 04:50:31,625 [execute] INFO git cat-file --batch-check 04:50:32 2024-09-02 04:50:31,626 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-673/.semver, universal_newlines=False, shell=None, istream=) 04:50:32 2024-09-02 04:50:31,632 [execute] INFO git cat-file --batch 04:50:32 2024-09-02 04:50:31,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-673/.semver, universal_newlines=False, shell=None, istream=) 04:50:32 2024-09-02 04:50:31,639 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-673/.semver/PR-673 04:50:32 0.0.0 [Pipeline] } 04:50:32 $ docker exec --env ******** --env ******** ec6e444470fa3c2a88c0637e1ac9d37ef1617c103ac39d6aae2cfd870b90c248 ssh-agent -k 04:50:32 unset SSH_AUTH_SOCK; 04:50:32 unset SSH_AGENT_PID; 04:50:32 echo Agent pid 76 killed; 04:50:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:50:32 + git semver [Pipeline] } 04:50:32 $ docker stop --time=1 ec6e444470fa3c2a88c0637e1ac9d37ef1617c103ac39d6aae2cfd870b90c248 04:50:34 $ docker rm -f --volumes ec6e444470fa3c2a88c0637e1ac9d37ef1617c103ac39d6aae2cfd870b90c248 [Pipeline] // withDockerContainer [Pipeline] sh 04:50:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:50:34 Stashed 1 file(s) [Pipeline] echo 04:50:34 [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 04:50:34 provisioning config files... 04:50:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config6479043329542356606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:35 ---> ****-login.sh 04:50:35 nexus3.edgexfoundry.org:10001 04:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:35 Configure a credential helper to remove this warning. See 04:50:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:35 04:50:35 Login Succeeded 04:50:35 nexus3.edgexfoundry.org:10002 04:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:35 Configure a credential helper to remove this warning. See 04:50:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:35 04:50:35 Login Succeeded 04:50:35 nexus3.edgexfoundry.org:10003 04:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:35 Configure a credential helper to remove this warning. See 04:50:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:35 04:50:35 Login Succeeded 04:50:35 nexus3.edgexfoundry.org:10004 04:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:35 Configure a credential helper to remove this warning. See 04:50:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:35 04:50:35 Login Succeeded 04:50:35 ****.io 04:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:50:35 Configure a credential helper to remove this warning. See 04:50:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:50:35 04:50:35 Login Succeeded 04:50:35 ---> ****-login.sh ends [Pipeline] } 04:50:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:50:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:50:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:50:35 ========================================================= 04:50:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:50:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:36 + 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 . 04:50:36 Sending build context to Docker daemon 9.151MB 04:50:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:50:36 Step 2/12 : FROM ${BASE} AS builder 04:50:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:50:36 619be1103602: Pulling fs layer 04:50:36 7862e08f4a3e: Pulling fs layer 04:50:36 5df492c9dc93: Pulling fs layer 04:50:36 7629e6793208: Pulling fs layer 04:50:36 4f4fb700ef54: Pulling fs layer 04:50:36 fb5054dd5b73: Pulling fs layer 04:50:36 eeca6798cff9: Pulling fs layer 04:50:36 aa269ceb94a6: Pulling fs layer 04:50:36 7629e6793208: Waiting 04:50:36 fb5054dd5b73: Waiting 04:50:36 4f4fb700ef54: Waiting 04:50:36 eeca6798cff9: Waiting 04:50:36 ada007ff1a6a: Pulling fs layer 04:50:36 aa269ceb94a6: Waiting 04:50:36 ada007ff1a6a: Waiting 04:50:36 7862e08f4a3e: Download complete 04:50:36 7629e6793208: Verifying Checksum 04:50:36 7629e6793208: Download complete 04:50:36 4f4fb700ef54: Download complete 04:50:36 fb5054dd5b73: Verifying Checksum 04:50:36 fb5054dd5b73: Download complete 04:50:36 619be1103602: Verifying Checksum 04:50:36 619be1103602: Download complete 04:50:36 eeca6798cff9: Verifying Checksum 04:50:36 eeca6798cff9: Download complete 04:50:36 619be1103602: Pull complete 04:50:36 ada007ff1a6a: Verifying Checksum 04:50:36 ada007ff1a6a: Download complete 04:50:36 7862e08f4a3e: Pull complete 04:50:36 5df492c9dc93: Verifying Checksum 04:50:36 5df492c9dc93: Download complete 04:50:37 aa269ceb94a6: Verifying Checksum 04:50:37 aa269ceb94a6: Download complete 04:50:40 5df492c9dc93: Pull complete 04:50:40 7629e6793208: Pull complete 04:50:40 4f4fb700ef54: Pull complete 04:50:40 fb5054dd5b73: Pull complete 04:50:40 eeca6798cff9: Pull complete 04:50:43 aa269ceb94a6: Pull complete 04:50:43 ada007ff1a6a: Pull complete 04:50:43 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:50:43 ---> f489d0715acc 04:50:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:50:49 Still waiting to schedule task 04:50:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9157’ is offline 04:50:50 ---> Running in bbd511153266 04:50:50 Removing intermediate container bbd511153266 04:50:50 ---> b16ff2d99e54 04:50:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:50:50 ---> Running in c3c3d44372cc 04:50:50 Removing intermediate container c3c3d44372cc 04:50:50 ---> e7489ef1abb7 04:50:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:50:50 ---> Running in 0f8c8375f18d 04:50:50 Removing intermediate container 0f8c8375f18d 04:50:50 ---> af7e7c5f26ec 04:50:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:50:50 ---> Running in 36c12ed5e56e 04:50:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:50:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:50:50 OK: 264 MiB in 52 packages 04:50:51 Removing intermediate container 36c12ed5e56e 04:50:51 ---> ffed871bd71d 04:50:51 Step 7/12 : WORKDIR /app 04:50:51 ---> Running in 4803de55afe1 04:50:51 Removing intermediate container 4803de55afe1 04:50:51 ---> 2201af7cf31f 04:50:51 Step 8/12 : COPY go.mod vendor* ./ 04:50:51 ---> 6be0885c518c 04:50:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:50:51 ---> Running in ba80e72dc829 04:52:00 Removing intermediate container ba80e72dc829 04:52:00 ---> c488fe559144 04:52:00 Step 10/12 : COPY . . 04:52:00 ---> 621cd4f3841c 04:52:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:52:00 ---> Running in 85777483f4b3 04:52:00 Removing intermediate container 85777483f4b3 04:52:00 ---> e169a1c3eb0d 04:52:00 Step 12/12 : RUN $MAKE 04:52:00 ---> Running in c6eda9a8c2e5 04:52:00 noop 04:52:00 Removing intermediate container c6eda9a8c2e5 04:52:00 ---> ea7c02e929fe 04:52:00 Successfully built ea7c02e929fe 04:52:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:00 + docker inspect -f . ci-base-image-x86_64 04:52:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:00 prd-ubuntu20.04-docker-8c-8g-9158 does not seem to be running inside a container 04:52:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:52:01 $ docker top def5b96d591d2fc51cb34e315509baa1c294b81c1027f96a673db2ce9a4dfa62 -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:01 + go version 04:52:01 go version go1.21.9 linux/amd64 [Pipeline] } 04:52:01 $ docker stop --time=1 def5b96d591d2fc51cb34e315509baa1c294b81c1027f96a673db2ce9a4dfa62 04:52:02 $ docker rm -f --volumes def5b96d591d2fc51cb34e315509baa1c294b81c1027f96a673db2ce9a4dfa62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:03 + docker inspect -f . ci-base-image-x86_64 04:52:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:03 prd-ubuntu20.04-docker-8c-8g-9158 does not seem to be running inside a container 04:52:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:52:03 $ docker top d80becdaa61aaf90e2ab5fa4e38a94b9fbdcc4d5b14edf29ec5e789d95a85dd2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:04 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-673 [Pipeline] fileExists [Pipeline] sh 04:52:04 + make test 04:52:04 go test -race -coverprofile=coverage.out ./... 04:52:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9160 in /w/workspace/_app-service-configurable_PR-673 [Pipeline] { [Pipeline] ws 04:52:22 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 04:52:25 The recommended git tool is: git 04:52:33 using credential edgex-jenkins-ssh 04:52:33 Cloning the remote Git repository 04:52:33 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:52:33 > git init /w/workspace/app-service-configurable/3 # timeout=10 04:52:33 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:52:33 > git --version # timeout=10 04:52:33 > git --version # 'git version 2.25.1' 04:52:33 using GIT_SSH to set credentials SSH Credentials for GitHub 04:52:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:52:36 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:52:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:52:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:52:38 Merging remotes/origin/main commit 73e85768b09e7a901a474aca8d4c5663b6c61c92 into PR head commit 06760e5639fe5ce120769863a85d3570ba8f2889 04:52:38 Merge succeeded, producing 19208ae1f6191ad6d33c916f04e641f17e975004 04:52:38 Checking out Revision 19208ae1f6191ad6d33c916f04e641f17e975004 (PR-673) 04:52:37 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:52:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:52:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:52:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/673/head:refs/remotes/origin/PR-673 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:52:38 > git config core.sparsecheckout # timeout=10 04:52:38 > git checkout -f 06760e5639fe5ce120769863a85d3570ba8f2889 # timeout=10 04:52:38 > git remote # timeout=10 04:52:38 > git config --get remote.origin.url # timeout=10 04:52:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:52:38 > git merge 73e85768b09e7a901a474aca8d4c5663b6c61c92 # timeout=10 04:52:38 > git rev-parse HEAD^{commit} # timeout=10 04:52:38 > git config core.sparsecheckout # timeout=10 04:52:38 > git checkout -f 19208ae1f6191ad6d33c916f04e641f17e975004 # timeout=10 04:52:42 Commit message: "Merge commit '73e85768b09e7a901a474aca8d4c5663b6c61c92' into HEAD" 04:52:42 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:52:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:52:44 Dload Upload Total Spent Left Speed 04:52:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 122k 0 --:--:-- --:--:-- --:--:-- 122k [Pipeline] sh 04:52:42 > git rev-list --no-walk 5953f7b2bf78383e680d3992e30420ad05108e50 # timeout=10 04:52:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:52:44 + sudo tee /etc/docker/daemon.new 04:52:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:52:44 { 04:52:44 "registry-mirrors": [ 04:52:44 "https://nexus3.edgexfoundry.org:10001" 04:52:44 ], 04:52:44 "bip": "10.250.0.254/24", 04:52:44 "hosts": [ 04:52:44 "tcp://0.0.0.0:5555", 04:52:44 "unix:///var/run/docker.sock" 04:52:44 ], 04:52:44 "mtu": 1458, 04:52:44 "selinux-enabled": true, 04:52:44 "seccomp-profile": "/etc/docker/seccomp.json" 04:52:44 } [Pipeline] sh 04:52:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:52:45 + sudo service docker restart 04:53:03 go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:03 provisioning config files... 04:53:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config7133713889944222292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:04 ---> ****-login.sh 04:53:04 nexus3.edgexfoundry.org:10001 04:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:04 Configure a credential helper to remove this warning. See 04:53:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:04 04:53:04 Login Succeeded 04:53:04 nexus3.edgexfoundry.org:10002 04:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:05 Configure a credential helper to remove this warning. See 04:53:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:05 04:53:05 Login Succeeded 04:53:05 nexus3.edgexfoundry.org:10003 04:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:53:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:53:05 ./bin/test-attribution-txt.sh 04:53:05 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 04:53:05 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:53:05 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [Pipeline] echo 04:53:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:53:05 $ docker stop --time=1 d80becdaa61aaf90e2ab5fa4e38a94b9fbdcc4d5b14edf29ec5e789d95a85dd2 04:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:06 Configure a credential helper to remove this warning. See 04:53:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:06 04:53:06 Login Succeeded 04:53:06 nexus3.edgexfoundry.org:10004 04:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:07 Configure a credential helper to remove this warning. See 04:53:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:07 04:53:07 Login Succeeded 04:53:07 ****.io 04:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:53:07 Configure a credential helper to remove this warning. See 04:53:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:53:07 04:53:07 Login Succeeded 04:53:07 ---> ****-login.sh ends 04:53:13 $ docker rm -f --volumes d80becdaa61aaf90e2ab5fa4e38a94b9fbdcc4d5b14edf29ec5e789d95a85dd2 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } 04:53:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:53:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] echo 04:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 04:53:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] echo 04:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] stage [Pipeline] { (Build) [Pipeline] echo 04:53:14 ========================================================= 04:53:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:53:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 04:53:14 + 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 . 04:53:14 Sending build context to Docker daemon 241.2kB 04:53:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:53:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:53:14 Step 2/12 : FROM ${BASE} AS builder 04:53:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:53:14 c6b39de5b339: Pulling fs layer 04:53:14 a69c41024577: Pulling fs layer 04:53:14 d6de4b400683: Pulling fs layer 04:53:14 35cb2a7552d0: Pulling fs layer 04:53:14 35cb2a7552d0: Waiting 04:53:14 4f4fb700ef54: Pulling fs layer 04:53:14 4f4fb700ef54: Waiting 04:53:14 464afbd9ba4c: Pulling fs layer 04:53:14 00f215d4a9da: Pulling fs layer 04:53:14 d496ad576159: Pulling fs layer 04:53:14 464afbd9ba4c: Waiting 04:53:14 00f215d4a9da: Waiting 04:53:15 + ls -al . 04:53:15 total 260 04:53:15 drwxrwxr-x 7 jenkins jenkins 4096 Sep 2 04:52 . 04:53:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 04:50 .. 04:53:15 -rw-rw-r-- 1 jenkins jenkins 119 Sep 2 04:50 .dockerignore 04:53:15 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 04:52 .git 04:53:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 04:50 .github 04:53:15 -rw-rw-r-- 1 jenkins jenkins 106 Sep 2 04:50 .gitignore 04:53:15 -rw-rw-r-- 1 jenkins jenkins 41 Sep 2 04:50 .golangci.yml 04:53:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 04:50 .semver 04:53:15 -rw-rw-r-- 1 jenkins jenkins 18981 Sep 2 04:50 Attribution.txt 04:53:15 -rw-rw-r-- 1 jenkins jenkins 37263 Sep 2 04:50 CHANGELOG.md 04:53:15 -rw-rw-r-- 1 jenkins jenkins 2007 Sep 2 04:50 Dockerfile 04:53:15 -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 04:50 GOVERNANCE.md 04:53:15 -rw-rw-r-- 1 jenkins jenkins 666 Sep 2 04:50 Jenkinsfile 04:53:15 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 2 04:50 LICENSE 04:53:15 -rw-rw-r-- 1 jenkins jenkins 618 Sep 2 04:50 OWNERS.md 04:53:15 -rw-rw-r-- 1 jenkins jenkins 4582 Sep 2 04:50 README.md 04:53:15 -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 04:50 VERSION 04:53:15 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 04:50 bin 04:53:15 -rw-r--r-- 1 jenkins jenkins 13 Sep 2 04:52 coverage.out 04:53:15 -rw-rw-r-- 1 jenkins jenkins 7048 Sep 2 04:50 go.mod 04:53:15 -rw-rw-r-- 1 jenkins jenkins 101448 Sep 2 04:50 go.sum 04:53:15 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 2 04:50 main.go 04:53:15 -rw-rw-r-- 1 jenkins jenkins 2572 Sep 2 04:50 makefile 04:53:15 drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 04:50 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:15 a69c41024577: Verifying Checksum 04:53:15 a69c41024577: Download complete 04:53:15 35cb2a7552d0: Verifying Checksum 04:53:15 35cb2a7552d0: Download complete 04:53:15 4f4fb700ef54: Verifying Checksum 04:53:15 4f4fb700ef54: Download complete 04:53:15 c6b39de5b339: Verifying Checksum 04:53:15 c6b39de5b339: Download complete 04:53:15 464afbd9ba4c: Verifying Checksum 04:53:15 464afbd9ba4c: Download complete 04:53:15 d496ad576159: Verifying Checksum 04:53:15 d496ad576159: Download complete 04:53:15 + 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=cb831bfc33342aac7caa41b4dafd91c0593e651e --label arch=amd64 --label version=0.0.0 . 04:53:15 Sending build context to Docker daemon 9.152MB 04:53:15 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:53:15 Step 2/27 : FROM ${BASE} AS builder 04:53:15 ---> ea7c02e929fe 04:53:15 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 04:53:15 ---> Running in 45fccacc13c5 04:53:15 Removing intermediate container 45fccacc13c5 04:53:15 ---> fe8e3f5d5e89 04:53:15 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 04:53:15 ---> Running in e266b1851592 04:53:16 c6b39de5b339: Pull complete 04:53:16 Removing intermediate container e266b1851592 04:53:16 ---> 16cb01ffa0dd 04:53:16 Step 5/27 : ARG ADD_BUILD_TAGS="" 04:53:16 ---> Running in e43d16c008ea 04:53:16 Removing intermediate container e43d16c008ea 04:53:16 ---> 44636b120d30 04:53:16 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:53:16 ---> Running in 36c07b777d72 04:53:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:53:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:53:16 a69c41024577: Pull complete 04:53:16 OK: 264 MiB in 52 packages 04:53:16 d6de4b400683: Verifying Checksum 04:53:16 d6de4b400683: Download complete 04:53:17 Removing intermediate container 36c07b777d72 04:53:17 ---> 92d7d47e6e81 04:53:17 Step 7/27 : WORKDIR /app 04:53:17 ---> Running in 3bcb5d3357ff 04:53:17 Removing intermediate container 3bcb5d3357ff 04:53:17 ---> 1f321b950bba 04:53:17 Step 8/27 : COPY go.mod vendor* ./ 04:53:17 ---> a6692bea00d7 04:53:17 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:17 ---> Running in f1c11cf5720e 04:53:17 Removing intermediate container f1c11cf5720e 04:53:17 ---> 17a4c8fb2113 04:53:17 Step 10/27 : COPY . . 04:53:18 00f215d4a9da: Verifying Checksum 04:53:18 00f215d4a9da: Download complete 04:53:18 ---> 632d68a8e460 04:53:18 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:53:18 ---> Running in 9401bf7b6d63 04:53:18 Removing intermediate container 9401bf7b6d63 04:53:18 ---> 92cf7c5f8d19 04:53:18 Step 12/27 : RUN $MAKE 04:53:18 ---> Running in 64f42bfb62f8 04:53:19 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.48 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 04:53:30 d6de4b400683: Pull complete 04:53:30 35cb2a7552d0: Pull complete 04:53:30 4f4fb700ef54: Pull complete 04:53:30 464afbd9ba4c: Pull complete 04:53:38 00f215d4a9da: Pull complete 04:53:41 d496ad576159: Pull complete 04:53:41 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:53:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:53:41 ---> f246e2811388 04:53:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:53:42 ---> Running in 737408984d98 04:53:42 Removing intermediate container 737408984d98 04:53:42 ---> 310a5e2eed25 04:53:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:53:42 ---> Running in 1e8c9de45b23 04:53:43 Removing intermediate container 1e8c9de45b23 04:53:43 ---> de044ce69155 04:53:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:53:43 ---> Running in 9aeba7c995fa 04:53:43 Removing intermediate container 9aeba7c995fa 04:53:43 ---> 4f62236c7bec 04:53:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:53:43 ---> Running in 39daa9d3cc53 04:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:53:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:53:45 OK: 266 MiB in 52 packages 04:53:46 Removing intermediate container 39daa9d3cc53 04:53:46 ---> 5acb0f19c38b 04:53:46 Step 7/12 : WORKDIR /app 04:53:46 ---> Running in ce846e6599e6 04:53:47 Removing intermediate container ce846e6599e6 04:53:47 ---> 07baa5b6f855 04:53:47 Step 8/12 : COPY go.mod vendor* ./ 04:53:47 ---> 39fcaed868aa 04:53:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:47 ---> Running in 7bbe9118a3f9 04:53:57 Removing intermediate container 64f42bfb62f8 04:53:57 ---> 7610a53d9094 04:53:57 Step 13/27 : FROM alpine:3.18 04:53:57 3.18: Pulling from library/alpine 04:53:57 930bdd4d222e: Pulling fs layer 04:53:57 930bdd4d222e: Download complete 04:53:57 930bdd4d222e: Pull complete 04:53:57 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:53:57 Status: Downloaded newer image for alpine:3.18 04:53:57 ---> 18f865063206 04:53:57 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:53:57 ---> Running in 6d773af0fee3 04:53:57 Removing intermediate container 6d773af0fee3 04:53:57 ---> 48e8878b2a26 04:53:57 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 04:53:57 ---> Running in c5aa985f5dab 04:53:57 Removing intermediate container c5aa985f5dab 04:53:57 ---> 21c3243fed56 04:53:57 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 04:53:57 ---> Running in 7cd1fae9325a 04:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:53:57 (1/2) Installing ca-certificates (20240226-r0) 04:53:57 (2/2) Installing dumb-init (1.2.5-r2) 04:53:57 Executing busybox-1.36.1-r7.trigger 04:53:57 Executing ca-certificates-20240226-r0.trigger 04:53:57 OK: 8 MiB in 17 packages 04:53:57 Removing intermediate container 7cd1fae9325a 04:53:57 ---> e5e9102c67bb 04:53:57 Step 17/27 : RUN apk --no-cache upgrade 04:53:57 ---> Running in f2353356a423 04:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:53:57 OK: 8 MiB in 17 packages 04:53:57 Removing intermediate container f2353356a423 04:53:57 ---> cd841e969544 04:53:57 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:53:57 ---> d864dbb81266 04:53:57 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 04:53:57 ---> 9f8703acad2e 04:53:57 Step 20/27 : COPY --from=builder /app/res/ /res/ 04:53:57 ---> bba3f4f0b9a1 04:53:57 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:53:57 ---> 5365768fb7fb 04:53:57 Step 22/27 : EXPOSE 48095 04:53:57 ---> Running in 5d37b6c66a4c 04:53:57 Removing intermediate container 5d37b6c66a4c 04:53:57 ---> b9f25971f497 04:53:57 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 04:53:57 ---> Running in 05fc5ff258e0 04:53:57 Removing intermediate container 05fc5ff258e0 04:53:57 ---> 1a4b083961ab 04:53:57 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:53:57 ---> Running in 501742df0bd4 04:53:57 Removing intermediate container 501742df0bd4 04:53:57 ---> 25b992721b19 04:53:57 Step 25/27 : LABEL arch=amd64 04:53:57 ---> Running in df994c9ac780 04:53:57 Removing intermediate container df994c9ac780 04:53:57 ---> e0789f829b59 04:53:57 Step 26/27 : LABEL git_sha=cb831bfc33342aac7caa41b4dafd91c0593e651e 04:53:57 ---> Running in ecfb2e14b7b4 04:53:57 Removing intermediate container ecfb2e14b7b4 04:53:57 ---> dbe4623ad085 04:53:57 Step 27/27 : LABEL version=0.0.0 04:53:57 ---> Running in 8bdcc8db8ae4 04:53:57 Removing intermediate container 8bdcc8db8ae4 04:53:57 ---> 0f6e9b6fbf26 04:53:57 [Warning] One or more build-args [ARCH] were not consumed 04:53:57 Successfully built 0f6e9b6fbf26 04:53:57 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:53:58 04:53:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:53:58 latest: Pulling from edgex-lftools-log-publisher 04:53:58 5eb5b503b376: Pulling fs layer 04:53:58 5c69ac0246d0: Pulling fs layer 04:53:58 ec43610c2a17: Pulling fs layer 04:53:58 3a2ae6a8a46f: Pulling fs layer 04:53:58 33b1e0a273af: Pulling fs layer 04:53:58 5d3b04190fa2: Pulling fs layer 04:53:58 2f39f015ded8: Pulling fs layer 04:53:58 33b1e0a273af: Waiting 04:53:58 5d3b04190fa2: Waiting 04:53:58 2f39f015ded8: Waiting 04:53:58 3a2ae6a8a46f: Waiting 04:53:58 5c69ac0246d0: Verifying Checksum 04:53:58 5c69ac0246d0: Download complete 04:53:58 3a2ae6a8a46f: Verifying Checksum 04:53:58 3a2ae6a8a46f: Download complete 04:53:58 33b1e0a273af: Verifying Checksum 04:53:58 33b1e0a273af: Download complete 04:53:58 5d3b04190fa2: Verifying Checksum 04:53:58 5d3b04190fa2: Download complete 04:53:58 ec43610c2a17: Download complete 04:53:58 5eb5b503b376: Verifying Checksum 04:53:58 5eb5b503b376: Download complete 04:53:59 2f39f015ded8: Download complete 04:54:00 5eb5b503b376: Pull complete 04:54:00 5c69ac0246d0: Pull complete 04:54:00 ec43610c2a17: Pull complete 04:54:00 3a2ae6a8a46f: Pull complete 04:54:01 33b1e0a273af: Pull complete 04:54:01 5d3b04190fa2: Pull complete 04:54:05 2f39f015ded8: Pull complete 04:54:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:54:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:05 prd-ubuntu20.04-docker-8c-8g-9158 does not seem to be running inside a container 04:54:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:54:10 $ docker top 2756a2bf22049418194dcd0855db9a1ebdc43a4d8bae875ab70ba16ccffe83f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:11 ---> job-cost.sh 04:54:11 lf-activate-venv: SKIPPING 04:54:11 INFO: No Stack... 04:54:11 INFO: Retrieving Pricing Info for: v3-standard-8 04:54:11 INFO: Archiving Costs [Pipeline] sh 04:54:12 + cat /w/workspace/_app-service-configurable_PR-673/archives/cost.csv 04:54:12 + cut -d, -f6 [Pipeline] lock 04:54:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-3-stack-cost] 04:54:12 Resource [jenkins-edgexfoundry-app-service-configurable-PR-673-3-stack-cost] did not exist. Created. 04:54:12 Lock acquired on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:54:12 + echo total: 0.2199999988079071 [Pipeline] stash 04:54:12 Stashed 1 file(s) [Pipeline] } 04:54:12 Lock released on resource [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:54:12 $ docker stop --time=1 2756a2bf22049418194dcd0855db9a1ebdc43a4d8bae875ab70ba16ccffe83f2 04:54:13 $ docker rm -f --volumes 2756a2bf22049418194dcd0855db9a1ebdc43a4d8bae875ab70ba16ccffe83f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:55:39 Removing intermediate container 7bbe9118a3f9 04:55:39 ---> c2e40827ab15 04:55:39 Step 10/12 : COPY . . 04:55:39 ---> 9689290fd78f 04:55:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:55:39 ---> Running in 4ccf4fc207d1 04:55:39 Removing intermediate container 4ccf4fc207d1 04:55:39 ---> e859125d3aa1 04:55:39 Step 12/12 : RUN $MAKE 04:55:39 ---> Running in 251e18cf114c 04:55:39 noop 04:55:39 Removing intermediate container 251e18cf114c 04:55:39 ---> a36a1d477d33 04:55:39 Successfully built a36a1d477d33 04:55:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:39 + docker inspect -f . ci-base-image-arm64 04:55:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:39 prd-ubuntu20.04-docker-arm64-4c-16g-9160 does not seem to be running inside a container 04:55:39 $ 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 ******** -e ******** ci-base-image-arm64 cat 04:55:41 $ docker top 004e231161bd3bae95a656afe16c80eb35bca7ba267bba6ac7f37b20b6782deb -eo pid,comm [Pipeline] { [Pipeline] sh 04:55:41 + go version 04:55:41 go version go1.21.9 linux/arm64 [Pipeline] } 04:55:41 $ docker stop --time=1 004e231161bd3bae95a656afe16c80eb35bca7ba267bba6ac7f37b20b6782deb 04:55:43 $ docker rm -f --volumes 004e231161bd3bae95a656afe16c80eb35bca7ba267bba6ac7f37b20b6782deb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:44 + docker inspect -f . ci-base-image-arm64 04:55:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:44 prd-ubuntu20.04-docker-arm64-4c-16g-9160 does not seem to be running inside a container 04:55:44 $ 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 ******** -e ******** ci-base-image-arm64 cat 04:55:45 $ docker top d9c061d9a11380e048b071c35858a6f8c692d814ee95965a7c8940888ff79867 -eo pid,comm [Pipeline] { [Pipeline] sh 04:55:46 + git config --global --add safe.directory /w/workspace/app-service-configurable/3 [Pipeline] fileExists [Pipeline] sh 04:55:46 + make test 04:55:46 go test -race -coverprofile=coverage.out ./... 05:00:08 ? github.com/edgexfoundry/app-service-configurable [no test files] 05:00:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:00:08 go vet ./... 05:03:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:03:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:03:48 ./bin/test-attribution-txt.sh 05:03:48 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 05:03:48 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:03:48 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [Pipeline] echo 05:03:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:03:48 $ docker stop --time=1 d9c061d9a11380e048b071c35858a6f8c692d814ee95965a7c8940888ff79867 05:03:50 $ docker rm -f --volumes d9c061d9a11380e048b071c35858a6f8c692d814ee95965a7c8940888ff79867 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:03:53 Warning: overwriting stash ‘coverage-report’ 05:03:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:03:54 + ls -al . 05:03:54 total 256 05:03:54 drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 04:55 . 05:03:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 04:52 .. 05:03:54 -rw-rw-r-- 1 jenkins jenkins 119 Sep 2 04:52 .dockerignore 05:03:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 04:52 .git 05:03:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 04:52 .github 05:03:54 -rw-rw-r-- 1 jenkins jenkins 106 Sep 2 04:52 .gitignore 05:03:54 -rw-rw-r-- 1 jenkins jenkins 41 Sep 2 04:52 .golangci.yml 05:03:54 -rw-rw-r-- 1 jenkins jenkins 18981 Sep 2 04:52 Attribution.txt 05:03:54 -rw-rw-r-- 1 jenkins jenkins 37263 Sep 2 04:52 CHANGELOG.md 05:03:54 -rw-rw-r-- 1 jenkins jenkins 2007 Sep 2 04:52 Dockerfile 05:03:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 04:52 GOVERNANCE.md 05:03:54 -rw-rw-r-- 1 jenkins jenkins 666 Sep 2 04:52 Jenkinsfile 05:03:54 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 2 04:52 LICENSE 05:03:54 -rw-rw-r-- 1 jenkins jenkins 618 Sep 2 04:52 OWNERS.md 05:03:54 -rw-rw-r-- 1 jenkins jenkins 4582 Sep 2 04:52 README.md 05:03:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 04:50 VERSION 05:03:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 04:52 bin 05:03:54 -rw-r--r-- 1 jenkins jenkins 13 Sep 2 04:55 coverage.out 05:03:54 -rw-rw-r-- 1 jenkins jenkins 7048 Sep 2 04:52 go.mod 05:03:54 -rw-rw-r-- 1 jenkins jenkins 101448 Sep 2 04:52 go.sum 05:03:54 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 2 04:52 main.go 05:03:54 -rw-rw-r-- 1 jenkins jenkins 2572 Sep 2 04:52 makefile 05:03:54 drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 04:52 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:54 + 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=19208ae1f6191ad6d33c916f04e641f17e975004 --label arch=arm64 --label version=0.0.0 . 05:03:54 Sending build context to Docker daemon 242.2kB 05:03:55 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 05:03:55 Step 2/27 : FROM ${BASE} AS builder 05:03:55 ---> a36a1d477d33 05:03:55 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 05:03:55 ---> Running in f22b277b51d6 05:03:55 Removing intermediate container f22b277b51d6 05:03:55 ---> a9141a3ccb06 05:03:55 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 05:03:55 ---> Running in b78e3e4c1845 05:03:55 Removing intermediate container b78e3e4c1845 05:03:55 ---> 4949eef4ada0 05:03:55 Step 5/27 : ARG ADD_BUILD_TAGS="" 05:03:56 ---> Running in 7aae936831c7 05:03:56 Removing intermediate container 7aae936831c7 05:03:56 ---> 4a67eafe1056 05:03:56 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:56 ---> Running in bd2f1be55cd0 05:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:03:58 OK: 266 MiB in 52 packages 05:03:59 Removing intermediate container bd2f1be55cd0 05:03:59 ---> 68a3fc471976 05:03:59 Step 7/27 : WORKDIR /app 05:03:59 ---> Running in 48613818a3a9 05:04:00 Removing intermediate container 48613818a3a9 05:04:00 ---> 2e8b3f5de6a8 05:04:00 Step 8/27 : COPY go.mod vendor* ./ 05:04:00 ---> 8e0c243d54a4 05:04:00 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:00 ---> Running in b540f2d22863 05:04:03 Removing intermediate container b540f2d22863 05:04:03 ---> 164ed086a702 05:04:03 Step 10/27 : COPY . . 05:04:03 ---> e25089c625f3 05:04:03 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:03 ---> Running in 01a3763a1c40 05:04:04 Removing intermediate container 01a3763a1c40 05:04:04 ---> 197603864056 05:04:04 Step 12/27 : RUN $MAKE 05:04:04 ---> Running in 6b085fd42f4d 05:04:05 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.48 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:07:41 Removing intermediate container 6b085fd42f4d 05:07:41 ---> 98d421551d47 05:07:41 Step 13/27 : FROM alpine:3.18 05:07:41 3.18: Pulling from library/alpine 05:07:41 4983c3fe2029: Pulling fs layer 05:07:41 4983c3fe2029: Verifying Checksum 05:07:41 4983c3fe2029: Download complete 05:07:41 4983c3fe2029: Pull complete 05:07:41 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 05:07:41 Status: Downloaded newer image for alpine:3.18 05:07:41 ---> a0237000ae83 05:07:41 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:07:41 ---> Running in b28e1e5246d7 05:07:41 Removing intermediate container b28e1e5246d7 05:07:41 ---> e653bbe3fc15 05:07:41 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 05:07:41 ---> Running in c65c528d4604 05:07:41 Removing intermediate container c65c528d4604 05:07:41 ---> 8cad3f4bc29a 05:07:41 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 05:07:41 ---> Running in bd5b5557bbd3 05:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:07:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:07:43 (1/2) Installing ca-certificates (20240226-r0) 05:07:43 (2/2) Installing dumb-init (1.2.5-r2) 05:07:43 Executing busybox-1.36.1-r7.trigger 05:07:43 Executing ca-certificates-20240226-r0.trigger 05:07:44 OK: 9 MiB in 17 packages 05:07:45 Removing intermediate container bd5b5557bbd3 05:07:45 ---> 9cbeee9a2389 05:07:45 Step 17/27 : RUN apk --no-cache upgrade 05:07:45 ---> Running in c6c9cc62771b 05:07:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:07:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:07:47 OK: 9 MiB in 17 packages 05:07:48 Removing intermediate container c6c9cc62771b 05:07:48 ---> 73af65b3e74a 05:07:48 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:07:49 ---> 5eece8a4fcb8 05:07:49 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 05:07:49 ---> 28e1b375d322 05:07:49 Step 20/27 : COPY --from=builder /app/res/ /res/ 05:07:50 ---> 3966aa4a384c 05:07:50 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:07:52 ---> 84585bde0592 05:07:52 Step 22/27 : EXPOSE 48095 05:07:52 ---> Running in 9ac1be11a6d5 05:07:52 Removing intermediate container 9ac1be11a6d5 05:07:52 ---> 81738bb4d5c4 05:07:52 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 05:07:52 ---> Running in a39a3903ac13 05:07:52 Removing intermediate container a39a3903ac13 05:07:52 ---> 222ae5be4e5c 05:07:52 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:07:52 ---> Running in 3f1f5ec4af83 05:07:53 Removing intermediate container 3f1f5ec4af83 05:07:53 ---> 240ef7bac9b6 05:07:53 Step 25/27 : LABEL arch=arm64 05:07:53 ---> Running in 2b704abb537c 05:07:53 Removing intermediate container 2b704abb537c 05:07:53 ---> cfd709c0abe0 05:07:53 Step 26/27 : LABEL git_sha=19208ae1f6191ad6d33c916f04e641f17e975004 05:07:53 ---> Running in 7f7fba573ac8 05:07:53 Removing intermediate container 7f7fba573ac8 05:07:53 ---> 696ddde128bb 05:07:53 Step 27/27 : LABEL version=0.0.0 05:07:53 ---> Running in 80646e995cc8 05:07:54 Removing intermediate container 80646e995cc8 05:07:54 ---> 5a16826a33be 05:07:54 [Warning] One or more build-args [ARCH] were not consumed 05:07:54 Successfully built 5a16826a33be 05:07:54 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:07:54 05:07:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:07:55 arm64: Pulling from edgex-lftools-log-publisher 05:07:55 8998bd30e6a1: Pulling fs layer 05:07:55 04944245beec: Pulling fs layer 05:07:55 699f458cf7ca: Pulling fs layer 05:07:55 765212b225bb: Pulling fs layer 05:07:55 f23df028b6ca: Pulling fs layer 05:07:55 d65c8cfc05b1: Pulling fs layer 05:07:55 2437ff75d9bd: Pulling fs layer 05:07:55 f23df028b6ca: Waiting 05:07:55 d65c8cfc05b1: Waiting 05:07:55 765212b225bb: Waiting 05:07:55 2437ff75d9bd: Waiting 05:07:55 04944245beec: Verifying Checksum 05:07:55 04944245beec: Download complete 05:07:55 765212b225bb: Verifying Checksum 05:07:55 f23df028b6ca: Verifying Checksum 05:07:55 f23df028b6ca: Download complete 05:07:55 d65c8cfc05b1: Verifying Checksum 05:07:55 d65c8cfc05b1: Download complete 05:07:55 699f458cf7ca: Verifying Checksum 05:07:55 699f458cf7ca: Download complete 05:07:56 8998bd30e6a1: Verifying Checksum 05:07:56 8998bd30e6a1: Download complete 05:07:58 2437ff75d9bd: Verifying Checksum 05:07:58 2437ff75d9bd: Download complete 05:08:00 8998bd30e6a1: Pull complete 05:08:01 04944245beec: Pull complete 05:08:03 699f458cf7ca: Pull complete 05:08:03 765212b225bb: Pull complete 05:08:04 f23df028b6ca: Pull complete 05:08:04 d65c8cfc05b1: Pull complete 05:08:22 2437ff75d9bd: Pull complete 05:08:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:08:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:08:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:23 prd-ubuntu20.04-docker-arm64-4c-16g-9160 does not seem to be running inside a container 05:08: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/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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:08:26 $ docker top cf256f72481bbc4758611d0fa14b4545e2ef93729164e4a8b0c631f0d1ba380e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:26 ---> job-cost.sh 05:08:26 lf-activate-venv: SKIPPING 05:08:26 INFO: No Stack... 05:08:27 INFO: Retrieving Pricing Info for: v3-standard-4 05:08:28 INFO: Archiving Costs [Pipeline] sh 05:08:28 + cat /w/workspace/app-service-configurable/3/archives/cost.csv 05:08:28 + cut -d, -f6 [Pipeline] lock 05:08:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-3-stack-cost] 05:08:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-673-3-stack-cost] did not exist. Created. 05:08:28 Lock acquired on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:08:29 /w/workspace/app-service-configurable/3@tmp/durable-3766f8bc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:08:30 + echo total: 0.10999999940395355 [Pipeline] stash 05:08:30 Warning: overwriting stash ‘stack-cost’ 05:08:30 Stashed 1 file(s) [Pipeline] } 05:08:30 Lock released on resource [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-3-stack-cost] [Pipeline] // lock [Pipeline] } 05:08:30 $ docker stop --time=1 cf256f72481bbc4758611d0fa14b4545e2ef93729164e4a8b0c631f0d1ba380e 05:08:31 $ docker rm -f --volumes cf256f72481bbc4758611d0fa14b4545e2ef93729164e4a8b0c631f0d1ba380e [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 05:08:32 provisioning config files... 05:08:32 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config11348822706519091411tmp [Pipeline] { [Pipeline] sh 05:08:32 + set +x 05:08:32 + curl -s https://codecov.io/bash 05:08:32 + bash -s -- 05:08:32 05:08:32 _____ _ 05:08:32 / ____| | | 05:08:32 | | ___ __| | ___ ___ _____ __ 05:08:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:08:32 | |___| (_) | (_| | __/ (_| (_) \ V / 05:08:32 \_____\___/ \__,_|\___|\___\___/ \_/ 05:08:32 Bash-1.0.6 05:08:32 05:08:32 05:08:33 ==> git version 2.25.1 found 05:08:33 ==> 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 05:08:33 Release-Date: 2020-01-08 05:08:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:08:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:08:33 ==> Jenkins CI detected. 05:08:33 current dir:  /w/workspace/_app-service-configurable_PR-673 05:08:33 project root: . 05:08:33 --> token set from env 05:08:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:08:33 ==> Running gcov in . (disable via -X gcov) 05:08:33 ==> Python coveragepy not found 05:08:33 ==> Searching for coverage reports in: 05:08:33 + . 05:08:33 -> Found 1 reports 05:08:33 ==> Detecting git/mercurial file structure 05:08:33 ==> Reading reports 05:08:33 + ./coverage.out bytes=13 05:08:33 ==> Appending adjustments 05:08:33 https://docs.codecov.io/docs/fixing-reports 05:08:33 + Found adjustments 05:08:33 ==> Gzipping contents 05:08:33 4.0K /tmp/codecov.EOfB1S.gz 05:08:33 ==> Uploading reports 05:08:33 url: https://codecov.io 05:08:33 query: branch=PR-673&commit=cb831bfc33342aac7caa41b4dafd91c0593e651e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-673%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=673&job=&cmd_args= 05:08:33 -> Pinging Codecov 05:08:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-673&commit=cb831bfc33342aac7caa41b4dafd91c0593e651e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-673%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=673&job=&cmd_args= 05:08:33 -> Uploading to 05:08:33 https://storage.googleapis.com/codecov/v4/raw/2024-09-02/A97CA9966030D2A3747ED39772930CCE/cb831bfc33342aac7caa41b4dafd91c0593e651e/87b9afd9-ac01-4a99-b678-3518da735165.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240902%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240902T050833Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96ccd57428f606de4c06f00186a0557cfec56031f086b376631a80030012d7ba 05:08:33 % Total % Received % Xferd Average Speed Time Time Time Current 05:08:33 Dload Upload Total Spent Left Speed 05:08:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 259 0 0 100 259 0 992 --:--:-- --:--:-- --:--:-- 992 05:08:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/cb831bfc33342aac7caa41b4dafd91c0593e651e [Pipeline] } 05:08:33 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:08:34 + [ -d /w/workspace/_app-service-configurable_PR-673/archives ] 05:08:34 + ls -al /w/workspace/_app-service-configurable_PR-673/archives 05:08:34 total 16 05:08:34 drwxr-xr-x 3 root root 4096 Sep 2 04:54 . 05:08:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 04:54 .. 05:08:34 drwxr-xr-x 2 root root 4096 Sep 2 04:54 cost 05:08:34 -rw-r--r-- 1 root root 96 Sep 2 04:54 cost.csv 05:08:34 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-673/archives 05:08:34 + ls -al /w/workspace/_app-service-configurable_PR-673/archives 05:08:34 total 16 05:08:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 04:54 . 05:08:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 04:54 .. 05:08:34 drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 04:54 cost 05:08:34 -rw-r--r-- 1 jenkins jenkins 96 Sep 2 04:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:08:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:08:35 ---> package-listing.sh 05:08:35 ++ facter osfamily 05:08:35 ++ tr '[:upper:]' '[:lower:]' 05:08:36 + OS_FAMILY=debian 05:08:36 + workspace=/w/workspace/_app-service-configurable_PR-673 05:08:36 + START_PACKAGES=/tmp/packages_start.txt 05:08:36 + END_PACKAGES=/tmp/packages_end.txt 05:08:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:08:36 + PACKAGES=/tmp/packages_start.txt 05:08:36 + '[' /w/workspace/_app-service-configurable_PR-673 ']' 05:08:36 + PACKAGES=/tmp/packages_end.txt 05:08:36 + case "${OS_FAMILY}" in 05:08:36 + dpkg -l 05:08:36 + grep '^ii' 05:08:36 + '[' -f /tmp/packages_start.txt ']' 05:08:36 + '[' -f /tmp/packages_end.txt ']' 05:08:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:08:36 + '[' /w/workspace/_app-service-configurable_PR-673 ']' 05:08:36 + mkdir -p /w/workspace/_app-service-configurable_PR-673/archives/ 05:08:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-673/archives/ [Pipeline] echo 05:08:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-673/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:08:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:08:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:37 prd-ubuntu20.04-docker-8c-8g-9158 does not seem to be running inside a container 05:08:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-673/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:08:37 $ docker top 01b14ba984eef4ecf62141b42faf1b70c3e7683031523fdfe4a3645750ff2730 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:37 + touch /tmp/pre-build-complete [Pipeline] sh 05:08:38 + mkdir -p /var/log/sysstat [Pipeline] sh 05:08:38 + ls /var/log/sa-host 05:08:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:38 provisioning config files... 05:08:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config11190117174161088170tmp [Pipeline] { [Pipeline] echo 05:08:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:08:38 ---> create-netrc.sh [Pipeline] } 05:08:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:08:39 ---> python-tools-install.sh [Pipeline] echo 05:08:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:08:39 ---> sudo-logs.sh 05:08:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:08:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:08:39 ---> job-cost.sh 05:08:39 lf-activate-venv: SKIPPING 05:08:39 DEBUG: total: 0.2199999988079071 05:08:39 INFO: Retrieving Stack Cost... 05:08:39 INFO: Retrieving Pricing Info for: v3-standard-8 05:08:40 INFO: Archiving Costs [Pipeline] echo 05:08:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:08:40 ---> logs-deploy.sh 05:08:40 lf-activate-venv: SKIPPING 05:08:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-673/3 05:08:40 INFO: archiving workspace using pattern(s): 05:08:41 Archives upload complete. 05:08:41 INFO: archiving logs to Nexus