Pull request #619 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc78248f6b7a11d865c298d335820044f5999cf6+0641d86a7e9e51402bc7501e954cf0251e558fc3 (b265df33498cbd88d8587f4a3142e9745a9848f5) 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-ssh5063417670673914913.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-ssh5804865780065861312.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-619/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-619/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1733672059786242047.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-619/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3909978813340557500.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1436837919518908973.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-619/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-619/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11216409656960609314.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16385 in /w/workspace/_app-service-configurable_PR-619 [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-619 # 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/619/head:refs/remotes/origin/PR-619 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0641d86a7e9e51402bc7501e954cf0251e558fc3 into PR head commit bc78248f6b7a11d865c298d335820044f5999cf6 Merge succeeded, producing bc78248f6b7a11d865c298d335820044f5999cf6 Checking out Revision bc78248f6b7a11d865c298d335820044f5999cf6 (PR-619) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:00:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:00:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:00:31 ========================================================= 13:00:31 EdgeX Global Pipelines Version Info 13:00:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f bc78248f6b7a11d865c298d335820044f5999cf6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0641d86a7e9e51402bc7501e954cf0251e558fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc78248f6b7a11d865c298d335820044f5999cf6 # timeout=10 13:00:32 ------------------- 13:00:32 stable info: 13:00:32 ------------------- 13:00:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:00:32 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 13:00:32 Message: update stable to v1.0.255 13:00:33 ------------------- 13:00:33 experimental info: 13:00:33 ------------------- 13:00:33 Commited By: **** collab-it+edgex@linuxfoundation.org 13:00:33 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 13:00:33 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:00:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc78248f6b7a11d865c298d335820044f5999cf6 [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc78248 [Pipeline] echo 13:00:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:00:34 provisioning config files... 13:00:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-619@tmp/config10872789918575813924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:35 ---> docker-login.sh 13:00:35 nexus3.edgexfoundry.org:10001 13:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:35 Configure a credential helper to remove this warning. See 13:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:35 13:00:35 Login Succeeded 13:00:35 nexus3.edgexfoundry.org:10002 13:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:35 Configure a credential helper to remove this warning. See 13:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:35 13:00:35 Login Succeeded 13:00:35 nexus3.edgexfoundry.org:10003 13:00:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:35 Configure a credential helper to remove this warning. See 13:00:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:35 13:00:35 Login Succeeded 13:00:35 nexus3.edgexfoundry.org:10004 13:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:36 Configure a credential helper to remove this warning. See 13:00:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:36 13:00:36 Login Succeeded 13:00:36 docker.io 13:00:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:37 Configure a credential helper to remove this warning. See 13:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:37 13:00:37 Login Succeeded 13:00:37 ---> docker-login.sh ends [Pipeline] } 13:00:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:00:38 + git rev-list -1 --merges bc78248f6b7a11d865c298d335820044f5999cf6~1..bc78248f6b7a11d865c298d335820044f5999cf6 [Pipeline] echo 13:00:38 -----------> git rev-list -1 --merges bc78248f6b7a11d865c298d335820044f5999cf6~1..bc78248f6b7a11d865c298d335820044f5999cf6 bc78248f6b7a11d865c298d335820044f5999cf6 [false] [Pipeline] sh 13:00:38 + git log --format=format:%s -1 bc78248f6b7a11d865c298d335820044f5999cf6 [Pipeline] echo 13:00:38 ========================================================= 13:00:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:00:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:39 + git log --format=format:%s -1 bc78248f6b7a11d865c298d335820044f5999cf6 [Pipeline] echo 13:00:39 [semverPrep] GIT_COMMIT: bc78248f6b7a11d865c298d335820044f5999cf6, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:00:39 [semverPrep] This is not a build commit. [Pipeline] sh 13:00:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:00:39 + grep -v github /etc/ssh/ssh_known_hosts 13:00:39 + [ -e /tmp/ssh_known_hosts ] 13:00:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:00:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:00:39 + sudo tee -a /etc/ssh/ssh_known_hosts 13:00:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:00:40 13:00:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:00:40 0.1.4: Pulling from edgex-devops/py-git-semver 13:00:40 b85a868b505f: Pulling fs layer 13:00:40 e2be974225ed: Pulling fs layer 13:00:40 339a4e72a1f5: Pulling fs layer 13:00:40 988bab9f4d93: Pulling fs layer 13:00:40 1469e6f7b9e6: Pulling fs layer 13:00:40 eaf3925da568: Pulling fs layer 13:00:40 bab4dde63d76: Pulling fs layer 13:00:40 bde34c3a00c8: Pulling fs layer 13:00:40 b352a97aabf1: Pulling fs layer 13:00:40 4872d77fe225: Pulling fs layer 13:00:40 5851b861e8e6: Pulling fs layer 13:00:40 1469e6f7b9e6: Waiting 13:00:40 eaf3925da568: Waiting 13:00:40 bab4dde63d76: Waiting 13:00:40 bde34c3a00c8: Waiting 13:00:40 5851b861e8e6: Waiting 13:00:40 4872d77fe225: Waiting 13:00:40 b352a97aabf1: Waiting 13:00:40 e2be974225ed: Download complete 13:00:40 988bab9f4d93: Verifying Checksum 13:00:40 988bab9f4d93: Download complete 13:00:40 1469e6f7b9e6: Verifying Checksum 13:00:40 1469e6f7b9e6: Download complete 13:00:40 eaf3925da568: Verifying Checksum 13:00:40 eaf3925da568: Download complete 13:00:40 339a4e72a1f5: Verifying Checksum 13:00:40 339a4e72a1f5: Download complete 13:00:40 bde34c3a00c8: Verifying Checksum 13:00:40 bde34c3a00c8: Download complete 13:00:40 b352a97aabf1: Verifying Checksum 13:00:40 b352a97aabf1: Download complete 13:00:40 4872d77fe225: Verifying Checksum 13:00:40 4872d77fe225: Download complete 13:00:40 5851b861e8e6: Download complete 13:00:40 b85a868b505f: Download complete 13:00:40 bab4dde63d76: Verifying Checksum 13:00:40 bab4dde63d76: Download complete 13:00:41 b85a868b505f: Pull complete 13:00:42 e2be974225ed: Pull complete 13:00:42 339a4e72a1f5: Pull complete 13:00:42 988bab9f4d93: Pull complete 13:00:43 1469e6f7b9e6: Pull complete 13:00:43 eaf3925da568: Pull complete 13:00:44 bab4dde63d76: Pull complete 13:00:44 bde34c3a00c8: Pull complete 13:00:45 b352a97aabf1: Pull complete 13:00:45 4872d77fe225: Pull complete 13:00:45 5851b861e8e6: Pull complete 13:00:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:00:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:45 prd-ubuntu20.04-docker-8c-8g-16385 does not seem to be running inside a container 13:00:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-619 -v /w/workspace/_app-service-configurable_PR-619:/w/workspace/_app-service-configurable_PR-619:rw,z -v /w/workspace/_app-service-configurable_PR-619@tmp:/w/workspace/_app-service-configurable_PR-619@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:00:48 $ docker top 97d48b47cf7aea4e603f4413fda8ec87916b209e1f8ed8fd5747c3e9ae13ad9f -eo pid,comm 13:00:48 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). 13:00:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:00:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:00:49 [ssh-agent] Looking for ssh-agent implementation... 13:00:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:00:49 $ docker exec 97d48b47cf7aea4e603f4413fda8ec87916b209e1f8ed8fd5747c3e9ae13ad9f ssh-agent 13:00:49 SSH_AUTH_SOCK=/tmp/ssh-yXQgxHuRDXdo/agent.32 13:00:49 SSH_AGENT_PID=38 13:00:49 Running ssh-add (command line suppressed) 13:00:49 Identity added: /w/workspace/_app-service-configurable_PR-619@tmp/private_key_5910124526647891715.key (/w/workspace/_app-service-configurable_PR-619@tmp/private_key_5910124526647891715.key) 13:00:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:00:50 + git tag --points-at HEAD [Pipeline] } 13:00:50 $ docker exec --env ******** --env ******** 97d48b47cf7aea4e603f4413fda8ec87916b209e1f8ed8fd5747c3e9ae13ad9f ssh-agent -k 13:00:51 unset SSH_AUTH_SOCK; 13:00:51 unset SSH_AGENT_PID; 13:00:51 echo Agent pid 38 killed; 13:00:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:00:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:00:53 [ssh-agent] Looking for ssh-agent implementation... 13:00:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:00:53 $ docker exec 97d48b47cf7aea4e603f4413fda8ec87916b209e1f8ed8fd5747c3e9ae13ad9f ssh-agent 13:00:53 SSH_AUTH_SOCK=/tmp/ssh-nHwH6P1PxMEv/agent.70 13:00:53 SSH_AGENT_PID=76 13:00:53 Running ssh-add (command line suppressed) 13:00:53 Identity added: /w/workspace/_app-service-configurable_PR-619@tmp/private_key_15227789952789569371.key (/w/workspace/_app-service-configurable_PR-619@tmp/private_key_15227789952789569371.key) 13:00:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:00:53 + git semver init 13:00:53 2023-11-02 13:00:53,952 [run_init] DEBUG init version:0.0.0 force:False 13:00:53 2023-11-02 13:00:53,953 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-619/.semver 13:00:53 2023-11-02 13:00:53,953 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-619/.semver 13:00:53 2023-11-02 13:00:53,953 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-619/.semver'], cwd=/w/workspace/_app-service-configurable_PR-619, universal_newlines=False, shell=None, istream=None) 13:00:54 2023-11-02 13:00:54,827 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-619/.git/info/exclude 13:00:54 2023-11-02 13:00:54,827 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-619/.semver/PR-619 with force:False 13:00:54 2023-11-02 13:00:54,828 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-619/.semver/PR-619 13:00:54 2023-11-02 13:00:54,832 [execute] INFO git cat-file --batch-check 13:00:54 2023-11-02 13:00:54,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-619/.semver, universal_newlines=False, shell=None, istream=) 13:00:54 2023-11-02 13:00:54,839 [execute] INFO git cat-file --batch 13:00:54 2023-11-02 13:00:54,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-619/.semver, universal_newlines=False, shell=None, istream=) 13:00:54 2023-11-02 13:00:54,844 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-619/.semver/PR-619 13:00:54 0.0.0 [Pipeline] } 13:00:54 $ docker exec --env ******** --env ******** 97d48b47cf7aea4e603f4413fda8ec87916b209e1f8ed8fd5747c3e9ae13ad9f ssh-agent -k 13:00:55 unset SSH_AUTH_SOCK; 13:00:55 unset SSH_AGENT_PID; 13:00:55 echo Agent pid 76 killed; 13:00:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:00:55 + git semver [Pipeline] } 13:00:55 $ docker stop --time=1 97d48b47cf7aea4e603f4413fda8ec87916b209e1f8ed8fd5747c3e9ae13ad9f 13:00:58 $ docker rm -f --volumes 97d48b47cf7aea4e603f4413fda8ec87916b209e1f8ed8fd5747c3e9ae13ad9f [Pipeline] // withDockerContainer [Pipeline] sh 13:01:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:01:02 Stashed 1 file(s) [Pipeline] echo 13:01:02 [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 13:01:03 provisioning config files... 13:01:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-619@tmp/config4890653720577652989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:03 ---> docker-login.sh 13:01:03 nexus3.edgexfoundry.org:10001 13:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:03 Configure a credential helper to remove this warning. See 13:01:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:03 13:01:03 Login Succeeded 13:01:03 nexus3.edgexfoundry.org:10002 13:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:03 Configure a credential helper to remove this warning. See 13:01:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:03 13:01:03 Login Succeeded 13:01:03 nexus3.edgexfoundry.org:10003 13:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:04 Configure a credential helper to remove this warning. See 13:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:04 13:01:04 Login Succeeded 13:01:04 nexus3.edgexfoundry.org:10004 13:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:04 Configure a credential helper to remove this warning. See 13:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:04 13:01:04 Login Succeeded 13:01:04 docker.io 13:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:04 Configure a credential helper to remove this warning. See 13:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:04 13:01:04 Login Succeeded 13:01:04 ---> docker-login.sh ends [Pipeline] } 13:01:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:01:05 ========================================================= 13:01:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:01:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:05 + 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 . 13:01:05 Sending build context to Docker daemon 3.371MB 13:01:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:01:05 Step 2/12 : FROM ${BASE} AS builder 13:01:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:01:05 7264a8db6415: Pulling fs layer 13:01:05 c4d48a809fc2: Pulling fs layer 13:01:05 4f1c88b9dad5: Pulling fs layer 13:01:05 ad3a456e5733: Pulling fs layer 13:01:05 33e27b845d1e: Pulling fs layer 13:01:05 c68163c4e522: Pulling fs layer 13:01:05 50da416c3ac9: Pulling fs layer 13:01:05 23d2d4c4bb30: Pulling fs layer 13:01:05 33e27b845d1e: Waiting 13:01:05 c68163c4e522: Waiting 13:01:05 50da416c3ac9: Waiting 13:01:05 23d2d4c4bb30: Waiting 13:01:05 c4d48a809fc2: Verifying Checksum 13:01:05 c4d48a809fc2: Download complete 13:01:05 ad3a456e5733: Verifying Checksum 13:01:05 ad3a456e5733: Download complete 13:01:05 33e27b845d1e: Verifying Checksum 13:01:05 33e27b845d1e: Download complete 13:01:05 7264a8db6415: Verifying Checksum 13:01:05 7264a8db6415: Download complete 13:01:05 c68163c4e522: Verifying Checksum 13:01:05 c68163c4e522: Download complete 13:01:05 7264a8db6415: Pull complete 13:01:05 23d2d4c4bb30: Verifying Checksum 13:01:05 23d2d4c4bb30: Download complete 13:01:06 c4d48a809fc2: Pull complete 13:01:06 4f1c88b9dad5: Verifying Checksum 13:01:06 4f1c88b9dad5: Download complete 13:01:06 50da416c3ac9: Verifying Checksum 13:01:06 50da416c3ac9: Download complete 13:01:09 4f1c88b9dad5: Pull complete 13:01:09 ad3a456e5733: Pull complete 13:01:09 33e27b845d1e: Pull complete 13:01:09 c68163c4e522: Pull complete 13:01:12 50da416c3ac9: Pull complete 13:01:12 23d2d4c4bb30: Pull complete 13:01:12 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 13:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:01:12 ---> 0786185ac409 13:01:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:16 ---> Running in d3ec14fbbfe0 13:01:16 Removing intermediate container d3ec14fbbfe0 13:01:16 ---> 4208182b4cf2 13:01:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:16 ---> Running in 481a0a3f422b 13:01:16 Removing intermediate container 481a0a3f422b 13:01:16 ---> c34c03d3f019 13:01:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:16 ---> Running in 355da66e305a 13:01:16 Removing intermediate container 355da66e305a 13:01:16 ---> f3e6e927f452 13:01:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:16 ---> Running in 2ec35c12e85d 13:01:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:01:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:01:17 OK: 264 MiB in 52 packages 13:01:17 Removing intermediate container 2ec35c12e85d 13:01:17 ---> a498d7275b6e 13:01:17 Step 7/12 : WORKDIR /app 13:01:17 ---> Running in eea55f032731 13:01:17 Removing intermediate container eea55f032731 13:01:17 ---> 7aecd331c88e 13:01:17 Step 8/12 : COPY go.mod vendor* ./ 13:01:17 ---> 4a4b5a733957 13:01:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:17 ---> Running in 61785459437f 13:01:18 Still waiting to schedule task 13:01:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:01:56 Removing intermediate container 61785459437f 13:01:56 ---> f93dac4dbc80 13:01:56 Step 10/12 : COPY . . 13:01:56 ---> 7d98a0e43acf 13:01:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:01:56 ---> Running in 815f397537ac 13:01:56 Removing intermediate container 815f397537ac 13:01:56 ---> aca467d9ff31 13:01:56 Step 12/12 : RUN $MAKE 13:01:56 ---> Running in aa655bc1013b 13:01:56 noop 13:01:56 Removing intermediate container aa655bc1013b 13:01:56 ---> 996a5baed29c 13:01:56 Successfully built 996a5baed29c 13:01:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:57 + docker inspect -f . ci-base-image-x86_64 13:01:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:57 prd-ubuntu20.04-docker-8c-8g-16385 does not seem to be running inside a container 13:01:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-619 -v /w/workspace/_app-service-configurable_PR-619:/w/workspace/_app-service-configurable_PR-619:rw,z -v /w/workspace/_app-service-configurable_PR-619@tmp:/w/workspace/_app-service-configurable_PR-619@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 ******** ci-base-image-x86_64 cat 13:01:57 $ docker top d925fe82cb50c13819ee8294ed018e88eabf0ea3e328f61d5390a525288c5823 -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:57 + go version 13:01:57 go version go1.21.0 linux/amd64 [Pipeline] } 13:01:58 $ docker stop --time=1 d925fe82cb50c13819ee8294ed018e88eabf0ea3e328f61d5390a525288c5823 13:01:59 $ docker rm -f --volumes d925fe82cb50c13819ee8294ed018e88eabf0ea3e328f61d5390a525288c5823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:59 + docker inspect -f . ci-base-image-x86_64 13:01:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:00 prd-ubuntu20.04-docker-8c-8g-16385 does not seem to be running inside a container 13:02:00 $ 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-619 -v /w/workspace/_app-service-configurable_PR-619:/w/workspace/_app-service-configurable_PR-619:rw,z -v /w/workspace/_app-service-configurable_PR-619@tmp:/w/workspace/_app-service-configurable_PR-619@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 ******** ci-base-image-x86_64 cat 13:02:00 $ docker top 8c4e3d230289a242f1dca6489f6d7d2acb6ab58e66cb17bc50f70cbef4230fb1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:00 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-619 [Pipeline] fileExists [Pipeline] sh 13:02:01 + make test 13:02:01 go test -race -coverprofile=coverage.out ./... 13:02:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:02:37 go vet ./... 13:02:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:02:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:02:40 ./bin/test-attribution-txt.sh [Pipeline] echo 13:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:02:40 $ docker stop --time=1 8c4e3d230289a242f1dca6489f6d7d2acb6ab58e66cb17bc50f70cbef4230fb1 13:02:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16386 in /w/workspace/_app-service-configurable_PR-619 13:02:49 $ docker rm -f --volumes 8c4e3d230289a242f1dca6489f6d7d2acb6ab58e66cb17bc50f70cbef4230fb1 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 13:02:49 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:02:49 Selected Git installation does not exist. Using Default 13:02:49 The recommended git tool is: NONE 13:02:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:02:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:02:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:02:50 + ls -al . 13:02:50 total 180 13:02:50 drwxrwxr-x 7 jenkins jenkins 4096 Nov 2 13:02 . 13:02:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 13:00 .. 13:02:50 -rw-rw-r-- 1 jenkins jenkins 119 Nov 2 13:00 .dockerignore 13:02:50 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 13:02 .git 13:02:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 13:00 .github 13:02:50 -rw-rw-r-- 1 jenkins jenkins 106 Nov 2 13:00 .gitignore 13:02:50 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 13:00 .golangci.yml 13:02:50 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 13:00 .semver 13:02:50 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 2 13:00 Attribution.txt 13:02:50 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 2 13:00 CHANGELOG.md 13:02:50 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 2 13:00 Dockerfile 13:02:50 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 13:00 GOVERNANCE.md 13:02:50 -rw-rw-r-- 1 jenkins jenkins 666 Nov 2 13:00 Jenkinsfile 13:02:50 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 2 13:00 LICENSE 13:02:50 -rw-rw-r-- 1 jenkins jenkins 618 Nov 2 13:00 OWNERS.md 13:02:50 -rw-rw-r-- 1 jenkins jenkins 4550 Nov 2 13:00 README.md 13:02:50 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 13:01 VERSION 13:02:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 13:00 bin 13:02:50 -rw-r--r-- 1 jenkins jenkins 13 Nov 2 13:02 coverage.out 13:02:50 -rw-rw-r-- 1 jenkins jenkins 3731 Nov 2 13:00 go.mod 13:02:50 -rw-rw-r-- 1 jenkins jenkins 34917 Nov 2 13:00 go.sum 13:02:50 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 2 13:00 main.go 13:02:50 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 2 13:00 makefile 13:02:50 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 13:00 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:51 + 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=bc78248f6b7a11d865c298d335820044f5999cf6 --label arch=amd64 --label version=0.0.0 . 13:02:51 Sending build context to Docker daemon 3.372MB 13:02:51 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:02:51 Step 2/26 : FROM ${BASE} AS builder 13:02:51 ---> 996a5baed29c 13:02:51 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:02:51 ---> Running in 1ea9c192f4af 13:02:51 Removing intermediate container 1ea9c192f4af 13:02:51 ---> 425f5db32b77 13:02:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:02:51 ---> Running in 3d1ff1c2d791 13:02:51 Removing intermediate container 3d1ff1c2d791 13:02:51 ---> d88e12437320 13:02:51 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:02:51 ---> Running in baadbea51483 13:02:52 Removing intermediate container baadbea51483 13:02:52 ---> 5ccd7b47d34b 13:02:52 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:02:52 ---> Running in c4203d2bdb54 13:02:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:02:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:02:53 OK: 264 MiB in 52 packages 13:02:53 Removing intermediate container c4203d2bdb54 13:02:53 ---> fd7de17a6331 13:02:53 Step 7/26 : WORKDIR /app 13:02:53 ---> Running in 77c7917bdd54 13:02:53 Removing intermediate container 77c7917bdd54 13:02:53 ---> 9f92f2920bac 13:02:53 Step 8/26 : COPY go.mod vendor* ./ 13:02:53 ---> ccb3a68ceee3 13:02:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:02:53 ---> Running in 8fa4126d1a4e 13:02:54 using credential edgex-jenkins-ssh 13:02:54 Cloning the remote Git repository 13:02:54 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:02:54 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:02:54 Removing intermediate container 8fa4126d1a4e 13:02:54 ---> 32ee1a9f60f6 13:02:54 Step 10/26 : COPY . . 13:02:54 ---> 6fc5500e6180 13:02:54 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:54 ---> Running in 7558dfdd2f8c 13:02:54 Removing intermediate container 7558dfdd2f8c 13:02:54 ---> 3cf0925cf8bd 13:02:54 Step 12/26 : RUN $MAKE 13:02:54 ---> Running in e0d0e7217aec 13:02:55 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 13:02:54 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:02:54 > git --version # timeout=10 13:02:54 > git --version # 'git version 2.25.1' 13:02:54 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:02:55 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:02:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:02:56 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:02:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:02:56 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:02:57 Merging remotes/origin/main commit 0641d86a7e9e51402bc7501e954cf0251e558fc3 into PR head commit bc78248f6b7a11d865c298d335820044f5999cf6 13:02:57 Merge succeeded, producing bc78248f6b7a11d865c298d335820044f5999cf6 13:02:57 Checking out Revision bc78248f6b7a11d865c298d335820044f5999cf6 (PR-619) 13:02:57 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:02:58 > git --version # timeout=10 13:02:58 > git --version # 'git version 2.25.1' 13:02:58 fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 13:02:57 > git config core.sparsecheckout # timeout=10 13:02:57 > git checkout -f bc78248f6b7a11d865c298d335820044f5999cf6 # timeout=10 13:02:57 > git remote # timeout=10 13:02:57 > git config --get remote.origin.url # timeout=10 13:02:57 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:57 > git merge 0641d86a7e9e51402bc7501e954cf0251e558fc3 # timeout=10 13:02:57 > git rev-parse HEAD^{commit} # timeout=10 13:02:57 > git config core.sparsecheckout # timeout=10 13:02:57 > git checkout -f bc78248f6b7a11d865c298d335820044f5999cf6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:02:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:02:59 % Total % Received % Xferd Average Speed Time Time Time Current 13:02:59 Dload Upload Total Spent Left Speed 13:02:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 13:02:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:03:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:03:00 + sudo tee /etc/docker/daemon.new 13:03:00 { 13:03:00 "registry-mirrors": [ 13:03:00 "https://nexus3.edgexfoundry.org:10001" 13:03:00 ], 13:03:00 "bip": "10.250.0.254/24", 13:03:00 "hosts": [ 13:03:00 "tcp://0.0.0.0:5555", 13:03:00 "unix:///var/run/docker.sock" 13:03:00 ], 13:03:00 "mtu": 1458, 13:03:00 "selinux-enabled": true, 13:03:00 "seccomp-profile": "/etc/docker/seccomp.json" 13:03:00 } [Pipeline] sh 13:03:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:03:00 + sudo service docker restart 13:03:17 Removing intermediate container e0d0e7217aec 13:03:17 ---> ddce31bbd1a6 13:03:17 Step 13/26 : FROM alpine:3.18 13:03:17 3.18: Pulling from library/alpine 13:03:17 96526aa774ef: Pulling fs layer 13:03:17 96526aa774ef: Verifying Checksum 13:03:17 96526aa774ef: Download complete 13:03:17 96526aa774ef: Pull complete 13:03:17 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 13:03:17 Status: Downloaded newer image for alpine:3.18 13:03:17 ---> 8ca4688f4f35 13:03:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:03:17 ---> Running in 9159d3d75430 13:03:17 Removing intermediate container 9159d3d75430 13:03:17 ---> 2f600b8b1f7c 13:03:17 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:03:17 ---> Running in 63a7b131295f 13:03:17 Removing intermediate container 63a7b131295f 13:03:17 ---> 96ae92f2883a 13:03:17 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:03:17 ---> Running in bfe06637a3c2 13:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:03:17 (1/2) Installing ca-certificates (20230506-r0) 13:03:17 (2/2) Installing dumb-init (1.2.5-r2) 13:03:17 Executing busybox-1.36.1-r2.trigger 13:03:17 Executing ca-certificates-20230506-r0.trigger 13:03:17 OK: 8 MiB in 17 packages 13:03:17 Removing intermediate container bfe06637a3c2 13:03:17 ---> 22f06b37e0c1 13:03:17 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:03:17 ---> f795ab03fd45 13:03:17 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:03:17 ---> dbbf1da1633f 13:03:17 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:03:17 ---> f953ef6d9c66 13:03:17 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:03:18 ---> 56e321d0821e 13:03:18 Step 21/26 : EXPOSE 48095 13:03:18 ---> Running in 226460ac18c6 13:03:18 Removing intermediate container 226460ac18c6 13:03:18 ---> 6d5ea6ca5345 13:03:18 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:03:18 ---> Running in adb1ec0d35de 13:03:18 Removing intermediate container adb1ec0d35de 13:03:18 ---> e718de2e5dc3 13:03:18 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:03:18 ---> Running in aae736d7acd7 13:03:18 Removing intermediate container aae736d7acd7 13:03:18 ---> 2196a666d86e 13:03:18 Step 24/26 : LABEL arch=amd64 13:03:18 ---> Running in 250c3481ff43 13:03:18 Removing intermediate container 250c3481ff43 13:03:18 ---> 02216604fe6a 13:03:18 Step 25/26 : LABEL git_sha=bc78248f6b7a11d865c298d335820044f5999cf6 13:03:18 ---> Running in 9e6748f26f9f 13:03:18 Removing intermediate container 9e6748f26f9f 13:03:18 ---> b204d71ce9ca 13:03:18 Step 26/26 : LABEL version=0.0.0 13:03:18 ---> Running in 66a25f14cdda 13:03:18 Removing intermediate container 66a25f14cdda 13:03:18 ---> ecf9b493d8d3 13:03:18 [Warning] One or more build-args [ARCH] were not consumed 13:03:18 Successfully built ecf9b493d8d3 13:03:18 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] withEnv [Pipeline] { [Pipeline] configFileProvider 13:03:19 provisioning config files... [Pipeline] script [Pipeline] { 13:03:19 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7330728503483783394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:19 ---> docker-login.sh 13:03:19 nexus3.edgexfoundry.org:10001 13:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:03:19 13:03:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:03:20 latest: Pulling from edgex-lftools-log-publisher 13:03:20 5eb5b503b376: Pulling fs layer 13:03:20 5c69ac0246d0: Pulling fs layer 13:03:20 ec43610c2a17: Pulling fs layer 13:03:20 3a2ae6a8a46f: Pulling fs layer 13:03:20 33b1e0a273af: Pulling fs layer 13:03:20 5d3b04190fa2: Pulling fs layer 13:03:20 2f39f015ded8: Pulling fs layer 13:03:20 3a2ae6a8a46f: Waiting 13:03:20 2f39f015ded8: Waiting 13:03:20 33b1e0a273af: Waiting 13:03:20 5d3b04190fa2: Waiting 13:03:20 5c69ac0246d0: Download complete 13:03:20 3a2ae6a8a46f: Verifying Checksum 13:03:20 3a2ae6a8a46f: Download complete 13:03:20 33b1e0a273af: Verifying Checksum 13:03:20 33b1e0a273af: Download complete 13:03:20 5d3b04190fa2: Verifying Checksum 13:03:20 5d3b04190fa2: Download complete 13:03:20 ec43610c2a17: Verifying Checksum 13:03:20 ec43610c2a17: Download complete 13:03:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:20 Configure a credential helper to remove this warning. See 13:03:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:20 13:03:20 Login Succeeded 13:03:20 nexus3.edgexfoundry.org:10002 13:03:20 5eb5b503b376: Verifying Checksum 13:03:20 5eb5b503b376: Download complete 13:03:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:20 Configure a credential helper to remove this warning. See 13:03:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:20 13:03:20 Login Succeeded 13:03:20 nexus3.edgexfoundry.org:10003 13:03:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:21 2f39f015ded8: Verifying Checksum 13:03:21 2f39f015ded8: Download complete 13:03:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:21 Configure a credential helper to remove this warning. See 13:03:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:21 13:03:21 Login Succeeded 13:03:21 nexus3.edgexfoundry.org:10004 13:03:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:21 Configure a credential helper to remove this warning. See 13:03:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:21 13:03:21 Login Succeeded 13:03:21 docker.io 13:03:21 5eb5b503b376: Pull complete 13:03:21 5c69ac0246d0: Pull complete 13:03:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:21 Configure a credential helper to remove this warning. See 13:03:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:21 13:03:21 Login Succeeded 13:03:21 ---> docker-login.sh ends [Pipeline] } 13:03:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:03:22 ec43610c2a17: Pull complete 13:03:22 3a2ae6a8a46f: Pull complete [Pipeline] echo 13:03:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:03:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:03:22 ========================================================= 13:03:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:03:22 ========================================================= [Pipeline] fileExists 13:03:22 33b1e0a273af: Pull complete 13:03:22 5d3b04190fa2: Pull complete [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:22 + 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 . 13:03:22 Sending build context to Docker daemon 157.7kB 13:03:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:03:23 Step 2/12 : FROM ${BASE} AS builder 13:03:26 2f39f015ded8: Pull complete 13:03:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:03:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:03:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:26 prd-ubuntu20.04-docker-8c-8g-16385 does not seem to be running inside a container 13:03:26 $ 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-619 -v /w/workspace/_app-service-configurable_PR-619:/w/workspace/_app-service-configurable_PR-619:rw,z -v /w/workspace/_app-service-configurable_PR-619@tmp:/w/workspace/_app-service-configurable_PR-619@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:03:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:03:27 9fda8d8052c6: Pulling fs layer 13:03:27 5d54e960e981: Pulling fs layer 13:03:27 c4a7e357bf2a: Pulling fs layer 13:03:27 f0e02332f6b5: Pulling fs layer 13:03:27 cefa15bbcfad: Pulling fs layer 13:03:27 17808c966233: Pulling fs layer 13:03:27 f4c1fc716caa: Pulling fs layer 13:03:27 f0e02332f6b5: Waiting 13:03:27 cefa15bbcfad: Waiting 13:03:27 17808c966233: Waiting 13:03:27 f4c1fc716caa: Waiting 13:03:27 5d54e960e981: Verifying Checksum 13:03:27 5d54e960e981: Download complete 13:03:27 f0e02332f6b5: Verifying Checksum 13:03:27 f0e02332f6b5: Download complete 13:03:27 9fda8d8052c6: Verifying Checksum 13:03:27 9fda8d8052c6: Download complete 13:03:27 cefa15bbcfad: Verifying Checksum 13:03:27 cefa15bbcfad: Download complete 13:03:28 f4c1fc716caa: Verifying Checksum 13:03:28 f4c1fc716caa: Download complete 13:03:28 9fda8d8052c6: Pull complete 13:03:29 5d54e960e981: Pull complete 13:03:29 c4a7e357bf2a: Verifying Checksum 13:03:29 c4a7e357bf2a: Download complete 13:03:30 17808c966233: Verifying Checksum 13:03:30 17808c966233: Download complete 13:03:32 $ docker top da6377bdd0bfdb9c29500178c371fe5c4eff8cda30557df2d749a960bb4f28c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:32 ---> job-cost.sh 13:03:32 lf-activate-venv: SKIPPING 13:03:32 INFO: No Stack... 13:03:33 INFO: Retrieving Pricing Info for: v3-standard-8 13:03:33 INFO: Archiving Costs [Pipeline] sh 13:03:34 + cut -d, -f6 13:03:34 + cat /w/workspace/_app-service-configurable_PR-619/archives/cost.csv [Pipeline] lock 13:03:34 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-619-1-stack-cost] 13:03:34 Resource [jenkins-edgexfoundry-app-service-configurable-PR-619-1-stack-cost] did not exist. Created. 13:03:34 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-619-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:03:34 + echo total: 0.2199999988079071 [Pipeline] stash 13:03:34 Stashed 1 file(s) [Pipeline] } 13:03:34 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-619-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:03:34 $ docker stop --time=1 da6377bdd0bfdb9c29500178c371fe5c4eff8cda30557df2d749a960bb4f28c0 13:03:35 $ docker rm -f --volumes da6377bdd0bfdb9c29500178c371fe5c4eff8cda30557df2d749a960bb4f28c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:03:42 c4a7e357bf2a: Pull complete 13:03:42 f0e02332f6b5: Pull complete 13:03:42 cefa15bbcfad: Pull complete 13:03:50 17808c966233: Pull complete 13:03:52 f4c1fc716caa: Pull complete 13:03:52 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 13:03:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:03:52 ---> ea914061e18c 13:03:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:03:53 ---> Running in fc962a055925 13:03:53 Removing intermediate container fc962a055925 13:03:53 ---> 2189c5cf79a3 13:03:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:03:53 ---> Running in 6c272feca227 13:03:54 Removing intermediate container 6c272feca227 13:03:54 ---> 5a07ea87b2f1 13:03:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:03:54 ---> Running in 33e752ecd83f 13:03:54 Removing intermediate container 33e752ecd83f 13:03:54 ---> c3c8d3c2ad38 13:03:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:03:54 ---> Running in 36397e1f1753 13:03:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:03:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:03:57 OK: 266 MiB in 52 packages 13:03:58 Removing intermediate container 36397e1f1753 13:03:58 ---> a072e8b1c39c 13:03:58 Step 7/12 : WORKDIR /app 13:03:58 ---> Running in 271374e68c32 13:03:58 Removing intermediate container 271374e68c32 13:03:58 ---> f509b895a9cd 13:03:58 Step 8/12 : COPY go.mod vendor* ./ 13:03:59 ---> f1555b445a65 13:03:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:03:59 ---> Running in 65f148f0fc38 13:05:20 Removing intermediate container 65f148f0fc38 13:05:20 ---> 20d3f5ecc873 13:05:20 Step 10/12 : COPY . . 13:05:20 ---> 55efed85e6c3 13:05:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:05:20 ---> Running in 0281e3c6d3b1 13:05:20 Removing intermediate container 0281e3c6d3b1 13:05:20 ---> f29376b87f8f 13:05:20 Step 12/12 : RUN $MAKE 13:05:20 ---> Running in 350071151db8 13:05:20 noop 13:05:20 Removing intermediate container 350071151db8 13:05:20 ---> 46a86677b50c 13:05:20 Successfully built 46a86677b50c 13:05:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:21 + docker inspect -f . ci-base-image-arm64 13:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:05:21 prd-ubuntu20.04-docker-arm64-4c-16g-16386 does not seem to be running inside a container 13:05:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** ci-base-image-arm64 cat 13:05:22 $ docker top 897a8d2e3b305d611d87fd6dc26783eb1654d9512f6dd7cfd52dcca9a543a661 -eo pid,comm [Pipeline] { [Pipeline] sh 13:05:23 + go version 13:05:23 go version go1.21.0 linux/arm64 [Pipeline] } 13:05:23 $ docker stop --time=1 897a8d2e3b305d611d87fd6dc26783eb1654d9512f6dd7cfd52dcca9a543a661 13:05:25 $ docker rm -f --volumes 897a8d2e3b305d611d87fd6dc26783eb1654d9512f6dd7cfd52dcca9a543a661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:26 + docker inspect -f . ci-base-image-arm64 13:05:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:05:26 prd-ubuntu20.04-docker-arm64-4c-16g-16386 does not seem to be running inside a container 13:05:26 $ 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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** ci-base-image-arm64 cat 13:05:27 $ docker top df9d140b02433592cddb26666dec3715048a4c64418a1990ebdc79ea25d2660b -eo pid,comm [Pipeline] { [Pipeline] sh 13:05:28 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:05:29 + make test 13:05:29 go test -race -coverprofile=coverage.out ./... 13:07:35 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:07:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:07:35 go vet ./... 13:09:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:09:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:09:12 ./bin/test-attribution-txt.sh [Pipeline] echo 13:09:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:09:12 $ docker stop --time=1 df9d140b02433592cddb26666dec3715048a4c64418a1990ebdc79ea25d2660b 13:09:14 $ docker rm -f --volumes df9d140b02433592cddb26666dec3715048a4c64418a1990ebdc79ea25d2660b [Pipeline] // withDockerContainer [Pipeline] sh 13:09:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:09:15 Warning: overwriting stash ‘coverage-report’ 13:09:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:09:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:09:17 + ls -al . 13:09:17 total 176 13:09:17 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 13:05 . 13:09:17 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 13:02 .. 13:09:17 -rw-rw-r-- 1 jenkins jenkins 119 Nov 2 13:02 .dockerignore 13:09:17 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 13:02 .git 13:09:17 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 13:02 .github 13:09:17 -rw-rw-r-- 1 jenkins jenkins 106 Nov 2 13:02 .gitignore 13:09:17 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 13:02 .golangci.yml 13:09:17 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 2 13:02 Attribution.txt 13:09:17 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 2 13:02 CHANGELOG.md 13:09:17 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 2 13:02 Dockerfile 13:09:17 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 13:02 GOVERNANCE.md 13:09:17 -rw-rw-r-- 1 jenkins jenkins 666 Nov 2 13:02 Jenkinsfile 13:09:17 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 2 13:02 LICENSE 13:09:17 -rw-rw-r-- 1 jenkins jenkins 618 Nov 2 13:02 OWNERS.md 13:09:17 -rw-rw-r-- 1 jenkins jenkins 4550 Nov 2 13:02 README.md 13:09:17 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 13:01 VERSION 13:09:17 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 13:02 bin 13:09:17 -rw-r--r-- 1 jenkins jenkins 13 Nov 2 13:05 coverage.out 13:09:17 -rw-rw-r-- 1 jenkins jenkins 3731 Nov 2 13:02 go.mod 13:09:17 -rw-rw-r-- 1 jenkins jenkins 34917 Nov 2 13:02 go.sum 13:09:17 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 2 13:02 main.go 13:09:17 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 2 13:02 makefile 13:09:17 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 13:02 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:17 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bc78248f6b7a11d865c298d335820044f5999cf6 --label arch=arm64 --label version=0.0.0 . 13:09:17 Sending build context to Docker daemon 158.7kB 13:09:17 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:09:17 Step 2/26 : FROM ${BASE} AS builder 13:09:17 ---> 46a86677b50c 13:09:17 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:09:17 ---> Running in e925244bbfab 13:09:18 Removing intermediate container e925244bbfab 13:09:18 ---> ee6336e9ce77 13:09:18 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:09:18 ---> Running in 6689f6d50dca 13:09:18 Removing intermediate container 6689f6d50dca 13:09:18 ---> dc9614bd6f1e 13:09:18 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:09:18 ---> Running in fb0daf6a989d 13:09:18 Removing intermediate container fb0daf6a989d 13:09:18 ---> 76d979c394f5 13:09:18 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:09:18 ---> Running in 6cc4d8fa3480 13:09:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:09:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:09:21 OK: 266 MiB in 52 packages 13:09:22 Removing intermediate container 6cc4d8fa3480 13:09:22 ---> 8267e8f8a184 13:09:22 Step 7/26 : WORKDIR /app 13:09:22 ---> Running in 395bc9f5f99b 13:09:22 Removing intermediate container 395bc9f5f99b 13:09:22 ---> dc14637f2470 13:09:22 Step 8/26 : COPY go.mod vendor* ./ 13:09:22 ---> 8a4f1f253076 13:09:22 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:09:23 ---> Running in 7143013b94a0 13:09:25 Removing intermediate container 7143013b94a0 13:09:25 ---> c80b3b6c6fad 13:09:25 Step 10/26 : COPY . . 13:09:25 ---> 6712c42040ac 13:09:25 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:09:25 ---> Running in 9f28bc4f525e 13:09:26 Removing intermediate container 9f28bc4f525e 13:09:26 ---> 225d0504b98a 13:09:26 Step 12/26 : RUN $MAKE 13:09:26 ---> Running in af4c958b17d6 13:09:27 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 13:11:18 Removing intermediate container af4c958b17d6 13:11:18 ---> 09e597d1ee62 13:11:18 Step 13/26 : FROM alpine:3.18 13:11:18 3.18: Pulling from library/alpine 13:11:18 579b34f0a95b: Pulling fs layer 13:11:18 579b34f0a95b: Download complete 13:11:18 579b34f0a95b: Pull complete 13:11:18 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 13:11:18 Status: Downloaded newer image for alpine:3.18 13:11:18 ---> 3cc203321400 13:11:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:11:18 ---> Running in a2118223d416 13:11:18 Removing intermediate container a2118223d416 13:11:18 ---> 0fe23ddea60c 13:11:18 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:11:18 ---> Running in f3a11acc0959 13:11:18 Removing intermediate container f3a11acc0959 13:11:18 ---> f8ec1a8c4614 13:11:18 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:11:18 ---> Running in 2908c05e0313 13:11:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:11:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:11:18 (1/2) Installing ca-certificates (20230506-r0) 13:11:18 (2/2) Installing dumb-init (1.2.5-r2) 13:11:18 Executing busybox-1.36.1-r2.trigger 13:11:18 Executing ca-certificates-20230506-r0.trigger 13:11:18 OK: 9 MiB in 17 packages 13:11:18 Removing intermediate container 2908c05e0313 13:11:18 ---> 17234a164b6e 13:11:18 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:11:18 ---> 2f771b6f99c8 13:11:18 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:11:18 ---> aecd8c5979e3 13:11:18 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:11:18 ---> 211eac00ef48 13:11:18 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:11:18 ---> e9d439721c95 13:11:18 Step 21/26 : EXPOSE 48095 13:11:18 ---> Running in 7e02e81d7aae 13:11:18 Removing intermediate container 7e02e81d7aae 13:11:18 ---> 8ee4e2581bb5 13:11:18 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:11:18 ---> Running in 447dee66dbe7 13:11:18 Removing intermediate container 447dee66dbe7 13:11:18 ---> ba585d663b80 13:11:18 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:11:18 ---> Running in b19e671944c0 13:11:18 Removing intermediate container b19e671944c0 13:11:18 ---> 34669b1e0373 13:11:18 Step 24/26 : LABEL arch=arm64 13:11:18 ---> Running in 53a8c948d144 13:11:18 Removing intermediate container 53a8c948d144 13:11:18 ---> 7a0edf7e78ff 13:11:18 Step 25/26 : LABEL git_sha=bc78248f6b7a11d865c298d335820044f5999cf6 13:11:18 ---> Running in 199dfcbe2515 13:11:18 Removing intermediate container 199dfcbe2515 13:11:18 ---> 9508672a803a 13:11:18 Step 26/26 : LABEL version=0.0.0 13:11:18 ---> Running in 829cf96673d1 13:11:19 Removing intermediate container 829cf96673d1 13:11:19 ---> 5fc47a130178 13:11:19 [Warning] One or more build-args [ARCH] were not consumed 13:11:19 Successfully built 5fc47a130178 13:11:19 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 13:11:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:19 13:11:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:20 arm64: Pulling from edgex-lftools-log-publisher 13:11:20 8998bd30e6a1: Pulling fs layer 13:11:20 04944245beec: Pulling fs layer 13:11:20 699f458cf7ca: Pulling fs layer 13:11:20 765212b225bb: Pulling fs layer 13:11:20 f23df028b6ca: Pulling fs layer 13:11:20 d65c8cfc05b1: Pulling fs layer 13:11:20 2437ff75d9bd: Pulling fs layer 13:11:20 f23df028b6ca: Waiting 13:11:20 d65c8cfc05b1: Waiting 13:11:20 2437ff75d9bd: Waiting 13:11:20 765212b225bb: Waiting 13:11:20 04944245beec: Verifying Checksum 13:11:20 04944245beec: Download complete 13:11:20 765212b225bb: Download complete 13:11:20 f23df028b6ca: Verifying Checksum 13:11:20 f23df028b6ca: Download complete 13:11:20 d65c8cfc05b1: Verifying Checksum 13:11:20 d65c8cfc05b1: Download complete 13:11:20 699f458cf7ca: Verifying Checksum 13:11:20 699f458cf7ca: Download complete 13:11:21 8998bd30e6a1: Download complete 13:11:23 2437ff75d9bd: Verifying Checksum 13:11:23 2437ff75d9bd: Download complete 13:11:25 8998bd30e6a1: Pull complete 13:11:26 04944245beec: Pull complete 13:11:28 699f458cf7ca: Pull complete 13:11:28 765212b225bb: Pull complete 13:11:29 f23df028b6ca: Pull complete 13:11:29 d65c8cfc05b1: Pull complete 13:11:47 2437ff75d9bd: Pull complete 13:11:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:11:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:48 prd-ubuntu20.04-docker-arm64-4c-16g-16386 does not seem to be running inside a container 13:11:48 $ 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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:11:50 $ docker top 2370b7a37b16dbd5d0fdbedf762f928c6c0e608fe23c6267fba6bbb0dfcbe0b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:51 ---> job-cost.sh 13:11:51 lf-activate-venv: SKIPPING 13:11:51 INFO: No Stack... 13:11:51 INFO: Retrieving Pricing Info for: v3-standard-4 13:11:52 INFO: Archiving Costs [Pipeline] sh 13:11:53 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:11:53 + cut -d, -f6 [Pipeline] lock 13:11:53 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-619-1-stack-cost] 13:11:53 Resource [jenkins-edgexfoundry-app-service-configurable-PR-619-1-stack-cost] did not exist. Created. 13:11:53 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-619-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:54 /w/workspace/app-service-configurable/1@tmp/durable-de4cec3d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:11:54 + echo total: 0.10999999940395355 [Pipeline] stash 13:11:55 Warning: overwriting stash ‘stack-cost’ 13:11:55 Stashed 1 file(s) [Pipeline] } 13:11:55 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-619-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:55 $ docker stop --time=1 2370b7a37b16dbd5d0fdbedf762f928c6c0e608fe23c6267fba6bbb0dfcbe0b2 13:11:56 $ docker rm -f --volumes 2370b7a37b16dbd5d0fdbedf762f928c6c0e608fe23c6267fba6bbb0dfcbe0b2 [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 13:11:57 provisioning config files... 13:11:57 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-619@tmp/config16885956585688650734tmp [Pipeline] { [Pipeline] sh 13:11:58 + set +x 13:11:58 + + curl -s https://codecov.io/bash 13:11:58 bash -s -- 13:11:58 13:11:58 _____ _ 13:11:58 / ____| | | 13:11:58 | | ___ __| | ___ ___ _____ __ 13:11:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:11:58 | |___| (_) | (_| | __/ (_| (_) \ V / 13:11:58 \_____\___/ \__,_|\___|\___\___/ \_/ 13:11:58 Bash-1.0.6 13:11:58 13:11:58 13:11:58 ==> git version 2.25.1 found 13:11:58 ==> 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 13:11:58 Release-Date: 2020-01-08 13:11:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:11:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:11:58 ==> Jenkins CI detected. 13:11:58 current dir:  /w/workspace/_app-service-configurable_PR-619 13:11:58 project root: . 13:11:58 --> token set from env 13:11:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:11:58 ==> Running gcov in . (disable via -X gcov) 13:11:58 ==> Python coveragepy not found 13:11:58 ==> Searching for coverage reports in: 13:11:58 + . 13:11:58 -> Found 1 reports 13:11:58 ==> Detecting git/mercurial file structure 13:11:58 ==> Reading reports 13:11:58 + ./coverage.out bytes=13 13:11:58 ==> Appending adjustments 13:11:58 https://docs.codecov.io/docs/fixing-reports 13:11:58 + Found adjustments 13:11:58 ==> Gzipping contents 13:11:58 4.0K /tmp/codecov.D6BZvH.gz 13:11:58 ==> Uploading reports 13:11:58 url: https://codecov.io 13:11:58 query: branch=PR-619&commit=bc78248f6b7a11d865c298d335820044f5999cf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-619%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=619&job=&cmd_args= 13:11:58 -> Pinging Codecov 13:11:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-619&commit=bc78248f6b7a11d865c298d335820044f5999cf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-619%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=619&job=&cmd_args= 13:11:58 -> Uploading to 13:11:58 https://storage.googleapis.com/codecov/v4/raw/2023-11-02/A97CA9966030D2A3747ED39772930CCE/bc78248f6b7a11d865c298d335820044f5999cf6/b7c91874-56ef-4152-b3aa-ef9627e8f6a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231102T131158Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7811e5234639cd02ac0b38438f0c427ac63adf5b40a62bd8af36bc5b4252a1a2 13:11:58 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:58 Dload Upload Total Spent Left Speed 13:11:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 906 --:--:-- --:--:-- --:--:-- 906 13:11:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/bc78248f6b7a11d865c298d335820044f5999cf6 [Pipeline] } 13:11:58 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 13:12:00 + [ -d /w/workspace/_app-service-configurable_PR-619/archives ] 13:12:00 + ls -al /w/workspace/_app-service-configurable_PR-619/archives 13:12:00 total 16 13:12:00 drwxr-xr-x 3 root root 4096 Nov 2 13:03 . 13:12:00 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 13:03 .. 13:12:00 drwxr-xr-x 2 root root 4096 Nov 2 13:03 cost 13:12:00 -rw-r--r-- 1 root root 96 Nov 2 13:03 cost.csv 13:12:00 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-619/archives 13:12:00 + ls -al /w/workspace/_app-service-configurable_PR-619/archives 13:12:00 total 16 13:12:00 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 13:03 . 13:12:00 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 13:03 .. 13:12:00 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 13:03 cost 13:12:00 -rw-r--r-- 1 jenkins jenkins 96 Nov 2 13:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:12:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:12:01 ---> package-listing.sh 13:12:01 ++ facter osfamily 13:12:01 ++ tr '[:upper:]' '[:lower:]' 13:12:01 + OS_FAMILY=debian 13:12:01 + workspace=/w/workspace/_app-service-configurable_PR-619 13:12:01 + START_PACKAGES=/tmp/packages_start.txt 13:12:01 + END_PACKAGES=/tmp/packages_end.txt 13:12:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:12:01 + PACKAGES=/tmp/packages_start.txt 13:12:01 + '[' /w/workspace/_app-service-configurable_PR-619 ']' 13:12:01 + PACKAGES=/tmp/packages_end.txt 13:12:01 + case "${OS_FAMILY}" in 13:12:01 + dpkg -l 13:12:01 + grep '^ii' 13:12:01 + '[' -f /tmp/packages_start.txt ']' 13:12:01 + '[' -f /tmp/packages_end.txt ']' 13:12:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:12:01 + '[' /w/workspace/_app-service-configurable_PR-619 ']' 13:12:01 + mkdir -p /w/workspace/_app-service-configurable_PR-619/archives/ 13:12:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-619/archives/ [Pipeline] echo 13:12:01 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-619/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:12:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:12:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:12:02 prd-ubuntu20.04-docker-8c-8g-16385 does not seem to be running inside a container 13:12:02 $ 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-619/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-619 -v /w/workspace/_app-service-configurable_PR-619:/w/workspace/_app-service-configurable_PR-619:rw,z -v /w/workspace/_app-service-configurable_PR-619@tmp:/w/workspace/_app-service-configurable_PR-619@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:12:03 $ docker top b388c62cd72f13d5ef0c0e8980cb353bb51cbff426029593149fd7128d65986a -eo pid,comm [Pipeline] { [Pipeline] sh 13:12:03 + touch /tmp/pre-build-complete [Pipeline] sh 13:12:03 + mkdir -p /var/log/sysstat [Pipeline] sh 13:12:04 + ls /var/log/sa-host 13:12:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:12:04 provisioning config files... 13:12:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-619@tmp/config2055474721239380368tmp [Pipeline] { [Pipeline] echo 13:12:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:12:04 ---> create-netrc.sh [Pipeline] } 13:12:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:12:05 ---> python-tools-install.sh [Pipeline] echo 13:12:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:12:05 ---> sudo-logs.sh 13:12:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:12:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:12:05 ---> job-cost.sh 13:12:05 lf-activate-venv: SKIPPING 13:12:05 DEBUG: total: 0.2199999988079071 13:12:05 INFO: Retrieving Stack Cost... 13:12:06 INFO: Retrieving Pricing Info for: v3-standard-8 13:12:06 INFO: Archiving Costs [Pipeline] echo 13:12:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:12:07 ---> logs-deploy.sh 13:12:07 lf-activate-venv: SKIPPING 13:12:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-619/1 13:12:07 INFO: archiving workspace using pattern(s): 13:12:08 Archives upload complete. 13:12:08 INFO: archiving logs to Nexus