Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from d6bbd98166ac1d6cc3b22a8033debe98ece526a7+68cd066fbc50be95059e135e011029de61099e53 (6829511cd744e05eb17b95164822d00c19e7d6d0) 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-ssh14361149001601921491.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3327708186114255310.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-591/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-591/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5144700439048111714.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh13289960633799384321.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-591/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-591/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14381541226733311447.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, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-5092 in /w/workspace/_app-service-configurable_PR-591 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-591 # 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/591/head:refs/remotes/origin/PR-591 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 68cd066fbc50be95059e135e011029de61099e53 into PR head commit d6bbd98166ac1d6cc3b22a8033debe98ece526a7 Merge succeeded, producing 486dfd14dc7fb0fd06beda2afc608e79e8223d65 Checking out Revision 486dfd14dc7fb0fd06beda2afc608e79e8223d65 (PR-591) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bbd98166ac1d6cc3b22a8033debe98ece526a7 # 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 68cd066fbc50be95059e135e011029de61099e53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 486dfd14dc7fb0fd06beda2afc608e79e8223d65 # timeout=10 Commit message: "Merge commit '68cd066fbc50be95059e135e011029de61099e53' into HEAD" > git rev-list --no-walk d6bbd98166ac1d6cc3b22a8033debe98ece526a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:42 ========================================================= 04:52:42 EdgeX Global Pipelines Version Info 04:52:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:52:42 ------------------- 04:52:42 stable info: 04:52:42 ------------------- 04:52:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:52:42 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:52:42 Message: update stable to v1.0.253 04:52:43 ------------------- 04:52:43 experimental info: 04:52:43 ------------------- 04:52:43 Commited By: **** collab-it+edgex@linuxfoundation.org 04:52:43 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:52:43 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-591 [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-591 [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-591 [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 486dfd14dc7fb0fd06beda2afc608e79e8223d65 [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 486dfd1 [Pipeline] echo 04:52:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:43 provisioning config files... 04:52:43 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-591@tmp/config13285816063852707690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:44 ---> docker-login.sh 04:52:44 nexus3.edgexfoundry.org:10001 04:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:44 Configure a credential helper to remove this warning. See 04:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:44 04:52:44 Login Succeeded 04:52:44 nexus3.edgexfoundry.org:10002 04:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:44 Configure a credential helper to remove this warning. See 04:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:44 04:52:44 Login Succeeded 04:52:44 nexus3.edgexfoundry.org:10003 04:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:45 Configure a credential helper to remove this warning. See 04:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:45 04:52:45 Login Succeeded 04:52:45 nexus3.edgexfoundry.org:10004 04:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:45 Configure a credential helper to remove this warning. See 04:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:45 04:52:45 Login Succeeded 04:52:45 docker.io 04:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:45 Configure a credential helper to remove this warning. See 04:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:45 04:52:45 Login Succeeded 04:52:45 ---> docker-login.sh ends [Pipeline] } 04:52:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:52:45 + git rev-list -1 --merges 486dfd14dc7fb0fd06beda2afc608e79e8223d65~1..486dfd14dc7fb0fd06beda2afc608e79e8223d65 [Pipeline] echo 04:52:45 -----------> git rev-list -1 --merges 486dfd14dc7fb0fd06beda2afc608e79e8223d65~1..486dfd14dc7fb0fd06beda2afc608e79e8223d65 486dfd14dc7fb0fd06beda2afc608e79e8223d65 04:52:45 486dfd14dc7fb0fd06beda2afc608e79e8223d65 [false] [Pipeline] sh 04:52:45 + git log --format=format:%s -1 486dfd14dc7fb0fd06beda2afc608e79e8223d65 [Pipeline] echo 04:52:46 ========================================================= 04:52:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:52:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:46 + git log --format=format:%s -1 486dfd14dc7fb0fd06beda2afc608e79e8223d65 [Pipeline] echo 04:52:46 [semverPrep] GIT_COMMIT: 486dfd14dc7fb0fd06beda2afc608e79e8223d65, Commit Message: Merge commit '68cd066fbc50be95059e135e011029de61099e53' into HEAD [Pipeline] echo 04:52:46 [semverPrep] This is not a build commit. [Pipeline] sh 04:52:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:46 + grep -v github /etc/ssh/ssh_known_hosts 04:52:46 + [ -e /tmp/ssh_known_hosts ] 04:52:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:52:46 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:52:46 sudo tee -a /etc/ssh/ssh_known_hosts 04:52:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:47 04:52:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:47 0.1.4: Pulling from edgex-devops/py-git-semver 04:52:47 b85a868b505f: Pulling fs layer 04:52:47 e2be974225ed: Pulling fs layer 04:52:47 339a4e72a1f5: Pulling fs layer 04:52:47 988bab9f4d93: Pulling fs layer 04:52:47 1469e6f7b9e6: Pulling fs layer 04:52:47 eaf3925da568: Pulling fs layer 04:52:47 bab4dde63d76: Pulling fs layer 04:52:47 bde34c3a00c8: Pulling fs layer 04:52:47 b352a97aabf1: Pulling fs layer 04:52:47 4872d77fe225: Pulling fs layer 04:52:47 5851b861e8e6: Pulling fs layer 04:52:47 988bab9f4d93: Waiting 04:52:47 b352a97aabf1: Waiting 04:52:47 4872d77fe225: Waiting 04:52:47 bab4dde63d76: Waiting 04:52:47 eaf3925da568: Waiting 04:52:47 5851b861e8e6: Waiting 04:52:47 bde34c3a00c8: Waiting 04:52:47 e2be974225ed: Download complete 04:52:47 988bab9f4d93: Verifying Checksum 04:52:47 988bab9f4d93: Download complete 04:52:47 1469e6f7b9e6: Verifying Checksum 04:52:47 1469e6f7b9e6: Download complete 04:52:47 339a4e72a1f5: Download complete 04:52:47 eaf3925da568: Download complete 04:52:47 bde34c3a00c8: Download complete 04:52:47 b352a97aabf1: Verifying Checksum 04:52:47 b352a97aabf1: Download complete 04:52:47 4872d77fe225: Verifying Checksum 04:52:47 4872d77fe225: Download complete 04:52:47 b85a868b505f: Verifying Checksum 04:52:47 b85a868b505f: Download complete 04:52:47 bab4dde63d76: Verifying Checksum 04:52:47 bab4dde63d76: Download complete 04:52:48 b85a868b505f: Pull complete 04:52:49 e2be974225ed: Pull complete 04:52:49 339a4e72a1f5: Pull complete 04:52:49 988bab9f4d93: Pull complete 04:52:50 1469e6f7b9e6: Pull complete 04:52:50 eaf3925da568: Pull complete 04:52:51 bab4dde63d76: Pull complete 04:52:51 bde34c3a00c8: Pull complete 04:52:52 b352a97aabf1: Pull complete 04:52:52 4872d77fe225: Pull complete 04:52:52 5851b861e8e6: Pull complete 04:52:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:52:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:52 prd-ubuntu20.04-docker-8c-8g-5092 does not seem to be running inside a container 04:52:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:52:55 $ docker top 5673aed271687e3fda2b7e08a42971ad2df215f3a18a37a1a5868eff0c4f6050 -eo pid,comm 04:52:55 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:52:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:55 [ssh-agent] Looking for ssh-agent implementation... 04:52:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:55 $ docker exec 5673aed271687e3fda2b7e08a42971ad2df215f3a18a37a1a5868eff0c4f6050 ssh-agent 04:52:55 SSH_AUTH_SOCK=/tmp/ssh-I2tnOhU0tU4F/agent.33 04:52:55 SSH_AGENT_PID=39 04:52:55 Running ssh-add (command line suppressed) 04:52:55 Identity added: /w/workspace/_app-service-configurable_PR-591@tmp/private_key_12881440887217881869.key (/w/workspace/_app-service-configurable_PR-591@tmp/private_key_12881440887217881869.key) 04:52:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:56 + git tag --points-at HEAD [Pipeline] } 04:52:56 $ docker exec --env ******** --env ******** 5673aed271687e3fda2b7e08a42971ad2df215f3a18a37a1a5868eff0c4f6050 ssh-agent -k 04:52:56 unset SSH_AUTH_SOCK; 04:52:56 unset SSH_AGENT_PID; 04:52:56 echo Agent pid 39 killed; 04:52:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:52:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:56 [ssh-agent] Looking for ssh-agent implementation... 04:52:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:56 $ docker exec 5673aed271687e3fda2b7e08a42971ad2df215f3a18a37a1a5868eff0c4f6050 ssh-agent 04:52:56 SSH_AUTH_SOCK=/tmp/ssh-FH2XXNRF9L8k/agent.71 04:52:56 SSH_AGENT_PID=77 04:52:56 Running ssh-add (command line suppressed) 04:52:56 Identity added: /w/workspace/_app-service-configurable_PR-591@tmp/private_key_6848282743657252012.key (/w/workspace/_app-service-configurable_PR-591@tmp/private_key_6848282743657252012.key) 04:52:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:56 + git semver init 04:52:57 2023-09-01 04:52:57,149 [run_init] DEBUG init version:0.0.0 force:False 04:52:57 2023-09-01 04:52:57,150 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-591/.semver 04:52:57 2023-09-01 04:52:57,150 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-591/.semver 04:52:57 2023-09-01 04:52:57,150 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-591/.semver'], cwd=/w/workspace/_app-service-configurable_PR-591, universal_newlines=False, shell=None, istream=None) 04:52:58 2023-09-01 04:52:57,932 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-591/.git/info/exclude 04:52:58 2023-09-01 04:52:57,933 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-591/.semver/PR-591 with force:False 04:52:58 2023-09-01 04:52:57,933 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-591/.semver/PR-591 04:52:58 2023-09-01 04:52:57,938 [execute] INFO git cat-file --batch-check 04:52:58 2023-09-01 04:52:57,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-591/.semver, universal_newlines=False, shell=None, istream=) 04:52:58 2023-09-01 04:52:57,946 [execute] INFO git cat-file --batch 04:52:58 2023-09-01 04:52:57,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-591/.semver, universal_newlines=False, shell=None, istream=) 04:52:58 2023-09-01 04:52:57,952 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-591/.semver/PR-591 04:52:58 0.0.0 [Pipeline] } 04:52:58 $ docker exec --env ******** --env ******** 5673aed271687e3fda2b7e08a42971ad2df215f3a18a37a1a5868eff0c4f6050 ssh-agent -k 04:52:58 unset SSH_AUTH_SOCK; 04:52:58 unset SSH_AGENT_PID; 04:52:58 echo Agent pid 77 killed; 04:52:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:58 + git semver [Pipeline] } 04:52:58 $ docker stop --time=1 5673aed271687e3fda2b7e08a42971ad2df215f3a18a37a1a5868eff0c4f6050 04:53:00 $ docker rm -f --volumes 5673aed271687e3fda2b7e08a42971ad2df215f3a18a37a1a5868eff0c4f6050 [Pipeline] // withDockerContainer [Pipeline] sh 04:53:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:53:00 Stashed 1 file(s) [Pipeline] echo 04:53:00 [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:53:00 provisioning config files... 04:53:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-591@tmp/config10341245373547361305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:01 ---> docker-login.sh 04:53:01 nexus3.edgexfoundry.org:10001 04:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:01 Configure a credential helper to remove this warning. See 04:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:01 04:53:01 Login Succeeded 04:53:01 nexus3.edgexfoundry.org:10002 04:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:01 Configure a credential helper to remove this warning. See 04:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:01 04:53:01 Login Succeeded 04:53:01 nexus3.edgexfoundry.org:10003 04:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:01 Configure a credential helper to remove this warning. See 04:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:01 04:53:01 Login Succeeded 04:53:01 nexus3.edgexfoundry.org:10004 04:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:01 Configure a credential helper to remove this warning. See 04:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:01 04:53:01 Login Succeeded 04:53:01 docker.io 04:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:01 Configure a credential helper to remove this warning. See 04:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:01 04:53:01 Login Succeeded 04:53:01 ---> docker-login.sh ends [Pipeline] } 04:53:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:53:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:53:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:53:01 ========================================================= 04:53:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:53:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:02 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:53:02 Sending build context to Docker daemon 3.339MB 04:53:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:53:02 Step 2/12 : FROM ${BASE} AS builder 04:53:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:53:02 4db1b89c0bd1: Pulling fs layer 04:53:02 6911f1a30b25: Pulling fs layer 04:53:02 e194b8c5c2a9: Pulling fs layer 04:53:02 6863d3e3a2b1: Pulling fs layer 04:53:02 ec0bb842ea78: Pulling fs layer 04:53:02 40a00589a448: Pulling fs layer 04:53:02 6c08303d61cc: Pulling fs layer 04:53:02 798269fcf238: Pulling fs layer 04:53:02 ec0bb842ea78: Waiting 04:53:02 6863d3e3a2b1: Waiting 04:53:02 40a00589a448: Waiting 04:53:02 6c08303d61cc: Waiting 04:53:02 798269fcf238: Waiting 04:53:02 6911f1a30b25: Verifying Checksum 04:53:02 6911f1a30b25: Download complete 04:53:02 6863d3e3a2b1: Verifying Checksum 04:53:02 6863d3e3a2b1: Download complete 04:53:02 ec0bb842ea78: Verifying Checksum 04:53:02 ec0bb842ea78: Download complete 04:53:02 4db1b89c0bd1: Verifying Checksum 04:53:02 4db1b89c0bd1: Download complete 04:53:02 40a00589a448: Verifying Checksum 04:53:02 40a00589a448: Download complete 04:53:02 4db1b89c0bd1: Pull complete 04:53:02 6911f1a30b25: Pull complete 04:53:02 798269fcf238: Verifying Checksum 04:53:02 798269fcf238: Download complete 04:53:02 e194b8c5c2a9: Verifying Checksum 04:53:02 e194b8c5c2a9: Download complete 04:53:02 6c08303d61cc: Verifying Checksum 04:53:02 6c08303d61cc: Download complete 04:53:06 e194b8c5c2a9: Pull complete 04:53:06 6863d3e3a2b1: Pull complete 04:53:06 ec0bb842ea78: Pull complete 04:53:06 40a00589a448: Pull complete 04:53:08 6c08303d61cc: Pull complete 04:53:09 798269fcf238: Pull complete 04:53:09 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:53:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:53:09 ---> ec979cd7f677 04:53:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:53:15 ---> Running in 98331f894136 04:53:15 Removing intermediate container 98331f894136 04:53:15 ---> 6dbb3c431e5b 04:53:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:53:15 ---> Running in 5da35c54fa65 04:53:15 Removing intermediate container 5da35c54fa65 04:53:15 ---> 1a0f86853abd 04:53:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:53:15 ---> Running in 6a2a1536cc5d 04:53:15 Removing intermediate container 6a2a1536cc5d 04:53:15 ---> 5a9bc085060a 04:53:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:53:15 ---> Running in 11196a642917 04:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:53:15 Still waiting to schedule task 04:53:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:53:16 OK: 265 MiB in 53 packages 04:53:16 Removing intermediate container 11196a642917 04:53:16 ---> ab90d416e4b3 04:53:16 Step 7/12 : WORKDIR /app 04:53:16 ---> Running in 380d513f3bba 04:53:16 Removing intermediate container 380d513f3bba 04:53:16 ---> ce84b37be11b 04:53:16 Step 8/12 : COPY go.mod vendor* ./ 04:53:16 ---> 0d075ae15bf1 04:53:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:16 ---> Running in 346f4ef48fa3 04:54:24 Removing intermediate container 346f4ef48fa3 04:54:24 ---> 2abd0f2cba61 04:54:24 Step 10/12 : COPY . . 04:54:24 ---> 74ce5e604ded 04:54:24 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:24 ---> Running in a69fa135d9ac 04:54:24 Removing intermediate container a69fa135d9ac 04:54:24 ---> f6b5f725e3ee 04:54:24 Step 12/12 : RUN $MAKE 04:54:24 ---> Running in 8e118e47a6bd 04:54:24 noop 04:54:24 Removing intermediate container 8e118e47a6bd 04:54:24 ---> 8d13c5beb5f1 04:54:24 Successfully built 8d13c5beb5f1 04:54:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:24 + docker inspect -f . ci-base-image-x86_64 04:54:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:24 prd-ubuntu20.04-docker-8c-8g-5092 does not seem to be running inside a container 04:54:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@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 ******** -e ******** ci-base-image-x86_64 cat 04:54:25 $ docker top 362156ac3a9eaac31e4d84459e26400bf656fcddb68b758b416b2b267b99a4cd -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:25 + go version 04:54:25 go version go1.20.6 linux/amd64 [Pipeline] } 04:54:25 $ docker stop --time=1 362156ac3a9eaac31e4d84459e26400bf656fcddb68b758b416b2b267b99a4cd 04:54:26 $ docker rm -f --volumes 362156ac3a9eaac31e4d84459e26400bf656fcddb68b758b416b2b267b99a4cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:27 + docker inspect -f . ci-base-image-x86_64 04:54:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:27 prd-ubuntu20.04-docker-8c-8g-5092 does not seem to be running inside a container 04:54:27 $ 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-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@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 ******** -e ******** ci-base-image-x86_64 cat 04:54:27 $ docker top 5128159c6bb62ba2e4163d849b7ac65dbaebad003ad429779980d00b94002d9c -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:27 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-591 [Pipeline] fileExists [Pipeline] sh 04:54:28 + make test 04:54:28 go test -race -coverprofile=coverage.out ./... 04:54:46 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:54:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5093 in /w/workspace/_app-service-configurable_PR-591 [Pipeline] { [Pipeline] ws 04:54:49 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 04:54:49 Selected Git installation does not exist. Using Default 04:54:49 The recommended git tool is: NONE 04:54:53 using credential edgex-jenkins-ssh 04:54:53 Cloning the remote Git repository 04:54:53 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:54:53 > git init /w/workspace/app-service-configurable/2 # timeout=10 04:54:53 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:53 > git --version # timeout=10 04:54:54 > git --version # 'git version 2.25.1' 04:54:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:57 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:58 Merging remotes/origin/main commit 68cd066fbc50be95059e135e011029de61099e53 into PR head commit d6bbd98166ac1d6cc3b22a8033debe98ece526a7 04:54:58 Merge succeeded, producing 341b62503374f44d5c3f1105a2d1e88a4d27f6c2 04:54:58 Checking out Revision 341b62503374f44d5c3f1105a2d1e88a4d27f6c2 (PR-591) 04:54:58 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:58 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:54:58 > git config core.sparsecheckout # timeout=10 04:54:58 > git checkout -f d6bbd98166ac1d6cc3b22a8033debe98ece526a7 # timeout=10 04:54:58 > git remote # timeout=10 04:54:58 > git config --get remote.origin.url # timeout=10 04:54:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:58 > git merge 68cd066fbc50be95059e135e011029de61099e53 # timeout=10 04:54:58 > git rev-parse HEAD^{commit} # timeout=10 04:54:58 > git config core.sparsecheckout # timeout=10 04:54:58 > git checkout -f 341b62503374f44d5c3f1105a2d1e88a4d27f6c2 # timeout=10 04:55:02 Commit message: "Merge commit '68cd066fbc50be95059e135e011029de61099e53' into HEAD" 04:55:02 > git rev-list --no-walk d6bbd98166ac1d6cc3b22a8033debe98ece526a7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:55:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:55:03 % Total % Received % Xferd Average Speed Time Time Time Current 04:55:03 Dload Upload Total Spent Left Speed 04:55:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 04:55:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:55:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:55:04 + sudo tee /etc/docker/daemon.new 04:55:04 { 04:55:04 "registry-mirrors": [ 04:55:04 "https://nexus3.edgexfoundry.org:10001" 04:55:04 ], 04:55:04 "bip": "10.250.0.254/24", 04:55:04 "hosts": [ 04:55:04 "tcp://0.0.0.0:5555", 04:55:04 "unix:///var/run/docker.sock" 04:55:04 ], 04:55:04 "mtu": 1458, 04:55:04 "selinux-enabled": true, 04:55:04 "seccomp-profile": "/etc/docker/seccomp.json" 04:55:04 } [Pipeline] sh 04:55:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:55:05 + sudo service docker restart 04:55:08 go vet ./... 04:55:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:10 ./bin/test-attribution-txt.sh 04:55:10 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 04:55:10 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 04:55:10 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 04:55:10 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 04:55:10 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 04:55:10 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:55:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:55:10 $ docker stop --time=1 5128159c6bb62ba2e4163d849b7ac65dbaebad003ad429779980d00b94002d9c 04:55:14 $ docker rm -f --volumes 5128159c6bb62ba2e4163d849b7ac65dbaebad003ad429779980d00b94002d9c [Pipeline] // withDockerContainer [Pipeline] sh 04:55:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:55:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:16 + ls -al . 04:55:16 total 184 04:55:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 04:54 . 04:55:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 04:52 .. 04:55:16 -rw-rw-r-- 1 jenkins jenkins 119 Sep 1 04:52 .dockerignore 04:55:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 04:52 .git 04:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 04:52 .github 04:55:16 -rw-rw-r-- 1 jenkins jenkins 171 Sep 1 04:52 .gitignore 04:55:16 -rw-rw-r-- 1 jenkins jenkins 41 Sep 1 04:52 .golangci.yml 04:55:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 04:52 .semver 04:55:16 -rw-rw-r-- 1 jenkins jenkins 9636 Sep 1 04:52 Attribution.txt 04:55:16 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 1 04:52 CHANGELOG.md 04:55:16 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 1 04:52 Dockerfile 04:55:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 04:52 GOVERNANCE.md 04:55:16 -rw-rw-r-- 1 jenkins jenkins 688 Sep 1 04:52 Jenkinsfile 04:55:16 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 1 04:52 LICENSE 04:55:16 -rw-rw-r-- 1 jenkins jenkins 618 Sep 1 04:52 OWNERS.md 04:55:16 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 1 04:52 README.md 04:55:16 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 04:53 VERSION 04:55:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 04:52 bin 04:55:16 -rw-r--r-- 1 jenkins jenkins 13 Sep 1 04:54 coverage.out 04:55:16 -rw-rw-r-- 1 jenkins jenkins 3729 Sep 1 04:52 go.mod 04:55:16 -rw-rw-r-- 1 jenkins jenkins 33854 Sep 1 04:52 go.sum 04:55:16 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 1 04:52 main.go 04:55:16 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 1 04:52 makefile 04:55:16 drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 04:52 res 04:55:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 04:52 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:16 + 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=486dfd14dc7fb0fd06beda2afc608e79e8223d65 --label arch=amd64 --label version=0.0.0 . 04:55:16 Sending build context to Docker daemon 3.34MB 04:55:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:55:16 Step 2/26 : FROM ${BASE} AS builder 04:55:16 ---> 8d13c5beb5f1 04:55:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:55:16 ---> Running in 1a1f5a257599 04:55:16 Removing intermediate container 1a1f5a257599 04:55:16 ---> d0a4792c0771 04:55:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:55:16 ---> Running in 3443c202e16c 04:55:16 Removing intermediate container 3443c202e16c 04:55:16 ---> d8e8ed1e692f 04:55:16 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:55:16 ---> Running in ab2d78280a72 04:55:16 Removing intermediate container ab2d78280a72 04:55:16 ---> 36e64029bd13 04:55:16 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:16 ---> Running in 541bf51bfc4a 04:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:55:17 OK: 265 MiB in 53 packages 04:55:17 Removing intermediate container 541bf51bfc4a 04:55:17 ---> c27ac41639df 04:55:17 Step 7/26 : WORKDIR /app 04:55:17 ---> Running in 4b0f13f1d18c 04:55:17 Removing intermediate container 4b0f13f1d18c 04:55:17 ---> f27490e8dc26 04:55:17 Step 8/26 : COPY go.mod vendor* ./ 04:55:17 ---> a8f65c7290fa 04:55:17 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:17 ---> Running in 8fbe2f71df2a 04:55:18 Removing intermediate container 8fbe2f71df2a 04:55:18 ---> 245f971f0979 04:55:18 Step 10/26 : COPY . . 04:55:19 ---> 501c31eff2a3 04:55:19 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:55:19 ---> Running in c12691c9643f 04:55:19 Removing intermediate container c12691c9643f 04:55:19 ---> abf1154b0c11 04:55:19 Step 12/26 : RUN $MAKE 04:55:19 ---> Running in 4d85b8ce807d 04:55:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.25 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:23 provisioning config files... 04:55:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config17125108818741624767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:23 ---> docker-login.sh 04:55:23 nexus3.edgexfoundry.org:10001 04:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:24 Configure a credential helper to remove this warning. See 04:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:24 04:55:24 Login Succeeded 04:55:24 nexus3.edgexfoundry.org:10002 04:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:24 Configure a credential helper to remove this warning. See 04:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:24 04:55:24 Login Succeeded 04:55:24 nexus3.edgexfoundry.org:10003 04:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:25 Configure a credential helper to remove this warning. See 04:55:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:25 04:55:25 Login Succeeded 04:55:25 nexus3.edgexfoundry.org:10004 04:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:25 Configure a credential helper to remove this warning. See 04:55:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:25 04:55:25 Login Succeeded 04:55:25 docker.io 04:55:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:25 Configure a credential helper to remove this warning. See 04:55:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:25 04:55:25 Login Succeeded 04:55:25 ---> docker-login.sh ends [Pipeline] } 04:55:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:26 ========================================================= 04:55:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:55:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:55:26 Sending build context to Docker daemon 178.2kB 04:55:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:55:26 Step 2/12 : FROM ${BASE} AS builder 04:55:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:55:26 edb6bdbacee9: Pulling fs layer 04:55:26 5f9638ab2659: Pulling fs layer 04:55:26 8d51d6327a98: Pulling fs layer 04:55:26 8b374f2dd631: Pulling fs layer 04:55:26 ec14aa9079de: Pulling fs layer 04:55:26 2f466654f4bb: Pulling fs layer 04:55:26 554e91adad29: Pulling fs layer 04:55:26 8b374f2dd631: Waiting 04:55:26 ec14aa9079de: Waiting 04:55:26 2f466654f4bb: Waiting 04:55:26 554e91adad29: Waiting 04:55:26 5f9638ab2659: Verifying Checksum 04:55:26 5f9638ab2659: Download complete 04:55:26 8b374f2dd631: Verifying Checksum 04:55:26 8b374f2dd631: Download complete 04:55:26 ec14aa9079de: Verifying Checksum 04:55:26 ec14aa9079de: Download complete 04:55:26 edb6bdbacee9: Download complete 04:55:27 edb6bdbacee9: Pull complete 04:55:27 554e91adad29: Verifying Checksum 04:55:27 554e91adad29: Download complete 04:55:28 5f9638ab2659: Pull complete 04:55:29 2f466654f4bb: Verifying Checksum 04:55:29 2f466654f4bb: Download complete 04:55:29 8d51d6327a98: Verifying Checksum 04:55:29 8d51d6327a98: Download complete 04:55:39 8d51d6327a98: Pull complete 04:55:39 8b374f2dd631: Pull complete 04:55:39 ec14aa9079de: Pull complete 04:55:42 Removing intermediate container 4d85b8ce807d 04:55:42 ---> 6d40afcf6532 04:55:42 Step 13/26 : FROM alpine:3.17 04:55:42 3.17: Pulling from library/alpine 04:55:42 9398808236ff: Pulling fs layer 04:55:42 9398808236ff: Verifying Checksum 04:55:42 9398808236ff: Download complete 04:55:42 9398808236ff: Pull complete 04:55:42 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:55:42 Status: Downloaded newer image for alpine:3.17 04:55:42 ---> 1e0b8b5322fc 04:55:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:55:42 ---> Running in 712a9f6e6a49 04:55:42 Removing intermediate container 712a9f6e6a49 04:55:42 ---> de3e32aa4166 04:55:42 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 04:55:42 ---> Running in 1655eddf7521 04:55:42 Removing intermediate container 1655eddf7521 04:55:42 ---> 11a90309482b 04:55:42 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:55:42 ---> Running in fb2477500831 04:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:55:42 (1/2) Installing ca-certificates (20230506-r0) 04:55:42 (2/2) Installing dumb-init (1.2.5-r2) 04:55:42 Executing busybox-1.35.0-r29.trigger 04:55:42 Executing ca-certificates-20230506-r0.trigger 04:55:42 OK: 8 MiB in 17 packages 04:55:42 Removing intermediate container fb2477500831 04:55:42 ---> 81e956e2ea59 04:55:42 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:55:43 ---> 58064b1c38c2 04:55:43 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:55:43 ---> 37d9b46aa267 04:55:43 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:55:43 ---> c45e1791176e 04:55:43 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:55:44 ---> aeee834db4e7 04:55:44 Step 21/26 : EXPOSE 48095 04:55:44 ---> Running in 6d84b116b7db 04:55:44 Removing intermediate container 6d84b116b7db 04:55:44 ---> 0e3bdc5145b1 04:55:44 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 04:55:44 ---> Running in 974421eb2a93 04:55:44 Removing intermediate container 974421eb2a93 04:55:44 ---> 4f4c925491da 04:55:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:55:44 ---> Running in 5d0c60ef8fcc 04:55:44 Removing intermediate container 5d0c60ef8fcc 04:55:44 ---> da69af35592a 04:55:44 Step 24/26 : LABEL arch=amd64 04:55:44 ---> Running in f29359d779b4 04:55:44 Removing intermediate container f29359d779b4 04:55:44 ---> 24acfbdcab53 04:55:44 Step 25/26 : LABEL git_sha=486dfd14dc7fb0fd06beda2afc608e79e8223d65 04:55:44 ---> Running in f912a7652708 04:55:44 Removing intermediate container f912a7652708 04:55:44 ---> c752f3fa1227 04:55:44 Step 26/26 : LABEL version=0.0.0 04:55:44 ---> Running in 405fe2341348 04:55:44 Removing intermediate container 405fe2341348 04:55:44 ---> 01ad65786914 04:55:44 [Warning] One or more build-args [ARCH] were not consumed 04:55:44 Successfully built 01ad65786914 04:55:44 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:45 04:55:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:45 latest: Pulling from edgex-lftools-log-publisher 04:55:45 5eb5b503b376: Pulling fs layer 04:55:45 5c69ac0246d0: Pulling fs layer 04:55:45 ec43610c2a17: Pulling fs layer 04:55:45 3a2ae6a8a46f: Pulling fs layer 04:55:45 33b1e0a273af: Pulling fs layer 04:55:45 5d3b04190fa2: Pulling fs layer 04:55:45 2f39f015ded8: Pulling fs layer 04:55:45 3a2ae6a8a46f: Waiting 04:55:45 33b1e0a273af: Waiting 04:55:45 5d3b04190fa2: Waiting 04:55:45 2f39f015ded8: Waiting 04:55:45 5c69ac0246d0: Verifying Checksum 04:55:45 5c69ac0246d0: Download complete 04:55:45 3a2ae6a8a46f: Verifying Checksum 04:55:45 3a2ae6a8a46f: Download complete 04:55:45 33b1e0a273af: Verifying Checksum 04:55:45 33b1e0a273af: Download complete 04:55:45 5d3b04190fa2: Verifying Checksum 04:55:45 5d3b04190fa2: Download complete 04:55:45 ec43610c2a17: Verifying Checksum 04:55:45 ec43610c2a17: Download complete 04:55:45 5eb5b503b376: Verifying Checksum 04:55:45 5eb5b503b376: Download complete 04:55:46 2f466654f4bb: Pull complete 04:55:46 2f39f015ded8: Download complete 04:55:47 5eb5b503b376: Pull complete 04:55:47 5c69ac0246d0: Pull complete 04:55:47 ec43610c2a17: Pull complete 04:55:47 3a2ae6a8a46f: Pull complete 04:55:47 33b1e0a273af: Pull complete 04:55:47 5d3b04190fa2: Pull complete 04:55:49 554e91adad29: Pull complete 04:55:49 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:55:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:55:49 ---> 1e15ea492957 04:55:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:55:50 ---> Running in aa244cc53371 04:55:50 Removing intermediate container aa244cc53371 04:55:50 ---> 0a4fff21660b 04:55:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:55:50 ---> Running in 6cd1a4bc2d86 04:55:50 Removing intermediate container 6cd1a4bc2d86 04:55:50 ---> b1af1bfe6cbb 04:55:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:55:50 ---> Running in e9f36629ff3f 04:55:51 Removing intermediate container e9f36629ff3f 04:55:51 ---> 41aaa78e4df0 04:55:51 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:51 ---> Running in 0f9ad8ef2223 04:55:52 2f39f015ded8: Pull complete 04:55:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:55:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:52 prd-ubuntu20.04-docker-8c-8g-5092 does not seem to be running inside a container 04:55:52 $ 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-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:55:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:55:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:55:54 OK: 263 MiB in 53 packages 04:55:55 Removing intermediate container 0f9ad8ef2223 04:55:55 ---> 0b76348b50a3 04:55:55 Step 7/12 : WORKDIR /app 04:55:55 ---> Running in b6fa75c25ac5 04:55:55 Removing intermediate container b6fa75c25ac5 04:55:55 ---> 304b4a2aa0f4 04:55:55 Step 8/12 : COPY go.mod vendor* ./ 04:55:56 $ docker top 8b2df07aef953fe3825a170c392bbe314e3f63317d29cdc43adc7c4eb7adce51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:56 ---> 446b8e7eda8c 04:55:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:56 ---> Running in d43d1d568e80 04:55:56 ---> job-cost.sh 04:55:56 lf-activate-venv: SKIPPING 04:55:56 INFO: No Stack... 04:55:56 INFO: Retrieving Pricing Info for: v3-standard-8 04:55:57 INFO: Archiving Costs [Pipeline] sh 04:55:57 + cat /w/workspace/_app-service-configurable_PR-591/archives/cost.csv 04:55:57 + cut -d, -f6 [Pipeline] lock 04:55:57 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-591-2-stack-cost] 04:55:57 Resource [jenkins-edgexfoundry-app-service-configurable-PR-591-2-stack-cost] did not exist. Created. 04:55:57 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-591-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:55:57 + echo total: 0.2199999988079071 [Pipeline] stash 04:55:58 Stashed 1 file(s) [Pipeline] } 04:55:58 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-591-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:55:58 $ docker stop --time=1 8b2df07aef953fe3825a170c392bbe314e3f63317d29cdc43adc7c4eb7adce51 04:55:59 $ docker rm -f --volumes 8b2df07aef953fe3825a170c392bbe314e3f63317d29cdc43adc7c4eb7adce51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:57:04 Removing intermediate container d43d1d568e80 04:57:04 ---> 221704ad2902 04:57:04 Step 10/12 : COPY . . 04:57:04 ---> 4e81ad08d365 04:57:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:57:04 ---> Running in cdf703be0c1d 04:57:04 Removing intermediate container cdf703be0c1d 04:57:04 ---> b13a5099e1e8 04:57:04 Step 12/12 : RUN $MAKE 04:57:04 ---> Running in c47e249be8a2 04:57:04 noop 04:57:04 Removing intermediate container c47e249be8a2 04:57:04 ---> 7a72615f5a75 04:57:04 Successfully built 7a72615f5a75 04:57:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:04 + docker inspect -f . ci-base-image-arm64 04:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:04 prd-ubuntu20.04-docker-arm64-4c-16g-5093 does not seem to be running inside a container 04:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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:57:05 $ docker top a4c552039c1763defd59c3ff58a0cde930dbee188f1c35015cc089d71c39766f -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:06 + go version 04:57:06 go version go1.20.6 linux/arm64 [Pipeline] } 04:57:06 $ docker stop --time=1 a4c552039c1763defd59c3ff58a0cde930dbee188f1c35015cc089d71c39766f 04:57:08 $ docker rm -f --volumes a4c552039c1763defd59c3ff58a0cde930dbee188f1c35015cc089d71c39766f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:08 + docker inspect -f . ci-base-image-arm64 04:57:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:09 prd-ubuntu20.04-docker-arm64-4c-16g-5093 does not seem to be running inside a container 04:57:09 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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:57:11 $ docker top b7022e69dccd67847138161de6e39675c5db1c055581a6a5515f1e3e376080c5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:12 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 04:57:12 + make test 04:57:13 go test -race -coverprofile=coverage.out ./... 05:00:04 ? github.com/edgexfoundry/app-service-configurable [no test files] 05:00:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:00:04 go vet ./... 05:02:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:02:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:02:02 ./bin/test-attribution-txt.sh 05:02:02 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 05:02:02 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 05:02:02 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 05:02:02 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 05:02:02 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 05:02:02 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 05:02:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:02:02 $ docker stop --time=1 b7022e69dccd67847138161de6e39675c5db1c055581a6a5515f1e3e376080c5 05:02:04 $ docker rm -f --volumes b7022e69dccd67847138161de6e39675c5db1c055581a6a5515f1e3e376080c5 [Pipeline] // withDockerContainer [Pipeline] sh 05:02:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:02:06 Warning: overwriting stash ‘coverage-report’ 05:02:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:02:07 + ls -al . 05:02:07 total 180 05:02:07 drwxrwxr-x 7 jenkins jenkins 4096 Sep 1 04:57 . 05:02:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 04:54 .. 05:02:07 -rw-rw-r-- 1 jenkins jenkins 119 Sep 1 04:54 .dockerignore 05:02:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 04:54 .git 05:02:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 04:54 .github 05:02:07 -rw-rw-r-- 1 jenkins jenkins 171 Sep 1 04:54 .gitignore 05:02:07 -rw-rw-r-- 1 jenkins jenkins 41 Sep 1 04:54 .golangci.yml 05:02:07 -rw-rw-r-- 1 jenkins jenkins 9636 Sep 1 04:54 Attribution.txt 05:02:07 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 1 04:54 CHANGELOG.md 05:02:07 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 1 04:54 Dockerfile 05:02:07 -rw-rw-r-- 1 jenkins jenkins 677 Sep 1 04:54 GOVERNANCE.md 05:02:07 -rw-rw-r-- 1 jenkins jenkins 688 Sep 1 04:54 Jenkinsfile 05:02:07 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 1 04:54 LICENSE 05:02:07 -rw-rw-r-- 1 jenkins jenkins 618 Sep 1 04:54 OWNERS.md 05:02:07 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 1 04:54 README.md 05:02:07 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 04:53 VERSION 05:02:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 04:54 bin 05:02:07 -rw-r--r-- 1 jenkins jenkins 13 Sep 1 04:57 coverage.out 05:02:07 -rw-rw-r-- 1 jenkins jenkins 3729 Sep 1 04:54 go.mod 05:02:07 -rw-rw-r-- 1 jenkins jenkins 33854 Sep 1 04:54 go.sum 05:02:07 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 1 04:54 main.go 05:02:07 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 1 04:54 makefile 05:02:07 drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 04:54 res 05:02:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 04:54 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:07 + 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=341b62503374f44d5c3f1105a2d1e88a4d27f6c2 --label arch=arm64 --label version=0.0.0 . 05:02:07 Sending build context to Docker daemon 179.2kB 05:02:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 05:02:07 Step 2/26 : FROM ${BASE} AS builder 05:02:07 ---> 7a72615f5a75 05:02:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 05:02:07 ---> Running in 62c57668ca93 05:02:08 Removing intermediate container 62c57668ca93 05:02:08 ---> 4406baa455d4 05:02:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:02:08 ---> Running in 1746b8965bb1 05:02:08 Removing intermediate container 1746b8965bb1 05:02:08 ---> c1ac82178cb2 05:02:08 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:02:08 ---> Running in c4ef3bb698cd 05:02:08 Removing intermediate container c4ef3bb698cd 05:02:08 ---> 3a3bc7856db1 05:02:08 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:02:08 ---> Running in f8c679855109 05:02:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:02:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:02:11 OK: 263 MiB in 53 packages 05:02:12 Removing intermediate container f8c679855109 05:02:12 ---> 7fc2cfa1db86 05:02:12 Step 7/26 : WORKDIR /app 05:02:12 ---> Running in 96e81d3753ba 05:02:12 Removing intermediate container 96e81d3753ba 05:02:12 ---> befc67e73f4d 05:02:12 Step 8/26 : COPY go.mod vendor* ./ 05:02:12 ---> beb3423fdd83 05:02:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:13 ---> Running in c7ac39786a3a 05:02:15 Removing intermediate container c7ac39786a3a 05:02:15 ---> 1ac5a25b860e 05:02:15 Step 10/26 : COPY . . 05:02:18 ---> c9a3879be164 05:02:18 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:02:18 ---> Running in 4691d7bb3cd1 05:02:18 Removing intermediate container 4691d7bb3cd1 05:02:18 ---> d6c0d8a336a2 05:02:18 Step 12/26 : RUN $MAKE 05:02:18 ---> Running in a199baba8693 05:02:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.25 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:04:40 Removing intermediate container a199baba8693 05:04:40 ---> 6d301fe5563c 05:04:40 Step 13/26 : FROM alpine:3.17 05:04:40 3.17: Pulling from library/alpine 05:04:40 4060ece20d7a: Pulling fs layer 05:04:40 4060ece20d7a: Verifying Checksum 05:04:40 4060ece20d7a: Download complete 05:04:40 4060ece20d7a: Pull complete 05:04:40 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:04:40 Status: Downloaded newer image for alpine:3.17 05:04:40 ---> 8650cd65339b 05:04:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:04:40 ---> Running in 01ba974f6b98 05:04:40 Removing intermediate container 01ba974f6b98 05:04:40 ---> 241a62f59659 05:04:40 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 05:04:40 ---> Running in 9e02b4b6ae24 05:04:40 Removing intermediate container 9e02b4b6ae24 05:04:40 ---> 6fe97bbb8b74 05:04:40 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 05:04:40 ---> Running in addd7801b9a8 05:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:04:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:04:40 (1/2) Installing ca-certificates (20230506-r0) 05:04:40 (2/2) Installing dumb-init (1.2.5-r2) 05:04:40 Executing busybox-1.35.0-r29.trigger 05:04:40 Executing ca-certificates-20230506-r0.trigger 05:04:40 OK: 8 MiB in 17 packages 05:04:40 Removing intermediate container addd7801b9a8 05:04:40 ---> ba768e913e9d 05:04:40 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:04:40 ---> 8e366d9d8bec 05:04:40 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 05:04:40 ---> 5a868214a856 05:04:40 Step 19/26 : COPY --from=builder /app/res/ /res/ 05:04:40 ---> d7a28785e4b3 05:04:40 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:04:40 ---> 31ae837862ae 05:04:40 Step 21/26 : EXPOSE 48095 05:04:40 ---> Running in 0b3421be5cc9 05:04:40 Removing intermediate container 0b3421be5cc9 05:04:40 ---> 9841aa42fb9c 05:04:40 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 05:04:40 ---> Running in e039f993470a 05:04:40 Removing intermediate container e039f993470a 05:04:40 ---> 9af55f27a2be 05:04:40 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:04:40 ---> Running in fa6fed8820c4 05:04:40 Removing intermediate container fa6fed8820c4 05:04:40 ---> c3d9f9da6174 05:04:40 Step 24/26 : LABEL arch=arm64 05:04:40 ---> Running in d7e95b306075 05:04:40 Removing intermediate container d7e95b306075 05:04:40 ---> d230511b9747 05:04:40 Step 25/26 : LABEL git_sha=341b62503374f44d5c3f1105a2d1e88a4d27f6c2 05:04:40 ---> Running in 881783b4fcff 05:04:40 Removing intermediate container 881783b4fcff 05:04:40 ---> 54829ec6a936 05:04:40 Step 26/26 : LABEL version=0.0.0 05:04:40 ---> Running in 78de3e22c162 05:04:40 Removing intermediate container 78de3e22c162 05:04:40 ---> 0a87a4cb0256 05:04:40 [Warning] One or more build-args [ARCH] were not consumed 05:04:40 Successfully built 0a87a4cb0256 05:04:40 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:41 05:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:41 arm64: Pulling from edgex-lftools-log-publisher 05:04:41 8998bd30e6a1: Pulling fs layer 05:04:41 04944245beec: Pulling fs layer 05:04:41 699f458cf7ca: Pulling fs layer 05:04:41 765212b225bb: Pulling fs layer 05:04:41 f23df028b6ca: Pulling fs layer 05:04:41 d65c8cfc05b1: Pulling fs layer 05:04:41 2437ff75d9bd: Pulling fs layer 05:04:41 d65c8cfc05b1: Waiting 05:04:41 f23df028b6ca: Waiting 05:04:41 2437ff75d9bd: Waiting 05:04:41 765212b225bb: Waiting 05:04:42 04944245beec: Verifying Checksum 05:04:42 04944245beec: Download complete 05:04:42 765212b225bb: Verifying Checksum 05:04:42 765212b225bb: Download complete 05:04:42 f23df028b6ca: Verifying Checksum 05:04:42 f23df028b6ca: Download complete 05:04:42 d65c8cfc05b1: Verifying Checksum 05:04:42 d65c8cfc05b1: Download complete 05:04:42 699f458cf7ca: Verifying Checksum 05:04:42 699f458cf7ca: Download complete 05:04:42 8998bd30e6a1: Verifying Checksum 05:04:42 8998bd30e6a1: Download complete 05:04:44 2437ff75d9bd: Verifying Checksum 05:04:44 2437ff75d9bd: Download complete 05:04:46 8998bd30e6a1: Pull complete 05:04:46 04944245beec: Pull complete 05:04:48 699f458cf7ca: Pull complete 05:04:48 765212b225bb: Pull complete 05:04:49 f23df028b6ca: Pull complete 05:04:49 d65c8cfc05b1: Pull complete 05:05:04 2437ff75d9bd: Pull complete 05:05:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:05:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:05:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:04 prd-ubuntu20.04-docker-arm64-4c-16g-5093 does not seem to be running inside a container 05:05:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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:05:09 $ docker top 475e04f1a5840949c91f7b8982997675c0cb90e69010b1b33c82d35a70452096 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:10 ---> job-cost.sh 05:05:10 lf-activate-venv: SKIPPING 05:05:10 INFO: No Stack... 05:05:10 INFO: Retrieving Pricing Info for: v3-standard-4 05:05:11 INFO: Archiving Costs [Pipeline] sh 05:05:12 + cut -d, -f6 05:05:12 + cat /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock 05:05:12 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-591-2-stack-cost] 05:05:12 Resource [jenkins-edgexfoundry-app-service-configurable-PR-591-2-stack-cost] did not exist. Created. 05:05:12 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-591-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:12 /w/workspace/app-service-configurable/2@tmp/durable-6db974b5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:05:13 + echo total: 0.10999999940395355 [Pipeline] stash 05:05:13 Warning: overwriting stash ‘stack-cost’ 05:05:13 Stashed 1 file(s) [Pipeline] } 05:05:13 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-591-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:13 $ docker stop --time=1 475e04f1a5840949c91f7b8982997675c0cb90e69010b1b33c82d35a70452096 05:05:14 $ docker rm -f --volumes 475e04f1a5840949c91f7b8982997675c0cb90e69010b1b33c82d35a70452096 [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:05:15 provisioning config files... 05:05:15 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-591@tmp/config9637508482917293901tmp [Pipeline] { [Pipeline] sh 05:05:15 + set +x 05:05:15 + curl -s https://codecov.io/bash 05:05:15 + bash -s -- 05:05:15 05:05:15 _____ _ 05:05:15 / ____| | | 05:05:15 | | ___ __| | ___ ___ _____ __ 05:05:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:05:15 | |___| (_) | (_| | __/ (_| (_) \ V / 05:05:15 \_____\___/ \__,_|\___|\___\___/ \_/ 05:05:15 Bash-1.0.6 05:05:15 05:05:15 05:05:15 ==> git version 2.25.1 found 05:05:15 ==> 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:05:15 Release-Date: 2020-01-08 05:05:15 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:05:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:05:15 ==> Jenkins CI detected. 05:05:15 current dir:  /w/workspace/_app-service-configurable_PR-591 05:05:15 project root: . 05:05:15 --> token set from env 05:05:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:05:15 ==> Running gcov in . (disable via -X gcov) 05:05:15 ==> Python coveragepy not found 05:05:15 ==> Searching for coverage reports in: 05:05:15 + . 05:05:15 -> Found 1 reports 05:05:15 ==> Detecting git/mercurial file structure 05:05:15 ==> Reading reports 05:05:15 + ./coverage.out bytes=13 05:05:15 ==> Appending adjustments 05:05:15 https://docs.codecov.io/docs/fixing-reports 05:05:15 + Found adjustments 05:05:15 ==> Gzipping contents 05:05:15 4.0K /tmp/codecov.FEodDW.gz 05:05:15 ==> Uploading reports 05:05:15 url: https://codecov.io 05:05:15 query: branch=PR-591&commit=486dfd14dc7fb0fd06beda2afc608e79e8223d65&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-591%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=591&job=&cmd_args= 05:05:15 -> Pinging Codecov 05:05:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-591&commit=486dfd14dc7fb0fd06beda2afc608e79e8223d65&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-591%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=591&job=&cmd_args= 05:05:15 -> Uploading to 05:05:15 https://storage.googleapis.com/codecov/v4/raw/2023-09-01/A97CA9966030D2A3747ED39772930CCE/486dfd14dc7fb0fd06beda2afc608e79e8223d65/11c8acb7-2991-4829-adaa-c572a18fca14.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230901%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230901T050515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f2c982e729fc44466ac6a17fc9d92f37697223346338a6932f1dbd7e9a794a08 05:05:15 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:15 Dload Upload Total Spent Left Speed 05:05:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2306 --:--:-- --:--:-- --:--:-- 2306 05:05:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/486dfd14dc7fb0fd06beda2afc608e79e8223d65 [Pipeline] } 05:05:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:05:16 + [ -d /w/workspace/_app-service-configurable_PR-591/archives ] 05:05:16 + ls -al /w/workspace/_app-service-configurable_PR-591/archives 05:05:16 total 16 05:05:16 drwxr-xr-x 3 root root 4096 Sep 1 04:55 . 05:05:16 drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 04:55 .. 05:05:16 drwxr-xr-x 2 root root 4096 Sep 1 04:55 cost 05:05:16 -rw-r--r-- 1 root root 96 Sep 1 04:55 cost.csv 05:05:16 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-591/archives 05:05:16 + ls -al /w/workspace/_app-service-configurable_PR-591/archives 05:05:16 total 16 05:05:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 04:55 . 05:05:16 drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 04:55 .. 05:05:16 drwxr-xr-x 2 jenkins jenkins 4096 Sep 1 04:55 cost 05:05:16 -rw-r--r-- 1 jenkins jenkins 96 Sep 1 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:05:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:05:17 ---> package-listing.sh 05:05:17 ++ facter osfamily 05:05:17 ++ tr '[:upper:]' '[:lower:]' 05:05:18 + OS_FAMILY=debian 05:05:18 + workspace=/w/workspace/_app-service-configurable_PR-591 05:05:18 + START_PACKAGES=/tmp/packages_start.txt 05:05:18 + END_PACKAGES=/tmp/packages_end.txt 05:05:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:05:18 + PACKAGES=/tmp/packages_start.txt 05:05:18 + '[' /w/workspace/_app-service-configurable_PR-591 ']' 05:05:18 + PACKAGES=/tmp/packages_end.txt 05:05:18 + case "${OS_FAMILY}" in 05:05:18 + dpkg -l 05:05:18 + grep '^ii' 05:05:18 + '[' -f /tmp/packages_start.txt ']' 05:05:18 + '[' -f /tmp/packages_end.txt ']' 05:05:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:05:18 + '[' /w/workspace/_app-service-configurable_PR-591 ']' 05:05:18 + mkdir -p /w/workspace/_app-service-configurable_PR-591/archives/ 05:05:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-591/archives/ [Pipeline] echo 05:05:18 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-591/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:05:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:18 prd-ubuntu20.04-docker-8c-8g-5092 does not seem to be running inside a container 05:05:18 $ 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-591/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-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@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 05:05:19 $ docker top 9439c59eb666262cef631715e32ad3655737b870a8234b33ce02cabf96312b53 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:19 + touch /tmp/pre-build-complete [Pipeline] sh 05:05:19 + mkdir -p /var/log/sysstat [Pipeline] sh 05:05:20 + ls /var/log/sa-host 05:05:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:20 provisioning config files... 05:05:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-591@tmp/config12939303356321107640tmp [Pipeline] { [Pipeline] echo 05:05:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:05:20 ---> create-netrc.sh [Pipeline] } 05:05:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:05:20 ---> python-tools-install.sh [Pipeline] echo 05:05:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:05:21 ---> sudo-logs.sh 05:05:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:05:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:05:21 ---> job-cost.sh 05:05:21 lf-activate-venv: SKIPPING 05:05:21 DEBUG: total: 0.2199999988079071 05:05:21 INFO: Retrieving Stack Cost... 05:05:21 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:22 INFO: Archiving Costs [Pipeline] echo 05:05:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:05:22 ---> logs-deploy.sh 05:05:22 lf-activate-venv: SKIPPING 05:05:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-591/2 05:05:22 INFO: archiving workspace using pattern(s): 05:05:23 Archives upload complete. 05:05:23 INFO: archiving logs to Nexus