Pull request #552 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0b463a9447967e4893ec3a48b93454e07f983efd+42849b84e1aa64fff78d6352030ff1fd7abd87e1 (6beebd4be599657cf7a20f7e4f263fa3ff359f4b) 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-ssh524735473164592401.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1314968439970915066.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-552/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-552/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14796014859022940230.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-552/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16206192463179731140.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh13436415391600065100.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-552/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-552/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7207560973562306540.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11893 in /w/workspace/_app-service-configurable_PR-552 [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-552 # 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 Merging remotes/origin/main commit 42849b84e1aa64fff78d6352030ff1fd7abd87e1 into PR head commit 0b463a9447967e4893ec3a48b93454e07f983efd Merge succeeded, producing 0b463a9447967e4893ec3a48b93454e07f983efd Checking out Revision 0b463a9447967e4893ec3a48b93454e07f983efd (PR-552) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > 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/552/head:refs/remotes/origin/PR-552 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b463a9447967e4893ec3a48b93454e07f983efd # 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 42849b84e1aa64fff78d6352030ff1fd7abd87e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b463a9447967e4893ec3a48b93454e07f983efd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:17 ========================================================= 12:58:17 EdgeX Global Pipelines Version Info 12:58:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:58:18 ------------------- 12:58:18 stable info: 12:58:18 ------------------- 12:58:18 Commited By: Bill Mahoney bill.mahoney@intel.com 12:58:18 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:58:18 Message: update stable to v1.0.248 12:58:19 ------------------- 12:58:19 experimental info: 12:58:19 ------------------- 12:58:19 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:19 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:58:19 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-552 [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-552 [Pipeline] echo 12:58:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-552 [Pipeline] echo 12:58:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b463a9447967e4893ec3a48b93454e07f983efd [Pipeline] echo 12:58:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b463a9 [Pipeline] echo 12:58:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:21 provisioning config files... 12:58:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-552@tmp/config13218904177536918272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:21 ---> docker-login.sh 12:58:21 nexus3.edgexfoundry.org:10001 12:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:21 Configure a credential helper to remove this warning. See 12:58:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:21 12:58:21 Login Succeeded 12:58:21 nexus3.edgexfoundry.org:10002 12:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:22 Configure a credential helper to remove this warning. See 12:58:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:22 12:58:22 Login Succeeded 12:58:22 nexus3.edgexfoundry.org:10003 12:58:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:22 Configure a credential helper to remove this warning. See 12:58:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:22 12:58:22 Login Succeeded 12:58:22 nexus3.edgexfoundry.org:10004 12:58:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:22 Configure a credential helper to remove this warning. See 12:58:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:22 12:58:22 Login Succeeded 12:58:22 docker.io 12:58:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:22 Configure a credential helper to remove this warning. See 12:58:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:22 12:58:22 Login Succeeded 12:58:22 ---> docker-login.sh ends [Pipeline] } 12:58:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:23 + git rev-list -1 --merges 0b463a9447967e4893ec3a48b93454e07f983efd~1..0b463a9447967e4893ec3a48b93454e07f983efd [Pipeline] echo 12:58:23 -----------> git rev-list -1 --merges 0b463a9447967e4893ec3a48b93454e07f983efd~1..0b463a9447967e4893ec3a48b93454e07f983efd 0b463a9447967e4893ec3a48b93454e07f983efd [false] [Pipeline] sh 12:58:23 + git log --format=format:%s -1 0b463a9447967e4893ec3a48b93454e07f983efd [Pipeline] echo 12:58:23 ========================================================= 12:58:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:24 + git log --format=format:%s -1 0b463a9447967e4893ec3a48b93454e07f983efd [Pipeline] echo 12:58:24 [semverPrep] GIT_COMMIT: 0b463a9447967e4893ec3a48b93454e07f983efd, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:24 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:24 + grep -v github /etc/ssh/ssh_known_hosts 12:58:24 + [ -e /tmp/ssh_known_hosts ] 12:58:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:24 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:24 sudo tee -a /etc/ssh/ssh_known_hosts 12:58:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:25 12:58:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:25 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:25 b85a868b505f: Pulling fs layer 12:58:25 e2be974225ed: Pulling fs layer 12:58:25 339a4e72a1f5: Pulling fs layer 12:58:25 988bab9f4d93: Pulling fs layer 12:58:25 1469e6f7b9e6: Pulling fs layer 12:58:25 eaf3925da568: Pulling fs layer 12:58:25 bab4dde63d76: Pulling fs layer 12:58:25 bde34c3a00c8: Pulling fs layer 12:58:25 b352a97aabf1: Pulling fs layer 12:58:25 4872d77fe225: Pulling fs layer 12:58:25 5851b861e8e6: Pulling fs layer 12:58:25 988bab9f4d93: Waiting 12:58:25 1469e6f7b9e6: Waiting 12:58:25 b352a97aabf1: Waiting 12:58:25 eaf3925da568: Waiting 12:58:25 bde34c3a00c8: Waiting 12:58:25 5851b861e8e6: Waiting 12:58:25 e2be974225ed: Verifying Checksum 12:58:25 e2be974225ed: Download complete 12:58:25 988bab9f4d93: Verifying Checksum 12:58:25 988bab9f4d93: Download complete 12:58:25 1469e6f7b9e6: Verifying Checksum 12:58:25 1469e6f7b9e6: Download complete 12:58:25 eaf3925da568: Verifying Checksum 12:58:25 eaf3925da568: Download complete 12:58:25 339a4e72a1f5: Verifying Checksum 12:58:25 339a4e72a1f5: Download complete 12:58:25 bde34c3a00c8: Verifying Checksum 12:58:25 bde34c3a00c8: Download complete 12:58:25 b352a97aabf1: Verifying Checksum 12:58:25 b352a97aabf1: Download complete 12:58:25 4872d77fe225: Verifying Checksum 12:58:25 4872d77fe225: Download complete 12:58:25 5851b861e8e6: Verifying Checksum 12:58:25 5851b861e8e6: Download complete 12:58:25 b85a868b505f: Verifying Checksum 12:58:25 b85a868b505f: Download complete 12:58:26 bab4dde63d76: Verifying Checksum 12:58:26 bab4dde63d76: Download complete 12:58:27 b85a868b505f: Pull complete 12:58:27 e2be974225ed: Pull complete 12:58:28 339a4e72a1f5: Pull complete 12:58:28 988bab9f4d93: Pull complete 12:58:28 1469e6f7b9e6: Pull complete 12:58:28 eaf3925da568: Pull complete 12:58:30 bab4dde63d76: Pull complete 12:58:30 bde34c3a00c8: Pull complete 12:58:30 b352a97aabf1: Pull complete 12:58:30 4872d77fe225: Pull complete 12:58:30 5851b861e8e6: Pull complete 12:58:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:31 prd-ubuntu20.04-docker-8c-8g-11893 does not seem to be running inside a container 12:58:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-552 -v /w/workspace/_app-service-configurable_PR-552:/w/workspace/_app-service-configurable_PR-552:rw,z -v /w/workspace/_app-service-configurable_PR-552@tmp:/w/workspace/_app-service-configurable_PR-552@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:58:33 $ docker top 5df8f43111407c12f4ee499530d0b2f14c8123cff3a8fb290ad10f6431cb7204 -eo pid,comm 12:58:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:58:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:34 [ssh-agent] Looking for ssh-agent implementation... 12:58:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:34 $ docker exec 5df8f43111407c12f4ee499530d0b2f14c8123cff3a8fb290ad10f6431cb7204 ssh-agent 12:58:34 SSH_AUTH_SOCK=/tmp/ssh-yvWMDR1brLoJ/agent.32 12:58:34 SSH_AGENT_PID=38 12:58:34 Running ssh-add (command line suppressed) 12:58:34 Identity added: /w/workspace/_app-service-configurable_PR-552@tmp/private_key_10451496996521374999.key (/w/workspace/_app-service-configurable_PR-552@tmp/private_key_10451496996521374999.key) 12:58:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:34 + git tag --points-at HEAD [Pipeline] } 12:58:34 $ docker exec --env ******** --env ******** 5df8f43111407c12f4ee499530d0b2f14c8123cff3a8fb290ad10f6431cb7204 ssh-agent -k 12:58:35 unset SSH_AUTH_SOCK; 12:58:35 unset SSH_AGENT_PID; 12:58:35 echo Agent pid 38 killed; 12:58:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:35 [ssh-agent] Looking for ssh-agent implementation... 12:58:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:35 $ docker exec 5df8f43111407c12f4ee499530d0b2f14c8123cff3a8fb290ad10f6431cb7204 ssh-agent 12:58:35 SSH_AUTH_SOCK=/tmp/ssh-8mmM1r3Ngu2E/agent.71 12:58:35 SSH_AGENT_PID=77 12:58:35 Running ssh-add (command line suppressed) 12:58:35 Identity added: /w/workspace/_app-service-configurable_PR-552@tmp/private_key_7567359320194649438.key (/w/workspace/_app-service-configurable_PR-552@tmp/private_key_7567359320194649438.key) 12:58:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:35 + git semver init 12:58:36 2023-04-27 12:58:35,983 [run_init] DEBUG init version:0.0.0 force:False 12:58:36 2023-04-27 12:58:35,984 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-552/.semver 12:58:36 2023-04-27 12:58:35,984 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-552/.semver 12:58:36 2023-04-27 12:58:35,984 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-552/.semver'], cwd=/w/workspace/_app-service-configurable_PR-552, universal_newlines=False, shell=None, istream=None) 12:58:37 2023-04-27 12:58:36,747 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-552/.git/info/exclude 12:58:37 2023-04-27 12:58:36,747 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-552/.semver/PR-552 with force:False 12:58:37 2023-04-27 12:58:36,747 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-552/.semver/PR-552 12:58:37 2023-04-27 12:58:36,751 [execute] INFO git cat-file --batch-check 12:58:37 2023-04-27 12:58:36,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-552/.semver, universal_newlines=False, shell=None, istream=) 12:58:37 2023-04-27 12:58:36,757 [execute] INFO git cat-file --batch 12:58:37 2023-04-27 12:58:36,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-552/.semver, universal_newlines=False, shell=None, istream=) 12:58:37 2023-04-27 12:58:36,762 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-552/.semver/PR-552 12:58:37 0.0.0 [Pipeline] } 12:58:37 $ docker exec --env ******** --env ******** 5df8f43111407c12f4ee499530d0b2f14c8123cff3a8fb290ad10f6431cb7204 ssh-agent -k 12:58:37 unset SSH_AUTH_SOCK; 12:58:37 unset SSH_AGENT_PID; 12:58:37 echo Agent pid 77 killed; 12:58:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:37 + git semver [Pipeline] } 12:58:37 $ docker stop --time=1 5df8f43111407c12f4ee499530d0b2f14c8123cff3a8fb290ad10f6431cb7204 12:58:39 $ docker rm -f --volumes 5df8f43111407c12f4ee499530d0b2f14c8123cff3a8fb290ad10f6431cb7204 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:39 Stashed 1 file(s) [Pipeline] echo 12:58:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:40 provisioning config files... 12:58:40 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-552@tmp/config9280512250143933851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:40 ---> docker-login.sh 12:58:40 nexus3.edgexfoundry.org:10001 12:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:40 Configure a credential helper to remove this warning. See 12:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:40 12:58:40 Login Succeeded 12:58:40 nexus3.edgexfoundry.org:10002 12:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:40 Configure a credential helper to remove this warning. See 12:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:40 12:58:40 Login Succeeded 12:58:40 nexus3.edgexfoundry.org:10003 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 nexus3.edgexfoundry.org:10004 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 docker.io 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 ---> docker-login.sh ends [Pipeline] } 12:58:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:42 ========================================================= 12:58:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:58:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:58:42 Sending build context to Docker daemon 3.296MB 12:58:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:58:42 Step 2/12 : FROM ${BASE} AS builder 12:58:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:42 f56be85fc22e: Pulling fs layer 12:58:42 85791d961cd3: Pulling fs layer 12:58:42 d694b5ae8c79: Pulling fs layer 12:58:42 9f32a84ed3da: Pulling fs layer 12:58:42 4d19c01a9841: Pulling fs layer 12:58:42 9325e15d5711: Pulling fs layer 12:58:42 556b6ee489ea: Pulling fs layer 12:58:42 c5a4b2cf53e6: Pulling fs layer 12:58:42 9325e15d5711: Waiting 12:58:42 556b6ee489ea: Waiting 12:58:42 c5a4b2cf53e6: Waiting 12:58:42 4d19c01a9841: Waiting 12:58:42 9f32a84ed3da: Waiting 12:58:42 85791d961cd3: Verifying Checksum 12:58:42 85791d961cd3: Download complete 12:58:42 9f32a84ed3da: Verifying Checksum 12:58:42 9f32a84ed3da: Download complete 12:58:43 4d19c01a9841: Verifying Checksum 12:58:43 4d19c01a9841: Download complete 12:58:43 f56be85fc22e: Verifying Checksum 12:58:43 f56be85fc22e: Download complete 12:58:43 9325e15d5711: Verifying Checksum 12:58:43 9325e15d5711: Download complete 12:58:43 f56be85fc22e: Pull complete 12:58:43 85791d961cd3: Pull complete 12:58:43 c5a4b2cf53e6: Verifying Checksum 12:58:43 c5a4b2cf53e6: Download complete 12:58:43 d694b5ae8c79: Download complete 12:58:43 556b6ee489ea: Verifying Checksum 12:58:43 556b6ee489ea: Download complete 12:58:47 d694b5ae8c79: Pull complete 12:58:47 9f32a84ed3da: Pull complete 12:58:47 4d19c01a9841: Pull complete 12:58:47 9325e15d5711: Pull complete 12:58:50 556b6ee489ea: Pull complete 12:58:51 c5a4b2cf53e6: Pull complete 12:58:51 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 12:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:58:51 ---> c4be618373d6 12:58:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:58:55 Still waiting to schedule task 12:58:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:58:56 ---> Running in c9b96a2e4eba 12:58:56 Removing intermediate container c9b96a2e4eba 12:58:56 ---> e53b2c59aae3 12:58:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:58:56 ---> Running in 429ca3479344 12:58:56 Removing intermediate container 429ca3479344 12:58:56 ---> 607f9dcac2b5 12:58:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:58:56 ---> Running in c4f34346ac7f 12:58:56 Removing intermediate container c4f34346ac7f 12:58:56 ---> 2224b8fba760 12:58:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:56 ---> Running in 54be614f55ef 12:58:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:58:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:58:57 OK: 265 MiB in 53 packages 12:58:57 Removing intermediate container 54be614f55ef 12:58:57 ---> b8c1ae6f4768 12:58:57 Step 7/12 : WORKDIR /app 12:58:57 ---> Running in e7a148d46c78 12:58:57 Removing intermediate container e7a148d46c78 12:58:57 ---> b37ee9072e71 12:58:57 Step 8/12 : COPY go.mod vendor* ./ 12:58:57 ---> b463a92ec0c6 12:58:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:57 ---> Running in 57931f2cec9f 12:59:30 Removing intermediate container 57931f2cec9f 12:59:30 ---> 07804b68e09c 12:59:30 Step 10/12 : COPY . . 12:59:30 ---> 2bde9055ecdf 12:59:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:30 ---> Running in aa27f242e177 12:59:30 Removing intermediate container aa27f242e177 12:59:30 ---> 369c58c159b1 12:59:30 Step 12/12 : RUN $MAKE 12:59:30 ---> Running in 6bdbef562a96 12:59:30 noop 12:59:30 Removing intermediate container 6bdbef562a96 12:59:30 ---> b7538ee835d0 12:59:30 Successfully built b7538ee835d0 12:59:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:30 + docker inspect -f . ci-base-image-x86_64 12:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:30 prd-ubuntu20.04-docker-8c-8g-11893 does not seem to be running inside a container 12:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-552 -v /w/workspace/_app-service-configurable_PR-552:/w/workspace/_app-service-configurable_PR-552:rw,z -v /w/workspace/_app-service-configurable_PR-552@tmp:/w/workspace/_app-service-configurable_PR-552@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:59:31 $ docker top a732bf817ac5685f40e0e88cf4fcf191d09e3a1bafbb29225b39b3a224c9152f -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:31 + go version 12:59:31 go version go1.20.2 linux/amd64 [Pipeline] } 12:59:31 $ docker stop --time=1 a732bf817ac5685f40e0e88cf4fcf191d09e3a1bafbb29225b39b3a224c9152f 12:59:32 $ docker rm -f --volumes a732bf817ac5685f40e0e88cf4fcf191d09e3a1bafbb29225b39b3a224c9152f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:33 + docker inspect -f . ci-base-image-x86_64 12:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:33 prd-ubuntu20.04-docker-8c-8g-11893 does not seem to be running inside a container 12:59:33 $ 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-552 -v /w/workspace/_app-service-configurable_PR-552:/w/workspace/_app-service-configurable_PR-552:rw,z -v /w/workspace/_app-service-configurable_PR-552@tmp:/w/workspace/_app-service-configurable_PR-552@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:59:34 $ docker top c7f8ad539a88b862451ca6d13a773f9d8c43187a3ebdaaca159d74c52a910a1f -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:34 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-552 [Pipeline] fileExists [Pipeline] sh 12:59:34 + make test 12:59:34 go test -race -coverprofile=coverage.out ./... 12:59:56 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:11 go vet ./... 13:00:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:14 ./bin/test-attribution-txt.sh 13:00:14 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:00:14 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:00:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:15 $ docker stop --time=1 c7f8ad539a88b862451ca6d13a773f9d8c43187a3ebdaaca159d74c52a910a1f 13:00:20 $ docker rm -f --volumes c7f8ad539a88b862451ca6d13a773f9d8c43187a3ebdaaca159d74c52a910a1f [Pipeline] // withDockerContainer [Pipeline] sh 13:00:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:21 + ls -al . 13:00:21 total 176 13:00:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 12:59 . 13:00:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 12:58 .. 13:00:21 -rw-rw-r-- 1 jenkins jenkins 119 Apr 27 12:58 .dockerignore 13:00:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 12:58 .git 13:00:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 12:58 .github 13:00:21 -rw-rw-r-- 1 jenkins jenkins 171 Apr 27 12:58 .gitignore 13:00:21 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 12:58 .golangci.yml 13:00:21 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 12:58 .semver 13:00:21 -rw-rw-r-- 1 jenkins jenkins 9088 Apr 27 12:58 Attribution.txt 13:00:21 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 27 12:58 CHANGELOG.md 13:00:21 -rw-rw-r-- 1 jenkins jenkins 1898 Apr 27 12:58 Dockerfile 13:00:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 12:58 GOVERNANCE.md 13:00:21 -rw-rw-r-- 1 jenkins jenkins 688 Apr 27 12:58 Jenkinsfile 13:00:21 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 27 12:58 LICENSE 13:00:21 -rw-rw-r-- 1 jenkins jenkins 618 Apr 27 12:58 OWNERS.md 13:00:21 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 27 12:58 README.md 13:00:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 12:58 VERSION 13:00:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 12:58 bin 13:00:21 -rw-r--r-- 1 jenkins jenkins 13 Apr 27 12:59 coverage.out 13:00:21 -rw-rw-r-- 1 jenkins jenkins 3302 Apr 27 12:58 go.mod 13:00:21 -rw-rw-r-- 1 jenkins jenkins 31536 Apr 27 12:58 go.sum 13:00:21 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 27 12:58 main.go 13:00:21 -rw-rw-r-- 1 jenkins jenkins 2569 Apr 27 12:58 makefile 13:00:21 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 12:58 res 13:00:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00: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=0b463a9447967e4893ec3a48b93454e07f983efd --label arch=amd64 --label version=0.0.0 . 13:00:22 Sending build context to Docker daemon 3.297MB 13:00:22 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:00:22 Step 2/26 : FROM ${BASE} AS builder 13:00:22 ---> b7538ee835d0 13:00:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:22 ---> Running in 1d9cd011572a 13:00:22 Removing intermediate container 1d9cd011572a 13:00:22 ---> 6f9c316e2674 13:00:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:22 ---> Running in 658af8874692 13:00:22 Removing intermediate container 658af8874692 13:00:22 ---> 83a3e2a42d69 13:00:22 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:22 ---> Running in e7c0f3802213 13:00:22 Removing intermediate container e7c0f3802213 13:00:22 ---> b7787f1ce45d 13:00:22 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:22 ---> Running in 90cb92483e70 13:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:23 OK: 265 MiB in 53 packages 13:00:23 Removing intermediate container 90cb92483e70 13:00:23 ---> 3850ce2545a9 13:00:23 Step 7/26 : WORKDIR /app 13:00:23 ---> Running in cc804928b2a9 13:00:23 Removing intermediate container cc804928b2a9 13:00:23 ---> 9c59602acfb9 13:00:23 Step 8/26 : COPY go.mod vendor* ./ 13:00:23 ---> 1fd92cbdfc49 13:00:23 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:23 ---> Running in 27826100963a 13:00:24 Removing intermediate container 27826100963a 13:00:24 ---> 8ed7627e08c4 13:00:24 Step 10/26 : COPY . . 13:00:24 ---> 399ee399d9b2 13:00:24 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:24 ---> Running in 11a518e5664a 13:00:24 Removing intermediate container 11a518e5664a 13:00:24 ---> d65f6b251a13 13:00:24 Step 12/26 : RUN $MAKE 13:00:24 ---> Running in c58aeeb2c045 13:00:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.53 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11894 in /w/workspace/_app-service-configurable_PR-552 [Pipeline] { [Pipeline] ws 13:00:28 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:28 Selected Git installation does not exist. Using Default 13:00:28 The recommended git tool is: NONE 13:00:33 using credential edgex-jenkins-ssh 13:00:33 Cloning the remote Git repository 13:00:33 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:33 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:34 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:34 > git --version # timeout=10 13:00:34 > git --version # 'git version 2.25.1' 13:00:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:35 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:36 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:36 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/552/head:refs/remotes/origin/PR-552 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:38 Merging remotes/origin/main commit 42849b84e1aa64fff78d6352030ff1fd7abd87e1 into PR head commit 0b463a9447967e4893ec3a48b93454e07f983efd 13:00:38 Merge succeeded, producing 0b463a9447967e4893ec3a48b93454e07f983efd 13:00:38 Checking out Revision 0b463a9447967e4893ec3a48b93454e07f983efd (PR-552) 13:00:38 > git config core.sparsecheckout # timeout=10 13:00:38 > git checkout -f 0b463a9447967e4893ec3a48b93454e07f983efd # timeout=10 13:00:38 > git remote # timeout=10 13:00:38 > git config --get remote.origin.url # timeout=10 13:00:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:38 > git merge 42849b84e1aa64fff78d6352030ff1fd7abd87e1 # timeout=10 13:00:38 > git rev-parse HEAD^{commit} # timeout=10 13:00:38 > git config core.sparsecheckout # timeout=10 13:00:38 > git checkout -f 0b463a9447967e4893ec3a48b93454e07f983efd # timeout=10 13:00:38 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:00:38 > git --version # timeout=10 13:00:38 > git --version # 'git version 2.25.1' 13:00:38 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:40 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:40 Dload Upload Total Spent Left Speed 13:00:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 13:00:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 13:00:41 sudo tee /etc/docker/daemon.new 13:00:41 { 13:00:41 "registry-mirrors": [ 13:00:41 "https://nexus3.edgexfoundry.org:10001" 13:00:41 ], 13:00:41 "bip": "10.250.0.254/24", 13:00:41 "hosts": [ 13:00:41 "tcp://0.0.0.0:5555", 13:00:41 "unix:///var/run/docker.sock" 13:00:41 ], 13:00:41 "mtu": 1458, 13:00:41 "selinux-enabled": true, 13:00:41 "seccomp-profile": "/etc/docker/seccomp.json" 13:00:41 } [Pipeline] sh 13:00:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:00:42 + sudo service docker restart 13:00:47 Removing intermediate container c58aeeb2c045 13:00:47 ---> 9efccab030fd 13:00:47 Step 13/26 : FROM alpine:3.17 13:00:47 3.17: Pulling from library/alpine 13:00:47 f56be85fc22e: Already exists 13:00:47 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:00:47 Status: Downloaded newer image for alpine:3.17 13:00:47 ---> 9ed4aefc74f6 13:00:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:00:47 ---> Running in df12a3d9890b 13:00:47 Removing intermediate container df12a3d9890b 13:00:47 ---> bd8c5da5cce5 13:00:47 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:00:47 ---> Running in 5eef9a979106 13:00:47 Removing intermediate container 5eef9a979106 13:00:47 ---> bb30f0562f4a 13:00:47 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:00:47 ---> Running in aa208039f0db 13:00:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:47 (1/2) Installing ca-certificates (20220614-r4) 13:00:47 (2/2) Installing dumb-init (1.2.5-r2) 13:00:47 Executing busybox-1.35.0-r29.trigger 13:00:47 Executing ca-certificates-20220614-r4.trigger 13:00:47 OK: 8 MiB in 17 packages 13:00:48 Removing intermediate container aa208039f0db 13:00:48 ---> 84afd6028eec 13:00:48 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:00:48 ---> 56a155b501a2 13:00:48 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:00:48 ---> ae308f551a2c 13:00:48 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:00:48 ---> d4134df0e778 13:00:48 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:00:50 ---> 826bb975109f 13:00:50 Step 21/26 : EXPOSE 48095 13:00:50 ---> Running in d1ba85c71e69 13:00:50 Removing intermediate container d1ba85c71e69 13:00:50 ---> c29831b2b85c 13:00:50 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:00:50 ---> Running in e51ba07e1f8b 13:00:50 Removing intermediate container e51ba07e1f8b 13:00:50 ---> f31caf1b6aec 13:00:50 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:00:51 ---> Running in bf18cd8c79b7 13:00:51 Removing intermediate container bf18cd8c79b7 13:00:51 ---> 3ba87e52554c 13:00:51 Step 24/26 : LABEL arch=amd64 13:00:51 ---> Running in 6e1d66d97126 13:00:51 Removing intermediate container 6e1d66d97126 13:00:51 ---> dfaea1c5e99c 13:00:51 Step 25/26 : LABEL git_sha=0b463a9447967e4893ec3a48b93454e07f983efd 13:00:51 ---> Running in cee27a8c052d 13:00:52 Removing intermediate container cee27a8c052d 13:00:52 ---> 870e67bdbe89 13:00:52 Step 26/26 : LABEL version=0.0.0 13:00:52 ---> Running in a936582f4d8a 13:00:52 Removing intermediate container a936582f4d8a 13:00:52 ---> 068ed1287400 13:00:52 [Warning] One or more build-args [ARCH] were not consumed 13:00:52 Successfully built 068ed1287400 13:00:52 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:53 13:00:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:53 latest: Pulling from edgex-lftools-log-publisher 13:00:53 5eb5b503b376: Pulling fs layer 13:00:53 5c69ac0246d0: Pulling fs layer 13:00:53 ec43610c2a17: Pulling fs layer 13:00:53 3a2ae6a8a46f: Pulling fs layer 13:00:53 33b1e0a273af: Pulling fs layer 13:00:53 5d3b04190fa2: Pulling fs layer 13:00:53 2f39f015ded8: Pulling fs layer 13:00:53 33b1e0a273af: Waiting 13:00:53 5d3b04190fa2: Waiting 13:00:53 2f39f015ded8: Waiting 13:00:53 3a2ae6a8a46f: Waiting 13:00:53 5c69ac0246d0: Verifying Checksum 13:00:53 5c69ac0246d0: Download complete 13:00:53 3a2ae6a8a46f: Verifying Checksum 13:00:53 3a2ae6a8a46f: Download complete 13:00:53 33b1e0a273af: Verifying Checksum 13:00:53 33b1e0a273af: Download complete 13:00:53 ec43610c2a17: Verifying Checksum 13:00:53 5d3b04190fa2: Download complete 13:00:53 ec43610c2a17: Download complete 13:00:53 5eb5b503b376: Verifying Checksum 13:00:53 5eb5b503b376: Download complete 13:00:55 5eb5b503b376: Pull complete 13:00:55 5c69ac0246d0: Pull complete 13:00:55 ec43610c2a17: Pull complete 13:00:55 3a2ae6a8a46f: Pull complete 13:00:56 33b1e0a273af: Pull complete 13:00:56 5d3b04190fa2: Pull complete 13:01:00 2f39f015ded8: Pull complete 13:01:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:01:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:00 prd-ubuntu20.04-docker-8c-8g-11893 does not seem to be running inside a container 13:01:00 $ 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-552 -v /w/workspace/_app-service-configurable_PR-552:/w/workspace/_app-service-configurable_PR-552:rw,z -v /w/workspace/_app-service-configurable_PR-552@tmp:/w/workspace/_app-service-configurable_PR-552@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:01:04 $ docker top 4acb8be4c306ffae877221e7ab0f1e780bea0e3111a127b878a4c4ef3a929493 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 13:01:05 provisioning config files... 13:01:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config10385904082775254816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:05 ---> job-cost.sh 13:01:05 lf-activate-venv: SKIPPING 13:01:05 INFO: No Stack... 13:01:05 ---> docker-login.sh 13:01:05 nexus3.edgexfoundry.org:10001 13:01:05 INFO: Retrieving Pricing Info for: v3-standard-8 13:01:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:05 INFO: Archiving Costs [Pipeline] sh 13:01:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:05 Configure a credential helper to remove this warning. See 13:01:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:05 13:01:05 Login Succeeded 13:01:05 nexus3.edgexfoundry.org:10002 13:01:06 + cat /w/workspace/_app-service-configurable_PR-552/archives/cost.csv 13:01:06 + cut -d, -f6 [Pipeline] lock 13:01:06 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-552-1-stack-cost] 13:01:06 Resource [jenkins-edgexfoundry-app-service-configurable-PR-552-1-stack-cost] did not exist. Created. 13:01:06 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-552-1-stack-cost] [Pipeline] { [Pipeline] unstash 13:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 13:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:06 Configure a credential helper to remove this warning. See 13:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:06 13:01:06 Login Succeeded 13:01:06 nexus3.edgexfoundry.org:10003 13:01:06 + echo total: 0.2199999988079071 [Pipeline] stash 13:01:06 Stashed 1 file(s) [Pipeline] } 13:01:06 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-552-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:06 $ docker stop --time=1 4acb8be4c306ffae877221e7ab0f1e780bea0e3111a127b878a4c4ef3a929493 13:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:06 Configure a credential helper to remove this warning. See 13:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:06 13:01:06 Login Succeeded 13:01:06 nexus3.edgexfoundry.org:10004 13:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:07 Configure a credential helper to remove this warning. See 13:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:07 13:01:07 Login Succeeded 13:01:07 docker.io 13:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:07 Configure a credential helper to remove this warning. See 13:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:07 13:01:07 Login Succeeded 13:01:07 ---> docker-login.sh ends 13:01:07 $ docker rm -f --volumes 4acb8be4c306ffae877221e7ab0f1e780bea0e3111a127b878a4c4ef3a929493 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 13:01:08 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 13:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:08 ========================================================= 13:01:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:01:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:01:09 Sending build context to Docker daemon 169kB 13:01:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:01:09 Step 2/12 : FROM ${BASE} AS builder 13:01:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:09 c41833b44d91: Pulling fs layer 13:01:09 ed15518f5707: Pulling fs layer 13:01:09 feae8fd75edb: Pulling fs layer 13:01:09 242c74f7c9fa: Pulling fs layer 13:01:09 3cdef696dda3: Pulling fs layer 13:01:09 2ced38df9373: Pulling fs layer 13:01:09 58f1dce35555: Pulling fs layer 13:01:09 242c74f7c9fa: Waiting 13:01:09 3cdef696dda3: Waiting 13:01:09 2ced38df9373: Waiting 13:01:09 58f1dce35555: Waiting 13:01:09 ed15518f5707: Verifying Checksum 13:01:09 ed15518f5707: Download complete 13:01:09 242c74f7c9fa: Verifying Checksum 13:01:09 242c74f7c9fa: Download complete 13:01:09 3cdef696dda3: Verifying Checksum 13:01:09 3cdef696dda3: Download complete 13:01:09 c41833b44d91: Verifying Checksum 13:01:10 c41833b44d91: Pull complete 13:01:10 58f1dce35555: Verifying Checksum 13:01:10 58f1dce35555: Download complete 13:01:11 ed15518f5707: Pull complete 13:01:12 feae8fd75edb: Download complete 13:01:12 2ced38df9373: Verifying Checksum 13:01:12 2ced38df9373: Download complete 13:01:24 feae8fd75edb: Pull complete 13:01:24 242c74f7c9fa: Pull complete 13:01:24 3cdef696dda3: Pull complete 13:01:31 2ced38df9373: Pull complete 13:01:32 58f1dce35555: Pull complete 13:01:32 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:01:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:01:32 ---> fadd8f120f05 13:01:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:34 ---> Running in 26741ea9522e 13:01:34 Removing intermediate container 26741ea9522e 13:01:34 ---> d8785d6c0b0d 13:01:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:34 ---> Running in ee1f9ab7cc12 13:01:35 Removing intermediate container ee1f9ab7cc12 13:01:35 ---> 921f37af1c8a 13:01:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:35 ---> Running in 3ba5d735fed6 13:01:35 Removing intermediate container 3ba5d735fed6 13:01:35 ---> d28348b3be8f 13:01:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:35 ---> Running in b4d9ebe4bdc4 13:01:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:01:38 OK: 263 MiB in 53 packages 13:01:39 Removing intermediate container b4d9ebe4bdc4 13:01:39 ---> 59127beab521 13:01:39 Step 7/12 : WORKDIR /app 13:01:39 ---> Running in a000976717d4 13:01:39 Removing intermediate container a000976717d4 13:01:39 ---> 8be0294a0556 13:01:39 Step 8/12 : COPY go.mod vendor* ./ 13:01:40 ---> d94432d89d91 13:01:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:40 ---> Running in edd7b2f96ff4 13:02:47 Removing intermediate container edd7b2f96ff4 13:02:47 ---> 6cb5b8c4f410 13:02:47 Step 10/12 : COPY . . 13:02:47 ---> f395d9628542 13:02:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:47 ---> Running in 86b63ecf9116 13:02:47 Removing intermediate container 86b63ecf9116 13:02:47 ---> d3a29b595761 13:02:47 Step 12/12 : RUN $MAKE 13:02:47 ---> Running in 3407c53e552e 13:02:47 noop 13:02:47 Removing intermediate container 3407c53e552e 13:02:47 ---> 47ae79034cd8 13:02:47 Successfully built 47ae79034cd8 13:02:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:48 + docker inspect -f . ci-base-image-arm64 13:02:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:48 prd-ubuntu20.04-docker-arm64-4c-16g-11894 does not seem to be running inside a container 13:02:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:02:50 $ docker top 91ad76c465543984645aaeca0505115977fb8f7d725d9d39dc5c3033bfa5af12 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:50 + go version 13:02:50 go version go1.20.2 linux/arm64 [Pipeline] } 13:02:50 $ docker stop --time=1 91ad76c465543984645aaeca0505115977fb8f7d725d9d39dc5c3033bfa5af12 13:02:54 $ docker rm -f --volumes 91ad76c465543984645aaeca0505115977fb8f7d725d9d39dc5c3033bfa5af12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:55 + docker inspect -f . ci-base-image-arm64 13:02:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:55 prd-ubuntu20.04-docker-arm64-4c-16g-11894 does not seem to be running inside a container 13:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:02:57 $ docker top d6aa85fe710035a3a2888f49d7da856a6da708dc11693c6cf3336bf61c78cbc0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:57 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:02:58 + make test 13:02:58 go test -race -coverprofile=coverage.out ./... 13:05:34 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:05:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:05:34 go vet ./... 13:07:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:07:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:07:41 ./bin/test-attribution-txt.sh 13:07:41 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:07:41 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:07:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:07:41 $ docker stop --time=1 d6aa85fe710035a3a2888f49d7da856a6da708dc11693c6cf3336bf61c78cbc0 13:07:43 $ docker rm -f --volumes d6aa85fe710035a3a2888f49d7da856a6da708dc11693c6cf3336bf61c78cbc0 [Pipeline] // withDockerContainer [Pipeline] sh 13:07:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:07:45 Warning: overwriting stash ‘coverage-report’ 13:07:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:07:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:07:46 + ls -al . 13:07:46 total 172 13:07:46 drwxrwxr-x 7 jenkins jenkins 4096 Apr 27 13:03 . 13:07:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 13:00 .. 13:07:46 -rw-rw-r-- 1 jenkins jenkins 119 Apr 27 13:00 .dockerignore 13:07:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 13:00 .git 13:07:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 13:00 .github 13:07:46 -rw-rw-r-- 1 jenkins jenkins 171 Apr 27 13:00 .gitignore 13:07:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 13:00 .golangci.yml 13:07:46 -rw-rw-r-- 1 jenkins jenkins 9088 Apr 27 13:00 Attribution.txt 13:07:46 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 27 13:00 CHANGELOG.md 13:07:46 -rw-rw-r-- 1 jenkins jenkins 1898 Apr 27 13:00 Dockerfile 13:07:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 13:00 GOVERNANCE.md 13:07:46 -rw-rw-r-- 1 jenkins jenkins 688 Apr 27 13:00 Jenkinsfile 13:07:46 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 27 13:00 LICENSE 13:07:46 -rw-rw-r-- 1 jenkins jenkins 618 Apr 27 13:00 OWNERS.md 13:07:46 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 27 13:00 README.md 13:07:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 12:58 VERSION 13:07:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 13:00 bin 13:07:46 -rw-r--r-- 1 jenkins jenkins 13 Apr 27 13:03 coverage.out 13:07:46 -rw-rw-r-- 1 jenkins jenkins 3302 Apr 27 13:00 go.mod 13:07:46 -rw-rw-r-- 1 jenkins jenkins 31536 Apr 27 13:00 go.sum 13:07:46 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 27 13:00 main.go 13:07:46 -rw-rw-r-- 1 jenkins jenkins 2569 Apr 27 13:00 makefile 13:07:46 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 13:00 res 13:07:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:46 + 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=0b463a9447967e4893ec3a48b93454e07f983efd --label arch=arm64 --label version=0.0.0 . 13:07:46 Sending build context to Docker daemon 170kB 13:07:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:07:47 Step 2/26 : FROM ${BASE} AS builder 13:07:47 ---> 47ae79034cd8 13:07:47 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:07:47 ---> Running in 6298adbc724d 13:07:47 Removing intermediate container 6298adbc724d 13:07:47 ---> 90269b382623 13:07:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:07:47 ---> Running in eccd8a2236f8 13:07:47 Removing intermediate container eccd8a2236f8 13:07:47 ---> 805cb08aae7e 13:07:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:07:47 ---> Running in 67199cfe3439 13:07:48 Removing intermediate container 67199cfe3439 13:07:48 ---> a1b9729d6362 13:07:48 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:07:48 ---> Running in 7be5782242d4 13:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:07:51 OK: 263 MiB in 53 packages 13:07:52 Removing intermediate container 7be5782242d4 13:07:52 ---> 5f89e8cb1bec 13:07:52 Step 7/26 : WORKDIR /app 13:07:52 ---> Running in be49e970d132 13:07:52 Removing intermediate container be49e970d132 13:07:52 ---> ec414ac4875e 13:07:52 Step 8/26 : COPY go.mod vendor* ./ 13:07:52 ---> 51f6c8381dca 13:07:52 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:52 ---> Running in ad34373e3fa3 13:07:55 Removing intermediate container ad34373e3fa3 13:07:55 ---> 15344dd087b8 13:07:55 Step 10/26 : COPY . . 13:07:55 ---> 20ba8e96bd53 13:07:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:07:55 ---> Running in b8ba3f2934cc 13:07:56 Removing intermediate container b8ba3f2934cc 13:07:56 ---> bbd1a82f0962 13:07:56 Step 12/26 : RUN $MAKE 13:07:56 ---> Running in 95903ea7c502 13:07:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.53 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:10:04 Removing intermediate container 95903ea7c502 13:10:04 ---> 79384be4d2d9 13:10:04 Step 13/26 : FROM alpine:3.17 13:10:04 3.17: Pulling from library/alpine 13:10:04 c41833b44d91: Already exists 13:10:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:10:04 Status: Downloaded newer image for alpine:3.17 13:10:04 ---> 51e60588ff2c 13:10:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:10:04 ---> Running in feaea09f4640 13:10:05 Removing intermediate container feaea09f4640 13:10:05 ---> 654841358857 13:10:05 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:10:05 ---> Running in 4b615f3eb27d 13:10:05 Removing intermediate container 4b615f3eb27d 13:10:05 ---> 39b5f10ddb5a 13:10:05 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:10:05 ---> Running in 0915c31bffa6 13:10:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:10:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:10:07 (1/2) Installing ca-certificates (20220614-r4) 13:10:08 (2/2) Installing dumb-init (1.2.5-r2) 13:10:08 Executing busybox-1.35.0-r29.trigger 13:10:08 Executing ca-certificates-20220614-r4.trigger 13:10:08 OK: 8 MiB in 17 packages 13:10:09 Removing intermediate container 0915c31bffa6 13:10:09 ---> 087267422632 13:10:09 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:10 ---> 295638b0dad0 13:10:10 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:10:10 ---> 45b5f3abd196 13:10:10 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:10:11 ---> 41184bafbeaa 13:10:11 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:10:12 ---> f1e9f153c820 13:10:12 Step 21/26 : EXPOSE 48095 13:10:12 ---> Running in 32a905d970a1 13:10:12 Removing intermediate container 32a905d970a1 13:10:12 ---> d7475fd7d99b 13:10:12 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:10:12 ---> Running in 3fc0e771c336 13:10:13 Removing intermediate container 3fc0e771c336 13:10:13 ---> cdce0f2e97ec 13:10:13 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:10:13 ---> Running in 82199183649c 13:10:13 Removing intermediate container 82199183649c 13:10:13 ---> 5784b67d04c2 13:10:13 Step 24/26 : LABEL arch=arm64 13:10:13 ---> Running in 3d7fd5f6989a 13:10:13 Removing intermediate container 3d7fd5f6989a 13:10:13 ---> 9d9da669ab06 13:10:13 Step 25/26 : LABEL git_sha=0b463a9447967e4893ec3a48b93454e07f983efd 13:10:14 ---> Running in 6aa3c7a3a106 13:10:14 Removing intermediate container 6aa3c7a3a106 13:10:14 ---> 0d594d220d19 13:10:14 Step 26/26 : LABEL version=0.0.0 13:10:14 ---> Running in ca891fd19794 13:10:14 Removing intermediate container ca891fd19794 13:10:14 ---> 658a24c8730a 13:10:14 [Warning] One or more build-args [ARCH] were not consumed 13:10:14 Successfully built 658a24c8730a 13:10:14 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:15 13:10:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:16 arm64: Pulling from edgex-lftools-log-publisher 13:10:16 8998bd30e6a1: Pulling fs layer 13:10:16 04944245beec: Pulling fs layer 13:10:16 699f458cf7ca: Pulling fs layer 13:10:16 765212b225bb: Pulling fs layer 13:10:16 f23df028b6ca: Pulling fs layer 13:10:16 d65c8cfc05b1: Pulling fs layer 13:10:16 2437ff75d9bd: Pulling fs layer 13:10:16 765212b225bb: Waiting 13:10:16 f23df028b6ca: Waiting 13:10:16 d65c8cfc05b1: Waiting 13:10:16 2437ff75d9bd: Waiting 13:10:16 04944245beec: Verifying Checksum 13:10:16 04944245beec: Download complete 13:10:16 765212b225bb: Verifying Checksum 13:10:16 765212b225bb: Download complete 13:10:16 f23df028b6ca: Verifying Checksum 13:10:16 f23df028b6ca: Download complete 13:10:16 d65c8cfc05b1: Verifying Checksum 13:10:16 d65c8cfc05b1: Download complete 13:10:17 699f458cf7ca: Verifying Checksum 13:10:17 699f458cf7ca: Download complete 13:10:17 8998bd30e6a1: Verifying Checksum 13:10:17 8998bd30e6a1: Download complete 13:10:19 2437ff75d9bd: Verifying Checksum 13:10:19 2437ff75d9bd: Download complete 13:10:21 8998bd30e6a1: Pull complete 13:10:21 04944245beec: Pull complete 13:10:23 699f458cf7ca: Pull complete 13:10:23 765212b225bb: Pull complete 13:10:24 f23df028b6ca: Pull complete 13:10:24 d65c8cfc05b1: Pull complete 13:10:39 2437ff75d9bd: Pull complete 13:10:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:10:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:39 prd-ubuntu20.04-docker-arm64-4c-16g-11894 does not seem to be running inside a container 13:10:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:10:42 $ docker top 0e5ee13a69245b395d74c39ea1b8889db40fc74be6082f7249a336ad36996b98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:43 ---> job-cost.sh 13:10:43 lf-activate-venv: SKIPPING 13:10:43 INFO: No Stack... 13:10:43 INFO: Retrieving Pricing Info for: v3-standard-4 13:10:44 INFO: Archiving Costs [Pipeline] sh 13:10:45 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:10:45 + cut -d, -f6 [Pipeline] lock 13:10:45 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-552-1-stack-cost] 13:10:45 Resource [jenkins-edgexfoundry-app-service-configurable-PR-552-1-stack-cost] did not exist. Created. 13:10:45 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-552-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:10:46 /w/workspace/app-service-configurable/1@tmp/durable-8e1f143e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:10:46 + echo total: 0.10999999940395355 [Pipeline] stash 13:10:46 Warning: overwriting stash ‘stack-cost’ 13:10:46 Stashed 1 file(s) [Pipeline] } 13:10:46 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-552-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:10:47 $ docker stop --time=1 0e5ee13a69245b395d74c39ea1b8889db40fc74be6082f7249a336ad36996b98 13:10:48 $ docker rm -f --volumes 0e5ee13a69245b395d74c39ea1b8889db40fc74be6082f7249a336ad36996b98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:10:49 provisioning config files... 13:10:49 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-552@tmp/config10006978087916085660tmp [Pipeline] { [Pipeline] sh 13:10:50 + set +x 13:10:50 + + bash -s -- 13:10:50 curl -s https://codecov.io/bash 13:10:50 13:10:50 _____ _ 13:10:50 / ____| | | 13:10:50 | | ___ __| | ___ ___ _____ __ 13:10:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:10:50 | |___| (_) | (_| | __/ (_| (_) \ V / 13:10:50 \_____\___/ \__,_|\___|\___\___/ \_/ 13:10:50 Bash-1.0.6 13:10:50 13:10:50 13:10:50 ==> git version 2.25.1 found 13:10:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:10:50 Release-Date: 2020-01-08 13:10:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:10:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:10:50 ==> Jenkins CI detected. 13:10:50 current dir:  /w/workspace/_app-service-configurable_PR-552 13:10:50 project root: . 13:10:50 --> token set from env 13:10:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:10:50 ==> Running gcov in . (disable via -X gcov) 13:10:50 ==> Python coveragepy not found 13:10:50 ==> Searching for coverage reports in: 13:10:50 + . 13:10:50 -> Found 1 reports 13:10:50 ==> Detecting git/mercurial file structure 13:10:50 ==> Reading reports 13:10:50 + ./coverage.out bytes=13 13:10:50 ==> Appending adjustments 13:10:50 https://docs.codecov.io/docs/fixing-reports 13:10:50 + Found adjustments 13:10:50 ==> Gzipping contents 13:10:50 4.0K /tmp/codecov.9PrzKy.gz 13:10:50 ==> Uploading reports 13:10:50 url: https://codecov.io 13:10:50 query: branch=PR-552&commit=0b463a9447967e4893ec3a48b93454e07f983efd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-552%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=552&job=&cmd_args= 13:10:50 -> Pinging Codecov 13:10:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-552&commit=0b463a9447967e4893ec3a48b93454e07f983efd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-552%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=552&job=&cmd_args= 13:10:50 -> Uploading to 13:10:50 https://storage.googleapis.com/codecov/v4/raw/2023-04-27/A97CA9966030D2A3747ED39772930CCE/0b463a9447967e4893ec3a48b93454e07f983efd/dc001fb8-c3ab-4fa9-866e-7609e520f82f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T131050Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=97ccf893409fcccc590ac7c6c6d0acf4d9fffea7f3488ab06ef2410966ce4a4b 13:10:50 % Total % Received % Xferd Average Speed Time Time Time Current 13:10:50 Dload Upload Total Spent Left Speed 13:10:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1794 --:--:-- --:--:-- --:--:-- 1794 13:10:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/0b463a9447967e4893ec3a48b93454e07f983efd [Pipeline] } 13:10:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:10:52 + [ -d /w/workspace/_app-service-configurable_PR-552/archives ] 13:10:52 + ls -al /w/workspace/_app-service-configurable_PR-552/archives 13:10:52 total 16 13:10:52 drwxr-xr-x 3 root root 4096 Apr 27 13:01 . 13:10:52 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 13:01 .. 13:10:52 drwxr-xr-x 2 root root 4096 Apr 27 13:01 cost 13:10:52 -rw-r--r-- 1 root root 96 Apr 27 13:01 cost.csv 13:10:52 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-552/archives 13:10:52 + ls -al /w/workspace/_app-service-configurable_PR-552/archives 13:10:52 total 16 13:10:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 13:01 . 13:10:52 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 13:01 .. 13:10:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 13:01 cost 13:10:52 -rw-r--r-- 1 jenkins jenkins 96 Apr 27 13:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:10:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:10:53 ---> package-listing.sh 13:10:53 ++ facter osfamily 13:10:53 ++ tr '[:upper:]' '[:lower:]' 13:10:54 + OS_FAMILY=debian 13:10:54 + workspace=/w/workspace/_app-service-configurable_PR-552 13:10:54 + START_PACKAGES=/tmp/packages_start.txt 13:10:54 + END_PACKAGES=/tmp/packages_end.txt 13:10:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:10:54 + PACKAGES=/tmp/packages_start.txt 13:10:54 + '[' /w/workspace/_app-service-configurable_PR-552 ']' 13:10:54 + PACKAGES=/tmp/packages_end.txt 13:10:54 + case "${OS_FAMILY}" in 13:10:54 + dpkg -l 13:10:54 + grep '^ii' 13:10:54 + '[' -f /tmp/packages_start.txt ']' 13:10:54 + '[' -f /tmp/packages_end.txt ']' 13:10:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:10:54 + '[' /w/workspace/_app-service-configurable_PR-552 ']' 13:10:54 + mkdir -p /w/workspace/_app-service-configurable_PR-552/archives/ 13:10:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-552/archives/ [Pipeline] echo 13:10:54 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-552/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:10:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:55 prd-ubuntu20.04-docker-8c-8g-11893 does not seem to be running inside a container 13:10:55 $ 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-552/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-552 -v /w/workspace/_app-service-configurable_PR-552:/w/workspace/_app-service-configurable_PR-552:rw,z -v /w/workspace/_app-service-configurable_PR-552@tmp:/w/workspace/_app-service-configurable_PR-552@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:10:55 $ docker top 8e5d04cc822489b3e77a97671039eacb6f7976afb3bb707a0f97f0ac28090de1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:56 + touch /tmp/pre-build-complete [Pipeline] sh 13:10:56 + mkdir -p /var/log/sysstat [Pipeline] sh 13:10:56 + ls /var/log/sa-host 13:10:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:57 provisioning config files... 13:10:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-552@tmp/config7788572565422204537tmp [Pipeline] { [Pipeline] echo 13:10:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:10:57 ---> create-netrc.sh [Pipeline] } 13:10:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:10:58 ---> python-tools-install.sh [Pipeline] echo 13:10:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:10:58 ---> sudo-logs.sh 13:10:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:10:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:10:58 ---> job-cost.sh 13:10:58 lf-activate-venv: SKIPPING 13:10:58 DEBUG: total: 0.2199999988079071 13:10:58 INFO: Retrieving Stack Cost... 13:10:59 INFO: Retrieving Pricing Info for: v3-standard-8 13:10:59 INFO: Archiving Costs [Pipeline] echo 13:10:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:11:00 ---> logs-deploy.sh 13:11:00 lf-activate-venv: SKIPPING 13:11:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-552/1 13:11:00 INFO: archiving workspace using pattern(s): 13:11:00 Archives upload complete. 13:11:00 INFO: archiving logs to Nexus