Pull request #606 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 478c50bf08fb470a70ea1c32af7d76e967cabd66+2a5656b3b395cf8cfe31680cbc98c945be996873 (328d12937dce021622483d5bf2b098c46f4b83c7) 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-ssh11266519996113507695.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7056004767958493848.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-606/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-606/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8515738258231546304.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-606/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13361703957500762608.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1060624498071249999.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-606/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-606/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14400874960437028949.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9410 in /w/workspace/_app-service-configurable_PR-606 [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-606 # 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/606/head:refs/remotes/origin/PR-606 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2a5656b3b395cf8cfe31680cbc98c945be996873 into PR head commit 478c50bf08fb470a70ea1c32af7d76e967cabd66 Merge succeeded, producing 478c50bf08fb470a70ea1c32af7d76e967cabd66 Checking out Revision 478c50bf08fb470a70ea1c32af7d76e967cabd66 (PR-606) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f 478c50bf08fb470a70ea1c32af7d76e967cabd66 # 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 2a5656b3b395cf8cfe31680cbc98c945be996873 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 478c50bf08fb470a70ea1c32af7d76e967cabd66 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:44:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:44:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:44:51 ========================================================= 12:44:51 EdgeX Global Pipelines Version Info 12:44:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:44:52 ------------------- 12:44:52 stable info: 12:44:52 ------------------- 12:44:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:44:52 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:44:52 Message: update stable to v1.0.254 12:44:52 ------------------- 12:44:52 experimental info: 12:44:52 ------------------- 12:44:52 Commited By: **** collab-it+edgex@linuxfoundation.org 12:44:52 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:44:52 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:44:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-606 [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-606 [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-606 [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 478c50bf08fb470a70ea1c32af7d76e967cabd66 [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 478c50b [Pipeline] echo 12:44:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:44:54 provisioning config files... 12:44:54 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-606@tmp/config7485944972605436134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:44:54 ---> docker-login.sh 12:44:54 nexus3.edgexfoundry.org:10001 12:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:55 Configure a credential helper to remove this warning. See 12:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:55 12:44:55 Login Succeeded 12:44:55 nexus3.edgexfoundry.org:10002 12:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:55 Configure a credential helper to remove this warning. See 12:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:55 12:44:55 Login Succeeded 12:44:55 nexus3.edgexfoundry.org:10003 12:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:55 Configure a credential helper to remove this warning. See 12:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:55 12:44:55 Login Succeeded 12:44:55 nexus3.edgexfoundry.org:10004 12:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:55 Configure a credential helper to remove this warning. See 12:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:55 12:44:55 Login Succeeded 12:44:55 docker.io 12:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:55 Configure a credential helper to remove this warning. See 12:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:55 12:44:55 Login Succeeded 12:44:55 ---> docker-login.sh ends [Pipeline] } 12:44:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:44:56 + git rev-list -1 --merges 478c50bf08fb470a70ea1c32af7d76e967cabd66~1..478c50bf08fb470a70ea1c32af7d76e967cabd66 [Pipeline] echo 12:44:56 -----------> git rev-list -1 --merges 478c50bf08fb470a70ea1c32af7d76e967cabd66~1..478c50bf08fb470a70ea1c32af7d76e967cabd66 478c50bf08fb470a70ea1c32af7d76e967cabd66 [false] [Pipeline] sh 12:44:57 + git log --format=format:%s -1 478c50bf08fb470a70ea1c32af7d76e967cabd66 [Pipeline] echo 12:44:57 ========================================================= 12:44:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:44:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:44:57 + git log --format=format:%s -1 478c50bf08fb470a70ea1c32af7d76e967cabd66 [Pipeline] echo 12:44:57 [semverPrep] GIT_COMMIT: 478c50bf08fb470a70ea1c32af7d76e967cabd66, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:44:57 [semverPrep] This is not a build commit. [Pipeline] sh 12:44:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:44:57 + grep -v github /etc/ssh/ssh_known_hosts 12:44:57 + [ -e /tmp/ssh_known_hosts ] 12:44:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:44:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:44:57 + sudo tee -a /etc/ssh/ssh_known_hosts 12:44:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:44:58 12:44:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:44:58 0.1.4: Pulling from edgex-devops/py-git-semver 12:44:58 b85a868b505f: Pulling fs layer 12:44:58 e2be974225ed: Pulling fs layer 12:44:58 339a4e72a1f5: Pulling fs layer 12:44:58 988bab9f4d93: Pulling fs layer 12:44:58 1469e6f7b9e6: Pulling fs layer 12:44:58 eaf3925da568: Pulling fs layer 12:44:58 bab4dde63d76: Pulling fs layer 12:44:58 bde34c3a00c8: Pulling fs layer 12:44:58 b352a97aabf1: Pulling fs layer 12:44:58 4872d77fe225: Pulling fs layer 12:44:58 5851b861e8e6: Pulling fs layer 12:44:58 eaf3925da568: Waiting 12:44:58 bab4dde63d76: Waiting 12:44:58 988bab9f4d93: Waiting 12:44:58 bde34c3a00c8: Waiting 12:44:58 1469e6f7b9e6: Waiting 12:44:58 b352a97aabf1: Waiting 12:44:58 4872d77fe225: Waiting 12:44:58 5851b861e8e6: Waiting 12:44:58 e2be974225ed: Download complete 12:44:58 988bab9f4d93: Verifying Checksum 12:44:58 988bab9f4d93: Download complete 12:44:58 1469e6f7b9e6: Verifying Checksum 12:44:58 1469e6f7b9e6: Download complete 12:44:58 339a4e72a1f5: Verifying Checksum 12:44:58 339a4e72a1f5: Download complete 12:44:59 eaf3925da568: Verifying Checksum 12:44:59 eaf3925da568: Download complete 12:44:59 bde34c3a00c8: Download complete 12:44:59 b352a97aabf1: Verifying Checksum 12:44:59 b352a97aabf1: Download complete 12:44:59 4872d77fe225: Verifying Checksum 12:44:59 4872d77fe225: Download complete 12:44:59 5851b861e8e6: Verifying Checksum 12:44:59 5851b861e8e6: Download complete 12:44:59 b85a868b505f: Verifying Checksum 12:44:59 b85a868b505f: Download complete 12:44:59 bab4dde63d76: Verifying Checksum 12:44:59 bab4dde63d76: Download complete 12:45:00 b85a868b505f: Pull complete 12:45:00 e2be974225ed: Pull complete 12:45:00 339a4e72a1f5: Pull complete 12:45:01 988bab9f4d93: Pull complete 12:45:01 1469e6f7b9e6: Pull complete 12:45:01 eaf3925da568: Pull complete 12:45:03 bab4dde63d76: Pull complete 12:45:03 bde34c3a00c8: Pull complete 12:45:03 b352a97aabf1: Pull complete 12:45:03 4872d77fe225: Pull complete 12:45:03 5851b861e8e6: Pull complete 12:45:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:45:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:45:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:03 prd-ubuntu20.04-docker-8c-8g-9410 does not seem to be running inside a container 12:45:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-606 -v /w/workspace/_app-service-configurable_PR-606:/w/workspace/_app-service-configurable_PR-606:rw,z -v /w/workspace/_app-service-configurable_PR-606@tmp:/w/workspace/_app-service-configurable_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:45:06 $ docker top fbe8536f25de0c0e476e40a9e0a8ff4c71512b70d2a1131c52d19df5e659ff4b -eo pid,comm 12:45:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:45:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:45:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:45:06 [ssh-agent] Looking for ssh-agent implementation... 12:45:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:45:06 $ docker exec fbe8536f25de0c0e476e40a9e0a8ff4c71512b70d2a1131c52d19df5e659ff4b ssh-agent 12:45:06 SSH_AUTH_SOCK=/tmp/ssh-jS8sReb7WGaY/agent.32 12:45:06 SSH_AGENT_PID=38 12:45:06 Running ssh-add (command line suppressed) 12:45:06 Identity added: /w/workspace/_app-service-configurable_PR-606@tmp/private_key_10956469605252908567.key (/w/workspace/_app-service-configurable_PR-606@tmp/private_key_10956469605252908567.key) 12:45:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:45:07 + git tag --points-at HEAD [Pipeline] } 12:45:07 $ docker exec --env ******** --env ******** fbe8536f25de0c0e476e40a9e0a8ff4c71512b70d2a1131c52d19df5e659ff4b ssh-agent -k 12:45:07 unset SSH_AUTH_SOCK; 12:45:07 unset SSH_AGENT_PID; 12:45:07 echo Agent pid 38 killed; 12:45:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:45:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:45:07 [ssh-agent] Looking for ssh-agent implementation... 12:45:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:45:07 $ docker exec fbe8536f25de0c0e476e40a9e0a8ff4c71512b70d2a1131c52d19df5e659ff4b ssh-agent 12:45:07 SSH_AUTH_SOCK=/tmp/ssh-XQnECZ2EsiHZ/agent.70 12:45:07 SSH_AGENT_PID=76 12:45:07 Running ssh-add (command line suppressed) 12:45:07 Identity added: /w/workspace/_app-service-configurable_PR-606@tmp/private_key_554677858163656828.key (/w/workspace/_app-service-configurable_PR-606@tmp/private_key_554677858163656828.key) 12:45:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:45:08 + git semver init 12:45:08 2023-10-17 12:45:08,321 [run_init] DEBUG init version:0.0.0 force:False 12:45:08 2023-10-17 12:45:08,322 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-606/.semver 12:45:08 2023-10-17 12:45:08,322 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-606/.semver 12:45:08 2023-10-17 12:45:08,322 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-606/.semver'], cwd=/w/workspace/_app-service-configurable_PR-606, universal_newlines=False, shell=None, istream=None) 12:45:09 2023-10-17 12:45:09,290 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-606/.git/info/exclude 12:45:09 2023-10-17 12:45:09,291 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-606/.semver/PR-606 with force:False 12:45:09 2023-10-17 12:45:09,291 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-606/.semver/PR-606 12:45:09 2023-10-17 12:45:09,295 [execute] INFO git cat-file --batch-check 12:45:09 2023-10-17 12:45:09,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-606/.semver, universal_newlines=False, shell=None, istream=) 12:45:09 2023-10-17 12:45:09,302 [execute] INFO git cat-file --batch 12:45:09 2023-10-17 12:45:09,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-606/.semver, universal_newlines=False, shell=None, istream=) 12:45:09 2023-10-17 12:45:09,307 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-606/.semver/PR-606 12:45:09 0.0.0 [Pipeline] } 12:45:09 $ docker exec --env ******** --env ******** fbe8536f25de0c0e476e40a9e0a8ff4c71512b70d2a1131c52d19df5e659ff4b ssh-agent -k 12:45:09 unset SSH_AUTH_SOCK; 12:45:09 unset SSH_AGENT_PID; 12:45:09 echo Agent pid 76 killed; 12:45:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:45:09 + git semver [Pipeline] } 12:45:10 $ docker stop --time=1 fbe8536f25de0c0e476e40a9e0a8ff4c71512b70d2a1131c52d19df5e659ff4b 12:45:11 $ docker rm -f --volumes fbe8536f25de0c0e476e40a9e0a8ff4c71512b70d2a1131c52d19df5e659ff4b [Pipeline] // withDockerContainer [Pipeline] sh 12:45:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:45:12 Stashed 1 file(s) [Pipeline] echo 12:45:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:45:13 provisioning config files... 12:45:13 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-606@tmp/config7291772297888704106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:45:13 ---> docker-login.sh 12:45:13 nexus3.edgexfoundry.org:10001 12:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:13 Configure a credential helper to remove this warning. See 12:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:13 12:45:13 Login Succeeded 12:45:13 nexus3.edgexfoundry.org:10002 12:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:13 Configure a credential helper to remove this warning. See 12:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:13 12:45:13 Login Succeeded 12:45:13 nexus3.edgexfoundry.org:10003 12:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:13 Configure a credential helper to remove this warning. See 12:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:13 12:45:13 Login Succeeded 12:45:13 nexus3.edgexfoundry.org:10004 12:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:13 Configure a credential helper to remove this warning. See 12:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:13 12:45:13 Login Succeeded 12:45:13 docker.io 12:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:14 Configure a credential helper to remove this warning. See 12:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:14 12:45:14 Login Succeeded 12:45:14 ---> docker-login.sh ends [Pipeline] } 12:45:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:45:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:45:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:45:14 ========================================================= 12:45:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:45:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:45:15 Sending build context to Docker daemon 3.376MB 12:45:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:45:15 Step 2/12 : FROM ${BASE} AS builder 12:45:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:45:15 7264a8db6415: Pulling fs layer 12:45:15 c4d48a809fc2: Pulling fs layer 12:45:15 4f1c88b9dad5: Pulling fs layer 12:45:15 ad3a456e5733: Pulling fs layer 12:45:15 33e27b845d1e: Pulling fs layer 12:45:15 c68163c4e522: Pulling fs layer 12:45:15 50da416c3ac9: Pulling fs layer 12:45:15 23d2d4c4bb30: Pulling fs layer 12:45:15 33e27b845d1e: Waiting 12:45:15 c68163c4e522: Waiting 12:45:15 50da416c3ac9: Waiting 12:45:15 23d2d4c4bb30: Waiting 12:45:15 ad3a456e5733: Waiting 12:45:15 c4d48a809fc2: Download complete 12:45:15 ad3a456e5733: Verifying Checksum 12:45:15 ad3a456e5733: Download complete 12:45:15 33e27b845d1e: Verifying Checksum 12:45:15 33e27b845d1e: Download complete 12:45:15 7264a8db6415: Verifying Checksum 12:45:15 7264a8db6415: Download complete 12:45:15 c68163c4e522: Verifying Checksum 12:45:15 c68163c4e522: Download complete 12:45:15 7264a8db6415: Pull complete 12:45:15 23d2d4c4bb30: Verifying Checksum 12:45:15 23d2d4c4bb30: Download complete 12:45:15 c4d48a809fc2: Pull complete 12:45:15 4f1c88b9dad5: Verifying Checksum 12:45:15 4f1c88b9dad5: Download complete 12:45:16 50da416c3ac9: Download complete 12:45:19 4f1c88b9dad5: Pull complete 12:45:19 ad3a456e5733: Pull complete 12:45:19 33e27b845d1e: Pull complete 12:45:19 c68163c4e522: Pull complete 12:45:21 50da416c3ac9: Pull complete 12:45:21 23d2d4c4bb30: Pull complete 12:45:21 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:45:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:45:21 ---> 0786185ac409 12:45:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:45:26 ---> Running in c04b902239b2 12:45:26 Removing intermediate container c04b902239b2 12:45:26 ---> 4adf7f9023ad 12:45:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:45:26 ---> Running in 60b2c4dd45ad 12:45:26 Removing intermediate container 60b2c4dd45ad 12:45:26 ---> 6ed364a8a567 12:45:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:45:26 ---> Running in 5ac3d2c6762f 12:45:26 Removing intermediate container 5ac3d2c6762f 12:45:26 ---> 36557e31438b 12:45:26 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:45:26 ---> Running in ea733df3fd91 12:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:45:26 OK: 264 MiB in 52 packages 12:45:26 Removing intermediate container ea733df3fd91 12:45:26 ---> 5664e56e6480 12:45:26 Step 7/12 : WORKDIR /app 12:45:26 ---> Running in 24436f2f90d2 12:45:26 Removing intermediate container 24436f2f90d2 12:45:26 ---> 062773926bf1 12:45:26 Step 8/12 : COPY go.mod vendor* ./ 12:45:27 ---> 870f48e9767c 12:45:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:45:27 ---> Running in 78dca13e58d8 12:45:27 Still waiting to schedule task 12:45:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:46:34 Removing intermediate container 78dca13e58d8 12:46:34 ---> 5bf6b0cf5fac 12:46:34 Step 10/12 : COPY . . 12:46:34 ---> 8efa3195aba4 12:46:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:46:34 ---> Running in fd83f336c4cf 12:46:34 Removing intermediate container fd83f336c4cf 12:46:34 ---> 176cef1e3a1a 12:46:34 Step 12/12 : RUN $MAKE 12:46:34 ---> Running in f51055b44508 12:46:34 noop 12:46:34 Removing intermediate container f51055b44508 12:46:34 ---> c7bf9a5e6cb2 12:46:34 Successfully built c7bf9a5e6cb2 12:46:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:35 + docker inspect -f . ci-base-image-x86_64 12:46:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:46:35 prd-ubuntu20.04-docker-8c-8g-9410 does not seem to be running inside a container 12:46:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-606 -v /w/workspace/_app-service-configurable_PR-606:/w/workspace/_app-service-configurable_PR-606:rw,z -v /w/workspace/_app-service-configurable_PR-606@tmp:/w/workspace/_app-service-configurable_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:46:35 $ docker top 3062e94c4153de97854ebd8c6685fe24a1ea39707eff0bc713a09667964ab0b2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:46:36 + go version 12:46:36 go version go1.21.0 linux/amd64 [Pipeline] } 12:46:36 $ docker stop --time=1 3062e94c4153de97854ebd8c6685fe24a1ea39707eff0bc713a09667964ab0b2 12:46:37 $ docker rm -f --volumes 3062e94c4153de97854ebd8c6685fe24a1ea39707eff0bc713a09667964ab0b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:38 + docker inspect -f . ci-base-image-x86_64 12:46:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:46:38 prd-ubuntu20.04-docker-8c-8g-9410 does not seem to be running inside a container 12:46:38 $ 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-606 -v /w/workspace/_app-service-configurable_PR-606:/w/workspace/_app-service-configurable_PR-606:rw,z -v /w/workspace/_app-service-configurable_PR-606@tmp:/w/workspace/_app-service-configurable_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:46:38 $ docker top 0150e80fbf5043ac38ab8267f247c2d86f714ca50826f45e0e8900c5bf6d65a9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:46:39 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-606 [Pipeline] fileExists [Pipeline] sh 12:46:39 + make test 12:46:39 go test -race -coverprofile=coverage.out ./... 12:46:57 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:46:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9411 in /w/workspace/_app-service-configurable_PR-606 [Pipeline] { [Pipeline] ws 12:46:58 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:46:58 Selected Git installation does not exist. Using Default 12:46:58 The recommended git tool is: NONE 12:47:03 using credential edgex-jenkins-ssh 12:47:03 Cloning the remote Git repository 12:47:03 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:47:03 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:47:03 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:47:03 > git --version # timeout=10 12:47:04 > git --version # 'git version 2.25.1' 12:47:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:47:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:47:05 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:47:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:47:06 Merging remotes/origin/main commit 2a5656b3b395cf8cfe31680cbc98c945be996873 into PR head commit 478c50bf08fb470a70ea1c32af7d76e967cabd66 12:47:07 Merge succeeded, producing 478c50bf08fb470a70ea1c32af7d76e967cabd66 12:47:07 Checking out Revision 478c50bf08fb470a70ea1c32af7d76e967cabd66 (PR-606) 12:47:06 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:47:06 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:47:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:47:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/606/head:refs/remotes/origin/PR-606 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:47:06 > git config core.sparsecheckout # timeout=10 12:47:06 > git checkout -f 478c50bf08fb470a70ea1c32af7d76e967cabd66 # timeout=10 12:47:07 > git remote # timeout=10 12:47:07 > git config --get remote.origin.url # timeout=10 12:47:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:47:07 > git merge 2a5656b3b395cf8cfe31680cbc98c945be996873 # timeout=10 12:47:07 > git rev-parse HEAD^{commit} # timeout=10 12:47:07 > git config core.sparsecheckout # timeout=10 12:47:07 > git checkout -f 478c50bf08fb470a70ea1c32af7d76e967cabd66 # timeout=10 12:47:07 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:47:07 > git --version # timeout=10 12:47:07 > git --version # 'git version 2.25.1' 12:47:07 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:47:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:47:08 % Total % Received % Xferd Average Speed Time Time Time Current 12:47:08 Dload Upload Total Spent Left Speed 12:47:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 12:47:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:47:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:47:09 + sudo tee /etc/docker/daemon.new 12:47:09 { 12:47:09 "registry-mirrors": [ 12:47:09 "https://nexus3.edgexfoundry.org:10001" 12:47:09 ], 12:47:09 "bip": "10.250.0.254/24", 12:47:09 "hosts": [ 12:47:09 "tcp://0.0.0.0:5555", 12:47:09 "unix:///var/run/docker.sock" 12:47:09 ], 12:47:09 "mtu": 1458, 12:47:09 "selinux-enabled": true, 12:47:09 "seccomp-profile": "/etc/docker/seccomp.json" 12:47:09 } [Pipeline] sh 12:47:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:47:10 + sudo service docker restart 12:47:12 go vet ./... 12:47:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:47:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:47:16 ./bin/test-attribution-txt.sh [Pipeline] echo 12:47:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:47:16 $ docker stop --time=1 0150e80fbf5043ac38ab8267f247c2d86f714ca50826f45e0e8900c5bf6d65a9 12:47:20 $ docker rm -f --volumes 0150e80fbf5043ac38ab8267f247c2d86f714ca50826f45e0e8900c5bf6d65a9 [Pipeline] // withDockerContainer [Pipeline] sh 12:47:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:47:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:47:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:47:22 + ls -al . 12:47:22 total 184 12:47:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 12:46 . 12:47:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 12:44 .. 12:47:22 -rw-rw-r-- 1 jenkins jenkins 119 Oct 17 12:44 .dockerignore 12:47:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 12:46 .git 12:47:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 12:44 .github 12:47:22 -rw-rw-r-- 1 jenkins jenkins 171 Oct 17 12:44 .gitignore 12:47:22 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 12:44 .golangci.yml 12:47:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 12:45 .semver 12:47:22 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 17 12:44 Attribution.txt 12:47:22 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 17 12:44 CHANGELOG.md 12:47:22 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 17 12:44 Dockerfile 12:47:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 12:44 GOVERNANCE.md 12:47:22 -rw-rw-r-- 1 jenkins jenkins 688 Oct 17 12:44 Jenkinsfile 12:47:22 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 17 12:44 LICENSE 12:47:22 -rw-rw-r-- 1 jenkins jenkins 618 Oct 17 12:44 OWNERS.md 12:47:22 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 17 12:44 README.md 12:47:22 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 12:45 VERSION 12:47:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 12:44 bin 12:47:22 -rw-r--r-- 1 jenkins jenkins 13 Oct 17 12:46 coverage.out 12:47:22 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 17 12:44 go.mod 12:47:22 -rw-rw-r-- 1 jenkins jenkins 35448 Oct 17 12:44 go.sum 12:47:22 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 17 12:44 main.go 12:47:22 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 17 12:44 makefile 12:47:22 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 12:44 res 12:47:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 12:44 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:22 + 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=478c50bf08fb470a70ea1c32af7d76e967cabd66 --label arch=amd64 --label version=0.0.0 . 12:47:22 Sending build context to Docker daemon 3.377MB 12:47:22 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:47:22 Step 2/26 : FROM ${BASE} AS builder 12:47:22 ---> c7bf9a5e6cb2 12:47:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:47:22 ---> Running in 533490ff00f0 12:47:23 Removing intermediate container 533490ff00f0 12:47:23 ---> 8097b572719c 12:47:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:47:23 ---> Running in 2eb7e6d79a8f 12:47:23 Removing intermediate container 2eb7e6d79a8f 12:47:23 ---> 11848cbe8e55 12:47:23 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:47:23 ---> Running in de0941074605 12:47:23 Removing intermediate container de0941074605 12:47:23 ---> ceae30e2fc44 12:47:23 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:47:23 ---> Running in f1b6213216a3 12:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:47:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:47:23 OK: 264 MiB in 52 packages 12:47:24 Removing intermediate container f1b6213216a3 12:47:24 ---> 7b7a9c4e0656 12:47:24 Step 7/26 : WORKDIR /app 12:47:24 ---> Running in 0942984f0991 12:47:24 Removing intermediate container 0942984f0991 12:47:24 ---> 55e6ceee085d 12:47:24 Step 8/26 : COPY go.mod vendor* ./ 12:47:24 ---> 8fe53d32ea1d 12:47:24 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:47:24 ---> Running in be9989e30173 12:47:25 Removing intermediate container be9989e30173 12:47:25 ---> 93339e999f31 12:47:25 Step 10/26 : COPY . . 12:47:25 ---> 10b6011150d3 12:47:25 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:47:25 ---> Running in 453a76c06de9 12:47:25 Removing intermediate container 453a76c06de9 12:47:25 ---> 83813ef9b530 12:47:25 Step 12/26 : RUN $MAKE 12:47:25 ---> Running in d63f9371b6ec 12:47:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:47:32 provisioning config files... 12:47:32 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config10132864002182909929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:47:33 ---> docker-login.sh 12:47:33 nexus3.edgexfoundry.org:10001 12:47:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:33 Configure a credential helper to remove this warning. See 12:47:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:33 12:47:33 Login Succeeded 12:47:33 nexus3.edgexfoundry.org:10002 12:47:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:34 Configure a credential helper to remove this warning. See 12:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:34 12:47:34 Login Succeeded 12:47:34 nexus3.edgexfoundry.org:10003 12:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:34 Configure a credential helper to remove this warning. See 12:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:34 12:47:34 Login Succeeded 12:47:34 nexus3.edgexfoundry.org:10004 12:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:34 Configure a credential helper to remove this warning. See 12:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:34 12:47:34 Login Succeeded 12:47:34 docker.io 12:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:35 Configure a credential helper to remove this warning. See 12:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:35 12:47:35 Login Succeeded 12:47:35 ---> docker-login.sh ends [Pipeline] } 12:47:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:47:35 ========================================================= 12:47:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:47:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:47:36 Sending build context to Docker daemon 181.8kB 12:47:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:47:36 Step 2/12 : FROM ${BASE} AS builder 12:47:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:47:36 9fda8d8052c6: Pulling fs layer 12:47:36 5d54e960e981: Pulling fs layer 12:47:36 c4a7e357bf2a: Pulling fs layer 12:47:36 f0e02332f6b5: Pulling fs layer 12:47:36 cefa15bbcfad: Pulling fs layer 12:47:36 f0e02332f6b5: Waiting 12:47:36 17808c966233: Pulling fs layer 12:47:36 f4c1fc716caa: Pulling fs layer 12:47:36 cefa15bbcfad: Waiting 12:47:36 17808c966233: Waiting 12:47:36 f4c1fc716caa: Waiting 12:47:36 5d54e960e981: Verifying Checksum 12:47:36 5d54e960e981: Download complete 12:47:36 f0e02332f6b5: Verifying Checksum 12:47:36 f0e02332f6b5: Download complete 12:47:36 cefa15bbcfad: Verifying Checksum 12:47:36 cefa15bbcfad: Download complete 12:47:36 9fda8d8052c6: Verifying Checksum 12:47:36 9fda8d8052c6: Download complete 12:47:37 f4c1fc716caa: Verifying Checksum 12:47:37 f4c1fc716caa: Download complete 12:47:38 c4a7e357bf2a: Verifying Checksum 12:47:38 c4a7e357bf2a: Download complete 12:47:39 9fda8d8052c6: Pull complete 12:47:39 17808c966233: Verifying Checksum 12:47:39 17808c966233: Download complete 12:47:39 5d54e960e981: Pull complete 12:47:43 Removing intermediate container d63f9371b6ec 12:47:43 ---> 0a496af731ab 12:47:43 Step 13/26 : FROM alpine:3.18 12:47:43 3.18: Pulling from library/alpine 12:47:43 96526aa774ef: Pulling fs layer 12:47:43 96526aa774ef: Download complete 12:47:43 96526aa774ef: Pull complete 12:47:43 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:47:43 Status: Downloaded newer image for alpine:3.18 12:47:43 ---> 8ca4688f4f35 12:47:43 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:47:43 ---> Running in 198e97c83b18 12:47:43 Removing intermediate container 198e97c83b18 12:47:43 ---> 7b922a812a37 12:47:43 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:47:43 ---> Running in 3c9ddc8c11c0 12:47:43 Removing intermediate container 3c9ddc8c11c0 12:47:43 ---> f2928d1c6c7d 12:47:43 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:47:43 ---> Running in a5079fd1a3dc 12:47:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:47:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:47:44 (1/2) Installing ca-certificates (20230506-r0) 12:47:44 (2/2) Installing dumb-init (1.2.5-r2) 12:47:44 Executing busybox-1.36.1-r2.trigger 12:47:44 Executing ca-certificates-20230506-r0.trigger 12:47:44 OK: 8 MiB in 17 packages 12:47:44 Removing intermediate container a5079fd1a3dc 12:47:44 ---> c3a85faea8c3 12:47:44 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:47:44 ---> 1a9394da134c 12:47:44 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:47:45 ---> 4daa4ed76e65 12:47:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:47:45 ---> 90c0dffb2eda 12:47:45 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:47:46 ---> d5ecebd7d76f 12:47:46 Step 21/26 : EXPOSE 48095 12:47:46 ---> Running in d65d2d10fd54 12:47:46 Removing intermediate container d65d2d10fd54 12:47:46 ---> 91a93c7d0034 12:47:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:47:46 ---> Running in 18b158a1ae5e 12:47:46 Removing intermediate container 18b158a1ae5e 12:47:46 ---> 0859eaccc5f1 12:47:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:47:46 ---> Running in 016076ea618b 12:47:46 Removing intermediate container 016076ea618b 12:47:46 ---> 291ea0ae15b4 12:47:46 Step 24/26 : LABEL arch=amd64 12:47:46 ---> Running in 8783bd4e662a 12:47:46 Removing intermediate container 8783bd4e662a 12:47:46 ---> 7ae39b2d15d2 12:47:46 Step 25/26 : LABEL git_sha=478c50bf08fb470a70ea1c32af7d76e967cabd66 12:47:46 ---> Running in 4d5dccbfb7de 12:47:46 Removing intermediate container 4d5dccbfb7de 12:47:46 ---> b9a3c9d83ddf 12:47:46 Step 26/26 : LABEL version=0.0.0 12:47:46 ---> Running in 73ba2dda3205 12:47:46 Removing intermediate container 73ba2dda3205 12:47:46 ---> 2807a40e6267 12:47:46 [Warning] One or more build-args [ARCH] were not consumed 12:47:46 Successfully built 2807a40e6267 12:47:46 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 12:47:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:47:47 12:47:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:47:47 latest: Pulling from edgex-lftools-log-publisher 12:47:47 5eb5b503b376: Pulling fs layer 12:47:47 5c69ac0246d0: Pulling fs layer 12:47:47 ec43610c2a17: Pulling fs layer 12:47:47 3a2ae6a8a46f: Pulling fs layer 12:47:47 33b1e0a273af: Pulling fs layer 12:47:47 5d3b04190fa2: Pulling fs layer 12:47:47 2f39f015ded8: Pulling fs layer 12:47:47 3a2ae6a8a46f: Waiting 12:47:47 5d3b04190fa2: Waiting 12:47:47 2f39f015ded8: Waiting 12:47:47 33b1e0a273af: Waiting 12:47:47 5c69ac0246d0: Download complete 12:47:47 3a2ae6a8a46f: Verifying Checksum 12:47:47 3a2ae6a8a46f: Download complete 12:47:47 33b1e0a273af: Verifying Checksum 12:47:47 33b1e0a273af: Download complete 12:47:47 ec43610c2a17: Verifying Checksum 12:47:47 ec43610c2a17: Download complete 12:47:47 5d3b04190fa2: Verifying Checksum 12:47:47 5d3b04190fa2: Download complete 12:47:48 5eb5b503b376: Verifying Checksum 12:47:48 5eb5b503b376: Download complete 12:47:48 2f39f015ded8: Download complete 12:47:49 5eb5b503b376: Pull complete 12:47:49 5c69ac0246d0: Pull complete 12:47:49 ec43610c2a17: Pull complete 12:47:49 3a2ae6a8a46f: Pull complete 12:47:50 33b1e0a273af: Pull complete 12:47:50 5d3b04190fa2: Pull complete 12:47:54 2f39f015ded8: Pull complete 12:47:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:47:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:47:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:47:54 prd-ubuntu20.04-docker-8c-8g-9410 does not seem to be running inside a container 12:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-606 -v /w/workspace/_app-service-configurable_PR-606:/w/workspace/_app-service-configurable_PR-606:rw,z -v /w/workspace/_app-service-configurable_PR-606@tmp:/w/workspace/_app-service-configurable_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:47:54 c4a7e357bf2a: Pull complete 12:47:54 f0e02332f6b5: Pull complete 12:47:54 cefa15bbcfad: Pull complete 12:47:57 $ docker top d73f0f709f43803736681cfe46c8d59f6e3a9145e0a323e9e1932090df8aba13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:47:58 ---> job-cost.sh 12:47:58 lf-activate-venv: SKIPPING 12:47:58 INFO: No Stack... 12:47:58 INFO: Retrieving Pricing Info for: v3-standard-8 12:47:59 INFO: Archiving Costs [Pipeline] sh 12:47:59 + cat /w/workspace/_app-service-configurable_PR-606/archives/cost.csv 12:47:59 + cut -d, -f6 [Pipeline] lock 12:47:59 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-606-1-stack-cost] 12:47:59 Resource [jenkins-edgexfoundry-app-service-configurable-PR-606-1-stack-cost] did not exist. Created. 12:47:59 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-606-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:47:59 + echo total: 0.2199999988079071 [Pipeline] stash 12:47:59 Stashed 1 file(s) [Pipeline] } 12:47:59 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-606-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:47:59 $ docker stop --time=1 d73f0f709f43803736681cfe46c8d59f6e3a9145e0a323e9e1932090df8aba13 12:48:01 $ docker rm -f --volumes d73f0f709f43803736681cfe46c8d59f6e3a9145e0a323e9e1932090df8aba13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 12:48:01 17808c966233: Pull complete [Pipeline] // stage [Pipeline] } 12:48:02 f4c1fc716caa: Pull complete 12:48:02 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:48:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:48:02 ---> ea914061e18c 12:48:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:48:04 ---> Running in 0347f236ab96 12:48:04 Removing intermediate container 0347f236ab96 12:48:04 ---> f91439a6f1cf 12:48:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:48:05 ---> Running in ac7ab30856e7 12:48:05 Removing intermediate container ac7ab30856e7 12:48:05 ---> 69a6781869b2 12:48:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:48:05 ---> Running in bb26bdc09125 12:48:05 Removing intermediate container bb26bdc09125 12:48:05 ---> 87fbed1edec1 12:48:05 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:48:05 ---> Running in 7bd9ca443ac1 12:48:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:48:08 OK: 266 MiB in 52 packages 12:48:09 Removing intermediate container 7bd9ca443ac1 12:48:09 ---> 99ab8b77704d 12:48:09 Step 7/12 : WORKDIR /app 12:48:09 ---> Running in 290c719e7de0 12:48:09 Removing intermediate container 290c719e7de0 12:48:09 ---> e09a195bd17f 12:48:09 Step 8/12 : COPY go.mod vendor* ./ 12:48:10 ---> d595b1a00cde 12:48:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:48:10 ---> Running in a472c50e1eee 12:50:01 Removing intermediate container a472c50e1eee 12:50:01 ---> a7f6c16828a4 12:50:01 Step 10/12 : COPY . . 12:50:01 ---> b621853c76d9 12:50:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:50:01 ---> Running in c33b6231d586 12:50:01 Removing intermediate container c33b6231d586 12:50:01 ---> 8d60eeb00220 12:50:01 Step 12/12 : RUN $MAKE 12:50:01 ---> Running in 090e029eef20 12:50:01 noop 12:50:01 Removing intermediate container 090e029eef20 12:50:01 ---> 44ed8daefb0a 12:50:01 Successfully built 44ed8daefb0a 12:50:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:02 + docker inspect -f . ci-base-image-arm64 12:50:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:02 prd-ubuntu20.04-docker-arm64-4c-16g-9411 does not seem to be running inside a container 12:50:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:50:03 $ docker top f46a8ef205ad60a39b74efa18419ce3aec66c1daf126a940970a94e87aa95a47 -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:04 + go version 12:50:04 go version go1.21.0 linux/arm64 [Pipeline] } 12:50:04 $ docker stop --time=1 f46a8ef205ad60a39b74efa18419ce3aec66c1daf126a940970a94e87aa95a47 12:50:08 $ docker rm -f --volumes f46a8ef205ad60a39b74efa18419ce3aec66c1daf126a940970a94e87aa95a47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:09 + docker inspect -f . ci-base-image-arm64 12:50:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:09 prd-ubuntu20.04-docker-arm64-4c-16g-9411 does not seem to be running inside a container 12:50:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:50:11 $ docker top 75bfbf3e9d49b667f84f8112395caa99df183e3b119ed0a705459943fd7f329b -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:11 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:50:12 + make test 12:50:12 go test -race -coverprofile=coverage.out ./... 12:52:34 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:52:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:52:34 go vet ./... 12:54:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:54:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:54:11 ./bin/test-attribution-txt.sh [Pipeline] echo 12:54:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:54:11 $ docker stop --time=1 75bfbf3e9d49b667f84f8112395caa99df183e3b119ed0a705459943fd7f329b 12:54:13 $ docker rm -f --volumes 75bfbf3e9d49b667f84f8112395caa99df183e3b119ed0a705459943fd7f329b [Pipeline] // withDockerContainer [Pipeline] sh 12:54:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:54:15 Warning: overwriting stash ‘coverage-report’ 12:54:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:54:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:54:16 + ls -al . 12:54:16 total 180 12:54:16 drwxrwxr-x 7 jenkins jenkins 4096 Oct 17 12:50 . 12:54:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 12:47 .. 12:54:16 -rw-rw-r-- 1 jenkins jenkins 119 Oct 17 12:47 .dockerignore 12:54:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 12:47 .git 12:54:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 12:47 .github 12:54:16 -rw-rw-r-- 1 jenkins jenkins 171 Oct 17 12:47 .gitignore 12:54:16 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 12:47 .golangci.yml 12:54:16 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 17 12:47 Attribution.txt 12:54:16 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 17 12:47 CHANGELOG.md 12:54:16 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 17 12:47 Dockerfile 12:54:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 12:47 GOVERNANCE.md 12:54:16 -rw-rw-r-- 1 jenkins jenkins 688 Oct 17 12:47 Jenkinsfile 12:54:16 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 17 12:47 LICENSE 12:54:16 -rw-rw-r-- 1 jenkins jenkins 618 Oct 17 12:47 OWNERS.md 12:54:16 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 17 12:47 README.md 12:54:16 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 12:45 VERSION 12:54:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 12:47 bin 12:54:16 -rw-r--r-- 1 jenkins jenkins 13 Oct 17 12:50 coverage.out 12:54:16 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 17 12:47 go.mod 12:54:16 -rw-rw-r-- 1 jenkins jenkins 35448 Oct 17 12:47 go.sum 12:54:16 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 17 12:47 main.go 12:54:16 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 17 12:47 makefile 12:54:16 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 12:47 res 12:54:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 12:47 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:16 + 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=478c50bf08fb470a70ea1c32af7d76e967cabd66 --label arch=arm64 --label version=0.0.0 . 12:54:16 Sending build context to Docker daemon 182.8kB 12:54:17 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:54:17 Step 2/26 : FROM ${BASE} AS builder 12:54:17 ---> 44ed8daefb0a 12:54:17 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:54:17 ---> Running in 1b08a45b3fcc 12:54:17 Removing intermediate container 1b08a45b3fcc 12:54:17 ---> 58304465ac19 12:54:17 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:54:17 ---> Running in 3d548e5252e7 12:54:18 Removing intermediate container 3d548e5252e7 12:54:18 ---> 80174489cf10 12:54:18 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:54:18 ---> Running in 40e87127ef10 12:54:18 Removing intermediate container 40e87127ef10 12:54:18 ---> 728f94988f97 12:54:18 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:54:18 ---> Running in 2905aca27474 12:54:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:54:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:54:20 OK: 266 MiB in 52 packages 12:54:22 Removing intermediate container 2905aca27474 12:54:22 ---> 0f166bd6fc98 12:54:22 Step 7/26 : WORKDIR /app 12:54:22 ---> Running in 4fae4e2827bb 12:54:22 Removing intermediate container 4fae4e2827bb 12:54:22 ---> 2417c2f6be1b 12:54:22 Step 8/26 : COPY go.mod vendor* ./ 12:54:23 ---> 8c1ab57365d9 12:54:23 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:54:23 ---> Running in 63da3743fb96 12:54:25 Removing intermediate container 63da3743fb96 12:54:25 ---> d41c4df945b4 12:54:25 Step 10/26 : COPY . . 12:54:26 ---> 0c9e0b217659 12:54:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:54:26 ---> Running in 3ea631453a32 12:54:26 Removing intermediate container 3ea631453a32 12:54:26 ---> 94a3a2f85800 12:54:26 Step 12/26 : RUN $MAKE 12:54:26 ---> Running in c1df86e49b71 12:54:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.40 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:56:19 Removing intermediate container c1df86e49b71 12:56:19 ---> 907274c2c05f 12:56:19 Step 13/26 : FROM alpine:3.18 12:56:19 3.18: Pulling from library/alpine 12:56:19 579b34f0a95b: Pulling fs layer 12:56:19 579b34f0a95b: Verifying Checksum 12:56:19 579b34f0a95b: Download complete 12:56:19 579b34f0a95b: Pull complete 12:56:19 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:56:19 Status: Downloaded newer image for alpine:3.18 12:56:19 ---> 3cc203321400 12:56:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:56:19 ---> Running in db6dc816b0ad 12:56:19 Removing intermediate container db6dc816b0ad 12:56:19 ---> 07acea8ae1c9 12:56:19 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:56:19 ---> Running in 78dd1d513c8b 12:56:19 Removing intermediate container 78dd1d513c8b 12:56:19 ---> 59f015192598 12:56:19 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:56:19 ---> Running in c269a4162609 12:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:56:19 (1/2) Installing ca-certificates (20230506-r0) 12:56:19 (2/2) Installing dumb-init (1.2.5-r2) 12:56:19 Executing busybox-1.36.1-r2.trigger 12:56:19 Executing ca-certificates-20230506-r0.trigger 12:56:19 OK: 9 MiB in 17 packages 12:56:19 Removing intermediate container c269a4162609 12:56:19 ---> bc00f89228e8 12:56:19 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:56:19 ---> 175446eb8a15 12:56:19 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:56:19 ---> 8bc3e038f793 12:56:19 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:56:19 ---> 98c824a419f2 12:56:19 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:56:19 ---> 78442087d25f 12:56:19 Step 21/26 : EXPOSE 48095 12:56:19 ---> Running in 20f5aaf58c10 12:56:19 Removing intermediate container 20f5aaf58c10 12:56:19 ---> 4ab1c03a27e0 12:56:19 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:56:19 ---> Running in 102c4beb93e0 12:56:19 Removing intermediate container 102c4beb93e0 12:56:19 ---> 3cf5ee3f2df3 12:56:19 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:56:19 ---> Running in 048f7831b6d4 12:56:19 Removing intermediate container 048f7831b6d4 12:56:19 ---> 8b88ba07e368 12:56:19 Step 24/26 : LABEL arch=arm64 12:56:19 ---> Running in da8049e1e9d1 12:56:19 Removing intermediate container da8049e1e9d1 12:56:19 ---> 5368d7cf90e7 12:56:19 Step 25/26 : LABEL git_sha=478c50bf08fb470a70ea1c32af7d76e967cabd66 12:56:19 ---> Running in 229c6990e57e 12:56:19 Removing intermediate container 229c6990e57e 12:56:19 ---> 82eb65a809bd 12:56:19 Step 26/26 : LABEL version=0.0.0 12:56:19 ---> Running in b628567fc7ba 12:56:20 Removing intermediate container b628567fc7ba 12:56:20 ---> ebb4c160629e 12:56:20 [Warning] One or more build-args [ARCH] were not consumed 12:56:20 Successfully built ebb4c160629e 12:56:20 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 12:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:56:20 12:56:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:56:23 arm64: Pulling from edgex-lftools-log-publisher 12:56:23 8998bd30e6a1: Pulling fs layer 12:56:23 04944245beec: Pulling fs layer 12:56:23 699f458cf7ca: Pulling fs layer 12:56:23 765212b225bb: Pulling fs layer 12:56:23 f23df028b6ca: Pulling fs layer 12:56:23 d65c8cfc05b1: Pulling fs layer 12:56:23 2437ff75d9bd: Pulling fs layer 12:56:23 765212b225bb: Waiting 12:56:23 f23df028b6ca: Waiting 12:56:23 d65c8cfc05b1: Waiting 12:56:23 2437ff75d9bd: Waiting 12:56:23 04944245beec: Verifying Checksum 12:56:23 04944245beec: Download complete 12:56:23 765212b225bb: Verifying Checksum 12:56:23 765212b225bb: Download complete 12:56:23 f23df028b6ca: Verifying Checksum 12:56:23 f23df028b6ca: Download complete 12:56:23 d65c8cfc05b1: Download complete 12:56:23 699f458cf7ca: Verifying Checksum 12:56:23 699f458cf7ca: Download complete 12:56:24 8998bd30e6a1: Verifying Checksum 12:56:24 8998bd30e6a1: Download complete 12:56:26 2437ff75d9bd: Verifying Checksum 12:56:26 2437ff75d9bd: Download complete 12:56:28 8998bd30e6a1: Pull complete 12:56:29 04944245beec: Pull complete 12:56:30 699f458cf7ca: Pull complete 12:56:30 765212b225bb: Pull complete 12:56:31 f23df028b6ca: Pull complete 12:56:32 d65c8cfc05b1: Pull complete 12:56:50 2437ff75d9bd: Pull complete 12:56:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:56:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:56:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:56:50 prd-ubuntu20.04-docker-arm64-4c-16g-9411 does not seem to be running inside a container 12:56:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:56:53 $ docker top e242fd9f652ebc909a152f5365cdcde831852624e46313bb95be46b6350127da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:53 ---> job-cost.sh 12:56:53 lf-activate-venv: SKIPPING 12:56:53 INFO: No Stack... 12:56:54 INFO: Retrieving Pricing Info for: v3-standard-4 12:56:55 INFO: Archiving Costs [Pipeline] sh 12:56:55 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:56:55 + cut -d, -f6 [Pipeline] lock 12:56:55 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-606-1-stack-cost] 12:56:55 Resource [jenkins-edgexfoundry-app-service-configurable-PR-606-1-stack-cost] did not exist. Created. 12:56:55 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-606-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:56:56 /w/workspace/app-service-configurable/1@tmp/durable-e8b67239/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:56:56 + echo total: 0.10999999940395355 [Pipeline] stash 12:56:56 Warning: overwriting stash ‘stack-cost’ 12:56:56 Stashed 1 file(s) [Pipeline] } 12:56:56 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-606-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:56:56 $ docker stop --time=1 e242fd9f652ebc909a152f5365cdcde831852624e46313bb95be46b6350127da 12:56:58 $ docker rm -f --volumes e242fd9f652ebc909a152f5365cdcde831852624e46313bb95be46b6350127da [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 12:56:59 provisioning config files... 12:56:59 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-606@tmp/config17257253431319128629tmp [Pipeline] { [Pipeline] sh 12:56:59 + set +x 12:56:59 + bash -s -- 12:56:59 + curl -s https://codecov.io/bash 12:56:59 12:56:59 _____ _ 12:56:59 / ____| | | 12:56:59 | | ___ __| | ___ ___ _____ __ 12:56:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:56:59 | |___| (_) | (_| | __/ (_| (_) \ V / 12:56:59 \_____\___/ \__,_|\___|\___\___/ \_/ 12:56:59 Bash-1.0.6 12:56:59 12:56:59 12:56:59 ==> git version 2.25.1 found 12:56:59 ==> 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 12:56:59 Release-Date: 2020-01-08 12:56:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:56:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:56:59 ==> Jenkins CI detected. 12:56:59 current dir:  /w/workspace/_app-service-configurable_PR-606 12:56:59 project root: . 12:56:59 --> token set from env 12:56:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:56:59 ==> Running gcov in . (disable via -X gcov) 12:56:59 ==> Python coveragepy not found 12:56:59 ==> Searching for coverage reports in: 12:56:59 + . 12:56:59 -> Found 1 reports 12:56:59 ==> Detecting git/mercurial file structure 12:56:59 ==> Reading reports 12:56:59 + ./coverage.out bytes=13 12:56:59 ==> Appending adjustments 12:56:59 https://docs.codecov.io/docs/fixing-reports 12:56:59 + Found adjustments 12:56:59 ==> Gzipping contents 12:56:59 4.0K /tmp/codecov.cEKskx.gz 12:56:59 ==> Uploading reports 12:56:59 url: https://codecov.io 12:56:59 query: branch=PR-606&commit=478c50bf08fb470a70ea1c32af7d76e967cabd66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-606%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=606&job=&cmd_args= 12:56:59 -> Pinging Codecov 12:56:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-606&commit=478c50bf08fb470a70ea1c32af7d76e967cabd66&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-606%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=606&job=&cmd_args= 12:56:59 -> Uploading to 12:56:59 https://storage.googleapis.com/codecov/v4/raw/2023-10-17/A97CA9966030D2A3747ED39772930CCE/478c50bf08fb470a70ea1c32af7d76e967cabd66/97beb4f7-93bc-4130-9cfe-029bbd7269a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231017T125659Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30bfb0b73145815166703fcc20a59aa7feb478359dd6caf45756e79e9f3a479d 12:56:59 % Total % Received % Xferd Average Speed Time Time Time Current 12:56:59 Dload Upload Total Spent Left Speed 12:57:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1612 --:--:-- --:--:-- --:--:-- 1612 12:57:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/478c50bf08fb470a70ea1c32af7d76e967cabd66 [Pipeline] } 12:57:00 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 12:57:02 + [ -d /w/workspace/_app-service-configurable_PR-606/archives ] 12:57:02 + ls -al /w/workspace/_app-service-configurable_PR-606/archives 12:57:02 total 16 12:57:02 drwxr-xr-x 3 root root 4096 Oct 17 12:47 . 12:57:02 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 12:47 .. 12:57:02 drwxr-xr-x 2 root root 4096 Oct 17 12:47 cost 12:57:02 -rw-r--r-- 1 root root 96 Oct 17 12:47 cost.csv 12:57:02 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-606/archives 12:57:02 + ls -al /w/workspace/_app-service-configurable_PR-606/archives 12:57:02 total 16 12:57:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 12:47 . 12:57:02 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 12:47 .. 12:57:02 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 12:47 cost 12:57:02 -rw-r--r-- 1 jenkins jenkins 96 Oct 17 12:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:57:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:57:03 ---> package-listing.sh 12:57:03 ++ facter osfamily 12:57:03 ++ tr '[:upper:]' '[:lower:]' 12:57:03 + OS_FAMILY=debian 12:57:03 + workspace=/w/workspace/_app-service-configurable_PR-606 12:57:03 + START_PACKAGES=/tmp/packages_start.txt 12:57:03 + END_PACKAGES=/tmp/packages_end.txt 12:57:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:57:03 + PACKAGES=/tmp/packages_start.txt 12:57:03 + '[' /w/workspace/_app-service-configurable_PR-606 ']' 12:57:03 + PACKAGES=/tmp/packages_end.txt 12:57:03 + case "${OS_FAMILY}" in 12:57:03 + dpkg -l 12:57:03 + grep '^ii' 12:57:03 + '[' -f /tmp/packages_start.txt ']' 12:57:03 + '[' -f /tmp/packages_end.txt ']' 12:57:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:57:03 + '[' /w/workspace/_app-service-configurable_PR-606 ']' 12:57:03 + mkdir -p /w/workspace/_app-service-configurable_PR-606/archives/ 12:57:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-606/archives/ [Pipeline] echo 12:57:03 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-606/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:57:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:04 prd-ubuntu20.04-docker-8c-8g-9410 does not seem to be running inside a container 12:57:04 $ 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-606/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-606 -v /w/workspace/_app-service-configurable_PR-606:/w/workspace/_app-service-configurable_PR-606:rw,z -v /w/workspace/_app-service-configurable_PR-606@tmp:/w/workspace/_app-service-configurable_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:57:04 $ docker top 54a977d8ef6a880f9915d05d37afe84be43bb276e4c0e0d87c12291e628c4485 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:05 + touch /tmp/pre-build-complete [Pipeline] sh 12:57:05 + mkdir -p /var/log/sysstat [Pipeline] sh 12:57:06 + ls /var/log/sa-host 12:57:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:57:06 provisioning config files... 12:57:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-606@tmp/config10099546788435449036tmp [Pipeline] { [Pipeline] echo 12:57:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:57:06 ---> create-netrc.sh [Pipeline] } 12:57:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:57:07 ---> python-tools-install.sh [Pipeline] echo 12:57:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:57:07 ---> sudo-logs.sh 12:57:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:57:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:57:07 ---> job-cost.sh 12:57:07 lf-activate-venv: SKIPPING 12:57:07 DEBUG: total: 0.2199999988079071 12:57:07 INFO: Retrieving Stack Cost... 12:57:08 INFO: Retrieving Pricing Info for: v3-standard-8 12:57:08 INFO: Archiving Costs [Pipeline] echo 12:57:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:57:08 ---> logs-deploy.sh 12:57:08 lf-activate-venv: SKIPPING 12:57:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-606/1 12:57:08 INFO: archiving workspace using pattern(s): 12:57:09 Archives upload complete. 12:57:09 INFO: archiving logs to Nexus