Pull request #538 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2c1e4eb5127bc09add0656ce46d6b62069b72af9+726c7bac779ae455276856dfdf2d144874947dc5 (fd0bc5e1734900eb9f38d7462de39fe3768770df) 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-ssh16492611508174489867.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2042229649446317907.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh 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-538/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-538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2736463813080043742.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-538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15979180351203843501.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh5356478114969071119.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-538/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-538/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9111119061608373032.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6208 in /w/workspace/_app-service-configurable_PR-538 [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-538 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 726c7bac779ae455276856dfdf2d144874947dc5 into PR head commit 2c1e4eb5127bc09add0656ce46d6b62069b72af9 > 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/538/head:refs/remotes/origin/PR-538 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c1e4eb5127bc09add0656ce46d6b62069b72af9 # timeout=10 Merge succeeded, producing 2c1e4eb5127bc09add0656ce46d6b62069b72af9 Checking out Revision 2c1e4eb5127bc09add0656ce46d6b62069b72af9 (PR-538) 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 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:59:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:59:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:59:25 ========================================================= 12:59:25 EdgeX Global Pipelines Version Info 12:59:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 726c7bac779ae455276856dfdf2d144874947dc5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c1e4eb5127bc09add0656ce46d6b62069b72af9 # timeout=10 12:59:26 ------------------- 12:59:26 stable info: 12:59:26 ------------------- 12:59:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:59:26 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:59:26 Message: update stable to v1.0.245 12:59:27 ------------------- 12:59:27 experimental info: 12:59:27 ------------------- 12:59:27 Commited By: **** collab-it+edgex@linuxfoundation.org 12:59:27 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 12:59:27 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:59:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-538 [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-538 [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-538 [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c1e4eb5127bc09add0656ce46d6b62069b72af9 [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c1e4eb [Pipeline] echo 12:59:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:59:28 provisioning config files... 12:59:28 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-538@tmp/config17981198858263041079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:29 ---> docker-login.sh 12:59:29 nexus3.edgexfoundry.org:10001 12:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:29 Configure a credential helper to remove this warning. See 12:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:29 12:59:29 Login Succeeded 12:59:29 nexus3.edgexfoundry.org:10002 12:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:29 Configure a credential helper to remove this warning. See 12:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:29 12:59:29 Login Succeeded 12:59:29 nexus3.edgexfoundry.org:10003 12:59:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:29 Configure a credential helper to remove this warning. See 12:59:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:29 12:59:29 Login Succeeded 12:59:29 nexus3.edgexfoundry.org:10004 12:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:30 Configure a credential helper to remove this warning. See 12:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:30 12:59:30 Login Succeeded 12:59:30 docker.io 12:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:30 Configure a credential helper to remove this warning. See 12:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:30 12:59:30 Login Succeeded 12:59:30 ---> docker-login.sh ends [Pipeline] } 12:59:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:59:30 + git rev-list -1 --merges 2c1e4eb5127bc09add0656ce46d6b62069b72af9~1..2c1e4eb5127bc09add0656ce46d6b62069b72af9 [Pipeline] echo 12:59:31 -----------> git rev-list -1 --merges 2c1e4eb5127bc09add0656ce46d6b62069b72af9~1..2c1e4eb5127bc09add0656ce46d6b62069b72af9 2c1e4eb5127bc09add0656ce46d6b62069b72af9 [false] [Pipeline] sh 12:59:31 + git log --format=format:%s -1 2c1e4eb5127bc09add0656ce46d6b62069b72af9 [Pipeline] echo 12:59:31 ========================================================= 12:59:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:59:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:59:31 + git log --format=format:%s -1 2c1e4eb5127bc09add0656ce46d6b62069b72af9 [Pipeline] echo 12:59:31 [semverPrep] GIT_COMMIT: 2c1e4eb5127bc09add0656ce46d6b62069b72af9, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:59:31 [semverPrep] This is not a build commit. [Pipeline] sh 12:59:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:59:32 + grep -v github /etc/ssh/ssh_known_hosts 12:59:32 + [ -e /tmp/ssh_known_hosts ] 12:59:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:59:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:59:32 + sudo tee -a /etc/ssh/ssh_known_hosts 12:59:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:59:32 12:59:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:59:33 0.1.4: Pulling from edgex-devops/py-git-semver 12:59:33 b85a868b505f: Pulling fs layer 12:59:33 e2be974225ed: Pulling fs layer 12:59:33 339a4e72a1f5: Pulling fs layer 12:59:33 988bab9f4d93: Pulling fs layer 12:59:33 1469e6f7b9e6: Pulling fs layer 12:59:33 eaf3925da568: Pulling fs layer 12:59:33 bab4dde63d76: Pulling fs layer 12:59:33 bde34c3a00c8: Pulling fs layer 12:59:33 b352a97aabf1: Pulling fs layer 12:59:33 4872d77fe225: Pulling fs layer 12:59:33 5851b861e8e6: Pulling fs layer 12:59:33 988bab9f4d93: Waiting 12:59:33 1469e6f7b9e6: Waiting 12:59:33 eaf3925da568: Waiting 12:59:33 4872d77fe225: Waiting 12:59:33 bab4dde63d76: Waiting 12:59:33 bde34c3a00c8: Waiting 12:59:33 e2be974225ed: Download complete 12:59:33 988bab9f4d93: Verifying Checksum 12:59:33 988bab9f4d93: Download complete 12:59:33 1469e6f7b9e6: Verifying Checksum 12:59:33 1469e6f7b9e6: Download complete 12:59:33 339a4e72a1f5: Verifying Checksum 12:59:33 339a4e72a1f5: Download complete 12:59:33 eaf3925da568: Verifying Checksum 12:59:33 eaf3925da568: Download complete 12:59:33 bde34c3a00c8: Download complete 12:59:33 b352a97aabf1: Verifying Checksum 12:59:33 b352a97aabf1: Download complete 12:59:33 4872d77fe225: Verifying Checksum 12:59:33 4872d77fe225: Download complete 12:59:33 5851b861e8e6: Verifying Checksum 12:59:33 5851b861e8e6: Download complete 12:59:33 b85a868b505f: Verifying Checksum 12:59:33 b85a868b505f: Download complete 12:59:33 bab4dde63d76: Verifying Checksum 12:59:33 bab4dde63d76: Download complete 12:59:34 b85a868b505f: Pull complete 12:59:34 e2be974225ed: Pull complete 12:59:35 339a4e72a1f5: Pull complete 12:59:35 988bab9f4d93: Pull complete 12:59:35 1469e6f7b9e6: Pull complete 12:59:35 eaf3925da568: Pull complete 12:59:37 bab4dde63d76: Pull complete 12:59:37 bde34c3a00c8: Pull complete 12:59:37 b352a97aabf1: Pull complete 12:59:37 4872d77fe225: Pull complete 12:59:37 5851b861e8e6: Pull complete 12:59:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:59:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:37 prd-ubuntu20.04-docker-8c-8g-6208 does not seem to be running inside a container 12:59:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-538 -v /w/workspace/_app-service-configurable_PR-538:/w/workspace/_app-service-configurable_PR-538:rw,z -v /w/workspace/_app-service-configurable_PR-538@tmp:/w/workspace/_app-service-configurable_PR-538@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:59:41 $ docker top 20b1d4a9b46d684089630d1007e724ec0ff9a38d56ef5d20009e14f5dc0d1bf3 -eo pid,comm 12:59:41 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:59:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:59:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:59:41 [ssh-agent] Looking for ssh-agent implementation... 12:59:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:59:41 $ docker exec 20b1d4a9b46d684089630d1007e724ec0ff9a38d56ef5d20009e14f5dc0d1bf3 ssh-agent 12:59:42 SSH_AUTH_SOCK=/tmp/ssh-cJJgOosDRXvd/agent.33 12:59:42 SSH_AGENT_PID=39 12:59:42 Running ssh-add (command line suppressed) 12:59:42 Identity added: /w/workspace/_app-service-configurable_PR-538@tmp/private_key_6240326633318417799.key (/w/workspace/_app-service-configurable_PR-538@tmp/private_key_6240326633318417799.key) 12:59:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:59:42 + git tag --points-at HEAD [Pipeline] } 12:59:42 $ docker exec --env ******** --env ******** 20b1d4a9b46d684089630d1007e724ec0ff9a38d56ef5d20009e14f5dc0d1bf3 ssh-agent -k 12:59:42 unset SSH_AUTH_SOCK; 12:59:42 unset SSH_AGENT_PID; 12:59:42 echo Agent pid 39 killed; 12:59:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:59:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:59:42 [ssh-agent] Looking for ssh-agent implementation... 12:59:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:59:42 $ docker exec 20b1d4a9b46d684089630d1007e724ec0ff9a38d56ef5d20009e14f5dc0d1bf3 ssh-agent 12:59:43 SSH_AUTH_SOCK=/tmp/ssh-cm6AtECiOaSh/agent.71 12:59:43 SSH_AGENT_PID=77 12:59:43 Running ssh-add (command line suppressed) 12:59:43 Identity added: /w/workspace/_app-service-configurable_PR-538@tmp/private_key_12402947008596309585.key (/w/workspace/_app-service-configurable_PR-538@tmp/private_key_12402947008596309585.key) 12:59:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:59:43 + git semver init 12:59:43 2023-03-29 12:59:43,659 [run_init] DEBUG init version:0.0.0 force:False 12:59:43 2023-03-29 12:59:43,660 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-538/.semver 12:59:43 2023-03-29 12:59:43,660 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-538/.semver 12:59:43 2023-03-29 12:59:43,660 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-538/.semver'], cwd=/w/workspace/_app-service-configurable_PR-538, universal_newlines=False, shell=None, istream=None) 12:59:44 2023-03-29 12:59:44,448 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-538/.git/info/exclude 12:59:44 2023-03-29 12:59:44,449 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-538/.semver/PR-538 with force:False 12:59:44 2023-03-29 12:59:44,449 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-538/.semver/PR-538 12:59:44 2023-03-29 12:59:44,453 [execute] INFO git cat-file --batch-check 12:59:44 2023-03-29 12:59:44,453 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-538/.semver, universal_newlines=False, shell=None, istream=) 12:59:44 2023-03-29 12:59:44,460 [execute] INFO git cat-file --batch 12:59:44 2023-03-29 12:59:44,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-538/.semver, universal_newlines=False, shell=None, istream=) 12:59:44 2023-03-29 12:59:44,466 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-538/.semver/PR-538 12:59:44 0.0.0 [Pipeline] } 12:59:44 $ docker exec --env ******** --env ******** 20b1d4a9b46d684089630d1007e724ec0ff9a38d56ef5d20009e14f5dc0d1bf3 ssh-agent -k 12:59:44 unset SSH_AUTH_SOCK; 12:59:44 unset SSH_AGENT_PID; 12:59:44 echo Agent pid 77 killed; 12:59:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:59:45 + git semver [Pipeline] } 12:59:45 $ docker stop --time=1 20b1d4a9b46d684089630d1007e724ec0ff9a38d56ef5d20009e14f5dc0d1bf3 12:59:46 $ docker rm -f --volumes 20b1d4a9b46d684089630d1007e724ec0ff9a38d56ef5d20009e14f5dc0d1bf3 [Pipeline] // withDockerContainer [Pipeline] sh 12:59:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:59:47 Stashed 1 file(s) [Pipeline] echo 12:59:47 [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:59:48 provisioning config files... 12:59:48 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-538@tmp/config10213542424871171278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:48 ---> docker-login.sh 12:59:48 nexus3.edgexfoundry.org:10001 12:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:48 Configure a credential helper to remove this warning. See 12:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:48 12:59:48 Login Succeeded 12:59:48 nexus3.edgexfoundry.org:10002 12:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:48 Configure a credential helper to remove this warning. See 12:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:48 12:59:48 Login Succeeded 12:59:48 nexus3.edgexfoundry.org:10003 12:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:48 Configure a credential helper to remove this warning. See 12:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:48 12:59:48 Login Succeeded 12:59:48 nexus3.edgexfoundry.org:10004 12:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:49 Configure a credential helper to remove this warning. See 12:59:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:49 12:59:49 Login Succeeded 12:59:49 docker.io 12:59:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:49 Configure a credential helper to remove this warning. See 12:59:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:49 12:59:49 Login Succeeded 12:59:49 ---> docker-login.sh ends [Pipeline] } 12:59:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:59:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:59:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:59:49 ========================================================= 12:59:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:59:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:59:50 Sending build context to Docker daemon 3.254MB 12:59:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:59:50 Step 2/12 : FROM ${BASE} AS builder 12:59:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:59:50 63b65145d645: Pulling fs layer 12:59:50 a2d21d5440eb: Pulling fs layer 12:59:50 935e6c44a52c: Pulling fs layer 12:59:50 94cc34f8dd06: Pulling fs layer 12:59:50 30dea6a524f1: Pulling fs layer 12:59:50 a2aff8979fd8: Pulling fs layer 12:59:50 6808be2612f2: Pulling fs layer 12:59:50 f25807f1079a: Pulling fs layer 12:59:50 a2aff8979fd8: Waiting 12:59:50 6808be2612f2: Waiting 12:59:50 94cc34f8dd06: Waiting 12:59:50 30dea6a524f1: Waiting 12:59:50 a2d21d5440eb: Verifying Checksum 12:59:50 a2d21d5440eb: Download complete 12:59:50 94cc34f8dd06: Download complete 12:59:50 30dea6a524f1: Verifying Checksum 12:59:50 30dea6a524f1: Download complete 12:59:50 63b65145d645: Verifying Checksum 12:59:50 63b65145d645: Download complete 12:59:50 a2aff8979fd8: Verifying Checksum 12:59:50 a2aff8979fd8: Download complete 12:59:50 63b65145d645: Pull complete 12:59:50 a2d21d5440eb: Pull complete 12:59:50 f25807f1079a: Verifying Checksum 12:59:50 f25807f1079a: Download complete 12:59:50 935e6c44a52c: Download complete 12:59:51 6808be2612f2: Verifying Checksum 12:59:51 6808be2612f2: Download complete 12:59:54 935e6c44a52c: Pull complete 12:59:54 94cc34f8dd06: Pull complete 12:59:54 30dea6a524f1: Pull complete 12:59:54 a2aff8979fd8: Pull complete 12:59:56 6808be2612f2: Pull complete 12:59:57 f25807f1079a: Pull complete 12:59:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 12:59:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:59:57 ---> 3b553350e43f 12:59:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:00:02 Still waiting to schedule task 13:00:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:00:03 ---> Running in e078695d895d 13:00:03 Removing intermediate container e078695d895d 13:00:03 ---> 5442b9f7325d 13:00:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:00:03 ---> Running in ef1357345750 13:00:03 Removing intermediate container ef1357345750 13:00:03 ---> 5830e729b77d 13:00:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:00:03 ---> Running in 162c75070eb4 13:00:03 Removing intermediate container 162c75070eb4 13:00:03 ---> 8816d8384ce8 13:00:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:03 ---> Running in d9afb19d1373 13:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:03 OK: 265 MiB in 53 packages 13:00:03 Removing intermediate container d9afb19d1373 13:00:03 ---> f9e3cb956195 13:00:03 Step 7/12 : WORKDIR /app 13:00:03 ---> Running in fc8a1c2ab3b7 13:00:03 Removing intermediate container fc8a1c2ab3b7 13:00:03 ---> 31ee8b5c7f55 13:00:03 Step 8/12 : COPY go.mod vendor* ./ 13:00:04 ---> e5d0f5da7b74 13:00:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:04 ---> Running in 0f4348d04c86 13:00:42 Removing intermediate container 0f4348d04c86 13:00:42 ---> 7ec310e889ce 13:00:42 Step 10/12 : COPY . . 13:00:42 ---> 0fdd060a4eab 13:00:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:42 ---> Running in 799890e8dae6 13:00:42 Removing intermediate container 799890e8dae6 13:00:42 ---> 380c2744fa6c 13:00:42 Step 12/12 : RUN $MAKE 13:00:42 ---> Running in 28e3a8cf1b0a 13:00:42 noop 13:00:42 Removing intermediate container 28e3a8cf1b0a 13:00:42 ---> 6dce28bd7410 13:00:42 Successfully built 6dce28bd7410 13:00:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:43 + docker inspect -f . ci-base-image-x86_64 13:00:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:43 prd-ubuntu20.04-docker-8c-8g-6208 does not seem to be running inside a container 13:00:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-538 -v /w/workspace/_app-service-configurable_PR-538:/w/workspace/_app-service-configurable_PR-538:rw,z -v /w/workspace/_app-service-configurable_PR-538@tmp:/w/workspace/_app-service-configurable_PR-538@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 13:00:43 $ docker top 487004d0ca05b66c9bf1fd9915c87a82a4392cca55dff0346773a4901c85301c -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:44 + go version 13:00:44 go version go1.20.2 linux/amd64 [Pipeline] } 13:00:44 $ docker stop --time=1 487004d0ca05b66c9bf1fd9915c87a82a4392cca55dff0346773a4901c85301c 13:00:45 $ docker rm -f --volumes 487004d0ca05b66c9bf1fd9915c87a82a4392cca55dff0346773a4901c85301c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:46 + docker inspect -f . ci-base-image-x86_64 13:00:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:46 prd-ubuntu20.04-docker-8c-8g-6208 does not seem to be running inside a container 13:00:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-538 -v /w/workspace/_app-service-configurable_PR-538:/w/workspace/_app-service-configurable_PR-538:rw,z -v /w/workspace/_app-service-configurable_PR-538@tmp:/w/workspace/_app-service-configurable_PR-538@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 13:00:46 $ docker top ca5a970125d2a27ccc8eb2dc75367e94da44d17876d039524709d698ae945908 -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:47 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-538 [Pipeline] fileExists [Pipeline] sh 13:00:47 + make test 13:00:47 go test -race -coverprofile=coverage.out ./... 13:01:09 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:01:24 go vet ./... 13:01:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:01:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:01:27 ./bin/test-attribution-txt.sh 13:01:27 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:01:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:01:27 $ docker stop --time=1 ca5a970125d2a27ccc8eb2dc75367e94da44d17876d039524709d698ae945908 13:01:32 $ docker rm -f --volumes ca5a970125d2a27ccc8eb2dc75367e94da44d17876d039524709d698ae945908 [Pipeline] // withDockerContainer [Pipeline] sh 13:01:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:01:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:01:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:01:33 + ls -al . 13:01:33 total 176 13:01:33 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 13:00 . 13:01:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 12:59 .. 13:01:33 -rw-rw-r-- 1 jenkins jenkins 119 Mar 29 12:59 .dockerignore 13:01:33 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 12:59 .git 13:01:33 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 12:59 .github 13:01:33 -rw-rw-r-- 1 jenkins jenkins 171 Mar 29 12:59 .gitignore 13:01:33 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 12:59 .golangci.yml 13:01:33 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 12:59 .semver 13:01:33 -rw-rw-r-- 1 jenkins jenkins 9088 Mar 29 12:59 Attribution.txt 13:01:33 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 29 12:59 CHANGELOG.md 13:01:33 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 29 12:59 Dockerfile 13:01:33 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 12:59 GOVERNANCE.md 13:01:33 -rw-rw-r-- 1 jenkins jenkins 688 Mar 29 12:59 Jenkinsfile 13:01:33 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 29 12:59 LICENSE 13:01:33 -rw-rw-r-- 1 jenkins jenkins 618 Mar 29 12:59 OWNERS.md 13:01:33 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 29 12:59 README.md 13:01:33 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 12:59 VERSION 13:01:33 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 12:59 bin 13:01:33 -rw-r--r-- 1 jenkins jenkins 13 Mar 29 13:00 coverage.out 13:01:33 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 29 12:59 go.mod 13:01:33 -rw-rw-r-- 1 jenkins jenkins 31336 Mar 29 12:59 go.sum 13:01:33 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 29 12:59 main.go 13:01:33 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 29 12:59 makefile 13:01:33 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 12:59 res 13:01:33 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 12:59 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:34 + 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=2c1e4eb5127bc09add0656ce46d6b62069b72af9 --label arch=amd64 --label version=0.0.0 . 13:01:34 Sending build context to Docker daemon 3.255MB 13:01:34 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:01:34 Step 2/26 : FROM ${BASE} AS builder 13:01:34 ---> 6dce28bd7410 13:01:34 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:01:34 ---> Running in f06857ec71ef 13:01:34 Removing intermediate container f06857ec71ef 13:01:34 ---> d039641d28dd 13:01:34 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:01:34 ---> Running in b7885681121e 13:01:34 Removing intermediate container b7885681121e 13:01:34 ---> e2374a62de37 13:01:34 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:01:34 ---> Running in acc63ca2fc42 13:01:34 Removing intermediate container acc63ca2fc42 13:01:34 ---> 572e49097c11 13:01:34 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:34 ---> Running in 88ffbcead35b 13:01:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:01:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:01:35 OK: 265 MiB in 53 packages 13:01:35 Removing intermediate container 88ffbcead35b 13:01:35 ---> a0db281f3e61 13:01:35 Step 7/26 : WORKDIR /app 13:01:35 ---> Running in 12e4dfd739e3 13:01:35 Removing intermediate container 12e4dfd739e3 13:01:35 ---> 97097ca8047d 13:01:35 Step 8/26 : COPY go.mod vendor* ./ 13:01:35 ---> 9067858475ab 13:01:35 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:35 ---> Running in 02edb125fad7 13:01:36 Removing intermediate container 02edb125fad7 13:01:36 ---> 440d28922c89 13:01:36 Step 10/26 : COPY . . 13:01:36 ---> 0819eb5df17b 13:01:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:01:36 ---> Running in 5545389871e3 13:01:36 Removing intermediate container 5545389871e3 13:01:36 ---> e9ebea058dd3 13:01:36 Step 12/26 : RUN $MAKE 13:01:36 ---> Running in a7c1b48d4126 13:01:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:01:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6209 in /w/workspace/_app-service-configurable_PR-538 [Pipeline] { [Pipeline] ws 13:01:37 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:01:38 Selected Git installation does not exist. Using Default 13:01:38 The recommended git tool is: NONE 13:01:43 using credential edgex-jenkins-ssh 13:01:43 Cloning the remote Git repository 13:01:43 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:01:43 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:01:43 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:01:43 > git --version # timeout=10 13:01:43 > git --version # 'git version 2.25.1' 13:01:43 using GIT_SSH to set credentials SSH Credentials for GitHub 13:01:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:01:44 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:01:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:01:46 Merging remotes/origin/main commit 726c7bac779ae455276856dfdf2d144874947dc5 into PR head commit 2c1e4eb5127bc09add0656ce46d6b62069b72af9 13:01:46 Merge succeeded, producing 2c1e4eb5127bc09add0656ce46d6b62069b72af9 13:01:46 Checking out Revision 2c1e4eb5127bc09add0656ce46d6b62069b72af9 (PR-538) 13:01:45 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:01:45 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:01:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:01:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/538/head:refs/remotes/origin/PR-538 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:01:46 > git config core.sparsecheckout # timeout=10 13:01:46 > git checkout -f 2c1e4eb5127bc09add0656ce46d6b62069b72af9 # timeout=10 13:01:46 > git remote # timeout=10 13:01:46 > git config --get remote.origin.url # timeout=10 13:01:46 using GIT_SSH to set credentials SSH Credentials for GitHub 13:01:46 > git merge 726c7bac779ae455276856dfdf2d144874947dc5 # timeout=10 13:01:46 > git rev-parse HEAD^{commit} # timeout=10 13:01:46 > git config core.sparsecheckout # timeout=10 13:01:46 > git checkout -f 2c1e4eb5127bc09add0656ce46d6b62069b72af9 # timeout=10 13:01:47 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:01:47 > git --version # timeout=10 13:01:47 > git --version # 'git version 2.25.1' 13:01:47 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:01:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:01:48 % Total % Received % Xferd Average Speed Time Time Time Current 13:01:48 Dload Upload Total Spent Left Speed 13:01:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 13:01:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:01:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:01:49 + sudo tee /etc/docker/daemon.new 13:01:49 { 13:01:49 "registry-mirrors": [ 13:01:49 "https://nexus3.edgexfoundry.org:10001" 13:01:49 ], 13:01:49 "bip": "10.250.0.254/24", 13:01:49 "hosts": [ 13:01:49 "tcp://0.0.0.0:5555", 13:01:49 "unix:///var/run/docker.sock" 13:01:49 ], 13:01:49 "mtu": 1458, 13:01:49 "selinux-enabled": true, 13:01:49 "seccomp-profile": "/etc/docker/seccomp.json" 13:01:49 } [Pipeline] sh 13:01:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:01:50 + sudo service docker restart 13:01:55 Removing intermediate container a7c1b48d4126 13:01:55 ---> 4b7d543a67e6 13:01:55 Step 13/26 : FROM alpine:3.17 13:01:55 3.17: Pulling from library/alpine 13:01:55 63b65145d645: Already exists 13:01:55 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:01:55 Status: Downloaded newer image for alpine:3.17 13:01:55 ---> b2aa39c304c2 13:01:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:01:55 ---> Running in b620cc8f03dd 13:01:55 Removing intermediate container b620cc8f03dd 13:01:55 ---> 0555e5955731 13:01:55 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:01:55 ---> Running in 7dc2bd84cba4 13:01:55 Removing intermediate container 7dc2bd84cba4 13:01:55 ---> 5c7aedf42be7 13:01:55 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:01:55 ---> Running in 8691630333ae 13:01:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:01:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:01:56 (1/2) Installing ca-certificates (20220614-r4) 13:01:56 (2/2) Installing dumb-init (1.2.5-r2) 13:01:56 Executing busybox-1.35.0-r29.trigger 13:01:56 Executing ca-certificates-20220614-r4.trigger 13:01:56 OK: 8 MiB in 17 packages 13:01:56 Removing intermediate container 8691630333ae 13:01:56 ---> e047e7cf2803 13:01:56 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:01:56 ---> 994994d17cba 13:01:56 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:01:56 ---> 2e20867546c4 13:01:56 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:01:56 ---> fdde1ba687ed 13:01:56 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:01:57 ---> 872573b024fc 13:01:57 Step 21/26 : EXPOSE 48095 13:01:57 ---> Running in d43eba142945 13:01:57 Removing intermediate container d43eba142945 13:01:57 ---> c4a465596c8f 13:01:57 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:01:57 ---> Running in 147ae5b889c3 13:01:57 Removing intermediate container 147ae5b889c3 13:01:57 ---> 0ca3d90fbd08 13:01:57 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:01:57 ---> Running in 0f0b21e52085 13:01:57 Removing intermediate container 0f0b21e52085 13:01:57 ---> 0bbbba8f6dd4 13:01:57 Step 24/26 : LABEL arch=amd64 13:01:57 ---> Running in e6f9da620eb5 13:01:57 Removing intermediate container e6f9da620eb5 13:01:57 ---> 45c77d34edaa 13:01:57 Step 25/26 : LABEL git_sha=2c1e4eb5127bc09add0656ce46d6b62069b72af9 13:01:58 ---> Running in fefe8f9c7599 13:01:58 Removing intermediate container fefe8f9c7599 13:01:58 ---> ec65b8203f7b 13:01:58 Step 26/26 : LABEL version=0.0.0 13:01:58 ---> Running in 6daaa5cef78c 13:01:58 Removing intermediate container 6daaa5cef78c 13:01:58 ---> 7317c52b629f 13:01:58 [Warning] One or more build-args [ARCH] were not consumed 13:01:58 Successfully built 7317c52b629f 13:01:58 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:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:58 13:01:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:59 latest: Pulling from edgex-lftools-log-publisher 13:01:59 5eb5b503b376: Pulling fs layer 13:01:59 5c69ac0246d0: Pulling fs layer 13:01:59 ec43610c2a17: Pulling fs layer 13:01:59 3a2ae6a8a46f: Pulling fs layer 13:01:59 33b1e0a273af: Pulling fs layer 13:01:59 5d3b04190fa2: Pulling fs layer 13:01:59 2f39f015ded8: Pulling fs layer 13:01:59 33b1e0a273af: Waiting 13:01:59 5d3b04190fa2: Waiting 13:01:59 2f39f015ded8: Waiting 13:01:59 3a2ae6a8a46f: Waiting 13:01:59 5c69ac0246d0: Download complete 13:01:59 3a2ae6a8a46f: Verifying Checksum 13:01:59 3a2ae6a8a46f: Download complete 13:01:59 33b1e0a273af: Verifying Checksum 13:01:59 33b1e0a273af: Download complete 13:01:59 ec43610c2a17: Verifying Checksum 13:01:59 ec43610c2a17: Download complete 13:01:59 5d3b04190fa2: Verifying Checksum 13:01:59 5eb5b503b376: Verifying Checksum 13:01:59 5eb5b503b376: Download complete 13:02:00 2f39f015ded8: Verifying Checksum 13:02:00 2f39f015ded8: Download complete 13:02:00 5eb5b503b376: Pull complete 13:02:00 5c69ac0246d0: Pull complete 13:02:01 ec43610c2a17: Pull complete 13:02:01 3a2ae6a8a46f: Pull complete 13:02:01 33b1e0a273af: Pull complete 13:02:01 5d3b04190fa2: Pull complete 13:02:05 2f39f015ded8: Pull complete 13:02:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:05 prd-ubuntu20.04-docker-8c-8g-6208 does not seem to be running inside a container 13:02:05 $ 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-538 -v /w/workspace/_app-service-configurable_PR-538:/w/workspace/_app-service-configurable_PR-538:rw,z -v /w/workspace/_app-service-configurable_PR-538@tmp:/w/workspace/_app-service-configurable_PR-538@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:02:10 $ docker top e4d1fbd33b0b8ac2186e2ead5ffa2730d29566d0e4edeb1b55857c33db72ce97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 13:02:10 provisioning config files... 13:02:10 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3286640414431803364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:02:10 ---> job-cost.sh 13:02:10 lf-activate-venv: SKIPPING 13:02:10 INFO: No Stack... 13:02:10 ---> docker-login.sh 13:02:10 nexus3.edgexfoundry.org:10001 13:02:10 INFO: Retrieving Pricing Info for: v3-standard-8 13:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:11 Configure a credential helper to remove this warning. See 13:02:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:11 13:02:11 Login Succeeded 13:02:11 nexus3.edgexfoundry.org:10002 13:02:11 INFO: Archiving Costs [Pipeline] sh 13:02:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:11 + cat /w/workspace/_app-service-configurable_PR-538/archives/cost.csv 13:02:11 + cut -d, -f6 [Pipeline] lock 13:02:11 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-538-1-stack-cost] 13:02:11 Resource [jenkins-edgexfoundry-app-service-configurable-PR-538-1-stack-cost] did not exist. Created. 13:02:11 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-538-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:12 Configure a credential helper to remove this warning. See 13:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:12 13:02:12 Login Succeeded 13:02:12 nexus3.edgexfoundry.org:10003 13:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:12 Configure a credential helper to remove this warning. See 13:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:12 13:02:12 Login Succeeded 13:02:12 nexus3.edgexfoundry.org:10004 13:02:12 + echo total: 0.2199999988079071 [Pipeline] stash 13:02:12 Stashed 1 file(s) [Pipeline] } 13:02:12 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-538-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:02:12 $ docker stop --time=1 e4d1fbd33b0b8ac2186e2ead5ffa2730d29566d0e4edeb1b55857c33db72ce97 13:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:12 Configure a credential helper to remove this warning. See 13:02:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:12 13:02:12 Login Succeeded 13:02:12 docker.io 13:02:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:02:13 Configure a credential helper to remove this warning. See 13:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:02:13 13:02:13 Login Succeeded 13:02:13 ---> docker-login.sh ends 13:02:13 $ docker rm -f --volumes e4d1fbd33b0b8ac2186e2ead5ffa2730d29566d0e4edeb1b55857c33db72ce97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 13:02:13 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 13:02:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:02:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:02:14 ========================================================= 13:02:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:02:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:02:14 Sending build context to Docker daemon 169kB 13:02:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:02:15 Step 2/12 : FROM ${BASE} AS builder 13:02:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:02:15 af6eaf76a39c: Pulling fs layer 13:02:15 55522c791124: Pulling fs layer 13:02:15 ce5c4a1c91eb: Pulling fs layer 13:02:15 169dfbe0d373: Pulling fs layer 13:02:15 e1ff8fa3b103: Pulling fs layer 13:02:15 52ebb69f0ebf: Pulling fs layer 13:02:15 5abe8eddf0d5: Pulling fs layer 13:02:15 169dfbe0d373: Waiting 13:02:15 e1ff8fa3b103: Waiting 13:02:15 52ebb69f0ebf: Waiting 13:02:15 5abe8eddf0d5: Waiting 13:02:15 55522c791124: Download complete 13:02:15 169dfbe0d373: Verifying Checksum 13:02:15 169dfbe0d373: Download complete 13:02:15 e1ff8fa3b103: Verifying Checksum 13:02:15 e1ff8fa3b103: Download complete 13:02:15 af6eaf76a39c: Verifying Checksum 13:02:15 af6eaf76a39c: Download complete 13:02:16 5abe8eddf0d5: Verifying Checksum 13:02:16 5abe8eddf0d5: Download complete 13:02:16 af6eaf76a39c: Pull complete 13:02:16 55522c791124: Pull complete 13:02:17 ce5c4a1c91eb: Verifying Checksum 13:02:17 ce5c4a1c91eb: Download complete 13:02:17 52ebb69f0ebf: Download complete 13:02:30 ce5c4a1c91eb: Pull complete 13:02:30 169dfbe0d373: Pull complete 13:02:30 e1ff8fa3b103: Pull complete 13:02:37 52ebb69f0ebf: Pull complete 13:02:37 5abe8eddf0d5: Pull complete 13:02:37 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:02:37 ---> 6cb57ee374ae 13:02:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:02:39 ---> Running in 8bcdfb896f12 13:02:40 Removing intermediate container 8bcdfb896f12 13:02:40 ---> c093c011ef46 13:02:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:02:40 ---> Running in 449956b9a3ca 13:02:40 Removing intermediate container 449956b9a3ca 13:02:40 ---> 72cf7b2419ba 13:02:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:02:40 ---> Running in d10905c09a3f 13:02:40 Removing intermediate container d10905c09a3f 13:02:40 ---> 52a6daaf1d11 13:02:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:02:41 ---> Running in 42cdddc57730 13:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:02:43 OK: 263 MiB in 53 packages 13:02:44 Removing intermediate container 42cdddc57730 13:02:44 ---> 43d9addd9d41 13:02:44 Step 7/12 : WORKDIR /app 13:02:44 ---> Running in 2baee4809075 13:02:44 Removing intermediate container 2baee4809075 13:02:44 ---> 4f7ab5629cbd 13:02:44 Step 8/12 : COPY go.mod vendor* ./ 13:02:45 ---> 56e28fa5bf7a 13:02:45 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:02:45 ---> Running in cb581695f7df 13:03:53 Removing intermediate container cb581695f7df 13:03:53 ---> 0cdcea1c1a5e 13:03:53 Step 10/12 : COPY . . 13:03:53 ---> afc755dc5291 13:03:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:53 ---> Running in 1a3883f4e74a 13:03:53 Removing intermediate container 1a3883f4e74a 13:03:53 ---> 34affbc4996f 13:03:53 Step 12/12 : RUN $MAKE 13:03:53 ---> Running in af9a859cbbf6 13:03:53 noop 13:03:53 Removing intermediate container af9a859cbbf6 13:03:53 ---> fb992a95b763 13:03:53 Successfully built fb992a95b763 13:03:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:53 + docker inspect -f . ci-base-image-arm64 13:03:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:54 prd-ubuntu20.04-docker-arm64-4c-16g-6209 does not seem to be running inside a container 13:03:54 $ 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:03:55 $ docker top f480c103d53dfb4fcbbcba68e565b099c04f3549148957da7a0c9562b5442005 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:56 + go version 13:03:56 go version go1.20.2 linux/arm64 [Pipeline] } 13:03:56 $ docker stop --time=1 f480c103d53dfb4fcbbcba68e565b099c04f3549148957da7a0c9562b5442005 13:03:58 $ docker rm -f --volumes f480c103d53dfb4fcbbcba68e565b099c04f3549148957da7a0c9562b5442005 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:59 + docker inspect -f . ci-base-image-arm64 13:03:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:59 prd-ubuntu20.04-docker-arm64-4c-16g-6209 does not seem to be running inside a container 13:03:59 $ 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:04:00 $ docker top 6925a1fbd54c45a56d905ecfe957f2c25082140534d2d5aedf4f04e2284c32a7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:01 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:04:01 + make test 13:04:01 go test -race -coverprofile=coverage.out ./... 13:06:38 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:06:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:06:38 go vet ./... 13:08:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:08:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:08:44 ./bin/test-attribution-txt.sh 13:08:44 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:08:45 $ docker stop --time=1 6925a1fbd54c45a56d905ecfe957f2c25082140534d2d5aedf4f04e2284c32a7 13:08:47 $ docker rm -f --volumes 6925a1fbd54c45a56d905ecfe957f2c25082140534d2d5aedf4f04e2284c32a7 [Pipeline] // withDockerContainer [Pipeline] sh 13:08:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:49 Warning: overwriting stash ‘coverage-report’ 13:08:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:08:50 + ls -al . 13:08:50 total 172 13:08:50 drwxrwxr-x 7 jenkins jenkins 4096 Mar 29 13:04 . 13:08:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 13:01 .. 13:08:50 -rw-rw-r-- 1 jenkins jenkins 119 Mar 29 13:01 .dockerignore 13:08:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 13:01 .git 13:08:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 13:01 .github 13:08:50 -rw-rw-r-- 1 jenkins jenkins 171 Mar 29 13:01 .gitignore 13:08:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 13:01 .golangci.yml 13:08:50 -rw-rw-r-- 1 jenkins jenkins 9088 Mar 29 13:01 Attribution.txt 13:08:50 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 29 13:01 CHANGELOG.md 13:08:50 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 29 13:01 Dockerfile 13:08:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 13:01 GOVERNANCE.md 13:08:50 -rw-rw-r-- 1 jenkins jenkins 688 Mar 29 13:01 Jenkinsfile 13:08:50 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 29 13:01 LICENSE 13:08:50 -rw-rw-r-- 1 jenkins jenkins 618 Mar 29 13:01 OWNERS.md 13:08:50 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 29 13:01 README.md 13:08:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 12:59 VERSION 13:08:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 13:01 bin 13:08:50 -rw-r--r-- 1 jenkins jenkins 13 Mar 29 13:04 coverage.out 13:08:50 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 29 13:01 go.mod 13:08:50 -rw-rw-r-- 1 jenkins jenkins 31336 Mar 29 13:01 go.sum 13:08:50 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 29 13:01 main.go 13:08:50 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 29 13:01 makefile 13:08:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 13:01 res 13:08:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 13:01 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:51 + 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=2c1e4eb5127bc09add0656ce46d6b62069b72af9 --label arch=arm64 --label version=0.0.0 . 13:08:51 Sending build context to Docker daemon 170kB 13:08:51 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:08:51 Step 2/26 : FROM ${BASE} AS builder 13:08:51 ---> fb992a95b763 13:08:51 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:08:51 ---> Running in 2290803952d5 13:08:51 Removing intermediate container 2290803952d5 13:08:51 ---> 16586add1cd3 13:08:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:08:51 ---> Running in 2f2b902d370c 13:08:52 Removing intermediate container 2f2b902d370c 13:08:52 ---> 876a84214980 13:08:52 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:08:52 ---> Running in 4aa0b5d1d80f 13:08:52 Removing intermediate container 4aa0b5d1d80f 13:08:52 ---> 5c8b7bb07fa1 13:08:52 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:52 ---> Running in b81fb43e0fdc 13:08:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:08:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:08:54 OK: 263 MiB in 53 packages 13:08:55 Removing intermediate container b81fb43e0fdc 13:08:55 ---> 22e0b2a0f734 13:08:55 Step 7/26 : WORKDIR /app 13:08:55 ---> Running in 1c50149825e8 13:08:56 Removing intermediate container 1c50149825e8 13:08:56 ---> b78551f01877 13:08:56 Step 8/26 : COPY go.mod vendor* ./ 13:08:56 ---> d0ae8c19abc2 13:08:56 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:56 ---> Running in 53ffadd97303 13:08:59 Removing intermediate container 53ffadd97303 13:08:59 ---> f987b3b35e32 13:08:59 Step 10/26 : COPY . . 13:08:59 ---> c4b8defc769a 13:08:59 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:09:01 ---> Running in e94da7a0185f 13:09:01 Removing intermediate container e94da7a0185f 13:09:01 ---> b0a9f16eac5a 13:09:01 Step 12/26 : RUN $MAKE 13:09:01 ---> Running in 221c2810f6a3 13:09:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:11:09 Removing intermediate container 221c2810f6a3 13:11:09 ---> 9a75b8c2fadd 13:11:09 Step 13/26 : FROM alpine:3.17 13:11:09 3.17: Pulling from library/alpine 13:11:09 af6eaf76a39c: Already exists 13:11:09 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:11:09 Status: Downloaded newer image for alpine:3.17 13:11:09 ---> d74e625d9115 13:11:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:11:09 ---> Running in 2d255750c937 13:11:09 Removing intermediate container 2d255750c937 13:11:09 ---> c4a2e86ec42c 13:11:09 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:11:09 ---> Running in a4f9919e85f6 13:11:09 Removing intermediate container a4f9919e85f6 13:11:09 ---> 7ee83ecfff3b 13:11:09 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:11:09 ---> Running in ba3d16efe9a8 13:11:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:11:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:11:09 (1/2) Installing ca-certificates (20220614-r4) 13:11:09 (2/2) Installing dumb-init (1.2.5-r2) 13:11:09 Executing busybox-1.35.0-r29.trigger 13:11:09 Executing ca-certificates-20220614-r4.trigger 13:11:09 OK: 8 MiB in 17 packages 13:11:11 Removing intermediate container ba3d16efe9a8 13:11:11 ---> bf96f25c2249 13:11:11 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:11:11 ---> 79fe9240f6a4 13:11:11 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:11:12 ---> c79d5c4fc75d 13:11:12 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:11:12 ---> 1d7ab64a5b40 13:11:12 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:11:13 ---> 08a596363727 13:11:13 Step 21/26 : EXPOSE 48095 13:11:13 ---> Running in 47023379858b 13:11:14 Removing intermediate container 47023379858b 13:11:14 ---> a04465da229a 13:11:14 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:11:14 ---> Running in b88eee7042dd 13:11:14 Removing intermediate container b88eee7042dd 13:11:14 ---> 899765d944ec 13:11:14 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:11:14 ---> Running in 612f26b9d8ce 13:11:14 Removing intermediate container 612f26b9d8ce 13:11:14 ---> 067866aa928f 13:11:14 Step 24/26 : LABEL arch=arm64 13:11:14 ---> Running in 54ee6f8eb4af 13:11:14 Removing intermediate container 54ee6f8eb4af 13:11:14 ---> eb16b7206433 13:11:14 Step 25/26 : LABEL git_sha=2c1e4eb5127bc09add0656ce46d6b62069b72af9 13:11:15 ---> Running in a5f95b63e3e3 13:11:15 Removing intermediate container a5f95b63e3e3 13:11:15 ---> 6543de07f24c 13:11:15 Step 26/26 : LABEL version=0.0.0 13:11:15 ---> Running in 8bc69c319552 13:11:15 Removing intermediate container 8bc69c319552 13:11:15 ---> a3dca74b510c 13:11:15 [Warning] One or more build-args [ARCH] were not consumed 13:11:15 Successfully built a3dca74b510c 13:11:15 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:11:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:16 13:11:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:16 arm64: Pulling from edgex-lftools-log-publisher 13:11:16 8998bd30e6a1: Pulling fs layer 13:11:16 04944245beec: Pulling fs layer 13:11:16 699f458cf7ca: Pulling fs layer 13:11:16 765212b225bb: Pulling fs layer 13:11:16 f23df028b6ca: Pulling fs layer 13:11:16 d65c8cfc05b1: Pulling fs layer 13:11:16 2437ff75d9bd: Pulling fs layer 13:11:16 f23df028b6ca: Waiting 13:11:16 765212b225bb: Waiting 13:11:16 d65c8cfc05b1: Waiting 13:11:16 2437ff75d9bd: Waiting 13:11:17 04944245beec: Verifying Checksum 13:11:17 04944245beec: Download complete 13:11:17 765212b225bb: Verifying Checksum 13:11:17 765212b225bb: Download complete 13:11:17 f23df028b6ca: Download complete 13:11:17 d65c8cfc05b1: Verifying Checksum 13:11:17 d65c8cfc05b1: Download complete 13:11:17 699f458cf7ca: Verifying Checksum 13:11:17 699f458cf7ca: Download complete 13:11:17 8998bd30e6a1: Verifying Checksum 13:11:17 8998bd30e6a1: Download complete 13:11:19 2437ff75d9bd: Verifying Checksum 13:11:19 2437ff75d9bd: Download complete 13:11:21 8998bd30e6a1: Pull complete 13:11:21 04944245beec: Pull complete 13:11:23 699f458cf7ca: Pull complete 13:11:23 765212b225bb: Pull complete 13:11:24 f23df028b6ca: Pull complete 13:11:24 d65c8cfc05b1: Pull complete 13:11:36 2437ff75d9bd: Pull complete 13:11:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:37 prd-ubuntu20.04-docker-arm64-4c-16g-6209 does not seem to be running inside a container 13:11:37 $ 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:11:39 $ docker top 31a1495af2cf20c7e5394b72f4b21dbf000104b3f70b8966451485e3887cee3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:40 ---> job-cost.sh 13:11:40 lf-activate-venv: SKIPPING 13:11:40 INFO: No Stack... 13:11:40 INFO: Retrieving Pricing Info for: v3-standard-4 13:11:41 INFO: Archiving Costs [Pipeline] sh 13:11:42 + cut -d,+ -f6 13:11:42 cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 13:11:42 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-538-1-stack-cost] 13:11:42 Resource [jenkins-edgexfoundry-app-service-configurable-PR-538-1-stack-cost] did not exist. Created. 13:11:42 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-538-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:42 /w/workspace/app-service-configurable/1@tmp/durable-c9da1bb9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:11:43 + echo total: 0.10999999940395355 [Pipeline] stash 13:11:43 Warning: overwriting stash ‘stack-cost’ 13:11:43 Stashed 1 file(s) [Pipeline] } 13:11:43 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-538-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:43 $ docker stop --time=1 31a1495af2cf20c7e5394b72f4b21dbf000104b3f70b8966451485e3887cee3b 13:11:44 $ docker rm -f --volumes 31a1495af2cf20c7e5394b72f4b21dbf000104b3f70b8966451485e3887cee3b [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:11:45 provisioning config files... 13:11:45 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-538@tmp/config5002699791817752398tmp [Pipeline] { [Pipeline] sh 13:11:46 + set +x 13:11:46 + curl -s https://codecov.io/bash 13:11:46 + bash -s -- 13:11:46 13:11:46 _____ _ 13:11:46 / ____| | | 13:11:46 | | ___ __| | ___ ___ _____ __ 13:11:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:11:46 | |___| (_) | (_| | __/ (_| (_) \ V / 13:11:46 \_____\___/ \__,_|\___|\___\___/ \_/ 13:11:46 Bash-1.0.6 13:11:46 13:11:46 13:11:46 ==> git version 2.25.1 found 13:11:46 ==> 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:11:46 Release-Date: 2020-01-08 13:11:46 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:11:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:11:46 ==> Jenkins CI detected. 13:11:46 current dir:  /w/workspace/_app-service-configurable_PR-538 13:11:46 project root: . 13:11:46 --> token set from env 13:11:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:11:46 ==> Running gcov in . (disable via -X gcov) 13:11:46 ==> Python coveragepy not found 13:11:46 ==> Searching for coverage reports in: 13:11:46 + . 13:11:46 -> Found 1 reports 13:11:46 ==> Detecting git/mercurial file structure 13:11:46 ==> Reading reports 13:11:46 + ./coverage.out bytes=13 13:11:46 ==> Appending adjustments 13:11:46 https://docs.codecov.io/docs/fixing-reports 13:11:46 + Found adjustments 13:11:46 ==> Gzipping contents 13:11:46 4.0K /tmp/codecov.EnbZZk.gz 13:11:46 ==> Uploading reports 13:11:46 url: https://codecov.io 13:11:46 query: branch=PR-538&commit=2c1e4eb5127bc09add0656ce46d6b62069b72af9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=538&job=&cmd_args= 13:11:46 -> Pinging Codecov 13:11:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-538&commit=2c1e4eb5127bc09add0656ce46d6b62069b72af9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=538&job=&cmd_args= 13:11:46 -> Uploading to 13:11:46 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/A97CA9966030D2A3747ED39772930CCE/2c1e4eb5127bc09add0656ce46d6b62069b72af9/8104b381-4b33-45c1-a98d-e56053c6da00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T131146Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1217ab476ba49102bc1c7e97774c2dea3ae84a73f3050cced206dc1bec0102d 13:11:46 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:46 Dload Upload Total Spent Left Speed 13:11:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1577 --:--:-- --:--:-- --:--:-- 1577 13:11:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/2c1e4eb5127bc09add0656ce46d6b62069b72af9 [Pipeline] } 13:11:47 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:11:48 + [ -d /w/workspace/_app-service-configurable_PR-538/archives ] 13:11:48 + ls -al /w/workspace/_app-service-configurable_PR-538/archives 13:11:48 total 16 13:11:48 drwxr-xr-x 3 root root 4096 Mar 29 13:02 . 13:11:48 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 13:02 .. 13:11:48 drwxr-xr-x 2 root root 4096 Mar 29 13:02 cost 13:11:48 -rw-r--r-- 1 root root 96 Mar 29 13:02 cost.csv 13:11:48 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-538/archives 13:11:48 + ls -al /w/workspace/_app-service-configurable_PR-538/archives 13:11:48 total 16 13:11:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 13:02 . 13:11:48 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 13:02 .. 13:11:48 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 13:02 cost 13:11:48 -rw-r--r-- 1 jenkins jenkins 96 Mar 29 13:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:11:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:11:50 ---> package-listing.sh 13:11:50 ++ facter osfamily 13:11:50 ++ tr '[:upper:]' '[:lower:]' 13:11:50 + OS_FAMILY=debian 13:11:50 + workspace=/w/workspace/_app-service-configurable_PR-538 13:11:50 + START_PACKAGES=/tmp/packages_start.txt 13:11:50 + END_PACKAGES=/tmp/packages_end.txt 13:11:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:11:50 + PACKAGES=/tmp/packages_start.txt 13:11:50 + '[' /w/workspace/_app-service-configurable_PR-538 ']' 13:11:50 + PACKAGES=/tmp/packages_end.txt 13:11:50 + case "${OS_FAMILY}" in 13:11:50 + dpkg -l 13:11:50 + grep '^ii' 13:11:50 + '[' -f /tmp/packages_start.txt ']' 13:11:50 + '[' -f /tmp/packages_end.txt ']' 13:11:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:11:50 + '[' /w/workspace/_app-service-configurable_PR-538 ']' 13:11:50 + mkdir -p /w/workspace/_app-service-configurable_PR-538/archives/ 13:11:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-538/archives/ [Pipeline] echo 13:11:50 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-538/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:11:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:51 prd-ubuntu20.04-docker-8c-8g-6208 does not seem to be running inside a container 13:11:51 $ 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-538/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-538 -v /w/workspace/_app-service-configurable_PR-538:/w/workspace/_app-service-configurable_PR-538:rw,z -v /w/workspace/_app-service-configurable_PR-538@tmp:/w/workspace/_app-service-configurable_PR-538@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:11:51 $ docker top f80935857daf85cd611c0f6e90ea01a9a553d552ec0a4c4a1d959494a9b5a612 -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:52 + touch /tmp/pre-build-complete [Pipeline] sh 13:11:52 + mkdir -p /var/log/sysstat [Pipeline] sh 13:11:52 + ls /var/log/sa-host 13:11:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:52 provisioning config files... 13:11:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-538@tmp/config3232000427989465955tmp [Pipeline] { [Pipeline] echo 13:11:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:11:53 ---> create-netrc.sh [Pipeline] } 13:11:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:11:53 ---> python-tools-install.sh [Pipeline] echo 13:11:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:11:54 ---> sudo-logs.sh 13:11:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:11:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:11:54 ---> job-cost.sh 13:11:54 lf-activate-venv: SKIPPING 13:11:54 DEBUG: total: 0.2199999988079071 13:11:54 INFO: Retrieving Stack Cost... 13:11:54 INFO: Retrieving Pricing Info for: v3-standard-8 13:11:55 INFO: Archiving Costs [Pipeline] echo 13:11:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:11:55 ---> logs-deploy.sh 13:11:55 lf-activate-venv: SKIPPING 13:11:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-538/1 13:11:55 INFO: archiving workspace using pattern(s): 13:11:56 Archives upload complete. 13:11:56 INFO: archiving logs to Nexus