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 4262ae92de75f634a2653c10d882794606e427a7 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-ssh12658774149675639715.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-ssh6519028154829704935.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-ssh3459409944279826198.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-ssh18116784190715874960.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-ssh7950829758719728069.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9984 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 4262ae92de75f634a2653c10d882794606e427a7 > 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 4262ae92de75f634a2653c10d882794606e427a7 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 4262ae92de75f634a2653c10d882794606e427a7 Checking out Revision 4262ae92de75f634a2653c10d882794606e427a7 (PR-529) > 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 4262ae92de75f634a2653c10d882794606e427a7 # timeout=10 Commit message: "refactor!: Renamed SecretName to SecretValueKey and SecretnPath to SecretName" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 7c6ac4817152c05b6d10c666684092cab341b2e8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:57:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:57:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:57:28 ========================================================= 22:57:28 EdgeX Global Pipelines Version Info 22:57:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:57:29 ------------------- 22:57:29 stable info: 22:57:29 ------------------- 22:57:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:57:29 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:57:29 Message: update stable to v1.0.245 22:57:29 ------------------- 22:57:29 experimental info: 22:57:29 ------------------- 22:57:29 Commited By: **** collab-it+edgex@linuxfoundation.org 22:57:29 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:57:29 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-529 [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-529 [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-529 [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4262ae92de75f634a2653c10d882794606e427a7 [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4262ae9 [Pipeline] echo 22:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:30 provisioning config files... 22:57:30 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-529@tmp/config5259480824997194936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:30 ---> docker-login.sh 22:57:30 nexus3.edgexfoundry.org:10001 22:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:31 Configure a credential helper to remove this warning. See 22:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:31 22:57:31 Login Succeeded 22:57:31 nexus3.edgexfoundry.org:10002 22:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:31 Configure a credential helper to remove this warning. See 22:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:31 22:57:31 Login Succeeded 22:57:31 nexus3.edgexfoundry.org:10003 22:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:31 Configure a credential helper to remove this warning. See 22:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:31 22:57:31 Login Succeeded 22:57:31 nexus3.edgexfoundry.org:10004 22:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:31 Configure a credential helper to remove this warning. See 22:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:31 22:57:31 Login Succeeded 22:57:31 docker.io 22:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:31 Configure a credential helper to remove this warning. See 22:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:31 22:57:31 Login Succeeded 22:57:31 ---> docker-login.sh ends [Pipeline] } 22:57:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:57:32 + git rev-list -1 --merges 4262ae92de75f634a2653c10d882794606e427a7~1..4262ae92de75f634a2653c10d882794606e427a7 [Pipeline] echo 22:57:32 -----------> git rev-list -1 --merges 4262ae92de75f634a2653c10d882794606e427a7~1..4262ae92de75f634a2653c10d882794606e427a7 4262ae92de75f634a2653c10d882794606e427a7 [false] [Pipeline] sh 22:57:32 + git log --format=format:%s -1 4262ae92de75f634a2653c10d882794606e427a7 [Pipeline] echo 22:57:32 ========================================================= 22:57:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:57:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:33 + git log --format=format:%s -1 4262ae92de75f634a2653c10d882794606e427a7 [Pipeline] echo 22:57:33 [semverPrep] GIT_COMMIT: 4262ae92de75f634a2653c10d882794606e427a7, Commit Message: refactor!: Renamed SecretName to SecretValueKey and SecretnPath to SecretName [Pipeline] echo 22:57:33 [semverPrep] This is not a build commit. [Pipeline] sh 22:57:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:57:33 + grep -v github /etc/ssh/ssh_known_hosts 22:57:33 + [ -e /tmp/ssh_known_hosts ] 22:57:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:57:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:57:33 + sudo tee -a /etc/ssh/ssh_known_hosts 22:57:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:33 22:57:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:34 0.1.4: Pulling from edgex-devops/py-git-semver 22:57:34 b85a868b505f: Pulling fs layer 22:57:34 e2be974225ed: Pulling fs layer 22:57:34 339a4e72a1f5: Pulling fs layer 22:57:34 988bab9f4d93: Pulling fs layer 22:57:34 1469e6f7b9e6: Pulling fs layer 22:57:34 eaf3925da568: Pulling fs layer 22:57:34 eaf3925da568: Waiting 22:57:34 bab4dde63d76: Pulling fs layer 22:57:34 1469e6f7b9e6: Waiting 22:57:34 bde34c3a00c8: Pulling fs layer 22:57:34 b352a97aabf1: Pulling fs layer 22:57:34 bab4dde63d76: Waiting 22:57:34 988bab9f4d93: Waiting 22:57:34 4872d77fe225: Pulling fs layer 22:57:34 5851b861e8e6: Pulling fs layer 22:57:34 b352a97aabf1: Waiting 22:57:34 bde34c3a00c8: Waiting 22:57:34 5851b861e8e6: Waiting 22:57:34 4872d77fe225: Waiting 22:57:34 e2be974225ed: Verifying Checksum 22:57:34 e2be974225ed: Download complete 22:57:34 988bab9f4d93: Verifying Checksum 22:57:34 988bab9f4d93: Download complete 22:57:34 1469e6f7b9e6: Verifying Checksum 22:57:34 1469e6f7b9e6: Download complete 22:57:34 339a4e72a1f5: Verifying Checksum 22:57:34 339a4e72a1f5: Download complete 22:57:34 eaf3925da568: Verifying Checksum 22:57:34 bde34c3a00c8: Verifying Checksum 22:57:34 bde34c3a00c8: Download complete 22:57:34 b352a97aabf1: Download complete 22:57:34 4872d77fe225: Verifying Checksum 22:57:34 4872d77fe225: Download complete 22:57:34 5851b861e8e6: Verifying Checksum 22:57:34 5851b861e8e6: Download complete 22:57:34 b85a868b505f: Verifying Checksum 22:57:34 b85a868b505f: Download complete 22:57:34 bab4dde63d76: Verifying Checksum 22:57:34 bab4dde63d76: Download complete 22:57:35 b85a868b505f: Pull complete 22:57:35 e2be974225ed: Pull complete 22:57:36 339a4e72a1f5: Pull complete 22:57:36 988bab9f4d93: Pull complete 22:57:36 1469e6f7b9e6: Pull complete 22:57:36 eaf3925da568: Pull complete 22:57:38 bab4dde63d76: Pull complete 22:57:38 bde34c3a00c8: Pull complete 22:57:38 b352a97aabf1: Pull complete 22:57:38 4872d77fe225: Pull complete 22:57:38 5851b861e8e6: Pull complete 22:57:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:57:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:39 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 22:57:39 $ 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 22:57:40 $ docker top 26397cd9a581439a7ce8b0e1641a4a362a356bbf24b9b953a9061acddf214ffd -eo pid,comm 22:57:40 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). 22:57:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:57:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:40 [ssh-agent] Looking for ssh-agent implementation... 22:57:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:40 $ docker exec 26397cd9a581439a7ce8b0e1641a4a362a356bbf24b9b953a9061acddf214ffd ssh-agent 22:57:40 SSH_AUTH_SOCK=/tmp/ssh-rfEczM2wmlCy/agent.31 22:57:40 SSH_AGENT_PID=37 22:57:40 Running ssh-add (command line suppressed) 22:57:40 Identity added: /w/workspace/_app-service-configurable_PR-529@tmp/private_key_13919691605660155073.key (/w/workspace/_app-service-configurable_PR-529@tmp/private_key_13919691605660155073.key) 22:57:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:41 + git tag --points-at HEAD [Pipeline] } 22:57:41 $ docker exec --env ******** --env ******** 26397cd9a581439a7ce8b0e1641a4a362a356bbf24b9b953a9061acddf214ffd ssh-agent -k 22:57:41 unset SSH_AUTH_SOCK; 22:57:41 unset SSH_AGENT_PID; 22:57:41 echo Agent pid 37 killed; 22:57:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:57:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:41 [ssh-agent] Looking for ssh-agent implementation... 22:57:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:41 $ docker exec 26397cd9a581439a7ce8b0e1641a4a362a356bbf24b9b953a9061acddf214ffd ssh-agent 22:57:41 SSH_AUTH_SOCK=/tmp/ssh-FDkrcSZm5PdI/agent.69 22:57:41 SSH_AGENT_PID=75 22:57:41 Running ssh-add (command line suppressed) 22:57:41 Identity added: /w/workspace/_app-service-configurable_PR-529@tmp/private_key_13746087814390656108.key (/w/workspace/_app-service-configurable_PR-529@tmp/private_key_13746087814390656108.key) 22:57:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:41 + git semver init 22:57:42 2023-03-13 22:57:42,050 [run_init] DEBUG init version:0.0.0 force:False 22:57:42 2023-03-13 22:57:42,051 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-529/.semver 22:57:42 2023-03-13 22:57:42,051 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-529/.semver 22:57:42 2023-03-13 22:57:42,051 [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) 22:57:43 2023-03-13 22:57:42,861 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-529/.git/info/exclude 22:57:43 2023-03-13 22:57:42,862 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-529/.semver/PR-529 with force:False 22:57:43 2023-03-13 22:57:42,862 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-529/.semver/PR-529 22:57:43 2023-03-13 22:57:42,867 [execute] INFO git cat-file --batch-check 22:57:43 2023-03-13 22:57:42,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-529/.semver, universal_newlines=False, shell=None, istream=) 22:57:43 2023-03-13 22:57:42,874 [execute] INFO git cat-file --batch 22:57:43 2023-03-13 22:57:42,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-529/.semver, universal_newlines=False, shell=None, istream=) 22:57:43 2023-03-13 22:57:42,880 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-529/.semver/PR-529 22:57:43 0.0.0 [Pipeline] } 22:57:43 $ docker exec --env ******** --env ******** 26397cd9a581439a7ce8b0e1641a4a362a356bbf24b9b953a9061acddf214ffd ssh-agent -k 22:57:43 unset SSH_AUTH_SOCK; 22:57:43 unset SSH_AGENT_PID; 22:57:43 echo Agent pid 75 killed; 22:57:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:57:43 + git semver [Pipeline] } 22:57:43 $ docker stop --time=1 26397cd9a581439a7ce8b0e1641a4a362a356bbf24b9b953a9061acddf214ffd 22:57:45 $ docker rm -f --volumes 26397cd9a581439a7ce8b0e1641a4a362a356bbf24b9b953a9061acddf214ffd [Pipeline] // withDockerContainer [Pipeline] sh 22:57:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:57:45 Stashed 1 file(s) [Pipeline] echo 22:57:45 [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 22:57:45 provisioning config files... 22:57:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-529@tmp/config7239140028996125645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:46 ---> docker-login.sh 22:57:46 nexus3.edgexfoundry.org:10001 22:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:46 Configure a credential helper to remove this warning. See 22:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:46 22:57:46 Login Succeeded 22:57:46 nexus3.edgexfoundry.org:10002 22:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:46 Configure a credential helper to remove this warning. See 22:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:46 22:57:46 Login Succeeded 22:57:46 nexus3.edgexfoundry.org:10003 22:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:46 Configure a credential helper to remove this warning. See 22:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:46 22:57:46 Login Succeeded 22:57:46 nexus3.edgexfoundry.org:10004 22:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:46 Configure a credential helper to remove this warning. See 22:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:46 22:57:46 Login Succeeded 22:57:46 docker.io 22:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:46 Configure a credential helper to remove this warning. See 22:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:46 22:57:46 Login Succeeded 22:57:46 ---> docker-login.sh ends [Pipeline] } 22:57:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:57:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:46 ========================================================= 22:57:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:57:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:47 + 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 . 22:57:47 Sending build context to Docker daemon 3.222MB 22:57:47 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:57:47 Step 2/12 : FROM ${BASE} AS builder 22:57:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:57:47 63b65145d645: Pulling fs layer 22:57:47 a2d21d5440eb: Pulling fs layer 22:57:47 935e6c44a52c: Pulling fs layer 22:57:47 94cc34f8dd06: Pulling fs layer 22:57:47 30dea6a524f1: Pulling fs layer 22:57:47 a2aff8979fd8: Pulling fs layer 22:57:47 6808be2612f2: Pulling fs layer 22:57:47 f25807f1079a: Pulling fs layer 22:57:47 94cc34f8dd06: Waiting 22:57:47 30dea6a524f1: Waiting 22:57:47 a2aff8979fd8: Waiting 22:57:47 6808be2612f2: Waiting 22:57:47 f25807f1079a: Waiting 22:57:47 a2d21d5440eb: Download complete 22:57:47 94cc34f8dd06: Verifying Checksum 22:57:47 94cc34f8dd06: Download complete 22:57:47 30dea6a524f1: Verifying Checksum 22:57:47 30dea6a524f1: Download complete 22:57:47 63b65145d645: Verifying Checksum 22:57:47 63b65145d645: Download complete 22:57:47 a2aff8979fd8: Verifying Checksum 22:57:47 a2aff8979fd8: Download complete 22:57:47 63b65145d645: Pull complete 22:57:47 a2d21d5440eb: Pull complete 22:57:47 f25807f1079a: Verifying Checksum 22:57:47 f25807f1079a: Download complete 22:57:48 935e6c44a52c: Verifying Checksum 22:57:48 935e6c44a52c: Download complete 22:57:48 6808be2612f2: Verifying Checksum 22:57:48 6808be2612f2: Download complete 22:57:51 935e6c44a52c: Pull complete 22:57:51 94cc34f8dd06: Pull complete 22:57:51 30dea6a524f1: Pull complete 22:57:51 a2aff8979fd8: Pull complete 22:57:54 6808be2612f2: Pull complete 22:57:55 f25807f1079a: Pull complete 22:57:55 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:57:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:57:55 ---> 3b553350e43f 22:57:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:57:56 ---> Running in 4a45fe0bd54c 22:57:56 Removing intermediate container 4a45fe0bd54c 22:57:56 ---> ef8380e8e8cd 22:57:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:57:56 ---> Running in 4d76509e7704 22:57:56 Removing intermediate container 4d76509e7704 22:57:56 ---> 3034ce0478b1 22:57:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:57:56 ---> Running in edc776a04ccd 22:57:56 Removing intermediate container edc776a04ccd 22:57:56 ---> ea1311112ae9 22:57:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:56 ---> Running in c0670722e226 22:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:57:57 OK: 265 MiB in 53 packages 22:57:58 Removing intermediate container c0670722e226 22:57:58 ---> 975bd87d32bc 22:57:58 Step 7/12 : WORKDIR /app 22:57:58 ---> Running in f3ca668d4682 22:57:58 Removing intermediate container f3ca668d4682 22:57:58 ---> dd481f5a7452 22:57:58 Step 8/12 : COPY go.mod vendor* ./ 22:57:58 ---> f9bf3b821a4b 22:57:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:57:58 ---> Running in ff0b7c25c5f2 22:58:00 Still waiting to schedule task 22:58:00 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:58:16 Removing intermediate container ff0b7c25c5f2 22:58:16 ---> e135f9be5551 22:58:16 Step 10/12 : COPY . . 22:58:16 ---> ed3e9323e111 22:58:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:58:16 ---> Running in 5d4830176f24 22:58:16 Removing intermediate container 5d4830176f24 22:58:16 ---> 4121a21013c2 22:58:16 Step 12/12 : RUN $MAKE 22:58:16 ---> Running in 8443ccb24107 22:58:17 noop 22:58:17 Removing intermediate container 8443ccb24107 22:58:17 ---> 580490caad0a 22:58:17 Successfully built 580490caad0a 22:58:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:17 + docker inspect -f . ci-base-image-x86_64 22:58:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:17 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 22:58:17 $ 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 22:58:18 $ docker top 56fd2aeab1d805cf1ca73d5d9ff0c35d87aecfdb655258e2cf97033a0bdcb338 -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:18 + go version 22:58:18 go version go1.20.2 linux/amd64 [Pipeline] } 22:58:18 $ docker stop --time=1 56fd2aeab1d805cf1ca73d5d9ff0c35d87aecfdb655258e2cf97033a0bdcb338 22:58:19 $ docker rm -f --volumes 56fd2aeab1d805cf1ca73d5d9ff0c35d87aecfdb655258e2cf97033a0bdcb338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:20 + docker inspect -f . ci-base-image-x86_64 22:58:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:20 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 22:58:20 $ 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 22:58:20 $ docker top f42a23f6ecd815a552c156b4474687501871a4da5f020be7b0326fe4d19bccfb -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:21 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-529 [Pipeline] fileExists [Pipeline] sh 22:58:21 + make test 22:58:21 go test -race -coverprofile=coverage.out ./... 22:58:43 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:58:43 go vet ./... 22:58:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:58:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:58:55 ./bin/test-attribution-txt.sh [Pipeline] echo 22:58:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:58:55 $ docker stop --time=1 f42a23f6ecd815a552c156b4474687501871a4da5f020be7b0326fe4d19bccfb 22:58:57 $ docker rm -f --volumes f42a23f6ecd815a552c156b4474687501871a4da5f020be7b0326fe4d19bccfb [Pipeline] // withDockerContainer [Pipeline] sh 22:58:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:58:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:58:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:58:58 + ls -al . 22:58:58 total 172 22:58:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 22:58 . 22:58:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 22:57 .. 22:58:58 -rw-rw-r-- 1 jenkins jenkins 119 Mar 13 22:57 .dockerignore 22:58:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 22:57 .git 22:58:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 22:57 .github 22:58:58 -rw-rw-r-- 1 jenkins jenkins 171 Mar 13 22:57 .gitignore 22:58:58 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 22:57 .semver 22:58:58 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 13 22:57 Attribution.txt 22:58:58 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 13 22:57 CHANGELOG.md 22:58:58 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 13 22:57 Dockerfile 22:58:58 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 22:57 GOVERNANCE.md 22:58:58 -rw-rw-r-- 1 jenkins jenkins 688 Mar 13 22:57 Jenkinsfile 22:58:58 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 13 22:57 LICENSE 22:58:58 -rw-rw-r-- 1 jenkins jenkins 618 Mar 13 22:57 OWNERS.md 22:58:58 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 13 22:57 README.md 22:58:58 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 22:57 VERSION 22:58:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 22:57 bin 22:58:58 -rw-r--r-- 1 jenkins jenkins 13 Mar 13 22:58 coverage.out 22:58:58 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 13 22:57 go.mod 22:58:58 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 13 22:57 go.sum 22:58:58 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 13 22:57 main.go 22:58:58 -rw-rw-r-- 1 jenkins jenkins 2078 Mar 13 22:57 makefile 22:58:58 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 22:57 res 22:58:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 22:57 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:59 + 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=4262ae92de75f634a2653c10d882794606e427a7 --label arch=amd64 --label version=0.0.0 . 22:58:59 Sending build context to Docker daemon 3.223MB 22:58:59 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:58:59 Step 2/26 : FROM ${BASE} AS builder 22:58:59 ---> 580490caad0a 22:58:59 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:58:59 ---> Running in ed1f18083136 22:58:59 Removing intermediate container ed1f18083136 22:58:59 ---> bb0a53dee749 22:58:59 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:58:59 ---> Running in 1c3936375859 22:58:59 Removing intermediate container 1c3936375859 22:58:59 ---> 95f737adce0a 22:58:59 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:58:59 ---> Running in 09aec0392e71 22:58:59 Removing intermediate container 09aec0392e71 22:58:59 ---> b08c210a1abe 22:58:59 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:58:59 ---> Running in 41fbd65b88b2 22:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:59:00 OK: 265 MiB in 53 packages 22:59:00 Removing intermediate container 41fbd65b88b2 22:59:00 ---> c99b6859f7cf 22:59:00 Step 7/26 : WORKDIR /app 22:59:00 ---> Running in 39db2778b1be 22:59:00 Removing intermediate container 39db2778b1be 22:59:00 ---> 809a7a67858f 22:59:00 Step 8/26 : COPY go.mod vendor* ./ 22:59:00 ---> 3a1a95f852fe 22:59:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:59:00 ---> Running in e19e11b43ec8 22:59:01 Removing intermediate container e19e11b43ec8 22:59:01 ---> c5698dc7c285 22:59:01 Step 10/26 : COPY . . 22:59:01 ---> 1d19f159bb0b 22:59:01 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:59:01 ---> Running in 81b1dacc7020 22:59:01 Removing intermediate container 81b1dacc7020 22:59:01 ---> 65b18c96b17c 22:59:01 Step 12/26 : RUN $MAKE 22:59:01 ---> Running in e0964c6ee801 22:59:02 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 22:59:20 Removing intermediate container e0964c6ee801 22:59:20 ---> cea0bfcbbdca 22:59:20 Step 13/26 : FROM alpine:3.16 22:59:20 3.16: Pulling from library/alpine 22:59:20 ef5531b6e74e: Pulling fs layer 22:59:20 ef5531b6e74e: Verifying Checksum 22:59:20 ef5531b6e74e: Download complete 22:59:20 ef5531b6e74e: Pull complete 22:59:20 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 22:59:20 Status: Downloaded newer image for alpine:3.16 22:59:20 ---> dfd21b5a31f5 22:59:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:59:20 ---> Running in 493e467a3a5d 22:59:20 Removing intermediate container 493e467a3a5d 22:59:20 ---> 1316d0133d7c 22:59:20 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 22:59:20 ---> Running in 99a8c8e37dea 22:59:20 Removing intermediate container 99a8c8e37dea 22:59:20 ---> 8af1f2f12ea1 22:59:20 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:59:20 ---> Running in b03ddb195f7b 22:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:59:20 (1/2) Installing ca-certificates (20220614-r0) 22:59:20 (2/2) Installing dumb-init (1.2.5-r1) 22:59:20 Executing busybox-1.35.0-r17.trigger 22:59:20 Executing ca-certificates-20220614-r0.trigger 22:59:20 OK: 6 MiB in 16 packages 22:59:20 Removing intermediate container b03ddb195f7b 22:59:20 ---> 0c8349b9bb02 22:59:20 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:59:21 ---> 5acdab69999f 22:59:21 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:59:21 ---> 7d5cb9b6e692 22:59:21 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:59:21 ---> 198b857851f4 22:59:21 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:59:21 ---> c594a65b4479 22:59:21 Step 21/26 : EXPOSE 48095 22:59:21 ---> Running in de7d7d915cad 22:59:21 Removing intermediate container de7d7d915cad 22:59:21 ---> c2d2c58df410 22:59:21 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 22:59:21 ---> Running in bd2293dcf2d3 22:59:21 Removing intermediate container bd2293dcf2d3 22:59:21 ---> eeda1286dffc 22:59:21 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:59:21 ---> Running in 4a6f0e111847 22:59:22 Removing intermediate container 4a6f0e111847 22:59:22 ---> 00f88cf57e72 22:59:22 Step 24/26 : LABEL arch=amd64 22:59:22 ---> Running in 54bc2a77e965 22:59:22 Removing intermediate container 54bc2a77e965 22:59:22 ---> 35b1213b659f 22:59:22 Step 25/26 : LABEL git_sha=4262ae92de75f634a2653c10d882794606e427a7 22:59:22 ---> Running in 565d0e217e6f 22:59:22 Removing intermediate container 565d0e217e6f 22:59:22 ---> c458f627ce34 22:59:22 Step 26/26 : LABEL version=0.0.0 22:59:22 ---> Running in 6223b9b67fba 22:59:22 Removing intermediate container 6223b9b67fba 22:59:22 ---> 67cd23da275b 22:59:22 [Warning] One or more build-args [ARCH] were not consumed 22:59:22 Successfully built 67cd23da275b 22:59:22 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 22:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:22 22:59:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:23 latest: Pulling from edgex-lftools-log-publisher 22:59:23 5eb5b503b376: Pulling fs layer 22:59:23 5c69ac0246d0: Pulling fs layer 22:59:23 ec43610c2a17: Pulling fs layer 22:59:23 3a2ae6a8a46f: Pulling fs layer 22:59:23 33b1e0a273af: Pulling fs layer 22:59:23 5d3b04190fa2: Pulling fs layer 22:59:23 2f39f015ded8: Pulling fs layer 22:59:23 3a2ae6a8a46f: Waiting 22:59:23 33b1e0a273af: Waiting 22:59:23 2f39f015ded8: Waiting 22:59:23 5d3b04190fa2: Waiting 22:59:23 5c69ac0246d0: Verifying Checksum 22:59:23 5c69ac0246d0: Download complete 22:59:23 3a2ae6a8a46f: Verifying Checksum 22:59:23 3a2ae6a8a46f: Download complete 22:59:23 ec43610c2a17: Verifying Checksum 22:59:23 ec43610c2a17: Download complete 22:59:23 33b1e0a273af: Verifying Checksum 22:59:23 33b1e0a273af: Download complete 22:59:23 5d3b04190fa2: Verifying Checksum 22:59:23 5d3b04190fa2: Download complete 22:59:23 5eb5b503b376: Verifying Checksum 22:59:23 5eb5b503b376: Download complete 22:59:23 2f39f015ded8: Download complete 22:59:24 5eb5b503b376: Pull complete 22:59:24 5c69ac0246d0: Pull complete 22:59:24 ec43610c2a17: Pull complete 22:59:24 3a2ae6a8a46f: Pull complete 22:59:25 33b1e0a273af: Pull complete 22:59:25 5d3b04190fa2: Pull complete 22:59:29 2f39f015ded8: Pull complete 22:59:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:59:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:29 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 22:59:29 $ 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 22:59:30 $ docker top a44fa5a46f787999f41eb0eb52db64e84ac45e7bd66ffb89db7e099abbbc8e4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:31 ---> job-cost.sh 22:59:31 lf-activate-venv: SKIPPING 22:59:31 INFO: No Stack... 22:59:31 INFO: Retrieving Pricing Info for: v3-standard-8 22:59:31 INFO: Archiving Costs [Pipeline] sh 22:59:32 + cat /w/workspace/_app-service-configurable_PR-529/archives/cost.csv 22:59:32 + cut -d, -f6 [Pipeline] lock 22:59:32 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-529-4-stack-cost] 22:59:32 Resource [jenkins-edgexfoundry-app-service-configurable-PR-529-4-stack-cost] did not exist. Created. 22:59:32 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-529-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:59:32 + echo total: 0.2199999988079071 [Pipeline] stash 22:59:32 Stashed 1 file(s) [Pipeline] } 22:59:32 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-529-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:59:32 $ docker stop --time=1 a44fa5a46f787999f41eb0eb52db64e84ac45e7bd66ffb89db7e099abbbc8e4f 22:59:33 $ docker rm -f --volumes a44fa5a46f787999f41eb0eb52db64e84ac45e7bd66ffb89db7e099abbbc8e4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:01:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9985 in /w/workspace/_app-service-configurable_PR-529 [Pipeline] { [Pipeline] ws 23:01:31 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 23:01:31 Selected Git installation does not exist. Using Default 23:01:31 The recommended git tool is: NONE 23:01:37 using credential edgex-jenkins-ssh 23:01:37 Cloning the remote Git repository 23:01:37 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 23:01:37 > git init /w/workspace/app-service-configurable/4 # timeout=10 23:01:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:01:37 > git --version # timeout=10 23:01:37 > git --version # 'git version 2.25.1' 23:01:37 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:01:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:39 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:01:39 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:01:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:39 > 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 23:01:40 Merging remotes/origin/main commit 9924ce3792302461657905c814d890402047d1ca into PR head commit 4262ae92de75f634a2653c10d882794606e427a7 23:01:40 Merge succeeded, producing 4262ae92de75f634a2653c10d882794606e427a7 23:01:40 Checking out Revision 4262ae92de75f634a2653c10d882794606e427a7 (PR-529) 23:01:40 > git config core.sparsecheckout # timeout=10 23:01:40 > git checkout -f 4262ae92de75f634a2653c10d882794606e427a7 # timeout=10 23:01:40 > git remote # timeout=10 23:01:40 > git config --get remote.origin.url # timeout=10 23:01:40 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:40 > git merge 9924ce3792302461657905c814d890402047d1ca # timeout=10 23:01:40 > git rev-parse HEAD^{commit} # timeout=10 23:01:40 > git config core.sparsecheckout # timeout=10 23:01:40 > git checkout -f 4262ae92de75f634a2653c10d882794606e427a7 # timeout=10 23:01:44 Commit message: "refactor!: Renamed SecretName to SecretValueKey and SecretnPath to SecretName" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:01:45 % Total % Received % Xferd Average Speed Time Time Time Current 23:01:45 Dload Upload Total Spent Left Speed 23:01:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72862 0 --:--:-- --:--:-- --:--:-- 72862 [Pipeline] sh 23:01:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:01:52 + + sudosudo jq tee /etc/docker/daemon.new 23:01:52 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:01:52 { 23:01:52 "registry-mirrors": [ 23:01:52 "https://nexus3.edgexfoundry.org:10001" 23:01:52 ], 23:01:52 "bip": "10.250.0.254/24", 23:01:52 "hosts": [ 23:01:52 "tcp://0.0.0.0:5555", 23:01:52 "unix:///var/run/docker.sock" 23:01:52 ], 23:01:52 "mtu": 1458, 23:01:52 "selinux-enabled": true, 23:01:52 "seccomp-profile": "/etc/docker/seccomp.json" 23:01:52 } [Pipeline] sh 23:01:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:01:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:02:11 provisioning config files... 23:02:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/4@tmp/config13409656826444031502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:02:11 ---> docker-login.sh 23:02:11 nexus3.edgexfoundry.org:10001 23:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:12 Configure a credential helper to remove this warning. See 23:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:12 23:02:12 Login Succeeded 23:02:12 nexus3.edgexfoundry.org:10002 23:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:12 Configure a credential helper to remove this warning. See 23:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:12 23:02:12 Login Succeeded 23:02:12 nexus3.edgexfoundry.org:10003 23:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:13 Configure a credential helper to remove this warning. See 23:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:13 23:02:13 Login Succeeded 23:02:13 nexus3.edgexfoundry.org:10004 23:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:13 Configure a credential helper to remove this warning. See 23:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:13 23:02:13 Login Succeeded 23:02:13 docker.io 23:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:02:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:02:14 Configure a credential helper to remove this warning. See 23:02:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:02:14 23:02:14 Login Succeeded 23:02:14 ---> docker-login.sh ends [Pipeline] } 23:02:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:02:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:02:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:02:14 ========================================================= 23:02:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:02:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:14 + 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 . 23:02:14 Sending build context to Docker daemon 172.5kB 23:02:15 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:02:15 Step 2/12 : FROM ${BASE} AS builder 23:02:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:02:15 af6eaf76a39c: Pulling fs layer 23:02:15 55522c791124: Pulling fs layer 23:02:15 ce5c4a1c91eb: Pulling fs layer 23:02:15 169dfbe0d373: Pulling fs layer 23:02:15 e1ff8fa3b103: Pulling fs layer 23:02:15 52ebb69f0ebf: Pulling fs layer 23:02:15 5abe8eddf0d5: Pulling fs layer 23:02:15 e1ff8fa3b103: Waiting 23:02:15 52ebb69f0ebf: Waiting 23:02:15 5abe8eddf0d5: Waiting 23:02:15 169dfbe0d373: Waiting 23:02:15 55522c791124: Verifying Checksum 23:02:15 55522c791124: Download complete 23:02:15 169dfbe0d373: Verifying Checksum 23:02:15 169dfbe0d373: Download complete 23:02:15 e1ff8fa3b103: Verifying Checksum 23:02:15 e1ff8fa3b103: Download complete 23:02:15 af6eaf76a39c: Verifying Checksum 23:02:15 af6eaf76a39c: Download complete 23:02:16 5abe8eddf0d5: Verifying Checksum 23:02:16 5abe8eddf0d5: Download complete 23:02:16 af6eaf76a39c: Pull complete 23:02:16 55522c791124: Pull complete 23:02:17 ce5c4a1c91eb: Verifying Checksum 23:02:17 ce5c4a1c91eb: Download complete 23:02:17 52ebb69f0ebf: Verifying Checksum 23:02:17 52ebb69f0ebf: Download complete 23:02:30 ce5c4a1c91eb: Pull complete 23:02:30 169dfbe0d373: Pull complete 23:02:30 e1ff8fa3b103: Pull complete 23:02:35 52ebb69f0ebf: Pull complete 23:02:37 5abe8eddf0d5: Pull complete 23:02:37 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:02:37 ---> 6cb57ee374ae 23:02:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:02:39 ---> Running in aa3b6cbc90a1 23:02:39 Removing intermediate container aa3b6cbc90a1 23:02:39 ---> 275a1f7b5eef 23:02:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:02:39 ---> Running in e28623e0a02e 23:02:39 Removing intermediate container e28623e0a02e 23:02:39 ---> f4bcb78a1c11 23:02:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:02:39 ---> Running in ef5b28e7eb12 23:02:40 Removing intermediate container ef5b28e7eb12 23:02:40 ---> cd92dc4cf449 23:02:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:02:40 ---> Running in 850da73f6718 23:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:02:43 OK: 263 MiB in 53 packages 23:02:44 Removing intermediate container 850da73f6718 23:02:44 ---> d788dc0ea6f5 23:02:44 Step 7/12 : WORKDIR /app 23:02:44 ---> Running in 2f173fea418f 23:02:44 Removing intermediate container 2f173fea418f 23:02:44 ---> 2feb3684c49a 23:02:44 Step 8/12 : COPY go.mod vendor* ./ 23:02:44 ---> 5c193eef6795 23:02:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:02:45 ---> Running in f6bc18b4c6e7 23:03:52 Removing intermediate container f6bc18b4c6e7 23:03:52 ---> cb907dd8a0b2 23:03:52 Step 10/12 : COPY . . 23:03:52 ---> ac406bf12b59 23:03:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:03:52 ---> Running in 7a28b8f923ac 23:03:52 Removing intermediate container 7a28b8f923ac 23:03:52 ---> 6f6399376166 23:03:52 Step 12/12 : RUN $MAKE 23:03:52 ---> Running in 82d10d5dd535 23:03:52 noop 23:03:52 Removing intermediate container 82d10d5dd535 23:03:52 ---> 1ec6ad0f1493 23:03:52 Successfully built 1ec6ad0f1493 23:03:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:53 + docker inspect -f . ci-base-image-arm64 23:03:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:03:53 prd-ubuntu20.04-docker-arm64-4c-16g-9985 does not seem to be running inside a container 23:03:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:03:54 $ docker top 297a9d8d7429aaa6a46a3f063cf833b61aba86ab3a04943c743254bf9f1ff349 -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:55 + go version 23:03:55 go version go1.20.2 linux/arm64 [Pipeline] } 23:03:55 $ docker stop --time=1 297a9d8d7429aaa6a46a3f063cf833b61aba86ab3a04943c743254bf9f1ff349 23:03:59 $ docker rm -f --volumes 297a9d8d7429aaa6a46a3f063cf833b61aba86ab3a04943c743254bf9f1ff349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:59 + docker inspect -f . ci-base-image-arm64 23:03:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:03:59 prd-ubuntu20.04-docker-arm64-4c-16g-9985 does not seem to be running inside a container 23:04:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:04:01 $ docker top be5305fbcdcfcfae4093eacda7bc44e3991737fb26f1c33362347f655bf27533 -eo pid,comm [Pipeline] { [Pipeline] sh 23:04:02 + git config --global --add safe.directory /w/workspace/app-service-configurable/4 [Pipeline] fileExists [Pipeline] sh 23:04:02 + make test 23:04:02 go test -race -coverprofile=coverage.out ./... 23:06:54 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:06:54 go vet ./... 23:09:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:09:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:09:16 ./bin/test-attribution-txt.sh [Pipeline] echo 23:09:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:09:16 $ docker stop --time=1 be5305fbcdcfcfae4093eacda7bc44e3991737fb26f1c33362347f655bf27533 23:09:19 $ docker rm -f --volumes be5305fbcdcfcfae4093eacda7bc44e3991737fb26f1c33362347f655bf27533 [Pipeline] // withDockerContainer [Pipeline] sh 23:09:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:09:21 Warning: overwriting stash ‘coverage-report’ 23:09:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:09:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:09:22 + ls -al . 23:09:22 total 168 23:09:22 drwxrwxr-x 7 jenkins jenkins 4096 Mar 13 23:04 . 23:09:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:01 .. 23:09:22 -rw-rw-r-- 1 jenkins jenkins 119 Mar 13 23:01 .dockerignore 23:09:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:01 .git 23:09:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:01 .github 23:09:22 -rw-rw-r-- 1 jenkins jenkins 171 Mar 13 23:01 .gitignore 23:09:22 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 13 23:01 Attribution.txt 23:09:22 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 13 23:01 CHANGELOG.md 23:09:22 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 13 23:01 Dockerfile 23:09:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:01 GOVERNANCE.md 23:09:22 -rw-rw-r-- 1 jenkins jenkins 688 Mar 13 23:01 Jenkinsfile 23:09:22 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 13 23:01 LICENSE 23:09:22 -rw-rw-r-- 1 jenkins jenkins 618 Mar 13 23:01 OWNERS.md 23:09:22 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 13 23:01 README.md 23:09:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 22:57 VERSION 23:09:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:01 bin 23:09:22 -rw-r--r-- 1 jenkins jenkins 13 Mar 13 23:04 coverage.out 23:09:22 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 13 23:01 go.mod 23:09:22 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 13 23:01 go.sum 23:09:22 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 13 23:01 main.go 23:09:22 -rw-rw-r-- 1 jenkins jenkins 2078 Mar 13 23:01 makefile 23:09:22 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 23:01 res 23:09:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:01 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:22 + 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=4262ae92de75f634a2653c10d882794606e427a7 --label arch=arm64 --label version=0.0.0 . 23:09:22 Sending build context to Docker daemon 173.6kB 23:09:23 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:09:23 Step 2/26 : FROM ${BASE} AS builder 23:09:23 ---> 1ec6ad0f1493 23:09:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:09:23 ---> Running in 3884615cf140 23:09:23 Removing intermediate container 3884615cf140 23:09:23 ---> 2d81c9f7bf98 23:09:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:09:23 ---> Running in 3b41e29b6729 23:09:23 Removing intermediate container 3b41e29b6729 23:09:23 ---> 4f960f3d89fc 23:09:23 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:09:23 ---> Running in 6651f632b78e 23:09:24 Removing intermediate container 6651f632b78e 23:09:24 ---> ea95dc0ce2db 23:09:24 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:09:24 ---> Running in b217683b733b 23:09:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:09:27 OK: 263 MiB in 53 packages 23:09:28 Removing intermediate container b217683b733b 23:09:28 ---> 5eec525112c0 23:09:28 Step 7/26 : WORKDIR /app 23:09:28 ---> Running in 86aad137331b 23:09:28 Removing intermediate container 86aad137331b 23:09:28 ---> 0cf681140182 23:09:28 Step 8/26 : COPY go.mod vendor* ./ 23:09:29 ---> ae2769a35c2b 23:09:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:29 ---> Running in 4ddf55f0869d 23:09:31 Removing intermediate container 4ddf55f0869d 23:09:31 ---> e2bad8539432 23:09:31 Step 10/26 : COPY . . 23:09:32 ---> b4db6cd97300 23:09:32 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:09:32 ---> Running in c2069e2bc437 23:09:33 Removing intermediate container c2069e2bc437 23:09:33 ---> bf2010b37d1c 23:09:33 Step 12/26 : RUN $MAKE 23:09:33 ---> Running in 3532d93d52c6 23:09:34 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 23:12:11 Removing intermediate container 3532d93d52c6 23:12:11 ---> 86a26f9c172b 23:12:11 Step 13/26 : FROM alpine:3.16 23:12:11 3.16: Pulling from library/alpine 23:12:11 3760b48202b3: Pulling fs layer 23:12:11 3760b48202b3: Verifying Checksum 23:12:11 3760b48202b3: Download complete 23:12:11 3760b48202b3: Pull complete 23:12:11 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 23:12:11 Status: Downloaded newer image for alpine:3.16 23:12:11 ---> 4c81e5bf8899 23:12:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:12:11 ---> Running in 3de5037474dc 23:12:11 Removing intermediate container 3de5037474dc 23:12:11 ---> 4639f657a7a8 23:12:11 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:12:11 ---> Running in 4433eecde56a 23:12:11 Removing intermediate container 4433eecde56a 23:12:11 ---> 51189abc6185 23:12:11 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:12:11 ---> Running in 508a4b69737a 23:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:12:11 (1/2) Installing ca-certificates (20220614-r0) 23:12:11 (2/2) Installing dumb-init (1.2.5-r1) 23:12:11 Executing busybox-1.35.0-r17.trigger 23:12:11 Executing ca-certificates-20220614-r0.trigger 23:12:11 OK: 6 MiB in 16 packages 23:12:11 Removing intermediate container 508a4b69737a 23:12:11 ---> ee8dd5452f00 23:12:11 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:12:11 ---> 7ecc159b036e 23:12:11 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:12:11 ---> 22f4ab905838 23:12:11 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:12:11 ---> a31c1fcf037f 23:12:11 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:12:11 ---> 2ed09144ad7b 23:12:11 Step 21/26 : EXPOSE 48095 23:12:11 ---> Running in cc0290627ab0 23:12:11 Removing intermediate container cc0290627ab0 23:12:11 ---> 84c86a218888 23:12:11 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:12:11 ---> Running in e9444357ad8b 23:12:11 Removing intermediate container e9444357ad8b 23:12:11 ---> 400ef6383953 23:12:11 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:12:11 ---> Running in d0dcecfd0fb7 23:12:11 Removing intermediate container d0dcecfd0fb7 23:12:11 ---> 2111957ae615 23:12:11 Step 24/26 : LABEL arch=arm64 23:12:11 ---> Running in 4adcc0ca4cf1 23:12:11 Removing intermediate container 4adcc0ca4cf1 23:12:11 ---> ee993fbd6dff 23:12:11 Step 25/26 : LABEL git_sha=4262ae92de75f634a2653c10d882794606e427a7 23:12:11 ---> Running in cd9180029cca 23:12:11 Removing intermediate container cd9180029cca 23:12:11 ---> 6c6b293a1f67 23:12:11 Step 26/26 : LABEL version=0.0.0 23:12:11 ---> Running in 6747a0a5e583 23:12:11 Removing intermediate container 6747a0a5e583 23:12:11 ---> 8c54cb83d905 23:12:11 [Warning] One or more build-args [ARCH] were not consumed 23:12:11 Successfully built 8c54cb83d905 23:12:11 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 23:12:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:12:11 23:12:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:12:12 arm64: Pulling from edgex-lftools-log-publisher 23:12:12 8998bd30e6a1: Pulling fs layer 23:12:12 04944245beec: Pulling fs layer 23:12:12 699f458cf7ca: Pulling fs layer 23:12:12 765212b225bb: Pulling fs layer 23:12:12 f23df028b6ca: Pulling fs layer 23:12:12 d65c8cfc05b1: Pulling fs layer 23:12:12 2437ff75d9bd: Pulling fs layer 23:12:12 765212b225bb: Waiting 23:12:12 f23df028b6ca: Waiting 23:12:12 d65c8cfc05b1: Waiting 23:12:12 2437ff75d9bd: Waiting 23:12:12 04944245beec: Verifying Checksum 23:12:12 04944245beec: Download complete 23:12:12 765212b225bb: Verifying Checksum 23:12:12 f23df028b6ca: Verifying Checksum 23:12:12 f23df028b6ca: Download complete 23:12:12 d65c8cfc05b1: Verifying Checksum 23:12:12 d65c8cfc05b1: Download complete 23:12:12 699f458cf7ca: Verifying Checksum 23:12:12 699f458cf7ca: Download complete 23:12:13 8998bd30e6a1: Verifying Checksum 23:12:13 8998bd30e6a1: Download complete 23:12:15 2437ff75d9bd: Verifying Checksum 23:12:15 2437ff75d9bd: Download complete 23:12:17 8998bd30e6a1: Pull complete 23:12:17 04944245beec: Pull complete 23:12:19 699f458cf7ca: Pull complete 23:12:19 765212b225bb: Pull complete 23:12:19 f23df028b6ca: Pull complete 23:12:20 d65c8cfc05b1: Pull complete 23:12:32 2437ff75d9bd: Pull complete 23:12:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:12:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:12:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:32 prd-ubuntu20.04-docker-arm64-4c-16g-9985 does not seem to be running inside a container 23:12:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:12:35 $ docker top 0de1cf9dceededf990111436e5d0eb65392bfbe21f9a6b726e20c764f10e95e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:36 ---> job-cost.sh 23:12:36 lf-activate-venv: SKIPPING 23:12:36 INFO: No Stack... 23:12:36 INFO: Retrieving Pricing Info for: v3-standard-4 23:12:37 INFO: Archiving Costs [Pipeline] sh 23:12:38 + cat /w/workspace/app-service-configurable/4/archives/cost.csv 23:12:38 + cut -d, -f6 [Pipeline] lock 23:12:38 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-529-4-stack-cost] 23:12:38 Resource [jenkins-edgexfoundry-app-service-configurable-PR-529-4-stack-cost] did not exist. Created. 23:12:38 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-529-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:12:39 /w/workspace/app-service-configurable/4@tmp/durable-bacf7dcb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:12:39 + echo total: 0.10999999940395355 [Pipeline] stash 23:12:39 Warning: overwriting stash ‘stack-cost’ 23:12:39 Stashed 1 file(s) [Pipeline] } 23:12:39 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-529-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:12:39 $ docker stop --time=1 0de1cf9dceededf990111436e5d0eb65392bfbe21f9a6b726e20c764f10e95e6 23:12:41 $ docker rm -f --volumes 0de1cf9dceededf990111436e5d0eb65392bfbe21f9a6b726e20c764f10e95e6 [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 23:12:41 provisioning config files... 23:12:41 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-529@tmp/config18265329348324255732tmp [Pipeline] { [Pipeline] sh 23:12:42 + set +x 23:12:42 + curl -s https://codecov.io/bash 23:12:42 + bash -s -- 23:12:42 23:12:42 _____ _ 23:12:42 / ____| | | 23:12:42 | | ___ __| | ___ ___ _____ __ 23:12:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:12:42 | |___| (_) | (_| | __/ (_| (_) \ V / 23:12:42 \_____\___/ \__,_|\___|\___\___/ \_/ 23:12:42 Bash-1.0.6 23:12:42 23:12:42 23:12:42 ==> git version 2.25.1 found 23:12:42 ==> 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 23:12:42 Release-Date: 2020-01-08 23:12:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:12:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:12:42 ==> Jenkins CI detected. 23:12:42 current dir:  /w/workspace/_app-service-configurable_PR-529 23:12:42 project root: . 23:12:42 --> token set from env 23:12:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:12:42 ==> Running gcov in . (disable via -X gcov) 23:12:42 ==> Python coveragepy not found 23:12:42 ==> Searching for coverage reports in: 23:12:42 + . 23:12:42 -> Found 1 reports 23:12:42 ==> Detecting git/mercurial file structure 23:12:42 ==> Reading reports 23:12:42 + ./coverage.out bytes=13 23:12:42 ==> Appending adjustments 23:12:42 https://docs.codecov.io/docs/fixing-reports 23:12:42 + Found adjustments 23:12:42 ==> Gzipping contents 23:12:42 4.0K /tmp/codecov.3oKJd3.gz 23:12:42 ==> Uploading reports 23:12:42 url: https://codecov.io 23:12:42 query: branch=PR-529&commit=4262ae92de75f634a2653c10d882794606e427a7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-529%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=529&job=&cmd_args= 23:12:42 -> Pinging Codecov 23:12:42 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=4262ae92de75f634a2653c10d882794606e427a7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-529%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=529&job=&cmd_args= 23:12:42 -> Uploading to 23:12:42 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/A97CA9966030D2A3747ED39772930CCE/4262ae92de75f634a2653c10d882794606e427a7/77657293-ecca-4a48-9cf2-a8198e8c1500.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T231242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e5cf2bea028918467d9631ee4879c5d4d653f1619bbbcc1c97ac38bee686cecd 23:12:42 % Total % Received % Xferd Average Speed Time Time Time Current 23:12:42 Dload Upload Total Spent Left Speed 23:12:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 509 0 0 100 509 0 2507 --:--:-- --:--:-- --:--:-- 2495 100 509 0 0 100 509 0 2193 --:--:-- --:--:-- --:--:-- 2184 23:12:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/4262ae92de75f634a2653c10d882794606e427a7 [Pipeline] } 23:12:42 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 23:12:43 + [ -d /w/workspace/_app-service-configurable_PR-529/archives ] 23:12:43 + ls -al /w/workspace/_app-service-configurable_PR-529/archives 23:12:43 total 16 23:12:43 drwxr-xr-x 3 root root 4096 Mar 13 22:59 . 23:12:43 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 22:59 .. 23:12:43 drwxr-xr-x 2 root root 4096 Mar 13 22:59 cost 23:12:43 -rw-r--r-- 1 root root 96 Mar 13 22:59 cost.csv 23:12:43 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-529/archives 23:12:43 + ls -al /w/workspace/_app-service-configurable_PR-529/archives 23:12:43 total 16 23:12:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 22:59 . 23:12:43 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 22:59 .. 23:12:43 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 22:59 cost 23:12:43 -rw-r--r-- 1 jenkins jenkins 96 Mar 13 22:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:12:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:12:44 ---> package-listing.sh 23:12:44 ++ facter osfamily 23:12:44 ++ tr '[:upper:]' '[:lower:]' 23:12:44 + OS_FAMILY=debian 23:12:44 + workspace=/w/workspace/_app-service-configurable_PR-529 23:12:44 + START_PACKAGES=/tmp/packages_start.txt 23:12:44 + END_PACKAGES=/tmp/packages_end.txt 23:12:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:12:44 + PACKAGES=/tmp/packages_start.txt 23:12:44 + '[' /w/workspace/_app-service-configurable_PR-529 ']' 23:12:44 + PACKAGES=/tmp/packages_end.txt 23:12:44 + case "${OS_FAMILY}" in 23:12:44 + dpkg -l 23:12:44 + grep '^ii' 23:12:44 + '[' -f /tmp/packages_start.txt ']' 23:12:44 + '[' -f /tmp/packages_end.txt ']' 23:12:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:12:44 + '[' /w/workspace/_app-service-configurable_PR-529 ']' 23:12:44 + mkdir -p /w/workspace/_app-service-configurable_PR-529/archives/ 23:12:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-529/archives/ [Pipeline] echo 23:12:44 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 23:12:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:45 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 23:12:45 $ 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 23:12:45 $ docker top b945ead5deb90962842dc5736dce1e315785e0a1eb3215672363f77ba42586c3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:46 + touch /tmp/pre-build-complete [Pipeline] sh 23:12:46 + mkdir -p /var/log/sysstat [Pipeline] sh 23:12:46 + ls /var/log/sa-host 23:12:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:46 provisioning config files... 23:12:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-529@tmp/config416160928431216049tmp [Pipeline] { [Pipeline] echo 23:12:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:12:47 ---> create-netrc.sh [Pipeline] } 23:12:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:12:47 ---> python-tools-install.sh [Pipeline] echo 23:12:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:12:47 ---> sudo-logs.sh 23:12:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:12:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:12:48 ---> job-cost.sh 23:12:48 lf-activate-venv: SKIPPING 23:12:48 DEBUG: total: 0.2199999988079071 23:12:48 INFO: Retrieving Stack Cost... 23:12:48 INFO: Retrieving Pricing Info for: v3-standard-8 23:12:49 INFO: Archiving Costs [Pipeline] echo 23:12:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:12:49 ---> logs-deploy.sh 23:12:49 lf-activate-venv: SKIPPING 23:12:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-529/4 23:12:49 INFO: archiving workspace using pattern(s): 23:12:50 Archives upload complete. 23:12:50 INFO: archiving logs to Nexus