Pull request #558 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 3093f84fed2532095227e8d5f51e512451fc7076+694e3ae60c9df22c057b1690b970d5b19176c4d2 (4e45d14fb04bcb5a85afdcb5d703df3ad7a42482) 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-ssh5656879200106864184.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh15719727114078170826.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-558/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-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12953500159802916767.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-558/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13681143742725169743.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh9882838353466817894.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-558/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-558/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17549630044757933616.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14557’ Running on prd-ubuntu20.04-docker-8c-8g-14559 in /w/workspace/_app-service-configurable_PR-558 [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-558 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/558/head:refs/remotes/origin/PR-558 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 694e3ae60c9df22c057b1690b970d5b19176c4d2 into PR head commit 3093f84fed2532095227e8d5f51e512451fc7076 Merge succeeded, producing 3093f84fed2532095227e8d5f51e512451fc7076 Checking out Revision 3093f84fed2532095227e8d5f51e512451fc7076 (PR-558) > git config core.sparsecheckout # timeout=10 > git checkout -f 3093f84fed2532095227e8d5f51e512451fc7076 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 694e3ae60c9df22c057b1690b970d5b19176c4d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3093f84fed2532095227e8d5f51e512451fc7076 # timeout=10 Commit message: "refactor: Consume MakeItRun rename to Run" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:01:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:01:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:01:39 ========================================================= 22:01:39 EdgeX Global Pipelines Version Info 22:01:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:01:40 ------------------- 22:01:40 stable info: 22:01:40 ------------------- 22:01:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:01:40 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:01:40 Message: update stable to v1.0.249 22:01:41 ------------------- 22:01:41 experimental info: 22:01:41 ------------------- 22:01:41 Commited By: **** collab-it+edgex@linuxfoundation.org 22:01:41 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:01:41 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:01:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-558 [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-558 [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-558 [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3093f84fed2532095227e8d5f51e512451fc7076 [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3093f84 [Pipeline] echo 22:01:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:42 provisioning config files... 22:01:42 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-558@tmp/config8662808252618891949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:43 ---> docker-login.sh 22:01:43 nexus3.edgexfoundry.org:10001 22:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:43 Configure a credential helper to remove this warning. See 22:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:43 22:01:43 Login Succeeded 22:01:43 nexus3.edgexfoundry.org:10002 22:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:43 Configure a credential helper to remove this warning. See 22:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:43 22:01:43 Login Succeeded 22:01:43 nexus3.edgexfoundry.org:10003 22:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:43 Configure a credential helper to remove this warning. See 22:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:43 22:01:43 Login Succeeded 22:01:43 nexus3.edgexfoundry.org:10004 22:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:44 Configure a credential helper to remove this warning. See 22:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:44 22:01:44 Login Succeeded 22:01:44 docker.io 22:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:44 Configure a credential helper to remove this warning. See 22:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:44 22:01:44 Login Succeeded 22:01:44 ---> docker-login.sh ends [Pipeline] } 22:01:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:01:45 + git rev-list -1 --merges 3093f84fed2532095227e8d5f51e512451fc7076~1..3093f84fed2532095227e8d5f51e512451fc7076 [Pipeline] echo 22:01:45 -----------> git rev-list -1 --merges 3093f84fed2532095227e8d5f51e512451fc7076~1..3093f84fed2532095227e8d5f51e512451fc7076 3093f84fed2532095227e8d5f51e512451fc7076 [false] [Pipeline] sh 22:01:45 + git log --format=format:%s -1 3093f84fed2532095227e8d5f51e512451fc7076 [Pipeline] echo 22:01:45 ========================================================= 22:01:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:01:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:45 + git log --format=format:%s -1 3093f84fed2532095227e8d5f51e512451fc7076 [Pipeline] echo 22:01:45 [semverPrep] GIT_COMMIT: 3093f84fed2532095227e8d5f51e512451fc7076, Commit Message: refactor: Consume MakeItRun rename to Run [Pipeline] echo 22:01:45 [semverPrep] This is not a build commit. [Pipeline] sh 22:01:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:46 + grep -v github /etc/ssh/ssh_known_hosts 22:01:46 + [ -e /tmp/ssh_known_hosts ] 22:01:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:01:46 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:01:46 sudo tee -a /etc/ssh/ssh_known_hosts 22:01:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:46 22:01:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:47 0.1.4: Pulling from edgex-devops/py-git-semver 22:01:47 b85a868b505f: Pulling fs layer 22:01:47 e2be974225ed: Pulling fs layer 22:01:47 339a4e72a1f5: Pulling fs layer 22:01:47 988bab9f4d93: Pulling fs layer 22:01:47 1469e6f7b9e6: Pulling fs layer 22:01:47 eaf3925da568: Pulling fs layer 22:01:47 bab4dde63d76: Pulling fs layer 22:01:47 bde34c3a00c8: Pulling fs layer 22:01:47 b352a97aabf1: Pulling fs layer 22:01:47 4872d77fe225: Pulling fs layer 22:01:47 5851b861e8e6: Pulling fs layer 22:01:47 eaf3925da568: Waiting 22:01:47 b352a97aabf1: Waiting 22:01:47 4872d77fe225: Waiting 22:01:47 5851b861e8e6: Waiting 22:01:47 1469e6f7b9e6: Waiting 22:01:47 bab4dde63d76: Waiting 22:01:47 988bab9f4d93: Waiting 22:01:47 bde34c3a00c8: Waiting 22:01:47 e2be974225ed: Verifying Checksum 22:01:47 e2be974225ed: Download complete 22:01:47 988bab9f4d93: Download complete 22:01:47 1469e6f7b9e6: Verifying Checksum 22:01:47 1469e6f7b9e6: Download complete 22:01:47 eaf3925da568: Verifying Checksum 22:01:47 eaf3925da568: Download complete 22:01:47 339a4e72a1f5: Verifying Checksum 22:01:47 339a4e72a1f5: Download complete 22:01:47 bde34c3a00c8: Verifying Checksum 22:01:47 bde34c3a00c8: Download complete 22:01:47 b352a97aabf1: Verifying Checksum 22:01:47 b352a97aabf1: Download complete 22:01:47 4872d77fe225: Verifying Checksum 22:01:47 4872d77fe225: Download complete 22:01:47 5851b861e8e6: Verifying Checksum 22:01:47 5851b861e8e6: Download complete 22:01:47 b85a868b505f: Verifying Checksum 22:01:47 b85a868b505f: Download complete 22:01:47 bab4dde63d76: Verifying Checksum 22:01:47 bab4dde63d76: Download complete 22:01:48 b85a868b505f: Pull complete 22:01:48 e2be974225ed: Pull complete 22:01:49 339a4e72a1f5: Pull complete 22:01:49 988bab9f4d93: Pull complete 22:01:49 1469e6f7b9e6: Pull complete 22:01:49 eaf3925da568: Pull complete 22:01:51 bab4dde63d76: Pull complete 22:01:51 bde34c3a00c8: Pull complete 22:01:51 b352a97aabf1: Pull complete 22:01:51 4872d77fe225: Pull complete 22:01:51 5851b861e8e6: Pull complete 22:01:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:01:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:51 prd-ubuntu20.04-docker-8c-8g-14559 does not seem to be running inside a container 22:01:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-558 -v /w/workspace/_app-service-configurable_PR-558:/w/workspace/_app-service-configurable_PR-558:rw,z -v /w/workspace/_app-service-configurable_PR-558@tmp:/w/workspace/_app-service-configurable_PR-558@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-devops/py-git-semver:0.1.4 cat 22:01:53 $ docker top 5599e57c4de8f25b537e01820c3a7f8362b236ae73c2d5dddde765f0bff68500 -eo pid,comm 22:01:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:01:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:01:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:53 [ssh-agent] Looking for ssh-agent implementation... 22:01:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:53 $ docker exec 5599e57c4de8f25b537e01820c3a7f8362b236ae73c2d5dddde765f0bff68500 ssh-agent 22:01:53 SSH_AUTH_SOCK=/tmp/ssh-0eR66VcDPCPF/agent.32 22:01:53 SSH_AGENT_PID=38 22:01:53 Running ssh-add (command line suppressed) 22:01:53 Identity added: /w/workspace/_app-service-configurable_PR-558@tmp/private_key_11230826878093314395.key (/w/workspace/_app-service-configurable_PR-558@tmp/private_key_11230826878093314395.key) 22:01:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:53 + git tag --points-at HEAD [Pipeline] } 22:01:53 $ docker exec --env ******** --env ******** 5599e57c4de8f25b537e01820c3a7f8362b236ae73c2d5dddde765f0bff68500 ssh-agent -k 22:01:54 unset SSH_AUTH_SOCK; 22:01:54 unset SSH_AGENT_PID; 22:01:54 echo Agent pid 38 killed; 22:01:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:01:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:01:54 [ssh-agent] Looking for ssh-agent implementation... 22:01:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:01:54 $ docker exec 5599e57c4de8f25b537e01820c3a7f8362b236ae73c2d5dddde765f0bff68500 ssh-agent 22:01:54 SSH_AUTH_SOCK=/tmp/ssh-xngkJu52DEU9/agent.70 22:01:54 SSH_AGENT_PID=76 22:01:54 Running ssh-add (command line suppressed) 22:01:54 Identity added: /w/workspace/_app-service-configurable_PR-558@tmp/private_key_7494126975152368853.key (/w/workspace/_app-service-configurable_PR-558@tmp/private_key_7494126975152368853.key) 22:01:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:01:54 + git semver init 22:01:55 2023-05-08 22:01:54,996 [run_init] DEBUG init version:0.0.0 force:False 22:01:55 2023-05-08 22:01:54,997 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-558/.semver 22:01:55 2023-05-08 22:01:54,998 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-558/.semver 22:01:55 2023-05-08 22:01:54,998 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-558/.semver'], cwd=/w/workspace/_app-service-configurable_PR-558, universal_newlines=False, shell=None, istream=None) 22:01:56 2023-05-08 22:01:55,861 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-558/.git/info/exclude 22:01:56 2023-05-08 22:01:55,861 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-558/.semver/PR-558 with force:False 22:01:56 2023-05-08 22:01:55,861 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-558/.semver/PR-558 22:01:56 2023-05-08 22:01:55,865 [execute] INFO git cat-file --batch-check 22:01:56 2023-05-08 22:01:55,866 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-558/.semver, universal_newlines=False, shell=None, istream=) 22:01:56 2023-05-08 22:01:55,871 [execute] INFO git cat-file --batch 22:01:56 2023-05-08 22:01:55,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-558/.semver, universal_newlines=False, shell=None, istream=) 22:01:56 2023-05-08 22:01:55,876 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-558/.semver/PR-558 22:01:56 0.0.0 [Pipeline] } 22:01:56 $ docker exec --env ******** --env ******** 5599e57c4de8f25b537e01820c3a7f8362b236ae73c2d5dddde765f0bff68500 ssh-agent -k 22:01:56 unset SSH_AUTH_SOCK; 22:01:56 unset SSH_AGENT_PID; 22:01:56 echo Agent pid 76 killed; 22:01:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:01:56 + git semver [Pipeline] } 22:01:56 $ docker stop --time=1 5599e57c4de8f25b537e01820c3a7f8362b236ae73c2d5dddde765f0bff68500 22:01:58 $ docker rm -f --volumes 5599e57c4de8f25b537e01820c3a7f8362b236ae73c2d5dddde765f0bff68500 [Pipeline] // withDockerContainer [Pipeline] sh 22:01:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:01:58 Stashed 1 file(s) [Pipeline] echo 22:01:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:59 provisioning config files... 22:01:59 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-558@tmp/config17081957337805470854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:59 ---> docker-login.sh 22:01:59 nexus3.edgexfoundry.org:10001 22:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:59 Configure a credential helper to remove this warning. See 22:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:59 22:01:59 Login Succeeded 22:01:59 nexus3.edgexfoundry.org:10002 22:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:59 Configure a credential helper to remove this warning. See 22:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:59 22:01:59 Login Succeeded 22:01:59 nexus3.edgexfoundry.org:10003 22:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:00 Configure a credential helper to remove this warning. See 22:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:00 22:02:00 Login Succeeded 22:02:00 nexus3.edgexfoundry.org:10004 22:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:00 Configure a credential helper to remove this warning. See 22:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:00 22:02:00 Login Succeeded 22:02:00 docker.io 22:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:00 Configure a credential helper to remove this warning. See 22:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:00 22:02:00 Login Succeeded 22:02:00 ---> docker-login.sh ends [Pipeline] } 22:02:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:02:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:02:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:02:00 ========================================================= 22:02:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:02:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:02:01 Sending build context to Docker daemon 3.312MB 22:02:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:02:01 Step 2/12 : FROM ${BASE} AS builder 22:02:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:02:01 f56be85fc22e: Pulling fs layer 22:02:01 85791d961cd3: Pulling fs layer 22:02:01 d694b5ae8c79: Pulling fs layer 22:02:01 9f32a84ed3da: Pulling fs layer 22:02:01 4d19c01a9841: Pulling fs layer 22:02:01 9325e15d5711: Pulling fs layer 22:02:01 556b6ee489ea: Pulling fs layer 22:02:01 c5a4b2cf53e6: Pulling fs layer 22:02:01 9f32a84ed3da: Waiting 22:02:01 4d19c01a9841: Waiting 22:02:01 c5a4b2cf53e6: Waiting 22:02:01 9325e15d5711: Waiting 22:02:01 556b6ee489ea: Waiting 22:02:01 85791d961cd3: Download complete 22:02:01 9f32a84ed3da: Download complete 22:02:01 4d19c01a9841: Verifying Checksum 22:02:01 4d19c01a9841: Download complete 22:02:01 f56be85fc22e: Verifying Checksum 22:02:01 f56be85fc22e: Download complete 22:02:01 9325e15d5711: Verifying Checksum 22:02:01 9325e15d5711: Download complete 22:02:01 f56be85fc22e: Pull complete 22:02:01 85791d961cd3: Pull complete 22:02:01 c5a4b2cf53e6: Verifying Checksum 22:02:01 c5a4b2cf53e6: Download complete 22:02:01 d694b5ae8c79: Download complete 22:02:01 556b6ee489ea: Verifying Checksum 22:02:01 556b6ee489ea: Download complete 22:02:05 d694b5ae8c79: Pull complete 22:02:05 9f32a84ed3da: Pull complete 22:02:05 4d19c01a9841: Pull complete 22:02:05 9325e15d5711: Pull complete 22:02:07 556b6ee489ea: Pull complete 22:02:08 c5a4b2cf53e6: Pull complete 22:02:08 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:02:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:02:08 ---> c4be618373d6 22:02:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:02:10 ---> Running in 6ce66a383029 22:02:10 Removing intermediate container 6ce66a383029 22:02:10 ---> 9e8ca409396e 22:02:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:02:10 ---> Running in 4569255cc486 22:02:10 Removing intermediate container 4569255cc486 22:02:10 ---> a7687f6d65b7 22:02:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:02:10 ---> Running in b724e11742dc 22:02:10 Removing intermediate container b724e11742dc 22:02:10 ---> a24ed829600e 22:02:10 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:02:10 ---> Running in 15daa94219a8 22:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:02:11 OK: 265 MiB in 53 packages 22:02:11 Removing intermediate container 15daa94219a8 22:02:11 ---> a41bc7ec62ed 22:02:11 Step 7/12 : WORKDIR /app 22:02:11 ---> Running in ed6b3e0f7551 22:02:11 Removing intermediate container ed6b3e0f7551 22:02:11 ---> 71c2d4ca1cc4 22:02:11 Step 8/12 : COPY go.mod vendor* ./ 22:02:11 ---> 74bb54bb4b50 22:02:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:11 ---> Running in b26d73df29ce 22:02:14 Still waiting to schedule task 22:02:14 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14558’ 22:02:33 Removing intermediate container b26d73df29ce 22:02:33 ---> 08246aa346fa 22:02:33 Step 10/12 : COPY . . 22:02:33 ---> 1e0bcc611690 22:02:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:02:33 ---> Running in b448826b97fe 22:02:33 Removing intermediate container b448826b97fe 22:02:33 ---> b606a3fb2f4c 22:02:33 Step 12/12 : RUN $MAKE 22:02:33 ---> Running in 45d194552321 22:02:33 noop 22:02:33 Removing intermediate container 45d194552321 22:02:33 ---> 4f7d2404c4d0 22:02:33 Successfully built 4f7d2404c4d0 22:02:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:34 + docker inspect -f . ci-base-image-x86_64 22:02:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:34 prd-ubuntu20.04-docker-8c-8g-14559 does not seem to be running inside a container 22:02:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-558 -v /w/workspace/_app-service-configurable_PR-558:/w/workspace/_app-service-configurable_PR-558:rw,z -v /w/workspace/_app-service-configurable_PR-558@tmp:/w/workspace/_app-service-configurable_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:02:34 $ docker top 13a4c07b5f9205ffceacfdf5198e29cc9f4f83b5ab21c092477badcb27d8b33d -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:35 + go version 22:02:35 go version go1.20.2 linux/amd64 [Pipeline] } 22:02:35 $ docker stop --time=1 13a4c07b5f9205ffceacfdf5198e29cc9f4f83b5ab21c092477badcb27d8b33d 22:02:36 $ docker rm -f --volumes 13a4c07b5f9205ffceacfdf5198e29cc9f4f83b5ab21c092477badcb27d8b33d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:37 + docker inspect -f . ci-base-image-x86_64 22:02:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:37 prd-ubuntu20.04-docker-8c-8g-14559 does not seem to be running inside a container 22:02:37 $ 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-558 -v /w/workspace/_app-service-configurable_PR-558:/w/workspace/_app-service-configurable_PR-558:rw,z -v /w/workspace/_app-service-configurable_PR-558@tmp:/w/workspace/_app-service-configurable_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:02:37 $ docker top 3908ad5a626194bfbe187c19bda4a1544de8aadae58a5b97b8635c1a484e3dce -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:38 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-558 [Pipeline] fileExists [Pipeline] sh 22:02:38 + make test 22:02:38 go test -race -coverprofile=coverage.out ./... 22:02:56 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:03:14 go vet ./... 22:03:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:03:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:03:18 ./bin/test-attribution-txt.sh 22:03:18 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 22:03:18 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 22:03:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:03:18 $ docker stop --time=1 3908ad5a626194bfbe187c19bda4a1544de8aadae58a5b97b8635c1a484e3dce 22:03:21 $ docker rm -f --volumes 3908ad5a626194bfbe187c19bda4a1544de8aadae58a5b97b8635c1a484e3dce [Pipeline] // withDockerContainer [Pipeline] sh 22:03:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:03:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:03:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:03:22 + ls -al . 22:03:22 total 176 22:03:22 drwxrwxr-x 8 jenkins jenkins 4096 May 8 22:02 . 22:03:22 drwxrwxr-x 4 jenkins jenkins 4096 May 8 22:01 .. 22:03:22 -rw-rw-r-- 1 jenkins jenkins 119 May 8 22:01 .dockerignore 22:03:22 drwxrwxr-x 8 jenkins jenkins 4096 May 8 22:01 .git 22:03:22 drwxrwxr-x 3 jenkins jenkins 4096 May 8 22:01 .github 22:03:22 -rw-rw-r-- 1 jenkins jenkins 171 May 8 22:01 .gitignore 22:03:22 -rw-rw-r-- 1 jenkins jenkins 41 May 8 22:01 .golangci.yml 22:03:22 drwxr-xr-x 3 jenkins jenkins 4096 May 8 22:01 .semver 22:03:22 -rw-rw-r-- 1 jenkins jenkins 9088 May 8 22:01 Attribution.txt 22:03:22 -rw-rw-r-- 1 jenkins jenkins 29118 May 8 22:01 CHANGELOG.md 22:03:22 -rw-rw-r-- 1 jenkins jenkins 1898 May 8 22:01 Dockerfile 22:03:22 -rw-rw-r-- 1 jenkins jenkins 677 May 8 22:01 GOVERNANCE.md 22:03:22 -rw-rw-r-- 1 jenkins jenkins 688 May 8 22:01 Jenkinsfile 22:03:22 -rw-rw-r-- 1 jenkins jenkins 10174 May 8 22:01 LICENSE 22:03:22 -rw-rw-r-- 1 jenkins jenkins 618 May 8 22:01 OWNERS.md 22:03:22 -rw-rw-r-- 1 jenkins jenkins 4369 May 8 22:01 README.md 22:03:22 -rw-rw-r-- 1 jenkins jenkins 5 May 8 22:01 VERSION 22:03:22 drwxrwxr-x 2 jenkins jenkins 4096 May 8 22:01 bin 22:03:22 -rw-r--r-- 1 jenkins jenkins 13 May 8 22:02 coverage.out 22:03:22 -rw-rw-r-- 1 jenkins jenkins 3302 May 8 22:01 go.mod 22:03:22 -rw-rw-r-- 1 jenkins jenkins 31421 May 8 22:01 go.sum 22:03:22 -rw-rw-r-- 1 jenkins jenkins 1937 May 8 22:01 main.go 22:03:22 -rw-rw-r-- 1 jenkins jenkins 2569 May 8 22:01 makefile 22:03:22 drwxrwxr-x 9 jenkins jenkins 4096 May 8 22:01 res 22:03:22 drwxrwxr-x 4 jenkins jenkins 4096 May 8 22:01 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:23 + 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=3093f84fed2532095227e8d5f51e512451fc7076 --label arch=amd64 --label version=0.0.0 . 22:03:23 Sending build context to Docker daemon 3.313MB 22:03:23 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:03:23 Step 2/26 : FROM ${BASE} AS builder 22:03:23 ---> 4f7d2404c4d0 22:03:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:03:23 ---> Running in 6b557b6c997a 22:03:23 Removing intermediate container 6b557b6c997a 22:03:23 ---> f5e151a18550 22:03:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:03:23 ---> Running in 575838bd0b4e 22:03:23 Removing intermediate container 575838bd0b4e 22:03:23 ---> e8d234baa434 22:03:23 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:03:23 ---> Running in 0c79babd257b 22:03:23 Removing intermediate container 0c79babd257b 22:03:23 ---> 3e03eba83299 22:03:23 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:03:23 ---> Running in c38ef117ee7c 22:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:03:24 OK: 265 MiB in 53 packages 22:03:24 Removing intermediate container c38ef117ee7c 22:03:24 ---> 8337305b5da8 22:03:24 Step 7/26 : WORKDIR /app 22:03:24 ---> Running in a641dd0ae690 22:03:24 Removing intermediate container a641dd0ae690 22:03:24 ---> c070991b10bf 22:03:24 Step 8/26 : COPY go.mod vendor* ./ 22:03:24 ---> ff6c6fdbcb5e 22:03:24 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:03:24 ---> Running in 2bdac7a0dfa0 22:03:25 Removing intermediate container 2bdac7a0dfa0 22:03:25 ---> e2593bec3314 22:03:25 Step 10/26 : COPY . . 22:03:25 ---> 73fc068e5a3e 22:03:25 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:03:25 ---> Running in c62cd8111255 22:03:26 Removing intermediate container c62cd8111255 22:03:26 ---> e93f769352fd 22:03:26 Step 12/26 : RUN $MAKE 22:03:26 ---> Running in 18a311b33056 22:03:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.61 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 22:03:44 Removing intermediate container 18a311b33056 22:03:44 ---> 95f7df004cef 22:03:44 Step 13/26 : FROM alpine:3.17 22:03:44 3.17: Pulling from library/alpine 22:03:44 f56be85fc22e: Already exists 22:03:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:03:44 Status: Downloaded newer image for alpine:3.17 22:03:44 ---> 9ed4aefc74f6 22:03:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:03:44 ---> Running in 4a3b68b006bc 22:03:44 Removing intermediate container 4a3b68b006bc 22:03:44 ---> faf053948f53 22:03:44 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 22:03:44 ---> Running in e1443c45a7e7 22:03:44 Removing intermediate container e1443c45a7e7 22:03:44 ---> 372bfcac161c 22:03:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:03:44 ---> Running in 4448406dd34a 22:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:03:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:03:45 (1/2) Installing ca-certificates (20230506-r0) 22:03:45 (2/2) Installing dumb-init (1.2.5-r2) 22:03:45 Executing busybox-1.35.0-r29.trigger 22:03:45 Executing ca-certificates-20230506-r0.trigger 22:03:45 OK: 8 MiB in 17 packages 22:03:45 Removing intermediate container 4448406dd34a 22:03:45 ---> 19600ddaf075 22:03:45 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:03:45 ---> 4e54d38d4964 22:03:45 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:03:45 ---> 7112dda7fd20 22:03:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:03:46 ---> a3965948ce08 22:03:46 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:03:46 ---> 7a3160a70de8 22:03:46 Step 21/26 : EXPOSE 48095 22:03:46 ---> Running in d636726e4004 22:03:46 Removing intermediate container d636726e4004 22:03:46 ---> bf6afc4ef15c 22:03:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 22:03:46 ---> Running in da9689ad13bb 22:03:46 Removing intermediate container da9689ad13bb 22:03:46 ---> d3091848cf5b 22:03:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:03:46 ---> Running in 4aba12e449df 22:03:46 Removing intermediate container 4aba12e449df 22:03:46 ---> c63edc07fb31 22:03:46 Step 24/26 : LABEL arch=amd64 22:03:46 ---> Running in 75455de677ea 22:03:47 Removing intermediate container 75455de677ea 22:03:47 ---> 5c1a2bfa0e4d 22:03:47 Step 25/26 : LABEL git_sha=3093f84fed2532095227e8d5f51e512451fc7076 22:03:47 ---> Running in aa8fafc8e927 22:03:47 Removing intermediate container aa8fafc8e927 22:03:47 ---> e361acb6b30d 22:03:47 Step 26/26 : LABEL version=0.0.0 22:03:47 ---> Running in af874311b478 22:03:47 Removing intermediate container af874311b478 22:03:47 ---> 60c558316f11 22:03:47 [Warning] One or more build-args [ARCH] were not consumed 22:03:47 Successfully built 60c558316f11 22:03:47 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:48 22:03:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:48 latest: Pulling from edgex-lftools-log-publisher 22:03:48 5eb5b503b376: Pulling fs layer 22:03:48 5c69ac0246d0: Pulling fs layer 22:03:48 ec43610c2a17: Pulling fs layer 22:03:48 3a2ae6a8a46f: Pulling fs layer 22:03:48 33b1e0a273af: Pulling fs layer 22:03:48 5d3b04190fa2: Pulling fs layer 22:03:48 2f39f015ded8: Pulling fs layer 22:03:48 33b1e0a273af: Waiting 22:03:48 5d3b04190fa2: Waiting 22:03:48 2f39f015ded8: Waiting 22:03:48 3a2ae6a8a46f: Waiting 22:03:48 5c69ac0246d0: Verifying Checksum 22:03:48 5c69ac0246d0: Download complete 22:03:48 3a2ae6a8a46f: Download complete 22:03:48 33b1e0a273af: Verifying Checksum 22:03:48 33b1e0a273af: Download complete 22:03:48 5d3b04190fa2: Verifying Checksum 22:03:48 5d3b04190fa2: Download complete 22:03:48 ec43610c2a17: Verifying Checksum 22:03:48 ec43610c2a17: Download complete 22:03:48 5eb5b503b376: Verifying Checksum 22:03:48 5eb5b503b376: Download complete 22:03:49 2f39f015ded8: Download complete 22:03:49 5eb5b503b376: Pull complete 22:03:49 5c69ac0246d0: Pull complete 22:03:50 ec43610c2a17: Pull complete 22:03:50 3a2ae6a8a46f: Pull complete 22:03:50 33b1e0a273af: Pull complete 22:03:50 5d3b04190fa2: Pull complete 22:03:54 2f39f015ded8: Pull complete 22:03:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:55 prd-ubuntu20.04-docker-8c-8g-14559 does not seem to be running inside a container 22:03:55 $ 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-558 -v /w/workspace/_app-service-configurable_PR-558:/w/workspace/_app-service-configurable_PR-558:rw,z -v /w/workspace/_app-service-configurable_PR-558@tmp:/w/workspace/_app-service-configurable_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:03:57 $ docker top 01d93bd2103cb10e9c1754e167e1f22bb8cbfb779d223ab2290f62ff4f8e0195 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:57 ---> job-cost.sh 22:03:57 lf-activate-venv: SKIPPING 22:03:57 INFO: No Stack... 22:03:58 INFO: Retrieving Pricing Info for: v3-standard-8 22:03:58 INFO: Archiving Costs [Pipeline] sh 22:03:59 + cat /w/workspace/_app-service-configurable_PR-558/archives/cost.csv 22:03:59 + cut -d, -f6 [Pipeline] lock 22:03:59 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-558-1-stack-cost] 22:03:59 Resource [jenkins-edgexfoundry-app-service-configurable-PR-558-1-stack-cost] did not exist. Created. 22:03:59 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-558-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:03:59 + echo total: 0.2199999988079071 [Pipeline] stash 22:03:59 Stashed 1 file(s) [Pipeline] } 22:03:59 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-558-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:03:59 $ docker stop --time=1 01d93bd2103cb10e9c1754e167e1f22bb8cbfb779d223ab2290f62ff4f8e0195 22:04:00 $ docker rm -f --volumes 01d93bd2103cb10e9c1754e167e1f22bb8cbfb779d223ab2290f62ff4f8e0195 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:05:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14561 in /w/workspace/_app-service-configurable_PR-558 [Pipeline] { [Pipeline] ws 22:05:41 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 22:05:41 Selected Git installation does not exist. Using Default 22:05:41 The recommended git tool is: NONE 22:05:47 using credential edgex-jenkins-ssh 22:05:47 Cloning the remote Git repository 22:05:47 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:05:48 > git init /w/workspace/app-service-configurable/1 # timeout=10 22:05:48 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:05:48 > git --version # timeout=10 22:05:48 > git --version # 'git version 2.25.1' 22:05:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:49 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:05:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:50 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:05:51 Merging remotes/origin/main commit 694e3ae60c9df22c057b1690b970d5b19176c4d2 into PR head commit 3093f84fed2532095227e8d5f51e512451fc7076 22:05:51 Merge succeeded, producing 3093f84fed2532095227e8d5f51e512451fc7076 22:05:51 Checking out Revision 3093f84fed2532095227e8d5f51e512451fc7076 (PR-558) 22:05:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:05:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/558/head:refs/remotes/origin/PR-558 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:05:51 > git config core.sparsecheckout # timeout=10 22:05:51 > git checkout -f 3093f84fed2532095227e8d5f51e512451fc7076 # timeout=10 22:05:51 > git remote # timeout=10 22:05:51 > git config --get remote.origin.url # timeout=10 22:05:51 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:51 > git merge 694e3ae60c9df22c057b1690b970d5b19176c4d2 # timeout=10 22:05:51 > git rev-parse HEAD^{commit} # timeout=10 22:05:51 > git config core.sparsecheckout # timeout=10 22:05:51 > git checkout -f 3093f84fed2532095227e8d5f51e512451fc7076 # timeout=10 22:05:55 Commit message: "refactor: Consume MakeItRun rename to Run" 22:05:55 > git --version # timeout=10 22:05:55 > git --version # 'git version 2.25.1' 22:05:55 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:05:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:05:56 % Total % Received % Xferd Average Speed Time Time Time Current 22:05:56 Dload Upload Total Spent Left Speed 22:05:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 22:05:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:05:57 + sudo tee /etc/docker/daemon.new 22:05:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:05:57 { 22:05:57 "registry-mirrors": [ 22:05:57 "https://nexus3.edgexfoundry.org:10001" 22:05:57 ], 22:05:57 "bip": "10.250.0.254/24", 22:05:57 "hosts": [ 22:05:57 "tcp://0.0.0.0:5555", 22:05:57 "unix:///var/run/docker.sock" 22:05:57 ], 22:05:57 "mtu": 1458, 22:05:57 "selinux-enabled": true, 22:05:57 "seccomp-profile": "/etc/docker/seccomp.json" 22:05:57 } [Pipeline] sh 22:05:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:05:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:06:16 provisioning config files... 22:06:16 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config14609976175329260315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:17 ---> docker-login.sh 22:06:17 nexus3.edgexfoundry.org:10001 22:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:17 Configure a credential helper to remove this warning. See 22:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:17 22:06:17 Login Succeeded 22:06:17 nexus3.edgexfoundry.org:10002 22:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:17 Configure a credential helper to remove this warning. See 22:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:17 22:06:17 Login Succeeded 22:06:17 nexus3.edgexfoundry.org:10003 22:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:18 Configure a credential helper to remove this warning. See 22:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:18 22:06:18 Login Succeeded 22:06:18 nexus3.edgexfoundry.org:10004 22:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:18 Configure a credential helper to remove this warning. See 22:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:18 22:06:18 Login Succeeded 22:06:18 docker.io 22:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:06:19 Configure a credential helper to remove this warning. See 22:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:06:19 22:06:19 Login Succeeded 22:06:19 ---> docker-login.sh ends [Pipeline] } 22:06:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:06:19 ========================================================= 22:06:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:06:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:20 + 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 . 22:06:20 Sending build context to Docker daemon 168.4kB 22:06:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:06:20 Step 2/12 : FROM ${BASE} AS builder 22:06:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:06:20 c41833b44d91: Pulling fs layer 22:06:20 ed15518f5707: Pulling fs layer 22:06:20 feae8fd75edb: Pulling fs layer 22:06:20 242c74f7c9fa: Pulling fs layer 22:06:20 3cdef696dda3: Pulling fs layer 22:06:20 2ced38df9373: Pulling fs layer 22:06:20 58f1dce35555: Pulling fs layer 22:06:20 3cdef696dda3: Waiting 22:06:20 2ced38df9373: Waiting 22:06:20 58f1dce35555: Waiting 22:06:20 ed15518f5707: Verifying Checksum 22:06:20 ed15518f5707: Download complete 22:06:20 242c74f7c9fa: Verifying Checksum 22:06:20 242c74f7c9fa: Download complete 22:06:20 3cdef696dda3: Verifying Checksum 22:06:20 3cdef696dda3: Download complete 22:06:20 c41833b44d91: Verifying Checksum 22:06:21 c41833b44d91: Pull complete 22:06:22 58f1dce35555: Verifying Checksum 22:06:22 58f1dce35555: Download complete 22:06:22 ed15518f5707: Pull complete 22:06:23 feae8fd75edb: Verifying Checksum 22:06:23 feae8fd75edb: Download complete 22:06:23 2ced38df9373: Verifying Checksum 22:06:23 2ced38df9373: Download complete 22:06:35 feae8fd75edb: Pull complete 22:06:35 242c74f7c9fa: Pull complete 22:06:35 3cdef696dda3: Pull complete 22:06:40 2ced38df9373: Pull complete 22:06:42 58f1dce35555: Pull complete 22:06:42 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:06:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:06:43 ---> fadd8f120f05 22:06:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:06:45 ---> Running in 3501731ed3b0 22:06:45 Removing intermediate container 3501731ed3b0 22:06:45 ---> 570ab1d6c6aa 22:06:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:06:45 ---> Running in 9d730b57b444 22:06:45 Removing intermediate container 9d730b57b444 22:06:45 ---> 77db5d1ee3d7 22:06:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:06:45 ---> Running in b97c9b8fcf12 22:06:45 Removing intermediate container b97c9b8fcf12 22:06:45 ---> 88cc3fe3e5fc 22:06:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:06:45 ---> Running in 8d68807fbd5a 22:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:06:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:06:48 OK: 263 MiB in 53 packages 22:06:49 Removing intermediate container 8d68807fbd5a 22:06:49 ---> 287713ca9bf9 22:06:49 Step 7/12 : WORKDIR /app 22:06:49 ---> Running in 4f69c0870dd6 22:06:49 Removing intermediate container 4f69c0870dd6 22:06:49 ---> 46d81e7b7961 22:06:49 Step 8/12 : COPY go.mod vendor* ./ 22:06:50 ---> 624afbc87d5f 22:06:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:06:50 ---> Running in a5c37a3008d4 22:07:58 Removing intermediate container a5c37a3008d4 22:07:58 ---> 2d9b86c8d81f 22:07:58 Step 10/12 : COPY . . 22:07:58 ---> 6004e9c2ac00 22:07:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:07:58 ---> Running in cdc76d727015 22:07:58 Removing intermediate container cdc76d727015 22:07:58 ---> cfea2108bf0d 22:07:58 Step 12/12 : RUN $MAKE 22:07:58 ---> Running in 8b4848f216af 22:07:58 noop 22:07:58 Removing intermediate container 8b4848f216af 22:07:58 ---> 8cfd1c6346bf 22:07:58 Successfully built 8cfd1c6346bf 22:07:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:58 + docker inspect -f . ci-base-image-arm64 22:07:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:58 prd-ubuntu20.04-docker-arm64-4c-16g-14561 does not seem to be running inside a container 22:07:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:08:00 $ docker top 6bac69763aaf99db8d5bb3ab40214ba5a388cbd10f43b5bf97b2a51d4b99d705 -eo pid,comm [Pipeline] { [Pipeline] sh 22:08:01 + go version 22:08:01 go version go1.20.2 linux/arm64 [Pipeline] } 22:08:01 $ docker stop --time=1 6bac69763aaf99db8d5bb3ab40214ba5a388cbd10f43b5bf97b2a51d4b99d705 22:08:02 $ docker rm -f --volumes 6bac69763aaf99db8d5bb3ab40214ba5a388cbd10f43b5bf97b2a51d4b99d705 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:03 + docker inspect -f . ci-base-image-arm64 22:08:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:08:03 prd-ubuntu20.04-docker-arm64-4c-16g-14561 does not seem to be running inside a container 22:08:03 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:08:05 $ docker top 156a928677e8b98d15039ca8a01a82ae9794e74db0c31b82d8360a07e7de3177 -eo pid,comm [Pipeline] { [Pipeline] sh 22:08:05 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 22:08:06 + make test 22:08:06 go test -race -coverprofile=coverage.out ./... 22:10:43 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:10:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:10:43 go vet ./... 22:12:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:49 ./bin/test-attribution-txt.sh 22:12:49 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 22:12:49 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 22:12:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:49 $ docker stop --time=1 156a928677e8b98d15039ca8a01a82ae9794e74db0c31b82d8360a07e7de3177 22:12:51 $ docker rm -f --volumes 156a928677e8b98d15039ca8a01a82ae9794e74db0c31b82d8360a07e7de3177 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:53 Warning: overwriting stash ‘coverage-report’ 22:12:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:54 + ls -al . 22:12:54 total 172 22:12:54 drwxrwxr-x 7 jenkins jenkins 4096 May 8 22:08 . 22:12:54 drwxrwxr-x 4 jenkins jenkins 4096 May 8 22:05 .. 22:12:54 -rw-rw-r-- 1 jenkins jenkins 119 May 8 22:05 .dockerignore 22:12:54 drwxrwxr-x 8 jenkins jenkins 4096 May 8 22:05 .git 22:12:54 drwxrwxr-x 3 jenkins jenkins 4096 May 8 22:05 .github 22:12:54 -rw-rw-r-- 1 jenkins jenkins 171 May 8 22:05 .gitignore 22:12:54 -rw-rw-r-- 1 jenkins jenkins 41 May 8 22:05 .golangci.yml 22:12:54 -rw-rw-r-- 1 jenkins jenkins 9088 May 8 22:05 Attribution.txt 22:12:54 -rw-rw-r-- 1 jenkins jenkins 29118 May 8 22:05 CHANGELOG.md 22:12:54 -rw-rw-r-- 1 jenkins jenkins 1898 May 8 22:05 Dockerfile 22:12:54 -rw-rw-r-- 1 jenkins jenkins 677 May 8 22:05 GOVERNANCE.md 22:12:54 -rw-rw-r-- 1 jenkins jenkins 688 May 8 22:05 Jenkinsfile 22:12:54 -rw-rw-r-- 1 jenkins jenkins 10174 May 8 22:05 LICENSE 22:12:54 -rw-rw-r-- 1 jenkins jenkins 618 May 8 22:05 OWNERS.md 22:12:54 -rw-rw-r-- 1 jenkins jenkins 4369 May 8 22:05 README.md 22:12:54 -rw-rw-r-- 1 jenkins jenkins 5 May 8 22:01 VERSION 22:12:54 drwxrwxr-x 2 jenkins jenkins 4096 May 8 22:05 bin 22:12:54 -rw-r--r-- 1 jenkins jenkins 13 May 8 22:08 coverage.out 22:12:54 -rw-rw-r-- 1 jenkins jenkins 3302 May 8 22:05 go.mod 22:12:54 -rw-rw-r-- 1 jenkins jenkins 31421 May 8 22:05 go.sum 22:12:54 -rw-rw-r-- 1 jenkins jenkins 1937 May 8 22:05 main.go 22:12:54 -rw-rw-r-- 1 jenkins jenkins 2569 May 8 22:05 makefile 22:12:54 drwxrwxr-x 9 jenkins jenkins 4096 May 8 22:05 res 22:12:54 drwxrwxr-x 4 jenkins jenkins 4096 May 8 22:05 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:54 + 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=3093f84fed2532095227e8d5f51e512451fc7076 --label arch=arm64 --label version=0.0.0 . 22:12:54 Sending build context to Docker daemon 169.5kB 22:12:55 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:12:55 Step 2/26 : FROM ${BASE} AS builder 22:12:55 ---> 8cfd1c6346bf 22:12:55 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:12:55 ---> Running in 83fca0c19783 22:12:55 Removing intermediate container 83fca0c19783 22:12:55 ---> 3d6837165708 22:12:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:12:55 ---> Running in fd3f67c527e6 22:12:56 Removing intermediate container fd3f67c527e6 22:12:56 ---> e28c61b11254 22:12:56 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:12:57 ---> Running in 19f6327d902b 22:12:57 Removing intermediate container 19f6327d902b 22:12:57 ---> 53c449d26584 22:12:57 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:57 ---> Running in 8f8c19d6c7bb 22:12:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:12:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:12:59 OK: 263 MiB in 53 packages 22:13:00 Removing intermediate container 8f8c19d6c7bb 22:13:00 ---> e382e29f7786 22:13:00 Step 7/26 : WORKDIR /app 22:13:00 ---> Running in 8ee410c77c26 22:13:01 Removing intermediate container 8ee410c77c26 22:13:01 ---> 295e3c0f08f9 22:13:01 Step 8/26 : COPY go.mod vendor* ./ 22:13:01 ---> 49668039e52f 22:13:01 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:01 ---> Running in 5f9201f5aa38 22:13:04 Removing intermediate container 5f9201f5aa38 22:13:04 ---> 2a3bf26b8648 22:13:04 Step 10/26 : COPY . . 22:13:04 ---> 1803ef58e653 22:13:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:04 ---> Running in 6fc6bbf155ae 22:13:05 Removing intermediate container 6fc6bbf155ae 22:13:05 ---> 3a2bc93611be 22:13:05 Step 12/26 : RUN $MAKE 22:13:05 ---> Running in e9bad4e690ff 22:13:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.61 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 22:15:12 Removing intermediate container e9bad4e690ff 22:15:12 ---> 852b62406ef4 22:15:12 Step 13/26 : FROM alpine:3.17 22:15:12 3.17: Pulling from library/alpine 22:15:12 c41833b44d91: Already exists 22:15:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:15:12 Status: Downloaded newer image for alpine:3.17 22:15:12 ---> 51e60588ff2c 22:15:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:15:12 ---> Running in 37343d7c605d 22:15:12 Removing intermediate container 37343d7c605d 22:15:12 ---> e6c44e4809be 22:15:12 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 22:15:12 ---> Running in 0d2940dbdbee 22:15:12 Removing intermediate container 0d2940dbdbee 22:15:12 ---> c992f044cee3 22:15:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:15:12 ---> Running in 9a866f734422 22:15:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:15:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:15:12 (1/2) Installing ca-certificates (20230506-r0) 22:15:12 (2/2) Installing dumb-init (1.2.5-r2) 22:15:12 Executing busybox-1.35.0-r29.trigger 22:15:12 Executing ca-certificates-20230506-r0.trigger 22:15:12 OK: 8 MiB in 17 packages 22:15:15 Removing intermediate container 9a866f734422 22:15:15 ---> 2adca969fa7f 22:15:15 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:15:15 ---> d9842fd6833e 22:15:15 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:15:15 ---> fed7bd9d64c5 22:15:15 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:15:15 ---> 54c3149e1faf 22:15:15 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:15:17 ---> 20ca3d83d4f3 22:15:17 Step 21/26 : EXPOSE 48095 22:15:17 ---> Running in 8bad6de43aa5 22:15:17 Removing intermediate container 8bad6de43aa5 22:15:17 ---> c475ea59fbd6 22:15:17 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 22:15:17 ---> Running in f3426d4a434e 22:15:17 Removing intermediate container f3426d4a434e 22:15:17 ---> bb627033136c 22:15:17 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:15:17 ---> Running in e3ed0c87293b 22:15:18 Removing intermediate container e3ed0c87293b 22:15:18 ---> 36a887e8dedf 22:15:18 Step 24/26 : LABEL arch=arm64 22:15:18 ---> Running in e8b4efac9c9c 22:15:18 Removing intermediate container e8b4efac9c9c 22:15:18 ---> eb34cf57449c 22:15:18 Step 25/26 : LABEL git_sha=3093f84fed2532095227e8d5f51e512451fc7076 22:15:18 ---> Running in ae8f6bb18233 22:15:18 Removing intermediate container ae8f6bb18233 22:15:18 ---> 0123b0f00480 22:15:18 Step 26/26 : LABEL version=0.0.0 22:15:18 ---> Running in db7c256ceca4 22:15:19 Removing intermediate container db7c256ceca4 22:15:19 ---> e41b71b9be91 22:15:19 [Warning] One or more build-args [ARCH] were not consumed 22:15:19 Successfully built e41b71b9be91 22:15:19 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 22:15:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:15:20 22:15:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:15:20 arm64: Pulling from edgex-lftools-log-publisher 22:15:20 8998bd30e6a1: Pulling fs layer 22:15:20 04944245beec: Pulling fs layer 22:15:20 699f458cf7ca: Pulling fs layer 22:15:20 765212b225bb: Pulling fs layer 22:15:20 f23df028b6ca: Pulling fs layer 22:15:20 d65c8cfc05b1: Pulling fs layer 22:15:20 2437ff75d9bd: Pulling fs layer 22:15:20 765212b225bb: Waiting 22:15:20 f23df028b6ca: Waiting 22:15:20 d65c8cfc05b1: Waiting 22:15:20 2437ff75d9bd: Waiting 22:15:20 04944245beec: Verifying Checksum 22:15:20 04944245beec: Download complete 22:15:20 765212b225bb: Verifying Checksum 22:15:20 765212b225bb: Download complete 22:15:20 f23df028b6ca: Download complete 22:15:20 d65c8cfc05b1: Verifying Checksum 22:15:20 d65c8cfc05b1: Download complete 22:15:20 699f458cf7ca: Verifying Checksum 22:15:20 699f458cf7ca: Download complete 22:15:21 8998bd30e6a1: Download complete 22:15:23 2437ff75d9bd: Verifying Checksum 22:15:23 2437ff75d9bd: Download complete 22:15:25 8998bd30e6a1: Pull complete 22:15:25 04944245beec: Pull complete 22:15:27 699f458cf7ca: Pull complete 22:15:27 765212b225bb: Pull complete 22:15:27 f23df028b6ca: Pull complete 22:15:28 d65c8cfc05b1: Pull complete 22:15:43 2437ff75d9bd: Pull complete 22:15:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:15:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:15:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:43 prd-ubuntu20.04-docker-arm64-4c-16g-14561 does not seem to be running inside a container 22:15:43 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:15:46 $ docker top 4c6f44401b9b4b49e238767d7cf8d56e98d7d07bff3fb44207c86e23ca9e326a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:46 ---> job-cost.sh 22:15:46 lf-activate-venv: SKIPPING 22:15:46 INFO: No Stack... 22:15:47 INFO: Retrieving Pricing Info for: v3-standard-4 22:15:48 INFO: Archiving Costs [Pipeline] sh 22:15:48 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 22:15:48 + cut -d, -f6 [Pipeline] lock 22:15:48 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-558-1-stack-cost] 22:15:48 Resource [jenkins-edgexfoundry-app-service-configurable-PR-558-1-stack-cost] did not exist. Created. 22:15:48 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-558-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:15:49 /w/workspace/app-service-configurable/1@tmp/durable-3ffeb58a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:15:50 + echo total: 0.10999999940395355 [Pipeline] stash 22:15:50 Warning: overwriting stash ‘stack-cost’ 22:15:50 Stashed 1 file(s) [Pipeline] } 22:15:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-558-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:15:50 $ docker stop --time=1 4c6f44401b9b4b49e238767d7cf8d56e98d7d07bff3fb44207c86e23ca9e326a 22:15:51 $ docker rm -f --volumes 4c6f44401b9b4b49e238767d7cf8d56e98d7d07bff3fb44207c86e23ca9e326a [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 22:15:52 provisioning config files... 22:15:53 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-558@tmp/config15567202679270420348tmp [Pipeline] { [Pipeline] sh 22:15:53 + set +x 22:15:53 + curl -s https://codecov.io/bash 22:15:53 + bash -s -- 22:15:53 22:15:53 _____ _ 22:15:53 / ____| | | 22:15:53 | | ___ __| | ___ ___ _____ __ 22:15:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:15:53 | |___| (_) | (_| | __/ (_| (_) \ V / 22:15:53 \_____\___/ \__,_|\___|\___\___/ \_/ 22:15:53 Bash-1.0.6 22:15:53 22:15:53 22:15:53 ==> git version 2.25.1 found 22:15:53 ==> 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 22:15:53 Release-Date: 2020-01-08 22:15:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:15:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:15:53 ==> Jenkins CI detected. 22:15:53 current dir:  /w/workspace/_app-service-configurable_PR-558 22:15:53 project root: . 22:15:53 --> token set from env 22:15:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:15:53 ==> Running gcov in . (disable via -X gcov) 22:15:53 ==> Python coveragepy not found 22:15:53 ==> Searching for coverage reports in: 22:15:53 + . 22:15:53 -> Found 1 reports 22:15:53 ==> Detecting git/mercurial file structure 22:15:53 ==> Reading reports 22:15:53 + ./coverage.out bytes=13 22:15:53 ==> Appending adjustments 22:15:53 https://docs.codecov.io/docs/fixing-reports 22:15:53 + Found adjustments 22:15:53 ==> Gzipping contents 22:15:53 4.0K /tmp/codecov.rLzXRP.gz 22:15:53 ==> Uploading reports 22:15:53 url: https://codecov.io 22:15:53 query: branch=PR-558&commit=3093f84fed2532095227e8d5f51e512451fc7076&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-558%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=558&job=&cmd_args= 22:15:53 -> Pinging Codecov 22:15:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-558&commit=3093f84fed2532095227e8d5f51e512451fc7076&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-558%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=558&job=&cmd_args= 22:15:53 -> Uploading to 22:15:53 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/A97CA9966030D2A3747ED39772930CCE/3093f84fed2532095227e8d5f51e512451fc7076/6c736ddc-277c-41e5-878c-25c1d7e00609.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T221553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=001d96767a93d5c11af6dc68e2fe1787f0b6f30db47ca8ebd51f71840e385599 22:15:53 % Total % Received % Xferd Average Speed Time Time Time Current 22:15:53 Dload Upload Total Spent Left Speed 22:15:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1932 --:--:-- --:--:-- --:--:-- 1932 22:15:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/3093f84fed2532095227e8d5f51e512451fc7076 [Pipeline] } 22:15:54 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 22:15:55 + [ -d /w/workspace/_app-service-configurable_PR-558/archives ] 22:15:55 + ls -al /w/workspace/_app-service-configurable_PR-558/archives 22:15:55 total 16 22:15:55 drwxr-xr-x 3 root root 4096 May 8 22:03 . 22:15:55 drwxrwxr-x 9 jenkins jenkins 4096 May 8 22:03 .. 22:15:55 drwxr-xr-x 2 root root 4096 May 8 22:03 cost 22:15:55 -rw-r--r-- 1 root root 96 May 8 22:03 cost.csv 22:15:55 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-558/archives 22:15:55 + ls -al /w/workspace/_app-service-configurable_PR-558/archives 22:15:55 total 16 22:15:55 drwxr-xr-x 3 jenkins jenkins 4096 May 8 22:03 . 22:15:55 drwxrwxr-x 9 jenkins jenkins 4096 May 8 22:03 .. 22:15:55 drwxr-xr-x 2 jenkins jenkins 4096 May 8 22:03 cost 22:15:55 -rw-r--r-- 1 jenkins jenkins 96 May 8 22:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:15:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:15:57 ---> package-listing.sh 22:15:57 ++ facter osfamily 22:15:57 ++ tr '[:upper:]' '[:lower:]' 22:15:57 + OS_FAMILY=debian 22:15:57 + workspace=/w/workspace/_app-service-configurable_PR-558 22:15:57 + START_PACKAGES=/tmp/packages_start.txt 22:15:57 + END_PACKAGES=/tmp/packages_end.txt 22:15:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:15:57 + PACKAGES=/tmp/packages_start.txt 22:15:57 + '[' /w/workspace/_app-service-configurable_PR-558 ']' 22:15:57 + PACKAGES=/tmp/packages_end.txt 22:15:57 + case "${OS_FAMILY}" in 22:15:57 + dpkg -l 22:15:57 + grep '^ii' 22:15:57 + '[' -f /tmp/packages_start.txt ']' 22:15:57 + '[' -f /tmp/packages_end.txt ']' 22:15:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:15:57 + '[' /w/workspace/_app-service-configurable_PR-558 ']' 22:15:57 + mkdir -p /w/workspace/_app-service-configurable_PR-558/archives/ 22:15:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-558/archives/ [Pipeline] echo 22:15:57 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-558/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:15:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:15:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:58 prd-ubuntu20.04-docker-8c-8g-14559 does not seem to be running inside a container 22:15:58 $ 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-558/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-558 -v /w/workspace/_app-service-configurable_PR-558:/w/workspace/_app-service-configurable_PR-558:rw,z -v /w/workspace/_app-service-configurable_PR-558@tmp:/w/workspace/_app-service-configurable_PR-558@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:15:58 $ docker top 0cfdc1d5a2b6dec708dfc97b0a9961e555c868f1490fcc86f2b8c16efa0147b2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:59 + touch /tmp/pre-build-complete [Pipeline] sh 22:15:59 + mkdir -p /var/log/sysstat [Pipeline] sh 22:15:59 + ls /var/log/sa-host 22:15:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:59 provisioning config files... 22:15:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-558@tmp/config18306514728938879651tmp [Pipeline] { [Pipeline] echo 22:15:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:16:00 ---> create-netrc.sh [Pipeline] } 22:16:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:16:00 ---> python-tools-install.sh [Pipeline] echo 22:16:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:16:01 ---> sudo-logs.sh 22:16:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:16:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:16:01 ---> job-cost.sh 22:16:01 lf-activate-venv: SKIPPING 22:16:01 DEBUG: total: 0.2199999988079071 22:16:01 INFO: Retrieving Stack Cost... 22:16:01 INFO: Retrieving Pricing Info for: v3-standard-8 22:16:01 INFO: Archiving Costs [Pipeline] echo 22:16:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:16:02 ---> logs-deploy.sh 22:16:02 lf-activate-venv: SKIPPING 22:16:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-558/1 22:16:02 INFO: archiving workspace using pattern(s): 22:16:03 Archives upload complete. 22:16:03 INFO: archiving logs to Nexus