Pull request #553 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2e932c17d24234db440ad6e14789905f9378ead+62825bd30777131266891ed3853b6902d2747c3b (79c731b6d63fe4b0b31a156061f9dbeee07ba411) 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-ssh16204326956073728200.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-ssh2189683400920828679.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-553/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-553/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15695495631257989107.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-553/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14839137214694151004.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-ssh6611877588329701168.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-553/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-553/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2909145750585362018.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-12156 in /w/workspace/_app-service-configurable_PR-553 [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-553 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 62825bd30777131266891ed3853b6902d2747c3b into PR head commit d2e932c17d24234db440ad6e14789905f9378ead Merge succeeded, producing d2e932c17d24234db440ad6e14789905f9378ead Checking out Revision d2e932c17d24234db440ad6e14789905f9378ead (PR-553) 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:30 ========================================================= 12:58:30 EdgeX Global Pipelines Version Info 12:58:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d2e932c17d24234db440ad6e14789905f9378ead # 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 62825bd30777131266891ed3853b6902d2747c3b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2e932c17d24234db440ad6e14789905f9378ead # timeout=10 12:58:30 ------------------- 12:58:30 stable info: 12:58:30 ------------------- 12:58:30 Commited By: Bill Mahoney bill.mahoney@intel.com 12:58:30 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:58:30 Message: update stable to v1.0.248 12:58:31 ------------------- 12:58:31 experimental info: 12:58:31 ------------------- 12:58:31 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:31 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:58:31 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo 12:58:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2e932c17d24234db440ad6e14789905f9378ead [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2e932c [Pipeline] echo 12:58:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:33 provisioning config files... 12:58:33 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-553@tmp/config17776221032551303140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:33 ---> docker-login.sh 12:58:33 nexus3.edgexfoundry.org:10001 12:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:33 Configure a credential helper to remove this warning. See 12:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:33 12:58:33 Login Succeeded 12:58:33 nexus3.edgexfoundry.org:10002 12:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:34 Configure a credential helper to remove this warning. See 12:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:34 12:58:34 Login Succeeded 12:58:34 nexus3.edgexfoundry.org:10003 12:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:34 Configure a credential helper to remove this warning. See 12:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:34 12:58:34 Login Succeeded 12:58:34 nexus3.edgexfoundry.org:10004 12:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:34 Configure a credential helper to remove this warning. See 12:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:34 12:58:34 Login Succeeded 12:58:34 docker.io 12:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:34 Configure a credential helper to remove this warning. See 12:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:34 12:58:34 Login Succeeded 12:58:34 ---> docker-login.sh ends [Pipeline] } 12:58:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:35 + git rev-list -1 --merges d2e932c17d24234db440ad6e14789905f9378ead~1..d2e932c17d24234db440ad6e14789905f9378ead [Pipeline] echo 12:58:35 -----------> git rev-list -1 --merges d2e932c17d24234db440ad6e14789905f9378ead~1..d2e932c17d24234db440ad6e14789905f9378ead d2e932c17d24234db440ad6e14789905f9378ead [false] [Pipeline] sh 12:58:35 + git log --format=format:%s -1 d2e932c17d24234db440ad6e14789905f9378ead [Pipeline] echo 12:58:35 ========================================================= 12:58:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:36 + git log --format=format:%s -1 d2e932c17d24234db440ad6e14789905f9378ead [Pipeline] echo 12:58:36 [semverPrep] GIT_COMMIT: d2e932c17d24234db440ad6e14789905f9378ead, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:36 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:36 + grep -v github /etc/ssh/ssh_known_hosts 12:58:36 + [ -e /tmp/ssh_known_hosts ] 12:58:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:36 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:37 12:58:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:37 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:37 b85a868b505f: Pulling fs layer 12:58:37 e2be974225ed: Pulling fs layer 12:58:37 339a4e72a1f5: Pulling fs layer 12:58:37 988bab9f4d93: Pulling fs layer 12:58:37 1469e6f7b9e6: Pulling fs layer 12:58:37 eaf3925da568: Pulling fs layer 12:58:37 bab4dde63d76: Pulling fs layer 12:58:37 bde34c3a00c8: Pulling fs layer 12:58:37 b352a97aabf1: Pulling fs layer 12:58:37 4872d77fe225: Pulling fs layer 12:58:37 5851b861e8e6: Pulling fs layer 12:58:37 988bab9f4d93: Waiting 12:58:37 1469e6f7b9e6: Waiting 12:58:37 eaf3925da568: Waiting 12:58:37 bab4dde63d76: Waiting 12:58:37 bde34c3a00c8: Waiting 12:58:37 b352a97aabf1: Waiting 12:58:37 4872d77fe225: Waiting 12:58:37 5851b861e8e6: Waiting 12:58:37 e2be974225ed: Verifying Checksum 12:58:37 e2be974225ed: Download complete 12:58:37 988bab9f4d93: Verifying Checksum 12:58:37 988bab9f4d93: Download complete 12:58:37 1469e6f7b9e6: Verifying Checksum 12:58:37 1469e6f7b9e6: Download complete 12:58:37 eaf3925da568: Download complete 12:58:37 339a4e72a1f5: Verifying Checksum 12:58:37 339a4e72a1f5: Download complete 12:58:37 bde34c3a00c8: Download complete 12:58:37 b352a97aabf1: Download complete 12:58:37 4872d77fe225: Verifying Checksum 12:58:37 4872d77fe225: Download complete 12:58:37 5851b861e8e6: Download complete 12:58:37 b85a868b505f: Verifying Checksum 12:58:37 b85a868b505f: Download complete 12:58:37 bab4dde63d76: Verifying Checksum 12:58:37 bab4dde63d76: Download complete 12:58:38 b85a868b505f: Pull complete 12:58:39 e2be974225ed: Pull complete 12:58:39 339a4e72a1f5: Pull complete 12:58:39 988bab9f4d93: Pull complete 12:58:39 1469e6f7b9e6: Pull complete 12:58:39 eaf3925da568: Pull complete 12:58:41 bab4dde63d76: Pull complete 12:58:41 bde34c3a00c8: Pull complete 12:58:41 b352a97aabf1: Pull complete 12:58:42 4872d77fe225: Pull complete 12:58:42 5851b861e8e6: Pull complete 12:58:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:42 prd-ubuntu20.04-docker-8c-8g-12156 does not seem to be running inside a container 12:58:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-553 -v /w/workspace/_app-service-configurable_PR-553:/w/workspace/_app-service-configurable_PR-553:rw,z -v /w/workspace/_app-service-configurable_PR-553@tmp:/w/workspace/_app-service-configurable_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:58:44 $ docker top b74282ca7083830120f1f12f4397a0a08b0e1f75e70f251029bac86571600045 -eo pid,comm 12:58:44 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:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:44 [ssh-agent] Looking for ssh-agent implementation... 12:58:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:44 $ docker exec b74282ca7083830120f1f12f4397a0a08b0e1f75e70f251029bac86571600045 ssh-agent 12:58:44 SSH_AUTH_SOCK=/tmp/ssh-M1s1eNJ7QJHj/agent.32 12:58:44 SSH_AGENT_PID=38 12:58:44 Running ssh-add (command line suppressed) 12:58:44 Identity added: /w/workspace/_app-service-configurable_PR-553@tmp/private_key_1220122494230457980.key (/w/workspace/_app-service-configurable_PR-553@tmp/private_key_1220122494230457980.key) 12:58:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:45 + git tag --points-at HEAD [Pipeline] } 12:58:45 $ docker exec --env ******** --env ******** b74282ca7083830120f1f12f4397a0a08b0e1f75e70f251029bac86571600045 ssh-agent -k 12:58:45 unset SSH_AUTH_SOCK; 12:58:45 unset SSH_AGENT_PID; 12:58:45 echo Agent pid 38 killed; 12:58:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:45 [ssh-agent] Looking for ssh-agent implementation... 12:58:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:45 $ docker exec b74282ca7083830120f1f12f4397a0a08b0e1f75e70f251029bac86571600045 ssh-agent 12:58:45 SSH_AUTH_SOCK=/tmp/ssh-rthMg4tdPN5p/agent.70 12:58:45 SSH_AGENT_PID=76 12:58:45 Running ssh-add (command line suppressed) 12:58:45 Identity added: /w/workspace/_app-service-configurable_PR-553@tmp/private_key_7688948743877599629.key (/w/workspace/_app-service-configurable_PR-553@tmp/private_key_7688948743877599629.key) 12:58:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:46 + git semver init 12:58:46 2023-05-01 12:58:46,349 [run_init] DEBUG init version:0.0.0 force:False 12:58:46 2023-05-01 12:58:46,349 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-553/.semver 12:58:46 2023-05-01 12:58:46,350 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-553/.semver 12:58:46 2023-05-01 12:58:46,350 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-553/.semver'], cwd=/w/workspace/_app-service-configurable_PR-553, universal_newlines=False, shell=None, istream=None) 12:58:47 2023-05-01 12:58:47,105 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-553/.git/info/exclude 12:58:47 2023-05-01 12:58:47,105 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-553/.semver/PR-553 with force:False 12:58:47 2023-05-01 12:58:47,105 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-553/.semver/PR-553 12:58:47 2023-05-01 12:58:47,108 [execute] INFO git cat-file --batch-check 12:58:47 2023-05-01 12:58:47,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-553/.semver, universal_newlines=False, shell=None, istream=) 12:58:47 2023-05-01 12:58:47,113 [execute] INFO git cat-file --batch 12:58:47 2023-05-01 12:58:47,113 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-553/.semver, universal_newlines=False, shell=None, istream=) 12:58:47 2023-05-01 12:58:47,117 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-553/.semver/PR-553 12:58:47 0.0.0 [Pipeline] } 12:58:47 $ docker exec --env ******** --env ******** b74282ca7083830120f1f12f4397a0a08b0e1f75e70f251029bac86571600045 ssh-agent -k 12:58:47 unset SSH_AUTH_SOCK; 12:58:47 unset SSH_AGENT_PID; 12:58:47 echo Agent pid 76 killed; 12:58:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:47 + git semver [Pipeline] } 12:58:48 $ docker stop --time=1 b74282ca7083830120f1f12f4397a0a08b0e1f75e70f251029bac86571600045 12:58:49 $ docker rm -f --volumes b74282ca7083830120f1f12f4397a0a08b0e1f75e70f251029bac86571600045 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:50 Stashed 1 file(s) [Pipeline] echo 12:58:50 [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:50 provisioning config files... 12:58:50 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-553@tmp/config746137502825564180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:51 ---> docker-login.sh 12:58:51 nexus3.edgexfoundry.org:10001 12:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:51 Configure a credential helper to remove this warning. See 12:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:51 12:58:51 Login Succeeded 12:58:51 nexus3.edgexfoundry.org:10002 12:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:51 Configure a credential helper to remove this warning. See 12:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:51 12:58:51 Login Succeeded 12:58:51 nexus3.edgexfoundry.org:10003 12:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:51 Configure a credential helper to remove this warning. See 12:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:51 12:58:51 Login Succeeded 12:58:51 nexus3.edgexfoundry.org:10004 12:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:51 Configure a credential helper to remove this warning. See 12:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:51 12:58:51 Login Succeeded 12:58:51 docker.io 12:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:51 Configure a credential helper to remove this warning. See 12:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:51 12:58:51 Login Succeeded 12:58:51 ---> docker-login.sh ends [Pipeline] } 12:58:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:52 ========================================================= 12:58:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:58:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:52 + 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:52 Sending build context to Docker daemon 3.297MB 12:58:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:58:52 Step 2/12 : FROM ${BASE} AS builder 12:58:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:52 f56be85fc22e: Pulling fs layer 12:58:52 85791d961cd3: Pulling fs layer 12:58:52 d694b5ae8c79: Pulling fs layer 12:58:52 9f32a84ed3da: Pulling fs layer 12:58:52 9f32a84ed3da: Waiting 12:58:52 4d19c01a9841: Pulling fs layer 12:58:52 9325e15d5711: Pulling fs layer 12:58:52 556b6ee489ea: Pulling fs layer 12:58:52 9325e15d5711: Waiting 12:58:52 556b6ee489ea: Waiting 12:58:52 c5a4b2cf53e6: Pulling fs layer 12:58:52 c5a4b2cf53e6: Waiting 12:58:52 85791d961cd3: Verifying Checksum 12:58:52 85791d961cd3: Download complete 12:58:52 9f32a84ed3da: Verifying Checksum 12:58:52 9f32a84ed3da: Download complete 12:58:52 4d19c01a9841: Verifying Checksum 12:58:52 4d19c01a9841: Download complete 12:58:52 f56be85fc22e: Verifying Checksum 12:58:52 f56be85fc22e: Download complete 12:58:52 9325e15d5711: Verifying Checksum 12:58:52 9325e15d5711: Download complete 12:58:52 f56be85fc22e: Pull complete 12:58:53 85791d961cd3: Pull complete 12:58:53 c5a4b2cf53e6: Verifying Checksum 12:58:53 c5a4b2cf53e6: Download complete 12:58:53 d694b5ae8c79: Verifying Checksum 12:58:53 d694b5ae8c79: Download complete 12:58:53 556b6ee489ea: Verifying Checksum 12:58:53 556b6ee489ea: Download complete 12:58:56 d694b5ae8c79: Pull complete 12:58:56 9f32a84ed3da: Pull complete 12:58:56 4d19c01a9841: Pull complete 12:58:56 9325e15d5711: Pull complete 12:58:59 556b6ee489ea: Pull complete 12:59:00 c5a4b2cf53e6: Pull complete 12:59:00 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 12:59:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:59:00 ---> c4be618373d6 12:59:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:03 ---> Running in 9335f19cc1cc 12:59:03 Removing intermediate container 9335f19cc1cc 12:59:03 ---> 0610184794b0 12:59:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:03 ---> Running in fbe268cb47c9 12:59:03 Removing intermediate container fbe268cb47c9 12:59:03 ---> 2c78dc14a74a 12:59:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:03 ---> Running in c81072c3278c 12:59:03 Removing intermediate container c81072c3278c 12:59:03 ---> 01182eb01cd1 12:59:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:03 ---> Running in 2a02f4e760b8 12:59:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:59:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:59:03 OK: 265 MiB in 53 packages 12:59:04 Removing intermediate container 2a02f4e760b8 12:59:04 ---> 79212f93d301 12:59:04 Step 7/12 : WORKDIR /app 12:59:04 ---> Running in 36dbf6ea0d34 12:59:04 Removing intermediate container 36dbf6ea0d34 12:59:04 ---> d47b7846a978 12:59:04 Step 8/12 : COPY go.mod vendor* ./ 12:59:04 ---> d594ea491330 12:59:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:04 ---> Running in 64ddd76ff1e6 12:59:05 Still waiting to schedule task 12:59:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:59:42 Removing intermediate container 64ddd76ff1e6 12:59:42 ---> 50eba6ea3d0d 12:59:42 Step 10/12 : COPY . . 12:59:42 ---> 2abf5eab5385 12:59:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:42 ---> Running in 5e5685a82e71 12:59:42 Removing intermediate container 5e5685a82e71 12:59:42 ---> cf5cef504985 12:59:42 Step 12/12 : RUN $MAKE 12:59:42 ---> Running in 65b1049b109e 12:59:42 noop 12:59:42 Removing intermediate container 65b1049b109e 12:59:42 ---> 41cc1fdb1973 12:59:42 Successfully built 41cc1fdb1973 12:59:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:43 + docker inspect -f . ci-base-image-x86_64 12:59:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:43 prd-ubuntu20.04-docker-8c-8g-12156 does not seem to be running inside a container 12:59:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-553 -v /w/workspace/_app-service-configurable_PR-553:/w/workspace/_app-service-configurable_PR-553:rw,z -v /w/workspace/_app-service-configurable_PR-553@tmp:/w/workspace/_app-service-configurable_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:43 $ docker top 5b89cf01ae13b3163d4b17dff931155a7917f8fbccc16209de9b3242eafb09ec -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:44 + go version 12:59:44 go version go1.20.2 linux/amd64 [Pipeline] } 12:59:44 $ docker stop --time=1 5b89cf01ae13b3163d4b17dff931155a7917f8fbccc16209de9b3242eafb09ec 12:59:45 $ docker rm -f --volumes 5b89cf01ae13b3163d4b17dff931155a7917f8fbccc16209de9b3242eafb09ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:46 + docker inspect -f . ci-base-image-x86_64 12:59:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:46 prd-ubuntu20.04-docker-8c-8g-12156 does not seem to be running inside a container 12:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-553 -v /w/workspace/_app-service-configurable_PR-553:/w/workspace/_app-service-configurable_PR-553:rw,z -v /w/workspace/_app-service-configurable_PR-553@tmp:/w/workspace/_app-service-configurable_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:46 $ docker top 45ba018886b752c1f2a1ec32cbe7cc0471463c4fb27836f8d0470e4dbf7ee223 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:47 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-553 [Pipeline] fileExists [Pipeline] sh 12:59:47 + make test 12:59:47 go test -race -coverprofile=coverage.out ./... 13:00:05 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:23 go vet ./... 13:00:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:27 ./bin/test-attribution-txt.sh 13:00:27 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:00:27 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:27 $ docker stop --time=1 45ba018886b752c1f2a1ec32cbe7cc0471463c4fb27836f8d0470e4dbf7ee223 13:00:30 $ docker rm -f --volumes 45ba018886b752c1f2a1ec32cbe7cc0471463c4fb27836f8d0470e4dbf7ee223 [Pipeline] // withDockerContainer [Pipeline] sh 13:00:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:31 + ls -al . 13:00:31 total 176 13:00:31 drwxrwxr-x 8 jenkins jenkins 4096 May 1 12:59 . 13:00:31 drwxrwxr-x 4 jenkins jenkins 4096 May 1 12:58 .. 13:00:31 -rw-rw-r-- 1 jenkins jenkins 119 May 1 12:58 .dockerignore 13:00:31 drwxrwxr-x 8 jenkins jenkins 4096 May 1 12:58 .git 13:00:31 drwxrwxr-x 3 jenkins jenkins 4096 May 1 12:58 .github 13:00:31 -rw-rw-r-- 1 jenkins jenkins 171 May 1 12:58 .gitignore 13:00:31 -rw-rw-r-- 1 jenkins jenkins 41 May 1 12:58 .golangci.yml 13:00:31 drwxr-xr-x 3 jenkins jenkins 4096 May 1 12:58 .semver 13:00:31 -rw-rw-r-- 1 jenkins jenkins 9088 May 1 12:58 Attribution.txt 13:00:31 -rw-rw-r-- 1 jenkins jenkins 29118 May 1 12:58 CHANGELOG.md 13:00:31 -rw-rw-r-- 1 jenkins jenkins 1898 May 1 12:58 Dockerfile 13:00:31 -rw-rw-r-- 1 jenkins jenkins 677 May 1 12:58 GOVERNANCE.md 13:00:31 -rw-rw-r-- 1 jenkins jenkins 688 May 1 12:58 Jenkinsfile 13:00:31 -rw-rw-r-- 1 jenkins jenkins 10174 May 1 12:58 LICENSE 13:00:31 -rw-rw-r-- 1 jenkins jenkins 618 May 1 12:58 OWNERS.md 13:00:31 -rw-rw-r-- 1 jenkins jenkins 4369 May 1 12:58 README.md 13:00:31 -rw-rw-r-- 1 jenkins jenkins 5 May 1 12:58 VERSION 13:00:31 drwxrwxr-x 2 jenkins jenkins 4096 May 1 12:58 bin 13:00:31 -rw-r--r-- 1 jenkins jenkins 13 May 1 12:59 coverage.out 13:00:31 -rw-rw-r-- 1 jenkins jenkins 3302 May 1 12:58 go.mod 13:00:31 -rw-rw-r-- 1 jenkins jenkins 31536 May 1 12:58 go.sum 13:00:31 -rw-rw-r-- 1 jenkins jenkins 1949 May 1 12:58 main.go 13:00:31 -rw-rw-r-- 1 jenkins jenkins 2569 May 1 12:58 makefile 13:00:31 drwxrwxr-x 9 jenkins jenkins 4096 May 1 12:58 res 13:00:31 drwxrwxr-x 4 jenkins jenkins 4096 May 1 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:32 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d2e932c17d24234db440ad6e14789905f9378ead --label arch=amd64 --label version=0.0.0 . 13:00:32 Sending build context to Docker daemon 3.298MB 13:00:32 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:00:32 Step 2/26 : FROM ${BASE} AS builder 13:00:32 ---> 41cc1fdb1973 13:00:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:32 ---> Running in 8708dde43f86 13:00:32 Removing intermediate container 8708dde43f86 13:00:32 ---> be6f85a7bd38 13:00:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:32 ---> Running in 39eec087ec91 13:00:32 Removing intermediate container 39eec087ec91 13:00:32 ---> 0f3fe7365196 13:00:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:32 ---> Running in 34c345a1a6bd 13:00:32 Removing intermediate container 34c345a1a6bd 13:00:32 ---> 39337029d73f 13:00:32 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:32 ---> Running in 3c5983ea406a 13:00:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:33 OK: 265 MiB in 53 packages 13:00:33 Removing intermediate container 3c5983ea406a 13:00:33 ---> 134bc625833f 13:00:33 Step 7/26 : WORKDIR /app 13:00:33 ---> Running in 62de156eecd1 13:00:33 Removing intermediate container 62de156eecd1 13:00:33 ---> 379112bdfa1d 13:00:33 Step 8/26 : COPY go.mod vendor* ./ 13:00:33 ---> 4f3ffd5974c5 13:00:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:33 ---> Running in 84e8ba399abe 13:00:34 Removing intermediate container 84e8ba399abe 13:00:34 ---> 652f44d92659 13:00:34 Step 10/26 : COPY . . 13:00:34 ---> 02b4e5b6bf83 13:00:34 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:34 ---> Running in 9c4254c9b66f 13:00:35 Removing intermediate container 9c4254c9b66f 13:00:35 ---> c9d9318595b4 13:00:35 Step 12/26 : RUN $MAKE 13:00:35 ---> Running in 2a1777e3bcac 13:00:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.55 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12157 in /w/workspace/_app-service-configurable_PR-553 [Pipeline] { [Pipeline] ws 13:00:36 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:36 Selected Git installation does not exist. Using Default 13:00:36 The recommended git tool is: NONE 13:00:41 using credential edgex-jenkins-ssh 13:00:41 Cloning the remote Git repository 13:00:41 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:41 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:41 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:41 > git --version # timeout=10 13:00:41 > git --version # 'git version 2.25.1' 13:00:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:43 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:44 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:44 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:44 Merging remotes/origin/main commit 62825bd30777131266891ed3853b6902d2747c3b into PR head commit d2e932c17d24234db440ad6e14789905f9378ead 13:00:44 Merge succeeded, producing d2e932c17d24234db440ad6e14789905f9378ead 13:00:44 Checking out Revision d2e932c17d24234db440ad6e14789905f9378ead (PR-553) 13:00:45 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:00:45 > git --version # timeout=10 13:00:45 > git --version # 'git version 2.25.1' 13:00:45 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 13:00:44 > git config core.sparsecheckout # timeout=10 13:00:44 > git checkout -f d2e932c17d24234db440ad6e14789905f9378ead # timeout=10 13:00:44 > git remote # timeout=10 13:00:44 > git config --get remote.origin.url # timeout=10 13:00:44 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:44 > git merge 62825bd30777131266891ed3853b6902d2747c3b # timeout=10 13:00:44 > git rev-parse HEAD^{commit} # timeout=10 13:00:44 > git config core.sparsecheckout # timeout=10 13:00:44 > git checkout -f d2e932c17d24234db440ad6e14789905f9378ead # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:46 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:46 Dload Upload Total Spent Left Speed 13:00:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 13:00:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:00:47 + sudo tee /etc/docker/daemon.new 13:00:47 { 13:00:47 "registry-mirrors": [ 13:00:47 "https://nexus3.edgexfoundry.org:10001" 13:00:47 ], 13:00:47 "bip": "10.250.0.254/24", 13:00:47 "hosts": [ 13:00:47 "tcp://0.0.0.0:5555", 13:00:47 "unix:///var/run/docker.sock" 13:00:47 ], 13:00:47 "mtu": 1458, 13:00:47 "selinux-enabled": true, 13:00:47 "seccomp-profile": "/etc/docker/seccomp.json" 13:00:47 } [Pipeline] sh 13:00:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:00:48 + sudo service docker restart 13:00:53 Removing intermediate container 2a1777e3bcac 13:00:53 ---> 7ffeb92a01fb 13:00:53 Step 13/26 : FROM alpine:3.17 13:00:53 3.17: Pulling from library/alpine 13:00:53 f56be85fc22e: Already exists 13:00:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:00:53 Status: Downloaded newer image for alpine:3.17 13:00:53 ---> 9ed4aefc74f6 13:00:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:00:53 ---> Running in dc4fefb4963d 13:00:53 Removing intermediate container dc4fefb4963d 13:00:53 ---> 3fad4b826cae 13:00:53 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:00:53 ---> Running in a4c2a95a62dd 13:00:53 Removing intermediate container a4c2a95a62dd 13:00:53 ---> c05abd257609 13:00:53 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:00:53 ---> Running in a4f0bbd71be7 13:00:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:54 (1/2) Installing ca-certificates (20220614-r4) 13:00:54 (2/2) Installing dumb-init (1.2.5-r2) 13:00:54 Executing busybox-1.35.0-r29.trigger 13:00:54 Executing ca-certificates-20220614-r4.trigger 13:00:54 OK: 8 MiB in 17 packages 13:00:54 Removing intermediate container a4f0bbd71be7 13:00:54 ---> f505a9860895 13:00:54 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:00:54 ---> 00ecf733c6bb 13:00:54 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:00:55 ---> a02e498d5806 13:00:55 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:00:55 ---> 1775dbd148ac 13:00:55 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:00:55 ---> d425c71bd1a4 13:00:55 Step 21/26 : EXPOSE 48095 13:00:55 ---> Running in 6206a904af15 13:00:55 Removing intermediate container 6206a904af15 13:00:55 ---> 79b0123a47e2 13:00:55 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:00:55 ---> Running in 7844fb6710bd 13:00:55 Removing intermediate container 7844fb6710bd 13:00:55 ---> 6cfc542de38e 13:00:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:00:55 ---> Running in 592b8a3a3ef2 13:00:55 Removing intermediate container 592b8a3a3ef2 13:00:55 ---> 81e1a4c76986 13:00:55 Step 24/26 : LABEL arch=amd64 13:00:55 ---> Running in 872c1a35de3f 13:00:56 Removing intermediate container 872c1a35de3f 13:00:56 ---> a137fed51e9f 13:00:56 Step 25/26 : LABEL git_sha=d2e932c17d24234db440ad6e14789905f9378ead 13:00:56 ---> Running in 6c45937b4eec 13:00:56 Removing intermediate container 6c45937b4eec 13:00:56 ---> 96537310e192 13:00:56 Step 26/26 : LABEL version=0.0.0 13:00:56 ---> Running in 5849c4cd0d4a 13:00:56 Removing intermediate container 5849c4cd0d4a 13:00:56 ---> 44f36870fff5 13:00:56 [Warning] One or more build-args [ARCH] were not consumed 13:00:56 Successfully built 44f36870fff5 13:00:56 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:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:57 13:00:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:57 latest: Pulling from edgex-lftools-log-publisher 13:00:57 5eb5b503b376: Pulling fs layer 13:00:57 5c69ac0246d0: Pulling fs layer 13:00:57 ec43610c2a17: Pulling fs layer 13:00:57 3a2ae6a8a46f: Pulling fs layer 13:00:57 33b1e0a273af: Pulling fs layer 13:00:57 5d3b04190fa2: Pulling fs layer 13:00:57 2f39f015ded8: Pulling fs layer 13:00:57 3a2ae6a8a46f: Waiting 13:00:57 33b1e0a273af: Waiting 13:00:57 5d3b04190fa2: Waiting 13:00:57 2f39f015ded8: Waiting 13:00:57 5c69ac0246d0: Download complete 13:00:57 3a2ae6a8a46f: Verifying Checksum 13:00:57 3a2ae6a8a46f: Download complete 13:00:57 33b1e0a273af: Verifying Checksum 13:00:57 33b1e0a273af: Download complete 13:00:57 5d3b04190fa2: Verifying Checksum 13:00:57 5d3b04190fa2: Download complete 13:00:57 ec43610c2a17: Verifying Checksum 13:00:57 ec43610c2a17: Download complete 13:00:57 5eb5b503b376: Verifying Checksum 13:00:57 5eb5b503b376: Download complete 13:00:58 2f39f015ded8: Download complete 13:00:58 5eb5b503b376: Pull complete 13:00:58 5c69ac0246d0: Pull complete 13:00:59 ec43610c2a17: Pull complete 13:00:59 3a2ae6a8a46f: Pull complete 13:00:59 33b1e0a273af: Pull complete 13:00:59 5d3b04190fa2: Pull complete 13:01:03 2f39f015ded8: Pull complete 13:01:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:01:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:04 prd-ubuntu20.04-docker-8c-8g-12156 does not seem to be running inside a container 13:01:04 $ 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-553 -v /w/workspace/_app-service-configurable_PR-553:/w/workspace/_app-service-configurable_PR-553:rw,z -v /w/workspace/_app-service-configurable_PR-553@tmp:/w/workspace/_app-service-configurable_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:01:06 $ docker top 601f0338fa146899a34962390749fac2ff40cec4a7e22b3f7191334202ce517f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 13:01:06 provisioning config files... 13:01:06 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config6551732692861940162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:07 ---> job-cost.sh 13:01:07 lf-activate-venv: SKIPPING 13:01:07 INFO: No Stack... 13:01:07 ---> docker-login.sh 13:01:07 nexus3.edgexfoundry.org:10001 13:01:07 INFO: Retrieving Pricing Info for: v3-standard-8 13:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:07 INFO: Archiving Costs [Pipeline] sh 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 nexus3.edgexfoundry.org:10002 13:01:07 + cat /w/workspace/_app-service-configurable_PR-553/archives/cost.csv 13:01:07 + cut -d, -f6 [Pipeline] lock 13:01:07 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-553-1-stack-cost] 13:01:07 Resource [jenkins-edgexfoundry-app-service-configurable-PR-553-1-stack-cost] did not exist. Created. 13:01:07 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-553-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:08 Configure a credential helper to remove this warning. See 13:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:08 13:01:08 Login Succeeded 13:01:08 nexus3.edgexfoundry.org:10003 13:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:08 + echo total: 0.2199999988079071 [Pipeline] stash 13:01:08 Stashed 1 file(s) [Pipeline] } 13:01:08 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-553-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:08 $ docker stop --time=1 601f0338fa146899a34962390749fac2ff40cec4a7e22b3f7191334202ce517f 13:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:08 Configure a credential helper to remove this warning. See 13:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:08 13:01:08 Login Succeeded 13:01:08 nexus3.edgexfoundry.org:10004 13:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:08 Configure a credential helper to remove this warning. See 13:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:08 13:01:08 Login Succeeded 13:01:08 docker.io 13:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:09 Configure a credential helper to remove this warning. See 13:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:09 13:01:09 Login Succeeded 13:01:09 ---> docker-login.sh ends 13:01:09 $ docker rm -f --volumes 601f0338fa146899a34962390749fac2ff40cec4a7e22b3f7191334202ce517f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 13:01:09 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 13:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:10 ========================================================= 13:01:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:01:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:10 + 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:10 Sending build context to Docker daemon 169kB 13:01:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:01:11 Step 2/12 : FROM ${BASE} AS builder 13:01:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:11 c41833b44d91: Pulling fs layer 13:01:11 ed15518f5707: Pulling fs layer 13:01:11 feae8fd75edb: Pulling fs layer 13:01:11 242c74f7c9fa: Pulling fs layer 13:01:11 3cdef696dda3: Pulling fs layer 13:01:11 2ced38df9373: Pulling fs layer 13:01:11 58f1dce35555: Pulling fs layer 13:01:11 3cdef696dda3: Waiting 13:01:11 242c74f7c9fa: Waiting 13:01:11 2ced38df9373: Waiting 13:01:11 ed15518f5707: Download complete 13:01:11 242c74f7c9fa: Verifying Checksum 13:01:11 242c74f7c9fa: Download complete 13:01:11 3cdef696dda3: Verifying Checksum 13:01:11 3cdef696dda3: Download complete 13:01:11 c41833b44d91: Verifying Checksum 13:01:12 c41833b44d91: Pull complete 13:01:12 58f1dce35555: Verifying Checksum 13:01:12 58f1dce35555: Download complete 13:01:12 ed15518f5707: Pull complete 13:01:13 feae8fd75edb: Download complete 13:01:13 2ced38df9373: Download complete 13:01:26 feae8fd75edb: Pull complete 13:01:26 242c74f7c9fa: Pull complete 13:01:26 3cdef696dda3: Pull complete 13:01:31 2ced38df9373: Pull complete 13:01:33 58f1dce35555: Pull complete 13:01:33 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:01:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:01:33 ---> fadd8f120f05 13:01:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:35 ---> Running in b691fb6ac1e0 13:01:35 Removing intermediate container b691fb6ac1e0 13:01:35 ---> 0af612b44549 13:01:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:35 ---> Running in 8f3b91d10d1e 13:01:36 Removing intermediate container 8f3b91d10d1e 13:01:36 ---> 23f6e9f845a1 13:01:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:36 ---> Running in 39b15dd83232 13:01:36 Removing intermediate container 39b15dd83232 13:01:36 ---> 88a2ac18f47b 13:01:36 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:36 ---> Running in 5a4564bfdb55 13:01:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:01:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:01:39 OK: 263 MiB in 53 packages 13:01:39 Removing intermediate container 5a4564bfdb55 13:01:39 ---> e354286c4574 13:01:39 Step 7/12 : WORKDIR /app 13:01:40 ---> Running in fa11221c50fa 13:01:40 Removing intermediate container fa11221c50fa 13:01:40 ---> 616f3b8daeb5 13:01:40 Step 8/12 : COPY go.mod vendor* ./ 13:01:41 ---> 99fb6a412f27 13:01:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:41 ---> Running in b940d904cc05 13:02:49 Removing intermediate container b940d904cc05 13:02:49 ---> 9b64af4d8c6e 13:02:49 Step 10/12 : COPY . . 13:02:49 ---> 75a9b3258285 13:02:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:49 ---> Running in 2fe9db58bce3 13:02:49 Removing intermediate container 2fe9db58bce3 13:02:49 ---> d9f0b43d5168 13:02:49 Step 12/12 : RUN $MAKE 13:02:49 ---> Running in b59a1a6fff79 13:02:49 noop 13:02:49 Removing intermediate container b59a1a6fff79 13:02:49 ---> aa5f5bc3c824 13:02:49 Successfully built aa5f5bc3c824 13:02:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:49 + docker inspect -f . ci-base-image-arm64 13:02:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:49 prd-ubuntu20.04-docker-arm64-4c-16g-12157 does not seem to be running inside a container 13:02:49 $ 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:51 $ docker top 76222d4f79b29cbba6927a5d8ece7358b81706f87fedc8a20bb260970abc9572 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:52 + go version 13:02:52 go version go1.20.2 linux/arm64 [Pipeline] } 13:02:52 $ docker stop --time=1 76222d4f79b29cbba6927a5d8ece7358b81706f87fedc8a20bb260970abc9572 13:02:53 $ docker rm -f --volumes 76222d4f79b29cbba6927a5d8ece7358b81706f87fedc8a20bb260970abc9572 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:54 + docker inspect -f . ci-base-image-arm64 13:02:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:54 prd-ubuntu20.04-docker-arm64-4c-16g-12157 does not seem to be running inside a container 13:02:54 $ 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:56 $ docker top 9cbd3f7b3a4cc4de804dc4874d8e19f3baa1fb5a38cc51e6c44c1dfd76c70664 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:56 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:02:57 + make test 13:02:57 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:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:07:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:07:40 ./bin/test-attribution-txt.sh 13:07:40 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:07:40 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:07:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:07:40 $ docker stop --time=1 9cbd3f7b3a4cc4de804dc4874d8e19f3baa1fb5a38cc51e6c44c1dfd76c70664 13:07:42 $ docker rm -f --volumes 9cbd3f7b3a4cc4de804dc4874d8e19f3baa1fb5a38cc51e6c44c1dfd76c70664 [Pipeline] // withDockerContainer [Pipeline] sh 13:07:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:07:44 Warning: overwriting stash ‘coverage-report’ 13:07:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:07:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:07:45 + ls -al . 13:07:45 total 172 13:07:45 drwxrwxr-x 7 jenkins jenkins 4096 May 1 13:03 . 13:07:45 drwxrwxr-x 4 jenkins jenkins 4096 May 1 13:00 .. 13:07:45 -rw-rw-r-- 1 jenkins jenkins 119 May 1 13:00 .dockerignore 13:07:45 drwxrwxr-x 8 jenkins jenkins 4096 May 1 13:00 .git 13:07:45 drwxrwxr-x 3 jenkins jenkins 4096 May 1 13:00 .github 13:07:45 -rw-rw-r-- 1 jenkins jenkins 171 May 1 13:00 .gitignore 13:07:45 -rw-rw-r-- 1 jenkins jenkins 41 May 1 13:00 .golangci.yml 13:07:45 -rw-rw-r-- 1 jenkins jenkins 9088 May 1 13:00 Attribution.txt 13:07:45 -rw-rw-r-- 1 jenkins jenkins 29118 May 1 13:00 CHANGELOG.md 13:07:45 -rw-rw-r-- 1 jenkins jenkins 1898 May 1 13:00 Dockerfile 13:07:45 -rw-rw-r-- 1 jenkins jenkins 677 May 1 13:00 GOVERNANCE.md 13:07:45 -rw-rw-r-- 1 jenkins jenkins 688 May 1 13:00 Jenkinsfile 13:07:45 -rw-rw-r-- 1 jenkins jenkins 10174 May 1 13:00 LICENSE 13:07:45 -rw-rw-r-- 1 jenkins jenkins 618 May 1 13:00 OWNERS.md 13:07:45 -rw-rw-r-- 1 jenkins jenkins 4369 May 1 13:00 README.md 13:07:45 -rw-rw-r-- 1 jenkins jenkins 5 May 1 12:58 VERSION 13:07:45 drwxrwxr-x 2 jenkins jenkins 4096 May 1 13:00 bin 13:07:45 -rw-r--r-- 1 jenkins jenkins 13 May 1 13:03 coverage.out 13:07:45 -rw-rw-r-- 1 jenkins jenkins 3302 May 1 13:00 go.mod 13:07:45 -rw-rw-r-- 1 jenkins jenkins 31536 May 1 13:00 go.sum 13:07:45 -rw-rw-r-- 1 jenkins jenkins 1949 May 1 13:00 main.go 13:07:45 -rw-rw-r-- 1 jenkins jenkins 2569 May 1 13:00 makefile 13:07:45 drwxrwxr-x 9 jenkins jenkins 4096 May 1 13:00 res 13:07:45 drwxrwxr-x 4 jenkins jenkins 4096 May 1 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:45 + 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=d2e932c17d24234db440ad6e14789905f9378ead --label arch=arm64 --label version=0.0.0 . 13:07:45 Sending build context to Docker daemon 170kB 13:07:46 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:07:46 Step 2/26 : FROM ${BASE} AS builder 13:07:46 ---> aa5f5bc3c824 13:07:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:07:46 ---> Running in 7998a62b492e 13:07:46 Removing intermediate container 7998a62b492e 13:07:46 ---> c686cb9ac98d 13:07:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:07:46 ---> Running in 43eae1109c02 13:07:47 Removing intermediate container 43eae1109c02 13:07:47 ---> cd2ca8e69ce4 13:07:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:07:47 ---> Running in bdc286ab4656 13:07:47 Removing intermediate container bdc286ab4656 13:07:47 ---> e2062930380f 13:07:47 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:07:47 ---> Running in c0b546c36c09 13:07:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:07:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:07:49 OK: 263 MiB in 53 packages 13:07:52 Removing intermediate container c0b546c36c09 13:07:52 ---> 0ee251344421 13:07:52 Step 7/26 : WORKDIR /app 13:07:52 ---> Running in 691f7cf61689 13:07:52 Removing intermediate container 691f7cf61689 13:07:52 ---> 85ddd66b0f77 13:07:52 Step 8/26 : COPY go.mod vendor* ./ 13:07:53 ---> a93ae8ea7eb5 13:07:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:53 ---> Running in 6c2236422052 13:07:56 Removing intermediate container 6c2236422052 13:07:56 ---> 9581646ef5ca 13:07:56 Step 10/26 : COPY . . 13:07:56 ---> c30bc1ade232 13:07:56 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:07:56 ---> Running in db2348580861 13:07:56 Removing intermediate container db2348580861 13:07:56 ---> faa8efdd24cd 13:07:56 Step 12/26 : RUN $MAKE 13:07:56 ---> Running in ff96d5153fa0 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.55 -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 ff96d5153fa0 13:10:04 ---> 758c47edcc55 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 aebcac1895a9 13:10:04 Removing intermediate container aebcac1895a9 13:10:04 ---> 0e32d8ec5db7 13:10:04 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:10:04 ---> Running in 22539045cffe 13:10:04 Removing intermediate container 22539045cffe 13:10:04 ---> 5934b12d9615 13:10:04 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:10:04 ---> Running in 1b9f20304bf9 13:10:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:10:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:10:04 (1/2) Installing ca-certificates (20220614-r4) 13:10:04 (2/2) Installing dumb-init (1.2.5-r2) 13:10:04 Executing busybox-1.35.0-r29.trigger 13:10:04 Executing ca-certificates-20220614-r4.trigger 13:10:04 OK: 8 MiB in 17 packages 13:10:06 Removing intermediate container 1b9f20304bf9 13:10:06 ---> 6a18979a74ae 13:10:06 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:06 ---> dc05d7ea7f49 13:10:06 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:10:07 ---> 48269081c037 13:10:07 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:10:07 ---> dcc0a5a367df 13:10:07 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:10:09 ---> 1e4500e45138 13:10:09 Step 21/26 : EXPOSE 48095 13:10:09 ---> Running in 3cb3e04e233d 13:10:09 Removing intermediate container 3cb3e04e233d 13:10:09 ---> 90c0050aab5c 13:10:09 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:10:09 ---> Running in af6119ae0c2b 13:10:09 Removing intermediate container af6119ae0c2b 13:10:09 ---> b62592bb0061 13:10:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:10:09 ---> Running in 4f137f1865fb 13:10:09 Removing intermediate container 4f137f1865fb 13:10:09 ---> fd26e4ebfa62 13:10:09 Step 24/26 : LABEL arch=arm64 13:10:09 ---> Running in a8d90ee94f4e 13:10:10 Removing intermediate container a8d90ee94f4e 13:10:10 ---> da26e0933800 13:10:10 Step 25/26 : LABEL git_sha=d2e932c17d24234db440ad6e14789905f9378ead 13:10:10 ---> Running in b63f2a4999b8 13:10:10 Removing intermediate container b63f2a4999b8 13:10:10 ---> e2136c4b3bcd 13:10:10 Step 26/26 : LABEL version=0.0.0 13:10:10 ---> Running in 2c2b162c33a2 13:10:10 Removing intermediate container 2c2b162c33a2 13:10:10 ---> e0852ac0f027 13:10:10 [Warning] One or more build-args [ARCH] were not consumed 13:10:10 Successfully built e0852ac0f027 13:10:10 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:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:11 13:10:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:12 arm64: Pulling from edgex-lftools-log-publisher 13:10:12 8998bd30e6a1: Pulling fs layer 13:10:12 04944245beec: Pulling fs layer 13:10:12 699f458cf7ca: Pulling fs layer 13:10:12 765212b225bb: Pulling fs layer 13:10:12 f23df028b6ca: Pulling fs layer 13:10:12 d65c8cfc05b1: Pulling fs layer 13:10:12 2437ff75d9bd: Pulling fs layer 13:10:12 765212b225bb: Waiting 13:10:12 d65c8cfc05b1: Waiting 13:10:12 f23df028b6ca: Waiting 13:10:12 04944245beec: Verifying Checksum 13:10:12 04944245beec: Download complete 13:10:12 765212b225bb: Verifying Checksum 13:10:12 765212b225bb: Download complete 13:10:12 f23df028b6ca: Verifying Checksum 13:10:12 f23df028b6ca: Download complete 13:10:12 d65c8cfc05b1: Verifying Checksum 13:10:12 d65c8cfc05b1: Download complete 13:10:12 699f458cf7ca: Verifying Checksum 13:10:12 699f458cf7ca: Download complete 13:10:13 8998bd30e6a1: Verifying Checksum 13:10:13 8998bd30e6a1: Download complete 13:10:15 2437ff75d9bd: Verifying Checksum 13:10:15 2437ff75d9bd: Download complete 13:10:18 8998bd30e6a1: Pull complete 13:10:18 04944245beec: Pull complete 13:10:20 699f458cf7ca: Pull complete 13:10:20 765212b225bb: Pull complete 13:10:21 f23df028b6ca: Pull complete 13:10:21 d65c8cfc05b1: Pull complete 13:10:36 2437ff75d9bd: Pull complete 13:10:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:10:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:36 prd-ubuntu20.04-docker-arm64-4c-16g-12157 does not seem to be running inside a container 13:10:36 $ 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:39 $ docker top 9583bf52403ac10845c73b21153e6fdd78ba453cdf6ad201c4881a2f13a91442 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:40 ---> job-cost.sh 13:10:40 lf-activate-venv: SKIPPING 13:10:40 INFO: No Stack... 13:10:40 INFO: Retrieving Pricing Info for: v3-standard-4 13:10:41 INFO: Archiving Costs [Pipeline] sh 13:10:42 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:10:42 + cut -d, -f6 [Pipeline] lock 13:10:42 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-553-1-stack-cost] 13:10:42 Resource [jenkins-edgexfoundry-app-service-configurable-PR-553-1-stack-cost] did not exist. Created. 13:10:42 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-553-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:10:43 /w/workspace/app-service-configurable/1@tmp/durable-b68f3c32/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:10:43 + echo total: 0.10999999940395355 [Pipeline] stash 13:10:43 Warning: overwriting stash ‘stack-cost’ 13:10:43 Stashed 1 file(s) [Pipeline] } 13:10:44 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-553-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:10:44 $ docker stop --time=1 9583bf52403ac10845c73b21153e6fdd78ba453cdf6ad201c4881a2f13a91442 13:10:45 $ docker rm -f --volumes 9583bf52403ac10845c73b21153e6fdd78ba453cdf6ad201c4881a2f13a91442 [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:46 provisioning config files... 13:10:46 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-553@tmp/config10402010692481549174tmp [Pipeline] { [Pipeline] sh 13:10:46 + set +x 13:10:46 + curl -s https://codecov.io/bash 13:10:46 + bash -s -- 13:10:46 13:10:46 _____ _ 13:10:46 / ____| | | 13:10:46 | | ___ __| | ___ ___ _____ __ 13:10:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:10:46 | |___| (_) | (_| | __/ (_| (_) \ V / 13:10:46 \_____\___/ \__,_|\___|\___\___/ \_/ 13:10:46 Bash-1.0.6 13:10:46 13:10:46 13:10:46 ==> git version 2.25.1 found 13:10:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:10:46 Release-Date: 2020-01-08 13:10:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:10:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:10:46 ==> Jenkins CI detected. 13:10:46 current dir:  /w/workspace/_app-service-configurable_PR-553 13:10:46 project root: . 13:10:46 --> token set from env 13:10:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:10:46 ==> Running gcov in . (disable via -X gcov) 13:10:46 ==> Python coveragepy not found 13:10:46 ==> Searching for coverage reports in: 13:10:46 + . 13:10:46 -> Found 1 reports 13:10:46 ==> Detecting git/mercurial file structure 13:10:47 ==> Reading reports 13:10:47 + ./coverage.out bytes=13 13:10:47 ==> Appending adjustments 13:10:47 https://docs.codecov.io/docs/fixing-reports 13:10:47 + Found adjustments 13:10:47 ==> Gzipping contents 13:10:47 4.0K /tmp/codecov.Hm8BVq.gz 13:10:47 ==> Uploading reports 13:10:47 url: https://codecov.io 13:10:47 query: branch=PR-553&commit=d2e932c17d24234db440ad6e14789905f9378ead&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-553%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=553&job=&cmd_args= 13:10:47 -> Pinging Codecov 13:10:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-553&commit=d2e932c17d24234db440ad6e14789905f9378ead&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-553%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=553&job=&cmd_args= 13:10:47 -> Uploading to 13:10:47 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/A97CA9966030D2A3747ED39772930CCE/d2e932c17d24234db440ad6e14789905f9378ead/716bcaae-fcce-48e8-bd15-b979d549c93d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T131047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21980aa095abda7075a0bd6973de9a1d373256e415a6e6663cd2f9b755624eec 13:10:47 % Total % Received % Xferd Average Speed Time Time Time Current 13:10:47 Dload Upload Total Spent Left Speed 13:10:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1722 --:--:-- --:--:-- --:--:-- 1722 13:10:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/d2e932c17d24234db440ad6e14789905f9378ead [Pipeline] } 13:10:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:10:49 + [ -d /w/workspace/_app-service-configurable_PR-553/archives ] 13:10:49 + ls -al /w/workspace/_app-service-configurable_PR-553/archives 13:10:49 total 16 13:10:49 drwxr-xr-x 3 root root 4096 May 1 13:01 . 13:10:49 drwxrwxr-x 9 jenkins jenkins 4096 May 1 13:01 .. 13:10:49 drwxr-xr-x 2 root root 4096 May 1 13:01 cost 13:10:49 -rw-r--r-- 1 root root 96 May 1 13:01 cost.csv 13:10:49 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-553/archives 13:10:49 + ls -al /w/workspace/_app-service-configurable_PR-553/archives 13:10:49 total 16 13:10:49 drwxr-xr-x 3 jenkins jenkins 4096 May 1 13:01 . 13:10:49 drwxrwxr-x 9 jenkins jenkins 4096 May 1 13:01 .. 13:10:49 drwxr-xr-x 2 jenkins jenkins 4096 May 1 13:01 cost 13:10:49 -rw-r--r-- 1 jenkins jenkins 96 May 1 13:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:10:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:10:50 ---> package-listing.sh 13:10:50 ++ facter osfamily 13:10:50 ++ tr '[:upper:]' '[:lower:]' 13:10:50 + OS_FAMILY=debian 13:10:50 + workspace=/w/workspace/_app-service-configurable_PR-553 13:10:50 + START_PACKAGES=/tmp/packages_start.txt 13:10:50 + END_PACKAGES=/tmp/packages_end.txt 13:10:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:10:50 + PACKAGES=/tmp/packages_start.txt 13:10:50 + '[' /w/workspace/_app-service-configurable_PR-553 ']' 13:10:50 + PACKAGES=/tmp/packages_end.txt 13:10:50 + case "${OS_FAMILY}" in 13:10:50 + dpkg -l 13:10:50 + grep '^ii' 13:10:50 + '[' -f /tmp/packages_start.txt ']' 13:10:50 + '[' -f /tmp/packages_end.txt ']' 13:10:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:10:50 + '[' /w/workspace/_app-service-configurable_PR-553 ']' 13:10:50 + mkdir -p /w/workspace/_app-service-configurable_PR-553/archives/ 13:10:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-553/archives/ [Pipeline] echo 13:10:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-553/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:10:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:51 prd-ubuntu20.04-docker-8c-8g-12156 does not seem to be running inside a container 13:10:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-553/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-553 -v /w/workspace/_app-service-configurable_PR-553:/w/workspace/_app-service-configurable_PR-553:rw,z -v /w/workspace/_app-service-configurable_PR-553@tmp:/w/workspace/_app-service-configurable_PR-553@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:10:51 $ docker top cf0262ae78f663d63c71384b4ec55f67483c2fa29542078042e007255a552888 -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:52 + touch /tmp/pre-build-complete [Pipeline] sh 13:10:52 + mkdir -p /var/log/sysstat [Pipeline] sh 13:10:53 + ls /var/log/sa-host 13:10:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:53 provisioning config files... 13:10:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-553@tmp/config9885039006683425754tmp [Pipeline] { [Pipeline] echo 13:10:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:10:53 ---> create-netrc.sh [Pipeline] } 13:10:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:10:53 ---> python-tools-install.sh [Pipeline] echo 13:10:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:10:54 ---> sudo-logs.sh 13:10:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:10:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:10:54 ---> job-cost.sh 13:10:54 lf-activate-venv: SKIPPING 13:10:54 DEBUG: total: 0.2199999988079071 13:10:54 INFO: Retrieving Stack Cost... 13:10:55 INFO: Retrieving Pricing Info for: v3-standard-8 13:10:55 INFO: Archiving Costs [Pipeline] echo 13:10:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:10:55 ---> logs-deploy.sh 13:10:55 lf-activate-venv: SKIPPING 13:10:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-553/1 13:10:55 INFO: archiving workspace using pattern(s): 13:10:56 Archives upload complete. 13:10:56 INFO: archiving logs to Nexus