Pull request #669 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 dovholuknf for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 53688a1f891e61c3e2e535eb2e9ac0a8ccbceae2 rather than 6e0796e1314a995876dc0eaf1d55257a6c7a280c Obtained Jenkinsfile from 53688a1f891e61c3e2e535eb2e9ac0a8ccbceae2 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-ssh10902677522833695237.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh13343340037082788353.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 590556114a56c6d90cc8043840e039c2f74196dc 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-669/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-669/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13437103489122717747.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh3421002476057092120.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-669/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-669/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh597481666610469847.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6685 in /w/workspace/_app-service-configurable_PR-669 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-669 # 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/669/head:refs/remotes/origin/PR-669 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 53688a1f891e61c3e2e535eb2e9ac0a8ccbceae2 into PR head commit 6e0796e1314a995876dc0eaf1d55257a6c7a280c Merge succeeded, producing 6e0796e1314a995876dc0eaf1d55257a6c7a280c Checking out Revision 6e0796e1314a995876dc0eaf1d55257a6c7a280c (PR-669) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e0796e1314a995876dc0eaf1d55257a6c7a280c # 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 53688a1f891e61c3e2e535eb2e9ac0a8ccbceae2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e0796e1314a995876dc0eaf1d55257a6c7a280c # timeout=10 Commit message: "fix: re-ran go mod tidy. i was sure i had but maybe not" > git rev-list --no-walk be6923d669411e53fcd5c356ddb3511fa1fa58d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:17:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:17:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:17:06 ========================================================= 16:17:06 EdgeX Global Pipelines Version Info 16:17:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:17:07 ------------------- 16:17:07 stable info: 16:17:07 ------------------- 16:17:07 Commited By: Ginny Guan ginny@iotechsys.com 16:17:07 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 16:17:07 Message: update stable to v1.0.260 16:17:07 ------------------- 16:17:07 experimental info: 16:17:07 ------------------- 16:17:07 Commited By: Ginny Guan ginny@iotechsys.com 16:17:07 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 16:17:07 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:17:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-669 [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-669 [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-669 [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e0796e1314a995876dc0eaf1d55257a6c7a280c [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e0796e [Pipeline] echo 16:17:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:17:08 provisioning config files... 16:17:08 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-669@tmp/config3324654146408068212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:09 ---> ****-login.sh 16:17:09 nexus3.edgexfoundry.org:10001 16:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:09 Configure a credential helper to remove this warning. See 16:17:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:09 16:17:09 Login Succeeded 16:17:09 nexus3.edgexfoundry.org:10002 16:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:09 Configure a credential helper to remove this warning. See 16:17:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:09 16:17:09 Login Succeeded 16:17:09 nexus3.edgexfoundry.org:10003 16:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:09 Configure a credential helper to remove this warning. See 16:17:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:09 16:17:09 Login Succeeded 16:17:09 nexus3.edgexfoundry.org:10004 16:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:09 Configure a credential helper to remove this warning. See 16:17:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:09 16:17:09 Login Succeeded 16:17:09 ****.io 16:17:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:09 Configure a credential helper to remove this warning. See 16:17:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:09 16:17:09 Login Succeeded 16:17:10 ---> ****-login.sh ends [Pipeline] } 16:17:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:17:10 + git rev-list -1 --merges 6e0796e1314a995876dc0eaf1d55257a6c7a280c~1..6e0796e1314a995876dc0eaf1d55257a6c7a280c [Pipeline] echo 16:17:10 -----------> git rev-list -1 --merges 6e0796e1314a995876dc0eaf1d55257a6c7a280c~1..6e0796e1314a995876dc0eaf1d55257a6c7a280c 6e0796e1314a995876dc0eaf1d55257a6c7a280c [false] [Pipeline] sh 16:17:10 + git log --format=format:%s -1 6e0796e1314a995876dc0eaf1d55257a6c7a280c [Pipeline] echo 16:17:11 ========================================================= 16:17:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:17:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:17:11 + git log --format=format:%s -1 6e0796e1314a995876dc0eaf1d55257a6c7a280c [Pipeline] echo 16:17:11 [semverPrep] GIT_COMMIT: 6e0796e1314a995876dc0eaf1d55257a6c7a280c, Commit Message: fix: re-ran go mod tidy. i was sure i had but maybe not [Pipeline] echo 16:17:11 [semverPrep] This is not a build commit. [Pipeline] sh 16:17:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:17:11 + grep -v github /etc/ssh/ssh_known_hosts 16:17:11 + [ -e /tmp/ssh_known_hosts ] 16:17:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:17:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:17:11 + sudo tee -a /etc/ssh/ssh_known_hosts 16:17:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:17:12 16:17:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:17:12 0.1.4: Pulling from edgex-devops/py-git-semver 16:17:12 b85a868b505f: Pulling fs layer 16:17:12 e2be974225ed: Pulling fs layer 16:17:12 339a4e72a1f5: Pulling fs layer 16:17:12 988bab9f4d93: Pulling fs layer 16:17:12 1469e6f7b9e6: Pulling fs layer 16:17:12 eaf3925da568: Pulling fs layer 16:17:12 bab4dde63d76: Pulling fs layer 16:17:12 bde34c3a00c8: Pulling fs layer 16:17:12 b352a97aabf1: Pulling fs layer 16:17:12 4872d77fe225: Pulling fs layer 16:17:12 5851b861e8e6: Pulling fs layer 16:17:12 988bab9f4d93: Waiting 16:17:12 bab4dde63d76: Waiting 16:17:12 1469e6f7b9e6: Waiting 16:17:12 bde34c3a00c8: Waiting 16:17:12 b352a97aabf1: Waiting 16:17:12 4872d77fe225: Waiting 16:17:12 eaf3925da568: Waiting 16:17:12 5851b861e8e6: Waiting 16:17:12 e2be974225ed: Verifying Checksum 16:17:12 e2be974225ed: Download complete 16:17:12 988bab9f4d93: Download complete 16:17:12 1469e6f7b9e6: Verifying Checksum 16:17:12 1469e6f7b9e6: Download complete 16:17:12 eaf3925da568: Verifying Checksum 16:17:12 eaf3925da568: Download complete 16:17:12 339a4e72a1f5: Verifying Checksum 16:17:12 339a4e72a1f5: Download complete 16:17:12 bde34c3a00c8: Download complete 16:17:12 b352a97aabf1: Verifying Checksum 16:17:12 b352a97aabf1: Download complete 16:17:12 4872d77fe225: Download complete 16:17:12 5851b861e8e6: Download complete 16:17:12 b85a868b505f: Verifying Checksum 16:17:13 bab4dde63d76: Verifying Checksum 16:17:13 bab4dde63d76: Download complete 16:17:14 b85a868b505f: Pull complete 16:17:14 e2be974225ed: Pull complete 16:17:14 339a4e72a1f5: Pull complete 16:17:14 988bab9f4d93: Pull complete 16:17:14 1469e6f7b9e6: Pull complete 16:17:14 eaf3925da568: Pull complete 16:17:16 bab4dde63d76: Pull complete 16:17:16 bde34c3a00c8: Pull complete 16:17:16 b352a97aabf1: Pull complete 16:17:16 4872d77fe225: Pull complete 16:17:16 5851b861e8e6: Pull complete 16:17:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:17:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:17:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:17 prd-ubuntu20.04-docker-8c-8g-6685 does not seem to be running inside a container 16:17:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-669 -v /w/workspace/_app-service-configurable_PR-669:/w/workspace/_app-service-configurable_PR-669:rw,z -v /w/workspace/_app-service-configurable_PR-669@tmp:/w/workspace/_app-service-configurable_PR-669@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:17:21 $ docker top 01f4bd67009bb8b198d06189cc8cccc6baecb01973e401d518f775568dd07f57 -eo pid,comm 16:17:21 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). 16:17:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:17:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:21 [ssh-agent] Looking for ssh-agent implementation... 16:17:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:22 $ docker exec 01f4bd67009bb8b198d06189cc8cccc6baecb01973e401d518f775568dd07f57 ssh-agent 16:17:22 SSH_AUTH_SOCK=/tmp/ssh-0AUomN3g84dZ/agent.32 16:17:22 SSH_AGENT_PID=38 16:17:22 Running ssh-add (command line suppressed) 16:17:22 Identity added: /w/workspace/_app-service-configurable_PR-669@tmp/private_key_8211025953910925440.key (/w/workspace/_app-service-configurable_PR-669@tmp/private_key_8211025953910925440.key) 16:17:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:22 + git tag --points-at HEAD [Pipeline] } 16:17:22 $ docker exec --env ******** --env ******** 01f4bd67009bb8b198d06189cc8cccc6baecb01973e401d518f775568dd07f57 ssh-agent -k 16:17:22 unset SSH_AUTH_SOCK; 16:17:22 unset SSH_AGENT_PID; 16:17:22 echo Agent pid 38 killed; 16:17:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:17:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:17:22 [ssh-agent] Looking for ssh-agent implementation... 16:17:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:17:22 $ docker exec 01f4bd67009bb8b198d06189cc8cccc6baecb01973e401d518f775568dd07f57 ssh-agent 16:17:22 SSH_AUTH_SOCK=/tmp/ssh-Mo1MGqAOpsIN/agent.71 16:17:22 SSH_AGENT_PID=77 16:17:22 Running ssh-add (command line suppressed) 16:17:23 Identity added: /w/workspace/_app-service-configurable_PR-669@tmp/private_key_15391929298248674727.key (/w/workspace/_app-service-configurable_PR-669@tmp/private_key_15391929298248674727.key) 16:17:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:17:23 + git semver init 16:17:23 2024-07-29 16:17:23,581 [run_init] DEBUG init version:0.0.0 force:False 16:17:23 2024-07-29 16:17:23,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-669/.semver 16:17:23 2024-07-29 16:17:23,583 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-669/.semver 16:17:23 2024-07-29 16:17:23,583 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-669/.semver'], cwd=/w/workspace/_app-service-configurable_PR-669, universal_newlines=False, shell=None, istream=None) 16:17:25 2024-07-29 16:17:24,668 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-669/.git/info/exclude 16:17:25 2024-07-29 16:17:24,668 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-669/.semver/PR-669 with force:False 16:17:25 2024-07-29 16:17:24,668 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-669/.semver/PR-669 16:17:25 2024-07-29 16:17:24,673 [execute] INFO git cat-file --batch-check 16:17:25 2024-07-29 16:17:24,673 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-669/.semver, universal_newlines=False, shell=None, istream=) 16:17:25 2024-07-29 16:17:24,680 [execute] INFO git cat-file --batch 16:17:25 2024-07-29 16:17:24,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-669/.semver, universal_newlines=False, shell=None, istream=) 16:17:25 2024-07-29 16:17:24,685 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-669/.semver/PR-669 16:17:25 0.0.0 [Pipeline] } 16:17:25 $ docker exec --env ******** --env ******** 01f4bd67009bb8b198d06189cc8cccc6baecb01973e401d518f775568dd07f57 ssh-agent -k 16:17:25 unset SSH_AUTH_SOCK; 16:17:25 unset SSH_AGENT_PID; 16:17:25 echo Agent pid 77 killed; 16:17:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:17:25 + git semver [Pipeline] } 16:17:25 $ docker stop --time=1 01f4bd67009bb8b198d06189cc8cccc6baecb01973e401d518f775568dd07f57 16:17:27 $ docker rm -f --volumes 01f4bd67009bb8b198d06189cc8cccc6baecb01973e401d518f775568dd07f57 [Pipeline] // withDockerContainer [Pipeline] sh 16:17:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:17:27 Stashed 1 file(s) [Pipeline] echo 16:17:27 [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 16:17:28 provisioning config files... 16:17:28 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-669@tmp/config12188327549513087647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:28 ---> ****-login.sh 16:17:28 nexus3.edgexfoundry.org:10001 16:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:28 Configure a credential helper to remove this warning. See 16:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:28 16:17:28 Login Succeeded 16:17:28 nexus3.edgexfoundry.org:10002 16:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:28 Configure a credential helper to remove this warning. See 16:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:28 16:17:28 Login Succeeded 16:17:28 nexus3.edgexfoundry.org:10003 16:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:28 Configure a credential helper to remove this warning. See 16:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:28 16:17:28 Login Succeeded 16:17:28 nexus3.edgexfoundry.org:10004 16:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:28 Configure a credential helper to remove this warning. See 16:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:28 16:17:28 Login Succeeded 16:17:28 ****.io 16:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:17:28 Configure a credential helper to remove this warning. See 16:17:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:17:28 16:17:28 Login Succeeded 16:17:28 ---> ****-login.sh ends [Pipeline] } 16:17:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:17:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:17:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:17:29 ========================================================= 16:17:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 16:17:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 16:17:29 Sending build context to Docker daemon 9.142MB 16:17:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 16:17:29 Step 2/12 : FROM ${BASE} AS builder 16:17:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 16:17:29 619be1103602: Pulling fs layer 16:17:29 7862e08f4a3e: Pulling fs layer 16:17:29 5df492c9dc93: Pulling fs layer 16:17:29 7629e6793208: Pulling fs layer 16:17:29 4f4fb700ef54: Pulling fs layer 16:17:29 fb5054dd5b73: Pulling fs layer 16:17:29 eeca6798cff9: Pulling fs layer 16:17:29 aa269ceb94a6: Pulling fs layer 16:17:29 ada007ff1a6a: Pulling fs layer 16:17:29 fb5054dd5b73: Waiting 16:17:29 eeca6798cff9: Waiting 16:17:29 aa269ceb94a6: Waiting 16:17:29 ada007ff1a6a: Waiting 16:17:29 7629e6793208: Waiting 16:17:29 4f4fb700ef54: Waiting 16:17:29 7629e6793208: Download complete 16:17:29 4f4fb700ef54: Download complete 16:17:29 619be1103602: Download complete 16:17:29 fb5054dd5b73: Verifying Checksum 16:17:29 fb5054dd5b73: Download complete 16:17:29 eeca6798cff9: Verifying Checksum 16:17:29 eeca6798cff9: Download complete 16:17:29 619be1103602: Pull complete 16:17:29 ada007ff1a6a: Verifying Checksum 16:17:29 ada007ff1a6a: Download complete 16:17:29 7862e08f4a3e: Pull complete 16:17:29 5df492c9dc93: Verifying Checksum 16:17:29 5df492c9dc93: Download complete 16:17:30 aa269ceb94a6: Verifying Checksum 16:17:30 aa269ceb94a6: Download complete 16:17:33 5df492c9dc93: Pull complete 16:17:33 7629e6793208: Pull complete 16:17:33 4f4fb700ef54: Pull complete 16:17:33 fb5054dd5b73: Pull complete 16:17:33 eeca6798cff9: Pull complete 16:17:35 aa269ceb94a6: Pull complete 16:17:35 ada007ff1a6a: Pull complete 16:17:35 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 16:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 16:17:35 ---> f489d0715acc 16:17:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:17:43 Still waiting to schedule task 16:17:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:17:45 ---> Running in 307dda958378 16:17:45 Removing intermediate container 307dda958378 16:17:45 ---> 5faaacdcf953 16:17:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:17:45 ---> Running in f94356bfc2cb 16:17:45 Removing intermediate container f94356bfc2cb 16:17:45 ---> 9b5255a945da 16:17:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:17:45 ---> Running in e89eeddddf15 16:17:45 Removing intermediate container e89eeddddf15 16:17:45 ---> 0f70377e0d86 16:17:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:45 ---> Running in f7157268e770 16:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:17:45 OK: 264 MiB in 52 packages 16:17:45 Removing intermediate container f7157268e770 16:17:45 ---> 2eac97ca5410 16:17:45 Step 7/12 : WORKDIR /app 16:17:45 ---> Running in bf404d1dd89a 16:17:45 Removing intermediate container bf404d1dd89a 16:17:45 ---> 7ab9ae46500a 16:17:45 Step 8/12 : COPY go.mod vendor* ./ 16:17:45 ---> 89e90bbca82b 16:17:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:45 ---> Running in 20e92c468d97 16:18:53 Removing intermediate container 20e92c468d97 16:18:53 ---> a9fe9144093e 16:18:53 Step 10/12 : COPY . . 16:18:53 ---> 26c5e3140bf3 16:18:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:18:53 ---> Running in 8d3c4a8f24b9 16:18:54 Removing intermediate container 8d3c4a8f24b9 16:18:54 ---> d4daad964097 16:18:54 Step 12/12 : RUN $MAKE 16:18:54 ---> Running in 5c0cf745bc05 16:18:54 noop 16:18:54 Removing intermediate container 5c0cf745bc05 16:18:54 ---> 470dbcb0141c 16:18:54 Successfully built 470dbcb0141c 16:18:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:55 + docker inspect -f . ci-base-image-x86_64 16:18:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:55 prd-ubuntu20.04-docker-8c-8g-6685 does not seem to be running inside a container 16:18:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-669 -v /w/workspace/_app-service-configurable_PR-669:/w/workspace/_app-service-configurable_PR-669:rw,z -v /w/workspace/_app-service-configurable_PR-669@tmp:/w/workspace/_app-service-configurable_PR-669@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 ******** ci-base-image-x86_64 cat 16:18:55 $ docker top fb273457f88e7bc4770ebb8f9275223840ef5368adbc1225799d1bb8a93a9d8d -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:56 + go version 16:18:56 go version go1.21.9 linux/amd64 [Pipeline] } 16:18:56 $ docker stop --time=1 fb273457f88e7bc4770ebb8f9275223840ef5368adbc1225799d1bb8a93a9d8d 16:18:57 $ docker rm -f --volumes fb273457f88e7bc4770ebb8f9275223840ef5368adbc1225799d1bb8a93a9d8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:58 + docker inspect -f . ci-base-image-x86_64 16:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:58 prd-ubuntu20.04-docker-8c-8g-6685 does not seem to be running inside a container 16:18:58 $ 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-669 -v /w/workspace/_app-service-configurable_PR-669:/w/workspace/_app-service-configurable_PR-669:rw,z -v /w/workspace/_app-service-configurable_PR-669@tmp:/w/workspace/_app-service-configurable_PR-669@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 ******** ci-base-image-x86_64 cat 16:18:58 $ docker top 771ad3a376b24ac0a3aff702d6d988211bca7025cf57a9c10ecaed2c9743afa0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:59 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-669 [Pipeline] fileExists [Pipeline] sh 16:18:59 + make test 16:18:59 go test -race -coverprofile=coverage.out ./... 16:19:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6686 in /w/workspace/_app-service-configurable_PR-669 [Pipeline] { [Pipeline] ws 16:19:19 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 16:19:22 The recommended git tool is: git 16:19:30 using credential edgex-jenkins-ssh 16:19:30 Cloning the remote Git repository 16:19:31 ? github.com/edgexfoundry/app-service-configurable [no test files] 16:19:30 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 16:19:30 > git init /w/workspace/app-service-configurable/3 # timeout=10 16:19:31 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 16:19:31 > git --version # timeout=10 16:19:31 > git --version # 'git version 2.25.1' 16:19:31 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:33 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 16:19:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:35 Merging remotes/origin/main commit 53688a1f891e61c3e2e535eb2e9ac0a8ccbceae2 into PR head commit 6e0796e1314a995876dc0eaf1d55257a6c7a280c 16:19:36 Merge succeeded, producing 6e0796e1314a995876dc0eaf1d55257a6c7a280c 16:19:36 Checking out Revision 6e0796e1314a995876dc0eaf1d55257a6c7a280c (PR-669) 16:19:34 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 16:19:34 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 16:19:34 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/669/head:refs/remotes/origin/PR-669 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:19:35 > git config core.sparsecheckout # timeout=10 16:19:35 > git checkout -f 6e0796e1314a995876dc0eaf1d55257a6c7a280c # timeout=10 16:19:35 > git remote # timeout=10 16:19:35 > git config --get remote.origin.url # timeout=10 16:19:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:35 > git merge 53688a1f891e61c3e2e535eb2e9ac0a8ccbceae2 # timeout=10 16:19:36 > git rev-parse HEAD^{commit} # timeout=10 16:19:36 > git config core.sparsecheckout # timeout=10 16:19:36 > git checkout -f 6e0796e1314a995876dc0eaf1d55257a6c7a280c # timeout=10 16:19:39 Commit message: "fix: re-ran go mod tidy. i was sure i had but maybe not" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:19:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:19:41 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:41 Dload Upload Total Spent Left Speed 16:19:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 16:19:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:19:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:19:42 + sudo tee /etc/docker/daemon.new 16:19:42 { 16:19:42 "registry-mirrors": [ 16:19:42 "https://nexus3.edgexfoundry.org:10001" 16:19:42 ], 16:19:42 "bip": "10.250.0.254/24", 16:19:42 "hosts": [ 16:19:42 "tcp://0.0.0.0:5555", 16:19:42 "unix:///var/run/docker.sock" 16:19:42 ], 16:19:42 "mtu": 1458, 16:19:42 "selinux-enabled": true, 16:19:42 "seccomp-profile": "/etc/docker/seccomp.json" 16:19:42 } [Pipeline] sh 16:19:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:19:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:01 provisioning config files... 16:20:01 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config17777303439702038161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:01 ---> ****-login.sh 16:20:01 nexus3.edgexfoundry.org:10001 16:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:20:02 Configure a credential helper to remove this warning. See 16:20:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:20:02 16:20:02 Login Succeeded 16:20:02 nexus3.edgexfoundry.org:10002 16:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:20:02 Configure a credential helper to remove this warning. See 16:20:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:20:02 16:20:02 Login Succeeded 16:20:02 nexus3.edgexfoundry.org:10003 16:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 nexus3.edgexfoundry.org:10004 16:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 ****.io 16:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 go vet ./... 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 ---> ****-login.sh ends [Pipeline] } 16:20:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 16:20:04 ========================================================= 16:20:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 16:20:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 16:20:04 Sending build context to Docker daemon 238.1kB 16:20:04 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 16:20:04 Step 2/12 : FROM ${BASE} AS builder 16:20:04 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:20:04 c6b39de5b339: Pulling fs layer 16:20:04 a69c41024577: Pulling fs layer 16:20:04 d6de4b400683: Pulling fs layer 16:20:04 35cb2a7552d0: Pulling fs layer 16:20:04 4f4fb700ef54: Pulling fs layer 16:20:04 464afbd9ba4c: Pulling fs layer 16:20:04 00f215d4a9da: Pulling fs layer 16:20:04 d496ad576159: Pulling fs layer 16:20:04 35cb2a7552d0: Waiting 16:20:04 464afbd9ba4c: Waiting 16:20:04 00f215d4a9da: Waiting 16:20:04 d496ad576159: Waiting 16:20:04 a69c41024577: Download complete 16:20:04 35cb2a7552d0: Verifying Checksum 16:20:04 35cb2a7552d0: Download complete 16:20:05 4f4fb700ef54: Download complete 16:20:05 464afbd9ba4c: Verifying Checksum 16:20:05 464afbd9ba4c: Download complete 16:20:05 c6b39de5b339: Download complete 16:20:05 d496ad576159: Verifying Checksum 16:20:05 d496ad576159: Download complete 16:20:05 c6b39de5b339: Pull complete 16:20:06 a69c41024577: Pull complete 16:20:06 d6de4b400683: Verifying Checksum 16:20:06 d6de4b400683: Download complete 16:20:07 00f215d4a9da: Verifying Checksum 16:20:07 00f215d4a9da: Download complete 16:20:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:20:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:20:07 ./bin/test-attribution-txt.sh 16:20:07 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 16:20:07 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 16:20:07 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [Pipeline] echo 16:20:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 16:20:07 $ docker stop --time=1 771ad3a376b24ac0a3aff702d6d988211bca7025cf57a9c10ecaed2c9743afa0 16:20:17 $ docker rm -f --volumes 771ad3a376b24ac0a3aff702d6d988211bca7025cf57a9c10ecaed2c9743afa0 [Pipeline] // withDockerContainer [Pipeline] sh 16:20:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:20:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:19 + ls -al . 16:20:19 total 260 16:20:19 drwxrwxr-x 7 jenkins jenkins 4096 Jul 29 16:19 . 16:20:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 16:17 .. 16:20:19 -rw-rw-r-- 1 jenkins jenkins 119 Jul 29 16:17 .dockerignore 16:20:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 16:19 .git 16:20:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 16:17 .github 16:20:19 -rw-rw-r-- 1 jenkins jenkins 106 Jul 29 16:17 .gitignore 16:20:19 -rw-rw-r-- 1 jenkins jenkins 41 Jul 29 16:17 .golangci.yml 16:20:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 29 16:17 .semver 16:20:19 -rw-rw-r-- 1 jenkins jenkins 18981 Jul 29 16:17 Attribution.txt 16:20:19 -rw-rw-r-- 1 jenkins jenkins 37263 Jul 29 16:17 CHANGELOG.md 16:20:19 -rw-rw-r-- 1 jenkins jenkins 2007 Jul 29 16:17 Dockerfile 16:20:19 -rw-rw-r-- 1 jenkins jenkins 677 Jul 29 16:17 GOVERNANCE.md 16:20:19 -rw-rw-r-- 1 jenkins jenkins 666 Jul 29 16:17 Jenkinsfile 16:20:19 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 29 16:17 LICENSE 16:20:19 -rw-rw-r-- 1 jenkins jenkins 618 Jul 29 16:17 OWNERS.md 16:20:19 -rw-rw-r-- 1 jenkins jenkins 4582 Jul 29 16:17 README.md 16:20:19 -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 16:17 VERSION 16:20:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 16:17 bin 16:20:19 -rw-r--r-- 1 jenkins jenkins 13 Jul 29 16:19 coverage.out 16:20:19 -rw-rw-r-- 1 jenkins jenkins 7048 Jul 29 16:17 go.mod 16:20:19 -rw-rw-r-- 1 jenkins jenkins 101448 Jul 29 16:17 go.sum 16:20:19 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 29 16:17 main.go 16:20:19 -rw-rw-r-- 1 jenkins jenkins 2572 Jul 29 16:17 makefile 16:20:19 drwxrwxr-x 9 jenkins jenkins 4096 Jul 29 16:17 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:19 + 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=6e0796e1314a995876dc0eaf1d55257a6c7a280c --label arch=amd64 --label version=0.0.0 . 16:20:19 Sending build context to Docker daemon 9.143MB 16:20:19 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 16:20:19 Step 2/27 : FROM ${BASE} AS builder 16:20:19 ---> 470dbcb0141c 16:20:19 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 16:20:20 d6de4b400683: Pull complete 16:20:20 35cb2a7552d0: Pull complete 16:20:20 4f4fb700ef54: Pull complete 16:20:20 464afbd9ba4c: Pull complete 16:20:20 ---> Running in 53669a5f60c9 16:20:20 Removing intermediate container 53669a5f60c9 16:20:20 ---> 1b25d6941a16 16:20:20 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 16:20:20 ---> Running in ad53442e1bac 16:20:20 Removing intermediate container ad53442e1bac 16:20:20 ---> 6118876eb9a6 16:20:20 Step 5/27 : ARG ADD_BUILD_TAGS="" 16:20:20 ---> Running in b0c86c4bf37c 16:20:20 Removing intermediate container b0c86c4bf37c 16:20:20 ---> e6520f45054b 16:20:20 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:20 ---> Running in ef6f1d76b99b 16:20:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:20:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:20:21 OK: 264 MiB in 52 packages 16:20:21 Removing intermediate container ef6f1d76b99b 16:20:21 ---> a2b57e1b7d10 16:20:21 Step 7/27 : WORKDIR /app 16:20:21 ---> Running in 1c09477a7d30 16:20:22 Removing intermediate container 1c09477a7d30 16:20:22 ---> fb823c90820c 16:20:22 Step 8/27 : COPY go.mod vendor* ./ 16:20:22 ---> 57dd77667111 16:20:22 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:22 ---> Running in 98a8dbef8d2c 16:20:23 Removing intermediate container 98a8dbef8d2c 16:20:23 ---> affb64bc94f0 16:20:23 Step 10/27 : COPY . . 16:20:24 ---> 60b09b4acca0 16:20:24 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:20:24 ---> Running in 44116057840e 16:20:24 Removing intermediate container 44116057840e 16:20:24 ---> e62cc49af49d 16:20:24 Step 12/27 : RUN $MAKE 16:20:24 ---> Running in 0f9f9a4a751f 16:20:24 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 16:20:28 00f215d4a9da: Pull complete 16:20:30 d496ad576159: Pull complete 16:20:30 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 16:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 16:20:30 ---> f246e2811388 16:20:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:20:32 ---> Running in 37db74e0a965 16:20:32 Removing intermediate container 37db74e0a965 16:20:32 ---> 89dd1dc63749 16:20:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:20:32 ---> Running in d25e93079bcc 16:20:32 Removing intermediate container d25e93079bcc 16:20:32 ---> 6ff81598da32 16:20:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:20:32 ---> Running in fd555c5b2331 16:20:32 Removing intermediate container fd555c5b2331 16:20:32 ---> 76f64ea8ec11 16:20:32 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:33 ---> Running in 44838a2e3672 16:20:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:20:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:20:35 OK: 266 MiB in 52 packages 16:20:36 Removing intermediate container 44838a2e3672 16:20:36 ---> b9f096f72fa0 16:20:36 Step 7/12 : WORKDIR /app 16:20:36 ---> Running in 996faf000d77 16:20:36 Removing intermediate container 996faf000d77 16:20:36 ---> 9358db240124 16:20:36 Step 8/12 : COPY go.mod vendor* ./ 16:20:37 ---> 6620bb39dd34 16:20:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:37 ---> Running in 94f726cf960a 16:21:03 Removing intermediate container 0f9f9a4a751f 16:21:03 ---> 22d6b26782ca 16:21:03 Step 13/27 : FROM alpine:3.18 16:21:03 3.18: Pulling from library/alpine 16:21:03 930bdd4d222e: Pulling fs layer 16:21:03 930bdd4d222e: Verifying Checksum 16:21:03 930bdd4d222e: Download complete 16:21:03 930bdd4d222e: Pull complete 16:21:03 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 16:21:03 Status: Downloaded newer image for alpine:3.18 16:21:03 ---> 18f865063206 16:21:03 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:21:03 ---> Running in d19c84589a24 16:21:03 Removing intermediate container d19c84589a24 16:21:03 ---> 218ed7213574 16:21:03 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 16:21:03 ---> Running in 330a27f754d6 16:21:03 Removing intermediate container 330a27f754d6 16:21:03 ---> 14b5f7ea54b9 16:21:03 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 16:21:03 ---> Running in 79ab352555ce 16:21:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:21:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:21:04 (1/2) Installing ca-certificates (20240226-r0) 16:21:04 (2/2) Installing dumb-init (1.2.5-r2) 16:21:04 Executing busybox-1.36.1-r7.trigger 16:21:04 Executing ca-certificates-20240226-r0.trigger 16:21:04 OK: 8 MiB in 17 packages 16:21:05 Removing intermediate container 79ab352555ce 16:21:05 ---> a08efd8ec92a 16:21:05 Step 17/27 : RUN apk --no-cache upgrade 16:21:05 ---> Running in a8db0a0c8013 16:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:21:05 OK: 8 MiB in 17 packages 16:21:05 Removing intermediate container a8db0a0c8013 16:21:05 ---> 976c4cd3c932 16:21:05 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:21:06 ---> 0a0b0dfa05f6 16:21:06 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 16:21:06 ---> c45137906465 16:21:06 Step 20/27 : COPY --from=builder /app/res/ /res/ 16:21:06 ---> a9bad9c4968a 16:21:06 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 16:21:07 ---> 52a6a88e19a0 16:21:07 Step 22/27 : EXPOSE 48095 16:21:07 ---> Running in 8e4838c331a5 16:21:08 Removing intermediate container 8e4838c331a5 16:21:08 ---> 666314b7ef2d 16:21:08 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 16:21:08 ---> Running in 0611ba85f813 16:21:08 Removing intermediate container 0611ba85f813 16:21:08 ---> 1c7d37dea62b 16:21:08 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:21:08 ---> Running in baf01f9b318a 16:21:08 Removing intermediate container baf01f9b318a 16:21:08 ---> 67ef9fe35273 16:21:08 Step 25/27 : LABEL arch=amd64 16:21:08 ---> Running in 0aaa81def6ed 16:21:08 Removing intermediate container 0aaa81def6ed 16:21:08 ---> 4b98f23a9ac5 16:21:08 Step 26/27 : LABEL git_sha=6e0796e1314a995876dc0eaf1d55257a6c7a280c 16:21:08 ---> Running in 18f3370a0c29 16:21:08 Removing intermediate container 18f3370a0c29 16:21:08 ---> 52d20f937703 16:21:08 Step 27/27 : LABEL version=0.0.0 16:21:08 ---> Running in 3036b0476aa8 16:21:08 Removing intermediate container 3036b0476aa8 16:21:08 ---> f0ce6596e0fa 16:21:08 [Warning] One or more build-args [ARCH] were not consumed 16:21:08 Successfully built f0ce6596e0fa 16:21:08 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:09 16:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:09 latest: Pulling from edgex-lftools-log-publisher 16:21:09 5eb5b503b376: Pulling fs layer 16:21:09 5c69ac0246d0: Pulling fs layer 16:21:09 ec43610c2a17: Pulling fs layer 16:21:09 3a2ae6a8a46f: Pulling fs layer 16:21:09 33b1e0a273af: Pulling fs layer 16:21:09 5d3b04190fa2: Pulling fs layer 16:21:09 2f39f015ded8: Pulling fs layer 16:21:09 33b1e0a273af: Waiting 16:21:09 5d3b04190fa2: Waiting 16:21:09 2f39f015ded8: Waiting 16:21:09 3a2ae6a8a46f: Waiting 16:21:09 5c69ac0246d0: Download complete 16:21:09 3a2ae6a8a46f: Verifying Checksum 16:21:09 3a2ae6a8a46f: Download complete 16:21:09 33b1e0a273af: Verifying Checksum 16:21:09 33b1e0a273af: Download complete 16:21:09 5d3b04190fa2: Verifying Checksum 16:21:09 5d3b04190fa2: Download complete 16:21:09 ec43610c2a17: Verifying Checksum 16:21:09 ec43610c2a17: Download complete 16:21:09 5eb5b503b376: Verifying Checksum 16:21:09 5eb5b503b376: Download complete 16:21:10 2f39f015ded8: Verifying Checksum 16:21:10 2f39f015ded8: Download complete 16:21:10 5eb5b503b376: Pull complete 16:21:11 5c69ac0246d0: Pull complete 16:21:11 ec43610c2a17: Pull complete 16:21:11 3a2ae6a8a46f: Pull complete 16:21:11 33b1e0a273af: Pull complete 16:21:11 5d3b04190fa2: Pull complete 16:21:16 2f39f015ded8: Pull complete 16:21:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:21:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:16 prd-ubuntu20.04-docker-8c-8g-6685 does not seem to be running inside a container 16:21:16 $ 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-669 -v /w/workspace/_app-service-configurable_PR-669:/w/workspace/_app-service-configurable_PR-669:rw,z -v /w/workspace/_app-service-configurable_PR-669@tmp:/w/workspace/_app-service-configurable_PR-669@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:21:26 $ docker top 020ba3c8265b88c869e079af75f3225daded03488b2b86fcd685a449b288fa51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:27 ---> job-cost.sh 16:21:27 lf-activate-venv: SKIPPING 16:21:27 INFO: No Stack... 16:21:27 INFO: Retrieving Pricing Info for: v3-standard-8 16:21:27 INFO: Archiving Costs [Pipeline] sh 16:21:28 + cat /w/workspace/_app-service-configurable_PR-669/archives/cost.csv 16:21:28 + cut -d, -f6 [Pipeline] lock 16:21:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-669-3-stack-cost] 16:21:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-669-3-stack-cost] did not exist. Created. 16:21:28 Lock acquired on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-669-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:21:28 + echo total: 0.2199999988079071 [Pipeline] stash 16:21:28 Stashed 1 file(s) [Pipeline] } 16:21:28 Lock released on resource [Resource: jenkins-edgexfoundry-app-service-configurable-PR-669-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:21:28 $ docker stop --time=1 020ba3c8265b88c869e079af75f3225daded03488b2b86fcd685a449b288fa51 16:21:30 $ docker rm -f --volumes 020ba3c8265b88c869e079af75f3225daded03488b2b86fcd685a449b288fa51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:22:28 Removing intermediate container 94f726cf960a 16:22:28 ---> 437d815f5906 16:22:28 Step 10/12 : COPY . . 16:22:28 ---> bf9b9e925c16 16:22:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:22:28 ---> Running in ad1e508240b7 16:22:28 Removing intermediate container ad1e508240b7 16:22:28 ---> d562cf018286 16:22:28 Step 12/12 : RUN $MAKE 16:22:28 ---> Running in a5016a68f3fe 16:22:28 noop 16:22:28 Removing intermediate container a5016a68f3fe 16:22:28 ---> 4efa1933fe63 16:22:28 Successfully built 4efa1933fe63 16:22:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:29 + docker inspect -f . ci-base-image-arm64 16:22:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:29 prd-ubuntu20.04-docker-arm64-4c-16g-6686 does not seem to be running inside a container 16:22:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:22:30 $ docker top 50f6f0664fea896ca3698d4ce493619aca7d281df137b6f0469f039c992fd817 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:31 + go version 16:22:31 go version go1.21.9 linux/arm64 [Pipeline] } 16:22:31 $ docker stop --time=1 50f6f0664fea896ca3698d4ce493619aca7d281df137b6f0469f039c992fd817 16:22:33 $ docker rm -f --volumes 50f6f0664fea896ca3698d4ce493619aca7d281df137b6f0469f039c992fd817 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:33 + docker inspect -f . ci-base-image-arm64 16:22:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:34 prd-ubuntu20.04-docker-arm64-4c-16g-6686 does not seem to be running inside a container 16:22:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:22:35 $ docker top f95581ba8d6dfa82625de2d4b2a14b739216ce0844a872345b33881118e4f66a -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:35 + git config --global --add safe.directory /w/workspace/app-service-configurable/3 [Pipeline] fileExists [Pipeline] sh 16:22:36 + make test 16:22:36 go test -race -coverprofile=coverage.out ./... 16:26:28 ? github.com/edgexfoundry/app-service-configurable [no test files] 16:26:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:26:28 go vet ./... 16:30:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:30:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:30:05 ./bin/test-attribution-txt.sh 16:30:05 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 16:30:05 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 16:30:05 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [Pipeline] echo 16:30:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 16:30:05 $ docker stop --time=1 f95581ba8d6dfa82625de2d4b2a14b739216ce0844a872345b33881118e4f66a 16:30:07 $ docker rm -f --volumes f95581ba8d6dfa82625de2d4b2a14b739216ce0844a872345b33881118e4f66a [Pipeline] // withDockerContainer [Pipeline] sh 16:30:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:30:09 Warning: overwriting stash ‘coverage-report’ 16:30:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:30:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:30:10 + ls -al . 16:30:10 total 256 16:30:10 drwxrwxr-x 6 jenkins jenkins 4096 Jul 29 16:22 . 16:30:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 16:19 .. 16:30:10 -rw-rw-r-- 1 jenkins jenkins 119 Jul 29 16:19 .dockerignore 16:30:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 16:19 .git 16:30:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 16:19 .github 16:30:10 -rw-rw-r-- 1 jenkins jenkins 106 Jul 29 16:19 .gitignore 16:30:10 -rw-rw-r-- 1 jenkins jenkins 41 Jul 29 16:19 .golangci.yml 16:30:10 -rw-rw-r-- 1 jenkins jenkins 18981 Jul 29 16:19 Attribution.txt 16:30:10 -rw-rw-r-- 1 jenkins jenkins 37263 Jul 29 16:19 CHANGELOG.md 16:30:10 -rw-rw-r-- 1 jenkins jenkins 2007 Jul 29 16:19 Dockerfile 16:30:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 29 16:19 GOVERNANCE.md 16:30:10 -rw-rw-r-- 1 jenkins jenkins 666 Jul 29 16:19 Jenkinsfile 16:30:10 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 29 16:19 LICENSE 16:30:10 -rw-rw-r-- 1 jenkins jenkins 618 Jul 29 16:19 OWNERS.md 16:30:10 -rw-rw-r-- 1 jenkins jenkins 4582 Jul 29 16:19 README.md 16:30:10 -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 16:17 VERSION 16:30:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 16:19 bin 16:30:10 -rw-r--r-- 1 jenkins jenkins 13 Jul 29 16:22 coverage.out 16:30:10 -rw-rw-r-- 1 jenkins jenkins 7048 Jul 29 16:19 go.mod 16:30:10 -rw-rw-r-- 1 jenkins jenkins 101448 Jul 29 16:19 go.sum 16:30:10 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 29 16:19 main.go 16:30:10 -rw-rw-r-- 1 jenkins jenkins 2572 Jul 29 16:19 makefile 16:30:10 drwxrwxr-x 9 jenkins jenkins 4096 Jul 29 16:19 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:10 + 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=6e0796e1314a995876dc0eaf1d55257a6c7a280c --label arch=arm64 --label version=0.0.0 . 16:30:10 Sending build context to Docker daemon 239.1kB 16:30:11 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 16:30:11 Step 2/27 : FROM ${BASE} AS builder 16:30:11 ---> 4efa1933fe63 16:30:11 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 16:30:11 ---> Running in bac8438cf5a2 16:30:11 Removing intermediate container bac8438cf5a2 16:30:11 ---> 394124e46a3f 16:30:11 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 16:30:11 ---> Running in ed9feb204c5f 16:30:11 Removing intermediate container ed9feb204c5f 16:30:11 ---> 12ec497fca24 16:30:11 Step 5/27 : ARG ADD_BUILD_TAGS="" 16:30:11 ---> Running in d04aa5248a27 16:30:12 Removing intermediate container d04aa5248a27 16:30:12 ---> 5c92f4e01215 16:30:12 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:30:12 ---> Running in 806f166d40a4 16:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:30:14 OK: 266 MiB in 52 packages 16:30:15 Removing intermediate container 806f166d40a4 16:30:15 ---> b437c268512b 16:30:15 Step 7/27 : WORKDIR /app 16:30:15 ---> Running in e9762e6a8ae6 16:30:15 Removing intermediate container e9762e6a8ae6 16:30:15 ---> 3b1c3353087a 16:30:15 Step 8/27 : COPY go.mod vendor* ./ 16:30:16 ---> 2c7d327470b3 16:30:16 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:30:16 ---> Running in cb70ecf9ada2 16:30:18 Removing intermediate container cb70ecf9ada2 16:30:18 ---> c00720b8c17d 16:30:18 Step 10/27 : COPY . . 16:30:19 ---> 97aab20bff1c 16:30:19 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:30:19 ---> Running in 9dcb8e523963 16:30:19 Removing intermediate container 9dcb8e523963 16:30:19 ---> 15f92e0b9f83 16:30:19 Step 12/27 : RUN $MAKE 16:30:19 ---> Running in 5f88199076a2 16:30:20 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 16:33:42 Removing intermediate container 5f88199076a2 16:33:42 ---> b17fb9941183 16:33:42 Step 13/27 : FROM alpine:3.18 16:33:42 3.18: Pulling from library/alpine 16:33:42 4983c3fe2029: Pulling fs layer 16:33:42 4983c3fe2029: Verifying Checksum 16:33:42 4983c3fe2029: Download complete 16:33:42 4983c3fe2029: Pull complete 16:33:42 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 16:33:42 Status: Downloaded newer image for alpine:3.18 16:33:42 ---> a0237000ae83 16:33:42 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:33:42 ---> Running in 24c24c5055db 16:33:42 Removing intermediate container 24c24c5055db 16:33:42 ---> ad5e66b208c4 16:33:42 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 16:33:42 ---> Running in a92195e72558 16:33:42 Removing intermediate container a92195e72558 16:33:42 ---> 088f04af4652 16:33:42 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 16:33:42 ---> Running in b619fdf8b9e6 16:33:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:33:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:33:42 (1/2) Installing ca-certificates (20240226-r0) 16:33:42 (2/2) Installing dumb-init (1.2.5-r2) 16:33:42 Executing busybox-1.36.1-r7.trigger 16:33:42 Executing ca-certificates-20240226-r0.trigger 16:33:42 OK: 9 MiB in 17 packages 16:33:42 Removing intermediate container b619fdf8b9e6 16:33:42 ---> d44647acd295 16:33:42 Step 17/27 : RUN apk --no-cache upgrade 16:33:42 ---> Running in 1a56766c8c14 16:33:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:33:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:33:43 OK: 9 MiB in 17 packages 16:33:44 Removing intermediate container 1a56766c8c14 16:33:44 ---> 24a6ca5f5012 16:33:44 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:33:45 ---> acb7c2c9989a 16:33:45 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 16:33:45 ---> 2e349efea20b 16:33:45 Step 20/27 : COPY --from=builder /app/res/ /res/ 16:33:46 ---> b222fb257874 16:33:46 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 16:33:47 ---> 5ae06e364377 16:33:47 Step 22/27 : EXPOSE 48095 16:33:48 ---> Running in 668dce01f458 16:33:48 Removing intermediate container 668dce01f458 16:33:48 ---> eb9028293f9d 16:33:48 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 16:33:48 ---> Running in 9fc597bc7332 16:33:48 Removing intermediate container 9fc597bc7332 16:33:48 ---> b1aa1c0f5ca1 16:33:48 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:33:48 ---> Running in 94beb6ce0352 16:33:48 Removing intermediate container 94beb6ce0352 16:33:48 ---> 8b770b2366a0 16:33:48 Step 25/27 : LABEL arch=arm64 16:33:49 ---> Running in 00f3b4dcb60f 16:33:49 Removing intermediate container 00f3b4dcb60f 16:33:49 ---> b43bba066e92 16:33:49 Step 26/27 : LABEL git_sha=6e0796e1314a995876dc0eaf1d55257a6c7a280c 16:33:49 ---> Running in d99abe21ea31 16:33:49 Removing intermediate container d99abe21ea31 16:33:49 ---> 46f2857c8f7c 16:33:49 Step 27/27 : LABEL version=0.0.0 16:33:49 ---> Running in d34b7d1ef5ec 16:33:49 Removing intermediate container d34b7d1ef5ec 16:33:49 ---> f84bdad5f2c6 16:33:49 [Warning] One or more build-args [ARCH] were not consumed 16:33:49 Successfully built f84bdad5f2c6 16:33:49 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:50 16:33:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:50 arm64: Pulling from edgex-lftools-log-publisher 16:33:50 8998bd30e6a1: Pulling fs layer 16:33:50 04944245beec: Pulling fs layer 16:33:50 699f458cf7ca: Pulling fs layer 16:33:50 765212b225bb: Pulling fs layer 16:33:50 f23df028b6ca: Pulling fs layer 16:33:50 d65c8cfc05b1: Pulling fs layer 16:33:50 2437ff75d9bd: Pulling fs layer 16:33:50 f23df028b6ca: Waiting 16:33:50 765212b225bb: Waiting 16:33:50 d65c8cfc05b1: Waiting 16:33:50 2437ff75d9bd: Waiting 16:33:51 04944245beec: Verifying Checksum 16:33:51 04944245beec: Download complete 16:33:51 765212b225bb: Download complete 16:33:51 f23df028b6ca: Verifying Checksum 16:33:51 f23df028b6ca: Download complete 16:33:51 d65c8cfc05b1: Verifying Checksum 16:33:51 d65c8cfc05b1: Download complete 16:33:51 699f458cf7ca: Verifying Checksum 16:33:51 699f458cf7ca: Download complete 16:33:51 8998bd30e6a1: Verifying Checksum 16:33:51 8998bd30e6a1: Download complete 16:33:54 2437ff75d9bd: Verifying Checksum 16:33:54 2437ff75d9bd: Download complete 16:33:56 8998bd30e6a1: Pull complete 16:33:56 04944245beec: Pull complete 16:33:58 699f458cf7ca: Pull complete 16:33:58 765212b225bb: Pull complete 16:33:59 f23df028b6ca: Pull complete 16:33:59 d65c8cfc05b1: Pull complete 16:34:17 2437ff75d9bd: Pull complete 16:34:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:34:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:34:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:17 prd-ubuntu20.04-docker-arm64-4c-16g-6686 does not seem to be running inside a container 16:34:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:34:20 $ docker top 58ba38f5833cf085ed6a8a28a6c917af7eb0f62d646a6d4b13cc4ffd3269f667 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:21 ---> job-cost.sh 16:34:21 lf-activate-venv: SKIPPING 16:34:21 INFO: No Stack... 16:34:21 INFO: Retrieving Pricing Info for: v3-standard-4 16:34:22 INFO: Archiving Costs [Pipeline] sh 16:34:23 + cut -d, -f6 16:34:23 + cat /w/workspace/app-service-configurable/3/archives/cost.csv [Pipeline] lock 16:34:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-669-3-stack-cost] 16:34:23 Resource [jenkins-edgexfoundry-app-service-configurable-PR-669-3-stack-cost] did not exist. Created. 16:34:23 Lock acquired on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-669-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:34:24 /w/workspace/app-service-configurable/3@tmp/durable-d7b03808/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:34:24 + echo total: 0.10999999940395355 [Pipeline] stash 16:34:24 Warning: overwriting stash ‘stack-cost’ 16:34:24 Stashed 1 file(s) [Pipeline] } 16:34:24 Lock released on resource [Resource: jenkins-edgexfoundry-app-service-configurable-PR-669-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:34:24 $ docker stop --time=1 58ba38f5833cf085ed6a8a28a6c917af7eb0f62d646a6d4b13cc4ffd3269f667 16:34:26 $ docker rm -f --volumes 58ba38f5833cf085ed6a8a28a6c917af7eb0f62d646a6d4b13cc4ffd3269f667 [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 16:34:26 provisioning config files... 16:34:26 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-669@tmp/config9440227730278188289tmp [Pipeline] { [Pipeline] sh 16:34:27 + set +x 16:34:27 + bash -s -- 16:34:27 + curl -s https://codecov.io/bash 16:34:27 16:34:27 _____ _ 16:34:27 / ____| | | 16:34:27 | | ___ __| | ___ ___ _____ __ 16:34:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:34:27 | |___| (_) | (_| | __/ (_| (_) \ V / 16:34:27 \_____\___/ \__,_|\___|\___\___/ \_/ 16:34:27 Bash-1.0.6 16:34:27 16:34:27 16:34:27 ==> git version 2.25.1 found 16:34:27 ==> 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 16:34:27 Release-Date: 2020-01-08 16:34:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:34:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:34:27 ==> Jenkins CI detected. 16:34:27 current dir:  /w/workspace/_app-service-configurable_PR-669 16:34:27 project root: . 16:34:27 --> token set from env 16:34:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:34:27 ==> Running gcov in . (disable via -X gcov) 16:34:27 ==> Python coveragepy not found 16:34:27 ==> Searching for coverage reports in: 16:34:27 + . 16:34:27 -> Found 1 reports 16:34:27 ==> Detecting git/mercurial file structure 16:34:27 ==> Reading reports 16:34:27 + ./coverage.out bytes=13 16:34:27 ==> Appending adjustments 16:34:27 https://docs.codecov.io/docs/fixing-reports 16:34:27 + Found adjustments 16:34:27 ==> Gzipping contents 16:34:27 4.0K /tmp/codecov.SuWlob.gz 16:34:27 ==> Uploading reports 16:34:27 url: https://codecov.io 16:34:27 query: branch=PR-669&commit=6e0796e1314a995876dc0eaf1d55257a6c7a280c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-669%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=669&job=&cmd_args= 16:34:27 -> Pinging Codecov 16:34:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-669&commit=6e0796e1314a995876dc0eaf1d55257a6c7a280c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-669%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=669&job=&cmd_args= 16:34:27 -> Uploading to 16:34:27 https://storage.googleapis.com/codecov/v4/raw/2024-07-29/A97CA9966030D2A3747ED39772930CCE/6e0796e1314a995876dc0eaf1d55257a6c7a280c/67e0d3d8-263f-4b04-8939-ffe2b17a2c06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240729%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240729T163427Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cc07daf800e2a6ca78f0011948c0ab6a749d6a7917257c787beb2ba5bcd60c3 16:34:27 % Total % Received % Xferd Average Speed Time Time Time Current 16:34:27 Dload Upload Total Spent Left Speed 16:34:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 826 --:--:-- --:--:-- --:--:-- 826 16:34:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/6e0796e1314a995876dc0eaf1d55257a6c7a280c [Pipeline] } 16:34:27 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:34:28 + [ -d /w/workspace/_app-service-configurable_PR-669/archives ] 16:34:28 + ls -al /w/workspace/_app-service-configurable_PR-669/archives 16:34:28 total 16 16:34:28 drwxr-xr-x 3 root root 4096 Jul 29 16:21 . 16:34:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 16:21 .. 16:34:28 drwxr-xr-x 2 root root 4096 Jul 29 16:21 cost 16:34:28 -rw-r--r-- 1 root root 96 Jul 29 16:21 cost.csv 16:34:28 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-669/archives 16:34:28 + ls -al /w/workspace/_app-service-configurable_PR-669/archives 16:34:28 total 16 16:34:28 drwxr-xr-x 3 jenkins jenkins 4096 Jul 29 16:21 . 16:34:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 16:21 .. 16:34:28 drwxr-xr-x 2 jenkins jenkins 4096 Jul 29 16:21 cost 16:34:28 -rw-r--r-- 1 jenkins jenkins 96 Jul 29 16:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:34:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:34:30 ---> package-listing.sh 16:34:30 ++ facter osfamily 16:34:30 ++ tr '[:upper:]' '[:lower:]' 16:34:30 + OS_FAMILY=debian 16:34:30 + workspace=/w/workspace/_app-service-configurable_PR-669 16:34:30 + START_PACKAGES=/tmp/packages_start.txt 16:34:30 + END_PACKAGES=/tmp/packages_end.txt 16:34:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:34:30 + PACKAGES=/tmp/packages_start.txt 16:34:30 + '[' /w/workspace/_app-service-configurable_PR-669 ']' 16:34:30 + PACKAGES=/tmp/packages_end.txt 16:34:30 + case "${OS_FAMILY}" in 16:34:30 + dpkg -l 16:34:30 + grep '^ii' 16:34:30 + '[' -f /tmp/packages_start.txt ']' 16:34:30 + '[' -f /tmp/packages_end.txt ']' 16:34:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:34:30 + '[' /w/workspace/_app-service-configurable_PR-669 ']' 16:34:30 + mkdir -p /w/workspace/_app-service-configurable_PR-669/archives/ 16:34:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-669/archives/ [Pipeline] echo 16:34:30 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-669/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:34:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:34:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:31 prd-ubuntu20.04-docker-8c-8g-6685 does not seem to be running inside a container 16:34:31 $ 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-669/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-669 -v /w/workspace/_app-service-configurable_PR-669:/w/workspace/_app-service-configurable_PR-669:rw,z -v /w/workspace/_app-service-configurable_PR-669@tmp:/w/workspace/_app-service-configurable_PR-669@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:34:31 $ docker top f7fbe0e6be915519d32557e36b1932b3fe7409f616e521397133410c59bf3714 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:31 + touch /tmp/pre-build-complete [Pipeline] sh 16:34:32 + mkdir -p /var/log/sysstat [Pipeline] sh 16:34:32 + ls /var/log/sa-host 16:34:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:32 provisioning config files... 16:34:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-669@tmp/config8075715796292713180tmp [Pipeline] { [Pipeline] echo 16:34:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:34:32 ---> create-netrc.sh [Pipeline] } 16:34:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:34:33 ---> python-tools-install.sh [Pipeline] echo 16:34:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:34:33 ---> sudo-logs.sh 16:34:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:34:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:34:33 ---> job-cost.sh 16:34:33 lf-activate-venv: SKIPPING 16:34:33 DEBUG: total: 0.2199999988079071 16:34:33 INFO: Retrieving Stack Cost... 16:34:34 INFO: Retrieving Pricing Info for: v3-standard-8 16:34:34 INFO: Archiving Costs [Pipeline] echo 16:34:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:34:35 ---> logs-deploy.sh 16:34:35 lf-activate-venv: SKIPPING 16:34:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-669/3 16:34:35 INFO: archiving workspace using pattern(s): 16:34:36 Archives upload complete. 16:34:36 INFO: archiving logs to Nexus