Pull request #535 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at dd1354e29c7435bb79278fb9ff8e460793054574 rather than 8293920925f4f079b61c282a3a61d6ca55e2fbfb Obtained Jenkinsfile from dd1354e29c7435bb79278fb9ff8e460793054574 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-ssh1120819942603514893.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1353595151329793329.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11291309148022528804.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15594387173956121755.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17140049298202178041.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5765 in /w/workspace/_app-service-configurable_PR-535 [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-535 # 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/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dd1354e29c7435bb79278fb9ff8e460793054574 into PR head commit 8293920925f4f079b61c282a3a61d6ca55e2fbfb Merge succeeded, producing bd60cf83a7180e695290ee241cd26f6080b6f634 Checking out Revision bd60cf83a7180e695290ee241cd26f6080b6f634 (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f 8293920925f4f079b61c282a3a61d6ca55e2fbfb # 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 dd1354e29c7435bb79278fb9ff8e460793054574 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd60cf83a7180e695290ee241cd26f6080b6f634 # timeout=10 Commit message: "Merge commit 'dd1354e29c7435bb79278fb9ff8e460793054574' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:42:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:42:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:42:57 ========================================================= 00:42:57 EdgeX Global Pipelines Version Info 00:42:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:42:57 ------------------- 00:42:57 stable info: 00:42:57 ------------------- 00:42:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:42:57 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 00:42:57 Message: update stable to v1.0.245 > git rev-list --no-walk 0c0d0822d14fb27291cd4c76c5d8801ef21ec8d9 # timeout=10 00:42:58 ------------------- 00:42:58 experimental info: 00:42:58 ------------------- 00:42:58 Commited By: **** collab-it+edgex@linuxfoundation.org 00:42:58 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 00:42:58 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 00:42:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 00:42:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd60cf83a7180e695290ee241cd26f6080b6f634 [Pipeline] echo 00:42:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd60cf8 [Pipeline] echo 00:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:42:59 provisioning config files... 00:42:59 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config16984733639044437794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:59 ---> docker-login.sh 00:42:59 nexus3.edgexfoundry.org:10001 00:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:59 Configure a credential helper to remove this warning. See 00:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:59 00:42:59 Login Succeeded 00:42:59 nexus3.edgexfoundry.org:10002 00:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:59 Configure a credential helper to remove this warning. See 00:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:59 00:42:59 Login Succeeded 00:42:59 nexus3.edgexfoundry.org:10003 00:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:00 Configure a credential helper to remove this warning. See 00:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:00 00:43:00 Login Succeeded 00:43:00 nexus3.edgexfoundry.org:10004 00:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:00 Configure a credential helper to remove this warning. See 00:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:00 00:43:00 Login Succeeded 00:43:00 docker.io 00:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:00 Configure a credential helper to remove this warning. See 00:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:00 00:43:00 Login Succeeded 00:43:00 ---> docker-login.sh ends [Pipeline] } 00:43:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:43:00 + git rev-list -1 --merges bd60cf83a7180e695290ee241cd26f6080b6f634~1..bd60cf83a7180e695290ee241cd26f6080b6f634 [Pipeline] echo 00:43:00 -----------> git rev-list -1 --merges bd60cf83a7180e695290ee241cd26f6080b6f634~1..bd60cf83a7180e695290ee241cd26f6080b6f634 bd60cf83a7180e695290ee241cd26f6080b6f634 00:43:00 bd60cf83a7180e695290ee241cd26f6080b6f634 [false] [Pipeline] sh 00:43:01 + git log --format=format:%s -1 bd60cf83a7180e695290ee241cd26f6080b6f634 [Pipeline] echo 00:43:01 ========================================================= 00:43:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:43:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:01 + git log --format=format:%s -1 bd60cf83a7180e695290ee241cd26f6080b6f634 [Pipeline] echo 00:43:01 [semverPrep] GIT_COMMIT: bd60cf83a7180e695290ee241cd26f6080b6f634, Commit Message: Merge commit 'dd1354e29c7435bb79278fb9ff8e460793054574' into HEAD [Pipeline] echo 00:43:01 [semverPrep] This is not a build commit. [Pipeline] sh 00:43:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:43:01 + grep -v github /etc/ssh/ssh_known_hosts 00:43:01 + [ -e /tmp/ssh_known_hosts ] 00:43:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:43:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:43:01 + sudo tee -a /etc/ssh/ssh_known_hosts 00:43:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:02 00:43:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:02 0.1.4: Pulling from edgex-devops/py-git-semver 00:43:02 b85a868b505f: Pulling fs layer 00:43:02 e2be974225ed: Pulling fs layer 00:43:02 339a4e72a1f5: Pulling fs layer 00:43:02 988bab9f4d93: Pulling fs layer 00:43:02 1469e6f7b9e6: Pulling fs layer 00:43:02 eaf3925da568: Pulling fs layer 00:43:02 bab4dde63d76: Pulling fs layer 00:43:02 bde34c3a00c8: Pulling fs layer 00:43:02 b352a97aabf1: Pulling fs layer 00:43:02 4872d77fe225: Pulling fs layer 00:43:02 5851b861e8e6: Pulling fs layer 00:43:02 bde34c3a00c8: Waiting 00:43:02 b352a97aabf1: Waiting 00:43:02 5851b861e8e6: Waiting 00:43:02 4872d77fe225: Waiting 00:43:02 988bab9f4d93: Waiting 00:43:02 bab4dde63d76: Waiting 00:43:02 1469e6f7b9e6: Waiting 00:43:02 eaf3925da568: Waiting 00:43:02 e2be974225ed: Download complete 00:43:02 988bab9f4d93: Verifying Checksum 00:43:02 988bab9f4d93: Download complete 00:43:02 339a4e72a1f5: Verifying Checksum 00:43:02 339a4e72a1f5: Download complete 00:43:02 1469e6f7b9e6: Verifying Checksum 00:43:02 1469e6f7b9e6: Download complete 00:43:02 eaf3925da568: Verifying Checksum 00:43:02 eaf3925da568: Download complete 00:43:02 bde34c3a00c8: Verifying Checksum 00:43:02 b352a97aabf1: Verifying Checksum 00:43:02 b352a97aabf1: Download complete 00:43:03 4872d77fe225: Verifying Checksum 00:43:03 4872d77fe225: Download complete 00:43:03 5851b861e8e6: Verifying Checksum 00:43:03 5851b861e8e6: Download complete 00:43:03 b85a868b505f: Verifying Checksum 00:43:03 b85a868b505f: Download complete 00:43:03 bab4dde63d76: Verifying Checksum 00:43:03 bab4dde63d76: Download complete 00:43:04 b85a868b505f: Pull complete 00:43:04 e2be974225ed: Pull complete 00:43:04 339a4e72a1f5: Pull complete 00:43:04 988bab9f4d93: Pull complete 00:43:05 1469e6f7b9e6: Pull complete 00:43:05 eaf3925da568: Pull complete 00:43:07 bab4dde63d76: Pull complete 00:43:07 bde34c3a00c8: Pull complete 00:43:07 b352a97aabf1: Pull complete 00:43:07 4872d77fe225: Pull complete 00:43:07 5851b861e8e6: Pull complete 00:43:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:43:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:43:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:07 prd-ubuntu20.04-docker-8c-8g-5765 does not seem to be running inside a container 00:43:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:43:10 $ docker top 7c248109876ca915d68980e737fd037587d1a150fba0798a4dfe8e37b86eabe0 -eo pid,comm 00:43:10 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). 00:43:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:43:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:10 [ssh-agent] Looking for ssh-agent implementation... 00:43:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:10 $ docker exec 7c248109876ca915d68980e737fd037587d1a150fba0798a4dfe8e37b86eabe0 ssh-agent 00:43:10 SSH_AUTH_SOCK=/tmp/ssh-k1eMKRnUr4uZ/agent.32 00:43:10 SSH_AGENT_PID=38 00:43:10 Running ssh-add (command line suppressed) 00:43:10 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_540992502597911076.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_540992502597911076.key) 00:43:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:11 + git tag --points-at HEAD [Pipeline] } 00:43:11 $ docker exec --env ******** --env ******** 7c248109876ca915d68980e737fd037587d1a150fba0798a4dfe8e37b86eabe0 ssh-agent -k 00:43:11 unset SSH_AUTH_SOCK; 00:43:11 unset SSH_AGENT_PID; 00:43:11 echo Agent pid 38 killed; 00:43:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:43:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:43:11 [ssh-agent] Looking for ssh-agent implementation... 00:43:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:43:11 $ docker exec 7c248109876ca915d68980e737fd037587d1a150fba0798a4dfe8e37b86eabe0 ssh-agent 00:43:11 SSH_AUTH_SOCK=/tmp/ssh-S1XjGvfS9Uo3/agent.70 00:43:11 SSH_AGENT_PID=76 00:43:11 Running ssh-add (command line suppressed) 00:43:11 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_14539289091068782902.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_14539289091068782902.key) 00:43:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:43:11 + git semver init 00:43:12 2023-03-25 00:43:12,117 [run_init] DEBUG init version:0.0.0 force:False 00:43:12 2023-03-25 00:43:12,118 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-535/.semver 00:43:12 2023-03-25 00:43:12,119 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-535/.semver 00:43:12 2023-03-25 00:43:12,119 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-535/.semver'], cwd=/w/workspace/_app-service-configurable_PR-535, universal_newlines=False, shell=None, istream=None) 00:43:13 2023-03-25 00:43:12,939 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-535/.git/info/exclude 00:43:13 2023-03-25 00:43:12,940 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 with force:False 00:43:13 2023-03-25 00:43:12,940 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 00:43:13 2023-03-25 00:43:12,945 [execute] INFO git cat-file --batch-check 00:43:13 2023-03-25 00:43:12,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 00:43:13 2023-03-25 00:43:12,953 [execute] INFO git cat-file --batch 00:43:13 2023-03-25 00:43:12,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 00:43:13 2023-03-25 00:43:12,960 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-535/.semver/PR-535 00:43:13 0.0.0 [Pipeline] } 00:43:13 $ docker exec --env ******** --env ******** 7c248109876ca915d68980e737fd037587d1a150fba0798a4dfe8e37b86eabe0 ssh-agent -k 00:43:13 unset SSH_AUTH_SOCK; 00:43:13 unset SSH_AGENT_PID; 00:43:13 echo Agent pid 76 killed; 00:43:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:43:13 + git semver [Pipeline] } 00:43:13 $ docker stop --time=1 7c248109876ca915d68980e737fd037587d1a150fba0798a4dfe8e37b86eabe0 00:43:15 $ docker rm -f --volumes 7c248109876ca915d68980e737fd037587d1a150fba0798a4dfe8e37b86eabe0 [Pipeline] // withDockerContainer [Pipeline] sh 00:43:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:43:15 Stashed 1 file(s) [Pipeline] echo 00:43:15 [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 00:43:15 provisioning config files... 00:43:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config18414310352418574437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:16 ---> docker-login.sh 00:43:16 nexus3.edgexfoundry.org:10001 00:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:16 Configure a credential helper to remove this warning. See 00:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:16 00:43:16 Login Succeeded 00:43:16 nexus3.edgexfoundry.org:10002 00:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:16 Configure a credential helper to remove this warning. See 00:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:16 00:43:16 Login Succeeded 00:43:16 nexus3.edgexfoundry.org:10003 00:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:16 Configure a credential helper to remove this warning. See 00:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:16 00:43:16 Login Succeeded 00:43:16 nexus3.edgexfoundry.org:10004 00:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:16 Configure a credential helper to remove this warning. See 00:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:16 00:43:16 Login Succeeded 00:43:16 docker.io 00:43:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:16 Configure a credential helper to remove this warning. See 00:43:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:16 00:43:16 Login Succeeded 00:43:16 ---> docker-login.sh ends [Pipeline] } 00:43:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:43:16 ========================================================= 00:43:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:43:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:43:17 Sending build context to Docker daemon 3.239MB 00:43:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:43:17 Step 2/12 : FROM ${BASE} AS builder 00:43:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:43:17 63b65145d645: Pulling fs layer 00:43:17 a2d21d5440eb: Pulling fs layer 00:43:17 935e6c44a52c: Pulling fs layer 00:43:17 94cc34f8dd06: Pulling fs layer 00:43:17 30dea6a524f1: Pulling fs layer 00:43:17 a2aff8979fd8: Pulling fs layer 00:43:17 6808be2612f2: Pulling fs layer 00:43:17 f25807f1079a: Pulling fs layer 00:43:17 94cc34f8dd06: Waiting 00:43:17 6808be2612f2: Waiting 00:43:17 f25807f1079a: Waiting 00:43:17 a2aff8979fd8: Waiting 00:43:17 30dea6a524f1: Waiting 00:43:17 a2d21d5440eb: Download complete 00:43:17 94cc34f8dd06: Verifying Checksum 00:43:17 94cc34f8dd06: Download complete 00:43:17 30dea6a524f1: Verifying Checksum 00:43:17 30dea6a524f1: Download complete 00:43:17 63b65145d645: Download complete 00:43:17 a2aff8979fd8: Verifying Checksum 00:43:17 a2aff8979fd8: Download complete 00:43:17 63b65145d645: Pull complete 00:43:17 a2d21d5440eb: Pull complete 00:43:17 f25807f1079a: Download complete 00:43:17 935e6c44a52c: Verifying Checksum 00:43:17 935e6c44a52c: Download complete 00:43:18 6808be2612f2: Verifying Checksum 00:43:18 6808be2612f2: Download complete 00:43:21 935e6c44a52c: Pull complete 00:43:21 94cc34f8dd06: Pull complete 00:43:21 30dea6a524f1: Pull complete 00:43:21 a2aff8979fd8: Pull complete 00:43:25 6808be2612f2: Pull complete 00:43:25 f25807f1079a: Pull complete 00:43:25 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 00:43:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:43:25 ---> 3b553350e43f 00:43:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:43:30 Still waiting to schedule task 00:43:30 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5753’ is offline 00:43:31 ---> Running in cb168dd186ef 00:43:31 Removing intermediate container cb168dd186ef 00:43:31 ---> 57bcd4d6428e 00:43:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:43:31 ---> Running in 31e7f590e02e 00:43:31 Removing intermediate container 31e7f590e02e 00:43:31 ---> d6999b66edd2 00:43:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:43:31 ---> Running in ff7114ef81ad 00:43:31 Removing intermediate container ff7114ef81ad 00:43:31 ---> 7a2b8059e6a9 00:43:31 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:31 ---> Running in 3ffa40a6e019 00:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:43:32 OK: 265 MiB in 53 packages 00:43:32 Removing intermediate container 3ffa40a6e019 00:43:32 ---> ae025e9c5b74 00:43:32 Step 7/12 : WORKDIR /app 00:43:32 ---> Running in 2f02ccf7fb3d 00:43:32 Removing intermediate container 2f02ccf7fb3d 00:43:32 ---> a93a8c7d219e 00:43:32 Step 8/12 : COPY go.mod vendor* ./ 00:43:32 ---> 3bc7f78c783a 00:43:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:32 ---> Running in b683873e4bf9 00:44:30 Removing intermediate container b683873e4bf9 00:44:30 ---> 0b386e00f99d 00:44:30 Step 10/12 : COPY . . 00:44:30 ---> fd9708172673 00:44:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:44:30 ---> Running in 2585c83c3a36 00:44:30 Removing intermediate container 2585c83c3a36 00:44:30 ---> 378d00845219 00:44:30 Step 12/12 : RUN $MAKE 00:44:30 ---> Running in ce47e1ac2310 00:44:51 Cannot contact prd-ubuntu20.04-docker-8c-8g-5765: java.lang.InterruptedException 00:45:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5766 in /w/workspace/_app-service-configurable_PR-535 [Pipeline] { [Pipeline] ws 00:45:04 Running in /w/workspace/app-service-configurable/10 [Pipeline] { [Pipeline] checkout 00:45:04 Selected Git installation does not exist. Using Default 00:45:04 The recommended git tool is: NONE 00:45:09 using credential edgex-jenkins-ssh 00:45:09 Cloning the remote Git repository 00:45:09 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:45:09 > git init /w/workspace/app-service-configurable/10 # timeout=10 00:45:09 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:45:09 > git --version # timeout=10 00:45:09 > git --version # 'git version 2.25.1' 00:45:09 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:45:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:45:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:45:11 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:45:12 Merging remotes/origin/main commit dd1354e29c7435bb79278fb9ff8e460793054574 into PR head commit 8293920925f4f079b61c282a3a61d6ca55e2fbfb 00:45:12 Merge succeeded, producing d6130458692c7342a0b914e865cf1e41a2b5e0cd 00:45:12 Checking out Revision d6130458692c7342a0b914e865cf1e41a2b5e0cd (PR-535) 00:45:12 > git config core.sparsecheckout # timeout=10 00:45:12 > git checkout -f 8293920925f4f079b61c282a3a61d6ca55e2fbfb # timeout=10 00:45:12 > git remote # timeout=10 00:45:12 > git config --get remote.origin.url # timeout=10 00:45:12 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:12 > git merge dd1354e29c7435bb79278fb9ff8e460793054574 # timeout=10 00:45:12 > git rev-parse HEAD^{commit} # timeout=10 00:45:12 > git config core.sparsecheckout # timeout=10 00:45:12 > git checkout -f d6130458692c7342a0b914e865cf1e41a2b5e0cd # timeout=10 00:45:14 noop 00:45:14 Removing intermediate container ce47e1ac2310 00:45:14 ---> 635df782d97a 00:45:14 Successfully built 635df782d97a 00:45:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:15 + docker inspect -f . ci-base-image-x86_64 00:45:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:15 prd-ubuntu20.04-docker-8c-8g-5765 does not seem to be running inside a container 00:45:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:45:15 $ docker top eb695df631d67fd8b9fb6a10ae2a392785c4877d50feb32c858c2b3f436ab6cb -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:15 + go version 00:45:15 go version go1.20.2 linux/amd64 [Pipeline] } 00:45:15 $ docker stop --time=1 eb695df631d67fd8b9fb6a10ae2a392785c4877d50feb32c858c2b3f436ab6cb 00:45:16 Commit message: "Merge commit 'dd1354e29c7435bb79278fb9ff8e460793054574' into HEAD" 00:45:16 First time build. Skipping changelog. 00:45:17 $ docker rm -f --volumes eb695df631d67fd8b9fb6a10ae2a392785c4877d50feb32c858c2b3f436ab6cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:17 + docker inspect -f . ci-base-image-x86_64 00:45:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:17 prd-ubuntu20.04-docker-8c-8g-5765 does not seem to be running inside a container 00:45:17 $ 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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:45:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:45:17 % Total % Received % Xferd Average Speed Time Time Time Current 00:45:17 Dload Upload Total Spent Left Speed 00:45:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 00:45:16 > git rev-list --no-walk 0c0d0822d14fb27291cd4c76c5d8801ef21ec8d9 # timeout=10 00:45:18 $ docker top 7f068dca070a63ff34230368ffa6aa2806f8023d9102c5f742e1dd1fd8b2139e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 00:45:18 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-535 [Pipeline] fileExists [Pipeline] sh 00:45:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:45:18 + make test 00:45:18 go test -race -coverprofile=coverage.out ./... 00:45:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:45:18 + sudo tee /etc/docker/daemon.new 00:45:18 { 00:45:18 "registry-mirrors": [ 00:45:18 "https://nexus3.edgexfoundry.org:10001" 00:45:18 ], 00:45:18 "bip": "10.250.0.254/24", 00:45:18 "hosts": [ 00:45:18 "tcp://0.0.0.0:5555", 00:45:18 "unix:///var/run/docker.sock" 00:45:18 ], 00:45:18 "mtu": 1458, 00:45:18 "selinux-enabled": true, 00:45:18 "seccomp-profile": "/etc/docker/seccomp.json" 00:45:18 } [Pipeline] sh 00:45:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:45:19 + sudo service docker restart 00:45:36 ? github.com/edgexfoundry/app-service-configurable [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:37 provisioning config files... 00:45:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/10@tmp/config16501880338770344016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:38 ---> docker-login.sh 00:45:38 nexus3.edgexfoundry.org:10001 00:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:38 Configure a credential helper to remove this warning. See 00:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:38 00:45:38 Login Succeeded 00:45:38 nexus3.edgexfoundry.org:10002 00:45:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:38 Configure a credential helper to remove this warning. See 00:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:38 00:45:38 Login Succeeded 00:45:38 nexus3.edgexfoundry.org:10003 00:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:39 Configure a credential helper to remove this warning. See 00:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:39 00:45:39 Login Succeeded 00:45:39 nexus3.edgexfoundry.org:10004 00:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:39 Configure a credential helper to remove this warning. See 00:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:39 00:45:39 Login Succeeded 00:45:39 docker.io 00:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:40 Configure a credential helper to remove this warning. See 00:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:40 00:45:40 Login Succeeded 00:45:40 ---> docker-login.sh ends [Pipeline] } 00:45:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:45:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:40 ========================================================= 00:45:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:45:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:45:40 Sending build context to Docker daemon 170kB 00:45:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:45:41 Step 2/12 : FROM ${BASE} AS builder 00:45:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:45:41 af6eaf76a39c: Pulling fs layer 00:45:41 55522c791124: Pulling fs layer 00:45:41 ce5c4a1c91eb: Pulling fs layer 00:45:41 169dfbe0d373: Pulling fs layer 00:45:41 e1ff8fa3b103: Pulling fs layer 00:45:41 52ebb69f0ebf: Pulling fs layer 00:45:41 5abe8eddf0d5: Pulling fs layer 00:45:41 e1ff8fa3b103: Waiting 00:45:41 52ebb69f0ebf: Waiting 00:45:41 5abe8eddf0d5: Waiting 00:45:41 169dfbe0d373: Waiting 00:45:41 55522c791124: Download complete 00:45:41 169dfbe0d373: Verifying Checksum 00:45:41 169dfbe0d373: Download complete 00:45:41 e1ff8fa3b103: Verifying Checksum 00:45:41 e1ff8fa3b103: Download complete 00:45:41 af6eaf76a39c: Verifying Checksum 00:45:41 af6eaf76a39c: Download complete 00:45:42 af6eaf76a39c: Pull complete 00:45:42 5abe8eddf0d5: Verifying Checksum 00:45:42 5abe8eddf0d5: Download complete 00:45:43 55522c791124: Pull complete 00:45:43 ce5c4a1c91eb: Download complete 00:45:43 52ebb69f0ebf: Verifying Checksum 00:45:43 52ebb69f0ebf: Download complete 00:45:53 ce5c4a1c91eb: Pull complete 00:45:53 169dfbe0d373: Pull complete 00:45:53 e1ff8fa3b103: Pull complete 00:45:54 go vet ./... 00:45:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:45:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:45:59 ./bin/test-attribution-txt.sh 00:45:59 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add 00:45:59 52ebb69f0ebf: Pull complete [Pipeline] echo 00:45:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:45:59 $ docker stop --time=1 7f068dca070a63ff34230368ffa6aa2806f8023d9102c5f742e1dd1fd8b2139e 00:46:00 5abe8eddf0d5: Pull complete 00:46:00 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 00:46:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:46:00 ---> 6cb57ee374ae 00:46:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:46:01 $ docker rm -f --volumes 7f068dca070a63ff34230368ffa6aa2806f8023d9102c5f742e1dd1fd8b2139e [Pipeline] // withDockerContainer [Pipeline] sh 00:46:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:46:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:46:02 ---> Running in 1d8c2341df1c 00:46:02 Removing intermediate container 1d8c2341df1c 00:46:02 ---> f565f29f238b 00:46:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:46:02 ---> Running in 18e73f1a504d 00:46:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:46:03 Removing intermediate container 18e73f1a504d 00:46:03 ---> 02d1291af2fe 00:46:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:46:03 ---> Running in e2fa3295924a 00:46:03 + ls -al . 00:46:03 total 176 00:46:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 00:45 . 00:46:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 00:42 .. 00:46:03 -rw-rw-r-- 1 jenkins jenkins 119 Mar 25 00:42 .dockerignore 00:46:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 00:43 .git 00:46:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 00:42 .github 00:46:03 -rw-rw-r-- 1 jenkins jenkins 171 Mar 25 00:42 .gitignore 00:46:03 -rw-rw-r-- 1 jenkins jenkins 41 Mar 25 00:42 .golangci.yml 00:46:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 25 00:43 .semver 00:46:03 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 25 00:42 Attribution.txt 00:46:03 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 25 00:42 CHANGELOG.md 00:46:03 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 25 00:42 Dockerfile 00:46:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 25 00:42 GOVERNANCE.md 00:46:03 -rw-rw-r-- 1 jenkins jenkins 688 Mar 25 00:42 Jenkinsfile 00:46:03 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 25 00:42 LICENSE 00:46:03 -rw-rw-r-- 1 jenkins jenkins 618 Mar 25 00:42 OWNERS.md 00:46:03 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 25 00:42 README.md 00:46:03 -rw-rw-r-- 1 jenkins jenkins 5 Mar 25 00:43 VERSION 00:46:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 00:42 bin 00:46:03 -rw-r--r-- 1 jenkins jenkins 13 Mar 25 00:45 coverage.out 00:46:03 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 25 00:42 go.mod 00:46:03 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 25 00:42 go.sum 00:46:03 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 25 00:42 main.go 00:46:03 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 25 00:42 makefile 00:46:03 drwxrwxr-x 9 jenkins jenkins 4096 Mar 25 00:42 res 00:46:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 00:42 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:03 + 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=bd60cf83a7180e695290ee241cd26f6080b6f634 --label arch=amd64 --label version=0.0.0 . 00:46:03 Sending build context to Docker daemon 3.24MB 00:46:03 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:46:03 Step 2/26 : FROM ${BASE} AS builder 00:46:03 ---> 635df782d97a 00:46:03 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:46:03 ---> Running in c7f6ea228c6b 00:46:03 Removing intermediate container c7f6ea228c6b 00:46:03 ---> d489d08f8bb6 00:46:03 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:46:03 ---> Running in 0945717c8f72 00:46:03 Removing intermediate container 0945717c8f72 00:46:03 ---> bced0bfb6ab2 00:46:03 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:46:03 ---> Running in ddb9efdeb77f 00:46:04 Removing intermediate container ddb9efdeb77f 00:46:04 ---> 378cd28c7ce3 00:46:04 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:04 ---> Running in ef925ffa669b 00:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:46:04 OK: 265 MiB in 53 packages 00:46:05 Removing intermediate container ef925ffa669b 00:46:05 ---> e31471f579df 00:46:05 Step 7/26 : WORKDIR /app 00:46:05 ---> Running in e5def20acfd1 00:46:05 Removing intermediate container e5def20acfd1 00:46:05 ---> edaed2dfc4ec 00:46:05 Step 8/26 : COPY go.mod vendor* ./ 00:46:05 ---> a3f867173836 00:46:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:05 ---> Running in 8bef6c59bd87 00:46:06 Removing intermediate container 8bef6c59bd87 00:46:06 ---> d3c396e9e641 00:46:06 Step 10/26 : COPY . . 00:46:06 Removing intermediate container e2fa3295924a 00:46:06 ---> 19a67489e342 00:46:06 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:06 ---> Running in a619cbfe26c1 00:46:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:46:07 ---> ac9becd8ce05 00:46:07 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:46:07 ---> Running in 6639fea3c77f 00:46:07 Removing intermediate container 6639fea3c77f 00:46:07 ---> 3d0831ebd027 00:46:07 Step 12/26 : RUN $MAKE 00:46:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:46:07 ---> Running in 624f987e3789 00:46:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 00:46:08 OK: 263 MiB in 53 packages 00:46:09 Removing intermediate container a619cbfe26c1 00:46:09 ---> c511076bcb72 00:46:09 Step 7/12 : WORKDIR /app 00:46:09 ---> Running in 73c1878e98dc 00:46:09 Removing intermediate container 73c1878e98dc 00:46:09 ---> 3dba04aae05a 00:46:09 Step 8/12 : COPY go.mod vendor* ./ 00:46:09 ---> e6981f182c4c 00:46:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:10 ---> Running in 35aac290c592 00:46:29 Removing intermediate container 624f987e3789 00:46:29 ---> 0ca80d9a81ee 00:46:29 Step 13/26 : FROM alpine:3.17 00:46:29 3.17: Pulling from library/alpine 00:46:29 63b65145d645: Already exists 00:46:29 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:46:29 Status: Downloaded newer image for alpine:3.17 00:46:29 ---> b2aa39c304c2 00:46:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:46:29 ---> Running in ee9b46a184f1 00:46:29 Removing intermediate container ee9b46a184f1 00:46:29 ---> 4fcd26cab902 00:46:29 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:46:29 ---> Running in 48c00cb94507 00:46:29 Removing intermediate container 48c00cb94507 00:46:29 ---> 71e30167a1d3 00:46:29 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:46:29 ---> Running in 36b62d03c30a 00:46:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:46:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:46:30 (1/2) Installing ca-certificates (20220614-r4) 00:46:30 (2/2) Installing dumb-init (1.2.5-r2) 00:46:30 Executing busybox-1.35.0-r29.trigger 00:46:30 Executing ca-certificates-20220614-r4.trigger 00:46:30 OK: 8 MiB in 17 packages 00:46:30 Removing intermediate container 36b62d03c30a 00:46:30 ---> 3967e28bd389 00:46:30 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:46:30 ---> 9520120f193d 00:46:30 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:46:30 ---> e0607b3067a2 00:46:30 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:46:30 ---> d8b0c888b76f 00:46:30 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:46:31 ---> 150b6fa62248 00:46:31 Step 21/26 : EXPOSE 48095 00:46:31 ---> Running in 64efa98ea21c 00:46:31 Removing intermediate container 64efa98ea21c 00:46:31 ---> 758048559e60 00:46:31 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:46:31 ---> Running in 02e43bca81bb 00:46:31 Removing intermediate container 02e43bca81bb 00:46:31 ---> f1572bc36abd 00:46:31 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:46:31 ---> Running in f415a1ef8674 00:46:31 Removing intermediate container f415a1ef8674 00:46:31 ---> 3d240e8c9ac1 00:46:31 Step 24/26 : LABEL arch=amd64 00:46:31 ---> Running in 0bb5b926347d 00:46:31 Removing intermediate container 0bb5b926347d 00:46:31 ---> e210e5e33780 00:46:31 Step 25/26 : LABEL git_sha=bd60cf83a7180e695290ee241cd26f6080b6f634 00:46:31 ---> Running in 1217c2f67436 00:46:32 Removing intermediate container 1217c2f67436 00:46:32 ---> 4e66c2ed579a 00:46:32 Step 26/26 : LABEL version=0.0.0 00:46:32 ---> Running in fc96e23ff6ba 00:46:32 Removing intermediate container fc96e23ff6ba 00:46:32 ---> ae18966b544d 00:46:32 [Warning] One or more build-args [ARCH] were not consumed 00:46:32 Successfully built ae18966b544d 00:46:32 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:46:32 00:46:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:46:32 latest: Pulling from edgex-lftools-log-publisher 00:46:32 5eb5b503b376: Pulling fs layer 00:46:32 5c69ac0246d0: Pulling fs layer 00:46:32 ec43610c2a17: Pulling fs layer 00:46:32 3a2ae6a8a46f: Pulling fs layer 00:46:32 33b1e0a273af: Pulling fs layer 00:46:32 5d3b04190fa2: Pulling fs layer 00:46:32 2f39f015ded8: Pulling fs layer 00:46:32 33b1e0a273af: Waiting 00:46:32 3a2ae6a8a46f: Waiting 00:46:32 5d3b04190fa2: Waiting 00:46:32 2f39f015ded8: Waiting 00:46:32 5c69ac0246d0: Verifying Checksum 00:46:32 5c69ac0246d0: Download complete 00:46:32 3a2ae6a8a46f: Verifying Checksum 00:46:32 3a2ae6a8a46f: Download complete 00:46:33 33b1e0a273af: Verifying Checksum 00:46:33 33b1e0a273af: Download complete 00:46:33 5d3b04190fa2: Download complete 00:46:33 ec43610c2a17: Download complete 00:46:33 5eb5b503b376: Verifying Checksum 00:46:33 5eb5b503b376: Download complete 00:46:33 2f39f015ded8: Download complete 00:46:34 5eb5b503b376: Pull complete 00:46:34 5c69ac0246d0: Pull complete 00:46:34 ec43610c2a17: Pull complete 00:46:34 3a2ae6a8a46f: Pull complete 00:46:34 33b1e0a273af: Pull complete 00:46:35 5d3b04190fa2: Pull complete 00:46:39 2f39f015ded8: Pull complete 00:46:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:46:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:46:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:39 prd-ubuntu20.04-docker-8c-8g-5765 does not seem to be running inside a container 00:46:39 $ 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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:46:42 $ docker top 26a3686a47c3ad3254b8e2cdf47c08af2e732778a2c4bc7e82e9d2da11596953 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:42 ---> job-cost.sh 00:46:42 lf-activate-venv: SKIPPING 00:46:42 INFO: No Stack... 00:46:42 INFO: Retrieving Pricing Info for: v3-standard-8 00:46:43 INFO: Archiving Costs [Pipeline] sh 00:46:43 + cat /w/workspace/_app-service-configurable_PR-535/archives/cost.csv 00:46:43 + cut -d, -f6 [Pipeline] lock 00:46:43 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-10-stack-cost] 00:46:43 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-10-stack-cost] did not exist. Created. 00:46:43 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:46:43 + echo total: 0.2199999988079071 [Pipeline] stash 00:46:43 Stashed 1 file(s) [Pipeline] } 00:46:43 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-10-stack-cost] [Pipeline] // lock [Pipeline] } 00:46:43 $ docker stop --time=1 26a3686a47c3ad3254b8e2cdf47c08af2e732778a2c4bc7e82e9d2da11596953 00:46:44 $ docker rm -f --volumes 26a3686a47c3ad3254b8e2cdf47c08af2e732778a2c4bc7e82e9d2da11596953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:47:06 Removing intermediate container 35aac290c592 00:47:06 ---> aedfbc5b5f11 00:47:06 Step 10/12 : COPY . . 00:47:06 ---> ecb87553e114 00:47:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:47:06 ---> Running in 38136d337577 00:47:06 Removing intermediate container 38136d337577 00:47:06 ---> 665d81e3a902 00:47:06 Step 12/12 : RUN $MAKE 00:47:06 ---> Running in 2dc7f993d688 00:47:07 noop 00:47:08 Removing intermediate container 2dc7f993d688 00:47:08 ---> 2cca607e83f5 00:47:08 Successfully built 2cca607e83f5 00:47:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:08 + docker inspect -f . ci-base-image-arm64 00:47:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:08 prd-ubuntu20.04-docker-arm64-4c-16g-5766 does not seem to be running inside a container 00:47:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/10 -v /w/workspace/app-service-configurable/10:/w/workspace/app-service-configurable/10:rw,z -v /w/workspace/app-service-configurable/10@tmp:/w/workspace/app-service-configurable/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:10 $ docker top 1953e9a8a0b35c15ebbd126044dda18201c1d7515f8d13316fb4077489660062 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:10 + go version 00:47:10 go version go1.20.2 linux/arm64 [Pipeline] } 00:47:10 $ docker stop --time=1 1953e9a8a0b35c15ebbd126044dda18201c1d7515f8d13316fb4077489660062 00:47:13 $ docker rm -f --volumes 1953e9a8a0b35c15ebbd126044dda18201c1d7515f8d13316fb4077489660062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:14 + docker inspect -f . ci-base-image-arm64 00:47:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:14 prd-ubuntu20.04-docker-arm64-4c-16g-5766 does not seem to be running inside a container 00:47:14 $ 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/10 -v /w/workspace/app-service-configurable/10:/w/workspace/app-service-configurable/10:rw,z -v /w/workspace/app-service-configurable/10@tmp:/w/workspace/app-service-configurable/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:15 $ docker top 570f5ac38ac43d8cdcc2fa3a89326abc1ccb7aee4d56260593dcbd43cc32ffed -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:15 + git config --global --add safe.directory /w/workspace/app-service-configurable/10 [Pipeline] fileExists [Pipeline] sh 00:47:16 + make test 00:47:16 go test -race -coverprofile=coverage.out ./... 00:49:37 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:49:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:49:37 go vet ./... 00:51:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:51:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:51:59 ./bin/test-attribution-txt.sh 00:51:59 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 00:51:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:51:59 $ docker stop --time=1 570f5ac38ac43d8cdcc2fa3a89326abc1ccb7aee4d56260593dcbd43cc32ffed 00:52:01 $ docker rm -f --volumes 570f5ac38ac43d8cdcc2fa3a89326abc1ccb7aee4d56260593dcbd43cc32ffed [Pipeline] // withDockerContainer [Pipeline] sh 00:52:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:52:02 Warning: overwriting stash ‘coverage-report’ 00:52:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:52:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:52:04 + ls -al . 00:52:04 total 172 00:52:04 drwxrwxr-x 7 jenkins jenkins 4096 Mar 25 00:47 . 00:52:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 00:45 .. 00:52:04 -rw-rw-r-- 1 jenkins jenkins 119 Mar 25 00:45 .dockerignore 00:52:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 00:45 .git 00:52:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 00:45 .github 00:52:04 -rw-rw-r-- 1 jenkins jenkins 171 Mar 25 00:45 .gitignore 00:52:04 -rw-rw-r-- 1 jenkins jenkins 41 Mar 25 00:45 .golangci.yml 00:52:04 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 25 00:45 Attribution.txt 00:52:04 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 25 00:45 CHANGELOG.md 00:52:04 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 25 00:45 Dockerfile 00:52:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 25 00:45 GOVERNANCE.md 00:52:04 -rw-rw-r-- 1 jenkins jenkins 688 Mar 25 00:45 Jenkinsfile 00:52:04 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 25 00:45 LICENSE 00:52:04 -rw-rw-r-- 1 jenkins jenkins 618 Mar 25 00:45 OWNERS.md 00:52:04 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 25 00:45 README.md 00:52:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 25 00:43 VERSION 00:52:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 00:45 bin 00:52:04 -rw-r--r-- 1 jenkins jenkins 13 Mar 25 00:47 coverage.out 00:52:04 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 25 00:45 go.mod 00:52:04 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 25 00:45 go.sum 00:52:04 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 25 00:45 main.go 00:52:04 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 25 00:45 makefile 00:52:04 drwxrwxr-x 9 jenkins jenkins 4096 Mar 25 00:45 res 00:52:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 00:45 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:04 + 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=d6130458692c7342a0b914e865cf1e41a2b5e0cd --label arch=arm64 --label version=0.0.0 . 00:52:04 Sending build context to Docker daemon 171kB 00:52:04 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:52:04 Step 2/26 : FROM ${BASE} AS builder 00:52:04 ---> 2cca607e83f5 00:52:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:52:04 ---> Running in de54335a2f46 00:52:04 Removing intermediate container de54335a2f46 00:52:04 ---> 3ec3bab7826b 00:52:04 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:52:05 ---> Running in f321964ccf47 00:52:05 Removing intermediate container f321964ccf47 00:52:05 ---> e7ccc22b68f2 00:52:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:52:05 ---> Running in e19512a0808d 00:52:05 Removing intermediate container e19512a0808d 00:52:05 ---> 986a472382ac 00:52:05 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:52:06 ---> Running in 8320338d1b31 00:52:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:52:08 OK: 263 MiB in 53 packages 00:52:09 Removing intermediate container 8320338d1b31 00:52:09 ---> d2321cb1e34b 00:52:09 Step 7/26 : WORKDIR /app 00:52:09 ---> Running in 34be076c2837 00:52:10 Removing intermediate container 34be076c2837 00:52:10 ---> 7c31782786ed 00:52:10 Step 8/26 : COPY go.mod vendor* ./ 00:52:10 ---> 82304254fbff 00:52:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:52:10 ---> Running in 61763b59b9ec 00:52:13 Removing intermediate container 61763b59b9ec 00:52:13 ---> 0dc06f046a4c 00:52:13 Step 10/26 : COPY . . 00:52:13 ---> 2adacd5b76e8 00:52:13 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:52:13 ---> Running in c4c88e09fd8f 00:52:14 Removing intermediate container c4c88e09fd8f 00:52:14 ---> 9cba2a99db44 00:52:14 Step 12/26 : RUN $MAKE 00:52:14 ---> Running in 76305321c06b 00:52:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 00:54:21 Removing intermediate container 76305321c06b 00:54:21 ---> d82167771faa 00:54:21 Step 13/26 : FROM alpine:3.17 00:54:21 3.17: Pulling from library/alpine 00:54:21 af6eaf76a39c: Already exists 00:54:21 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:54:21 Status: Downloaded newer image for alpine:3.17 00:54:21 ---> d74e625d9115 00:54:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:54:21 ---> Running in 76e14101cb41 00:54:21 Removing intermediate container 76e14101cb41 00:54:21 ---> 7f2b5af4b733 00:54:21 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:54:21 ---> Running in 5f6fcaf84e80 00:54:21 Removing intermediate container 5f6fcaf84e80 00:54:21 ---> 261d6bbf957c 00:54:21 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:54:21 ---> Running in 109899668b88 00:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:54:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:54:21 (1/2) Installing ca-certificates (20220614-r4) 00:54:21 (2/2) Installing dumb-init (1.2.5-r2) 00:54:21 Executing busybox-1.35.0-r29.trigger 00:54:21 Executing ca-certificates-20220614-r4.trigger 00:54:21 OK: 8 MiB in 17 packages 00:54:21 Removing intermediate container 109899668b88 00:54:21 ---> 51555b2d3df6 00:54:21 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:54:21 ---> 0c7e5fb52526 00:54:21 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:54:21 ---> 75b397d92117 00:54:21 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:54:21 ---> d2022d79b5eb 00:54:21 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:54:22 ---> bc47eb765641 00:54:22 Step 21/26 : EXPOSE 48095 00:54:22 ---> Running in d6713e6c43f2 00:54:22 Removing intermediate container d6713e6c43f2 00:54:22 ---> 2c592eea6e14 00:54:22 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:54:23 ---> Running in 7d32c61c58e8 00:54:23 Removing intermediate container 7d32c61c58e8 00:54:23 ---> 66e6272f726a 00:54:23 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:54:23 ---> Running in 7c9ef8d73f1a 00:54:23 Removing intermediate container 7c9ef8d73f1a 00:54:23 ---> d119d46e7ec7 00:54:23 Step 24/26 : LABEL arch=arm64 00:54:23 ---> Running in 7ee93832261f 00:54:23 Removing intermediate container 7ee93832261f 00:54:23 ---> b5a10fe20d40 00:54:23 Step 25/26 : LABEL git_sha=d6130458692c7342a0b914e865cf1e41a2b5e0cd 00:54:23 ---> Running in 30f82ad690b2 00:54:24 Removing intermediate container 30f82ad690b2 00:54:24 ---> 8ed25e79dc78 00:54:24 Step 26/26 : LABEL version=0.0.0 00:54:24 ---> Running in 760cb9d47dc1 00:54:24 Removing intermediate container 760cb9d47dc1 00:54:24 ---> c1dac72629c5 00:54:24 [Warning] One or more build-args [ARCH] were not consumed 00:54:24 Successfully built c1dac72629c5 00:54:24 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 00:54:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:54:24 00:54:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:54:25 arm64: Pulling from edgex-lftools-log-publisher 00:54:25 8998bd30e6a1: Pulling fs layer 00:54:25 04944245beec: Pulling fs layer 00:54:25 699f458cf7ca: Pulling fs layer 00:54:25 765212b225bb: Pulling fs layer 00:54:25 f23df028b6ca: Pulling fs layer 00:54:25 d65c8cfc05b1: Pulling fs layer 00:54:25 2437ff75d9bd: Pulling fs layer 00:54:25 765212b225bb: Waiting 00:54:25 f23df028b6ca: Waiting 00:54:25 d65c8cfc05b1: Waiting 00:54:25 2437ff75d9bd: Waiting 00:54:25 04944245beec: Verifying Checksum 00:54:25 04944245beec: Download complete 00:54:25 765212b225bb: Download complete 00:54:25 f23df028b6ca: Download complete 00:54:25 d65c8cfc05b1: Verifying Checksum 00:54:25 d65c8cfc05b1: Download complete 00:54:25 699f458cf7ca: Verifying Checksum 00:54:25 699f458cf7ca: Download complete 00:54:26 8998bd30e6a1: Verifying Checksum 00:54:26 8998bd30e6a1: Download complete 00:54:28 2437ff75d9bd: Download complete 00:54:29 8998bd30e6a1: Pull complete 00:54:29 04944245beec: Pull complete 00:54:31 699f458cf7ca: Pull complete 00:54:31 765212b225bb: Pull complete 00:54:31 f23df028b6ca: Pull complete 00:54:31 d65c8cfc05b1: Pull complete 00:54:44 2437ff75d9bd: Pull complete 00:54:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:54:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:54:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:44 prd-ubuntu20.04-docker-arm64-4c-16g-5766 does not seem to be running inside a container 00:54:44 $ 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/10 -v /w/workspace/app-service-configurable/10:/w/workspace/app-service-configurable/10:rw,z -v /w/workspace/app-service-configurable/10@tmp:/w/workspace/app-service-configurable/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:54:46 $ docker top 438f5da24ca0eeae4c0b5377029911141ad41b620a562039ed5b44ace28bbdde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:47 ---> job-cost.sh 00:54:47 lf-activate-venv: SKIPPING 00:54:47 INFO: No Stack... 00:54:47 INFO: Retrieving Pricing Info for: v3-standard-4 00:54:48 INFO: Archiving Costs [Pipeline] sh 00:54:49 + cat /w/workspace/app-service-configurable/10/archives/cost.csv 00:54:49 + cut -d, -f6 [Pipeline] lock 00:54:49 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-10-stack-cost] 00:54:49 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-10-stack-cost] did not exist. Created. 00:54:49 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:54:49 /w/workspace/app-service-configurable/10@tmp/durable-d7d6b129/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:54:49 + echo total: 0.10999999940395355 [Pipeline] stash 00:54:49 Warning: overwriting stash ‘stack-cost’ 00:54:49 Stashed 1 file(s) [Pipeline] } 00:54:49 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-10-stack-cost] [Pipeline] // lock [Pipeline] } 00:54:49 $ docker stop --time=1 438f5da24ca0eeae4c0b5377029911141ad41b620a562039ed5b44ace28bbdde 00:54:51 $ docker rm -f --volumes 438f5da24ca0eeae4c0b5377029911141ad41b620a562039ed5b44ace28bbdde [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 00:54:51 provisioning config files... 00:54:51 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config5844686094717409709tmp [Pipeline] { [Pipeline] sh 00:54:51 + set +x 00:54:51 + + bash -s -- 00:54:51 curl -s https://codecov.io/bash 00:54:51 00:54:51 _____ _ 00:54:51 / ____| | | 00:54:51 | | ___ __| | ___ ___ _____ __ 00:54:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:54:51 | |___| (_) | (_| | __/ (_| (_) \ V / 00:54:51 \_____\___/ \__,_|\___|\___\___/ \_/ 00:54:51 Bash-1.0.6 00:54:51 00:54:51 00:54:51 ==> git version 2.25.1 found 00:54:51 ==> 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 00:54:51 Release-Date: 2020-01-08 00:54:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:54:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:54:51 ==> Jenkins CI detected. 00:54:51 current dir:  /w/workspace/_app-service-configurable_PR-535 00:54:51 project root: . 00:54:51 --> token set from env 00:54:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:54:51 ==> Running gcov in . (disable via -X gcov) 00:54:51 ==> Python coveragepy not found 00:54:51 ==> Searching for coverage reports in: 00:54:51 + . 00:54:51 -> Found 1 reports 00:54:51 ==> Detecting git/mercurial file structure 00:54:51 ==> Reading reports 00:54:51 + ./coverage.out bytes=13 00:54:51 ==> Appending adjustments 00:54:51 https://docs.codecov.io/docs/fixing-reports 00:54:52 + Found adjustments 00:54:52 ==> Gzipping contents 00:54:52 4.0K /tmp/codecov.ZxA8hS.gz 00:54:52 ==> Uploading reports 00:54:52 url: https://codecov.io 00:54:52 query: branch=PR-535&commit=bd60cf83a7180e695290ee241cd26f6080b6f634&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F10%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 00:54:52 -> Pinging Codecov 00:54:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-535&commit=bd60cf83a7180e695290ee241cd26f6080b6f634&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F10%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 00:54:52 -> Uploading to 00:54:52 https://storage.googleapis.com/codecov/v4/raw/2023-03-25/A97CA9966030D2A3747ED39772930CCE/bd60cf83a7180e695290ee241cd26f6080b6f634/b96dde2c-de03-4c77-a09b-84dfa6374cf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230325%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230325T005452Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb39dc65abc2aaaf9eac75b24f2ba473c563a475b87259cbdb4cb79dab99be9d 00:54:52 % Total % Received % Xferd Average Speed Time Time Time Current 00:54:52 Dload Upload Total Spent Left Speed 00:54:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1656 --:--:-- --:--:-- --:--:-- 1656 00:54:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/bd60cf83a7180e695290ee241cd26f6080b6f634 [Pipeline] } 00:54:52 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 00:54:53 + [ -d /w/workspace/_app-service-configurable_PR-535/archives ] 00:54:53 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 00:54:53 total 16 00:54:53 drwxr-xr-x 3 root root 4096 Mar 25 00:46 . 00:54:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 25 00:46 .. 00:54:53 drwxr-xr-x 2 root root 4096 Mar 25 00:46 cost 00:54:53 -rw-r--r-- 1 root root 97 Mar 25 00:46 cost.csv 00:54:53 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-535/archives 00:54:53 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 00:54:53 total 16 00:54:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 25 00:46 . 00:54:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 25 00:46 .. 00:54:53 drwxr-xr-x 2 jenkins jenkins 4096 Mar 25 00:46 cost 00:54:53 -rw-r--r-- 1 jenkins jenkins 97 Mar 25 00:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:54:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:54:54 ---> package-listing.sh 00:54:54 ++ facter osfamily 00:54:54 ++ tr '[:upper:]' '[:lower:]' 00:54:54 + OS_FAMILY=debian 00:54:54 + workspace=/w/workspace/_app-service-configurable_PR-535 00:54:54 + START_PACKAGES=/tmp/packages_start.txt 00:54:54 + END_PACKAGES=/tmp/packages_end.txt 00:54:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:54:54 + PACKAGES=/tmp/packages_start.txt 00:54:54 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 00:54:54 + PACKAGES=/tmp/packages_end.txt 00:54:54 + case "${OS_FAMILY}" in 00:54:54 + dpkg -l 00:54:54 + grep '^ii' 00:54:54 + '[' -f /tmp/packages_start.txt ']' 00:54:54 + '[' -f /tmp/packages_end.txt ']' 00:54:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:54:54 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 00:54:54 + mkdir -p /w/workspace/_app-service-configurable_PR-535/archives/ 00:54:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-535/archives/ [Pipeline] echo 00:54:54 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-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:54:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:54:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:55 prd-ubuntu20.04-docker-8c-8g-5765 does not seem to be running inside a container 00:54:55 $ 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-535/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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:54:55 $ docker top bee5281aa0b310851a9672e60a81ab185ced05b28c0e536735c6a36e65908794 -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:56 + touch /tmp/pre-build-complete [Pipeline] sh 00:54:56 + mkdir -p /var/log/sysstat [Pipeline] sh 00:54:56 + ls /var/log/sa-host 00:54:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:56 provisioning config files... 00:54:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config14242522487534707846tmp [Pipeline] { [Pipeline] echo 00:54:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:54:57 ---> create-netrc.sh [Pipeline] } 00:54:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:54:57 ---> python-tools-install.sh [Pipeline] echo 00:54:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:54:57 ---> sudo-logs.sh 00:54:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:54:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:54:58 ---> job-cost.sh 00:54:58 lf-activate-venv: SKIPPING 00:54:58 DEBUG: total: 0.2199999988079071 00:54:58 INFO: Retrieving Stack Cost... 00:54:58 INFO: Retrieving Pricing Info for: v3-standard-8 00:54:58 INFO: Archiving Costs [Pipeline] echo 00:54:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:54:59 ---> logs-deploy.sh 00:54:59 lf-activate-venv: SKIPPING 00:54:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-535/10 00:54:59 INFO: archiving workspace using pattern(s): 00:55:00 Archives upload complete. 00:55:00 INFO: archiving logs to Nexus