Pull request #523 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 ae5c3a222e830755d999430446b5cf0927b9c680 rather than 9d26d23b18b6d4a723ea072f36f1212676a29dc3 Obtained Jenkinsfile from ae5c3a222e830755d999430446b5cf0927b9c680 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-ssh3296773435984106300.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6972029582671719619.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-523/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-523/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh137263230163786184.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8524690248377616678.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-523/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-523/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh671623105580445385.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7122 in /w/workspace/_app-service-configurable_PR-523 [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-523 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/523/head:refs/remotes/origin/PR-523 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ae5c3a222e830755d999430446b5cf0927b9c680 into PR head commit 9d26d23b18b6d4a723ea072f36f1212676a29dc3 Merge succeeded, producing 9d26d23b18b6d4a723ea072f36f1212676a29dc3 Checking out Revision 9d26d23b18b6d4a723ea072f36f1212676a29dc3 (PR-523) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d26d23b18b6d4a723ea072f36f1212676a29dc3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ae5c3a222e830755d999430446b5cf0927b9c680 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d26d23b18b6d4a723ea072f36f1212676a29dc3 # timeout=10 Commit message: "build(deps)!: Consume latest changes in App SDK" First time build. Skipping changelog. > git rev-list --no-walk a31c87577bd6ed52dcea1b0a979b52acd92fcd9d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:55:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:55:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:55:15 ========================================================= 20:55:15 EdgeX Global Pipelines Version Info 20:55:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:55:15 ------------------- 20:55:15 stable info: 20:55:15 ------------------- 20:55:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:55:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:55:15 Message: update stable to v1.0.244 20:55:16 ------------------- 20:55:16 experimental info: 20:55:16 ------------------- 20:55:16 Commited By: **** collab-it+edgex@linuxfoundation.org 20:55:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:55:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:55:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-523 [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-523 [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-523 [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d26d23b18b6d4a723ea072f36f1212676a29dc3 [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d26d23 [Pipeline] echo 20:55:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:17 provisioning config files... 20:55:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-523@tmp/config17491309485183190645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:17 ---> docker-login.sh 20:55:17 nexus3.edgexfoundry.org:10001 20:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:17 Configure a credential helper to remove this warning. See 20:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:17 20:55:17 Login Succeeded 20:55:17 nexus3.edgexfoundry.org:10002 20:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:18 Configure a credential helper to remove this warning. See 20:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:18 20:55:18 Login Succeeded 20:55:18 nexus3.edgexfoundry.org:10003 20:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:18 Configure a credential helper to remove this warning. See 20:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:18 20:55:18 Login Succeeded 20:55:18 nexus3.edgexfoundry.org:10004 20:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:18 Configure a credential helper to remove this warning. See 20:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:18 20:55:18 Login Succeeded 20:55:18 docker.io 20:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:18 Configure a credential helper to remove this warning. See 20:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:18 20:55:18 Login Succeeded 20:55:18 ---> docker-login.sh ends [Pipeline] } 20:55:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:55:18 + git rev-list -1 --merges 9d26d23b18b6d4a723ea072f36f1212676a29dc3~1..9d26d23b18b6d4a723ea072f36f1212676a29dc3 [Pipeline] echo 20:55:18 -----------> git rev-list -1 --merges 9d26d23b18b6d4a723ea072f36f1212676a29dc3~1..9d26d23b18b6d4a723ea072f36f1212676a29dc3 9d26d23b18b6d4a723ea072f36f1212676a29dc3 [false] [Pipeline] sh 20:55:19 + git log --format=format:%s -1 9d26d23b18b6d4a723ea072f36f1212676a29dc3 [Pipeline] echo 20:55:19 ========================================================= 20:55:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:55:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:19 + git log --format=format:%s -1 9d26d23b18b6d4a723ea072f36f1212676a29dc3 [Pipeline] echo 20:55:19 [semverPrep] GIT_COMMIT: 9d26d23b18b6d4a723ea072f36f1212676a29dc3, Commit Message: build(deps)!: Consume latest changes in App SDK [Pipeline] echo 20:55:19 [semverPrep] This is not a build commit. [Pipeline] sh 20:55:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:19 + grep -v github /etc/ssh/ssh_known_hosts 20:55:19 + [ -e /tmp/ssh_known_hosts ] 20:55:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:55:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:55:19 + sudo tee -a /etc/ssh/ssh_known_hosts 20:55:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:20 20:55:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:20 0.1.4: Pulling from edgex-devops/py-git-semver 20:55:20 b85a868b505f: Pulling fs layer 20:55:20 e2be974225ed: Pulling fs layer 20:55:20 339a4e72a1f5: Pulling fs layer 20:55:20 988bab9f4d93: Pulling fs layer 20:55:20 1469e6f7b9e6: Pulling fs layer 20:55:20 eaf3925da568: Pulling fs layer 20:55:20 bab4dde63d76: Pulling fs layer 20:55:20 bde34c3a00c8: Pulling fs layer 20:55:20 b352a97aabf1: Pulling fs layer 20:55:20 4872d77fe225: Pulling fs layer 20:55:20 988bab9f4d93: Waiting 20:55:20 bde34c3a00c8: Waiting 20:55:20 1469e6f7b9e6: Waiting 20:55:20 eaf3925da568: Waiting 20:55:20 bab4dde63d76: Waiting 20:55:20 5851b861e8e6: Pulling fs layer 20:55:20 b352a97aabf1: Waiting 20:55:20 5851b861e8e6: Waiting 20:55:20 4872d77fe225: Waiting 20:55:20 e2be974225ed: Verifying Checksum 20:55:20 e2be974225ed: Download complete 20:55:20 988bab9f4d93: Verifying Checksum 20:55:20 988bab9f4d93: Download complete 20:55:20 1469e6f7b9e6: Verifying Checksum 20:55:20 1469e6f7b9e6: Download complete 20:55:20 339a4e72a1f5: Verifying Checksum 20:55:20 339a4e72a1f5: Download complete 20:55:20 eaf3925da568: Verifying Checksum 20:55:20 eaf3925da568: Download complete 20:55:20 bde34c3a00c8: Download complete 20:55:20 b352a97aabf1: Download complete 20:55:20 4872d77fe225: Verifying Checksum 20:55:20 4872d77fe225: Download complete 20:55:20 5851b861e8e6: Verifying Checksum 20:55:20 5851b861e8e6: Download complete 20:55:20 b85a868b505f: Verifying Checksum 20:55:20 b85a868b505f: Download complete 20:55:21 bab4dde63d76: Verifying Checksum 20:55:21 bab4dde63d76: Download complete 20:55:22 b85a868b505f: Pull complete 20:55:22 e2be974225ed: Pull complete 20:55:23 339a4e72a1f5: Pull complete 20:55:23 988bab9f4d93: Pull complete 20:55:23 1469e6f7b9e6: Pull complete 20:55:23 eaf3925da568: Pull complete 20:55:25 bab4dde63d76: Pull complete 20:55:25 bde34c3a00c8: Pull complete 20:55:25 b352a97aabf1: Pull complete 20:55:25 4872d77fe225: Pull complete 20:55:26 5851b861e8e6: Pull complete 20:55:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:55:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:26 prd-ubuntu20.04-docker-8c-8g-7122 does not seem to be running inside a container 20:55:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-523 -v /w/workspace/_app-service-configurable_PR-523:/w/workspace/_app-service-configurable_PR-523:rw,z -v /w/workspace/_app-service-configurable_PR-523@tmp:/w/workspace/_app-service-configurable_PR-523@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:55:29 $ docker top 21b338cda2a383064118135c58ea41dae162d011b98e84f2b832dc53ae4b58e8 -eo pid,comm 20:55:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:55:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:55:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:29 [ssh-agent] Looking for ssh-agent implementation... 20:55:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:29 $ docker exec 21b338cda2a383064118135c58ea41dae162d011b98e84f2b832dc53ae4b58e8 ssh-agent 20:55:29 SSH_AUTH_SOCK=/tmp/ssh-IGgB9D7Rb0jD/agent.33 20:55:29 SSH_AGENT_PID=39 20:55:29 Running ssh-add (command line suppressed) 20:55:30 Identity added: /w/workspace/_app-service-configurable_PR-523@tmp/private_key_9972710405699117341.key (/w/workspace/_app-service-configurable_PR-523@tmp/private_key_9972710405699117341.key) 20:55:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:30 + git tag --points-at HEAD [Pipeline] } 20:55:30 $ docker exec --env ******** --env ******** 21b338cda2a383064118135c58ea41dae162d011b98e84f2b832dc53ae4b58e8 ssh-agent -k 20:55:30 unset SSH_AUTH_SOCK; 20:55:30 unset SSH_AGENT_PID; 20:55:30 echo Agent pid 39 killed; 20:55:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:55:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:30 [ssh-agent] Looking for ssh-agent implementation... 20:55:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:30 $ docker exec 21b338cda2a383064118135c58ea41dae162d011b98e84f2b832dc53ae4b58e8 ssh-agent 20:55:30 SSH_AUTH_SOCK=/tmp/ssh-jUirTEQF1Xk8/agent.71 20:55:30 SSH_AGENT_PID=77 20:55:30 Running ssh-add (command line suppressed) 20:55:30 Identity added: /w/workspace/_app-service-configurable_PR-523@tmp/private_key_16090753378170508050.key (/w/workspace/_app-service-configurable_PR-523@tmp/private_key_16090753378170508050.key) 20:55:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:31 + git semver init 20:55:31 2023-02-22 20:55:31,338 [run_init] DEBUG init version:0.0.0 force:False 20:55:31 2023-02-22 20:55:31,339 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-523/.semver 20:55:31 2023-02-22 20:55:31,339 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-523/.semver 20:55:31 2023-02-22 20:55:31,340 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-523/.semver'], cwd=/w/workspace/_app-service-configurable_PR-523, universal_newlines=False, shell=None, istream=None) 20:55:32 2023-02-22 20:55:32,298 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-523/.git/info/exclude 20:55:32 2023-02-22 20:55:32,298 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-523/.semver/PR-523 with force:False 20:55:32 2023-02-22 20:55:32,298 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-523/.semver/PR-523 20:55:32 2023-02-22 20:55:32,304 [execute] INFO git cat-file --batch-check 20:55:32 2023-02-22 20:55:32,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-523/.semver, universal_newlines=False, shell=None, istream=) 20:55:32 2023-02-22 20:55:32,311 [execute] INFO git cat-file --batch 20:55:32 2023-02-22 20:55:32,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-523/.semver, universal_newlines=False, shell=None, istream=) 20:55:32 2023-02-22 20:55:32,318 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-523/.semver/PR-523 20:55:32 0.0.0 [Pipeline] } 20:55:32 $ docker exec --env ******** --env ******** 21b338cda2a383064118135c58ea41dae162d011b98e84f2b832dc53ae4b58e8 ssh-agent -k 20:55:32 unset SSH_AUTH_SOCK; 20:55:32 unset SSH_AGENT_PID; 20:55:32 echo Agent pid 77 killed; 20:55:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:32 + git semver [Pipeline] } 20:55:33 $ docker stop --time=1 21b338cda2a383064118135c58ea41dae162d011b98e84f2b832dc53ae4b58e8 20:55:34 $ docker rm -f --volumes 21b338cda2a383064118135c58ea41dae162d011b98e84f2b832dc53ae4b58e8 [Pipeline] // withDockerContainer [Pipeline] sh 20:55:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:55:34 Stashed 1 file(s) [Pipeline] echo 20:55:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:35 provisioning config files... 20:55:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-523@tmp/config11519887473783114942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:35 ---> docker-login.sh 20:55:35 nexus3.edgexfoundry.org:10001 20:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:35 Configure a credential helper to remove this warning. See 20:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:35 20:55:35 Login Succeeded 20:55:35 nexus3.edgexfoundry.org:10002 20:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:35 Configure a credential helper to remove this warning. See 20:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:35 20:55:35 Login Succeeded 20:55:35 nexus3.edgexfoundry.org:10003 20:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:35 Configure a credential helper to remove this warning. See 20:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:35 20:55:35 Login Succeeded 20:55:35 nexus3.edgexfoundry.org:10004 20:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:35 Configure a credential helper to remove this warning. See 20:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:35 20:55:35 Login Succeeded 20:55:35 docker.io 20:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:35 Configure a credential helper to remove this warning. See 20:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:35 20:55:35 Login Succeeded 20:55:35 ---> docker-login.sh ends [Pipeline] } 20:55:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:35 ========================================================= 20:55:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:55:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:55:36 Sending build context to Docker daemon 3.225MB 20:55:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:55:36 Step 2/12 : FROM ${BASE} AS builder 20:55:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:55:36 213ec9aee27d: Pulling fs layer 20:55:36 4583459ba037: Pulling fs layer 20:55:36 93c1e223e6f2: Pulling fs layer 20:55:36 53926ce57604: Pulling fs layer 20:55:36 21b2b0c7a3f4: Pulling fs layer 20:55:36 22ff95d597cd: Pulling fs layer 20:55:36 12d6caf4c0d1: Pulling fs layer 20:55:36 96b7cbca73a9: Pulling fs layer 20:55:36 a7acece74701: Pulling fs layer 20:55:36 53926ce57604: Waiting 20:55:36 21b2b0c7a3f4: Waiting 20:55:36 22ff95d597cd: Waiting 20:55:36 12d6caf4c0d1: Waiting 20:55:36 96b7cbca73a9: Waiting 20:55:36 a7acece74701: Waiting 20:55:36 93c1e223e6f2: Verifying Checksum 20:55:36 93c1e223e6f2: Download complete 20:55:36 4583459ba037: Verifying Checksum 20:55:36 4583459ba037: Download complete 20:55:36 21b2b0c7a3f4: Verifying Checksum 20:55:36 21b2b0c7a3f4: Download complete 20:55:36 22ff95d597cd: Download complete 20:55:36 213ec9aee27d: Verifying Checksum 20:55:36 12d6caf4c0d1: Verifying Checksum 20:55:36 12d6caf4c0d1: Download complete 20:55:36 213ec9aee27d: Pull complete 20:55:36 4583459ba037: Pull complete 20:55:37 93c1e223e6f2: Pull complete 20:55:37 a7acece74701: Verifying Checksum 20:55:37 a7acece74701: Download complete 20:55:37 96b7cbca73a9: Verifying Checksum 20:55:37 96b7cbca73a9: Download complete 20:55:37 53926ce57604: Verifying Checksum 20:55:37 53926ce57604: Download complete 20:55:41 53926ce57604: Pull complete 20:55:41 21b2b0c7a3f4: Pull complete 20:55:41 22ff95d597cd: Pull complete 20:55:41 12d6caf4c0d1: Pull complete 20:55:44 96b7cbca73a9: Pull complete 20:55:44 a7acece74701: Pull complete 20:55:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:55:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:55:44 ---> db6d94c90886 20:55:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:55:50 Still waiting to schedule task 20:55:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7120’ is offline 20:55:51 ---> Running in f7903de36521 20:55:51 Removing intermediate container f7903de36521 20:55:51 ---> 62de79d664d5 20:55:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:55:51 ---> Running in 9ca25b3255a4 20:55:51 Removing intermediate container 9ca25b3255a4 20:55:51 ---> ea52c4c9e8bb 20:55:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:55:51 ---> Running in d3fc820bb18e 20:55:51 Removing intermediate container d3fc820bb18e 20:55:51 ---> c025ec6a030b 20:55:51 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:55:51 ---> Running in ee295ab95d1b 20:55:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:55:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:55:52 OK: 211 MiB in 51 packages 20:55:52 Removing intermediate container ee295ab95d1b 20:55:52 ---> cc043b02b292 20:55:52 Step 7/12 : WORKDIR /app 20:55:52 ---> Running in d2ea0f8e3f9c 20:55:52 Removing intermediate container d2ea0f8e3f9c 20:55:52 ---> 06f81f039ae6 20:55:52 Step 8/12 : COPY go.mod vendor* ./ 20:55:52 ---> b65a33fb6784 20:55:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:52 ---> Running in 6f18f4533b1e 20:56:39 Removing intermediate container 6f18f4533b1e 20:56:39 ---> 758d583759db 20:56:39 Step 10/12 : COPY . . 20:56:39 ---> f6bb0b0fcc3b 20:56:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:39 ---> Running in 927312f48110 20:56:39 Removing intermediate container 927312f48110 20:56:39 ---> 39d1f9954b47 20:56:39 Step 12/12 : RUN $MAKE 20:56:39 ---> Running in 173540cd1d62 20:56:39 noop 20:56:39 Removing intermediate container 173540cd1d62 20:56:39 ---> 62967a59538b 20:56:39 Successfully built 62967a59538b 20:56:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:39 + docker inspect -f . ci-base-image-x86_64 20:56:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:39 prd-ubuntu20.04-docker-8c-8g-7122 does not seem to be running inside a container 20:56:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-523 -v /w/workspace/_app-service-configurable_PR-523:/w/workspace/_app-service-configurable_PR-523:rw,z -v /w/workspace/_app-service-configurable_PR-523@tmp:/w/workspace/_app-service-configurable_PR-523@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-x86_64 cat 20:56:40 $ docker top 45a9bc52a6ae5fa599ed1d6eb04e0fa1bdbec7231dd38a4f04adf8a20a959bd9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:40 + go version 20:56:40 go version go1.18.7 linux/amd64 [Pipeline] } 20:56:40 $ docker stop --time=1 45a9bc52a6ae5fa599ed1d6eb04e0fa1bdbec7231dd38a4f04adf8a20a959bd9 20:56:41 $ docker rm -f --volumes 45a9bc52a6ae5fa599ed1d6eb04e0fa1bdbec7231dd38a4f04adf8a20a959bd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:42 + docker inspect -f . ci-base-image-x86_64 20:56:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:42 prd-ubuntu20.04-docker-8c-8g-7122 does not seem to be running inside a container 20:56:42 $ 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-523 -v /w/workspace/_app-service-configurable_PR-523:/w/workspace/_app-service-configurable_PR-523:rw,z -v /w/workspace/_app-service-configurable_PR-523@tmp:/w/workspace/_app-service-configurable_PR-523@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-x86_64 cat 20:56:42 $ docker top 93e489a5669febba4fe80dc079c0883d84a323fd7339b51b239cdd8bf1a7b9ba -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:43 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-523 [Pipeline] fileExists [Pipeline] sh 20:56:43 + make test 20:56:43 go test -race -coverprofile=coverage.out ./... 20:57:05 ? github.com/edgexfoundry/app-service-configurable [no test files] 20:57:05 go vet ./... 20:57:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:57:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:57:13 ./bin/test-attribution-txt.sh [Pipeline] echo 20:57:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:57:13 $ docker stop --time=1 93e489a5669febba4fe80dc079c0883d84a323fd7339b51b239cdd8bf1a7b9ba 20:57:17 $ docker rm -f --volumes 93e489a5669febba4fe80dc079c0883d84a323fd7339b51b239cdd8bf1a7b9ba [Pipeline] // withDockerContainer [Pipeline] sh 20:57:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:57:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:57:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:57:18 + ls -al . 20:57:18 total 172 20:57:18 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 20:56 . 20:57:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 20:55 .. 20:57:18 -rw-rw-r-- 1 jenkins jenkins 119 Feb 22 20:55 .dockerignore 20:57:18 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 20:55 .git 20:57:18 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 20:55 .github 20:57:18 -rw-rw-r-- 1 jenkins jenkins 171 Feb 22 20:55 .gitignore 20:57:18 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 20:55 .semver 20:57:18 -rw-rw-r-- 1 jenkins jenkins 9320 Feb 22 20:55 Attribution.txt 20:57:18 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 22 20:55 CHANGELOG.md 20:57:18 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 22 20:55 Dockerfile 20:57:18 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 20:55 GOVERNANCE.md 20:57:18 -rw-rw-r-- 1 jenkins jenkins 688 Feb 22 20:55 Jenkinsfile 20:57:18 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 22 20:55 LICENSE 20:57:18 -rw-rw-r-- 1 jenkins jenkins 618 Feb 22 20:55 OWNERS.md 20:57:18 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 22 20:55 README.md 20:57:18 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 20:55 VERSION 20:57:18 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 20:55 bin 20:57:18 -rw-r--r-- 1 jenkins jenkins 13 Feb 22 20:56 coverage.out 20:57:18 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 22 20:55 go.mod 20:57:18 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 22 20:55 go.sum 20:57:18 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 22 20:55 main.go 20:57:18 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 22 20:55 makefile 20:57:18 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 20:55 res 20:57:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 20:55 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:19 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9d26d23b18b6d4a723ea072f36f1212676a29dc3 --label arch=amd64 --label version=0.0.0 . 20:57:19 Sending build context to Docker daemon 3.226MB 20:57:19 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:57:19 Step 2/26 : FROM ${BASE} AS builder 20:57:19 ---> 62967a59538b 20:57:19 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:57:19 ---> Running in 585b3f00cd70 20:57:19 Removing intermediate container 585b3f00cd70 20:57:19 ---> 7e960abc5599 20:57:19 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:57:19 ---> Running in 8330ece37eed 20:57:19 Removing intermediate container 8330ece37eed 20:57:19 ---> e8187984749e 20:57:19 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:57:19 ---> Running in f5c7807b69f0 20:57:19 Removing intermediate container f5c7807b69f0 20:57:19 ---> 6bd335c86fb6 20:57:19 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:19 ---> Running in 606aa384ddac 20:57:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:57:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:57:20 OK: 211 MiB in 51 packages 20:57:20 Removing intermediate container 606aa384ddac 20:57:20 ---> 49524915b362 20:57:20 Step 7/26 : WORKDIR /app 20:57:20 ---> Running in fc2106a5d673 20:57:20 Removing intermediate container fc2106a5d673 20:57:20 ---> 413bcc4fd7c0 20:57:20 Step 8/26 : COPY go.mod vendor* ./ 20:57:20 ---> 34a2f96f2d80 20:57:20 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:20 ---> Running in 580c85705091 20:57:21 Removing intermediate container 580c85705091 20:57:21 ---> bad0a64983d6 20:57:21 Step 10/26 : COPY . . 20:57:21 ---> 6fc8c8b74f6c 20:57:21 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:21 ---> Running in 214634b0885b 20:57:21 Removing intermediate container 214634b0885b 20:57:21 ---> aad2e8477b5e 20:57:21 Step 12/26 : RUN $MAKE 20:57:22 ---> Running in a56423abf06d 20:57:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 20:57:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7123 in /w/workspace/_app-service-configurable_PR-523 [Pipeline] { [Pipeline] ws 20:57:23 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 20:57:23 Selected Git installation does not exist. Using Default 20:57:23 The recommended git tool is: NONE 20:57:28 using credential edgex-jenkins-ssh 20:57:28 Cloning the remote Git repository 20:57:28 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 20:57:28 > git init /w/workspace/app-service-configurable/3 # timeout=10 20:57:28 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:57:28 > git --version # timeout=10 20:57:28 > git --version # 'git version 2.25.1' 20:57:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:29 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:57:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:57:30 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 20:57:30 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 20:57:30 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/523/head:refs/remotes/origin/PR-523 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:57:31 Merging remotes/origin/main commit ae5c3a222e830755d999430446b5cf0927b9c680 into PR head commit 9d26d23b18b6d4a723ea072f36f1212676a29dc3 20:57:31 Merge succeeded, producing 9d26d23b18b6d4a723ea072f36f1212676a29dc3 20:57:31 Checking out Revision 9d26d23b18b6d4a723ea072f36f1212676a29dc3 (PR-523) 20:57:31 > git config core.sparsecheckout # timeout=10 20:57:31 > git checkout -f 9d26d23b18b6d4a723ea072f36f1212676a29dc3 # timeout=10 20:57:31 > git remote # timeout=10 20:57:31 > git config --get remote.origin.url # timeout=10 20:57:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:57:31 > git merge ae5c3a222e830755d999430446b5cf0927b9c680 # timeout=10 20:57:31 > git rev-parse HEAD^{commit} # timeout=10 20:57:31 > git config core.sparsecheckout # timeout=10 20:57:31 > git checkout -f 9d26d23b18b6d4a723ea072f36f1212676a29dc3 # timeout=10 20:57:34 Commit message: "build(deps)!: Consume latest changes in App SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:57:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:57:35 % Total % Received % Xferd Average Speed Time Time Time Current 20:57:35 Dload Upload Total Spent Left Speed 20:57:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 20:57:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:57:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:57:36 + sudo tee /etc/docker/daemon.new 20:57:36 { 20:57:36 "registry-mirrors": [ 20:57:36 "https://nexus3.edgexfoundry.org:10001" 20:57:36 ], 20:57:36 "bip": "10.250.0.254/24", 20:57:36 "hosts": [ 20:57:36 "tcp://0.0.0.0:5555", 20:57:36 "unix:///var/run/docker.sock" 20:57:36 ], 20:57:36 "mtu": 1458, 20:57:36 "selinux-enabled": true, 20:57:36 "seccomp-profile": "/etc/docker/seccomp.json" 20:57:36 } [Pipeline] sh 20:57:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:57:37 + sudo service docker restart 20:57:44 Removing intermediate container a56423abf06d 20:57:44 ---> 2ea9a0648e5d 20:57:44 Step 13/26 : FROM alpine:3.16 20:57:44 3.16: Pulling from library/alpine 20:57:44 ef5531b6e74e: Pulling fs layer 20:57:44 ef5531b6e74e: Verifying Checksum 20:57:44 ef5531b6e74e: Download complete 20:57:44 ef5531b6e74e: Pull complete 20:57:44 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 20:57:44 Status: Downloaded newer image for alpine:3.16 20:57:44 ---> dfd21b5a31f5 20:57:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:57:44 ---> Running in 55f8f03801a6 20:57:44 Removing intermediate container 55f8f03801a6 20:57:44 ---> 2f0d9994d942 20:57:44 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 20:57:44 ---> Running in 52af5480cd91 20:57:44 Removing intermediate container 52af5480cd91 20:57:44 ---> 256641a3959f 20:57:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:57:44 ---> Running in d3024517be14 20:57:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:57:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:57:44 (1/2) Installing ca-certificates (20220614-r0) 20:57:45 (2/2) Installing dumb-init (1.2.5-r1) 20:57:45 Executing busybox-1.35.0-r17.trigger 20:57:45 Executing ca-certificates-20220614-r0.trigger 20:57:45 OK: 6 MiB in 16 packages 20:57:45 Removing intermediate container d3024517be14 20:57:45 ---> bd856369abbe 20:57:45 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:57:45 ---> a1c64672244b 20:57:45 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:57:45 ---> 7bf484a9b9cd 20:57:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:57:45 ---> 2371076cb877 20:57:45 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 20:57:46 ---> 4b6f95557cd0 20:57:46 Step 21/26 : EXPOSE 48095 20:57:46 ---> Running in 17f283f49e08 20:57:46 Removing intermediate container 17f283f49e08 20:57:46 ---> d42e565fe8ff 20:57:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 20:57:46 ---> Running in c6b75e309f16 20:57:46 Removing intermediate container c6b75e309f16 20:57:46 ---> 196aa19fbd3e 20:57:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:57:46 ---> Running in 56616893c9bc 20:57:47 Removing intermediate container 56616893c9bc 20:57:47 ---> 1d71e0170ee3 20:57:47 Step 24/26 : LABEL arch=amd64 20:57:47 ---> Running in a3adf790f044 20:57:47 Removing intermediate container a3adf790f044 20:57:47 ---> 362b3b4bb4b0 20:57:47 Step 25/26 : LABEL git_sha=9d26d23b18b6d4a723ea072f36f1212676a29dc3 20:57:47 ---> Running in 04d5562ae5bc 20:57:47 Removing intermediate container 04d5562ae5bc 20:57:47 ---> ccd9ee662b22 20:57:47 Step 26/26 : LABEL version=0.0.0 20:57:47 ---> Running in 81f28d53a44f 20:57:47 Removing intermediate container 81f28d53a44f 20:57:47 ---> ab0735af90b0 20:57:47 [Warning] One or more build-args [ARCH] were not consumed 20:57:47 Successfully built ab0735af90b0 20:57:47 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:57:47 20:57:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:57:48 latest: Pulling from edgex-lftools-log-publisher 20:57:48 5eb5b503b376: Pulling fs layer 20:57:48 5c69ac0246d0: Pulling fs layer 20:57:48 ec43610c2a17: Pulling fs layer 20:57:48 3a2ae6a8a46f: Pulling fs layer 20:57:48 33b1e0a273af: Pulling fs layer 20:57:48 5d3b04190fa2: Pulling fs layer 20:57:48 3a2ae6a8a46f: Waiting 20:57:48 33b1e0a273af: Waiting 20:57:48 2f39f015ded8: Pulling fs layer 20:57:48 2f39f015ded8: Waiting 20:57:48 5d3b04190fa2: Waiting 20:57:48 5c69ac0246d0: Verifying Checksum 20:57:48 5c69ac0246d0: Download complete 20:57:48 3a2ae6a8a46f: Verifying Checksum 20:57:48 3a2ae6a8a46f: Download complete 20:57:48 33b1e0a273af: Verifying Checksum 20:57:48 33b1e0a273af: Download complete 20:57:48 5d3b04190fa2: Verifying Checksum 20:57:48 5d3b04190fa2: Download complete 20:57:48 ec43610c2a17: Verifying Checksum 20:57:48 ec43610c2a17: Download complete 20:57:48 5eb5b503b376: Verifying Checksum 20:57:48 5eb5b503b376: Download complete 20:57:49 2f39f015ded8: Verifying Checksum 20:57:49 2f39f015ded8: Download complete 20:57:49 5eb5b503b376: Pull complete 20:57:49 5c69ac0246d0: Pull complete 20:57:50 ec43610c2a17: Pull complete 20:57:50 3a2ae6a8a46f: Pull complete 20:57:50 33b1e0a273af: Pull complete 20:57:50 5d3b04190fa2: Pull complete 20:57:54 2f39f015ded8: Pull complete 20:57:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:57:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:57:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:54 prd-ubuntu20.04-docker-8c-8g-7122 does not seem to be running inside a container 20:57:54 $ 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-523 -v /w/workspace/_app-service-configurable_PR-523:/w/workspace/_app-service-configurable_PR-523:rw,z -v /w/workspace/_app-service-configurable_PR-523@tmp:/w/workspace/_app-service-configurable_PR-523@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:57:59 $ docker top 8292cc78875404f49ac9cf454dcea8f7c6378092acbec38d4360f213e9c78051 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 20:57:59 provisioning config files... 20:58:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config930310695181043285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:00 ---> job-cost.sh 20:58:00 lf-activate-venv: SKIPPING 20:58:00 INFO: No Stack... 20:58:00 ---> docker-login.sh 20:58:00 nexus3.edgexfoundry.org:10001 20:58:00 INFO: Retrieving Pricing Info for: v3-standard-8 20:58:01 INFO: Archiving Costs [Pipeline] sh 20:58:01 + cat /w/workspace/_app-service-configurable_PR-523/archives/cost.csv 20:58:01 + cut -d, -f6 [Pipeline] lock 20:58:01 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-523-3-stack-cost] 20:58:01 Resource [jenkins-edgexfoundry-app-service-configurable-PR-523-3-stack-cost] did not exist. Created. 20:58:01 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-523-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:01 + echo total: 0.2199999988079071 [Pipeline] stash 20:58:01 Stashed 1 file(s) [Pipeline] } 20:58:01 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-523-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:01 $ docker stop --time=1 8292cc78875404f49ac9cf454dcea8f7c6378092acbec38d4360f213e9c78051 20:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:01 Configure a credential helper to remove this warning. See 20:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:01 20:58:01 Login Succeeded 20:58:02 nexus3.edgexfoundry.org:10002 20:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:02 Configure a credential helper to remove this warning. See 20:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:02 20:58:02 Login Succeeded 20:58:02 nexus3.edgexfoundry.org:10003 20:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:02 Configure a credential helper to remove this warning. See 20:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:02 20:58:02 Login Succeeded 20:58:02 nexus3.edgexfoundry.org:10004 20:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:02 Configure a credential helper to remove this warning. See 20:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:02 20:58:02 Login Succeeded 20:58:02 docker.io 20:58:02 $ docker rm -f --volumes 8292cc78875404f49ac9cf454dcea8f7c6378092acbec38d4360f213e9c78051 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:03 Configure a credential helper to remove this warning. See 20:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:03 20:58:03 Login Succeeded 20:58:03 ---> docker-login.sh ends [Pipeline] } 20:58:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:58:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:03 ========================================================= 20:58:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:58:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:58:03 Sending build context to Docker daemon 178.7kB 20:58:04 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:58:04 Step 2/12 : FROM ${BASE} AS builder 20:58:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:58:04 9b18e9b68314: Pulling fs layer 20:58:04 35d82f9e3411: Pulling fs layer 20:58:04 e16973657156: Pulling fs layer 20:58:04 fc693d55d65f: Pulling fs layer 20:58:04 7e9fc2657dce: Pulling fs layer 20:58:04 dda99020689f: Pulling fs layer 20:58:04 db1c61fa0a46: Pulling fs layer 20:58:04 891c053d2c06: Pulling fs layer 20:58:04 fc693d55d65f: Waiting 20:58:04 7e9fc2657dce: Waiting 20:58:04 dda99020689f: Waiting 20:58:04 db1c61fa0a46: Waiting 20:58:04 891c053d2c06: Waiting 20:58:04 e16973657156: Verifying Checksum 20:58:04 e16973657156: Download complete 20:58:04 35d82f9e3411: Verifying Checksum 20:58:04 35d82f9e3411: Download complete 20:58:04 7e9fc2657dce: Verifying Checksum 20:58:04 7e9fc2657dce: Download complete 20:58:04 dda99020689f: Verifying Checksum 20:58:04 dda99020689f: Download complete 20:58:04 9b18e9b68314: Verifying Checksum 20:58:04 9b18e9b68314: Download complete 20:58:05 9b18e9b68314: Pull complete 20:58:05 891c053d2c06: Verifying Checksum 20:58:05 35d82f9e3411: Pull complete 20:58:05 e16973657156: Pull complete 20:58:06 db1c61fa0a46: Verifying Checksum 20:58:06 db1c61fa0a46: Download complete 20:58:07 fc693d55d65f: Verifying Checksum 20:58:07 fc693d55d65f: Download complete 20:58:19 fc693d55d65f: Pull complete 20:58:19 7e9fc2657dce: Pull complete 20:58:19 dda99020689f: Pull complete 20:58:24 db1c61fa0a46: Pull complete 20:58:27 891c053d2c06: Pull complete 20:58:27 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:58:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:58:27 ---> f96f9c87975a 20:58:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:58:28 ---> Running in 4397780f6d3c 20:58:28 Removing intermediate container 4397780f6d3c 20:58:28 ---> 11ed5beeac67 20:58:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:58:28 ---> Running in 0fcf6fa0f09c 20:58:28 Removing intermediate container 0fcf6fa0f09c 20:58:28 ---> 5c38743b771c 20:58:28 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:58:29 ---> Running in 5638e2f3acdf 20:58:29 Removing intermediate container 5638e2f3acdf 20:58:29 ---> a4fbd79c471b 20:58:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:29 ---> Running in 260fb330357a 20:58:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:58:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:58:31 OK: 221 MiB in 51 packages 20:58:32 Removing intermediate container 260fb330357a 20:58:32 ---> b06b697d8f92 20:58:32 Step 7/12 : WORKDIR /app 20:58:32 ---> Running in e6e259ce7dfe 20:58:33 Removing intermediate container e6e259ce7dfe 20:58:33 ---> 66d6019f403f 20:58:33 Step 8/12 : COPY go.mod vendor* ./ 20:58:33 ---> 5e2f5383b4a2 20:58:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:33 ---> Running in c13ef289aeaf 20:59:41 Removing intermediate container c13ef289aeaf 20:59:41 ---> 6895640b21be 20:59:41 Step 10/12 : COPY . . 20:59:41 ---> 024e29cf9ac3 20:59:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:41 ---> Running in c27d142ca4e1 20:59:41 Removing intermediate container c27d142ca4e1 20:59:41 ---> 8750691f9f7f 20:59:41 Step 12/12 : RUN $MAKE 20:59:41 ---> Running in c8dffd09f716 20:59:41 noop 20:59:41 Removing intermediate container c8dffd09f716 20:59:41 ---> 2e60b89d799c 20:59:41 Successfully built 2e60b89d799c 20:59:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:41 + docker inspect -f . ci-base-image-arm64 20:59:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:42 prd-ubuntu20.04-docker-arm64-4c-16g-7123 does not seem to be running inside a container 20:59:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:59:43 $ docker top 77138843d7dccff4fb8377669e186e780c6011a448368fb2b409cb573bc27d07 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:44 + go version 20:59:44 go version go1.18.7 linux/arm64 [Pipeline] } 20:59:44 $ docker stop --time=1 77138843d7dccff4fb8377669e186e780c6011a448368fb2b409cb573bc27d07 20:59:45 $ docker rm -f --volumes 77138843d7dccff4fb8377669e186e780c6011a448368fb2b409cb573bc27d07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:46 + docker inspect -f . ci-base-image-arm64 20:59:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:46 prd-ubuntu20.04-docker-arm64-4c-16g-7123 does not seem to be running inside a container 20:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:59:47 $ docker top 3ae3850ab3948c5d865802a08a64317a197f1291fece88af4f67ad27afe058ba -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:48 + git config --global --add safe.directory /w/workspace/app-service-configurable/3 [Pipeline] fileExists [Pipeline] sh 20:59:48 + make test 20:59:49 go test -race -coverprofile=coverage.out ./... 21:02:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 21:02:10 go vet ./... 21:03:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:03:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:03:32 ./bin/test-attribution-txt.sh [Pipeline] echo 21:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:03:32 $ docker stop --time=1 3ae3850ab3948c5d865802a08a64317a197f1291fece88af4f67ad27afe058ba 21:03:34 $ docker rm -f --volumes 3ae3850ab3948c5d865802a08a64317a197f1291fece88af4f67ad27afe058ba [Pipeline] // withDockerContainer [Pipeline] sh 21:03:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:03:35 Warning: overwriting stash ‘coverage-report’ 21:03:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:03:36 + ls -al . 21:03:36 total 168 21:03:36 drwxrwxr-x 7 jenkins jenkins 4096 Feb 22 20:59 . 21:03:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 20:57 .. 21:03:36 -rw-rw-r-- 1 jenkins jenkins 119 Feb 22 20:57 .dockerignore 21:03:36 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 20:57 .git 21:03:36 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 20:57 .github 21:03:36 -rw-rw-r-- 1 jenkins jenkins 171 Feb 22 20:57 .gitignore 21:03:36 -rw-rw-r-- 1 jenkins jenkins 9320 Feb 22 20:57 Attribution.txt 21:03:36 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 22 20:57 CHANGELOG.md 21:03:36 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 22 20:57 Dockerfile 21:03:36 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 20:57 GOVERNANCE.md 21:03:36 -rw-rw-r-- 1 jenkins jenkins 688 Feb 22 20:57 Jenkinsfile 21:03:36 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 22 20:57 LICENSE 21:03:36 -rw-rw-r-- 1 jenkins jenkins 618 Feb 22 20:57 OWNERS.md 21:03:36 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 22 20:57 README.md 21:03:36 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 20:55 VERSION 21:03:36 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 20:57 bin 21:03:36 -rw-r--r-- 1 jenkins jenkins 13 Feb 22 20:59 coverage.out 21:03:36 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 22 20:57 go.mod 21:03:36 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 22 20:57 go.sum 21:03:36 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 22 20:57 main.go 21:03:36 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 22 20:57 makefile 21:03:36 drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 20:57 res 21:03:36 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 20:57 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:37 + 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=9d26d23b18b6d4a723ea072f36f1212676a29dc3 --label arch=arm64 --label version=0.0.0 . 21:03:37 Sending build context to Docker daemon 179.7kB 21:03:37 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:03:37 Step 2/26 : FROM ${BASE} AS builder 21:03:37 ---> 2e60b89d799c 21:03:37 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:03:37 ---> Running in c0f9e6f672d0 21:03:37 Removing intermediate container c0f9e6f672d0 21:03:37 ---> 2a4e8aef9236 21:03:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:03:37 ---> Running in 65602e762338 21:03:38 Removing intermediate container 65602e762338 21:03:38 ---> bad966495d7b 21:03:38 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:03:38 ---> Running in d3413df5454b 21:03:38 Removing intermediate container d3413df5454b 21:03:38 ---> 0f919afc0c0d 21:03:38 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:03:38 ---> Running in 5ceb9a973db5 21:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:03:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:03:40 OK: 221 MiB in 51 packages 21:03:41 Removing intermediate container 5ceb9a973db5 21:03:41 ---> 59878e0cd7a6 21:03:41 Step 7/26 : WORKDIR /app 21:03:42 ---> Running in 63115247769e 21:03:42 Removing intermediate container 63115247769e 21:03:42 ---> c44600699e8b 21:03:42 Step 8/26 : COPY go.mod vendor* ./ 21:03:43 ---> 759c2e8aa7d1 21:03:43 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:43 ---> Running in 4475036f26f0 21:03:45 Removing intermediate container 4475036f26f0 21:03:45 ---> ca43e8a0b8a6 21:03:45 Step 10/26 : COPY . . 21:03:46 ---> 1268f25d64eb 21:03:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:03:46 ---> Running in 9315331eb740 21:03:46 Removing intermediate container 9315331eb740 21:03:46 ---> c4e82375e620 21:03:46 Step 12/26 : RUN $MAKE 21:03:46 ---> Running in 30b391ab08eb 21:03:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 21:05:54 Removing intermediate container 30b391ab08eb 21:05:54 ---> a96460743aaa 21:05:54 Step 13/26 : FROM alpine:3.16 21:05:54 3.16: Pulling from library/alpine 21:05:54 3760b48202b3: Pulling fs layer 21:05:54 3760b48202b3: Verifying Checksum 21:05:54 3760b48202b3: Download complete 21:05:54 3760b48202b3: Pull complete 21:05:54 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:05:54 Status: Downloaded newer image for alpine:3.16 21:05:54 ---> 4c81e5bf8899 21:05:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:05:54 ---> Running in dc8e8894e5f8 21:05:54 Removing intermediate container dc8e8894e5f8 21:05:54 ---> 66c2ac725c12 21:05:54 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 21:05:54 ---> Running in 34aa940081c3 21:05:54 Removing intermediate container 34aa940081c3 21:05:54 ---> bc27c98774cd 21:05:54 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:05:54 ---> Running in 89afc5446d69 21:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:05:54 (1/2) Installing ca-certificates (20220614-r0) 21:05:54 (2/2) Installing dumb-init (1.2.5-r1) 21:05:54 Executing busybox-1.35.0-r17.trigger 21:05:54 Executing ca-certificates-20220614-r0.trigger 21:05:54 OK: 6 MiB in 16 packages 21:05:54 Removing intermediate container 89afc5446d69 21:05:54 ---> 2b87f76b8d4d 21:05:54 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:05:54 ---> 1c8f5b364639 21:05:54 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:05:54 ---> 5603bd429298 21:05:54 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:05:54 ---> e31503869e3f 21:05:54 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 21:05:54 ---> 3327b82227c7 21:05:54 Step 21/26 : EXPOSE 48095 21:05:54 ---> Running in 937cd0fb9e44 21:05:55 Removing intermediate container 937cd0fb9e44 21:05:55 ---> aa63bb4dae70 21:05:55 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 21:05:55 ---> Running in 3336fc07791a 21:05:55 Removing intermediate container 3336fc07791a 21:05:55 ---> 2d3164f12bcb 21:05:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:05:55 ---> Running in 4ad5b2eb83ab 21:05:55 Removing intermediate container 4ad5b2eb83ab 21:05:55 ---> c12166ec2800 21:05:55 Step 24/26 : LABEL arch=arm64 21:05:55 ---> Running in 8f2cb7ded53a 21:05:56 Removing intermediate container 8f2cb7ded53a 21:05:56 ---> 87f51b6ebea1 21:05:56 Step 25/26 : LABEL git_sha=9d26d23b18b6d4a723ea072f36f1212676a29dc3 21:05:56 ---> Running in d1798bbfa586 21:05:56 Removing intermediate container d1798bbfa586 21:05:56 ---> 8830ceccd116 21:05:56 Step 26/26 : LABEL version=0.0.0 21:05:56 ---> Running in 013e97b276b1 21:05:57 Removing intermediate container 013e97b276b1 21:05:57 ---> d1fbc383dba4 21:05:57 [Warning] One or more build-args [ARCH] were not consumed 21:05:57 Successfully built d1fbc383dba4 21:05:57 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 21:05:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:57 21:05:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:57 arm64: Pulling from edgex-lftools-log-publisher 21:05:57 8998bd30e6a1: Pulling fs layer 21:05:57 04944245beec: Pulling fs layer 21:05:57 699f458cf7ca: Pulling fs layer 21:05:57 765212b225bb: Pulling fs layer 21:05:57 f23df028b6ca: Pulling fs layer 21:05:57 d65c8cfc05b1: Pulling fs layer 21:05:57 2437ff75d9bd: Pulling fs layer 21:05:57 f23df028b6ca: Waiting 21:05:57 d65c8cfc05b1: Waiting 21:05:57 765212b225bb: Waiting 21:05:57 2437ff75d9bd: Waiting 21:05:58 04944245beec: Verifying Checksum 21:05:58 04944245beec: Download complete 21:05:58 765212b225bb: Verifying Checksum 21:05:58 765212b225bb: Download complete 21:05:58 f23df028b6ca: Verifying Checksum 21:05:58 f23df028b6ca: Download complete 21:05:58 d65c8cfc05b1: Verifying Checksum 21:05:58 d65c8cfc05b1: Download complete 21:05:58 699f458cf7ca: Verifying Checksum 21:05:58 8998bd30e6a1: Verifying Checksum 21:05:58 8998bd30e6a1: Download complete 21:06:00 2437ff75d9bd: Verifying Checksum 21:06:00 2437ff75d9bd: Download complete 21:06:02 8998bd30e6a1: Pull complete 21:06:02 04944245beec: Pull complete 21:06:03 699f458cf7ca: Pull complete 21:06:03 765212b225bb: Pull complete 21:06:04 f23df028b6ca: Pull complete 21:06:04 d65c8cfc05b1: Pull complete 21:06:17 2437ff75d9bd: Pull complete 21:06:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:06:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:17 prd-ubuntu20.04-docker-arm64-4c-16g-7123 does not seem to be running inside a container 21:06:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:06:20 $ docker top c7385b2cf7af47d2b451a470196d5e8e289d58a1ee7bb60addf315316b1114f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:20 ---> job-cost.sh 21:06:20 lf-activate-venv: SKIPPING 21:06:20 INFO: No Stack... 21:06:21 INFO: Retrieving Pricing Info for: v3-standard-4 21:06:22 INFO: Archiving Costs [Pipeline] sh 21:06:22 + cat /w/workspace/app-service-configurable/3/archives/cost.csv 21:06:22 + cut -d, -f6 [Pipeline] lock 21:06:22 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-523-3-stack-cost] 21:06:22 Resource [jenkins-edgexfoundry-app-service-configurable-PR-523-3-stack-cost] did not exist. Created. 21:06:22 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-523-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:23 /w/workspace/app-service-configurable/3@tmp/durable-5e8616cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:06:23 + echo total: 0.10999999940395355 [Pipeline] stash 21:06:23 Warning: overwriting stash ‘stack-cost’ 21:06:23 Stashed 1 file(s) [Pipeline] } 21:06:23 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-523-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:23 $ docker stop --time=1 c7385b2cf7af47d2b451a470196d5e8e289d58a1ee7bb60addf315316b1114f6 21:06:25 $ docker rm -f --volumes c7385b2cf7af47d2b451a470196d5e8e289d58a1ee7bb60addf315316b1114f6 [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 21:06:25 provisioning config files... 21:06:25 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-523@tmp/config6716232131368776449tmp [Pipeline] { [Pipeline] sh 21:06:26 + set +x 21:06:26 + curl -s https://codecov.io/bash 21:06:26 + bash -s -- 21:06:26 21:06:26 _____ _ 21:06:26 / ____| | | 21:06:26 | | ___ __| | ___ ___ _____ __ 21:06:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:06:26 | |___| (_) | (_| | __/ (_| (_) \ V / 21:06:26 \_____\___/ \__,_|\___|\___\___/ \_/ 21:06:26 Bash-1.0.6 21:06:26 21:06:26 21:06:26 ==> git version 2.25.1 found 21:06:26 ==> 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 21:06:26 Release-Date: 2020-01-08 21:06:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:06:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:06:26 ==> Jenkins CI detected. 21:06:26 current dir:  /w/workspace/_app-service-configurable_PR-523 21:06:26 project root: . 21:06:26 --> token set from env 21:06:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:06:26 ==> Running gcov in . (disable via -X gcov) 21:06:26 ==> Python coveragepy not found 21:06:26 ==> Searching for coverage reports in: 21:06:26 + . 21:06:26 -> Found 1 reports 21:06:26 ==> Detecting git/mercurial file structure 21:06:26 ==> Reading reports 21:06:26 + ./coverage.out bytes=13 21:06:26 ==> Appending adjustments 21:06:26 https://docs.codecov.io/docs/fixing-reports 21:06:26 + Found adjustments 21:06:26 ==> Gzipping contents 21:06:26 4.0K /tmp/codecov.xUOaW0.gz 21:06:26 ==> Uploading reports 21:06:26 url: https://codecov.io 21:06:26 query: branch=PR-523&commit=9d26d23b18b6d4a723ea072f36f1212676a29dc3&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-523%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=523&job=&cmd_args= 21:06:26 -> Pinging Codecov 21:06:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-523&commit=9d26d23b18b6d4a723ea072f36f1212676a29dc3&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-523%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=523&job=&cmd_args= 21:06:26 -> Uploading to 21:06:26 https://storage.googleapis.com/codecov/v4/raw/2023-02-22/A97CA9966030D2A3747ED39772930CCE/9d26d23b18b6d4a723ea072f36f1212676a29dc3/a7a2e958-1ee4-4c3a-9361-16cd6f20af92.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T210626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06c4e0c04b13e47d6d3453ce10f23495df114b3ee3862bb077c751a85fee37c8 21:06:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:26 Dload Upload Total Spent Left Speed 21:06:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 1857 --:--:-- --:--:-- --:--:-- 1850 100 520 0 0 100 520 0 1857 --:--:-- --:--:-- --:--:-- 1850 21:06:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/9d26d23b18b6d4a723ea072f36f1212676a29dc3 [Pipeline] } 21:06:26 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 21:06:27 + [ -d /w/workspace/_app-service-configurable_PR-523/archives ] 21:06:27 + ls -al /w/workspace/_app-service-configurable_PR-523/archives 21:06:27 total 16 21:06:27 drwxr-xr-x 3 root root 4096 Feb 22 20:58 . 21:06:27 drwxrwxr-x 9 jenkins jenkins 4096 Feb 22 20:58 .. 21:06:27 drwxr-xr-x 2 root root 4096 Feb 22 20:58 cost 21:06:27 -rw-r--r-- 1 root root 96 Feb 22 20:58 cost.csv 21:06:27 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-523/archives 21:06:27 + ls -al /w/workspace/_app-service-configurable_PR-523/archives 21:06:27 total 16 21:06:27 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 20:58 . 21:06:27 drwxrwxr-x 9 jenkins jenkins 4096 Feb 22 20:58 .. 21:06:27 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 20:58 cost 21:06:27 -rw-r--r-- 1 jenkins jenkins 96 Feb 22 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:06:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:06:28 ---> package-listing.sh 21:06:28 ++ facter osfamily 21:06:28 ++ tr '[:upper:]' '[:lower:]' 21:06:28 + OS_FAMILY=debian 21:06:28 + workspace=/w/workspace/_app-service-configurable_PR-523 21:06:28 + START_PACKAGES=/tmp/packages_start.txt 21:06:28 + END_PACKAGES=/tmp/packages_end.txt 21:06:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:06:28 + PACKAGES=/tmp/packages_start.txt 21:06:28 + '[' /w/workspace/_app-service-configurable_PR-523 ']' 21:06:28 + PACKAGES=/tmp/packages_end.txt 21:06:28 + case "${OS_FAMILY}" in 21:06:28 + dpkg -l 21:06:28 + grep '^ii' 21:06:28 + '[' -f /tmp/packages_start.txt ']' 21:06:28 + '[' -f /tmp/packages_end.txt ']' 21:06:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:06:28 + '[' /w/workspace/_app-service-configurable_PR-523 ']' 21:06:28 + mkdir -p /w/workspace/_app-service-configurable_PR-523/archives/ 21:06:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-523/archives/ [Pipeline] echo 21:06:28 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-523/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:06:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:29 prd-ubuntu20.04-docker-8c-8g-7122 does not seem to be running inside a container 21:06:29 $ 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-523/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-523 -v /w/workspace/_app-service-configurable_PR-523:/w/workspace/_app-service-configurable_PR-523:rw,z -v /w/workspace/_app-service-configurable_PR-523@tmp:/w/workspace/_app-service-configurable_PR-523@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:06:30 $ docker top 5d853c46ff20056917445152009090a0bcd305bc9af45a3fcf8d2a542c1d0c13 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:30 + touch /tmp/pre-build-complete [Pipeline] sh 21:06:30 + mkdir -p /var/log/sysstat [Pipeline] sh 21:06:30 + ls /var/log/sa-host 21:06:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:31 provisioning config files... 21:06:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-523@tmp/config1473396861055081615tmp [Pipeline] { [Pipeline] echo 21:06:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:06:31 ---> create-netrc.sh [Pipeline] } 21:06:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:06:31 ---> python-tools-install.sh [Pipeline] echo 21:06:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:06:31 ---> sudo-logs.sh 21:06:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:06:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:06:32 ---> job-cost.sh 21:06:32 lf-activate-venv: SKIPPING 21:06:32 DEBUG: total: 0.2199999988079071 21:06:32 INFO: Retrieving Stack Cost... 21:06:32 INFO: Retrieving Pricing Info for: v3-standard-8 21:06:33 INFO: Archiving Costs [Pipeline] echo 21:06:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:06:33 ---> logs-deploy.sh 21:06:33 lf-activate-venv: SKIPPING 21:06:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-523/3 21:06:33 INFO: archiving workspace using pattern(s): 21:06:34 Archives upload complete. 21:06:34 INFO: archiving logs to Nexus