Pull request #526 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47d2353c27f720a7ac6a5437e28cddabd45fb298+9924ce3792302461657905c814d890402047d1ca (ae680f0c4ea28f8ab9ab4b796a1c5d8791fbfd79) 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-ssh2992510224718365602.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-ssh8129366911740433459.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-526/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-526/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4456825898311125880.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-526/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1998332178804278049.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-ssh10584463383886948447.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-526/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-526/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13421499966651524143.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-8086 in /w/workspace/_app-service-configurable_PR-526 [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-526 # 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/526/head:refs/remotes/origin/PR-526 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9924ce3792302461657905c814d890402047d1ca into PR head commit 47d2353c27f720a7ac6a5437e28cddabd45fb298 Merge succeeded, producing 47d2353c27f720a7ac6a5437e28cddabd45fb298 Checking out Revision 47d2353c27f720a7ac6a5437e28cddabd45fb298 (PR-526) 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:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:30 ========================================================= 12:58:30 EdgeX Global Pipelines Version Info 12:58:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 47d2353c27f720a7ac6a5437e28cddabd45fb298 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9924ce3792302461657905c814d890402047d1ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47d2353c27f720a7ac6a5437e28cddabd45fb298 # timeout=10 12:58:31 ------------------- 12:58:31 stable info: 12:58:31 ------------------- 12:58:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:31 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:58:31 Message: update stable to v1.0.244 12:58:32 ------------------- 12:58:32 experimental info: 12:58:32 ------------------- 12:58:32 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:58:32 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-526 [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-526 [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-526 [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47d2353c27f720a7ac6a5437e28cddabd45fb298 [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47d2353 [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:33 provisioning config files... 12:58:33 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-526@tmp/config2293826145770176595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:34 ---> docker-login.sh 12:58:34 nexus3.edgexfoundry.org:10001 12:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:34 Configure a credential helper to remove this warning. See 12:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:34 12:58:34 Login Succeeded 12:58:34 nexus3.edgexfoundry.org:10002 12:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:34 Configure a credential helper to remove this warning. See 12:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:34 12:58:34 Login Succeeded 12:58:34 nexus3.edgexfoundry.org:10003 12:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:34 Configure a credential helper to remove this warning. See 12:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:34 12:58:34 Login Succeeded 12:58:34 nexus3.edgexfoundry.org:10004 12:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:35 Configure a credential helper to remove this warning. See 12:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:35 12:58:35 Login Succeeded 12:58:35 docker.io 12:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:35 Configure a credential helper to remove this warning. See 12:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:35 12:58:35 Login Succeeded 12:58:35 ---> docker-login.sh ends [Pipeline] } 12:58:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:35 + git rev-list -1 --merges 47d2353c27f720a7ac6a5437e28cddabd45fb298~1..47d2353c27f720a7ac6a5437e28cddabd45fb298 [Pipeline] echo 12:58:36 -----------> git rev-list -1 --merges 47d2353c27f720a7ac6a5437e28cddabd45fb298~1..47d2353c27f720a7ac6a5437e28cddabd45fb298 47d2353c27f720a7ac6a5437e28cddabd45fb298 [false] [Pipeline] sh 12:58:36 + git log --format=format:%s -1 47d2353c27f720a7ac6a5437e28cddabd45fb298 [Pipeline] echo 12:58:36 ========================================================= 12:58:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:36 + git log --format=format:%s -1 47d2353c27f720a7ac6a5437e28cddabd45fb298 [Pipeline] echo 12:58:36 [semverPrep] GIT_COMMIT: 47d2353c27f720a7ac6a5437e28cddabd45fb298, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:36 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:37 + grep -v github /etc/ssh/ssh_known_hosts 12:58:37 + [ -e /tmp/ssh_known_hosts ] 12:58:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:37 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:37 12:58:37 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:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:38 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:38 b85a868b505f: Pulling fs layer 12:58:38 e2be974225ed: Pulling fs layer 12:58:38 339a4e72a1f5: Pulling fs layer 12:58:38 988bab9f4d93: Pulling fs layer 12:58:38 1469e6f7b9e6: Pulling fs layer 12:58:38 eaf3925da568: Pulling fs layer 12:58:38 bab4dde63d76: Pulling fs layer 12:58:38 bde34c3a00c8: Pulling fs layer 12:58:38 b352a97aabf1: Pulling fs layer 12:58:38 988bab9f4d93: Waiting 12:58:38 1469e6f7b9e6: Waiting 12:58:38 eaf3925da568: Waiting 12:58:38 bab4dde63d76: Waiting 12:58:38 bde34c3a00c8: Waiting 12:58:38 b352a97aabf1: Waiting 12:58:38 4872d77fe225: Pulling fs layer 12:58:38 5851b861e8e6: Pulling fs layer 12:58:38 4872d77fe225: Waiting 12:58:38 e2be974225ed: Download complete 12:58:38 988bab9f4d93: Download complete 12:58:38 1469e6f7b9e6: Verifying Checksum 12:58:38 1469e6f7b9e6: Download complete 12:58:38 339a4e72a1f5: Verifying Checksum 12:58:38 339a4e72a1f5: Download complete 12:58:38 eaf3925da568: Download complete 12:58:38 bde34c3a00c8: Verifying Checksum 12:58:38 bde34c3a00c8: Download complete 12:58:38 b352a97aabf1: Download complete 12:58:38 4872d77fe225: Verifying Checksum 12:58:38 4872d77fe225: Download complete 12:58:38 5851b861e8e6: Verifying Checksum 12:58:38 5851b861e8e6: Download complete 12:58:38 b85a868b505f: Verifying Checksum 12:58:38 b85a868b505f: Download complete 12:58:38 bab4dde63d76: Verifying Checksum 12:58:38 bab4dde63d76: Download complete 12:58:39 b85a868b505f: Pull complete 12:58:39 e2be974225ed: Pull complete 12:58:40 339a4e72a1f5: Pull complete 12:58:40 988bab9f4d93: Pull complete 12:58:40 1469e6f7b9e6: Pull complete 12:58:40 eaf3925da568: Pull complete 12:58:42 bab4dde63d76: Pull complete 12:58:42 bde34c3a00c8: Pull complete 12:58:42 b352a97aabf1: Pull complete 12:58:42 4872d77fe225: Pull complete 12:58:42 5851b861e8e6: Pull complete 12:58:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:42 prd-ubuntu20.04-docker-8c-8g-8086 does not seem to be running inside a container 12:58:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-526 -v /w/workspace/_app-service-configurable_PR-526:/w/workspace/_app-service-configurable_PR-526:rw,z -v /w/workspace/_app-service-configurable_PR-526@tmp:/w/workspace/_app-service-configurable_PR-526@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:58:45 $ docker top b6c4f8f8248369d068636057bfb31cb25631cfaa95aa18a74d05ae5b16593ccd -eo pid,comm 12:58:45 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:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:46 [ssh-agent] Looking for ssh-agent implementation... 12:58:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:46 $ docker exec b6c4f8f8248369d068636057bfb31cb25631cfaa95aa18a74d05ae5b16593ccd ssh-agent 12:58:46 SSH_AUTH_SOCK=/tmp/ssh-IUfcRfguK1tv/agent.32 12:58:46 SSH_AGENT_PID=38 12:58:46 Running ssh-add (command line suppressed) 12:58:46 Identity added: /w/workspace/_app-service-configurable_PR-526@tmp/private_key_12117886377039494471.key (/w/workspace/_app-service-configurable_PR-526@tmp/private_key_12117886377039494471.key) 12:58:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:46 + git tag --points-at HEAD [Pipeline] } 12:58:46 $ docker exec --env ******** --env ******** b6c4f8f8248369d068636057bfb31cb25631cfaa95aa18a74d05ae5b16593ccd ssh-agent -k 12:58:46 unset SSH_AUTH_SOCK; 12:58:46 unset SSH_AGENT_PID; 12:58:46 echo Agent pid 38 killed; 12:58:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:46 [ssh-agent] Looking for ssh-agent implementation... 12:58:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:47 $ docker exec b6c4f8f8248369d068636057bfb31cb25631cfaa95aa18a74d05ae5b16593ccd ssh-agent 12:58:47 SSH_AUTH_SOCK=/tmp/ssh-8dredv4iRyL1/agent.70 12:58:47 SSH_AGENT_PID=76 12:58:47 Running ssh-add (command line suppressed) 12:58:47 Identity added: /w/workspace/_app-service-configurable_PR-526@tmp/private_key_11143957819652307712.key (/w/workspace/_app-service-configurable_PR-526@tmp/private_key_11143957819652307712.key) 12:58:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:47 + git semver init 12:58:47 2023-03-02 12:58:47,794 [run_init] DEBUG init version:0.0.0 force:False 12:58:47 2023-03-02 12:58:47,795 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-526/.semver 12:58:47 2023-03-02 12:58:47,795 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-526/.semver 12:58:47 2023-03-02 12:58:47,796 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-526/.semver'], cwd=/w/workspace/_app-service-configurable_PR-526, universal_newlines=False, shell=None, istream=None) 12:58:48 2023-03-02 12:58:48,786 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-526/.git/info/exclude 12:58:48 2023-03-02 12:58:48,786 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-526/.semver/PR-526 with force:False 12:58:48 2023-03-02 12:58:48,787 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-526/.semver/PR-526 12:58:48 2023-03-02 12:58:48,790 [execute] INFO git cat-file --batch-check 12:58:48 2023-03-02 12:58:48,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-526/.semver, universal_newlines=False, shell=None, istream=) 12:58:48 2023-03-02 12:58:48,796 [execute] INFO git cat-file --batch 12:58:48 2023-03-02 12:58:48,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-526/.semver, universal_newlines=False, shell=None, istream=) 12:58:48 2023-03-02 12:58:48,800 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-526/.semver/PR-526 12:58:48 0.0.0 [Pipeline] } 12:58:48 $ docker exec --env ******** --env ******** b6c4f8f8248369d068636057bfb31cb25631cfaa95aa18a74d05ae5b16593ccd ssh-agent -k 12:58:48 unset SSH_AUTH_SOCK; 12:58:48 unset SSH_AGENT_PID; 12:58:48 echo Agent pid 76 killed; 12:58:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:49 + git semver [Pipeline] } 12:58:49 $ docker stop --time=1 b6c4f8f8248369d068636057bfb31cb25631cfaa95aa18a74d05ae5b16593ccd 12:58:50 $ docker rm -f --volumes b6c4f8f8248369d068636057bfb31cb25631cfaa95aa18a74d05ae5b16593ccd [Pipeline] // withDockerContainer [Pipeline] sh 12:58:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:51 Stashed 1 file(s) [Pipeline] echo 12:58:51 [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:52 provisioning config files... 12:58:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-526@tmp/config12184766812507825803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:52 ---> docker-login.sh 12:58:52 nexus3.edgexfoundry.org:10001 12:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:52 Configure a credential helper to remove this warning. See 12:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:52 12:58:52 Login Succeeded 12:58:52 nexus3.edgexfoundry.org:10002 12:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:52 Configure a credential helper to remove this warning. See 12:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:52 12:58:52 Login Succeeded 12:58:52 nexus3.edgexfoundry.org:10003 12:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:52 Configure a credential helper to remove this warning. See 12:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:52 12:58:52 Login Succeeded 12:58:52 nexus3.edgexfoundry.org:10004 12:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:52 Configure a credential helper to remove this warning. See 12:58:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:52 12:58:52 Login Succeeded 12:58:52 docker.io 12:58:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:53 Configure a credential helper to remove this warning. See 12:58:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:53 12:58:53 Login Succeeded 12:58:53 ---> docker-login.sh ends [Pipeline] } 12:58:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:53 ========================================================= 12:58:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:58:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:53 + 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:58:53 Sending build context to Docker daemon 3.23MB 12:58:53 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:58:53 Step 2/12 : FROM ${BASE} AS builder 12:58:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:53 213ec9aee27d: Pulling fs layer 12:58:53 4583459ba037: Pulling fs layer 12:58:53 93c1e223e6f2: Pulling fs layer 12:58:53 53926ce57604: Pulling fs layer 12:58:53 21b2b0c7a3f4: Pulling fs layer 12:58:53 22ff95d597cd: Pulling fs layer 12:58:53 12d6caf4c0d1: Pulling fs layer 12:58:53 96b7cbca73a9: Pulling fs layer 12:58:53 21b2b0c7a3f4: Waiting 12:58:53 53926ce57604: Waiting 12:58:53 22ff95d597cd: Waiting 12:58:53 12d6caf4c0d1: Waiting 12:58:53 a7acece74701: Pulling fs layer 12:58:53 96b7cbca73a9: Waiting 12:58:53 a7acece74701: Waiting 12:58:53 93c1e223e6f2: Verifying Checksum 12:58:53 93c1e223e6f2: Download complete 12:58:53 4583459ba037: Verifying Checksum 12:58:53 4583459ba037: Download complete 12:58:53 21b2b0c7a3f4: Verifying Checksum 12:58:53 21b2b0c7a3f4: Download complete 12:58:53 22ff95d597cd: Verifying Checksum 12:58:53 22ff95d597cd: Download complete 12:58:54 213ec9aee27d: Verifying Checksum 12:58:54 213ec9aee27d: Download complete 12:58:54 12d6caf4c0d1: Verifying Checksum 12:58:54 12d6caf4c0d1: Download complete 12:58:54 213ec9aee27d: Pull complete 12:58:54 4583459ba037: Pull complete 12:58:54 93c1e223e6f2: Pull complete 12:58:54 a7acece74701: Verifying Checksum 12:58:54 a7acece74701: Download complete 12:58:54 96b7cbca73a9: Verifying Checksum 12:58:54 96b7cbca73a9: Download complete 12:58:54 53926ce57604: Verifying Checksum 12:58:54 53926ce57604: Download complete 12:58:59 53926ce57604: Pull complete 12:58:59 21b2b0c7a3f4: Pull complete 12:58:59 22ff95d597cd: Pull complete 12:58:59 12d6caf4c0d1: Pull complete 12:59:00 96b7cbca73a9: Pull complete 12:59:01 a7acece74701: Pull complete 12:59:01 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 12:59:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:59:01 ---> db6d94c90886 12:59:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:06 ---> Running in 7044603cd507 12:59:06 Removing intermediate container 7044603cd507 12:59:06 ---> 4f0ec8f66e59 12:59:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:06 ---> Running in 330de402944e 12:59:06 Removing intermediate container 330de402944e 12:59:06 ---> db263a974989 12:59:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:06 ---> Running in eeb1d41c6014 12:59:06 Removing intermediate container eeb1d41c6014 12:59:06 ---> 1317c43a59f2 12:59:06 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:06 ---> Running in bb45d00e002f 12:59:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:59:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:59:07 Still waiting to schedule task 12:59:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:59:07 OK: 211 MiB in 51 packages 12:59:07 Removing intermediate container bb45d00e002f 12:59:07 ---> dd1ee7edbd5e 12:59:07 Step 7/12 : WORKDIR /app 12:59:07 ---> Running in 90205deccfab 12:59:07 Removing intermediate container 90205deccfab 12:59:07 ---> a925c77af761 12:59:07 Step 8/12 : COPY go.mod vendor* ./ 12:59:07 ---> 429a35e1cb62 12:59:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:07 ---> Running in da1653c0c7be 12:59:54 Removing intermediate container da1653c0c7be 12:59:54 ---> a6792b563a57 12:59:54 Step 10/12 : COPY . . 12:59:54 ---> 64f297dcc990 12:59:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:54 ---> Running in 32c1087d461f 12:59:54 Removing intermediate container 32c1087d461f 12:59:54 ---> 275508e8bd09 12:59:54 Step 12/12 : RUN $MAKE 12:59:54 ---> Running in 7105f390003f 12:59:54 noop 12:59:54 Removing intermediate container 7105f390003f 12:59:54 ---> 546993687c76 12:59:54 Successfully built 546993687c76 12:59:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:54 + docker inspect -f . ci-base-image-x86_64 12:59:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:54 prd-ubuntu20.04-docker-8c-8g-8086 does not seem to be running inside a container 12:59:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-526 -v /w/workspace/_app-service-configurable_PR-526:/w/workspace/_app-service-configurable_PR-526:rw,z -v /w/workspace/_app-service-configurable_PR-526@tmp:/w/workspace/_app-service-configurable_PR-526@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:55 $ docker top fc8defc47af6177ca08c02d95bc4c3c732749f83c6fe957ef90bab3023b2d97d -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:55 + go version 12:59:55 go version go1.18.7 linux/amd64 [Pipeline] } 12:59:55 $ docker stop --time=1 fc8defc47af6177ca08c02d95bc4c3c732749f83c6fe957ef90bab3023b2d97d 12:59:57 $ docker rm -f --volumes fc8defc47af6177ca08c02d95bc4c3c732749f83c6fe957ef90bab3023b2d97d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:57 + docker inspect -f . ci-base-image-x86_64 12:59:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:57 prd-ubuntu20.04-docker-8c-8g-8086 does not seem to be running inside a container 12:59:57 $ 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-526 -v /w/workspace/_app-service-configurable_PR-526:/w/workspace/_app-service-configurable_PR-526:rw,z -v /w/workspace/_app-service-configurable_PR-526@tmp:/w/workspace/_app-service-configurable_PR-526@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:58 $ docker top 6f79d6b43e6c229a401f45b45209332a4fa1650f63b7617e083f6ae4810ffda9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:58 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-526 [Pipeline] fileExists [Pipeline] sh 12:59:59 + make test 12:59:59 go test -race -coverprofile=coverage.out ./... 13:00:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:21 go vet ./... 13:00:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:27 ./bin/test-attribution-txt.sh [Pipeline] echo 13:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:27 $ docker stop --time=1 6f79d6b43e6c229a401f45b45209332a4fa1650f63b7617e083f6ae4810ffda9 13:00:30 $ docker rm -f --volumes 6f79d6b43e6c229a401f45b45209332a4fa1650f63b7617e083f6ae4810ffda9 [Pipeline] // withDockerContainer [Pipeline] sh 13:00:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:32 + ls -al . 13:00:32 total 172 13:00:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 12:59 . 13:00:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 12:58 .. 13:00:32 -rw-rw-r-- 1 jenkins jenkins 119 Mar 2 12:58 .dockerignore 13:00:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 12:58 .git 13:00:32 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 12:58 .github 13:00:32 -rw-rw-r-- 1 jenkins jenkins 171 Mar 2 12:58 .gitignore 13:00:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 12:58 .semver 13:00:32 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 2 12:58 Attribution.txt 13:00:32 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 2 12:58 CHANGELOG.md 13:00:32 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 2 12:58 Dockerfile 13:00:32 -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 12:58 GOVERNANCE.md 13:00:32 -rw-rw-r-- 1 jenkins jenkins 688 Mar 2 12:58 Jenkinsfile 13:00:32 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 2 12:58 LICENSE 13:00:32 -rw-rw-r-- 1 jenkins jenkins 618 Mar 2 12:58 OWNERS.md 13:00:32 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 2 12:58 README.md 13:00:32 -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 12:58 VERSION 13:00:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 12:58 bin 13:00:32 -rw-r--r-- 1 jenkins jenkins 13 Mar 2 12:59 coverage.out 13:00:32 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 2 12:58 go.mod 13:00:32 -rw-rw-r-- 1 jenkins jenkins 30619 Mar 2 12:58 go.sum 13:00:32 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 2 12:58 main.go 13:00:32 -rw-rw-r-- 1 jenkins jenkins 2078 Mar 2 12:58 makefile 13:00:32 drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 12:58 res 13:00:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:32 + 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=47d2353c27f720a7ac6a5437e28cddabd45fb298 --label arch=amd64 --label version=0.0.0 . 13:00:32 Sending build context to Docker daemon 3.231MB 13:00:32 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:00:32 Step 2/26 : FROM ${BASE} AS builder 13:00:32 ---> 546993687c76 13:00:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:32 ---> Running in 1a95065add99 13:00:33 Removing intermediate container 1a95065add99 13:00:33 ---> 83db7b06d77c 13:00:33 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:33 ---> Running in f91105dfde8e 13:00:33 Removing intermediate container f91105dfde8e 13:00:33 ---> ec13875b0966 13:00:33 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:33 ---> Running in ae60ecfa5938 13:00:33 Removing intermediate container ae60ecfa5938 13:00:33 ---> b2feb0bb878b 13:00:33 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:33 ---> Running in a957808d9626 13:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:00:33 OK: 211 MiB in 51 packages 13:00:34 Removing intermediate container a957808d9626 13:00:34 ---> c3ba3763b0fd 13:00:34 Step 7/26 : WORKDIR /app 13:00:34 ---> Running in f227645e9e5c 13:00:34 Removing intermediate container f227645e9e5c 13:00:34 ---> 0f3324ae8ea6 13:00:34 Step 8/26 : COPY go.mod vendor* ./ 13:00:34 ---> 46f55d421b69 13:00:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:34 ---> Running in 3d41a23ebb3d 13:00:35 Removing intermediate container 3d41a23ebb3d 13:00:35 ---> aee41b525b6f 13:00:35 Step 10/26 : COPY . . 13:00:35 ---> 7102c1455130 13:00:35 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:35 ---> Running in 5b648fec9969 13:00:35 Removing intermediate container 5b648fec9969 13:00:35 ---> 31615ebcfe0e 13:00:35 Step 12/26 : RUN $MAKE 13:00:35 ---> Running in d8687f08f411 13:00:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.37 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8087 in /w/workspace/_app-service-configurable_PR-526 [Pipeline] { [Pipeline] ws 13:00:41 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:41 Selected Git installation does not exist. Using Default 13:00:41 The recommended git tool is: NONE 13:00:47 using credential edgex-jenkins-ssh 13:00:47 Cloning the remote Git repository 13:00:47 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:47 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:47 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:47 > git --version # timeout=10 13:00:47 > git --version # 'git version 2.25.1' 13:00:47 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:48 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:50 Merging remotes/origin/main commit 9924ce3792302461657905c814d890402047d1ca into PR head commit 47d2353c27f720a7ac6a5437e28cddabd45fb298 13:00:49 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:49 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:49 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/526/head:refs/remotes/origin/PR-526 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:50 > git config core.sparsecheckout # timeout=10 13:00:50 > git checkout -f 47d2353c27f720a7ac6a5437e28cddabd45fb298 # timeout=10 13:00:50 Merge succeeded, producing 47d2353c27f720a7ac6a5437e28cddabd45fb298 13:00:50 Checking out Revision 47d2353c27f720a7ac6a5437e28cddabd45fb298 (PR-526) 13:00:51 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:00:51 > git --version # timeout=10 13:00:51 > git --version # 'git version 2.25.1' 13:00:51 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:50 > git remote # timeout=10 13:00:50 > git config --get remote.origin.url # timeout=10 13:00:50 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:50 > git merge 9924ce3792302461657905c814d890402047d1ca # timeout=10 13:00:50 > git rev-parse HEAD^{commit} # timeout=10 13:00:50 > git config core.sparsecheckout # timeout=10 13:00:50 > git checkout -f 47d2353c27f720a7ac6a5437e28cddabd45fb298 # timeout=10 13:00:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:52 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:52 Dload Upload Total Spent Left Speed 13:00:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh 13:00:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:00:53 + sudo tee /etc/docker/daemon.new 13:00:53 { 13:00:53 "registry-mirrors": [ 13:00:53 "https://nexus3.edgexfoundry.org:10001" 13:00:53 ], 13:00:53 "bip": "10.250.0.254/24", 13:00:53 "hosts": [ 13:00:53 "tcp://0.0.0.0:5555", 13:00:53 "unix:///var/run/docker.sock" 13:00:53 ], 13:00:53 "mtu": 1458, 13:00:53 "selinux-enabled": true, 13:00:53 "seccomp-profile": "/etc/docker/seccomp.json" 13:00:53 } [Pipeline] sh 13:00:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:00:54 + sudo service docker restart 13:00:58 Removing intermediate container d8687f08f411 13:00:58 ---> 29ccb946afe5 13:00:58 Step 13/26 : FROM alpine:3.16 13:00:58 3.16: Pulling from library/alpine 13:00:58 ef5531b6e74e: Pulling fs layer 13:00:58 ef5531b6e74e: Verifying Checksum 13:00:58 ef5531b6e74e: Download complete 13:00:58 ef5531b6e74e: Pull complete 13:00:58 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:00:58 Status: Downloaded newer image for alpine:3.16 13:00:58 ---> dfd21b5a31f5 13:00:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:00:58 ---> Running in 8731bb9591bb 13:00:58 Removing intermediate container 8731bb9591bb 13:00:58 ---> 6b3438636532 13:00:58 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:00:58 ---> Running in d0a339ab6a93 13:00:58 Removing intermediate container d0a339ab6a93 13:00:58 ---> ac6faab57080 13:00:58 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:00:58 ---> Running in ad71dad48743 13:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:00:58 (1/2) Installing ca-certificates (20220614-r0) 13:00:58 (2/2) Installing dumb-init (1.2.5-r1) 13:00:58 Executing busybox-1.35.0-r17.trigger 13:00:58 Executing ca-certificates-20220614-r0.trigger 13:00:58 OK: 6 MiB in 16 packages 13:00:58 Removing intermediate container ad71dad48743 13:00:58 ---> 49a4f98d1960 13:00:58 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:00:58 ---> ec068541bed6 13:00:58 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:00:58 ---> 0f6cc5df788a 13:00:58 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:00:58 ---> b89b2483febb 13:00:58 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:00:59 ---> 0f75d4e159c1 13:00:59 Step 21/26 : EXPOSE 48095 13:00:59 ---> Running in 11a09dc35340 13:00:59 Removing intermediate container 11a09dc35340 13:00:59 ---> bdb4c474b8c1 13:00:59 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:00:59 ---> Running in d968ed55321d 13:00:59 Removing intermediate container d968ed55321d 13:00:59 ---> e9f43095412d 13:00:59 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:00:59 ---> Running in 33458a801d75 13:00:59 Removing intermediate container 33458a801d75 13:00:59 ---> c844a90476e7 13:00:59 Step 24/26 : LABEL arch=amd64 13:00:59 ---> Running in 08eb54472e22 13:00:59 Removing intermediate container 08eb54472e22 13:00:59 ---> 28133ceb54b8 13:00:59 Step 25/26 : LABEL git_sha=47d2353c27f720a7ac6a5437e28cddabd45fb298 13:00:59 ---> Running in aec7da67e5d2 13:00:59 Removing intermediate container aec7da67e5d2 13:00:59 ---> 4f9007927f6f 13:00:59 Step 26/26 : LABEL version=0.0.0 13:00:59 ---> Running in 0c085f98779a 13:00:59 Removing intermediate container 0c085f98779a 13:00:59 ---> 0bacd813e9b6 13:00:59 [Warning] One or more build-args [ARCH] were not consumed 13:00:59 Successfully built 0bacd813e9b6 13:00:59 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:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:00 13:01:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:01 latest: Pulling from edgex-lftools-log-publisher 13:01:01 5eb5b503b376: Pulling fs layer 13:01:01 5c69ac0246d0: Pulling fs layer 13:01:01 ec43610c2a17: Pulling fs layer 13:01:01 3a2ae6a8a46f: Pulling fs layer 13:01:01 33b1e0a273af: Pulling fs layer 13:01:01 5d3b04190fa2: Pulling fs layer 13:01:01 2f39f015ded8: Pulling fs layer 13:01:01 33b1e0a273af: Waiting 13:01:01 5d3b04190fa2: Waiting 13:01:01 5c69ac0246d0: Verifying Checksum 13:01:01 5c69ac0246d0: Download complete 13:01:01 3a2ae6a8a46f: Verifying Checksum 13:01:01 3a2ae6a8a46f: Download complete 13:01:01 33b1e0a273af: Verifying Checksum 13:01:01 33b1e0a273af: Download complete 13:01:01 5d3b04190fa2: Verifying Checksum 13:01:01 5d3b04190fa2: Download complete 13:01:01 ec43610c2a17: Verifying Checksum 13:01:01 ec43610c2a17: Download complete 13:01:01 5eb5b503b376: Verifying Checksum 13:01:01 5eb5b503b376: Download complete 13:01:01 2f39f015ded8: Download complete 13:01:02 5eb5b503b376: Pull complete 13:01:02 5c69ac0246d0: Pull complete 13:01:03 ec43610c2a17: Pull complete 13:01:03 3a2ae6a8a46f: Pull complete 13:01:03 33b1e0a273af: Pull complete 13:01:03 5d3b04190fa2: Pull complete 13:01:07 2f39f015ded8: Pull complete 13:01:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:01:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:07 prd-ubuntu20.04-docker-8c-8g-8086 does not seem to be running inside a container 13:01:07 $ 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-526 -v /w/workspace/_app-service-configurable_PR-526:/w/workspace/_app-service-configurable_PR-526:rw,z -v /w/workspace/_app-service-configurable_PR-526@tmp:/w/workspace/_app-service-configurable_PR-526@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:01:11 $ docker top 158cfbbb0d04cd219bb256ad54454946c3f972e03659442c3a3c3d8976b14684 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:12 ---> job-cost.sh 13:01:12 lf-activate-venv: SKIPPING 13:01:12 INFO: No Stack... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:12 provisioning config files... 13:01:12 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config8822552321155009646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:12 INFO: Retrieving Pricing Info for: v3-standard-8 13:01:12 INFO: Archiving Costs [Pipeline] sh 13:01:12 ---> docker-login.sh 13:01:12 nexus3.edgexfoundry.org:10001 13:01:13 + cat /w/workspace/_app-service-configurable_PR-526/archives/cost.csv 13:01:13 + cut -d, -f6 [Pipeline] lock 13:01:13 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-526-1-stack-cost] 13:01:13 Resource [jenkins-edgexfoundry-app-service-configurable-PR-526-1-stack-cost] did not exist. Created. 13:01:13 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-526-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:13 Configure a credential helper to remove this warning. See 13:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:13 13:01:13 Login Succeeded 13:01:13 nexus3.edgexfoundry.org:10002 13:01:13 + echo total: 0.2199999988079071 13:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:13 Configure a credential helper to remove this warning. See 13:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:13 13:01:13 Login Succeeded 13:01:13 nexus3.edgexfoundry.org:10003 [Pipeline] stash 13:01:13 Stashed 1 file(s) [Pipeline] } 13:01:13 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-526-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:13 $ docker stop --time=1 158cfbbb0d04cd219bb256ad54454946c3f972e03659442c3a3c3d8976b14684 13:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:14 Configure a credential helper to remove this warning. See 13:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:14 13:01:14 Login Succeeded 13:01:14 nexus3.edgexfoundry.org:10004 13:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:14 Configure a credential helper to remove this warning. See 13:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:14 13:01:14 Login Succeeded 13:01:14 docker.io 13:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:15 Configure a credential helper to remove this warning. See 13:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:15 13:01:15 Login Succeeded 13:01:15 ---> docker-login.sh ends 13:01:15 $ docker rm -f --volumes 158cfbbb0d04cd219bb256ad54454946c3f972e03659442c3a3c3d8976b14684 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 13:01:15 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 13:01:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:15 ========================================================= 13:01:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:01:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:16 + 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:16 Sending build context to Docker daemon 176.6kB 13:01:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:01:16 Step 2/12 : FROM ${BASE} AS builder 13:01:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:16 9b18e9b68314: Pulling fs layer 13:01:16 35d82f9e3411: Pulling fs layer 13:01:16 e16973657156: Pulling fs layer 13:01:16 fc693d55d65f: Pulling fs layer 13:01:16 7e9fc2657dce: Pulling fs layer 13:01:16 dda99020689f: Pulling fs layer 13:01:16 db1c61fa0a46: Pulling fs layer 13:01:16 891c053d2c06: Pulling fs layer 13:01:16 dda99020689f: Waiting 13:01:16 db1c61fa0a46: Waiting 13:01:16 891c053d2c06: Waiting 13:01:16 7e9fc2657dce: Waiting 13:01:16 fc693d55d65f: Waiting 13:01:17 e16973657156: Verifying Checksum 13:01:17 e16973657156: Download complete 13:01:17 35d82f9e3411: Verifying Checksum 13:01:17 35d82f9e3411: Download complete 13:01:17 7e9fc2657dce: Verifying Checksum 13:01:17 7e9fc2657dce: Download complete 13:01:17 dda99020689f: Verifying Checksum 13:01:17 dda99020689f: Download complete 13:01:17 9b18e9b68314: Verifying Checksum 13:01:17 9b18e9b68314: Download complete 13:01:18 9b18e9b68314: Pull complete 13:01:18 891c053d2c06: Verifying Checksum 13:01:18 891c053d2c06: Download complete 13:01:18 35d82f9e3411: Pull complete 13:01:18 e16973657156: Pull complete 13:01:19 db1c61fa0a46: Verifying Checksum 13:01:19 db1c61fa0a46: Download complete 13:01:19 fc693d55d65f: Verifying Checksum 13:01:19 fc693d55d65f: Download complete 13:01:32 fc693d55d65f: Pull complete 13:01:32 7e9fc2657dce: Pull complete 13:01:32 dda99020689f: Pull complete 13:01:38 db1c61fa0a46: Pull complete 13:01:40 891c053d2c06: Pull complete 13:01:40 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 13:01:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:01:40 ---> f96f9c87975a 13:01:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:42 ---> Running in 956b6216b67b 13:01:42 Removing intermediate container 956b6216b67b 13:01:42 ---> 48f6eff59e3c 13:01:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:42 ---> Running in f321744a8b60 13:01:42 Removing intermediate container f321744a8b60 13:01:42 ---> 30f83282229f 13:01:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:42 ---> Running in b074d8f157d6 13:01:43 Removing intermediate container b074d8f157d6 13:01:43 ---> eef41e8a8545 13:01:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:43 ---> Running in 72fc1d81fb51 13:01:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:01:45 OK: 221 MiB in 51 packages 13:01:46 Removing intermediate container 72fc1d81fb51 13:01:46 ---> 52d474abe590 13:01:46 Step 7/12 : WORKDIR /app 13:01:46 ---> Running in 8a962a17e691 13:01:47 Removing intermediate container 8a962a17e691 13:01:47 ---> e0ea40e67d7d 13:01:47 Step 8/12 : COPY go.mod vendor* ./ 13:01:47 ---> 179222850659 13:01:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:47 ---> Running in 8106ed449e32 13:02:55 Removing intermediate container 8106ed449e32 13:02:55 ---> 92ed906521d2 13:02:55 Step 10/12 : COPY . . 13:02:55 ---> c96dcc95e62f 13:02:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:55 ---> Running in 7fcdc057e580 13:02:55 Removing intermediate container 7fcdc057e580 13:02:55 ---> c973a01437d1 13:02:55 Step 12/12 : RUN $MAKE 13:02:55 ---> Running in fbabb0258e40 13:02:55 noop 13:02:55 Removing intermediate container fbabb0258e40 13:02:55 ---> 8db2276f8c0a 13:02:55 Successfully built 8db2276f8c0a 13:02:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:56 + docker inspect -f . ci-base-image-arm64 13:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:56 prd-ubuntu20.04-docker-arm64-4c-16g-8087 does not seem to be running inside a container 13:02:56 $ 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 ******** -e ******** ci-base-image-arm64 cat 13:02:57 $ docker top 02e2838465994bb6e097174f8964a1283d58360ec1f069bba3ae587f50ab6a46 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:58 + go version 13:02:58 go version go1.18.7 linux/arm64 [Pipeline] } 13:02:58 $ docker stop --time=1 02e2838465994bb6e097174f8964a1283d58360ec1f069bba3ae587f50ab6a46 13:03:00 $ docker rm -f --volumes 02e2838465994bb6e097174f8964a1283d58360ec1f069bba3ae587f50ab6a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:01 + docker inspect -f . ci-base-image-arm64 13:03:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:01 prd-ubuntu20.04-docker-arm64-4c-16g-8087 does not seem to be running inside a container 13:03:01 $ 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 ******** -e ******** ci-base-image-arm64 cat 13:03:02 $ docker top 77c03c483af549c38908d0131bcf6820faba07c117be0033d0931193ecde5faf -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:03 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:03:03 + make test 13:03:03 go test -race -coverprofile=coverage.out ./... 13:05:25 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:05:25 go vet ./... 13:07:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:07:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:07:02 ./bin/test-attribution-txt.sh [Pipeline] echo 13:07:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:07:02 $ docker stop --time=1 77c03c483af549c38908d0131bcf6820faba07c117be0033d0931193ecde5faf 13:07:04 $ docker rm -f --volumes 77c03c483af549c38908d0131bcf6820faba07c117be0033d0931193ecde5faf [Pipeline] // withDockerContainer [Pipeline] sh 13:07:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:07:05 Warning: overwriting stash ‘coverage-report’ 13:07:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:07:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:07:06 + ls -al . 13:07:06 total 168 13:07:06 drwxrwxr-x 7 jenkins jenkins 4096 Mar 2 13:03 . 13:07:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 13:00 .. 13:07:06 -rw-rw-r-- 1 jenkins jenkins 119 Mar 2 13:00 .dockerignore 13:07:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 13:00 .git 13:07:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 13:00 .github 13:07:06 -rw-rw-r-- 1 jenkins jenkins 171 Mar 2 13:00 .gitignore 13:07:06 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 2 13:00 Attribution.txt 13:07:06 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 2 13:00 CHANGELOG.md 13:07:06 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 2 13:00 Dockerfile 13:07:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 13:00 GOVERNANCE.md 13:07:06 -rw-rw-r-- 1 jenkins jenkins 688 Mar 2 13:00 Jenkinsfile 13:07:06 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 2 13:00 LICENSE 13:07:06 -rw-rw-r-- 1 jenkins jenkins 618 Mar 2 13:00 OWNERS.md 13:07:06 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 2 13:00 README.md 13:07:06 -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 12:58 VERSION 13:07:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 13:00 bin 13:07:06 -rw-r--r-- 1 jenkins jenkins 13 Mar 2 13:03 coverage.out 13:07:06 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 2 13:00 go.mod 13:07:06 -rw-rw-r-- 1 jenkins jenkins 30619 Mar 2 13:00 go.sum 13:07:06 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 2 13:00 main.go 13:07:06 -rw-rw-r-- 1 jenkins jenkins 2078 Mar 2 13:00 makefile 13:07:06 drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 13:00 res 13:07:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:07 + 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=47d2353c27f720a7ac6a5437e28cddabd45fb298 --label arch=arm64 --label version=0.0.0 . 13:07:07 Sending build context to Docker daemon 177.7kB 13:07:07 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:07:07 Step 2/26 : FROM ${BASE} AS builder 13:07:07 ---> 8db2276f8c0a 13:07:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:07:07 ---> Running in 15d455779677 13:07:07 Removing intermediate container 15d455779677 13:07:07 ---> 3144abb6231e 13:07:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:07:07 ---> Running in 893b67074790 13:07:08 Removing intermediate container 893b67074790 13:07:08 ---> 6a40cb9db2dd 13:07:08 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:07:08 ---> Running in d70ad7ca6adc 13:07:08 Removing intermediate container d70ad7ca6adc 13:07:08 ---> c29ae00b639a 13:07:08 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:07:08 ---> Running in a8e43b0c8467 13:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:07:10 OK: 221 MiB in 51 packages 13:07:11 Removing intermediate container a8e43b0c8467 13:07:11 ---> 3358c8a2093c 13:07:11 Step 7/26 : WORKDIR /app 13:07:11 ---> Running in 4f1fbf800919 13:07:11 Removing intermediate container 4f1fbf800919 13:07:11 ---> 1762c2b92586 13:07:11 Step 8/26 : COPY go.mod vendor* ./ 13:07:12 ---> 8830096c3fc7 13:07:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:12 ---> Running in 2827e37f863f 13:07:17 Removing intermediate container 2827e37f863f 13:07:17 ---> 10ae995b93ac 13:07:17 Step 10/26 : COPY . . 13:07:18 ---> 06d764b3a0a9 13:07:18 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:07:18 ---> Running in e1a016fb1c75 13:07:18 Removing intermediate container e1a016fb1c75 13:07:18 ---> b4baf685b5e1 13:07:18 Step 12/26 : RUN $MAKE 13:07:18 ---> Running in 1499d290961c 13:07:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.37 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:09:26 Removing intermediate container 1499d290961c 13:09:26 ---> 34a516d2037a 13:09:26 Step 13/26 : FROM alpine:3.16 13:09:26 3.16: Pulling from library/alpine 13:09:26 3760b48202b3: Pulling fs layer 13:09:26 3760b48202b3: Verifying Checksum 13:09:26 3760b48202b3: Download complete 13:09:26 3760b48202b3: Pull complete 13:09:26 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:09:26 Status: Downloaded newer image for alpine:3.16 13:09:26 ---> 4c81e5bf8899 13:09:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:09:26 ---> Running in 653463bc4bbb 13:09:26 Removing intermediate container 653463bc4bbb 13:09:26 ---> 0193677679ca 13:09:26 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:09:26 ---> Running in c53fad868d95 13:09:26 Removing intermediate container c53fad868d95 13:09:26 ---> d7e787d66e10 13:09:26 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:09:26 ---> Running in afc717f929cf 13:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:09:26 (1/2) Installing ca-certificates (20220614-r0) 13:09:26 (2/2) Installing dumb-init (1.2.5-r1) 13:09:26 Executing busybox-1.35.0-r17.trigger 13:09:26 Executing ca-certificates-20220614-r0.trigger 13:09:26 OK: 6 MiB in 16 packages 13:09:26 Removing intermediate container afc717f929cf 13:09:26 ---> 3a88e9882d1c 13:09:26 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:09:26 ---> 9e2b35d8a052 13:09:26 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:09:26 ---> 706bf775a9e1 13:09:26 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:09:26 ---> 7d00d19bd116 13:09:26 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:09:26 ---> c764a7a34415 13:09:26 Step 21/26 : EXPOSE 48095 13:09:26 ---> Running in 5e207d497602 13:09:26 Removing intermediate container 5e207d497602 13:09:26 ---> 59edaff52a2e 13:09:26 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:09:26 ---> Running in a94dcf0bd3ba 13:09:26 Removing intermediate container a94dcf0bd3ba 13:09:26 ---> 34104c1a1121 13:09:26 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:09:26 ---> Running in a7869d3060d8 13:09:26 Removing intermediate container a7869d3060d8 13:09:26 ---> 023f305560c6 13:09:26 Step 24/26 : LABEL arch=arm64 13:09:26 ---> Running in b7a7bac34efa 13:09:26 Removing intermediate container b7a7bac34efa 13:09:26 ---> 14d4fcc2f195 13:09:26 Step 25/26 : LABEL git_sha=47d2353c27f720a7ac6a5437e28cddabd45fb298 13:09:26 ---> Running in 7a9be638b322 13:09:26 Removing intermediate container 7a9be638b322 13:09:26 ---> 65e0cfdb564c 13:09:26 Step 26/26 : LABEL version=0.0.0 13:09:26 ---> Running in 596d85c8a747 13:09:26 Removing intermediate container 596d85c8a747 13:09:26 ---> 8d76ec55d8fd 13:09:26 [Warning] One or more build-args [ARCH] were not consumed 13:09:26 Successfully built 8d76ec55d8fd 13:09:26 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:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:27 13:09:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:27 arm64: Pulling from edgex-lftools-log-publisher 13:09:27 8998bd30e6a1: Pulling fs layer 13:09:27 04944245beec: Pulling fs layer 13:09:27 699f458cf7ca: Pulling fs layer 13:09:27 765212b225bb: Pulling fs layer 13:09:27 f23df028b6ca: Pulling fs layer 13:09:27 d65c8cfc05b1: Pulling fs layer 13:09:27 2437ff75d9bd: Pulling fs layer 13:09:27 765212b225bb: Waiting 13:09:27 f23df028b6ca: Waiting 13:09:27 d65c8cfc05b1: Waiting 13:09:27 2437ff75d9bd: Waiting 13:09:28 04944245beec: Verifying Checksum 13:09:28 04944245beec: Download complete 13:09:28 765212b225bb: Verifying Checksum 13:09:28 765212b225bb: Download complete 13:09:28 f23df028b6ca: Verifying Checksum 13:09:28 f23df028b6ca: Download complete 13:09:28 d65c8cfc05b1: Verifying Checksum 13:09:28 d65c8cfc05b1: Download complete 13:09:28 699f458cf7ca: Verifying Checksum 13:09:28 699f458cf7ca: Download complete 13:09:28 8998bd30e6a1: Download complete 13:09:31 2437ff75d9bd: Verifying Checksum 13:09:31 2437ff75d9bd: Download complete 13:09:32 8998bd30e6a1: Pull complete 13:09:32 04944245beec: Pull complete 13:09:34 699f458cf7ca: Pull complete 13:09:34 765212b225bb: Pull complete 13:09:35 f23df028b6ca: Pull complete 13:09:35 d65c8cfc05b1: Pull complete 13:09:50 2437ff75d9bd: Pull complete 13:09:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:09:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:50 prd-ubuntu20.04-docker-arm64-4c-16g-8087 does not seem to be running inside a container 13:09:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:09:53 $ docker top 238392d37e2c9139b8996094d9efe400f74ec5744d6a25b289228302fdf7a48d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:54 ---> job-cost.sh 13:09:54 lf-activate-venv: SKIPPING 13:09:54 INFO: No Stack... 13:09:54 INFO: Retrieving Pricing Info for: v3-standard-4 13:09:55 INFO: Archiving Costs [Pipeline] sh 13:09:55 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:09:55 + cut -d, -f6 [Pipeline] lock 13:09:56 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-526-1-stack-cost] 13:09:56 Resource [jenkins-edgexfoundry-app-service-configurable-PR-526-1-stack-cost] did not exist. Created. 13:09:56 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-526-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:09:56 /w/workspace/app-service-configurable/1@tmp/durable-d3dbf089/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:09:57 + echo total: 0.10999999940395355 [Pipeline] stash 13:09:57 Warning: overwriting stash ‘stack-cost’ 13:09:57 Stashed 1 file(s) [Pipeline] } 13:09:57 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-526-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:09:57 $ docker stop --time=1 238392d37e2c9139b8996094d9efe400f74ec5744d6a25b289228302fdf7a48d 13:09:58 $ docker rm -f --volumes 238392d37e2c9139b8996094d9efe400f74ec5744d6a25b289228302fdf7a48d [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:59 provisioning config files... 13:09:59 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-526@tmp/config9437472120504011404tmp [Pipeline] { [Pipeline] sh 13:10:00 + set +x 13:10:00 + bash -s -- 13:10:00 + curl -s https://codecov.io/bash 13:10:00 13:10:00 _____ _ 13:10:00 / ____| | | 13:10:00 | | ___ __| | ___ ___ _____ __ 13:10:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:10:00 | |___| (_) | (_| | __/ (_| (_) \ V / 13:10:00 \_____\___/ \__,_|\___|\___\___/ \_/ 13:10:00 Bash-1.0.6 13:10:00 13:10:00 13:10:00 ==> git version 2.25.1 found 13:10:00 ==> 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:10:00 Release-Date: 2020-01-08 13:10:00 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:10:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:10:00 ==> Jenkins CI detected. 13:10:00 current dir:  /w/workspace/_app-service-configurable_PR-526 13:10:00 project root: . 13:10:00 --> token set from env 13:10:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:10:00 ==> Running gcov in . (disable via -X gcov) 13:10:00 ==> Python coveragepy not found 13:10:00 ==> Searching for coverage reports in: 13:10:00 + . 13:10:00 -> Found 1 reports 13:10:00 ==> Detecting git/mercurial file structure 13:10:00 ==> Reading reports 13:10:00 + ./coverage.out bytes=13 13:10:00 ==> Appending adjustments 13:10:00 https://docs.codecov.io/docs/fixing-reports 13:10:00 + Found adjustments 13:10:00 ==> Gzipping contents 13:10:00 4.0K /tmp/codecov.HycVT7.gz 13:10:00 ==> Uploading reports 13:10:00 url: https://codecov.io 13:10:00 query: branch=PR-526&commit=47d2353c27f720a7ac6a5437e28cddabd45fb298&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-526%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=526&job=&cmd_args= 13:10:00 -> Pinging Codecov 13:10:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-526&commit=47d2353c27f720a7ac6a5437e28cddabd45fb298&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-526%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=526&job=&cmd_args= 13:10:00 -> Uploading to 13:10:00 https://storage.googleapis.com/codecov/v4/raw/2023-03-02/A97CA9966030D2A3747ED39772930CCE/47d2353c27f720a7ac6a5437e28cddabd45fb298/ec2855c5-6351-463a-bba1-34787976550a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230302%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230302T131000Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dfcfc86c796ce3ef196b02083c2cfea9f0bcbcab8d634e048676e0f7b0f30c4b 13:10:00 % Total % Received % Xferd Average Speed Time Time Time Current 13:10:00 Dload Upload Total Spent Left Speed 13:10:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 2363 --:--:-- --:--:-- --:--:-- 2352 100 520 0 0 100 520 0 1739 --:--:-- --:--:-- --:--:-- 1733 13:10:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/47d2353c27f720a7ac6a5437e28cddabd45fb298 [Pipeline] } 13:10:01 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:10:02 + [ -d /w/workspace/_app-service-configurable_PR-526/archives ] 13:10:02 + ls -al /w/workspace/_app-service-configurable_PR-526/archives 13:10:02 total 16 13:10:02 drwxr-xr-x 3 root root 4096 Mar 2 13:01 . 13:10:02 drwxrwxr-x 9 jenkins jenkins 4096 Mar 2 13:01 .. 13:10:02 drwxr-xr-x 2 root root 4096 Mar 2 13:01 cost 13:10:02 -rw-r--r-- 1 root root 96 Mar 2 13:01 cost.csv 13:10:02 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-526/archives 13:10:02 + ls -al /w/workspace/_app-service-configurable_PR-526/archives 13:10:02 total 16 13:10:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 13:01 . 13:10:02 drwxrwxr-x 9 jenkins jenkins 4096 Mar 2 13:01 .. 13:10:02 drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 13:01 cost 13:10:02 -rw-r--r-- 1 jenkins jenkins 96 Mar 2 13:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:10:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:10:04 ---> package-listing.sh 13:10:04 ++ tr '[:upper:]' '[:lower:]' 13:10:04 ++ facter osfamily 13:10:04 + OS_FAMILY=debian 13:10:04 + workspace=/w/workspace/_app-service-configurable_PR-526 13:10:04 + START_PACKAGES=/tmp/packages_start.txt 13:10:04 + END_PACKAGES=/tmp/packages_end.txt 13:10:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:10:04 + PACKAGES=/tmp/packages_start.txt 13:10:04 + '[' /w/workspace/_app-service-configurable_PR-526 ']' 13:10:04 + PACKAGES=/tmp/packages_end.txt 13:10:04 + case "${OS_FAMILY}" in 13:10:04 + dpkg -l 13:10:04 + grep '^ii' 13:10:04 + '[' -f /tmp/packages_start.txt ']' 13:10:04 + '[' -f /tmp/packages_end.txt ']' 13:10:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:10:04 + '[' /w/workspace/_app-service-configurable_PR-526 ']' 13:10:04 + mkdir -p /w/workspace/_app-service-configurable_PR-526/archives/ 13:10:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-526/archives/ [Pipeline] echo 13:10:04 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-526/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:10:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:05 prd-ubuntu20.04-docker-8c-8g-8086 does not seem to be running inside a container 13:10:05 $ 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-526/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-526 -v /w/workspace/_app-service-configurable_PR-526:/w/workspace/_app-service-configurable_PR-526:rw,z -v /w/workspace/_app-service-configurable_PR-526@tmp:/w/workspace/_app-service-configurable_PR-526@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:10:05 $ docker top 6b5ebd6548cd27bf50e28ee4dcfcb3f4a410d1828f0fee27f72fbd4cb7726498 -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:06 + touch /tmp/pre-build-complete [Pipeline] sh 13:10:06 + mkdir -p /var/log/sysstat [Pipeline] sh 13:10:06 + ls /var/log/sa-host 13:10:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:06 provisioning config files... 13:10:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-526@tmp/config1339013858034751580tmp [Pipeline] { [Pipeline] echo 13:10:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:10:07 ---> create-netrc.sh [Pipeline] } 13:10:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:10:07 ---> python-tools-install.sh [Pipeline] echo 13:10:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:10:08 ---> sudo-logs.sh 13:10:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:10:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:10:08 ---> job-cost.sh 13:10:08 lf-activate-venv: SKIPPING 13:10:08 DEBUG: total: 0.2199999988079071 13:10:08 INFO: Retrieving Stack Cost... 13:10:08 INFO: Retrieving Pricing Info for: v3-standard-8 13:10:09 INFO: Archiving Costs [Pipeline] echo 13:10:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:10:09 ---> logs-deploy.sh 13:10:09 lf-activate-venv: SKIPPING 13:10:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-526/1 13:10:09 INFO: archiving workspace using pattern(s): 13:10:10 Archives upload complete. 13:10:10 INFO: archiving logs to Nexus