Pull request #529 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 9924ce3792302461657905c814d890402047d1ca rather than 7c6ac4817152c05b6d10c666684092cab341b2e8 Obtained Jenkinsfile from 9924ce3792302461657905c814d890402047d1ca 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-ssh17023868184452839504.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17279313227599926473.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-529/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-529/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3944411971074406914.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6159520009055836488.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-529/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-529/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12735823108903069661.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9958 in /w/workspace/_app-service-configurable_PR-529 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-529 # 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 Merging remotes/origin/main commit 9924ce3792302461657905c814d890402047d1ca into PR head commit 7c6ac4817152c05b6d10c666684092cab341b2e8 Merge succeeded, producing 7c6ac4817152c05b6d10c666684092cab341b2e8 Checking out Revision 7c6ac4817152c05b6d10c666684092cab341b2e8 (PR-529) > 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/529/head:refs/remotes/origin/PR-529 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c6ac4817152c05b6d10c666684092cab341b2e8 # 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 9924ce3792302461657905c814d890402047d1ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c6ac4817152c05b6d10c666684092cab341b2e8 # timeout=10 Commit message: "refactor!: Renamed SecretName to SecretValueKey and SecretnPath to SecretName" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:13:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:13:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:13:58 ========================================================= 20:13:58 EdgeX Global Pipelines Version Info 20:13:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 38712d87188a462ee435ed45e9069707a9d187ec # timeout=10 20:13:59 ------------------- 20:13:59 stable info: 20:13:59 ------------------- 20:13:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:13:59 Message: update stable to v1.0.245 20:13:59 ------------------- 20:13:59 experimental info: 20:13:59 ------------------- 20:13:59 Commited By: **** collab-it+edgex@linuxfoundation.org 20:13:59 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:13:59 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:13:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-529 [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-529 [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-529 [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c6ac4817152c05b6d10c666684092cab341b2e8 [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c6ac48 [Pipeline] echo 20:14:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:00 provisioning config files... 20:14:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-529@tmp/config2521860367906114130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:00 ---> docker-login.sh 20:14:00 nexus3.edgexfoundry.org:10001 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 nexus3.edgexfoundry.org:10002 20:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:01 Configure a credential helper to remove this warning. See 20:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:01 20:14:01 Login Succeeded 20:14:01 nexus3.edgexfoundry.org:10003 20:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:01 Configure a credential helper to remove this warning. See 20:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:01 20:14:01 Login Succeeded 20:14:01 nexus3.edgexfoundry.org:10004 20:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:01 Configure a credential helper to remove this warning. See 20:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:01 20:14:01 Login Succeeded 20:14:01 docker.io 20:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:01 Configure a credential helper to remove this warning. See 20:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:01 20:14:01 Login Succeeded 20:14:01 ---> docker-login.sh ends [Pipeline] } 20:14:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:14:01 + git rev-list -1 --merges 7c6ac4817152c05b6d10c666684092cab341b2e8~1..7c6ac4817152c05b6d10c666684092cab341b2e8 [Pipeline] echo 20:14:02 -----------> git rev-list -1 --merges 7c6ac4817152c05b6d10c666684092cab341b2e8~1..7c6ac4817152c05b6d10c666684092cab341b2e8 7c6ac4817152c05b6d10c666684092cab341b2e8 [false] [Pipeline] sh 20:14:02 + git log --format=format:%s -1 7c6ac4817152c05b6d10c666684092cab341b2e8 [Pipeline] echo 20:14:02 ========================================================= 20:14:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:14:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:14:02 + git log --format=format:%s -1 7c6ac4817152c05b6d10c666684092cab341b2e8 [Pipeline] echo 20:14:02 [semverPrep] GIT_COMMIT: 7c6ac4817152c05b6d10c666684092cab341b2e8, Commit Message: refactor!: Renamed SecretName to SecretValueKey and SecretnPath to SecretName [Pipeline] echo 20:14:02 [semverPrep] This is not a build commit. [Pipeline] sh 20:14:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:14:02 + grep -v github /etc/ssh/ssh_known_hosts 20:14:02 + [ -e /tmp/ssh_known_hosts ] 20:14:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:14:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:14:02 + sudo tee -a /etc/ssh/ssh_known_hosts 20:14:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:14:03 20:14:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:14:03 0.1.4: Pulling from edgex-devops/py-git-semver 20:14:03 b85a868b505f: Pulling fs layer 20:14:03 e2be974225ed: Pulling fs layer 20:14:03 339a4e72a1f5: Pulling fs layer 20:14:03 988bab9f4d93: Pulling fs layer 20:14:03 1469e6f7b9e6: Pulling fs layer 20:14:03 eaf3925da568: Pulling fs layer 20:14:03 bab4dde63d76: Pulling fs layer 20:14:03 bde34c3a00c8: Pulling fs layer 20:14:03 b352a97aabf1: Pulling fs layer 20:14:03 4872d77fe225: Pulling fs layer 20:14:03 5851b861e8e6: Pulling fs layer 20:14:03 988bab9f4d93: Waiting 20:14:03 4872d77fe225: Waiting 20:14:03 b352a97aabf1: Waiting 20:14:03 1469e6f7b9e6: Waiting 20:14:03 eaf3925da568: Waiting 20:14:03 bab4dde63d76: Waiting 20:14:03 5851b861e8e6: Waiting 20:14:03 bde34c3a00c8: Waiting 20:14:03 e2be974225ed: Download complete 20:14:03 988bab9f4d93: Verifying Checksum 20:14:03 988bab9f4d93: Download complete 20:14:03 339a4e72a1f5: Verifying Checksum 20:14:03 339a4e72a1f5: Download complete 20:14:03 1469e6f7b9e6: Verifying Checksum 20:14:03 1469e6f7b9e6: Download complete 20:14:03 eaf3925da568: Verifying Checksum 20:14:03 eaf3925da568: Download complete 20:14:03 bde34c3a00c8: Verifying Checksum 20:14:03 bde34c3a00c8: Download complete 20:14:03 b352a97aabf1: Verifying Checksum 20:14:03 b352a97aabf1: Download complete 20:14:03 4872d77fe225: Download complete 20:14:03 b85a868b505f: Verifying Checksum 20:14:03 b85a868b505f: Download complete 20:14:03 5851b861e8e6: Verifying Checksum 20:14:04 bab4dde63d76: Verifying Checksum 20:14:04 bab4dde63d76: Download complete 20:14:05 b85a868b505f: Pull complete 20:14:05 e2be974225ed: Pull complete 20:14:06 339a4e72a1f5: Pull complete 20:14:06 988bab9f4d93: Pull complete 20:14:06 1469e6f7b9e6: Pull complete 20:14:06 eaf3925da568: Pull complete 20:14:08 bab4dde63d76: Pull complete 20:14:08 bde34c3a00c8: Pull complete 20:14:08 b352a97aabf1: Pull complete 20:14:08 4872d77fe225: Pull complete 20:14:08 5851b861e8e6: Pull complete 20:14:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:14:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:14:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:08 prd-ubuntu20.04-docker-8c-8g-9958 does not seem to be running inside a container 20:14:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-529 -v /w/workspace/_app-service-configurable_PR-529:/w/workspace/_app-service-configurable_PR-529:rw,z -v /w/workspace/_app-service-configurable_PR-529@tmp:/w/workspace/_app-service-configurable_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:14:09 $ docker top 8cea16d5357096bfaba7b67edf8e23b3ce536909a9872662c61fd9ce33115c8d -eo pid,comm 20:14:09 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). 20:14:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:14:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:10 [ssh-agent] Looking for ssh-agent implementation... 20:14:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:10 $ docker exec 8cea16d5357096bfaba7b67edf8e23b3ce536909a9872662c61fd9ce33115c8d ssh-agent 20:14:10 SSH_AUTH_SOCK=/tmp/ssh-g5xjUosw7qf2/agent.33 20:14:10 SSH_AGENT_PID=39 20:14:10 Running ssh-add (command line suppressed) 20:14:10 Identity added: /w/workspace/_app-service-configurable_PR-529@tmp/private_key_1789353971289715255.key (/w/workspace/_app-service-configurable_PR-529@tmp/private_key_1789353971289715255.key) 20:14:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:10 + git tag --points-at HEAD [Pipeline] } 20:14:10 $ docker exec --env ******** --env ******** 8cea16d5357096bfaba7b67edf8e23b3ce536909a9872662c61fd9ce33115c8d ssh-agent -k 20:14:10 unset SSH_AUTH_SOCK; 20:14:10 unset SSH_AGENT_PID; 20:14:10 echo Agent pid 39 killed; 20:14:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:14:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:10 [ssh-agent] Looking for ssh-agent implementation... 20:14:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:10 $ docker exec 8cea16d5357096bfaba7b67edf8e23b3ce536909a9872662c61fd9ce33115c8d ssh-agent 20:14:11 SSH_AUTH_SOCK=/tmp/ssh-6aQiYH2HV5AB/agent.71 20:14:11 SSH_AGENT_PID=77 20:14:11 Running ssh-add (command line suppressed) 20:14:11 Identity added: /w/workspace/_app-service-configurable_PR-529@tmp/private_key_13154476932568886345.key (/w/workspace/_app-service-configurable_PR-529@tmp/private_key_13154476932568886345.key) 20:14:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:11 + git semver init 20:14:11 2023-03-13 20:14:11,657 [run_init] DEBUG init version:0.0.0 force:False 20:14:11 2023-03-13 20:14:11,658 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-529/.semver 20:14:11 2023-03-13 20:14:11,658 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-529/.semver 20:14:11 2023-03-13 20:14:11,658 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-529/.semver'], cwd=/w/workspace/_app-service-configurable_PR-529, universal_newlines=False, shell=None, istream=None) 20:14:12 2023-03-13 20:14:12,497 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-529/.git/info/exclude 20:14:12 2023-03-13 20:14:12,497 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-529/.semver/PR-529 with force:False 20:14:12 2023-03-13 20:14:12,498 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-529/.semver/PR-529 20:14:12 2023-03-13 20:14:12,502 [execute] INFO git cat-file --batch-check 20:14:12 2023-03-13 20:14:12,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-529/.semver, universal_newlines=False, shell=None, istream=) 20:14:12 2023-03-13 20:14:12,508 [execute] INFO git cat-file --batch 20:14:12 2023-03-13 20:14:12,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-529/.semver, universal_newlines=False, shell=None, istream=) 20:14:12 2023-03-13 20:14:12,514 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-529/.semver/PR-529 20:14:12 0.0.0 [Pipeline] } 20:14:12 $ docker exec --env ******** --env ******** 8cea16d5357096bfaba7b67edf8e23b3ce536909a9872662c61fd9ce33115c8d ssh-agent -k 20:14:12 unset SSH_AUTH_SOCK; 20:14:12 unset SSH_AGENT_PID; 20:14:12 echo Agent pid 77 killed; 20:14:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:14:13 + git semver [Pipeline] } 20:14:13 $ docker stop --time=1 8cea16d5357096bfaba7b67edf8e23b3ce536909a9872662c61fd9ce33115c8d 20:14:14 $ docker rm -f --volumes 8cea16d5357096bfaba7b67edf8e23b3ce536909a9872662c61fd9ce33115c8d [Pipeline] // withDockerContainer [Pipeline] sh 20:14:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:14:15 Stashed 1 file(s) [Pipeline] echo 20:14:15 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:15 provisioning config files... 20:14:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-529@tmp/config18340825573155128171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:15 ---> docker-login.sh 20:14:15 nexus3.edgexfoundry.org:10001 20:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:15 Configure a credential helper to remove this warning. See 20:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:15 20:14:15 Login Succeeded 20:14:15 nexus3.edgexfoundry.org:10002 20:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:15 Configure a credential helper to remove this warning. See 20:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:15 20:14:15 Login Succeeded 20:14:15 nexus3.edgexfoundry.org:10003 20:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:15 Configure a credential helper to remove this warning. See 20:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:15 20:14:15 Login Succeeded 20:14:15 nexus3.edgexfoundry.org:10004 20:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:15 Configure a credential helper to remove this warning. See 20:14:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:15 20:14:15 Login Succeeded 20:14:15 docker.io 20:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:16 Configure a credential helper to remove this warning. See 20:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:16 20:14:16 Login Succeeded 20:14:16 ---> docker-login.sh ends [Pipeline] } 20:14:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:16 ========================================================= 20:14:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:14:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:14:16 Sending build context to Docker daemon 3.226MB 20:14:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:14:16 Step 2/12 : FROM ${BASE} AS builder 20:14:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:16 63b65145d645: Pulling fs layer 20:14:16 a2d21d5440eb: Pulling fs layer 20:14:16 935e6c44a52c: Pulling fs layer 20:14:16 94cc34f8dd06: Pulling fs layer 20:14:16 30dea6a524f1: Pulling fs layer 20:14:16 a2aff8979fd8: Pulling fs layer 20:14:16 6808be2612f2: Pulling fs layer 20:14:16 f25807f1079a: Pulling fs layer 20:14:16 6808be2612f2: Waiting 20:14:16 a2aff8979fd8: Waiting 20:14:16 94cc34f8dd06: Waiting 20:14:16 30dea6a524f1: Waiting 20:14:16 f25807f1079a: Waiting 20:14:16 a2d21d5440eb: Verifying Checksum 20:14:16 a2d21d5440eb: Download complete 20:14:16 94cc34f8dd06: Download complete 20:14:16 30dea6a524f1: Verifying Checksum 20:14:16 30dea6a524f1: Download complete 20:14:16 63b65145d645: Verifying Checksum 20:14:16 63b65145d645: Download complete 20:14:16 a2aff8979fd8: Verifying Checksum 20:14:16 a2aff8979fd8: Download complete 20:14:16 63b65145d645: Pull complete 20:14:17 a2d21d5440eb: Pull complete 20:14:17 f25807f1079a: Verifying Checksum 20:14:17 f25807f1079a: Download complete 20:14:17 935e6c44a52c: Verifying Checksum 20:14:17 935e6c44a52c: Download complete 20:14:17 6808be2612f2: Verifying Checksum 20:14:17 6808be2612f2: Download complete 20:14:21 935e6c44a52c: Pull complete 20:14:21 94cc34f8dd06: Pull complete 20:14:21 30dea6a524f1: Pull complete 20:14:21 a2aff8979fd8: Pull complete 20:14:23 6808be2612f2: Pull complete 20:14:24 f25807f1079a: Pull complete 20:14:24 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:14:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:14:24 ---> 3b553350e43f 20:14:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:14:26 ---> Running in a7cb3c310a19 20:14:26 Removing intermediate container a7cb3c310a19 20:14:26 ---> 16aec22fe9e2 20:14:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:14:26 ---> Running in 9304b506d860 20:14:26 Removing intermediate container 9304b506d860 20:14:26 ---> 41667ad7a268 20:14:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:14:26 ---> Running in 508558fe1bc4 20:14:26 Removing intermediate container 508558fe1bc4 20:14:26 ---> a70b069237ee 20:14:26 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:26 ---> Running in 6d15d391ca70 20:14:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:14:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:14:27 OK: 265 MiB in 53 packages 20:14:27 Removing intermediate container 6d15d391ca70 20:14:27 ---> 171b8ca823ed 20:14:27 Step 7/12 : WORKDIR /app 20:14:27 ---> Running in 8e00f00fd8e6 20:14:27 Removing intermediate container 8e00f00fd8e6 20:14:27 ---> 942abfd1aa36 20:14:27 Step 8/12 : COPY go.mod vendor* ./ 20:14:27 ---> 3337fb9dde66 20:14:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:28 ---> Running in 3e65375dc027 20:14:30 Still waiting to schedule task 20:14:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:15:06 Removing intermediate container 3e65375dc027 20:15:06 ---> 940b127c02ee 20:15:06 Step 10/12 : COPY . . 20:15:07 ---> e72f4c268a78 20:15:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:15:07 ---> Running in 27799ad1459e 20:15:07 Removing intermediate container 27799ad1459e 20:15:07 ---> 1273388af074 20:15:07 Step 12/12 : RUN $MAKE 20:15:07 ---> Running in 83b662dcc59f 20:15:07 noop 20:15:07 Removing intermediate container 83b662dcc59f 20:15:07 ---> 3e7aa79c43a0 20:15:07 Successfully built 3e7aa79c43a0 20:15:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:08 + docker inspect -f . ci-base-image-x86_64 20:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:08 prd-ubuntu20.04-docker-8c-8g-9958 does not seem to be running inside a container 20:15:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-529 -v /w/workspace/_app-service-configurable_PR-529:/w/workspace/_app-service-configurable_PR-529:rw,z -v /w/workspace/_app-service-configurable_PR-529@tmp:/w/workspace/_app-service-configurable_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:15:08 $ docker top 9b52d3ee38e319ac794841e671f5249f50c3c7b55c4008a130172e6700857bc0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:09 + go version 20:15:09 go version go1.20.2 linux/amd64 [Pipeline] } 20:15:09 $ docker stop --time=1 9b52d3ee38e319ac794841e671f5249f50c3c7b55c4008a130172e6700857bc0 20:15:10 $ docker rm -f --volumes 9b52d3ee38e319ac794841e671f5249f50c3c7b55c4008a130172e6700857bc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:10 + docker inspect -f . ci-base-image-x86_64 20:15:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:10 prd-ubuntu20.04-docker-8c-8g-9958 does not seem to be running inside a container 20:15:10 $ 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-529 -v /w/workspace/_app-service-configurable_PR-529:/w/workspace/_app-service-configurable_PR-529:rw,z -v /w/workspace/_app-service-configurable_PR-529@tmp:/w/workspace/_app-service-configurable_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:15:11 $ docker top 20eae105366e6260681e30def1db48a43958e60c36aeccb760a20db63584d6c7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:11 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-529 [Pipeline] fileExists [Pipeline] sh 20:15:11 + make test 20:15:11 go test -race -coverprofile=coverage.out ./... 20:15:29 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:15:29 go vet ./... 20:15:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:44 ./bin/test-attribution-txt.sh [Pipeline] echo 20:15:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:44 $ docker stop --time=1 20eae105366e6260681e30def1db48a43958e60c36aeccb760a20db63584d6c7 20:15:47 $ docker rm -f --volumes 20eae105366e6260681e30def1db48a43958e60c36aeccb760a20db63584d6c7 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:48 + ls -al . 20:15:48 total 172 20:15:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 20:15 . 20:15:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 20:13 .. 20:15:48 -rw-rw-r-- 1 jenkins jenkins 119 Mar 13 20:13 .dockerignore 20:15:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 20:14 .git 20:15:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 20:13 .github 20:15:48 -rw-rw-r-- 1 jenkins jenkins 171 Mar 13 20:13 .gitignore 20:15:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 20:14 .semver 20:15:48 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 13 20:13 Attribution.txt 20:15:48 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 13 20:13 CHANGELOG.md 20:15:48 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 13 20:13 Dockerfile 20:15:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 20:13 GOVERNANCE.md 20:15:48 -rw-rw-r-- 1 jenkins jenkins 688 Mar 13 20:13 Jenkinsfile 20:15:48 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 13 20:13 LICENSE 20:15:48 -rw-rw-r-- 1 jenkins jenkins 618 Mar 13 20:13 OWNERS.md 20:15:48 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 13 20:13 README.md 20:15:48 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 20:14 VERSION 20:15:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 20:13 bin 20:15:48 -rw-r--r-- 1 jenkins jenkins 13 Mar 13 20:15 coverage.out 20:15:48 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 13 20:13 go.mod 20:15:48 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 13 20:13 go.sum 20:15:48 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 13 20:13 main.go 20:15:48 -rw-rw-r-- 1 jenkins jenkins 2078 Mar 13 20:13 makefile 20:15:48 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 20:13 res 20:15:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 20:13 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:49 + 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=7c6ac4817152c05b6d10c666684092cab341b2e8 --label arch=amd64 --label version=0.0.0 . 20:15:49 Sending build context to Docker daemon 3.227MB 20:15:49 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:15:49 Step 2/26 : FROM ${BASE} AS builder 20:15:49 ---> 3e7aa79c43a0 20:15:49 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:15:49 ---> Running in 49555fbbc504 20:15:49 Removing intermediate container 49555fbbc504 20:15:49 ---> 1cf45ce55b75 20:15:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:15:49 ---> Running in 3725671dc1b0 20:15:49 Removing intermediate container 3725671dc1b0 20:15:49 ---> ef3fc23a9ba5 20:15:49 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:15:49 ---> Running in f20b1c8f26c2 20:15:49 Removing intermediate container f20b1c8f26c2 20:15:49 ---> 7cd17e63d80d 20:15:49 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:49 ---> Running in a836b28556b5 20:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:15:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:15:50 OK: 265 MiB in 53 packages 20:15:50 Removing intermediate container a836b28556b5 20:15:50 ---> e0b47cc7401a 20:15:50 Step 7/26 : WORKDIR /app 20:15:50 ---> Running in 8753fe2d1c3f 20:15:50 Removing intermediate container 8753fe2d1c3f 20:15:50 ---> 93e7dbcecb1a 20:15:50 Step 8/26 : COPY go.mod vendor* ./ 20:15:51 ---> 296257f47a1c 20:15:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:51 ---> Running in daf1d7ea13e2 20:15:51 Removing intermediate container daf1d7ea13e2 20:15:51 ---> dd7b7b6960fc 20:15:51 Step 10/26 : COPY . . 20:15:52 ---> 1ae113422137 20:15:52 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:15:52 ---> Running in 2d512fdbc3a9 20:15:52 Removing intermediate container 2d512fdbc3a9 20:15:52 ---> 587b611b64d9 20:15:52 Step 12/26 : RUN $MAKE 20:15:52 ---> Running in 6d6139786e08 20:15:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 20:16:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9959 in /w/workspace/_app-service-configurable_PR-529 [Pipeline] { [Pipeline] ws 20:16:03 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 20:16:03 Selected Git installation does not exist. Using Default 20:16:03 The recommended git tool is: NONE 20:16:08 using credential edgex-jenkins-ssh 20:16:08 Cloning the remote Git repository 20:16:08 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 20:16:08 > git init /w/workspace/app-service-configurable/2 # timeout=10 20:16:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:16:08 > git --version # timeout=10 20:16:08 > git --version # 'git version 2.25.1' 20:16:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:16:10 Removing intermediate container 6d6139786e08 20:16:10 ---> 3e33fb6c3833 20:16:10 Step 13/26 : FROM alpine:3.16 20:16:10 3.16: Pulling from library/alpine 20:16:10 ef5531b6e74e: Pulling fs layer 20:16:10 ef5531b6e74e: Verifying Checksum 20:16:10 ef5531b6e74e: Download complete 20:16:10 ef5531b6e74e: Pull complete 20:16:10 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 20:16:10 Status: Downloaded newer image for alpine:3.16 20:16:10 ---> dfd21b5a31f5 20:16:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:16:10 ---> Running in 9a6d6bd60d9e 20:16:10 Removing intermediate container 9a6d6bd60d9e 20:16:10 ---> 4828181c3d93 20:16:10 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 20:16:10 ---> Running in 8e801bb36158 20:16:10 Removing intermediate container 8e801bb36158 20:16:10 ---> 76ba99055ad8 20:16:10 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:16:10 ---> Running in 4c9dca4e4609 20:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:16:10 (1/2) Installing ca-certificates (20220614-r0) 20:16:10 (2/2) Installing dumb-init (1.2.5-r1) 20:16:10 Executing busybox-1.35.0-r17.trigger 20:16:10 Executing ca-certificates-20220614-r0.trigger 20:16:10 OK: 6 MiB in 16 packages 20:16:10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:16:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:16:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:16:11 Removing intermediate container 4c9dca4e4609 20:16:11 ---> ca291bcf109a 20:16:11 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:16:11 ---> 30f77eaabfb2 20:16:11 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:16:11 ---> 053eabb7f899 20:16:11 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:16:11 ---> dbd705a49d48 20:16:11 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:16:11 Merging remotes/origin/main commit 9924ce3792302461657905c814d890402047d1ca into PR head commit 7c6ac4817152c05b6d10c666684092cab341b2e8 20:16:11 ---> 8d0f5560c8df 20:16:11 Step 21/26 : EXPOSE 48095 20:16:11 ---> Running in 75f19a1b0562 20:16:11 Merge succeeded, producing 7c6ac4817152c05b6d10c666684092cab341b2e8 20:16:11 Checking out Revision 7c6ac4817152c05b6d10c666684092cab341b2e8 (PR-529) 20:16:12 Removing intermediate container 75f19a1b0562 20:16:12 ---> 80733955e3fd 20:16:12 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 20:16:12 ---> Running in ad2e4555eb37 20:16:12 Removing intermediate container ad2e4555eb37 20:16:12 ---> c712128484fc 20:16:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:16:12 ---> Running in 625a85d7d765 20:16:12 Removing intermediate container 625a85d7d765 20:16:12 ---> 7119b0a5f569 20:16:12 Step 24/26 : LABEL arch=amd64 20:16:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:16:11 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/529/head:refs/remotes/origin/PR-529 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:16:11 > git config core.sparsecheckout # timeout=10 20:16:11 > git checkout -f 7c6ac4817152c05b6d10c666684092cab341b2e8 # timeout=10 20:16:11 > git remote # timeout=10 20:16:11 > git config --get remote.origin.url # timeout=10 20:16:11 using GIT_SSH to set credentials SSH Credentials for GitHub 20:16:11 > git merge 9924ce3792302461657905c814d890402047d1ca # timeout=10 20:16:11 > git rev-parse HEAD^{commit} # timeout=10 20:16:11 > git config core.sparsecheckout # timeout=10 20:16:11 > git checkout -f 7c6ac4817152c05b6d10c666684092cab341b2e8 # timeout=10 20:16:12 ---> Running in 070e02bada9a 20:16:12 Removing intermediate container 070e02bada9a 20:16:12 ---> 0030fca37b34 20:16:12 Step 25/26 : LABEL git_sha=7c6ac4817152c05b6d10c666684092cab341b2e8 20:16:12 ---> Running in f0f047d1ff51 20:16:12 Removing intermediate container f0f047d1ff51 20:16:12 ---> d04c6f689f76 20:16:12 Step 26/26 : LABEL version=0.0.0 20:16:12 ---> Running in 659a176a29a0 20:16:12 Removing intermediate container 659a176a29a0 20:16:12 ---> 623b506e6331 20:16:12 [Warning] One or more build-args [ARCH] were not consumed 20:16:12 Successfully built 623b506e6331 20:16:12 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:13 20:16:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:13 latest: Pulling from edgex-lftools-log-publisher 20:16:13 5eb5b503b376: Pulling fs layer 20:16:13 5c69ac0246d0: Pulling fs layer 20:16:13 ec43610c2a17: Pulling fs layer 20:16:13 3a2ae6a8a46f: Pulling fs layer 20:16:13 33b1e0a273af: Pulling fs layer 20:16:13 5d3b04190fa2: Pulling fs layer 20:16:13 2f39f015ded8: Pulling fs layer 20:16:13 33b1e0a273af: Waiting 20:16:13 5d3b04190fa2: Waiting 20:16:13 2f39f015ded8: Waiting 20:16:13 3a2ae6a8a46f: Waiting 20:16:13 5c69ac0246d0: Download complete 20:16:13 3a2ae6a8a46f: Download complete 20:16:13 ec43610c2a17: Verifying Checksum 20:16:13 ec43610c2a17: Download complete 20:16:13 33b1e0a273af: Verifying Checksum 20:16:13 33b1e0a273af: Download complete 20:16:13 5d3b04190fa2: Download complete 20:16:14 5eb5b503b376: Verifying Checksum 20:16:14 5eb5b503b376: Download complete 20:16:15 2f39f015ded8: Verifying Checksum 20:16:15 2f39f015ded8: Download complete 20:16:15 5eb5b503b376: Pull complete 20:16:15 5c69ac0246d0: Pull complete 20:16:15 Commit message: "refactor!: Renamed SecretName to SecretValueKey and SecretnPath to SecretName" 20:16:15 20:16:15 GitHub has been notified of this commit’s build result 20:16:15 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:16:16 ec43610c2a17: Pull complete 20:16:16 3a2ae6a8a46f: Pull complete 20:16:16 33b1e0a273af: Pull complete 20:16:16 5d3b04190fa2: Pull complete 20:16:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:16:16 % Total % Received % Xferd Average Speed Time Time Time Current 20:16:16 Dload Upload Total Spent Left Speed 20:16:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 20:16:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:16:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:16:17 + sudo tee /etc/docker/daemon.new 20:16:17 { 20:16:17 "registry-mirrors": [ 20:16:17 "https://nexus3.edgexfoundry.org:10001" 20:16:17 ], 20:16:17 "bip": "10.250.0.254/24", 20:16:17 "hosts": [ 20:16:17 "tcp://0.0.0.0:5555", 20:16:17 "unix:///var/run/docker.sock" 20:16:17 ], 20:16:17 "mtu": 1458, 20:16:17 "selinux-enabled": true, 20:16:17 "seccomp-profile": "/etc/docker/seccomp.json" 20:16:17 } [Pipeline] sh 20:16:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:16:18 + sudo service docker restart 20:16:20 2f39f015ded8: Pull complete 20:16:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:16:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:16:20 prd-ubuntu20.04-docker-8c-8g-9958 does not seem to be running inside a container 20:16:20 $ 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-529 -v /w/workspace/_app-service-configurable_PR-529:/w/workspace/_app-service-configurable_PR-529:rw,z -v /w/workspace/_app-service-configurable_PR-529@tmp:/w/workspace/_app-service-configurable_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:16:22 $ docker top fc72ca04b1961b67f4d4d9cf4d7298a605371140f3ae8a4428a69bf903bebf45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:22 ---> job-cost.sh 20:16:22 lf-activate-venv: SKIPPING 20:16:22 INFO: No Stack... 20:16:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:16:23 INFO: Archiving Costs [Pipeline] sh 20:16:23 + cat /w/workspace/_app-service-configurable_PR-529/archives/cost.csv 20:16:23 + cut -d, -f6 [Pipeline] lock 20:16:23 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-529-2-stack-cost] 20:16:23 Resource [jenkins-edgexfoundry-app-service-configurable-PR-529-2-stack-cost] did not exist. Created. 20:16:23 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-529-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:16:23 + echo total: 0.2199999988079071 [Pipeline] stash 20:16:23 Stashed 1 file(s) [Pipeline] } 20:16:23 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-529-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:16:23 $ docker stop --time=1 fc72ca04b1961b67f4d4d9cf4d7298a605371140f3ae8a4428a69bf903bebf45 20:16:25 $ docker rm -f --volumes fc72ca04b1961b67f4d4d9cf4d7298a605371140f3ae8a4428a69bf903bebf45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:16:36 provisioning config files... 20:16:36 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config6340692719499044136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:36 ---> docker-login.sh 20:16:36 nexus3.edgexfoundry.org:10001 20:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:37 Configure a credential helper to remove this warning. See 20:16:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:37 20:16:37 Login Succeeded 20:16:37 nexus3.edgexfoundry.org:10002 20:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:37 Configure a credential helper to remove this warning. See 20:16:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:37 20:16:37 Login Succeeded 20:16:37 nexus3.edgexfoundry.org:10003 20:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:38 Configure a credential helper to remove this warning. See 20:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:38 20:16:38 Login Succeeded 20:16:38 nexus3.edgexfoundry.org:10004 20:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:38 Configure a credential helper to remove this warning. See 20:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:38 20:16:38 Login Succeeded 20:16:38 docker.io 20:16:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:16:38 Configure a credential helper to remove this warning. See 20:16:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:16:38 20:16:38 Login Succeeded 20:16:38 ---> docker-login.sh ends [Pipeline] } 20:16:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:16:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:16:39 ========================================================= 20:16:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:16:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:16:39 Sending build context to Docker daemon 176.6kB 20:16:39 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:16:39 Step 2/12 : FROM ${BASE} AS builder 20:16:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:16:41 af6eaf76a39c: Pulling fs layer 20:16:41 55522c791124: Pulling fs layer 20:16:41 ce5c4a1c91eb: Pulling fs layer 20:16:41 169dfbe0d373: Pulling fs layer 20:16:41 e1ff8fa3b103: Pulling fs layer 20:16:41 52ebb69f0ebf: Pulling fs layer 20:16:41 5abe8eddf0d5: Pulling fs layer 20:16:41 169dfbe0d373: Waiting 20:16:41 e1ff8fa3b103: Waiting 20:16:41 52ebb69f0ebf: Waiting 20:16:41 5abe8eddf0d5: Waiting 20:16:41 55522c791124: Download complete 20:16:41 169dfbe0d373: Verifying Checksum 20:16:41 169dfbe0d373: Download complete 20:16:41 e1ff8fa3b103: Verifying Checksum 20:16:41 e1ff8fa3b103: Download complete 20:16:41 af6eaf76a39c: Verifying Checksum 20:16:41 af6eaf76a39c: Download complete 20:16:42 af6eaf76a39c: Pull complete 20:16:42 5abe8eddf0d5: Verifying Checksum 20:16:42 5abe8eddf0d5: Download complete 20:16:43 55522c791124: Pull complete 20:16:44 ce5c4a1c91eb: Verifying Checksum 20:16:44 ce5c4a1c91eb: Download complete 20:16:44 52ebb69f0ebf: Verifying Checksum 20:16:44 52ebb69f0ebf: Download complete 20:16:56 ce5c4a1c91eb: Pull complete 20:16:56 169dfbe0d373: Pull complete 20:16:56 e1ff8fa3b103: Pull complete 20:17:02 52ebb69f0ebf: Pull complete 20:17:04 5abe8eddf0d5: Pull complete 20:17:04 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:17:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:17:04 ---> 6cb57ee374ae 20:17:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:17:06 ---> Running in 982262534a96 20:17:06 Removing intermediate container 982262534a96 20:17:06 ---> 8c73d4ec0020 20:17:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:17:06 ---> Running in ca35e1b7a65b 20:17:06 Removing intermediate container ca35e1b7a65b 20:17:06 ---> a304fb3d650e 20:17:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:17:06 ---> Running in e55d63b7614b 20:17:06 Removing intermediate container e55d63b7614b 20:17:06 ---> 714c775e7d7c 20:17:06 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:06 ---> Running in 29e3f23bdab4 20:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:17:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:17:09 OK: 263 MiB in 53 packages 20:17:10 Removing intermediate container 29e3f23bdab4 20:17:10 ---> 02169aeaa4d6 20:17:10 Step 7/12 : WORKDIR /app 20:17:10 ---> Running in 53b28418cc81 20:17:10 Removing intermediate container 53b28418cc81 20:17:10 ---> e87b4ae6fab6 20:17:10 Step 8/12 : COPY go.mod vendor* ./ 20:17:11 ---> 757366c3c09b 20:17:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:11 ---> Running in 1dda048a75ab 20:18:19 Removing intermediate container 1dda048a75ab 20:18:19 ---> 279b7366e1ce 20:18:19 Step 10/12 : COPY . . 20:18:19 ---> 9ddc74710a9e 20:18:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:19 ---> Running in a10b51228650 20:18:19 Removing intermediate container a10b51228650 20:18:19 ---> d254ba5d45e8 20:18:19 Step 12/12 : RUN $MAKE 20:18:19 ---> Running in 200ff5ff4983 20:18:19 noop 20:18:19 Removing intermediate container 200ff5ff4983 20:18:19 ---> dcd302c7b319 20:18:19 Successfully built dcd302c7b319 20:18:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:19 + docker inspect -f . ci-base-image-arm64 20:18:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:19 prd-ubuntu20.04-docker-arm64-4c-16g-9959 does not seem to be running inside a container 20:18:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:18:21 $ docker top 694be98ea804836b583ddc89420a443ef5b78603fe2783ace4b7228b26b3e04c -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:21 + go version 20:18:21 go version go1.20.2 linux/arm64 [Pipeline] } 20:18:21 $ docker stop --time=1 694be98ea804836b583ddc89420a443ef5b78603fe2783ace4b7228b26b3e04c 20:18:23 $ docker rm -f --volumes 694be98ea804836b583ddc89420a443ef5b78603fe2783ace4b7228b26b3e04c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:24 + docker inspect -f . ci-base-image-arm64 20:18:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:24 prd-ubuntu20.04-docker-arm64-4c-16g-9959 does not seem to be running inside a container 20:18:24 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:18:25 $ docker top 53589c5b210e5e5f5f4dbcacfc617eed3d1320857fe25cad75d9857149b2a130 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:26 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 20:18:26 + make test 20:18:26 go test -race -coverprofile=coverage.out ./... 20:21:03 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:21:03 go vet ./... 20:23:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:23:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:23:25 ./bin/test-attribution-txt.sh [Pipeline] echo 20:23:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:23:25 $ docker stop --time=1 53589c5b210e5e5f5f4dbcacfc617eed3d1320857fe25cad75d9857149b2a130 20:23:27 $ docker rm -f --volumes 53589c5b210e5e5f5f4dbcacfc617eed3d1320857fe25cad75d9857149b2a130 [Pipeline] // withDockerContainer [Pipeline] sh 20:23:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:23:29 Warning: overwriting stash ‘coverage-report’ 20:23:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:23:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:23:30 + ls -al . 20:23:30 total 168 20:23:30 drwxrwxr-x 7 jenkins jenkins 4096 Mar 13 20:18 . 20:23:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 20:16 .. 20:23:30 -rw-rw-r-- 1 jenkins jenkins 119 Mar 13 20:16 .dockerignore 20:23:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 20:16 .git 20:23:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 20:16 .github 20:23:30 -rw-rw-r-- 1 jenkins jenkins 171 Mar 13 20:16 .gitignore 20:23:30 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 13 20:16 Attribution.txt 20:23:30 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 13 20:16 CHANGELOG.md 20:23:30 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 13 20:16 Dockerfile 20:23:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 20:16 GOVERNANCE.md 20:23:30 -rw-rw-r-- 1 jenkins jenkins 688 Mar 13 20:16 Jenkinsfile 20:23:30 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 13 20:16 LICENSE 20:23:30 -rw-rw-r-- 1 jenkins jenkins 618 Mar 13 20:16 OWNERS.md 20:23:30 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 13 20:16 README.md 20:23:30 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 20:14 VERSION 20:23:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 20:16 bin 20:23:30 -rw-r--r-- 1 jenkins jenkins 13 Mar 13 20:18 coverage.out 20:23:30 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 13 20:16 go.mod 20:23:30 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 13 20:16 go.sum 20:23:30 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 13 20:16 main.go 20:23:30 -rw-rw-r-- 1 jenkins jenkins 2078 Mar 13 20:16 makefile 20:23:30 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 20:16 res 20:23:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 20:16 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:30 + 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=7c6ac4817152c05b6d10c666684092cab341b2e8 --label arch=arm64 --label version=0.0.0 . 20:23:30 Sending build context to Docker daemon 177.7kB 20:23:31 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:23:31 Step 2/26 : FROM ${BASE} AS builder 20:23:31 ---> dcd302c7b319 20:23:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:23:31 ---> Running in 293f3a7044ff 20:23:31 Removing intermediate container 293f3a7044ff 20:23:31 ---> 894a461b63bd 20:23:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:23:31 ---> Running in 17c67d7a6878 20:23:31 Removing intermediate container 17c67d7a6878 20:23:31 ---> 328a03e11694 20:23:31 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:23:31 ---> Running in cc2a5240d752 20:23:32 Removing intermediate container cc2a5240d752 20:23:32 ---> fb310c78985e 20:23:32 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:23:32 ---> Running in 4bf40340bed0 20:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:23:34 OK: 263 MiB in 53 packages 20:23:35 Removing intermediate container 4bf40340bed0 20:23:35 ---> aadf81f77eb5 20:23:35 Step 7/26 : WORKDIR /app 20:23:35 ---> Running in 4dba6fa83e34 20:23:36 Removing intermediate container 4dba6fa83e34 20:23:36 ---> d445d5b262f1 20:23:36 Step 8/26 : COPY go.mod vendor* ./ 20:23:36 ---> a2f1b1454c44 20:23:36 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:23:36 ---> Running in 2b93c7366a03 20:23:40 Removing intermediate container 2b93c7366a03 20:23:40 ---> e2f33d9250db 20:23:40 Step 10/26 : COPY . . 20:23:41 ---> 3b9774564397 20:23:41 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:23:41 ---> Running in b0a2394fca44 20:23:41 Removing intermediate container b0a2394fca44 20:23:41 ---> b986f1fbf636 20:23:41 Step 12/26 : RUN $MAKE 20:23:41 ---> Running in 684c8d92334d 20:23:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 20:25:49 Removing intermediate container 684c8d92334d 20:25:49 ---> e9b9d623402b 20:25:49 Step 13/26 : FROM alpine:3.16 20:25:49 3.16: Pulling from library/alpine 20:25:49 3760b48202b3: Pulling fs layer 20:25:49 3760b48202b3: Verifying Checksum 20:25:49 3760b48202b3: Download complete 20:25:49 3760b48202b3: Pull complete 20:25:49 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 20:25:49 Status: Downloaded newer image for alpine:3.16 20:25:49 ---> 4c81e5bf8899 20:25:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:25:49 ---> Running in dd22069663e6 20:25:49 Removing intermediate container dd22069663e6 20:25:49 ---> 2a3f315ebb62 20:25:49 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 20:25:49 ---> Running in 0f01f607994b 20:25:50 Removing intermediate container 0f01f607994b 20:25:50 ---> 2f356e03a28c 20:25:50 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:25:50 ---> Running in 067e9e912a86 20:25:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:25:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:25:53 (1/2) Installing ca-certificates (20220614-r0) 20:25:53 (2/2) Installing dumb-init (1.2.5-r1) 20:25:53 Executing busybox-1.35.0-r17.trigger 20:25:53 Executing ca-certificates-20220614-r0.trigger 20:25:53 OK: 6 MiB in 16 packages 20:25:55 Removing intermediate container 067e9e912a86 20:25:55 ---> 1d4b9110ca2e 20:25:55 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:25:55 ---> 7027cc8ff946 20:25:55 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:25:55 ---> e5472587fcdf 20:25:55 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:25:56 ---> 07488495ef15 20:25:56 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:25:57 ---> 04fc898bfc07 20:25:57 Step 21/26 : EXPOSE 48095 20:25:57 ---> Running in d398c1368dd7 20:25:57 Removing intermediate container d398c1368dd7 20:25:57 ---> dcbc0a8ab835 20:25:57 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 20:25:58 ---> Running in 8689a1a10897 20:25:58 Removing intermediate container 8689a1a10897 20:25:58 ---> f14e35a0aee1 20:25:58 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:25:58 ---> Running in 15d34042f2fa 20:25:58 Removing intermediate container 15d34042f2fa 20:25:58 ---> d99d40928189 20:25:58 Step 24/26 : LABEL arch=arm64 20:25:58 ---> Running in 806af5a1884f 20:25:58 Removing intermediate container 806af5a1884f 20:25:58 ---> b730c5c65504 20:25:58 Step 25/26 : LABEL git_sha=7c6ac4817152c05b6d10c666684092cab341b2e8 20:25:59 ---> Running in a77729073051 20:25:59 Removing intermediate container a77729073051 20:25:59 ---> 6a7534c71f13 20:25:59 Step 26/26 : LABEL version=0.0.0 20:25:59 ---> Running in b69b72bf6321 20:25:59 Removing intermediate container b69b72bf6321 20:25:59 ---> 7b7a4c9b0922 20:25:59 [Warning] One or more build-args [ARCH] were not consumed 20:25:59 Successfully built 7b7a4c9b0922 20:25:59 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:26:00 20:26:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:26:00 arm64: Pulling from edgex-lftools-log-publisher 20:26:00 8998bd30e6a1: Pulling fs layer 20:26:00 04944245beec: Pulling fs layer 20:26:00 699f458cf7ca: Pulling fs layer 20:26:00 765212b225bb: Pulling fs layer 20:26:00 f23df028b6ca: Pulling fs layer 20:26:00 d65c8cfc05b1: Pulling fs layer 20:26:00 2437ff75d9bd: Pulling fs layer 20:26:00 765212b225bb: Waiting 20:26:00 f23df028b6ca: Waiting 20:26:00 d65c8cfc05b1: Waiting 20:26:00 2437ff75d9bd: Waiting 20:26:00 04944245beec: Verifying Checksum 20:26:00 04944245beec: Download complete 20:26:00 765212b225bb: Verifying Checksum 20:26:00 765212b225bb: Download complete 20:26:00 f23df028b6ca: Verifying Checksum 20:26:00 f23df028b6ca: Download complete 20:26:00 d65c8cfc05b1: Verifying Checksum 20:26:00 d65c8cfc05b1: Download complete 20:26:01 699f458cf7ca: Verifying Checksum 20:26:01 699f458cf7ca: Download complete 20:26:01 8998bd30e6a1: Verifying Checksum 20:26:01 8998bd30e6a1: Download complete 20:26:03 2437ff75d9bd: Verifying Checksum 20:26:03 2437ff75d9bd: Download complete 20:26:05 8998bd30e6a1: Pull complete 20:26:05 04944245beec: Pull complete 20:26:07 699f458cf7ca: Pull complete 20:26:07 765212b225bb: Pull complete 20:26:08 f23df028b6ca: Pull complete 20:26:08 d65c8cfc05b1: Pull complete 20:26:23 2437ff75d9bd: Pull complete 20:26:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:26:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:26:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:23 prd-ubuntu20.04-docker-arm64-4c-16g-9959 does not seem to be running inside a container 20:26:23 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:26:26 $ docker top df56355d3bff48ea5c21df30ce198d05c174a30a134ff1dd4094c70162ae4d0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:26 ---> job-cost.sh 20:26:26 lf-activate-venv: SKIPPING 20:26:26 INFO: No Stack... 20:26:27 INFO: Retrieving Pricing Info for: v3-standard-4 20:26:28 INFO: Archiving Costs [Pipeline] sh 20:26:28 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 20:26:28 + cut -d, -f6 [Pipeline] lock 20:26:28 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-529-2-stack-cost] 20:26:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-529-2-stack-cost] did not exist. Created. 20:26:28 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-529-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:26:29 /w/workspace/app-service-configurable/2@tmp/durable-d8032205/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:26:30 + echo total: 0.10999999940395355 [Pipeline] stash 20:26:30 Warning: overwriting stash ‘stack-cost’ 20:26:30 Stashed 1 file(s) [Pipeline] } 20:26:30 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-529-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:26:30 $ docker stop --time=1 df56355d3bff48ea5c21df30ce198d05c174a30a134ff1dd4094c70162ae4d0d 20:26:31 $ docker rm -f --volumes df56355d3bff48ea5c21df30ce198d05c174a30a134ff1dd4094c70162ae4d0d [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 20:26:32 provisioning config files... 20:26:32 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-529@tmp/config3713839098167154461tmp [Pipeline] { [Pipeline] sh 20:26:32 + set +x 20:26:32 + curl -s https://codecov.io/bash 20:26:32 + bash -s -- 20:26:32 20:26:32 _____ _ 20:26:32 / ____| | | 20:26:32 | | ___ __| | ___ ___ _____ __ 20:26:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:26:32 | |___| (_) | (_| | __/ (_| (_) \ V / 20:26:32 \_____\___/ \__,_|\___|\___\___/ \_/ 20:26:32 Bash-1.0.6 20:26:32 20:26:32 20:26:32 ==> git version 2.25.1 found 20:26:32 ==> 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 20:26:32 Release-Date: 2020-01-08 20:26:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:26:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:26:32 ==> Jenkins CI detected. 20:26:32 current dir:  /w/workspace/_app-service-configurable_PR-529 20:26:32 project root: . 20:26:32 --> token set from env 20:26:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:26:32 ==> Running gcov in . (disable via -X gcov) 20:26:32 ==> Python coveragepy not found 20:26:32 ==> Searching for coverage reports in: 20:26:32 + . 20:26:32 -> Found 1 reports 20:26:32 ==> Detecting git/mercurial file structure 20:26:32 ==> Reading reports 20:26:32 + ./coverage.out bytes=13 20:26:32 ==> Appending adjustments 20:26:32 https://docs.codecov.io/docs/fixing-reports 20:26:32 + Found adjustments 20:26:32 ==> Gzipping contents 20:26:32 4.0K /tmp/codecov.1AwLjF.gz 20:26:32 ==> Uploading reports 20:26:32 url: https://codecov.io 20:26:32 query: branch=PR-529&commit=7c6ac4817152c05b6d10c666684092cab341b2e8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-529%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=529&job=&cmd_args= 20:26:32 -> Pinging Codecov 20:26:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-529&commit=7c6ac4817152c05b6d10c666684092cab341b2e8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-529%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=529&job=&cmd_args= 20:26:32 -> Uploading to 20:26:32 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/A97CA9966030D2A3747ED39772930CCE/7c6ac4817152c05b6d10c666684092cab341b2e8/f0262860-cdca-4a5a-999e-e8b1bc22bbe1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T202632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=479a41fa457088ce3d5b7e0028649f8043a851b24c189ed07e2b64f9f729bc7e 20:26:32 % Total % Received % Xferd Average Speed Time Time Time Current 20:26:32 Dload Upload Total Spent Left Speed 20:26:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 1992 --:--:-- --:--:-- --:--:-- 1992 20:26:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/7c6ac4817152c05b6d10c666684092cab341b2e8 [Pipeline] } 20:26:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:26:33 + [ -d /w/workspace/_app-service-configurable_PR-529/archives ] 20:26:33 + ls -al /w/workspace/_app-service-configurable_PR-529/archives 20:26:33 total 16 20:26:33 drwxr-xr-x 3 root root 4096 Mar 13 20:16 . 20:26:33 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 20:16 .. 20:26:33 drwxr-xr-x 2 root root 4096 Mar 13 20:16 cost 20:26:33 -rw-r--r-- 1 root root 96 Mar 13 20:16 cost.csv 20:26:33 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-529/archives 20:26:33 + ls -al /w/workspace/_app-service-configurable_PR-529/archives 20:26:33 total 16 20:26:33 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 20:16 . 20:26:33 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 20:16 .. 20:26:33 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 20:16 cost 20:26:33 -rw-r--r-- 1 jenkins jenkins 96 Mar 13 20:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:26:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:26:34 ---> package-listing.sh 20:26:34 ++ facter osfamily 20:26:34 ++ tr '[:upper:]' '[:lower:]' 20:26:35 + OS_FAMILY=debian 20:26:35 + workspace=/w/workspace/_app-service-configurable_PR-529 20:26:35 + START_PACKAGES=/tmp/packages_start.txt 20:26:35 + END_PACKAGES=/tmp/packages_end.txt 20:26:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:26:35 + PACKAGES=/tmp/packages_start.txt 20:26:35 + '[' /w/workspace/_app-service-configurable_PR-529 ']' 20:26:35 + PACKAGES=/tmp/packages_end.txt 20:26:35 + case "${OS_FAMILY}" in 20:26:35 + dpkg -l 20:26:35 + grep '^ii' 20:26:35 + '[' -f /tmp/packages_start.txt ']' 20:26:35 + '[' -f /tmp/packages_end.txt ']' 20:26:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:26:35 + '[' /w/workspace/_app-service-configurable_PR-529 ']' 20:26:35 + mkdir -p /w/workspace/_app-service-configurable_PR-529/archives/ 20:26:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-529/archives/ [Pipeline] echo 20:26:35 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-529/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:26:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:26:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:36 prd-ubuntu20.04-docker-8c-8g-9958 does not seem to be running inside a container 20:26:36 $ 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-529/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-529 -v /w/workspace/_app-service-configurable_PR-529:/w/workspace/_app-service-configurable_PR-529:rw,z -v /w/workspace/_app-service-configurable_PR-529@tmp:/w/workspace/_app-service-configurable_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:26:36 $ docker top d09ff4921dce7a986909553e44a94eb9df2d44346a8dfda4385b700a0e29671c -eo pid,comm [Pipeline] { [Pipeline] sh 20:26:36 + touch /tmp/pre-build-complete [Pipeline] sh 20:26:36 + mkdir -p /var/log/sysstat [Pipeline] sh 20:26:37 + ls /var/log/sa-host 20:26:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:37 provisioning config files... 20:26:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-529@tmp/config3654324327049814102tmp [Pipeline] { [Pipeline] echo 20:26:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:26:37 ---> create-netrc.sh [Pipeline] } 20:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:26:38 ---> python-tools-install.sh [Pipeline] echo 20:26:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:26:38 ---> sudo-logs.sh 20:26:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:26:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:26:38 ---> job-cost.sh 20:26:38 lf-activate-venv: SKIPPING 20:26:38 DEBUG: total: 0.2199999988079071 20:26:38 INFO: Retrieving Stack Cost... 20:26:39 INFO: Retrieving Pricing Info for: v3-standard-8 20:26:39 INFO: Archiving Costs [Pipeline] echo 20:26:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:26:39 ---> logs-deploy.sh 20:26:39 lf-activate-venv: SKIPPING 20:26:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-529/2 20:26:39 INFO: archiving workspace using pattern(s): 20:26:40 Archives upload complete. 20:26:40 INFO: archiving logs to Nexus