Pull request #517 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 186bd0b0e12eb07d8de871cb0d7ef81f455b611f+2fb2187aee5de59b88737c8c64f9f7346195a6a3 (025bd9deb8764a374118c17892d3677305aa5126) 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-ssh2257716819268377245.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-ssh16604636212977088160.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14012714141434040734.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16219160243492201226.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh13603424668947983892.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12165996611297971032.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-6110 in /w/workspace/_app-service-configurable_PR-517 [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-517 # 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/517/head:refs/remotes/origin/PR-517 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2fb2187aee5de59b88737c8c64f9f7346195a6a3 into PR head commit 186bd0b0e12eb07d8de871cb0d7ef81f455b611f Merge succeeded, producing 186bd0b0e12eb07d8de871cb0d7ef81f455b611f Checking out Revision 186bd0b0e12eb07d8de871cb0d7ef81f455b611f (PR-517) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:38 ========================================================= 12:58:38 EdgeX Global Pipelines Version Info 12:58:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 186bd0b0e12eb07d8de871cb0d7ef81f455b611f # 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 2fb2187aee5de59b88737c8c64f9f7346195a6a3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 186bd0b0e12eb07d8de871cb0d7ef81f455b611f # timeout=10 12:58:38 ------------------- 12:58:38 stable info: 12:58:38 ------------------- 12:58:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:58:38 Message: update stable to v1.0.244 12:58:39 ------------------- 12:58:39 experimental info: 12:58:39 ------------------- 12:58:39 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:58:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-517 [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-517 [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-517 [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 186bd0b0e12eb07d8de871cb0d7ef81f455b611f [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 186bd0b [Pipeline] echo 12:58:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:40 provisioning config files... 12:58:40 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-517@tmp/config8185947476173240440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:41 ---> docker-login.sh 12:58:41 nexus3.edgexfoundry.org:10001 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 nexus3.edgexfoundry.org:10002 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 nexus3.edgexfoundry.org:10003 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 nexus3.edgexfoundry.org:10004 12:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:42 Configure a credential helper to remove this warning. See 12:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:42 12:58:42 Login Succeeded 12:58:42 docker.io 12:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:42 Configure a credential helper to remove this warning. See 12:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:42 12:58:42 Login Succeeded 12:58:42 ---> docker-login.sh ends [Pipeline] } 12:58:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:42 + git rev-list -1 --merges 186bd0b0e12eb07d8de871cb0d7ef81f455b611f~1..186bd0b0e12eb07d8de871cb0d7ef81f455b611f [Pipeline] echo 12:58:43 -----------> git rev-list -1 --merges 186bd0b0e12eb07d8de871cb0d7ef81f455b611f~1..186bd0b0e12eb07d8de871cb0d7ef81f455b611f 186bd0b0e12eb07d8de871cb0d7ef81f455b611f [false] [Pipeline] sh 12:58:43 + git log --format=format:%s -1 186bd0b0e12eb07d8de871cb0d7ef81f455b611f [Pipeline] echo 12:58:43 ========================================================= 12:58:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:43 + git log --format=format:%s -1 186bd0b0e12eb07d8de871cb0d7ef81f455b611f [Pipeline] echo 12:58:43 [semverPrep] GIT_COMMIT: 186bd0b0e12eb07d8de871cb0d7ef81f455b611f, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:43 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:44 + grep -v github /etc/ssh/ssh_known_hosts 12:58:44 + [ -e /tmp/ssh_known_hosts ] 12:58:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:44 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:44 12:58:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:45 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:45 b85a868b505f: Pulling fs layer 12:58:45 e2be974225ed: Pulling fs layer 12:58:45 339a4e72a1f5: Pulling fs layer 12:58:45 988bab9f4d93: Pulling fs layer 12:58:45 1469e6f7b9e6: Pulling fs layer 12:58:45 eaf3925da568: Pulling fs layer 12:58:45 bab4dde63d76: Pulling fs layer 12:58:45 bde34c3a00c8: Pulling fs layer 12:58:45 b352a97aabf1: Pulling fs layer 12:58:45 4872d77fe225: Pulling fs layer 12:58:45 5851b861e8e6: Pulling fs layer 12:58:45 eaf3925da568: Waiting 12:58:45 bab4dde63d76: Waiting 12:58:45 bde34c3a00c8: Waiting 12:58:45 b352a97aabf1: Waiting 12:58:45 4872d77fe225: Waiting 12:58:45 5851b861e8e6: Waiting 12:58:45 1469e6f7b9e6: Waiting 12:58:45 988bab9f4d93: Waiting 12:58:45 e2be974225ed: Download complete 12:58:45 988bab9f4d93: Verifying Checksum 12:58:45 988bab9f4d93: Download complete 12:58:45 339a4e72a1f5: Verifying Checksum 12:58:45 339a4e72a1f5: Download complete 12:58:45 eaf3925da568: Download complete 12:58:45 1469e6f7b9e6: Verifying Checksum 12:58:45 1469e6f7b9e6: Download complete 12:58:45 bde34c3a00c8: Download complete 12:58:45 b352a97aabf1: Download complete 12:58:45 4872d77fe225: Download complete 12:58:45 b85a868b505f: Verifying Checksum 12:58:45 b85a868b505f: Download complete 12:58:45 5851b861e8e6: Verifying Checksum 12:58:45 5851b861e8e6: Download complete 12:58:46 bab4dde63d76: Verifying Checksum 12:58:46 bab4dde63d76: Download complete 12:58:47 b85a868b505f: Pull complete 12:58:47 e2be974225ed: Pull complete 12:58:47 339a4e72a1f5: Pull complete 12:58:47 988bab9f4d93: Pull complete 12:58:48 1469e6f7b9e6: Pull complete 12:58:48 eaf3925da568: Pull complete 12:58:50 bab4dde63d76: Pull complete 12:58:50 bde34c3a00c8: Pull complete 12:58:50 b352a97aabf1: Pull complete 12:58:50 4872d77fe225: Pull complete 12:58:50 5851b861e8e6: Pull complete 12:58:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:50 prd-ubuntu20.04-docker-8c-8g-6110 does not seem to be running inside a container 12:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-517 -v /w/workspace/_app-service-configurable_PR-517:/w/workspace/_app-service-configurable_PR-517:rw,z -v /w/workspace/_app-service-configurable_PR-517@tmp:/w/workspace/_app-service-configurable_PR-517@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:58:52 $ docker top fe4588750d2e69fe1bfe18724ff0380778b91c87d81101191fc372154c2ab360 -eo pid,comm 12:58:52 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). 12:58:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:52 [ssh-agent] Looking for ssh-agent implementation... 12:58:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:52 $ docker exec fe4588750d2e69fe1bfe18724ff0380778b91c87d81101191fc372154c2ab360 ssh-agent 12:58:52 SSH_AUTH_SOCK=/tmp/ssh-zAVgVpVfklaB/agent.32 12:58:52 SSH_AGENT_PID=38 12:58:52 Running ssh-add (command line suppressed) 12:58:52 Identity added: /w/workspace/_app-service-configurable_PR-517@tmp/private_key_3328769328975712736.key (/w/workspace/_app-service-configurable_PR-517@tmp/private_key_3328769328975712736.key) 12:58:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:52 + git tag --points-at HEAD [Pipeline] } 12:58:53 $ docker exec --env ******** --env ******** fe4588750d2e69fe1bfe18724ff0380778b91c87d81101191fc372154c2ab360 ssh-agent -k 12:58:53 unset SSH_AUTH_SOCK; 12:58:53 unset SSH_AGENT_PID; 12:58:53 echo Agent pid 38 killed; 12:58:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:53 [ssh-agent] Looking for ssh-agent implementation... 12:58:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:53 $ docker exec fe4588750d2e69fe1bfe18724ff0380778b91c87d81101191fc372154c2ab360 ssh-agent 12:58:53 SSH_AUTH_SOCK=/tmp/ssh-MnNJSAxe0yUZ/agent.69 12:58:53 SSH_AGENT_PID=76 12:58:53 Running ssh-add (command line suppressed) 12:58:53 Identity added: /w/workspace/_app-service-configurable_PR-517@tmp/private_key_9530713322245490007.key (/w/workspace/_app-service-configurable_PR-517@tmp/private_key_9530713322245490007.key) 12:58:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:53 + git semver init 12:58:54 2023-02-15 12:58:54,063 [run_init] DEBUG init version:0.0.0 force:False 12:58:54 2023-02-15 12:58:54,064 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-517/.semver 12:58:54 2023-02-15 12:58:54,064 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-517/.semver 12:58:54 2023-02-15 12:58:54,064 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-517/.semver'], cwd=/w/workspace/_app-service-configurable_PR-517, universal_newlines=False, shell=None, istream=None) 12:58:55 2023-02-15 12:58:55,004 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-517/.git/info/exclude 12:58:55 2023-02-15 12:58:55,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-517/.semver/PR-517 with force:False 12:58:55 2023-02-15 12:58:55,005 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-517/.semver/PR-517 12:58:55 2023-02-15 12:58:55,009 [execute] INFO git cat-file --batch-check 12:58:55 2023-02-15 12:58:55,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-517/.semver, universal_newlines=False, shell=None, istream=) 12:58:55 2023-02-15 12:58:55,017 [execute] INFO git cat-file --batch 12:58:55 2023-02-15 12:58:55,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-517/.semver, universal_newlines=False, shell=None, istream=) 12:58:55 2023-02-15 12:58:55,022 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-517/.semver/PR-517 12:58:55 0.0.0 [Pipeline] } 12:58:55 $ docker exec --env ******** --env ******** fe4588750d2e69fe1bfe18724ff0380778b91c87d81101191fc372154c2ab360 ssh-agent -k 12:58:55 unset SSH_AUTH_SOCK; 12:58:55 unset SSH_AGENT_PID; 12:58:55 echo Agent pid 76 killed; 12:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:55 + git semver [Pipeline] } 12:58:55 $ docker stop --time=1 fe4588750d2e69fe1bfe18724ff0380778b91c87d81101191fc372154c2ab360 12:58:57 $ docker rm -f --volumes fe4588750d2e69fe1bfe18724ff0380778b91c87d81101191fc372154c2ab360 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:57 Stashed 1 file(s) [Pipeline] echo 12:58:57 [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 12:58:58 provisioning config files... 12:58:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-517@tmp/config4701797120770666394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:58 ---> docker-login.sh 12:58:58 nexus3.edgexfoundry.org:10001 12:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:58 Configure a credential helper to remove this warning. See 12:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:58 12:58:58 Login Succeeded 12:58:58 nexus3.edgexfoundry.org:10002 12:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:58 Configure a credential helper to remove this warning. See 12:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:58 12:58:58 Login Succeeded 12:58:58 nexus3.edgexfoundry.org:10003 12:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:59 Configure a credential helper to remove this warning. See 12:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:59 12:58:59 Login Succeeded 12:58:59 nexus3.edgexfoundry.org:10004 12:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:59 Configure a credential helper to remove this warning. See 12:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:59 12:58:59 Login Succeeded 12:58:59 docker.io 12:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:59 Configure a credential helper to remove this warning. See 12:58:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:59 12:58:59 Login Succeeded 12:58:59 ---> docker-login.sh ends [Pipeline] } 12:58:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:59 ========================================================= 12:58:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:58:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:00 + 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 . 12:59:00 Sending build context to Docker daemon 3.238MB 12:59:00 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:59:00 Step 2/12 : FROM ${BASE} AS builder 12:59:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:59:00 213ec9aee27d: Pulling fs layer 12:59:00 4583459ba037: Pulling fs layer 12:59:00 93c1e223e6f2: Pulling fs layer 12:59:00 53926ce57604: Pulling fs layer 12:59:00 21b2b0c7a3f4: Pulling fs layer 12:59:00 22ff95d597cd: Pulling fs layer 12:59:00 12d6caf4c0d1: Pulling fs layer 12:59:00 96b7cbca73a9: Pulling fs layer 12:59:00 a7acece74701: Pulling fs layer 12:59:00 12d6caf4c0d1: Waiting 12:59:00 22ff95d597cd: Waiting 12:59:00 96b7cbca73a9: Waiting 12:59:00 53926ce57604: Waiting 12:59:00 a7acece74701: Waiting 12:59:00 21b2b0c7a3f4: Waiting 12:59:00 93c1e223e6f2: Verifying Checksum 12:59:00 93c1e223e6f2: Download complete 12:59:00 4583459ba037: Verifying Checksum 12:59:00 4583459ba037: Download complete 12:59:00 21b2b0c7a3f4: Verifying Checksum 12:59:00 21b2b0c7a3f4: Download complete 12:59:00 22ff95d597cd: Verifying Checksum 12:59:00 22ff95d597cd: Download complete 12:59:00 213ec9aee27d: Verifying Checksum 12:59:00 12d6caf4c0d1: Download complete 12:59:00 213ec9aee27d: Pull complete 12:59:00 4583459ba037: Pull complete 12:59:00 93c1e223e6f2: Pull complete 12:59:01 a7acece74701: Verifying Checksum 12:59:01 a7acece74701: Download complete 12:59:02 53926ce57604: Verifying Checksum 12:59:02 53926ce57604: Download complete 12:59:02 96b7cbca73a9: Verifying Checksum 12:59:02 96b7cbca73a9: Download complete 12:59:06 53926ce57604: Pull complete 12:59:06 21b2b0c7a3f4: Pull complete 12:59:06 22ff95d597cd: Pull complete 12:59:06 12d6caf4c0d1: Pull complete 12:59:08 96b7cbca73a9: Pull complete 12:59:09 a7acece74701: Pull complete 12:59:09 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 12:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:59:09 ---> db6d94c90886 12:59:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:10 ---> Running in 185dc16e8eb3 12:59:10 Removing intermediate container 185dc16e8eb3 12:59:10 ---> 0a8f4268a14d 12:59:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:10 ---> Running in 3e39cf487c99 12:59:11 Removing intermediate container 3e39cf487c99 12:59:11 ---> 61072050dddc 12:59:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:11 ---> Running in fa56b4f1c87e 12:59:11 Removing intermediate container fa56b4f1c87e 12:59:11 ---> 6ad0cb3bff12 12:59:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:11 ---> Running in 67673291e782 12:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:59:11 OK: 211 MiB in 51 packages 12:59:12 Removing intermediate container 67673291e782 12:59:12 ---> c1337f406c21 12:59:12 Step 7/12 : WORKDIR /app 12:59:12 ---> Running in 33e60351c3ec 12:59:12 Removing intermediate container 33e60351c3ec 12:59:12 ---> cceddd0f9b8a 12:59:12 Step 8/12 : COPY go.mod vendor* ./ 12:59:12 ---> b8c2484d692c 12:59:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:12 ---> Running in 5cd3705e22ee 12:59:13 Still waiting to schedule task 12:59:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:00:09 Removing intermediate container 5cd3705e22ee 13:00:09 ---> 9bf600ed99f2 13:00:09 Step 10/12 : COPY . . 13:00:09 ---> 563346531960 13:00:09 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:09 ---> Running in 8527efe6fb1c 13:00:09 Removing intermediate container 8527efe6fb1c 13:00:09 ---> 1d8b57ac7973 13:00:09 Step 12/12 : RUN $MAKE 13:00:09 ---> Running in 70ce9e4141b5 13:00:09 noop 13:00:09 Removing intermediate container 70ce9e4141b5 13:00:09 ---> 0b44135bc2a3 13:00:09 Successfully built 0b44135bc2a3 13:00:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:09 + docker inspect -f . ci-base-image-x86_64 13:00:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:09 prd-ubuntu20.04-docker-8c-8g-6110 does not seem to be running inside a container 13:00:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-517 -v /w/workspace/_app-service-configurable_PR-517:/w/workspace/_app-service-configurable_PR-517:rw,z -v /w/workspace/_app-service-configurable_PR-517@tmp:/w/workspace/_app-service-configurable_PR-517@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 ******** ci-base-image-x86_64 cat 13:00:10 $ docker top dcb312e7fe36fc020c93b471018d994eafdcb5bc09abdd1e01a9017d0849c824 -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:10 + go version 13:00:10 go version go1.18.7 linux/amd64 [Pipeline] } 13:00:10 $ docker stop --time=1 dcb312e7fe36fc020c93b471018d994eafdcb5bc09abdd1e01a9017d0849c824 13:00:11 $ docker rm -f --volumes dcb312e7fe36fc020c93b471018d994eafdcb5bc09abdd1e01a9017d0849c824 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:12 + docker inspect -f . ci-base-image-x86_64 13:00:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:12 prd-ubuntu20.04-docker-8c-8g-6110 does not seem to be running inside a container 13:00:12 $ 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-517 -v /w/workspace/_app-service-configurable_PR-517:/w/workspace/_app-service-configurable_PR-517:rw,z -v /w/workspace/_app-service-configurable_PR-517@tmp:/w/workspace/_app-service-configurable_PR-517@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 ******** ci-base-image-x86_64 cat 13:00:13 $ docker top 3488aced0bdc639fab224c5410d335afc2ab664abcba97ee7c63ad1002fa94cd -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:13 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-517 [Pipeline] fileExists [Pipeline] sh 13:00:13 + make test 13:00:13 go test -race -coverprofile=coverage.out ./... 13:00:31 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:31 go vet ./... 13:00:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:39 ./bin/test-attribution-txt.sh 13:00:39 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 13:00:39 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 13:00:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:40 $ docker stop --time=1 3488aced0bdc639fab224c5410d335afc2ab664abcba97ee7c63ad1002fa94cd 13:00:42 $ docker rm -f --volumes 3488aced0bdc639fab224c5410d335afc2ab664abcba97ee7c63ad1002fa94cd [Pipeline] // withDockerContainer [Pipeline] sh 13:00:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:43 + ls -al . 13:00:43 total 172 13:00:43 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 13:00 . 13:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 12:58 .. 13:00:43 -rw-rw-r-- 1 jenkins jenkins 119 Feb 15 12:58 .dockerignore 13:00:43 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 12:58 .git 13:00:43 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 12:58 .github 13:00:43 -rw-rw-r-- 1 jenkins jenkins 171 Feb 15 12:58 .gitignore 13:00:43 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 12:58 .semver 13:00:43 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 15 12:58 Attribution.txt 13:00:43 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 15 12:58 CHANGELOG.md 13:00:43 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 15 12:58 Dockerfile 13:00:43 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 12:58 GOVERNANCE.md 13:00:43 -rw-rw-r-- 1 jenkins jenkins 688 Feb 15 12:58 Jenkinsfile 13:00:43 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 15 12:58 LICENSE 13:00:43 -rw-rw-r-- 1 jenkins jenkins 618 Feb 15 12:58 OWNERS.md 13:00:43 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 15 12:58 README.md 13:00:43 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 12:58 VERSION 13:00:43 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 12:58 bin 13:00:43 -rw-r--r-- 1 jenkins jenkins 13 Feb 15 13:00 coverage.out 13:00:43 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 15 12:58 go.mod 13:00:43 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 15 12:58 go.sum 13:00:43 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 15 12:58 main.go 13:00:43 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 15 12:58 makefile 13:00:43 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 12:58 res 13:00:43 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:44 + 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=186bd0b0e12eb07d8de871cb0d7ef81f455b611f --label arch=amd64 --label version=0.0.0 . 13:00:44 Sending build context to Docker daemon 3.239MB 13:00:44 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:00:44 Step 2/26 : FROM ${BASE} AS builder 13:00:44 ---> 0b44135bc2a3 13:00:44 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:44 ---> Running in 0e27a357f622 13:00:44 Removing intermediate container 0e27a357f622 13:00:44 ---> ccd414256cb7 13:00:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:44 ---> Running in 51418b2cf511 13:00:44 Removing intermediate container 51418b2cf511 13:00:44 ---> a86687646af2 13:00:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:44 ---> Running in 37bdb6cc18bd 13:00:44 Removing intermediate container 37bdb6cc18bd 13:00:44 ---> 7c7e20ae4069 13:00:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6111 in /w/workspace/_app-service-configurable_PR-517 [Pipeline] { [Pipeline] ws 13:00:44 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:44 Selected Git installation does not exist. Using Default 13:00:44 The recommended git tool is: NONE 13:00:44 ---> Running in 84e01603237a 13:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:00:45 OK: 211 MiB in 51 packages 13:00:45 Removing intermediate container 84e01603237a 13:00:45 ---> 0331703fba30 13:00:45 Step 7/26 : WORKDIR /app 13:00:45 ---> Running in f6563acd6bfe 13:00:45 Removing intermediate container f6563acd6bfe 13:00:45 ---> 45a0df12bc14 13:00:45 Step 8/26 : COPY go.mod vendor* ./ 13:00:45 ---> b09e7644b0d4 13:00:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:46 ---> Running in 0897afa94345 13:00:47 Removing intermediate container 0897afa94345 13:00:47 ---> 0786469003a3 13:00:47 Step 10/26 : COPY . . 13:00:47 ---> 8e24cb85d883 13:00:47 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:47 ---> Running in 4d53c86115a5 13:00:47 Removing intermediate container 4d53c86115a5 13:00:47 ---> e441d944493d 13:00:47 Step 12/26 : RUN $MAKE 13:00:47 ---> Running in c534d40a84b8 13:00:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.29 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:49 using credential edgex-jenkins-ssh 13:00:49 Cloning the remote Git repository 13:00:49 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:49 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:50 > git --version # timeout=10 13:00:50 > git --version # 'git version 2.25.1' 13:00:50 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:51 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:52 Merging remotes/origin/main commit 2fb2187aee5de59b88737c8c64f9f7346195a6a3 into PR head commit 186bd0b0e12eb07d8de871cb0d7ef81f455b611f 13:00:53 Merge succeeded, producing 186bd0b0e12eb07d8de871cb0d7ef81f455b611f 13:00:53 Checking out Revision 186bd0b0e12eb07d8de871cb0d7ef81f455b611f (PR-517) 13:00:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/517/head:refs/remotes/origin/PR-517 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:52 > git config core.sparsecheckout # timeout=10 13:00:52 > git checkout -f 186bd0b0e12eb07d8de871cb0d7ef81f455b611f # timeout=10 13:00:52 > git remote # timeout=10 13:00:52 > git config --get remote.origin.url # timeout=10 13:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:53 > git merge 2fb2187aee5de59b88737c8c64f9f7346195a6a3 # timeout=10 13:00:53 > git rev-parse HEAD^{commit} # timeout=10 13:00:53 > git config core.sparsecheckout # timeout=10 13:00:53 > git checkout -f 186bd0b0e12eb07d8de871cb0d7ef81f455b611f # timeout=10 13:00:53 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:00:53 > git --version # timeout=10 13:00:53 > git --version # 'git version 2.25.1' 13:00:53 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:55 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:55 Dload Upload Total Spent Left Speed 13:00:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 13:00:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:00:56 + sudo tee /etc/docker/daemon.new 13:00:56 { 13:00:56 "registry-mirrors": [ 13:00:56 "https://nexus3.edgexfoundry.org:10001" 13:00:56 ], 13:00:56 "bip": "10.250.0.254/24", 13:00:56 "hosts": [ 13:00:56 "tcp://0.0.0.0:5555", 13:00:56 "unix:///var/run/docker.sock" 13:00:56 ], 13:00:56 "mtu": 1458, 13:00:56 "selinux-enabled": true, 13:00:56 "seccomp-profile": "/etc/docker/seccomp.json" 13:00:56 } [Pipeline] sh 13:00:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:00:56 + sudo service docker restart 13:01:05 Removing intermediate container c534d40a84b8 13:01:05 ---> 4a36a27744ea 13:01:05 Step 13/26 : FROM alpine:3.16 13:01:05 3.16: Pulling from library/alpine 13:01:05 ef5531b6e74e: Pulling fs layer 13:01:05 ef5531b6e74e: Verifying Checksum 13:01:05 ef5531b6e74e: Download complete 13:01:05 ef5531b6e74e: Pull complete 13:01:05 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:01:05 Status: Downloaded newer image for alpine:3.16 13:01:05 ---> dfd21b5a31f5 13:01:05 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:01:05 ---> Running in 57e21e3fbc5f 13:01:05 Removing intermediate container 57e21e3fbc5f 13:01:05 ---> a69cdb7a32e2 13:01:05 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:01:05 ---> Running in 6894168a5ad9 13:01:05 Removing intermediate container 6894168a5ad9 13:01:05 ---> 3b5161c25bc0 13:01:05 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:01:05 ---> Running in e64965bcca90 13:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:01:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:01:06 (1/2) Installing ca-certificates (20220614-r0) 13:01:06 (2/2) Installing dumb-init (1.2.5-r1) 13:01:06 Executing busybox-1.35.0-r17.trigger 13:01:06 Executing ca-certificates-20220614-r0.trigger 13:01:06 OK: 6 MiB in 16 packages 13:01:06 Removing intermediate container e64965bcca90 13:01:06 ---> d4cacd943ad4 13:01:06 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:01:07 ---> e4b5235e0236 13:01:07 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:01:07 ---> e7873161dd62 13:01:07 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:01:07 ---> 0bc54a83772d 13:01:07 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:01:07 ---> b5b54e35b621 13:01:07 Step 21/26 : EXPOSE 48095 13:01:07 ---> Running in 15ecf8644f9e 13:01:07 Removing intermediate container 15ecf8644f9e 13:01:07 ---> e258d92ed529 13:01:07 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:01:07 ---> Running in cc43722085d2 13:01:07 Removing intermediate container cc43722085d2 13:01:07 ---> 6c5417eb521e 13:01:07 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:01:07 ---> Running in a79506a76456 13:01:08 Removing intermediate container a79506a76456 13:01:08 ---> 6f4966e6a0ce 13:01:08 Step 24/26 : LABEL arch=amd64 13:01:08 ---> Running in a0ae5d11e6d5 13:01:08 Removing intermediate container a0ae5d11e6d5 13:01:08 ---> 661b50f1248b 13:01:08 Step 25/26 : LABEL git_sha=186bd0b0e12eb07d8de871cb0d7ef81f455b611f 13:01:08 ---> Running in 74c0d9d4722c 13:01:08 Removing intermediate container 74c0d9d4722c 13:01:08 ---> 8efd621f3079 13:01:08 Step 26/26 : LABEL version=0.0.0 13:01:08 ---> Running in d85a874be4d3 13:01:08 Removing intermediate container d85a874be4d3 13:01:08 ---> 328bcb437722 13:01:08 [Warning] One or more build-args [ARCH] were not consumed 13:01:08 Successfully built 328bcb437722 13:01:08 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [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 13:01:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:09 13:01:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:09 latest: Pulling from edgex-lftools-log-publisher 13:01:09 5eb5b503b376: Pulling fs layer 13:01:09 5c69ac0246d0: Pulling fs layer 13:01:09 ec43610c2a17: Pulling fs layer 13:01:09 3a2ae6a8a46f: Pulling fs layer 13:01:09 33b1e0a273af: Pulling fs layer 13:01:09 5d3b04190fa2: Pulling fs layer 13:01:09 3a2ae6a8a46f: Waiting 13:01:09 33b1e0a273af: Waiting 13:01:09 2f39f015ded8: Pulling fs layer 13:01:09 2f39f015ded8: Waiting 13:01:09 5d3b04190fa2: Waiting 13:01:09 5c69ac0246d0: Verifying Checksum 13:01:09 5c69ac0246d0: Download complete 13:01:09 3a2ae6a8a46f: Verifying Checksum 13:01:09 3a2ae6a8a46f: Download complete 13:01:09 ec43610c2a17: Verifying Checksum 13:01:09 ec43610c2a17: Download complete 13:01:09 5d3b04190fa2: Verifying Checksum 13:01:09 5d3b04190fa2: Download complete 13:01:10 5eb5b503b376: Verifying Checksum 13:01:10 5eb5b503b376: Download complete 13:01:10 33b1e0a273af: Download complete 13:01:10 2f39f015ded8: Download complete 13:01:10 5eb5b503b376: Pull complete 13:01:11 5c69ac0246d0: Pull complete 13:01:11 ec43610c2a17: Pull complete 13:01:11 3a2ae6a8a46f: Pull complete 13:01:11 33b1e0a273af: Pull complete 13:01:11 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:15 provisioning config files... 13:01:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config12929039715703409312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:15 ---> docker-login.sh 13:01:15 nexus3.edgexfoundry.org:10001 13:01:15 2f39f015ded8: Pull complete 13:01:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:01:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:16 Configure a credential helper to remove this warning. See 13:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:16 13:01:16 Login Succeeded 13:01:16 nexus3.edgexfoundry.org:10002 13:01:16 prd-ubuntu20.04-docker-8c-8g-6110 does not seem to be running inside a container 13:01:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-517 -v /w/workspace/_app-service-configurable_PR-517:/w/workspace/_app-service-configurable_PR-517:rw,z -v /w/workspace/_app-service-configurable_PR-517@tmp:/w/workspace/_app-service-configurable_PR-517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:16 Configure a credential helper to remove this warning. See 13:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:16 13:01:16 Login Succeeded 13:01:16 nexus3.edgexfoundry.org:10003 13:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:16 Configure a credential helper to remove this warning. See 13:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:16 13:01:16 Login Succeeded 13:01:16 nexus3.edgexfoundry.org:10004 13:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:17 Configure a credential helper to remove this warning. See 13:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:17 13:01:17 Login Succeeded 13:01:17 docker.io 13:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:17 Configure a credential helper to remove this warning. See 13:01:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:17 13:01:17 Login Succeeded 13:01:17 ---> docker-login.sh ends 13:01:17 $ docker top 7c716d30f110d9e0f8287a1263e650efa900e229b1c148c1ab30467577e9fb14 -eo pid,comm [Pipeline] { [Pipeline] } 13:01:18 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:01:18 ---> job-cost.sh 13:01:18 lf-activate-venv: SKIPPING 13:01:18 INFO: No Stack... [Pipeline] echo 13:01:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:18 ========================================================= 13:01:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:01:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 13:01:18 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:19 INFO: Archiving Costs [Pipeline] sh 13:01:19 + 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 . 13:01:19 Sending build context to Docker daemon 203.8kB 13:01:19 + cat /w/workspace/_app-service-configurable_PR-517/archives/cost.csv 13:01:19 + cut -d, -f6 [Pipeline] lock 13:01:19 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-517-1-stack-cost] 13:01:19 Resource [jenkins-edgexfoundry-app-service-configurable-PR-517-1-stack-cost] did not exist. Created. 13:01:19 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-517-1-stack-cost] [Pipeline] { 13:01:19 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:01:19 Step 2/12 : FROM ${BASE} AS builder 13:01:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:19 9b18e9b68314: Pulling fs layer 13:01:19 35d82f9e3411: Pulling fs layer 13:01:19 e16973657156: Pulling fs layer 13:01:19 fc693d55d65f: Pulling fs layer 13:01:19 7e9fc2657dce: Pulling fs layer 13:01:19 dda99020689f: Pulling fs layer 13:01:19 db1c61fa0a46: Pulling fs layer 13:01:19 891c053d2c06: Pulling fs layer 13:01:19 7e9fc2657dce: Waiting 13:01:19 dda99020689f: Waiting 13:01:19 db1c61fa0a46: Waiting 13:01:19 891c053d2c06: Waiting 13:01:19 fc693d55d65f: Waiting 13:01:19 e16973657156: Verifying Checksum 13:01:19 e16973657156: Download complete 13:01:19 35d82f9e3411: Download complete [Pipeline] unstash [Pipeline] sh 13:01:19 7e9fc2657dce: Verifying Checksum 13:01:19 7e9fc2657dce: Download complete 13:01:19 dda99020689f: Verifying Checksum 13:01:19 dda99020689f: Download complete 13:01:19 9b18e9b68314: Verifying Checksum 13:01:19 + echo total: 0.2199999988079071 [Pipeline] stash 13:01:19 Stashed 1 file(s) [Pipeline] } 13:01:20 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-517-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:20 $ docker stop --time=1 7c716d30f110d9e0f8287a1263e650efa900e229b1c148c1ab30467577e9fb14 13:01:20 9b18e9b68314: Pull complete 13:01:20 891c053d2c06: Verifying Checksum 13:01:20 891c053d2c06: Download complete 13:01:21 35d82f9e3411: Pull complete 13:01:21 $ docker rm -f --volumes 7c716d30f110d9e0f8287a1263e650efa900e229b1c148c1ab30467577e9fb14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 13:01:21 e16973657156: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } 13:01:21 db1c61fa0a46: Verifying Checksum 13:01:21 db1c61fa0a46: Download complete [Pipeline] // stage [Pipeline] } 13:01:22 fc693d55d65f: Download complete 13:01:34 fc693d55d65f: Pull complete 13:01:34 7e9fc2657dce: Pull complete 13:01:34 dda99020689f: Pull complete 13:01:41 db1c61fa0a46: Pull complete 13:01:43 891c053d2c06: Pull complete 13:01:43 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 13:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:01:43 ---> f96f9c87975a 13:01:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:44 ---> Running in 2e8190cb5369 13:01:45 Removing intermediate container 2e8190cb5369 13:01:45 ---> 3b2c8bcbd371 13:01:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:45 ---> Running in 06ba4f3d62ca 13:01:45 Removing intermediate container 06ba4f3d62ca 13:01:45 ---> 8a0fb44c7629 13:01:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:45 ---> Running in 9309a98f8ebb 13:01:46 Removing intermediate container 9309a98f8ebb 13:01:46 ---> 90ee7801ec07 13:01:46 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:46 ---> Running in a21142558fe4 13:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:01:48 OK: 221 MiB in 51 packages 13:01:49 Removing intermediate container a21142558fe4 13:01:49 ---> 31108db1ee07 13:01:49 Step 7/12 : WORKDIR /app 13:01:49 ---> Running in effb6d4ebad8 13:01:49 Removing intermediate container effb6d4ebad8 13:01:49 ---> 4d14b873ddbb 13:01:49 Step 8/12 : COPY go.mod vendor* ./ 13:01:50 ---> d6ace2a8a90a 13:01:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:50 ---> Running in 6bf673261955 13:02:58 Removing intermediate container 6bf673261955 13:02:58 ---> 5207de21d37e 13:02:58 Step 10/12 : COPY . . 13:02:58 ---> 3112a67fb3ce 13:02:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:58 ---> Running in 4ca8d38a40ef 13:02:58 Removing intermediate container 4ca8d38a40ef 13:02:58 ---> 9bd6a85f239a 13:02:58 Step 12/12 : RUN $MAKE 13:02:58 ---> Running in 18ca4d20c594 13:02:58 noop 13:02:58 Removing intermediate container 18ca4d20c594 13:02:58 ---> ea275a887877 13:02:58 Successfully built ea275a887877 13:02:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:58 + docker inspect -f . ci-base-image-arm64 13:02:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:59 prd-ubuntu20.04-docker-arm64-4c-16g-6111 does not seem to be running inside a container 13:02:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** ci-base-image-arm64 cat 13:03:00 $ docker top 18aee4db059a40a8f7932fcfc893e3753526ea79fb98ad01cbace3b3e6c8de54 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:01 + go version 13:03:01 go version go1.18.7 linux/arm64 [Pipeline] } 13:03:01 $ docker stop --time=1 18aee4db059a40a8f7932fcfc893e3753526ea79fb98ad01cbace3b3e6c8de54 13:03:03 $ docker rm -f --volumes 18aee4db059a40a8f7932fcfc893e3753526ea79fb98ad01cbace3b3e6c8de54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:04 + docker inspect -f . ci-base-image-arm64 13:03:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:04 prd-ubuntu20.04-docker-arm64-4c-16g-6111 does not seem to be running inside a container 13:03:04 $ 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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@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 ******** ci-base-image-arm64 cat 13:03:05 $ docker top dacea88e79ab978dd41ea718051ecf132b5d7a1203d6398a415527f5523c4edb -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:06 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:03:06 + make test 13:03:06 go test -race -coverprofile=coverage.out ./... 13:05:13 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:05:13 go vet ./... 13:06:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:06:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:06:35 ./bin/test-attribution-txt.sh 13:06:35 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 13:06:35 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 13:06:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:06:35 $ docker stop --time=1 dacea88e79ab978dd41ea718051ecf132b5d7a1203d6398a415527f5523c4edb 13:06:37 $ docker rm -f --volumes dacea88e79ab978dd41ea718051ecf132b5d7a1203d6398a415527f5523c4edb [Pipeline] // withDockerContainer [Pipeline] sh 13:06:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:06:38 Warning: overwriting stash ‘coverage-report’ 13:06:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:06:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:06:39 + ls -al . 13:06:39 total 168 13:06:39 drwxrwxr-x 7 jenkins jenkins 4096 Feb 15 13:03 . 13:06:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 13:00 .. 13:06:39 -rw-rw-r-- 1 jenkins jenkins 119 Feb 15 13:00 .dockerignore 13:06:39 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 13:00 .git 13:06:39 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 13:00 .github 13:06:39 -rw-rw-r-- 1 jenkins jenkins 171 Feb 15 13:00 .gitignore 13:06:39 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 15 13:00 Attribution.txt 13:06:39 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 15 13:00 CHANGELOG.md 13:06:39 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 15 13:00 Dockerfile 13:06:39 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 13:00 GOVERNANCE.md 13:06:39 -rw-rw-r-- 1 jenkins jenkins 688 Feb 15 13:00 Jenkinsfile 13:06:39 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 15 13:00 LICENSE 13:06:39 -rw-rw-r-- 1 jenkins jenkins 618 Feb 15 13:00 OWNERS.md 13:06:39 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 15 13:00 README.md 13:06:39 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 12:58 VERSION 13:06:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 13:00 bin 13:06:39 -rw-r--r-- 1 jenkins jenkins 13 Feb 15 13:03 coverage.out 13:06:39 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 15 13:00 go.mod 13:06:39 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 15 13:00 go.sum 13:06:39 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 15 13:00 main.go 13:06:39 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 15 13:00 makefile 13:06:39 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 13:00 res 13:06:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:40 + 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=186bd0b0e12eb07d8de871cb0d7ef81f455b611f --label arch=arm64 --label version=0.0.0 . 13:06:40 Sending build context to Docker daemon 204.8kB 13:06:40 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:06:40 Step 2/26 : FROM ${BASE} AS builder 13:06:40 ---> ea275a887877 13:06:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:06:40 ---> Running in e435f9602383 13:06:40 Removing intermediate container e435f9602383 13:06:40 ---> 24a3cb3ab0c5 13:06:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:06:40 ---> Running in 8a37ca86f0c5 13:06:41 Removing intermediate container 8a37ca86f0c5 13:06:41 ---> 08e9fe9f7300 13:06:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:06:41 ---> Running in b4decf365b9e 13:06:41 Removing intermediate container b4decf365b9e 13:06:41 ---> afcbfedbed00 13:06:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:06:41 ---> Running in 45e6280f1ad2 13:06:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:06:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:06:43 OK: 221 MiB in 51 packages 13:06:44 Removing intermediate container 45e6280f1ad2 13:06:44 ---> ced8a35312b8 13:06:44 Step 7/26 : WORKDIR /app 13:06:44 ---> Running in c7ec345ec7cb 13:06:45 Removing intermediate container c7ec345ec7cb 13:06:45 ---> 3b02a2a6b4a6 13:06:45 Step 8/26 : COPY go.mod vendor* ./ 13:06:45 ---> 2e458e8e5f51 13:06:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:06:45 ---> Running in c560ac24a6f8 13:06:48 Removing intermediate container c560ac24a6f8 13:06:48 ---> edcbc80baaec 13:06:48 Step 10/26 : COPY . . 13:06:48 ---> 7797cd70492f 13:06:48 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:06:48 ---> Running in f50a81eb258a 13:06:49 Removing intermediate container f50a81eb258a 13:06:49 ---> e29d551d1fcb 13:06:49 Step 12/26 : RUN $MAKE 13:06:49 ---> Running in 62938b6d322b 13:06:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.29 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:08:41 Removing intermediate container 62938b6d322b 13:08:41 ---> 45a935b7722c 13:08:41 Step 13/26 : FROM alpine:3.16 13:08:41 3.16: Pulling from library/alpine 13:08:41 3760b48202b3: Pulling fs layer 13:08:41 3760b48202b3: Verifying Checksum 13:08:41 3760b48202b3: Download complete 13:08:41 3760b48202b3: Pull complete 13:08:41 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:08:41 Status: Downloaded newer image for alpine:3.16 13:08:41 ---> 4c81e5bf8899 13:08:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:08:41 ---> Running in e0ba04bf3200 13:08:41 Removing intermediate container e0ba04bf3200 13:08:41 ---> df03b1b27e42 13:08:41 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:08:42 ---> Running in 91e98917ee9f 13:08:42 Removing intermediate container 91e98917ee9f 13:08:42 ---> 335b6ad48ab7 13:08:42 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:08:42 ---> Running in af1143a44f45 13:08:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:08:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:08:44 (1/2) Installing ca-certificates (20220614-r0) 13:08:44 (2/2) Installing dumb-init (1.2.5-r1) 13:08:44 Executing busybox-1.35.0-r17.trigger 13:08:44 Executing ca-certificates-20220614-r0.trigger 13:08:44 OK: 6 MiB in 16 packages 13:08:46 Removing intermediate container af1143a44f45 13:08:46 ---> b8bd8da81eca 13:08:46 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:08:46 ---> cf225844b521 13:08:46 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:08:47 ---> b4d2fbdffe81 13:08:47 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:08:47 ---> cdfc2d1de15c 13:08:47 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:08:49 ---> 72055b901886 13:08:49 Step 21/26 : EXPOSE 48095 13:08:49 ---> Running in d97b1b160f49 13:08:49 Removing intermediate container d97b1b160f49 13:08:49 ---> a59f9ef9ff6a 13:08:49 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:08:49 ---> Running in 448ece2c3074 13:08:49 Removing intermediate container 448ece2c3074 13:08:49 ---> 6f22ff72807c 13:08:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:08:49 ---> Running in ab290a506484 13:08:49 Removing intermediate container ab290a506484 13:08:49 ---> f264b9321ecd 13:08:49 Step 24/26 : LABEL arch=arm64 13:08:49 ---> Running in 2fd758dab828 13:08:50 Removing intermediate container 2fd758dab828 13:08:50 ---> b22fa0b7a4de 13:08:50 Step 25/26 : LABEL git_sha=186bd0b0e12eb07d8de871cb0d7ef81f455b611f 13:08:50 ---> Running in 815c1737d042 13:08:50 Removing intermediate container 815c1737d042 13:08:50 ---> ddf72c4504c0 13:08:50 Step 26/26 : LABEL version=0.0.0 13:08:50 ---> Running in ae59eaf2f8c0 13:08:51 Removing intermediate container ae59eaf2f8c0 13:08:51 ---> a9822e7d7a8b 13:08:51 [Warning] One or more build-args [ARCH] were not consumed 13:08:51 Successfully built a9822e7d7a8b 13:08:51 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 13:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:08:51 13:08:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:08:52 arm64: Pulling from edgex-lftools-log-publisher 13:08:52 8998bd30e6a1: Pulling fs layer 13:08:52 04944245beec: Pulling fs layer 13:08:52 699f458cf7ca: Pulling fs layer 13:08:52 765212b225bb: Pulling fs layer 13:08:52 f23df028b6ca: Pulling fs layer 13:08:52 d65c8cfc05b1: Pulling fs layer 13:08:52 2437ff75d9bd: Pulling fs layer 13:08:52 f23df028b6ca: Waiting 13:08:52 765212b225bb: Waiting 13:08:52 d65c8cfc05b1: Waiting 13:08:52 2437ff75d9bd: Waiting 13:08:52 04944245beec: Verifying Checksum 13:08:52 04944245beec: Download complete 13:08:52 765212b225bb: Verifying Checksum 13:08:52 765212b225bb: Download complete 13:08:52 f23df028b6ca: Verifying Checksum 13:08:52 f23df028b6ca: Download complete 13:08:52 d65c8cfc05b1: Verifying Checksum 13:08:52 d65c8cfc05b1: Download complete 13:08:52 699f458cf7ca: Verifying Checksum 13:08:52 699f458cf7ca: Download complete 13:08:52 8998bd30e6a1: Verifying Checksum 13:08:52 8998bd30e6a1: Download complete 13:08:54 2437ff75d9bd: Verifying Checksum 13:08:54 2437ff75d9bd: Download complete 13:08:58 8998bd30e6a1: Pull complete 13:08:58 04944245beec: Pull complete 13:08:59 699f458cf7ca: Pull complete 13:08:59 765212b225bb: Pull complete 13:09:00 f23df028b6ca: Pull complete 13:09:00 d65c8cfc05b1: Pull complete 13:09:15 2437ff75d9bd: Pull complete 13:09:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:09:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:16 prd-ubuntu20.04-docker-arm64-4c-16g-6111 does not seem to be running inside a container 13:09:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:09:18 $ docker top 155b92b4bb41adead1975056809091812a0dd207dddbac9388a0f9db2cf57bb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:19 ---> job-cost.sh 13:09:19 lf-activate-venv: SKIPPING 13:09:19 INFO: No Stack... 13:09:19 INFO: Retrieving Pricing Info for: v3-standard-4 13:09:20 INFO: Archiving Costs [Pipeline] sh 13:09:21 + cut -d, -f6 13:09:21 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 13:09:21 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-517-1-stack-cost] 13:09:21 Resource [jenkins-edgexfoundry-app-service-configurable-PR-517-1-stack-cost] did not exist. Created. 13:09:21 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-517-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:09:21 /w/workspace/app-service-configurable/1@tmp/durable-de67bfaa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:09:22 + echo total: 0.10999999940395355 [Pipeline] stash 13:09:22 Warning: overwriting stash ‘stack-cost’ 13:09:22 Stashed 1 file(s) [Pipeline] } 13:09:22 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-517-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:09:22 $ docker stop --time=1 155b92b4bb41adead1975056809091812a0dd207dddbac9388a0f9db2cf57bb6 13:09:23 $ docker rm -f --volumes 155b92b4bb41adead1975056809091812a0dd207dddbac9388a0f9db2cf57bb6 [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 13:09:24 provisioning config files... 13:09:24 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-517@tmp/config2613676913342785387tmp [Pipeline] { [Pipeline] sh 13:09:25 + set +x 13:09:25 + curl -s https://codecov.io/bash 13:09:25 + bash -s -- 13:09:25 13:09:25 _____ _ 13:09:25 / ____| | | 13:09:25 | | ___ __| | ___ ___ _____ __ 13:09:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:09:25 | |___| (_) | (_| | __/ (_| (_) \ V / 13:09:25 \_____\___/ \__,_|\___|\___\___/ \_/ 13:09:25 Bash-1.0.6 13:09:25 13:09:25 13:09:25 ==> git version 2.25.1 found 13:09:25 ==> 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 13:09:25 Release-Date: 2020-01-08 13:09:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:09:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:09:25 ==> Jenkins CI detected. 13:09:25 current dir:  /w/workspace/_app-service-configurable_PR-517 13:09:25 project root: . 13:09:25 --> token set from env 13:09:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:09:25 ==> Running gcov in . (disable via -X gcov) 13:09:25 ==> Python coveragepy not found 13:09:25 ==> Searching for coverage reports in: 13:09:25 + . 13:09:25 -> Found 1 reports 13:09:25 ==> Detecting git/mercurial file structure 13:09:25 ==> Reading reports 13:09:25 + ./coverage.out bytes=13 13:09:25 ==> Appending adjustments 13:09:25 https://docs.codecov.io/docs/fixing-reports 13:09:25 + Found adjustments 13:09:25 ==> Gzipping contents 13:09:25 4.0K /tmp/codecov.s3g2oN.gz 13:09:25 ==> Uploading reports 13:09:25 url: https://codecov.io 13:09:25 query: branch=PR-517&commit=186bd0b0e12eb07d8de871cb0d7ef81f455b611f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-517%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=517&job=&cmd_args= 13:09:25 -> Pinging Codecov 13:09:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-517&commit=186bd0b0e12eb07d8de871cb0d7ef81f455b611f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-517%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=517&job=&cmd_args= 13:09:25 -> Uploading to 13:09:25 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/A97CA9966030D2A3747ED39772930CCE/186bd0b0e12eb07d8de871cb0d7ef81f455b611f/904c1b11-9a4b-42dd-9196-d9828d42c288.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T130925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1065057e31cd4ce54ed883dee1c334304ae482bbd7a31dacbcdcc565f81c44ac 13:09:25 % Total % Received % Xferd Average Speed Time Time Time Current 13:09:25 Dload Upload Total Spent Left Speed 13:09:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 2007 --:--:-- --:--:-- --:--:-- 2015 13:09:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/186bd0b0e12eb07d8de871cb0d7ef81f455b611f [Pipeline] } 13:09: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 13:09:27 + [ -d /w/workspace/_app-service-configurable_PR-517/archives ] 13:09:27 + ls -al /w/workspace/_app-service-configurable_PR-517/archives 13:09:27 total 16 13:09:27 drwxr-xr-x 3 root root 4096 Feb 15 13:01 . 13:09:27 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 13:01 .. 13:09:27 drwxr-xr-x 2 root root 4096 Feb 15 13:01 cost 13:09:27 -rw-r--r-- 1 root root 96 Feb 15 13:01 cost.csv 13:09:27 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-517/archives 13:09:27 + ls -al /w/workspace/_app-service-configurable_PR-517/archives 13:09:27 total 16 13:09:27 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 13:01 . 13:09:27 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 13:01 .. 13:09:27 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 13:01 cost 13:09:27 -rw-r--r-- 1 jenkins jenkins 96 Feb 15 13:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:09:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:09:28 ---> package-listing.sh 13:09:28 ++ facter osfamily 13:09:28 ++ tr '[:upper:]' '[:lower:]' 13:09:29 + OS_FAMILY=debian 13:09:29 + workspace=/w/workspace/_app-service-configurable_PR-517 13:09:29 + START_PACKAGES=/tmp/packages_start.txt 13:09:29 + END_PACKAGES=/tmp/packages_end.txt 13:09:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:09:29 + PACKAGES=/tmp/packages_start.txt 13:09:29 + '[' /w/workspace/_app-service-configurable_PR-517 ']' 13:09:29 + PACKAGES=/tmp/packages_end.txt 13:09:29 + case "${OS_FAMILY}" in 13:09:29 + dpkg -l 13:09:29 + grep '^ii' 13:09:29 + '[' -f /tmp/packages_start.txt ']' 13:09:29 + '[' -f /tmp/packages_end.txt ']' 13:09:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:09:29 + '[' /w/workspace/_app-service-configurable_PR-517 ']' 13:09:29 + mkdir -p /w/workspace/_app-service-configurable_PR-517/archives/ 13:09:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-517/archives/ [Pipeline] echo 13:09:29 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-517/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:09:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:09:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:30 prd-ubuntu20.04-docker-8c-8g-6110 does not seem to be running inside a container 13:09:30 $ 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-517/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-517 -v /w/workspace/_app-service-configurable_PR-517:/w/workspace/_app-service-configurable_PR-517:rw,z -v /w/workspace/_app-service-configurable_PR-517@tmp:/w/workspace/_app-service-configurable_PR-517@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:09:30 $ docker top 3ed754ce8c35994de82a0a0ad47222e66fc01dd796c7e69dd9824865d39d11a9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:09:30 + touch /tmp/pre-build-complete [Pipeline] sh 13:09:31 + mkdir -p /var/log/sysstat [Pipeline] sh 13:09:31 + ls /var/log/sa-host 13:09:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:09:31 provisioning config files... 13:09:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-517@tmp/config11864500648787702804tmp [Pipeline] { [Pipeline] echo 13:09:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:09:32 ---> create-netrc.sh [Pipeline] } 13:09:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:09:32 ---> python-tools-install.sh [Pipeline] echo 13:09:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:09:32 ---> sudo-logs.sh 13:09:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:09:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:09:33 ---> job-cost.sh 13:09:33 lf-activate-venv: SKIPPING 13:09:33 DEBUG: total: 0.2199999988079071 13:09:33 INFO: Retrieving Stack Cost... 13:09:33 INFO: Retrieving Pricing Info for: v3-standard-8 13:09:34 INFO: Archiving Costs [Pipeline] echo 13:09:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:09:34 ---> logs-deploy.sh 13:09:34 lf-activate-venv: SKIPPING 13:09:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-517/1 13:09:34 INFO: archiving workspace using pattern(s): 13:09:35 Archives upload complete. 13:09:35 INFO: archiving logs to Nexus