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+106c6b224fb45ba20fe2c83c72d9cfdb8f94d247 (d7bb1d161f0cef9ec354686d257f4cdaa94e54f7) 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-ssh9663426241870615031.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-ssh11302807481117823383.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-ssh12296131427407346630.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-ssh8203761340893319387.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-ssh6517810099054253004.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16451 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 106c6b224fb45ba20fe2c83c72d9cfdb8f94d247 into PR head commit a0105d77f475df03baf4e75debaff7bd55e68afc Merge succeeded, producing aae04be6573b0ed8ea591f70affb41b5c1c9a967 Checking out Revision aae04be6573b0ed8ea591f70affb41b5c1c9a967 (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 106c6b224fb45ba20fe2c83c72d9cfdb8f94d247 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aae04be6573b0ed8ea591f70affb41b5c1c9a967 # timeout=10 Commit message: "Merge commit '106c6b224fb45ba20fe2c83c72d9cfdb8f94d247' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 1cc04868f67919ea1c0230fca85c52f8168eac77 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:54:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:54:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:54:42 ========================================================= 04:54:42 EdgeX Global Pipelines Version Info 04:54:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:54:42 ------------------- 04:54:42 stable info: 04:54:42 ------------------- 04:54:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:54:42 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 04:54:42 Message: update stable to v1.0.255 04:54:43 ------------------- 04:54:43 experimental info: 04:54:43 ------------------- 04:54:43 Commited By: **** collab-it+edgex@linuxfoundation.org 04:54:43 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 04:54:43 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-616 [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-616 [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-616 [Pipeline] echo 04:54:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aae04be6573b0ed8ea591f70affb41b5c1c9a967 [Pipeline] echo 04:54:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aae04be [Pipeline] echo 04:54:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:44 provisioning config files... 04:54:44 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config17629285464899181290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:44 ---> docker-login.sh 04:54:44 nexus3.edgexfoundry.org:10001 04:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:44 Configure a credential helper to remove this warning. See 04:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:44 04:54:44 Login Succeeded 04:54:44 nexus3.edgexfoundry.org:10002 04:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:44 Configure a credential helper to remove this warning. See 04:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:44 04:54:44 Login Succeeded 04:54:44 nexus3.edgexfoundry.org:10003 04:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:44 Configure a credential helper to remove this warning. See 04:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:44 04:54:44 Login Succeeded 04:54:44 nexus3.edgexfoundry.org:10004 04:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:44 Configure a credential helper to remove this warning. See 04:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:44 04:54:44 Login Succeeded 04:54:44 docker.io 04:54:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:45 Configure a credential helper to remove this warning. See 04:54:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:45 04:54:45 Login Succeeded 04:54:45 ---> docker-login.sh ends [Pipeline] } 04:54:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:54:45 + git rev-list -1 --merges aae04be6573b0ed8ea591f70affb41b5c1c9a967~1..aae04be6573b0ed8ea591f70affb41b5c1c9a967 [Pipeline] echo 04:54:45 -----------> git rev-list -1 --merges aae04be6573b0ed8ea591f70affb41b5c1c9a967~1..aae04be6573b0ed8ea591f70affb41b5c1c9a967 aae04be6573b0ed8ea591f70affb41b5c1c9a967 04:54:45 aae04be6573b0ed8ea591f70affb41b5c1c9a967 [false] [Pipeline] sh 04:54:46 + git log --format=format:%s -1 aae04be6573b0ed8ea591f70affb41b5c1c9a967 [Pipeline] echo 04:54:46 ========================================================= 04:54:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:54:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:46 + git log --format=format:%s -1 aae04be6573b0ed8ea591f70affb41b5c1c9a967 [Pipeline] echo 04:54:46 [semverPrep] GIT_COMMIT: aae04be6573b0ed8ea591f70affb41b5c1c9a967, Commit Message: Merge commit '106c6b224fb45ba20fe2c83c72d9cfdb8f94d247' into HEAD [Pipeline] echo 04:54:46 [semverPrep] This is not a build commit. [Pipeline] sh 04:54:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:54:46 + grep -v github /etc/ssh/ssh_known_hosts 04:54:46 + [ -e /tmp/ssh_known_hosts ] 04:54:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:54:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 04:54:46 sudo tee -a /etc/ssh/ssh_known_hosts 04:54:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:47 04:54:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:47 0.1.4: Pulling from edgex-devops/py-git-semver 04:54:47 b85a868b505f: Pulling fs layer 04:54:47 e2be974225ed: Pulling fs layer 04:54:47 339a4e72a1f5: Pulling fs layer 04:54:47 988bab9f4d93: Pulling fs layer 04:54:47 1469e6f7b9e6: Pulling fs layer 04:54:47 eaf3925da568: Pulling fs layer 04:54:47 bab4dde63d76: Pulling fs layer 04:54:47 bde34c3a00c8: Pulling fs layer 04:54:47 b352a97aabf1: Pulling fs layer 04:54:47 4872d77fe225: Pulling fs layer 04:54:47 1469e6f7b9e6: Waiting 04:54:47 988bab9f4d93: Waiting 04:54:47 5851b861e8e6: Pulling fs layer 04:54:47 eaf3925da568: Waiting 04:54:47 bab4dde63d76: Waiting 04:54:47 b352a97aabf1: Waiting 04:54:47 4872d77fe225: Waiting 04:54:47 5851b861e8e6: Waiting 04:54:47 e2be974225ed: Verifying Checksum 04:54:47 e2be974225ed: Download complete 04:54:47 988bab9f4d93: Verifying Checksum 04:54:47 988bab9f4d93: Download complete 04:54:47 1469e6f7b9e6: Verifying Checksum 04:54:47 1469e6f7b9e6: Download complete 04:54:47 339a4e72a1f5: Verifying Checksum 04:54:47 eaf3925da568: Verifying Checksum 04:54:47 eaf3925da568: Download complete 04:54:47 bde34c3a00c8: Download complete 04:54:47 b352a97aabf1: Download complete 04:54:47 4872d77fe225: Verifying Checksum 04:54:47 4872d77fe225: Download complete 04:54:47 5851b861e8e6: Download complete 04:54:47 b85a868b505f: Verifying Checksum 04:54:47 b85a868b505f: Download complete 04:54:48 bab4dde63d76: Verifying Checksum 04:54:48 bab4dde63d76: Download complete 04:54:49 b85a868b505f: Pull complete 04:54:49 e2be974225ed: Pull complete 04:54:49 339a4e72a1f5: Pull complete 04:54:49 988bab9f4d93: Pull complete 04:54:50 1469e6f7b9e6: Pull complete 04:54:50 eaf3925da568: Pull complete 04:54:52 bab4dde63d76: Pull complete 04:54:52 bde34c3a00c8: Pull complete 04:54:52 b352a97aabf1: Pull complete 04:54:52 4872d77fe225: Pull complete 04:54:52 5851b861e8e6: Pull complete 04:54:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:54:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:52 prd-ubuntu20.04-docker-8c-8g-16451 does not seem to be running inside a container 04:54:52 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:54:55 $ docker top 63b87eb544acfb8459b649ee1ca1a976e10580548ed8b9774d8ffb471ae5478b -eo pid,comm 04:54:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:54:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:54:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:55 [ssh-agent] Looking for ssh-agent implementation... 04:54:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:55 $ docker exec 63b87eb544acfb8459b649ee1ca1a976e10580548ed8b9774d8ffb471ae5478b ssh-agent 04:54:55 SSH_AUTH_SOCK=/tmp/ssh-9UZBdQeLVMfc/agent.32 04:54:55 SSH_AGENT_PID=38 04:54:55 Running ssh-add (command line suppressed) 04:54:55 Identity added: /w/workspace/_app-service-configurable_PR-616@tmp/private_key_8617015300705928261.key (/w/workspace/_app-service-configurable_PR-616@tmp/private_key_8617015300705928261.key) 04:54:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:56 + git tag --points-at HEAD [Pipeline] } 04:54:56 $ docker exec --env ******** --env ******** 63b87eb544acfb8459b649ee1ca1a976e10580548ed8b9774d8ffb471ae5478b ssh-agent -k 04:54:56 unset SSH_AUTH_SOCK; 04:54:56 unset SSH_AGENT_PID; 04:54:56 echo Agent pid 38 killed; 04:54:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:54:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:56 [ssh-agent] Looking for ssh-agent implementation... 04:54:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:56 $ docker exec 63b87eb544acfb8459b649ee1ca1a976e10580548ed8b9774d8ffb471ae5478b ssh-agent 04:54:56 SSH_AUTH_SOCK=/tmp/ssh-NIoZzqSA1VjA/agent.70 04:54:56 SSH_AGENT_PID=76 04:54:56 Running ssh-add (command line suppressed) 04:54:56 Identity added: /w/workspace/_app-service-configurable_PR-616@tmp/private_key_6800910155034341249.key (/w/workspace/_app-service-configurable_PR-616@tmp/private_key_6800910155034341249.key) 04:54:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:56 + git semver init 04:54:57 2023-11-03 04:54:57,012 [run_init] DEBUG init version:0.0.0 force:False 04:54:57 2023-11-03 04:54:57,014 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-616/.semver 04:54:57 2023-11-03 04:54:57,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-616/.semver 04:54:57 2023-11-03 04:54:57,014 [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:58 2023-11-03 04:54:57,955 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-616/.git/info/exclude 04:54:58 2023-11-03 04:54:57,955 [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:58 2023-11-03 04:54:57,956 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-616/.semver/PR-616 04:54:58 2023-11-03 04:54:57,959 [execute] INFO git cat-file --batch-check 04:54:58 2023-11-03 04:54:57,960 [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:58 2023-11-03 04:54:57,965 [execute] INFO git cat-file --batch 04:54:58 2023-11-03 04:54:57,965 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-616/.semver, universal_newlines=False, shell=None, istream=) 04:54:58 2023-11-03 04:54:57,970 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-616/.semver/PR-616 04:54:58 0.0.0 [Pipeline] } 04:54:58 $ docker exec --env ******** --env ******** 63b87eb544acfb8459b649ee1ca1a976e10580548ed8b9774d8ffb471ae5478b ssh-agent -k 04:54:58 unset SSH_AUTH_SOCK; 04:54:58 unset SSH_AGENT_PID; 04:54:58 echo Agent pid 76 killed; 04:54:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:54:58 + git semver [Pipeline] } 04:54:58 $ docker stop --time=1 63b87eb544acfb8459b649ee1ca1a976e10580548ed8b9774d8ffb471ae5478b 04:55:00 $ docker rm -f --volumes 63b87eb544acfb8459b649ee1ca1a976e10580548ed8b9774d8ffb471ae5478b [Pipeline] // withDockerContainer [Pipeline] sh 04:55:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:55:00 Stashed 1 file(s) [Pipeline] echo 04:55:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:00 provisioning config files... 04:55:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config11251131807980083014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:01 ---> docker-login.sh 04:55:01 nexus3.edgexfoundry.org:10001 04:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:01 Configure a credential helper to remove this warning. See 04:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:01 04:55:01 Login Succeeded 04:55:01 nexus3.edgexfoundry.org:10002 04:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:01 Configure a credential helper to remove this warning. See 04:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:01 04:55:01 Login Succeeded 04:55:01 nexus3.edgexfoundry.org:10003 04:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:01 Configure a credential helper to remove this warning. See 04:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:01 04:55:01 Login Succeeded 04:55:01 nexus3.edgexfoundry.org:10004 04:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:01 Configure a credential helper to remove this warning. See 04:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:01 04:55:01 Login Succeeded 04:55:01 docker.io 04:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:01 Configure a credential helper to remove this warning. See 04:55:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:01 04:55:01 Login Succeeded 04:55:01 ---> docker-login.sh ends [Pipeline] } 04:55:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:55:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:55:01 ========================================================= 04:55:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:55:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:02 + 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:55:02 Sending build context to Docker daemon 3.372MB 04:55:02 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:55:02 Step 2/12 : FROM ${BASE} AS builder 04:55:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:55:02 7264a8db6415: Pulling fs layer 04:55:02 c4d48a809fc2: Pulling fs layer 04:55:02 4f1c88b9dad5: Pulling fs layer 04:55:02 ad3a456e5733: Pulling fs layer 04:55:02 33e27b845d1e: Pulling fs layer 04:55:02 c68163c4e522: Pulling fs layer 04:55:02 50da416c3ac9: Pulling fs layer 04:55:02 23d2d4c4bb30: Pulling fs layer 04:55:02 ad3a456e5733: Waiting 04:55:02 23d2d4c4bb30: Waiting 04:55:02 50da416c3ac9: Waiting 04:55:02 33e27b845d1e: Waiting 04:55:02 c4d48a809fc2: Download complete 04:55:02 ad3a456e5733: Verifying Checksum 04:55:02 ad3a456e5733: Download complete 04:55:02 33e27b845d1e: Verifying Checksum 04:55:02 33e27b845d1e: Download complete 04:55:02 7264a8db6415: Download complete 04:55:02 c68163c4e522: Verifying Checksum 04:55:02 c68163c4e522: Download complete 04:55:02 7264a8db6415: Pull complete 04:55:02 23d2d4c4bb30: Verifying Checksum 04:55:02 23d2d4c4bb30: Download complete 04:55:02 c4d48a809fc2: Pull complete 04:55:02 4f1c88b9dad5: Verifying Checksum 04:55:02 4f1c88b9dad5: Download complete 04:55:02 50da416c3ac9: Verifying Checksum 04:55:02 50da416c3ac9: Download complete 04:55:06 4f1c88b9dad5: Pull complete 04:55:06 ad3a456e5733: Pull complete 04:55:06 33e27b845d1e: Pull complete 04:55:06 c68163c4e522: Pull complete 04:55:07 50da416c3ac9: Pull complete 04:55:08 23d2d4c4bb30: Pull complete 04:55:08 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 04:55:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:55:08 ---> 0786185ac409 04:55:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:55:11 ---> Running in 89d3fd9d271d 04:55:11 Removing intermediate container 89d3fd9d271d 04:55:11 ---> 28acc78b4026 04:55:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:55:11 ---> Running in 3840895105f4 04:55:12 Removing intermediate container 3840895105f4 04:55:12 ---> fefa7266eeea 04:55:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:55:12 ---> Running in 6936e0a5fa81 04:55:12 Removing intermediate container 6936e0a5fa81 04:55:12 ---> 54afd68b915e 04:55:12 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:12 ---> Running in 73d7b7b8e08a 04:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:55:12 OK: 264 MiB in 52 packages 04:55:13 Removing intermediate container 73d7b7b8e08a 04:55:13 ---> 3f730ed15e03 04:55:13 Step 7/12 : WORKDIR /app 04:55:13 ---> Running in 4376f2cef0ee 04:55:13 Removing intermediate container 4376f2cef0ee 04:55:13 ---> 1d878db35e6d 04:55:13 Step 8/12 : COPY go.mod vendor* ./ 04:55:13 ---> b71054b0d9c3 04:55:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:13 ---> Running in 40dca5ac4794 04:55:15 Still waiting to schedule task 04:55:15 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:55:45 Removing intermediate container 40dca5ac4794 04:55:45 ---> 64fd793ab2d7 04:55:45 Step 10/12 : COPY . . 04:55:45 ---> d86d5cf04f14 04:55:45 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:55:45 ---> Running in 39cf32bba3b0 04:55:45 Removing intermediate container 39cf32bba3b0 04:55:45 ---> a6c7cabf47e3 04:55:45 Step 12/12 : RUN $MAKE 04:55:45 ---> Running in 11528094e38b 04:55:45 noop 04:55:45 Removing intermediate container 11528094e38b 04:55:45 ---> 9234f13217d5 04:55:45 Successfully built 9234f13217d5 04:55:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:45 + docker inspect -f . ci-base-image-x86_64 04:55:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:45 prd-ubuntu20.04-docker-8c-8g-16451 does not seem to be running inside a container 04:55:45 $ 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 ******** -e ******** ci-base-image-x86_64 cat 04:55:46 $ docker top a44b293139805029108b28e4c1463be9df9fd86ec6229d7194c16f3163ba8230 -eo pid,comm [Pipeline] { [Pipeline] sh 04:55:46 + go version 04:55:46 go version go1.21.0 linux/amd64 [Pipeline] } 04:55:46 $ docker stop --time=1 a44b293139805029108b28e4c1463be9df9fd86ec6229d7194c16f3163ba8230 04:55:47 $ docker rm -f --volumes a44b293139805029108b28e4c1463be9df9fd86ec6229d7194c16f3163ba8230 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:48 + docker inspect -f . ci-base-image-x86_64 04:55:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:48 prd-ubuntu20.04-docker-8c-8g-16451 does not seem to be running inside a container 04:55:48 $ 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 ******** -e ******** ci-base-image-x86_64 cat 04:55:48 $ docker top 2143a0c68323c4c4226d30a58f93ef6e97a8923efcf263464870ebde89aaa3ed -eo pid,comm [Pipeline] { [Pipeline] sh 04:55:49 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-616 [Pipeline] fileExists [Pipeline] sh 04:55:49 + make test 04:55:49 go test -race -coverprofile=coverage.out ./... 04:56:07 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:56:25 go vet ./... 04:56:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:56:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:56:27 ./bin/test-attribution-txt.sh [Pipeline] echo 04:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:56:27 $ docker stop --time=1 2143a0c68323c4c4226d30a58f93ef6e97a8923efcf263464870ebde89aaa3ed 04:56:31 $ docker rm -f --volumes 2143a0c68323c4c4226d30a58f93ef6e97a8923efcf263464870ebde89aaa3ed [Pipeline] // withDockerContainer [Pipeline] sh 04:56:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:56:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:56:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:56:32 + ls -al . 04:56:32 total 180 04:56:32 drwxrwxr-x 7 jenkins jenkins 4096 Nov 3 04:55 . 04:56:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 04:54 .. 04:56:32 -rw-rw-r-- 1 jenkins jenkins 119 Nov 3 04:54 .dockerignore 04:56:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 04:56 .git 04:56:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 04:54 .github 04:56:32 -rw-rw-r-- 1 jenkins jenkins 106 Nov 3 04:54 .gitignore 04:56:32 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 04:54 .golangci.yml 04:56:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 04:54 .semver 04:56:32 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 3 04:54 Attribution.txt 04:56:32 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 3 04:54 CHANGELOG.md 04:56:32 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 3 04:54 Dockerfile 04:56:32 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 04:54 GOVERNANCE.md 04:56:32 -rw-rw-r-- 1 jenkins jenkins 666 Nov 3 04:54 Jenkinsfile 04:56:32 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 3 04:54 LICENSE 04:56:32 -rw-rw-r-- 1 jenkins jenkins 618 Nov 3 04:54 OWNERS.md 04:56:32 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 3 04:54 README.md 04:56:32 -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 04:55 VERSION 04:56:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 04:54 bin 04:56:32 -rw-r--r-- 1 jenkins jenkins 13 Nov 3 04:55 coverage.out 04:56:32 -rw-rw-r-- 1 jenkins jenkins 3731 Nov 3 04:54 go.mod 04:56:32 -rw-rw-r-- 1 jenkins jenkins 34917 Nov 3 04:54 go.sum 04:56:32 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 3 04:54 main.go 04:56:32 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 3 04:54 makefile 04:56:32 drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 04:54 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:32 + 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=aae04be6573b0ed8ea591f70affb41b5c1c9a967 --label arch=amd64 --label version=0.0.0 . 04:56:32 Sending build context to Docker daemon 3.373MB 04:56:32 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:56:32 Step 2/26 : FROM ${BASE} AS builder 04:56:32 ---> 9234f13217d5 04:56:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:56:32 ---> Running in 924332ded23c 04:56:32 Removing intermediate container 924332ded23c 04:56:32 ---> 814fd610ca25 04:56:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:56:32 ---> Running in b53385c52a55 04:56:33 Removing intermediate container b53385c52a55 04:56:33 ---> e3548d88acfd 04:56:33 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:56:33 ---> Running in c1111608e2e0 04:56:33 Removing intermediate container c1111608e2e0 04:56:33 ---> 7ad3f7d63e2d 04:56:33 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:56:33 ---> Running in 6a160a581744 04:56:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:56:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:56:33 OK: 264 MiB in 52 packages 04:56:34 Removing intermediate container 6a160a581744 04:56:34 ---> c56523202ee7 04:56:34 Step 7/26 : WORKDIR /app 04:56:34 ---> Running in 5fbab4a7f515 04:56:34 Removing intermediate container 5fbab4a7f515 04:56:34 ---> e81f8d99ca9e 04:56:34 Step 8/26 : COPY go.mod vendor* ./ 04:56:34 ---> c942027efc5c 04:56:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:34 ---> Running in 56570e7b40c6 04:56:34 Removing intermediate container 56570e7b40c6 04:56:34 ---> 7628f0c55a0d 04:56:34 Step 10/26 : COPY . . 04:56:35 ---> 13d61a3573f0 04:56:35 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:35 ---> Running in d4b76ea3bf30 04:56:35 Removing intermediate container d4b76ea3bf30 04:56:35 ---> 5703dfe05856 04:56:35 Step 12/26 : RUN $MAKE 04:56:35 ---> Running in a0d5029f2998 04:56:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.51 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 04:56:53 Removing intermediate container a0d5029f2998 04:56:53 ---> d89585b18cd6 04:56:53 Step 13/26 : FROM alpine:3.18 04:56:53 3.18: Pulling from library/alpine 04:56:53 96526aa774ef: Pulling fs layer 04:56:53 96526aa774ef: Verifying Checksum 04:56:53 96526aa774ef: Download complete 04:56:53 96526aa774ef: Pull complete 04:56:53 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 04:56:53 Status: Downloaded newer image for alpine:3.18 04:56:53 ---> 8ca4688f4f35 04:56:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:56:54 ---> Running in 82f3daae5974 04:56:54 Removing intermediate container 82f3daae5974 04:56:54 ---> f542c9074327 04:56:54 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 04:56:54 ---> Running in f2265f084304 04:56:54 Removing intermediate container f2265f084304 04:56:54 ---> e3fc4ceddb25 04:56:54 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:56:54 ---> Running in aad08d5740ea 04:56:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:56:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:56:54 (1/2) Installing ca-certificates (20230506-r0) 04:56:54 (2/2) Installing dumb-init (1.2.5-r2) 04:56:54 Executing busybox-1.36.1-r2.trigger 04:56:54 Executing ca-certificates-20230506-r0.trigger 04:56:54 OK: 8 MiB in 17 packages 04:56:55 Removing intermediate container aad08d5740ea 04:56:55 ---> 6aa8331e56df 04:56:55 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:56:55 ---> c9e7fd1b9c05 04:56:55 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:56:55 ---> 9b66b6c39cb3 04:56:55 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:56:55 ---> 4c8f1fe85031 04:56:55 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:56:56 ---> 29eb4f14ade5 04:56:56 Step 21/26 : EXPOSE 48095 04:56:56 ---> Running in 7b9aad0992d0 04:56:56 Removing intermediate container 7b9aad0992d0 04:56:56 ---> bebaba3bea3c 04:56:56 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 04:56:56 ---> Running in 1a45bb53785d 04:56:56 Removing intermediate container 1a45bb53785d 04:56:56 ---> 48c9aafaf96e 04:56:56 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:56:56 ---> Running in 703058e27a45 04:56:56 Removing intermediate container 703058e27a45 04:56:56 ---> 59bc1f506977 04:56:56 Step 24/26 : LABEL arch=amd64 04:56:56 ---> Running in 5327ca32ecca 04:56:56 Removing intermediate container 5327ca32ecca 04:56:56 ---> 5c842b2f75e2 04:56:56 Step 25/26 : LABEL git_sha=aae04be6573b0ed8ea591f70affb41b5c1c9a967 04:56:56 ---> Running in ef459e36f2db 04:56:56 Removing intermediate container ef459e36f2db 04:56:56 ---> 624ee1bd41b7 04:56:56 Step 26/26 : LABEL version=0.0.0 04:56:56 ---> Running in ae73382393d0 04:56:56 Removing intermediate container ae73382393d0 04:56:56 ---> 790f0bd8cfad 04:56:56 [Warning] One or more build-args [ARCH] were not consumed 04:56:56 Successfully built 790f0bd8cfad 04:56:56 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [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:56:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:57 04:56:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:57 latest: Pulling from edgex-lftools-log-publisher 04:56:57 5eb5b503b376: Pulling fs layer 04:56:57 5c69ac0246d0: Pulling fs layer 04:56:57 ec43610c2a17: Pulling fs layer 04:56:57 3a2ae6a8a46f: Pulling fs layer 04:56:57 33b1e0a273af: Pulling fs layer 04:56:57 5d3b04190fa2: Pulling fs layer 04:56:57 2f39f015ded8: Pulling fs layer 04:56:57 3a2ae6a8a46f: Waiting 04:56:57 33b1e0a273af: Waiting 04:56:57 5d3b04190fa2: Waiting 04:56:57 2f39f015ded8: Waiting 04:56:57 5c69ac0246d0: Verifying Checksum 04:56:57 5c69ac0246d0: Download complete 04:56:57 3a2ae6a8a46f: Verifying Checksum 04:56:57 3a2ae6a8a46f: Download complete 04:56:57 33b1e0a273af: Verifying Checksum 04:56:57 33b1e0a273af: Download complete 04:56:57 5d3b04190fa2: Download complete 04:56:57 ec43610c2a17: Verifying Checksum 04:56:57 ec43610c2a17: Download complete 04:56:57 5eb5b503b376: Verifying Checksum 04:56:57 5eb5b503b376: Download complete 04:56:58 2f39f015ded8: Download complete 04:56:59 5eb5b503b376: Pull complete 04:56:59 5c69ac0246d0: Pull complete 04:56:59 ec43610c2a17: Pull complete 04:56:59 3a2ae6a8a46f: Pull complete 04:56:59 33b1e0a273af: Pull complete 04:56:59 5d3b04190fa2: Pull complete 04:57:04 2f39f015ded8: Pull complete 04:57:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:57:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:04 prd-ubuntu20.04-docker-8c-8g-16451 does not seem to be running inside a container 04:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:57:07 $ docker top 72012a0ef138a98baba4ffc5e8f244845a465548fc04a8ec6a7c0a120793157f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:07 ---> job-cost.sh 04:57:07 lf-activate-venv: SKIPPING 04:57:07 INFO: No Stack... 04:57:07 INFO: Retrieving Pricing Info for: v3-standard-8 04:57:08 INFO: Archiving Costs [Pipeline] sh 04:57:08 + cat /w/workspace/_app-service-configurable_PR-616/archives/cost.csv 04:57:08 + cut -d, -f6 [Pipeline] lock 04:57:08 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-616-4-stack-cost] 04:57:08 Resource [jenkins-edgexfoundry-app-service-configurable-PR-616-4-stack-cost] did not exist. Created. 04:57:08 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-616-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:09 + echo total: 0.2199999988079071 [Pipeline] stash 04:57:09 Stashed 1 file(s) [Pipeline] } 04:57:09 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-616-4-stack-cost] [Pipeline] // lock [Pipeline] } 04:57:09 $ docker stop --time=1 72012a0ef138a98baba4ffc5e8f244845a465548fc04a8ec6a7c0a120793157f 04:57:10 $ docker rm -f --volumes 72012a0ef138a98baba4ffc5e8f244845a465548fc04a8ec6a7c0a120793157f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:58:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16452 in /w/workspace/_app-service-configurable_PR-616 [Pipeline] { [Pipeline] ws 04:58:15 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 04:58:15 Selected Git installation does not exist. Using Default 04:58:15 The recommended git tool is: NONE 04:58:21 using credential edgex-jenkins-ssh 04:58:21 Cloning the remote Git repository 04:58:21 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:58:21 > git init /w/workspace/app-service-configurable/4 # timeout=10 04:58:21 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:58:21 > git --version # timeout=10 04:58:21 > git --version # 'git version 2.25.1' 04:58:21 using GIT_SSH to set credentials SSH Credentials for GitHub 04:58:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:58:23 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:58:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:58:23 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:58:23 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:58:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:58:23 > 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:58:24 Merging remotes/origin/main commit 106c6b224fb45ba20fe2c83c72d9cfdb8f94d247 into PR head commit a0105d77f475df03baf4e75debaff7bd55e68afc 04:58:24 Merge succeeded, producing 1a7a02d8c5203b5c278fa64ebd4400ea03f5c1d3 04:58:24 Checking out Revision 1a7a02d8c5203b5c278fa64ebd4400ea03f5c1d3 (PR-616) 04:58:24 > git config core.sparsecheckout # timeout=10 04:58:24 > git checkout -f a0105d77f475df03baf4e75debaff7bd55e68afc # timeout=10 04:58:24 > git remote # timeout=10 04:58:24 > git config --get remote.origin.url # timeout=10 04:58:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:58:24 > git merge 106c6b224fb45ba20fe2c83c72d9cfdb8f94d247 # timeout=10 04:58:24 > git rev-parse HEAD^{commit} # timeout=10 04:58:24 > git config core.sparsecheckout # timeout=10 04:58:24 > git checkout -f 1a7a02d8c5203b5c278fa64ebd4400ea03f5c1d3 # timeout=10 04:58:28 Commit message: "Merge commit '106c6b224fb45ba20fe2c83c72d9cfdb8f94d247' into HEAD" 04:58:28 First time build. Skipping changelog. 04:58:28 > git rev-list --no-walk 1cc04868f67919ea1c0230fca85c52f8168eac77 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:58:29 % Total % Received % Xferd Average Speed Time Time Time Current 04:58:29 Dload Upload Total Spent Left Speed 04:58:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 217k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh 04:58:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:58:30 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 04:58:30 /etc/docker/daemon.new 04:58:30 { 04:58:30 "registry-mirrors": [ 04:58:30 "https://nexus3.edgexfoundry.org:10001" 04:58:30 ], 04:58:30 "bip": "10.250.0.254/24", 04:58:30 "hosts": [ 04:58:30 "tcp://0.0.0.0:5555", 04:58:30 "unix:///var/run/docker.sock" 04:58:30 ], 04:58:30 "mtu": 1458, 04:58:30 "selinux-enabled": true, 04:58:30 "seccomp-profile": "/etc/docker/seccomp.json" 04:58:30 } [Pipeline] sh 04:58:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:58:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:49 provisioning config files... 04:58:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/4@tmp/config10442680991169954026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:58:49 ---> docker-login.sh 04:58:49 nexus3.edgexfoundry.org:10001 04:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:50 Configure a credential helper to remove this warning. See 04:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:50 04:58:50 Login Succeeded 04:58:50 nexus3.edgexfoundry.org:10002 04:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:51 Configure a credential helper to remove this warning. See 04:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:51 04:58:51 Login Succeeded 04:58:51 nexus3.edgexfoundry.org:10003 04:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:51 Configure a credential helper to remove this warning. See 04:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:51 04:58:51 Login Succeeded 04:58:51 nexus3.edgexfoundry.org:10004 04:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:51 Configure a credential helper to remove this warning. See 04:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:51 04:58:51 Login Succeeded 04:58:51 docker.io 04:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:58:52 Configure a credential helper to remove this warning. See 04:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:58:52 04:58:52 Login Succeeded 04:58:52 ---> docker-login.sh ends [Pipeline] } 04:58:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:58:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:58:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:58:52 ========================================================= 04:58:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:58:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:53 + 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:58:53 Sending build context to Docker daemon 157.7kB 04:58:53 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:58:53 Step 2/12 : FROM ${BASE} AS builder 04:58:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:58:53 9fda8d8052c6: Pulling fs layer 04:58:53 5d54e960e981: Pulling fs layer 04:58:53 c4a7e357bf2a: Pulling fs layer 04:58:53 f0e02332f6b5: Pulling fs layer 04:58:53 cefa15bbcfad: Pulling fs layer 04:58:53 17808c966233: Pulling fs layer 04:58:53 f4c1fc716caa: Pulling fs layer 04:58:53 cefa15bbcfad: Waiting 04:58:53 17808c966233: Waiting 04:58:53 f4c1fc716caa: Waiting 04:58:53 f0e02332f6b5: Waiting 04:58:53 5d54e960e981: Verifying Checksum 04:58:53 5d54e960e981: Download complete 04:58:53 f0e02332f6b5: Verifying Checksum 04:58:53 f0e02332f6b5: Download complete 04:58:53 cefa15bbcfad: Verifying Checksum 04:58:53 cefa15bbcfad: Download complete 04:58:53 9fda8d8052c6: Download complete 04:58:54 f4c1fc716caa: Verifying Checksum 04:58:54 f4c1fc716caa: Download complete 04:58:54 9fda8d8052c6: Pull complete 04:58:55 5d54e960e981: Pull complete 04:58:55 c4a7e357bf2a: Verifying Checksum 04:58:55 c4a7e357bf2a: Download complete 04:58:56 17808c966233: Verifying Checksum 04:58:56 17808c966233: Download complete 04:59:08 c4a7e357bf2a: Pull complete 04:59:08 f0e02332f6b5: Pull complete 04:59:08 cefa15bbcfad: Pull complete 04:59:16 17808c966233: Pull complete 04:59:18 f4c1fc716caa: Pull complete 04:59:18 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 04:59:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:59:18 ---> ea914061e18c 04:59:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:59:19 ---> Running in 24ed741bd8b3 04:59:20 Removing intermediate container 24ed741bd8b3 04:59:20 ---> 1d56442fd990 04:59:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:59:20 ---> Running in e6aef256ca18 04:59:20 Removing intermediate container e6aef256ca18 04:59:20 ---> af86d88b4513 04:59:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:59:20 ---> Running in f51c77326723 04:59:20 Removing intermediate container f51c77326723 04:59:20 ---> e2a14ec2fb20 04:59:20 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:59:21 ---> Running in 843a26999c00 04:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:59:23 OK: 266 MiB in 52 packages 04:59:24 Removing intermediate container 843a26999c00 04:59:24 ---> 902f952542da 04:59:24 Step 7/12 : WORKDIR /app 04:59:24 ---> Running in 6b404787871d 04:59:24 Removing intermediate container 6b404787871d 04:59:24 ---> 70cb4ce76df5 04:59:24 Step 8/12 : COPY go.mod vendor* ./ 04:59:25 ---> c37d7137589c 04:59:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:59:25 ---> Running in 553052f853d0 05:00:47 Removing intermediate container 553052f853d0 05:00:47 ---> 7d7561730230 05:00:47 Step 10/12 : COPY . . 05:00:47 ---> e5bd3eeee7c8 05:00:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:00:47 ---> Running in 55ef624bc513 05:00:47 Removing intermediate container 55ef624bc513 05:00:47 ---> 9aff4c25613e 05:00:47 Step 12/12 : RUN $MAKE 05:00:47 ---> Running in 22afdff28552 05:00:47 noop 05:00:47 Removing intermediate container 22afdff28552 05:00:47 ---> db041859386c 05:00:47 Successfully built db041859386c 05:00:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:47 + docker inspect -f . ci-base-image-arm64 05:00:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:47 prd-ubuntu20.04-docker-arm64-4c-16g-16452 does not seem to be running inside a container 05:00:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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 05:00:49 $ docker top b2758e48cddef61ede989963d04f1f490834733e120a6f612b43ab6c9950233b -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:49 + go version 05:00:49 go version go1.21.0 linux/arm64 [Pipeline] } 05:00:49 $ docker stop --time=1 b2758e48cddef61ede989963d04f1f490834733e120a6f612b43ab6c9950233b 05:00:51 $ docker rm -f --volumes b2758e48cddef61ede989963d04f1f490834733e120a6f612b43ab6c9950233b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:52 + docker inspect -f . ci-base-image-arm64 05:00:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:52 prd-ubuntu20.04-docker-arm64-4c-16g-16452 does not seem to be running inside a container 05:00:52 $ 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/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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 05:00:56 $ docker top 99b5cdb3786f0dfeec3521a84157a0173900fb61fed50b6f7da42352e3019f41 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:57 + git config --global --add safe.directory /w/workspace/app-service-configurable/4 [Pipeline] fileExists [Pipeline] sh 05:00:57 + make test 05:00:57 go test -race -coverprofile=coverage.out ./... 05:03:04 ? github.com/edgexfoundry/app-service-configurable [no test files] 05:03:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:03:04 go vet ./... 05:04:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:04:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:04:56 ./bin/test-attribution-txt.sh [Pipeline] echo 05:04:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:04:56 $ docker stop --time=1 99b5cdb3786f0dfeec3521a84157a0173900fb61fed50b6f7da42352e3019f41 05:04:58 $ docker rm -f --volumes 99b5cdb3786f0dfeec3521a84157a0173900fb61fed50b6f7da42352e3019f41 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:04:59 Warning: overwriting stash ‘coverage-report’ 05:04:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:05:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:00 + ls -al . 05:05:00 total 176 05:05:00 drwxrwxr-x 6 jenkins jenkins 4096 Nov 3 05:01 . 05:05:00 drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 04:58 .. 05:05:00 -rw-rw-r-- 1 jenkins jenkins 119 Nov 3 04:58 .dockerignore 05:05:00 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 04:58 .git 05:05:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 04:58 .github 05:05:00 -rw-rw-r-- 1 jenkins jenkins 106 Nov 3 04:58 .gitignore 05:05:00 -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 04:58 .golangci.yml 05:05:00 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 3 04:58 Attribution.txt 05:05:00 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 3 04:58 CHANGELOG.md 05:05:00 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 3 04:58 Dockerfile 05:05:00 -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 04:58 GOVERNANCE.md 05:05:00 -rw-rw-r-- 1 jenkins jenkins 666 Nov 3 04:58 Jenkinsfile 05:05:00 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 3 04:58 LICENSE 05:05:00 -rw-rw-r-- 1 jenkins jenkins 618 Nov 3 04:58 OWNERS.md 05:05:00 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 3 04:58 README.md 05:05:00 -rw-rw-r-- 1 jenkins jenkins 5 Nov 3 04:55 VERSION 05:05:00 drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 04:58 bin 05:05:00 -rw-r--r-- 1 jenkins jenkins 13 Nov 3 05:01 coverage.out 05:05:00 -rw-rw-r-- 1 jenkins jenkins 3731 Nov 3 04:58 go.mod 05:05:00 -rw-rw-r-- 1 jenkins jenkins 34917 Nov 3 04:58 go.sum 05:05:00 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 3 04:58 main.go 05:05:00 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 3 04:58 makefile 05:05:00 drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 04:58 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:00 + 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=1a7a02d8c5203b5c278fa64ebd4400ea03f5c1d3 --label arch=arm64 --label version=0.0.0 . 05:05:00 Sending build context to Docker daemon 158.7kB 05:05:01 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 05:05:01 Step 2/26 : FROM ${BASE} AS builder 05:05:01 ---> db041859386c 05:05:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 05:05:01 ---> Running in f598c5043c4c 05:05:01 Removing intermediate container f598c5043c4c 05:05:01 ---> 9996d478ae5e 05:05:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:05:01 ---> Running in 443c4782908e 05:05:02 Removing intermediate container 443c4782908e 05:05:02 ---> d84cb78f93d3 05:05:02 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:05:02 ---> Running in 968d15d8d066 05:05:02 Removing intermediate container 968d15d8d066 05:05:02 ---> 0e469cf148e4 05:05:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:02 ---> Running in 1bdaece53ca8 05:05:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:05:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:05:05 OK: 266 MiB in 52 packages 05:05:05 Removing intermediate container 1bdaece53ca8 05:05:05 ---> 8e6b8eaad978 05:05:05 Step 7/26 : WORKDIR /app 05:05:05 ---> Running in 5854b5dc1233 05:05:06 Removing intermediate container 5854b5dc1233 05:05:06 ---> 94bb46cccd48 05:05:06 Step 8/26 : COPY go.mod vendor* ./ 05:05:07 ---> d47e3f5f6be5 05:05:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:08 ---> Running in 9ab329dbc010 05:05:10 Removing intermediate container 9ab329dbc010 05:05:10 ---> 3d8b3f832d4a 05:05:10 Step 10/26 : COPY . . 05:05:11 ---> 6f52cf1cfc63 05:05:11 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:11 ---> Running in 54158dd55269 05:05:11 Removing intermediate container 54158dd55269 05:05:11 ---> 3d6f0873ce62 05:05:11 Step 12/26 : RUN $MAKE 05:05:11 ---> Running in 3579a5b288e4 05:05:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.51 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:07:04 Removing intermediate container 3579a5b288e4 05:07:04 ---> 0d3cbe656b51 05:07:04 Step 13/26 : FROM alpine:3.18 05:07:04 3.18: Pulling from library/alpine 05:07:04 579b34f0a95b: Pulling fs layer 05:07:04 579b34f0a95b: Verifying Checksum 05:07:04 579b34f0a95b: Download complete 05:07:04 579b34f0a95b: Pull complete 05:07:04 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:07:04 Status: Downloaded newer image for alpine:3.18 05:07:04 ---> 3cc203321400 05:07:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:07:04 ---> Running in 98355e520001 05:07:04 Removing intermediate container 98355e520001 05:07:04 ---> 51ca10f48387 05:07:04 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 05:07:04 ---> Running in cff36b88b612 05:07:04 Removing intermediate container cff36b88b612 05:07:04 ---> e738960a6e0a 05:07:04 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 05:07:04 ---> Running in 2e65c900c50b 05:07:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:07:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:07:04 (1/2) Installing ca-certificates (20230506-r0) 05:07:04 (2/2) Installing dumb-init (1.2.5-r2) 05:07:04 Executing busybox-1.36.1-r2.trigger 05:07:04 Executing ca-certificates-20230506-r0.trigger 05:07:04 OK: 9 MiB in 17 packages 05:07:04 Removing intermediate container 2e65c900c50b 05:07:04 ---> ed700477fb2c 05:07:04 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:07:04 ---> 5bbed50edc49 05:07:04 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 05:07:04 ---> c811a7d11166 05:07:04 Step 19/26 : COPY --from=builder /app/res/ /res/ 05:07:04 ---> 35d7948f54e1 05:07:04 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:07:04 ---> 0beaa695f624 05:07:04 Step 21/26 : EXPOSE 48095 05:07:04 ---> Running in a4a5d377ad8e 05:07:04 Removing intermediate container a4a5d377ad8e 05:07:04 ---> 0b65ed27ee2e 05:07:04 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 05:07:04 ---> Running in 47fbb19247c4 05:07:04 Removing intermediate container 47fbb19247c4 05:07:04 ---> f8bf00e5ee55 05:07:04 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:07:04 ---> Running in 6c9ce506b30e 05:07:05 Removing intermediate container 6c9ce506b30e 05:07:05 ---> 150728615532 05:07:05 Step 24/26 : LABEL arch=arm64 05:07:05 ---> Running in 72cf37deb158 05:07:05 Removing intermediate container 72cf37deb158 05:07:05 ---> 650128fdb10f 05:07:05 Step 25/26 : LABEL git_sha=1a7a02d8c5203b5c278fa64ebd4400ea03f5c1d3 05:07:05 ---> Running in 8c98a2641dca 05:07:05 Removing intermediate container 8c98a2641dca 05:07:05 ---> 8e66a69c230a 05:07:05 Step 26/26 : LABEL version=0.0.0 05:07:05 ---> Running in 73d72a2c7c18 05:07:06 Removing intermediate container 73d72a2c7c18 05:07:06 ---> 2669712e5860 05:07:06 [Warning] One or more build-args [ARCH] were not consumed 05:07:06 Successfully built 2669712e5860 05:07:06 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:07:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:07:06 05:07:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:07:07 arm64: Pulling from edgex-lftools-log-publisher 05:07:07 8998bd30e6a1: Pulling fs layer 05:07:07 04944245beec: Pulling fs layer 05:07:07 699f458cf7ca: Pulling fs layer 05:07:07 765212b225bb: Pulling fs layer 05:07:07 f23df028b6ca: Pulling fs layer 05:07:07 d65c8cfc05b1: Pulling fs layer 05:07:07 2437ff75d9bd: Pulling fs layer 05:07:07 f23df028b6ca: Waiting 05:07:07 d65c8cfc05b1: Waiting 05:07:07 2437ff75d9bd: Waiting 05:07:07 765212b225bb: Waiting 05:07:07 04944245beec: Verifying Checksum 05:07:07 04944245beec: Download complete 05:07:07 765212b225bb: Download complete 05:07:07 f23df028b6ca: Verifying Checksum 05:07:07 f23df028b6ca: Download complete 05:07:07 d65c8cfc05b1: Verifying Checksum 05:07:07 d65c8cfc05b1: Download complete 05:07:07 699f458cf7ca: Verifying Checksum 05:07:07 699f458cf7ca: Download complete 05:07:07 8998bd30e6a1: Download complete 05:07:10 2437ff75d9bd: Verifying Checksum 05:07:10 2437ff75d9bd: Download complete 05:07:12 8998bd30e6a1: Pull complete 05:07:14 04944245beec: Pull complete 05:07:16 699f458cf7ca: Pull complete 05:07:16 765212b225bb: Pull complete 05:07:17 f23df028b6ca: Pull complete 05:07:17 d65c8cfc05b1: Pull complete 05:07:35 2437ff75d9bd: Pull complete 05:07:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:07:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:35 prd-ubuntu20.04-docker-arm64-4c-16g-16452 does not seem to be running inside a container 05:07:35 $ 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/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@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:07:38 $ docker top 097e32f252725b86b556e8bc9a9178db0aa8235a9890ce5fc7dd9cdcd1ba48da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:39 ---> job-cost.sh 05:07:39 lf-activate-venv: SKIPPING 05:07:39 INFO: No Stack... 05:07:39 INFO: Retrieving Pricing Info for: v3-standard-4 05:07:40 INFO: Archiving Costs [Pipeline] sh 05:07:40 + cut -d, -f6 05:07:40 + cat /w/workspace/app-service-configurable/4/archives/cost.csv [Pipeline] lock 05:07:41 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-616-4-stack-cost] 05:07:41 Resource [jenkins-edgexfoundry-app-service-configurable-PR-616-4-stack-cost] did not exist. Created. 05:07:41 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-616-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:41 /w/workspace/app-service-configurable/4@tmp/durable-770c727b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:07:42 + echo total: 0.10999999940395355 [Pipeline] stash 05:07:42 Warning: overwriting stash ‘stack-cost’ 05:07:42 Stashed 1 file(s) [Pipeline] } 05:07:42 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-616-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:42 $ docker stop --time=1 097e32f252725b86b556e8bc9a9178db0aa8235a9890ce5fc7dd9cdcd1ba48da 05:07:45 $ docker rm -f --volumes 097e32f252725b86b556e8bc9a9178db0aa8235a9890ce5fc7dd9cdcd1ba48da [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:07:45 provisioning config files... 05:07:45 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config17036705980250823554tmp [Pipeline] { [Pipeline] sh 05:07:46 + set +x 05:07:46 + curl -s https://codecov.io/bash 05:07:46 + bash -s -- 05:07:46 05:07:46 _____ _ 05:07:46 / ____| | | 05:07:46 | | ___ __| | ___ ___ _____ __ 05:07:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:07:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:07:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:07:46 Bash-1.0.6 05:07:46 05:07:46 05:07:46 ==> git version 2.25.1 found 05:07:46 ==> 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:07:46 Release-Date: 2020-01-08 05:07:46 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:07:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:07:46 ==> Jenkins CI detected. 05:07:46 current dir:  /w/workspace/_app-service-configurable_PR-616 05:07:46 project root: . 05:07:46 --> token set from env 05:07:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:07:46 ==> Running gcov in . (disable via -X gcov) 05:07:46 ==> Python coveragepy not found 05:07:46 ==> Searching for coverage reports in: 05:07:46 + . 05:07:46 -> Found 1 reports 05:07:46 ==> Detecting git/mercurial file structure 05:07:46 ==> Reading reports 05:07:46 + ./coverage.out bytes=13 05:07:46 ==> Appending adjustments 05:07:46 https://docs.codecov.io/docs/fixing-reports 05:07:46 + Found adjustments 05:07:46 ==> Gzipping contents 05:07:46 4.0K /tmp/codecov.X5BSvl.gz 05:07:46 ==> Uploading reports 05:07:46 url: https://codecov.io 05:07:46 query: branch=PR-616&commit=aae04be6573b0ed8ea591f70affb41b5c1c9a967&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-616%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=616&job=&cmd_args= 05:07:46 -> Pinging Codecov 05:07:46 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=aae04be6573b0ed8ea591f70affb41b5c1c9a967&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-616%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=616&job=&cmd_args= 05:07:46 -> Uploading to 05:07:46 https://storage.googleapis.com/codecov/v4/raw/2023-11-03/A97CA9966030D2A3747ED39772930CCE/aae04be6573b0ed8ea591f70affb41b5c1c9a967/07f87137-6d8b-4c94-a8a0-82eaea907f63.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231103T050746Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=481b72cb6dab3ed422f1cca12f93c951d217341ebc6e18e7aa5fa742cdffb13c 05:07:46 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:46 Dload Upload Total Spent Left Speed 05:07:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 921 --:--:-- --:--:-- --:--:-- 921 05:07:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/aae04be6573b0ed8ea591f70affb41b5c1c9a967 [Pipeline] } 05:07:46 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:07:47 + [ -d /w/workspace/_app-service-configurable_PR-616/archives ] 05:07:47 + ls -al /w/workspace/_app-service-configurable_PR-616/archives 05:07:47 total 16 05:07:47 drwxr-xr-x 3 root root 4096 Nov 3 04:57 . 05:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 04:57 .. 05:07:47 drwxr-xr-x 2 root root 4096 Nov 3 04:57 cost 05:07:47 -rw-r--r-- 1 root root 96 Nov 3 04:57 cost.csv 05:07:47 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-616/archives 05:07:47 + ls -al /w/workspace/_app-service-configurable_PR-616/archives 05:07:47 total 16 05:07:47 drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 04:57 . 05:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 04:57 .. 05:07:47 drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 04:57 cost 05:07:47 -rw-r--r-- 1 jenkins jenkins 96 Nov 3 04:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:07:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:07:48 ---> package-listing.sh 05:07:48 ++ facter osfamily 05:07:48 ++ tr '[:upper:]' '[:lower:]' 05:07:48 + OS_FAMILY=debian 05:07:48 + workspace=/w/workspace/_app-service-configurable_PR-616 05:07:48 + START_PACKAGES=/tmp/packages_start.txt 05:07:48 + END_PACKAGES=/tmp/packages_end.txt 05:07:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:07:48 + PACKAGES=/tmp/packages_start.txt 05:07:48 + '[' /w/workspace/_app-service-configurable_PR-616 ']' 05:07:48 + PACKAGES=/tmp/packages_end.txt 05:07:48 + case "${OS_FAMILY}" in 05:07:48 + dpkg -l 05:07:48 + grep '^ii' 05:07:48 + '[' -f /tmp/packages_start.txt ']' 05:07:48 + '[' -f /tmp/packages_end.txt ']' 05:07:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:07:48 + '[' /w/workspace/_app-service-configurable_PR-616 ']' 05:07:48 + mkdir -p /w/workspace/_app-service-configurable_PR-616/archives/ 05:07:48 + 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:07:48 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:07:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:49 prd-ubuntu20.04-docker-8c-8g-16451 does not seem to be running inside a container 05:07:49 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:07:49 $ docker top 54da90f32c0c9b718ca41fc3f78af435b6b8793ed43befb5885b71f9d6ba9e3e -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:50 + touch /tmp/pre-build-complete [Pipeline] sh 05:07:50 + mkdir -p /var/log/sysstat [Pipeline] sh 05:07:50 + ls /var/log/sa-host 05:07:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:50 provisioning config files... 05:07:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config9360856129988302361tmp [Pipeline] { [Pipeline] echo 05:07:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:07:51 ---> create-netrc.sh [Pipeline] } 05:07:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:07:51 ---> python-tools-install.sh [Pipeline] echo 05:07:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:07:51 ---> sudo-logs.sh 05:07:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:07:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:07:52 ---> job-cost.sh 05:07:52 lf-activate-venv: SKIPPING 05:07:52 DEBUG: total: 0.2199999988079071 05:07:52 INFO: Retrieving Stack Cost... 05:07:52 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:52 INFO: Archiving Costs [Pipeline] echo 05:07:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:07:53 ---> logs-deploy.sh 05:07:53 lf-activate-venv: SKIPPING 05:07:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-616/4 05:07:53 INFO: archiving workspace using pattern(s): 05:07:54 Archives upload complete. 05:07:54 INFO: archiving logs to Nexus