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 a0105d77f475df03baf4e75debaff7bd55e68afc+0641d86a7e9e51402bc7501e954cf0251e558fc3 (cd278d79f1f34879b2d9484438446e9fd5c24764) 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-ssh11641823731007875267.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh12168221023138462492.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-616/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-616/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16997800110514456942.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh5448149741239986425.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-616/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-616/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2113411565542473443.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16344’ Running on prd-ubuntu20.04-docker-8c-8g-16346 in /w/workspace/_app-service-configurable_PR-616 [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-616 # 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/616/head:refs/remotes/origin/PR-616 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0641d86a7e9e51402bc7501e954cf0251e558fc3 into PR head commit a0105d77f475df03baf4e75debaff7bd55e68afc Merge succeeded, producing 215eb577c2e630d2122abfa97bc01cc47ad18904 Checking out Revision 215eb577c2e630d2122abfa97bc01cc47ad18904 (PR-616) > git config core.sparsecheckout # timeout=10 > git checkout -f a0105d77f475df03baf4e75debaff7bd55e68afc # 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 0641d86a7e9e51402bc7501e954cf0251e558fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 215eb577c2e630d2122abfa97bc01cc47ad18904 # timeout=10 Commit message: "Merge commit '0641d86a7e9e51402bc7501e954cf0251e558fc3' into HEAD" > git rev-list --no-walk a0105d77f475df03baf4e75debaff7bd55e68afc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:54:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:54:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:54:21 ========================================================= 04:54:21 EdgeX Global Pipelines Version Info 04:54:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:54:22 ------------------- 04:54:22 stable info: 04:54:22 ------------------- 04:54:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:54:22 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 04:54:22 Message: update stable to v1.0.255 04:54:23 ------------------- 04:54:23 experimental info: 04:54:23 ------------------- 04:54:23 Commited By: **** collab-it+edgex@linuxfoundation.org 04:54:23 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 04:54:23 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-616 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-616 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-616 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 215eb577c2e630d2122abfa97bc01cc47ad18904 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 215eb57 [Pipeline] echo 04:54:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:23 provisioning config files... 04:54:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config7353344920675708514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:24 ---> docker-login.sh 04:54:24 nexus3.edgexfoundry.org:10001 04:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:24 Configure a credential helper to remove this warning. See 04:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:24 04:54:24 Login Succeeded 04:54:24 nexus3.edgexfoundry.org:10002 04:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:24 Configure a credential helper to remove this warning. See 04:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:24 04:54:24 Login Succeeded 04:54:24 nexus3.edgexfoundry.org:10003 04:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:24 Configure a credential helper to remove this warning. See 04:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:24 04:54:24 Login Succeeded 04:54:24 nexus3.edgexfoundry.org:10004 04:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:24 Configure a credential helper to remove this warning. See 04:54:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:24 04:54:24 Login Succeeded 04:54:24 docker.io 04:54:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:25 Configure a credential helper to remove this warning. See 04:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:25 04:54:25 Login Succeeded 04:54:25 ---> docker-login.sh ends [Pipeline] } 04:54:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:54:25 + git rev-list -1 --merges 215eb577c2e630d2122abfa97bc01cc47ad18904~1..215eb577c2e630d2122abfa97bc01cc47ad18904 [Pipeline] echo 04:54:25 -----------> git rev-list -1 --merges 215eb577c2e630d2122abfa97bc01cc47ad18904~1..215eb577c2e630d2122abfa97bc01cc47ad18904 215eb577c2e630d2122abfa97bc01cc47ad18904 04:54:25 215eb577c2e630d2122abfa97bc01cc47ad18904 [false] [Pipeline] sh 04:54:25 + git log --format=format:%s -1 215eb577c2e630d2122abfa97bc01cc47ad18904 [Pipeline] echo 04:54:25 ========================================================= 04:54:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:54:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:26 + git log --format=format:%s -1 215eb577c2e630d2122abfa97bc01cc47ad18904 [Pipeline] echo 04:54:26 [semverPrep] GIT_COMMIT: 215eb577c2e630d2122abfa97bc01cc47ad18904, Commit Message: Merge commit '0641d86a7e9e51402bc7501e954cf0251e558fc3' into HEAD [Pipeline] echo 04:54:26 [semverPrep] This is not a build commit. [Pipeline] sh 04:54:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:54:26 + grep -v github /etc/ssh/ssh_known_hosts 04:54:26 + [ -e /tmp/ssh_known_hosts ] 04:54:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:54:26 + + sudo tee -a /etc/ssh/ssh_known_hosts 04:54:26 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:54:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:27 04:54:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:27 0.1.4: Pulling from edgex-devops/py-git-semver 04:54:27 b85a868b505f: Pulling fs layer 04:54:27 e2be974225ed: Pulling fs layer 04:54:27 339a4e72a1f5: Pulling fs layer 04:54:27 988bab9f4d93: Pulling fs layer 04:54:27 1469e6f7b9e6: Pulling fs layer 04:54:27 eaf3925da568: Pulling fs layer 04:54:27 bab4dde63d76: Pulling fs layer 04:54:27 bde34c3a00c8: Pulling fs layer 04:54:27 b352a97aabf1: Pulling fs layer 04:54:27 4872d77fe225: Pulling fs layer 04:54:27 5851b861e8e6: Pulling fs layer 04:54:27 988bab9f4d93: Waiting 04:54:27 4872d77fe225: Waiting 04:54:27 5851b861e8e6: Waiting 04:54:27 bde34c3a00c8: Waiting 04:54:27 1469e6f7b9e6: Waiting 04:54:27 eaf3925da568: Waiting 04:54:27 bab4dde63d76: Waiting 04:54:27 e2be974225ed: Download complete 04:54:27 988bab9f4d93: Verifying Checksum 04:54:27 988bab9f4d93: Download complete 04:54:27 1469e6f7b9e6: Verifying Checksum 04:54:27 1469e6f7b9e6: Download complete 04:54:27 eaf3925da568: Verifying Checksum 04:54:27 eaf3925da568: Download complete 04:54:27 339a4e72a1f5: Verifying Checksum 04:54:27 339a4e72a1f5: Download complete 04:54:27 bde34c3a00c8: Verifying Checksum 04:54:27 bde34c3a00c8: Download complete 04:54:27 b352a97aabf1: Download complete 04:54:27 4872d77fe225: Verifying Checksum 04:54:27 4872d77fe225: Download complete 04:54:27 5851b861e8e6: Verifying Checksum 04:54:27 5851b861e8e6: Download complete 04:54:27 b85a868b505f: Verifying Checksum 04:54:27 b85a868b505f: Download complete 04:54:27 bab4dde63d76: Verifying Checksum 04:54:27 bab4dde63d76: Download complete 04:54:28 b85a868b505f: Pull complete 04:54:29 e2be974225ed: Pull complete 04:54:29 339a4e72a1f5: Pull complete 04:54:29 988bab9f4d93: Pull complete 04:54:29 1469e6f7b9e6: Pull complete 04:54:29 eaf3925da568: Pull complete 04:54:31 bab4dde63d76: Pull complete 04:54:31 bde34c3a00c8: Pull complete 04:54:31 b352a97aabf1: Pull complete 04:54:31 4872d77fe225: Pull complete 04:54:31 5851b861e8e6: Pull complete 04:54:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:54:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:31 prd-ubuntu20.04-docker-8c-8g-16346 does not seem to be running inside a container 04:54:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:54:42 $ docker top e778946f4f939ac4979e15ff824251918e9b775c81bdbe0c19559edb976f3253 -eo pid,comm 04:54:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:54:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:54:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:42 [ssh-agent] Looking for ssh-agent implementation... 04:54:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:42 $ docker exec e778946f4f939ac4979e15ff824251918e9b775c81bdbe0c19559edb976f3253 ssh-agent 04:54:43 SSH_AUTH_SOCK=/tmp/ssh-eXKps8STVu1K/agent.33 04:54:43 SSH_AGENT_PID=39 04:54:43 Running ssh-add (command line suppressed) 04:54:43 Identity added: /w/workspace/_app-service-configurable_PR-616@tmp/private_key_17963806136404443027.key (/w/workspace/_app-service-configurable_PR-616@tmp/private_key_17963806136404443027.key) 04:54:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:43 + git tag --points-at HEAD [Pipeline] } 04:54:43 $ docker exec --env ******** --env ******** e778946f4f939ac4979e15ff824251918e9b775c81bdbe0c19559edb976f3253 ssh-agent -k 04:54:43 unset SSH_AUTH_SOCK; 04:54:43 unset SSH_AGENT_PID; 04:54:43 echo Agent pid 39 killed; 04:54:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:54:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:43 [ssh-agent] Looking for ssh-agent implementation... 04:54:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:43 $ docker exec e778946f4f939ac4979e15ff824251918e9b775c81bdbe0c19559edb976f3253 ssh-agent 04:54:43 SSH_AUTH_SOCK=/tmp/ssh-OaWeURMs8oFe/agent.71 04:54:43 SSH_AGENT_PID=77 04:54:43 Running ssh-add (command line suppressed) 04:54:43 Identity added: /w/workspace/_app-service-configurable_PR-616@tmp/private_key_2898846278005577740.key (/w/workspace/_app-service-configurable_PR-616@tmp/private_key_2898846278005577740.key) 04:54:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:44 + git semver init 04:54:44 2023-11-02 04:54:44,457 [run_init] DEBUG init version:0.0.0 force:False 04:54:44 2023-11-02 04:54:44,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-616/.semver 04:54:44 2023-11-02 04:54:44,458 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-616/.semver 04:54:44 2023-11-02 04:54:44,458 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-616/.semver'], cwd=/w/workspace/_app-service-configurable_PR-616, universal_newlines=False, shell=None, istream=None) 04:54:45 2023-11-02 04:54:45,442 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-616/.git/info/exclude 04:54:45 2023-11-02 04:54:45,443 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-616/.semver/PR-616 with force:False 04:54:45 2023-11-02 04:54:45,443 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-616/.semver/PR-616 04:54:45 2023-11-02 04:54:45,448 [execute] INFO git cat-file --batch-check 04:54:45 2023-11-02 04:54:45,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-616/.semver, universal_newlines=False, shell=None, istream=) 04:54:45 2023-11-02 04:54:45,453 [execute] INFO git cat-file --batch 04:54:45 2023-11-02 04:54:45,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-616/.semver, universal_newlines=False, shell=None, istream=) 04:54:45 2023-11-02 04:54:45,459 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-616/.semver/PR-616 04:54:45 0.0.0 [Pipeline] } 04:54:45 $ docker exec --env ******** --env ******** e778946f4f939ac4979e15ff824251918e9b775c81bdbe0c19559edb976f3253 ssh-agent -k 04:54:45 unset SSH_AUTH_SOCK; 04:54:45 unset SSH_AGENT_PID; 04:54:45 echo Agent pid 77 killed; 04:54:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:54:45 + git semver [Pipeline] } 04:54:46 $ docker stop --time=1 e778946f4f939ac4979e15ff824251918e9b775c81bdbe0c19559edb976f3253 04:54:47 $ docker rm -f --volumes e778946f4f939ac4979e15ff824251918e9b775c81bdbe0c19559edb976f3253 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:54:48 Stashed 1 file(s) [Pipeline] echo 04:54:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:48 provisioning config files... 04:54:48 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config18146694926911942578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:48 ---> docker-login.sh 04:54:48 nexus3.edgexfoundry.org:10001 04:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:48 Configure a credential helper to remove this warning. See 04:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:48 04:54:48 Login Succeeded 04:54:48 nexus3.edgexfoundry.org:10002 04:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:49 Configure a credential helper to remove this warning. See 04:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:49 04:54:49 Login Succeeded 04:54:49 nexus3.edgexfoundry.org:10003 04:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:49 Configure a credential helper to remove this warning. See 04:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:49 04:54:49 Login Succeeded 04:54:49 nexus3.edgexfoundry.org:10004 04:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:49 Configure a credential helper to remove this warning. See 04:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:49 04:54:49 Login Succeeded 04:54:49 docker.io 04:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:49 Configure a credential helper to remove this warning. See 04:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:49 04:54:49 Login Succeeded 04:54:49 ---> docker-login.sh ends [Pipeline] } 04:54:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:54:49 ========================================================= 04:54:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:54:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:54:49 Sending build context to Docker daemon 3.37MB 04:54:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:54:49 Step 2/12 : FROM ${BASE} AS builder 04:54:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:54:49 7264a8db6415: Pulling fs layer 04:54:49 c4d48a809fc2: Pulling fs layer 04:54:49 4f1c88b9dad5: Pulling fs layer 04:54:49 ad3a456e5733: Pulling fs layer 04:54:49 33e27b845d1e: Pulling fs layer 04:54:49 c68163c4e522: Pulling fs layer 04:54:49 50da416c3ac9: Pulling fs layer 04:54:49 23d2d4c4bb30: Pulling fs layer 04:54:49 33e27b845d1e: Waiting 04:54:49 c68163c4e522: Waiting 04:54:49 50da416c3ac9: Waiting 04:54:49 23d2d4c4bb30: Waiting 04:54:49 ad3a456e5733: Waiting 04:54:49 c4d48a809fc2: Verifying Checksum 04:54:49 c4d48a809fc2: Download complete 04:54:49 ad3a456e5733: Verifying Checksum 04:54:49 ad3a456e5733: Download complete 04:54:49 33e27b845d1e: Verifying Checksum 04:54:49 33e27b845d1e: Download complete 04:54:49 7264a8db6415: Verifying Checksum 04:54:49 7264a8db6415: Download complete 04:54:50 c68163c4e522: Verifying Checksum 04:54:50 c68163c4e522: Download complete 04:54:50 7264a8db6415: Pull complete 04:54:50 23d2d4c4bb30: Verifying Checksum 04:54:50 23d2d4c4bb30: Download complete 04:54:50 c4d48a809fc2: Pull complete 04:54:50 4f1c88b9dad5: Verifying Checksum 04:54:50 4f1c88b9dad5: Download complete 04:54:51 50da416c3ac9: Verifying Checksum 04:54:51 50da416c3ac9: Download complete 04:54:54 4f1c88b9dad5: Pull complete 04:54:54 ad3a456e5733: Pull complete 04:54:54 33e27b845d1e: Pull complete 04:54:54 c68163c4e522: Pull complete 04:54:56 50da416c3ac9: Pull complete 04:54:58 23d2d4c4bb30: Pull complete 04:54:58 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 04:54:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:54:58 ---> 0786185ac409 04:54:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:55:03 Still waiting to schedule task 04:55:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16345’ is offline 04:55:10 ---> Running in 723bb4f87ffc 04:55:10 Removing intermediate container 723bb4f87ffc 04:55:10 ---> 4c3f02ec1b3c 04:55:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:55:11 ---> Running in 86324943b68d 04:55:11 Removing intermediate container 86324943b68d 04:55:11 ---> 77b2bfe41bee 04:55:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:55:11 ---> Running in 66267d96db99 04:55:12 Removing intermediate container 66267d96db99 04:55:12 ---> 032b14d3456e 04:55:12 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:12 ---> Running in 11006cffffdf 04:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:55:13 OK: 264 MiB in 52 packages 04:55:14 Removing intermediate container 11006cffffdf 04:55:14 ---> 394fd9daeee6 04:55:14 Step 7/12 : WORKDIR /app 04:55:14 ---> Running in 1581246e72a6 04:55:15 Removing intermediate container 1581246e72a6 04:55:15 ---> 17326274e84f 04:55:15 Step 8/12 : COPY go.mod vendor* ./ 04:55:15 ---> 75c4d54707ee 04:55:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:15 ---> Running in 0476c63f2672 04:56:02 Removing intermediate container 0476c63f2672 04:56:02 ---> c1c6eef73132 04:56:02 Step 10/12 : COPY . . 04:56:02 ---> 3edab13f049d 04:56:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:02 ---> Running in 353942e649ff 04:56:02 Removing intermediate container 353942e649ff 04:56:02 ---> 6687ac3a9a00 04:56:02 Step 12/12 : RUN $MAKE 04:56:02 ---> Running in 56e49757a9fd 04:56:02 noop 04:56:02 Removing intermediate container 56e49757a9fd 04:56:02 ---> 841befd12ff0 04:56:02 Successfully built 841befd12ff0 04:56:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:02 + docker inspect -f . ci-base-image-x86_64 04:56:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:02 prd-ubuntu20.04-docker-8c-8g-16346 does not seem to be running inside a container 04:56:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:56:02 $ docker top 2c074848b49e3d703ce4eb6bbe393ee0f344af716fb1a7df8e84f26c849b51d6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:03 + go version 04:56:03 go version go1.21.0 linux/amd64 [Pipeline] } 04:56:03 $ docker stop --time=1 2c074848b49e3d703ce4eb6bbe393ee0f344af716fb1a7df8e84f26c849b51d6 04:56:04 $ docker rm -f --volumes 2c074848b49e3d703ce4eb6bbe393ee0f344af716fb1a7df8e84f26c849b51d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:04 + docker inspect -f . ci-base-image-x86_64 04:56:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:04 prd-ubuntu20.04-docker-8c-8g-16346 does not seem to be running inside a container 04:56:04 $ 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-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:56:05 $ docker top 83c11ef28e0b45bd65b2df1cadf25cd3b4387f57d1bb1628e9da41bf8e307045 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:05 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-616 [Pipeline] fileExists [Pipeline] sh 04:56:05 + make test 04:56:05 go test -race -coverprofile=coverage.out ./... 04:56:23 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:56:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16348 in /w/workspace/_app-service-configurable_PR-616 [Pipeline] { [Pipeline] ws 04:56:40 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 04:56:40 Selected Git installation does not exist. Using Default 04:56:40 The recommended git tool is: NONE 04:56:42 go vet ./... 04:56:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:56:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:56:44 ./bin/test-attribution-txt.sh [Pipeline] echo 04:56:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:56:44 $ docker stop --time=1 83c11ef28e0b45bd65b2df1cadf25cd3b4387f57d1bb1628e9da41bf8e307045 04:56:45 using credential edgex-jenkins-ssh 04:56:45 Cloning the remote Git repository 04:56:45 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:56:49 $ docker rm -f --volumes 83c11ef28e0b45bd65b2df1cadf25cd3b4387f57d1bb1628e9da41bf8e307045 [Pipeline] // withDockerContainer [Pipeline] sh 04:56:48 > git init /w/workspace/app-service-configurable/3 # timeout=10 04:56:48 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:56:48 > git --version # timeout=10 04:56:48 > git --version # 'git version 2.25.1' 04:56:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:56:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:56:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:56:50 + ls -al . 04:56:50 total 180 04:56:50 drwxrwxr-x 7 jenkins jenkins 4096 Nov 2 04:56 . 04:56:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:54 .. 04:56:50 -rw-rw-r-- 1 jenkins jenkins 119 Nov 2 04:54 .dockerignore 04:56:50 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:56 .git 04:56:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:54 .github 04:56:50 -rw-rw-r-- 1 jenkins jenkins 106 Nov 2 04:54 .gitignore 04:56:50 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 04:54 .golangci.yml 04:56:50 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:54 .semver 04:56:50 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 2 04:54 Attribution.txt 04:56:50 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 2 04:54 CHANGELOG.md 04:56:50 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 2 04:54 Dockerfile 04:56:50 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:54 GOVERNANCE.md 04:56:50 -rw-rw-r-- 1 jenkins jenkins 666 Nov 2 04:54 Jenkinsfile 04:56:50 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 2 04:54 LICENSE 04:56:50 -rw-rw-r-- 1 jenkins jenkins 618 Nov 2 04:54 OWNERS.md 04:56:50 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 2 04:54 README.md 04:56:50 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:54 VERSION 04:56:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:54 bin 04:56:50 -rw-r--r-- 1 jenkins jenkins 13 Nov 2 04:56 coverage.out 04:56:50 -rw-rw-r-- 1 jenkins jenkins 3731 Nov 2 04:54 go.mod 04:56:50 -rw-rw-r-- 1 jenkins jenkins 34917 Nov 2 04:54 go.sum 04:56:50 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 2 04:54 main.go 04:56:50 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 2 04:54 makefile 04:56:50 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 04:54 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:50 + 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=215eb577c2e630d2122abfa97bc01cc47ad18904 --label arch=amd64 --label version=0.0.0 . 04:56:50 Sending build context to Docker daemon 3.371MB 04:56:50 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:56:50 Step 2/26 : FROM ${BASE} AS builder 04:56:50 ---> 841befd12ff0 04:56:50 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:56:49 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:56:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:56:50 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:56:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:56:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/616/head:refs/remotes/origin/PR-616 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:56:50 ---> Running in 4876f5c3da37 04:56:50 Removing intermediate container 4876f5c3da37 04:56:50 ---> 49d8da49a838 04:56:50 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:56:50 ---> Running in 3ab2878eef99 04:56:51 Merging remotes/origin/main commit 0641d86a7e9e51402bc7501e954cf0251e558fc3 into PR head commit a0105d77f475df03baf4e75debaff7bd55e68afc 04:56:51 Removing intermediate container 3ab2878eef99 04:56:51 ---> c0e12b7e9a87 04:56:51 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:56:51 ---> Running in 19680c12cc8e 04:56:51 Merge succeeded, producing 1cc04868f67919ea1c0230fca85c52f8168eac77 04:56:51 Checking out Revision 1cc04868f67919ea1c0230fca85c52f8168eac77 (PR-616) 04:56:51 Removing intermediate container 19680c12cc8e 04:56:51 ---> fbbb31f2c5c1 04:56:51 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:56:51 ---> Running in 0346ea7c71a2 04:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:56:51 > git config core.sparsecheckout # timeout=10 04:56:51 > git checkout -f a0105d77f475df03baf4e75debaff7bd55e68afc # timeout=10 04:56:51 > git remote # timeout=10 04:56:51 > git config --get remote.origin.url # timeout=10 04:56:51 using GIT_SSH to set credentials SSH Credentials for GitHub 04:56:51 > git merge 0641d86a7e9e51402bc7501e954cf0251e558fc3 # timeout=10 04:56:51 > git rev-parse HEAD^{commit} # timeout=10 04:56:51 > git config core.sparsecheckout # timeout=10 04:56:51 > git checkout -f 1cc04868f67919ea1c0230fca85c52f8168eac77 # timeout=10 04:56:52 OK: 264 MiB in 52 packages 04:56:52 Removing intermediate container 0346ea7c71a2 04:56:52 ---> 57ef5f871ea7 04:56:52 Step 7/26 : WORKDIR /app 04:56:52 ---> Running in d431b66ab017 04:56:52 Removing intermediate container d431b66ab017 04:56:52 ---> 656be57374a9 04:56:52 Step 8/26 : COPY go.mod vendor* ./ 04:56:53 ---> 9caf0aa9c8fa 04:56:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:53 ---> Running in 2b24c78915c4 04:56:53 Removing intermediate container 2b24c78915c4 04:56:53 ---> e306af78a2d6 04:56:53 Step 10/26 : COPY . . 04:56:54 ---> 6a1239cdfa5d 04:56:54 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:54 ---> Running in aa9fea6cfe75 04:56:54 Removing intermediate container aa9fea6cfe75 04:56:54 ---> 463b8bd55bd4 04:56:54 Step 12/26 : RUN $MAKE 04:56:54 ---> Running in ebea6589deae 04:56:54 Commit message: "Merge commit '0641d86a7e9e51402bc7501e954cf0251e558fc3' into HEAD" 04:56:54 > git rev-list --no-walk a0105d77f475df03baf4e75debaff7bd55e68afc # timeout=10 04:56:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.49 -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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:56:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:56:56 % Total % Received % Xferd Average Speed Time Time Time Current 04:56:56 Dload Upload Total Spent Left Speed 04:56:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 116k 0 --:--:-- --:--:-- --:--:-- 116k [Pipeline] sh 04:56:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:56:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:56:57 + sudo tee /etc/docker/daemon.new 04:56:57 { 04:56:57 "registry-mirrors": [ 04:56:57 "https://nexus3.edgexfoundry.org:10001" 04:56:57 ], 04:56:57 "bip": "10.250.0.254/24", 04:56:57 "hosts": [ 04:56:57 "tcp://0.0.0.0:5555", 04:56:57 "unix:///var/run/docker.sock" 04:56:57 ], 04:56:57 "mtu": 1458, 04:56:57 "selinux-enabled": true, 04:56:57 "seccomp-profile": "/etc/docker/seccomp.json" 04:56:57 } [Pipeline] sh 04:56:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:56:57 + sudo service docker restart 04:57:17 Removing intermediate container ebea6589deae 04:57:17 ---> c69f87723123 04:57:17 Step 13/26 : FROM alpine:3.18 04:57:17 3.18: Pulling from library/alpine 04:57:17 96526aa774ef: Pulling fs layer 04:57:17 96526aa774ef: Verifying Checksum 04:57:17 96526aa774ef: Download complete 04:57:17 96526aa774ef: Pull complete 04:57:17 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:57:17 Status: Downloaded newer image for alpine:3.18 04:57:17 ---> 8ca4688f4f35 04:57:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:57:17 ---> Running in f3b7f7a13f7a 04:57:17 Removing intermediate container f3b7f7a13f7a 04:57:17 ---> ac0cc6f8f9ba 04:57:17 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 04:57:17 ---> Running in c241b87917da 04:57:17 Removing intermediate container c241b87917da 04:57:17 ---> ce25dcdb19c1 04:57:17 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:57:17 ---> Running in d0ded15781ef 04:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:57:17 (1/2) Installing ca-certificates (20230506-r0) 04:57:17 (2/2) Installing dumb-init (1.2.5-r2) 04:57:17 Executing busybox-1.36.1-r2.trigger 04:57:17 Executing ca-certificates-20230506-r0.trigger 04:57:17 OK: 8 MiB in 17 packages 04:57:17 Removing intermediate container d0ded15781ef 04:57:17 ---> 10d4daa1a277 04:57:17 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:57:18 ---> 1cdb638a43a8 04:57:18 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:57:18 ---> 59a8ef9cbc2f 04:57:18 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:57:18 ---> e03765ef4dbc 04:57:18 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:57:19 ---> d9acc9bc96fe 04:57:19 Step 21/26 : EXPOSE 48095 04:57:19 ---> Running in 8512649fdda4 04:57:19 Removing intermediate container 8512649fdda4 04:57:19 ---> 34875005cd2a 04:57:19 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 04:57:19 ---> Running in 08dffd2ea328 04:57:19 Removing intermediate container 08dffd2ea328 04:57:19 ---> 73dfc9a4fcb5 04:57:19 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:57:19 ---> Running in 552302d79c04 04:57:19 Removing intermediate container 552302d79c04 04:57:19 ---> 51e2e3161ad9 04:57:19 Step 24/26 : LABEL arch=amd64 04:57:19 ---> Running in 04ee14b5a88e 04:57:19 Removing intermediate container 04ee14b5a88e 04:57:19 ---> 6b0f02b44fd5 04:57:19 Step 25/26 : LABEL git_sha=215eb577c2e630d2122abfa97bc01cc47ad18904 04:57:19 ---> Running in e94180679a0b 04:57:19 Removing intermediate container e94180679a0b 04:57:19 ---> 5bff97ca5ab6 04:57:19 Step 26/26 : LABEL version=0.0.0 04:57:19 ---> Running in ff2fb30373fc [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:57:19 provisioning config files... 04:57:19 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config3192644544502446123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:20 Removing intermediate container ff2fb30373fc 04:57:20 ---> c7ccf8d26158 04:57:20 [Warning] One or more build-args [ARCH] were not consumed 04:57:20 Successfully built c7ccf8d26158 04:57:20 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:57:20 ---> docker-login.sh 04:57:20 nexus3.edgexfoundry.org:10001 04:57:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:20 04:57:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:20 latest: Pulling from edgex-lftools-log-publisher 04:57:20 5eb5b503b376: Pulling fs layer 04:57:20 5c69ac0246d0: Pulling fs layer 04:57:20 ec43610c2a17: Pulling fs layer 04:57:20 3a2ae6a8a46f: Pulling fs layer 04:57:20 33b1e0a273af: Pulling fs layer 04:57:20 5d3b04190fa2: Pulling fs layer 04:57:20 2f39f015ded8: Pulling fs layer 04:57:20 2f39f015ded8: Waiting 04:57:20 33b1e0a273af: Waiting 04:57:20 5d3b04190fa2: Waiting 04:57:20 3a2ae6a8a46f: Waiting 04:57:20 5c69ac0246d0: Verifying Checksum 04:57:20 5c69ac0246d0: Download complete 04:57:20 3a2ae6a8a46f: Download complete 04:57:20 33b1e0a273af: Verifying Checksum 04:57:20 33b1e0a273af: Download complete 04:57:20 5d3b04190fa2: Verifying Checksum 04:57:20 5d3b04190fa2: Download complete 04:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:20 Configure a credential helper to remove this warning. See 04:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:20 04:57:20 Login Succeeded 04:57:20 nexus3.edgexfoundry.org:10002 04:57:21 ec43610c2a17: Verifying Checksum 04:57:21 ec43610c2a17: Download complete 04:57:21 5eb5b503b376: Verifying Checksum 04:57:21 5eb5b503b376: Download complete 04:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:21 Configure a credential helper to remove this warning. See 04:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:21 04:57:21 Login Succeeded 04:57:21 nexus3.edgexfoundry.org:10003 04:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:21 Configure a credential helper to remove this warning. See 04:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:21 04:57:21 Login Succeeded 04:57:21 nexus3.edgexfoundry.org:10004 04:57:21 2f39f015ded8: Download complete 04:57:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:21 Configure a credential helper to remove this warning. See 04:57:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:21 04:57:21 Login Succeeded 04:57:21 docker.io 04:57:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:22 5eb5b503b376: Pull complete 04:57:22 5c69ac0246d0: Pull complete 04:57:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:22 Configure a credential helper to remove this warning. See 04:57:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:22 04:57:22 Login Succeeded 04:57:22 ---> docker-login.sh ends [Pipeline] } 04:57:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:57:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:57:22 ========================================================= 04:57:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:57:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:22 ec43610c2a17: Pull complete 04:57:22 3a2ae6a8a46f: Pull complete 04:57:22 33b1e0a273af: Pull complete 04:57:23 5d3b04190fa2: Pull complete 04:57:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:57:23 Sending build context to Docker daemon 157.7kB 04:57:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:57:23 Step 2/12 : FROM ${BASE} AS builder 04:57:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:57:23 9fda8d8052c6: Pulling fs layer 04:57:23 5d54e960e981: Pulling fs layer 04:57:23 c4a7e357bf2a: Pulling fs layer 04:57:23 f0e02332f6b5: Pulling fs layer 04:57:23 cefa15bbcfad: Pulling fs layer 04:57:23 17808c966233: Pulling fs layer 04:57:23 f4c1fc716caa: Pulling fs layer 04:57:23 f0e02332f6b5: Waiting 04:57:23 cefa15bbcfad: Waiting 04:57:23 17808c966233: Waiting 04:57:23 f4c1fc716caa: Waiting 04:57:23 5d54e960e981: Verifying Checksum 04:57:23 5d54e960e981: Download complete 04:57:23 f0e02332f6b5: Verifying Checksum 04:57:23 f0e02332f6b5: Download complete 04:57:23 cefa15bbcfad: Verifying Checksum 04:57:23 cefa15bbcfad: Download complete 04:57:23 9fda8d8052c6: Verifying Checksum 04:57:23 9fda8d8052c6: Download complete 04:57:24 f4c1fc716caa: Verifying Checksum 04:57:24 f4c1fc716caa: Download complete 04:57:24 9fda8d8052c6: Pull complete 04:57:25 5d54e960e981: Pull complete 04:57:25 c4a7e357bf2a: Verifying Checksum 04:57:25 c4a7e357bf2a: Download complete 04:57:26 17808c966233: Verifying Checksum 04:57:26 17808c966233: Download complete 04:57:27 2f39f015ded8: Pull complete 04:57:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:57:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:27 prd-ubuntu20.04-docker-8c-8g-16346 does not seem to be running inside a container 04:57:27 $ 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-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:57:35 $ docker top 28883d3e25f773a7086f7c75afc0282479a6ad04f7a983843d3f8da825dbe280 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:35 ---> job-cost.sh 04:57:35 lf-activate-venv: SKIPPING 04:57:35 INFO: No Stack... 04:57:36 INFO: Retrieving Pricing Info for: v3-standard-8 04:57:36 INFO: Archiving Costs [Pipeline] sh 04:57:36 + cat /w/workspace/_app-service-configurable_PR-616/archives/cost.csv 04:57:36 + cut -d, -f6 [Pipeline] lock 04:57:36 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-616-3-stack-cost] 04:57:36 Resource [jenkins-edgexfoundry-app-service-configurable-PR-616-3-stack-cost] did not exist. Created. 04:57:36 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-616-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:37 + echo total: 0.2199999988079071 [Pipeline] stash 04:57:37 Stashed 1 file(s) [Pipeline] } 04:57:37 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-616-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:57:37 $ docker stop --time=1 28883d3e25f773a7086f7c75afc0282479a6ad04f7a983843d3f8da825dbe280 04:57:38 c4a7e357bf2a: Pull complete 04:57:38 f0e02332f6b5: Pull complete 04:57:38 cefa15bbcfad: Pull complete 04:57:38 $ docker rm -f --volumes 28883d3e25f773a7086f7c75afc0282479a6ad04f7a983843d3f8da825dbe280 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:57:46 17808c966233: Pull complete 04:57:48 f4c1fc716caa: Pull complete 04:57:48 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 04:57:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:57:48 ---> ea914061e18c 04:57:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:57:49 ---> Running in 496f9ca8b0c9 04:57:49 Removing intermediate container 496f9ca8b0c9 04:57:49 ---> ff7b94eff69e 04:57:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:57:49 ---> Running in 33029264fc23 04:57:49 Removing intermediate container 33029264fc23 04:57:49 ---> 899fac625b3b 04:57:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:57:49 ---> Running in 2b3426c82a35 04:57:49 Removing intermediate container 2b3426c82a35 04:57:49 ---> dd191670b039 04:57:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:57:49 ---> Running in 9323081c467b 04:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:57:52 OK: 266 MiB in 52 packages 04:57:53 Removing intermediate container 9323081c467b 04:57:53 ---> 6093513ec342 04:57:53 Step 7/12 : WORKDIR /app 04:57:53 ---> Running in d6e8be6bc4cd 04:57:53 Removing intermediate container d6e8be6bc4cd 04:57:53 ---> 319372fe17fd 04:57:53 Step 8/12 : COPY go.mod vendor* ./ 04:57:54 ---> cb643098143b 04:57:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:57:54 ---> Running in ff8d5ad6d1da 04:59:16 Removing intermediate container ff8d5ad6d1da 04:59:16 ---> 95d16371d3a3 04:59:16 Step 10/12 : COPY . . 04:59:16 ---> 8ce2ab6785d3 04:59:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:59:16 ---> Running in 0fce08d05118 04:59:16 Removing intermediate container 0fce08d05118 04:59:16 ---> b6dc40069023 04:59:16 Step 12/12 : RUN $MAKE 04:59:16 ---> Running in a32fb20bbd2c 04:59:16 noop 04:59:16 Removing intermediate container a32fb20bbd2c 04:59:16 ---> b25988299e94 04:59:16 Successfully built b25988299e94 04:59:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:16 + docker inspect -f . ci-base-image-arm64 04:59:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:16 prd-ubuntu20.04-docker-arm64-4c-16g-16348 does not seem to be running inside a container 04:59:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:18 $ docker top 8ee7d0224fd9b6a8aa686825cae0222ee1cba395faa8a27b81ce02127a138228 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:19 + go version 04:59:19 go version go1.21.0 linux/arm64 [Pipeline] } 04:59:19 $ docker stop --time=1 8ee7d0224fd9b6a8aa686825cae0222ee1cba395faa8a27b81ce02127a138228 04:59:22 $ docker rm -f --volumes 8ee7d0224fd9b6a8aa686825cae0222ee1cba395faa8a27b81ce02127a138228 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:22 + docker inspect -f . ci-base-image-arm64 04:59:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:22 prd-ubuntu20.04-docker-arm64-4c-16g-16348 does not seem to be running inside a container 04:59:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:59:24 $ docker top 6bc02d08f67ba38d2963b673e20708eac7ca856e0004550289af85ece88c6a23 -eo pid,comm [Pipeline] { [Pipeline] sh 04:59:24 + git config --global --add safe.directory /w/workspace/app-service-configurable/3 [Pipeline] fileExists [Pipeline] sh 04:59:25 + make test 04:59:25 go test -race -coverprofile=coverage.out ./... 05:01:35 ? github.com/edgexfoundry/app-service-configurable [no test files] 05:01:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:01:35 go vet ./... 05:03:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:03:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:03:12 ./bin/test-attribution-txt.sh [Pipeline] echo 05:03:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:03:12 $ docker stop --time=1 6bc02d08f67ba38d2963b673e20708eac7ca856e0004550289af85ece88c6a23 05:03:14 $ docker rm -f --volumes 6bc02d08f67ba38d2963b673e20708eac7ca856e0004550289af85ece88c6a23 [Pipeline] // withDockerContainer [Pipeline] sh 05:03:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:03:15 Warning: overwriting stash ‘coverage-report’ 05:03:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:03:17 + ls -al . 05:03:17 total 176 05:03:17 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 04:59 . 05:03:17 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 04:56 .. 05:03:17 -rw-rw-r-- 1 jenkins jenkins 119 Nov 2 04:56 .dockerignore 05:03:17 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:56 .git 05:03:17 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 04:56 .github 05:03:17 -rw-rw-r-- 1 jenkins jenkins 106 Nov 2 04:56 .gitignore 05:03:17 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 04:56 .golangci.yml 05:03:17 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 2 04:56 Attribution.txt 05:03:17 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 2 04:56 CHANGELOG.md 05:03:17 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 2 04:56 Dockerfile 05:03:17 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 04:56 GOVERNANCE.md 05:03:17 -rw-rw-r-- 1 jenkins jenkins 666 Nov 2 04:56 Jenkinsfile 05:03:17 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 2 04:56 LICENSE 05:03:17 -rw-rw-r-- 1 jenkins jenkins 618 Nov 2 04:56 OWNERS.md 05:03:17 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 2 04:56 README.md 05:03:17 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 04:54 VERSION 05:03:17 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 04:56 bin 05:03:17 -rw-r--r-- 1 jenkins jenkins 13 Nov 2 04:59 coverage.out 05:03:17 -rw-rw-r-- 1 jenkins jenkins 3731 Nov 2 04:56 go.mod 05:03:17 -rw-rw-r-- 1 jenkins jenkins 34917 Nov 2 04:56 go.sum 05:03:17 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 2 04:56 main.go 05:03:17 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 2 04:56 makefile 05:03:17 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 04:56 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:17 + 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=1cc04868f67919ea1c0230fca85c52f8168eac77 --label arch=arm64 --label version=0.0.0 . 05:03:17 Sending build context to Docker daemon 158.7kB 05:03:17 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:03:17 Step 2/26 : FROM ${BASE} AS builder 05:03:17 ---> b25988299e94 05:03:17 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 05:03:17 ---> Running in fd338a8015e7 05:03:18 Removing intermediate container fd338a8015e7 05:03:18 ---> 2c18680c1242 05:03:18 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:03:18 ---> Running in 9e61b4add633 05:03:18 Removing intermediate container 9e61b4add633 05:03:18 ---> 7799bbef92f5 05:03:18 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:03:18 ---> Running in d6b9cc9939b0 05:03:18 Removing intermediate container d6b9cc9939b0 05:03:18 ---> b927acbde6da 05:03:18 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:03:18 ---> Running in 27abff07945f 05:03:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:03:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:03:21 OK: 266 MiB in 52 packages 05:03:22 Removing intermediate container 27abff07945f 05:03:22 ---> ac33a25c4093 05:03:22 Step 7/26 : WORKDIR /app 05:03:22 ---> Running in 08cd4415322b 05:03:22 Removing intermediate container 08cd4415322b 05:03:22 ---> e24774e55937 05:03:22 Step 8/26 : COPY go.mod vendor* ./ 05:03:23 ---> 0bf41dd53bdf 05:03:23 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:23 ---> Running in fe176e473648 05:03:25 Removing intermediate container fe176e473648 05:03:25 ---> 8f385272bcd4 05:03:25 Step 10/26 : COPY . . 05:03:26 ---> 89fb5d286928 05:03:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:03:26 ---> Running in cc78ce832eb3 05:03:26 Removing intermediate container cc78ce832eb3 05:03:26 ---> 73ca14ec17c0 05:03:26 Step 12/26 : RUN $MAKE 05:03:26 ---> Running in 2a166190bfec 05:03:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.49 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:05:19 Removing intermediate container 2a166190bfec 05:05:19 ---> 0c283263b821 05:05:19 Step 13/26 : FROM alpine:3.18 05:05:19 3.18: Pulling from library/alpine 05:05:19 579b34f0a95b: Pulling fs layer 05:05:19 579b34f0a95b: Verifying Checksum 05:05:19 579b34f0a95b: Download complete 05:05:19 579b34f0a95b: Pull complete 05:05:19 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:05:19 Status: Downloaded newer image for alpine:3.18 05:05:19 ---> 3cc203321400 05:05:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:05:19 ---> Running in 6a45ab3e58e7 05:05:19 Removing intermediate container 6a45ab3e58e7 05:05:19 ---> ac210f4cc0d4 05:05:19 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 05:05:19 ---> Running in 339c71e17c98 05:05:19 Removing intermediate container 339c71e17c98 05:05:19 ---> 10a69a0028d1 05:05:19 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 05:05:19 ---> Running in 41a407d48b5f 05:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:05:19 (1/2) Installing ca-certificates (20230506-r0) 05:05:19 (2/2) Installing dumb-init (1.2.5-r2) 05:05:19 Executing busybox-1.36.1-r2.trigger 05:05:19 Executing ca-certificates-20230506-r0.trigger 05:05:19 OK: 9 MiB in 17 packages 05:05:19 Removing intermediate container 41a407d48b5f 05:05:19 ---> 1dcc7d8955b1 05:05:19 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:05:19 ---> 850bdc321066 05:05:19 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 05:05:19 ---> 5e43c865bca5 05:05:19 Step 19/26 : COPY --from=builder /app/res/ /res/ 05:05:19 ---> 086f59a34622 05:05:19 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:05:23 ---> 2342000bebd7 05:05:23 Step 21/26 : EXPOSE 48095 05:05:23 ---> Running in 809dac35d6bb 05:05:23 Removing intermediate container 809dac35d6bb 05:05:23 ---> 358dc17aa5e4 05:05:23 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 05:05:23 ---> Running in a8d56854d1e7 05:05:23 Removing intermediate container a8d56854d1e7 05:05:23 ---> 7cfb8f52a596 05:05:23 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:05:23 ---> Running in 4d4260466dfa 05:05:24 Removing intermediate container 4d4260466dfa 05:05:24 ---> 283194726776 05:05:24 Step 24/26 : LABEL arch=arm64 05:05:24 ---> Running in 1c199513c94d 05:05:24 Removing intermediate container 1c199513c94d 05:05:24 ---> 8afe691bd827 05:05:24 Step 25/26 : LABEL git_sha=1cc04868f67919ea1c0230fca85c52f8168eac77 05:05:24 ---> Running in d795fa3bc286 05:05:24 Removing intermediate container d795fa3bc286 05:05:24 ---> ccbb34b0f0a0 05:05:24 Step 26/26 : LABEL version=0.0.0 05:05:24 ---> Running in b8d6143e638f 05:05:25 Removing intermediate container b8d6143e638f 05:05:25 ---> fbf7e7a5e08b 05:05:25 [Warning] One or more build-args [ARCH] were not consumed 05:05:25 Successfully built fbf7e7a5e08b 05:05:25 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:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:05:25 05:05:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:05:25 arm64: Pulling from edgex-lftools-log-publisher 05:05:25 8998bd30e6a1: Pulling fs layer 05:05:25 04944245beec: Pulling fs layer 05:05:25 699f458cf7ca: Pulling fs layer 05:05:25 765212b225bb: Pulling fs layer 05:05:25 f23df028b6ca: Pulling fs layer 05:05:25 d65c8cfc05b1: Pulling fs layer 05:05:25 2437ff75d9bd: Pulling fs layer 05:05:25 765212b225bb: Waiting 05:05:25 f23df028b6ca: Waiting 05:05:25 d65c8cfc05b1: Waiting 05:05:25 2437ff75d9bd: Waiting 05:05:26 04944245beec: Verifying Checksum 05:05:26 04944245beec: Download complete 05:05:26 765212b225bb: Download complete 05:05:26 f23df028b6ca: Verifying Checksum 05:05:26 f23df028b6ca: Download complete 05:05:26 d65c8cfc05b1: Verifying Checksum 05:05:26 d65c8cfc05b1: Download complete 05:05:26 699f458cf7ca: Verifying Checksum 05:05:26 699f458cf7ca: Download complete 05:05:26 8998bd30e6a1: Verifying Checksum 05:05:26 8998bd30e6a1: Download complete 05:05:29 2437ff75d9bd: Verifying Checksum 05:05:29 2437ff75d9bd: Download complete 05:05:31 8998bd30e6a1: Pull complete 05:05:31 04944245beec: Pull complete 05:05:33 699f458cf7ca: Pull complete 05:05:33 765212b225bb: Pull complete 05:05:36 f23df028b6ca: Pull complete 05:05:36 d65c8cfc05b1: Pull complete 05:05:55 2437ff75d9bd: Pull complete 05:05:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:05:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:05:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:55 prd-ubuntu20.04-docker-arm64-4c-16g-16348 does not seem to be running inside a container 05:05:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:05:57 $ docker top a240a52f0dc39b6e99448e871ee9fe280cd4751164d00772ddb78a72678ff372 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:58 ---> job-cost.sh 05:05:58 lf-activate-venv: SKIPPING 05:05:58 INFO: No Stack... 05:05:59 INFO: Retrieving Pricing Info for: v3-standard-4 05:05:59 INFO: Archiving Costs [Pipeline] sh 05:06:00 + cat /w/workspace/app-service-configurable/3/archives/cost.csv 05:06:00 + cut -d, -f6 [Pipeline] lock 05:06:00 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-616-3-stack-cost] 05:06:00 Resource [jenkins-edgexfoundry-app-service-configurable-PR-616-3-stack-cost] did not exist. Created. 05:06:00 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-616-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:00 /w/workspace/app-service-configurable/3@tmp/durable-d54f80ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:06:01 + echo total: 0.10999999940395355 [Pipeline] stash 05:06:01 Warning: overwriting stash ‘stack-cost’ 05:06:01 Stashed 1 file(s) [Pipeline] } 05:06:01 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-616-3-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:01 $ docker stop --time=1 a240a52f0dc39b6e99448e871ee9fe280cd4751164d00772ddb78a72678ff372 05:06:04 $ docker rm -f --volumes a240a52f0dc39b6e99448e871ee9fe280cd4751164d00772ddb78a72678ff372 [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:06:05 provisioning config files... 05:06:05 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config11175786381512240889tmp [Pipeline] { [Pipeline] sh 05:06:05 + set +x 05:06:05 + curl -s https://codecov.io/bash 05:06:05 + bash -s -- 05:06:05 05:06:05 _____ _ 05:06:05 / ____| | | 05:06:05 | | ___ __| | ___ ___ _____ __ 05:06:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:06:05 | |___| (_) | (_| | __/ (_| (_) \ V / 05:06:05 \_____\___/ \__,_|\___|\___\___/ \_/ 05:06:05 Bash-1.0.6 05:06:05 05:06:05 05:06:05 ==> git version 2.25.1 found 05:06:05 ==> 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:06:05 Release-Date: 2020-01-08 05:06:05 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:06:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:06:05 ==> Jenkins CI detected. 05:06:05 current dir:  /w/workspace/_app-service-configurable_PR-616 05:06:05 project root: . 05:06:05 --> token set from env 05:06:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:06:05 ==> Running gcov in . (disable via -X gcov) 05:06:05 ==> Python coveragepy not found 05:06:05 ==> Searching for coverage reports in: 05:06:05 + . 05:06:05 -> Found 1 reports 05:06:05 ==> Detecting git/mercurial file structure 05:06:05 ==> Reading reports 05:06:05 + ./coverage.out bytes=13 05:06:05 ==> Appending adjustments 05:06:05 https://docs.codecov.io/docs/fixing-reports 05:06:05 + Found adjustments 05:06:05 ==> Gzipping contents 05:06:05 4.0K /tmp/codecov.qlJtq8.gz 05:06:05 ==> Uploading reports 05:06:05 url: https://codecov.io 05:06:05 query: branch=PR-616&commit=215eb577c2e630d2122abfa97bc01cc47ad18904&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-616%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=616&job=&cmd_args= 05:06:05 -> Pinging Codecov 05:06:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-616&commit=215eb577c2e630d2122abfa97bc01cc47ad18904&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-616%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=616&job=&cmd_args= 05:06:05 -> Uploading to 05:06:05 https://storage.googleapis.com/codecov/v4/raw/2023-11-02/A97CA9966030D2A3747ED39772930CCE/215eb577c2e630d2122abfa97bc01cc47ad18904/c254cbb8-d9eb-4a2d-9e49-0ac4f47f4577.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231102T050605Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46918ceedb68e51136dbdb09d13d6b4414ab664c01c15578db766f0be87febb3 05:06:05 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:05 Dload Upload Total Spent Left Speed 05:06:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 1058 --:--:-- --:--:-- --:--:-- 1054 100 234 0 0 100 234 0 883 --:--:-- --:--:-- --:--:-- 879 05:06:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/215eb577c2e630d2122abfa97bc01cc47ad18904 [Pipeline] } 05:06:06 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:06:06 + [ -d /w/workspace/_app-service-configurable_PR-616/archives ] 05:06:06 + ls -al /w/workspace/_app-service-configurable_PR-616/archives 05:06:06 total 16 05:06:06 drwxr-xr-x 3 root root 4096 Nov 2 04:57 . 05:06:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:57 .. 05:06:06 drwxr-xr-x 2 root root 4096 Nov 2 04:57 cost 05:06:06 -rw-r--r-- 1 root root 96 Nov 2 04:57 cost.csv 05:06:06 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-616/archives 05:06:06 + ls -al /w/workspace/_app-service-configurable_PR-616/archives 05:06:06 total 16 05:06:06 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 04:57 . 05:06:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 04:57 .. 05:06:06 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 04:57 cost 05:06:06 -rw-r--r-- 1 jenkins jenkins 96 Nov 2 04:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:06:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:06:08 ---> package-listing.sh 05:06:08 ++ facter osfamily 05:06:08 ++ tr '[:upper:]' '[:lower:]' 05:06:08 + OS_FAMILY=debian 05:06:08 + workspace=/w/workspace/_app-service-configurable_PR-616 05:06:08 + START_PACKAGES=/tmp/packages_start.txt 05:06:08 + END_PACKAGES=/tmp/packages_end.txt 05:06:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:06:08 + PACKAGES=/tmp/packages_start.txt 05:06:08 + '[' /w/workspace/_app-service-configurable_PR-616 ']' 05:06:08 + PACKAGES=/tmp/packages_end.txt 05:06:08 + case "${OS_FAMILY}" in 05:06:08 + dpkg -l 05:06:08 + grep '^ii' 05:06:08 + '[' -f /tmp/packages_start.txt ']' 05:06:08 + '[' -f /tmp/packages_end.txt ']' 05:06:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:06:08 + '[' /w/workspace/_app-service-configurable_PR-616 ']' 05:06:08 + mkdir -p /w/workspace/_app-service-configurable_PR-616/archives/ 05:06:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-616/archives/ [Pipeline] echo 05:06:08 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-616/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:06:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:09 prd-ubuntu20.04-docker-8c-8g-16346 does not seem to be running inside a container 05:06:09 $ 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-616/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-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:09 $ docker top fd5dd6a4bb9b3681e0bc8e5a7d1ad7318508c3e2350da80c2e45ffbc888dfec0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:09 + touch /tmp/pre-build-complete [Pipeline] sh 05:06:10 + mkdir -p /var/log/sysstat [Pipeline] sh 05:06:10 + ls /var/log/sa-host 05:06:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:10 provisioning config files... 05:06:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config18194372072332965850tmp [Pipeline] { [Pipeline] echo 05:06:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:06:10 ---> create-netrc.sh [Pipeline] } 05:06:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:06:11 ---> python-tools-install.sh [Pipeline] echo 05:06:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:06:11 ---> sudo-logs.sh 05:06:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:06:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:06:11 ---> job-cost.sh 05:06:11 lf-activate-venv: SKIPPING 05:06:11 DEBUG: total: 0.2199999988079071 05:06:11 INFO: Retrieving Stack Cost... 05:06:12 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:12 INFO: Archiving Costs [Pipeline] echo 05:06:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:06:12 ---> logs-deploy.sh 05:06:12 lf-activate-venv: SKIPPING 05:06:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-616/3 05:06:12 INFO: archiving workspace using pattern(s): 05:06:13 Archives upload complete. 05:06:13 INFO: archiving logs to Nexus