Pull request #618 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f6f205fc7dcdc4f9858619c98e2abd49ae4faae4+c583aa4fb078343a3c888109ea4df2cf2137b3df (32bae93855fa0d56f5f8cb41431f625c034ec6fb) 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-ssh13205427777977021450.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2082965191730695607.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-618/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-618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11228773573308246642.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-618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3596090823991712321.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10378845980137355032.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-618/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-618/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7577378719638392842.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16128’ Running on prd-ubuntu20.04-docker-8c-8g-16130 in /w/workspace/_app-service-configurable_PR-618 [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-618 # 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/618/head:refs/remotes/origin/PR-618 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c583aa4fb078343a3c888109ea4df2cf2137b3df into PR head commit f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 Merge succeeded, producing f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 Checking out Revision f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 (PR-618) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:37:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:37:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 # 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 c583aa4fb078343a3c888109ea4df2cf2137b3df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:37:12 ========================================================= 12:37:12 EdgeX Global Pipelines Version Info 12:37:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:37:13 ------------------- 12:37:13 stable info: 12:37:13 ------------------- 12:37:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:37:13 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:37:13 Message: update stable to v1.0.254 12:37:13 ------------------- 12:37:13 experimental info: 12:37:13 ------------------- 12:37:13 Commited By: **** collab-it+edgex@linuxfoundation.org 12:37:13 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 12:37:13 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:37:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:37:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:37:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:37:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:37:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-618 [Pipeline] echo 12:37:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-618 [Pipeline] echo 12:37:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-618 [Pipeline] echo 12:37:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 [Pipeline] echo 12:37:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6f205f [Pipeline] echo 12:37:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:37:15 provisioning config files... 12:37:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-618@tmp/config9872911677873928988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:37:15 ---> docker-login.sh 12:37:15 nexus3.edgexfoundry.org:10001 12:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:16 Configure a credential helper to remove this warning. See 12:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:16 12:37:16 Login Succeeded 12:37:16 nexus3.edgexfoundry.org:10002 12:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:16 Configure a credential helper to remove this warning. See 12:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:16 12:37:16 Login Succeeded 12:37:16 nexus3.edgexfoundry.org:10003 12:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:16 Configure a credential helper to remove this warning. See 12:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:16 12:37:16 Login Succeeded 12:37:16 nexus3.edgexfoundry.org:10004 12:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:16 Configure a credential helper to remove this warning. See 12:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:16 12:37:16 Login Succeeded 12:37:16 docker.io 12:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:16 Configure a credential helper to remove this warning. See 12:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:16 12:37:16 Login Succeeded 12:37:16 ---> docker-login.sh ends [Pipeline] } 12:37:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:37:17 + git rev-list -1 --merges f6f205fc7dcdc4f9858619c98e2abd49ae4faae4~1..f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 [Pipeline] echo 12:37:17 -----------> git rev-list -1 --merges f6f205fc7dcdc4f9858619c98e2abd49ae4faae4~1..f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 [false] [Pipeline] sh 12:37:17 + git log --format=format:%s -1 f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 [Pipeline] echo 12:37:17 ========================================================= 12:37:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:37:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:37:18 + git log --format=format:%s -1 f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 [Pipeline] echo 12:37:18 [semverPrep] GIT_COMMIT: f6f205fc7dcdc4f9858619c98e2abd49ae4faae4, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:37:18 [semverPrep] This is not a build commit. [Pipeline] sh 12:37:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:37:18 + grep -v github /etc/ssh/ssh_known_hosts 12:37:18 + [ -e /tmp/ssh_known_hosts ] 12:37:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:37:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:37:18 + sudo tee -a /etc/ssh/ssh_known_hosts 12:37:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:37:19 12:37:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:37:19 0.1.4: Pulling from edgex-devops/py-git-semver 12:37:19 b85a868b505f: Pulling fs layer 12:37:19 e2be974225ed: Pulling fs layer 12:37:19 339a4e72a1f5: Pulling fs layer 12:37:19 988bab9f4d93: Pulling fs layer 12:37:19 1469e6f7b9e6: Pulling fs layer 12:37:19 eaf3925da568: Pulling fs layer 12:37:19 bab4dde63d76: Pulling fs layer 12:37:19 bde34c3a00c8: Pulling fs layer 12:37:19 b352a97aabf1: Pulling fs layer 12:37:19 988bab9f4d93: Waiting 12:37:19 1469e6f7b9e6: Waiting 12:37:19 eaf3925da568: Waiting 12:37:19 bab4dde63d76: Waiting 12:37:19 bde34c3a00c8: Waiting 12:37:19 4872d77fe225: Pulling fs layer 12:37:19 5851b861e8e6: Pulling fs layer 12:37:19 b352a97aabf1: Waiting 12:37:19 4872d77fe225: Waiting 12:37:19 5851b861e8e6: Waiting 12:37:19 e2be974225ed: Verifying Checksum 12:37:19 e2be974225ed: Download complete 12:37:19 988bab9f4d93: Verifying Checksum 12:37:19 988bab9f4d93: Download complete 12:37:19 1469e6f7b9e6: Verifying Checksum 12:37:19 1469e6f7b9e6: Download complete 12:37:20 339a4e72a1f5: Verifying Checksum 12:37:20 339a4e72a1f5: Download complete 12:37:20 eaf3925da568: Verifying Checksum 12:37:20 eaf3925da568: Download complete 12:37:20 bde34c3a00c8: Verifying Checksum 12:37:20 bde34c3a00c8: Download complete 12:37:20 b352a97aabf1: Verifying Checksum 12:37:20 b352a97aabf1: Download complete 12:37:20 4872d77fe225: Verifying Checksum 12:37:20 4872d77fe225: Download complete 12:37:20 5851b861e8e6: Download complete 12:37:20 b85a868b505f: Verifying Checksum 12:37:20 b85a868b505f: Download complete 12:37:20 bab4dde63d76: Verifying Checksum 12:37:20 bab4dde63d76: Download complete 12:37:21 b85a868b505f: Pull complete 12:37:21 e2be974225ed: Pull complete 12:37:21 339a4e72a1f5: Pull complete 12:37:21 988bab9f4d93: Pull complete 12:37:22 1469e6f7b9e6: Pull complete 12:37:22 eaf3925da568: Pull complete 12:37:24 bab4dde63d76: Pull complete 12:37:24 bde34c3a00c8: Pull complete 12:37:24 b352a97aabf1: Pull complete 12:37:24 4872d77fe225: Pull complete 12:37:24 5851b861e8e6: Pull complete 12:37:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:37:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:37:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:24 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 12:37:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-618 -v /w/workspace/_app-service-configurable_PR-618:/w/workspace/_app-service-configurable_PR-618:rw,z -v /w/workspace/_app-service-configurable_PR-618@tmp:/w/workspace/_app-service-configurable_PR-618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:37:28 $ docker top 44ebeadb8a4506695e220a2cceef9406b71a7a7848ac44f184fc380d6d70c9ff -eo pid,comm 12:37:28 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:37:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:37:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:37:28 [ssh-agent] Looking for ssh-agent implementation... 12:37:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:37:28 $ docker exec 44ebeadb8a4506695e220a2cceef9406b71a7a7848ac44f184fc380d6d70c9ff ssh-agent 12:37:28 SSH_AUTH_SOCK=/tmp/ssh-SBQ7Pax5T6sZ/agent.31 12:37:28 SSH_AGENT_PID=37 12:37:28 Running ssh-add (command line suppressed) 12:37:29 Identity added: /w/workspace/_app-service-configurable_PR-618@tmp/private_key_1527734184778400732.key (/w/workspace/_app-service-configurable_PR-618@tmp/private_key_1527734184778400732.key) 12:37:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:37:29 + git tag --points-at HEAD [Pipeline] } 12:37:29 $ docker exec --env ******** --env ******** 44ebeadb8a4506695e220a2cceef9406b71a7a7848ac44f184fc380d6d70c9ff ssh-agent -k 12:37:29 unset SSH_AUTH_SOCK; 12:37:29 unset SSH_AGENT_PID; 12:37:29 echo Agent pid 37 killed; 12:37:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:37:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:37:29 [ssh-agent] Looking for ssh-agent implementation... 12:37:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:37:29 $ docker exec 44ebeadb8a4506695e220a2cceef9406b71a7a7848ac44f184fc380d6d70c9ff ssh-agent 12:37:29 SSH_AUTH_SOCK=/tmp/ssh-Kh1RON9ABbNa/agent.69 12:37:29 SSH_AGENT_PID=75 12:37:29 Running ssh-add (command line suppressed) 12:37:29 Identity added: /w/workspace/_app-service-configurable_PR-618@tmp/private_key_4413826305349953243.key (/w/workspace/_app-service-configurable_PR-618@tmp/private_key_4413826305349953243.key) 12:37:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:37:30 + git semver init 12:37:30 2023-11-01 12:37:30,498 [run_init] DEBUG init version:0.0.0 force:False 12:37:30 2023-11-01 12:37:30,499 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-618/.semver 12:37:30 2023-11-01 12:37:30,500 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-618/.semver 12:37:30 2023-11-01 12:37:30,500 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-618/.semver'], cwd=/w/workspace/_app-service-configurable_PR-618, universal_newlines=False, shell=None, istream=None) 12:37:31 2023-11-01 12:37:31,422 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-618/.git/info/exclude 12:37:31 2023-11-01 12:37:31,423 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-618/.semver/PR-618 with force:False 12:37:31 2023-11-01 12:37:31,423 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-618/.semver/PR-618 12:37:31 2023-11-01 12:37:31,427 [execute] INFO git cat-file --batch-check 12:37:31 2023-11-01 12:37:31,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-618/.semver, universal_newlines=False, shell=None, istream=) 12:37:31 2023-11-01 12:37:31,433 [execute] INFO git cat-file --batch 12:37:31 2023-11-01 12:37:31,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-618/.semver, universal_newlines=False, shell=None, istream=) 12:37:31 2023-11-01 12:37:31,438 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-618/.semver/PR-618 12:37:31 0.0.0 [Pipeline] } 12:37:31 $ docker exec --env ******** --env ******** 44ebeadb8a4506695e220a2cceef9406b71a7a7848ac44f184fc380d6d70c9ff ssh-agent -k 12:37:31 unset SSH_AUTH_SOCK; 12:37:31 unset SSH_AGENT_PID; 12:37:31 echo Agent pid 75 killed; 12:37:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:37:32 + git semver [Pipeline] } 12:37:32 $ docker stop --time=1 44ebeadb8a4506695e220a2cceef9406b71a7a7848ac44f184fc380d6d70c9ff 12:37:33 $ docker rm -f --volumes 44ebeadb8a4506695e220a2cceef9406b71a7a7848ac44f184fc380d6d70c9ff [Pipeline] // withDockerContainer [Pipeline] sh 12:37:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:37:34 Stashed 1 file(s) [Pipeline] echo 12:37:34 [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:37:34 provisioning config files... 12:37:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-618@tmp/config12907697742432718335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:37:35 ---> docker-login.sh 12:37:35 nexus3.edgexfoundry.org:10001 12:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:35 Configure a credential helper to remove this warning. See 12:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:35 12:37:35 Login Succeeded 12:37:35 nexus3.edgexfoundry.org:10002 12:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:35 Configure a credential helper to remove this warning. See 12:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:35 12:37:35 Login Succeeded 12:37:35 nexus3.edgexfoundry.org:10003 12:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:35 Configure a credential helper to remove this warning. See 12:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:35 12:37:35 Login Succeeded 12:37:35 nexus3.edgexfoundry.org:10004 12:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:35 Configure a credential helper to remove this warning. See 12:37:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:35 12:37:35 Login Succeeded 12:37:35 docker.io 12:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:36 Configure a credential helper to remove this warning. See 12:37:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:36 12:37:36 Login Succeeded 12:37:36 ---> docker-login.sh ends [Pipeline] } 12:37:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:37:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:37:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:37:36 ========================================================= 12:37:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:37:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:37:36 Sending build context to Docker daemon 3.369MB 12:37:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:37:36 Step 2/12 : FROM ${BASE} AS builder 12:37:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:37:36 7264a8db6415: Pulling fs layer 12:37:36 c4d48a809fc2: Pulling fs layer 12:37:36 4f1c88b9dad5: Pulling fs layer 12:37:36 ad3a456e5733: Pulling fs layer 12:37:36 33e27b845d1e: Pulling fs layer 12:37:36 c68163c4e522: Pulling fs layer 12:37:36 50da416c3ac9: Pulling fs layer 12:37:36 23d2d4c4bb30: Pulling fs layer 12:37:36 23d2d4c4bb30: Waiting 12:37:36 50da416c3ac9: Waiting 12:37:36 33e27b845d1e: Waiting 12:37:36 c4d48a809fc2: Verifying Checksum 12:37:36 c4d48a809fc2: Download complete 12:37:36 ad3a456e5733: Verifying Checksum 12:37:36 ad3a456e5733: Download complete 12:37:36 33e27b845d1e: Verifying Checksum 12:37:36 33e27b845d1e: Download complete 12:37:37 7264a8db6415: Verifying Checksum 12:37:37 7264a8db6415: Download complete 12:37:37 c68163c4e522: Verifying Checksum 12:37:37 c68163c4e522: Download complete 12:37:37 7264a8db6415: Pull complete 12:37:37 23d2d4c4bb30: Verifying Checksum 12:37:37 23d2d4c4bb30: Download complete 12:37:37 c4d48a809fc2: Pull complete 12:37:37 4f1c88b9dad5: Verifying Checksum 12:37:37 4f1c88b9dad5: Download complete 12:37:37 50da416c3ac9: Verifying Checksum 12:37:37 50da416c3ac9: Download complete 12:37:41 4f1c88b9dad5: Pull complete 12:37:41 ad3a456e5733: Pull complete 12:37:41 33e27b845d1e: Pull complete 12:37:41 c68163c4e522: Pull complete 12:37:42 50da416c3ac9: Pull complete 12:37:43 23d2d4c4bb30: Pull complete 12:37:43 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:37:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:37:43 ---> 0786185ac409 12:37:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:37:47 ---> Running in 7614b5b54bdf 12:37:47 Removing intermediate container 7614b5b54bdf 12:37:47 ---> d5901c700244 12:37:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:37:47 ---> Running in 6097a6557dec 12:37:47 Removing intermediate container 6097a6557dec 12:37:47 ---> 9f2cff422dd4 12:37:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:37:47 ---> Running in dc585673f651 12:37:47 Removing intermediate container dc585673f651 12:37:47 ---> 70e3697df08a 12:37:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:37:47 ---> Running in ea6ac76ce7c1 12:37:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:37:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:37:49 OK: 264 MiB in 52 packages 12:37:49 Removing intermediate container ea6ac76ce7c1 12:37:49 ---> e611925a49c1 12:37:49 Step 7/12 : WORKDIR /app 12:37:49 ---> Running in 59da420ac10b 12:37:49 Removing intermediate container 59da420ac10b 12:37:49 ---> 1994e53b8d38 12:37:49 Step 8/12 : COPY go.mod vendor* ./ 12:37:49 ---> 64afa1b061e0 12:37:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:37:49 ---> Running in a087415fdf53 12:37:49 Still waiting to schedule task 12:37:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16129’ is offline 12:38:36 Removing intermediate container a087415fdf53 12:38:36 ---> d3a57a1d220c 12:38:36 Step 10/12 : COPY . . 12:38:36 ---> e3a74526dafe 12:38:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:38:36 ---> Running in aad8704af361 12:38:36 Removing intermediate container aad8704af361 12:38:36 ---> 5ef2d51a20ce 12:38:36 Step 12/12 : RUN $MAKE 12:38:36 ---> Running in 9442e9e6eb67 12:38:36 noop 12:38:36 Removing intermediate container 9442e9e6eb67 12:38:36 ---> ed08db693e1b 12:38:36 Successfully built ed08db693e1b 12:38:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:36 + docker inspect -f . ci-base-image-x86_64 12:38:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:36 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 12:38:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-618 -v /w/workspace/_app-service-configurable_PR-618:/w/workspace/_app-service-configurable_PR-618:rw,z -v /w/workspace/_app-service-configurable_PR-618@tmp:/w/workspace/_app-service-configurable_PR-618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:38:37 $ docker top 50269d1868e4ff60d4ac24d898947dd49c5fb0c0e269edc65db834e38bec8853 -eo pid,comm [Pipeline] { [Pipeline] sh 12:38:37 + go version 12:38:37 go version go1.21.0 linux/amd64 [Pipeline] } 12:38:37 $ docker stop --time=1 50269d1868e4ff60d4ac24d898947dd49c5fb0c0e269edc65db834e38bec8853 12:38:38 $ docker rm -f --volumes 50269d1868e4ff60d4ac24d898947dd49c5fb0c0e269edc65db834e38bec8853 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:39 + docker inspect -f . ci-base-image-x86_64 12:38:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:39 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 12:38:39 $ 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-618 -v /w/workspace/_app-service-configurable_PR-618:/w/workspace/_app-service-configurable_PR-618:rw,z -v /w/workspace/_app-service-configurable_PR-618@tmp:/w/workspace/_app-service-configurable_PR-618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:38:39 $ docker top 0f304cfcdfc012ae03a20e0a647c5197a5483d2501006c04d854bbf5d836669a -eo pid,comm [Pipeline] { [Pipeline] sh 12:38:40 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-618 [Pipeline] fileExists [Pipeline] sh 12:38:40 + make test 12:38:40 go test -race -coverprofile=coverage.out ./... 12:38:58 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:39:20 go vet ./... 12:39:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:39:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:39:21 ./bin/test-attribution-txt.sh [Pipeline] echo 12:39:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:39:21 $ docker stop --time=1 0f304cfcdfc012ae03a20e0a647c5197a5483d2501006c04d854bbf5d836669a 12:39:25 $ docker rm -f --volumes 0f304cfcdfc012ae03a20e0a647c5197a5483d2501006c04d854bbf5d836669a [Pipeline] // withDockerContainer [Pipeline] sh 12:39:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:39:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:39:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:39:26 + ls -al . 12:39:26 total 180 12:39:26 drwxrwxr-x 7 jenkins jenkins 4096 Nov 1 12:38 . 12:39:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 12:37 .. 12:39:26 -rw-rw-r-- 1 jenkins jenkins 119 Nov 1 12:37 .dockerignore 12:39:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 12:38 .git 12:39:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 12:37 .github 12:39:26 -rw-rw-r-- 1 jenkins jenkins 106 Nov 1 12:37 .gitignore 12:39:26 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 12:37 .golangci.yml 12:39:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 12:37 .semver 12:39:26 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 1 12:37 Attribution.txt 12:39:26 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 1 12:37 CHANGELOG.md 12:39:26 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 1 12:37 Dockerfile 12:39:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 12:37 GOVERNANCE.md 12:39:26 -rw-rw-r-- 1 jenkins jenkins 666 Nov 1 12:37 Jenkinsfile 12:39:26 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 1 12:37 LICENSE 12:39:26 -rw-rw-r-- 1 jenkins jenkins 618 Nov 1 12:37 OWNERS.md 12:39:26 -rw-rw-r-- 1 jenkins jenkins 4550 Nov 1 12:37 README.md 12:39:26 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 12:37 VERSION 12:39:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 12:37 bin 12:39:26 -rw-r--r-- 1 jenkins jenkins 13 Nov 1 12:38 coverage.out 12:39:26 -rw-rw-r-- 1 jenkins jenkins 3731 Nov 1 12:37 go.mod 12:39:26 -rw-rw-r-- 1 jenkins jenkins 34917 Nov 1 12:37 go.sum 12:39:26 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 1 12:37 main.go 12:39:26 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 1 12:37 makefile 12:39:26 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 12:37 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:27 + 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=f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 --label arch=amd64 --label version=0.0.0 . 12:39:27 Sending build context to Docker daemon 3.37MB 12:39:27 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:39:27 Step 2/26 : FROM ${BASE} AS builder 12:39:27 ---> ed08db693e1b 12:39:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:39:27 ---> Running in 3f25fe72fd3c 12:39:27 Removing intermediate container 3f25fe72fd3c 12:39:27 ---> d729aa9b7210 12:39:27 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:39:27 ---> Running in 5ebb18235769 12:39:27 Removing intermediate container 5ebb18235769 12:39:27 ---> 5af028e11e55 12:39:27 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:39:27 ---> Running in f453cc3d383a 12:39:27 Removing intermediate container f453cc3d383a 12:39:27 ---> d70dfd710396 12:39:27 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:39:27 ---> Running in 9d8e81cf26cf 12:39:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:39:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:39:28 OK: 264 MiB in 52 packages 12:39:28 Removing intermediate container 9d8e81cf26cf 12:39:28 ---> b1d667bc84ff 12:39:28 Step 7/26 : WORKDIR /app 12:39:28 ---> Running in a4e1d79a56f5 12:39:28 Removing intermediate container a4e1d79a56f5 12:39:28 ---> 5d89ffaa4449 12:39:28 Step 8/26 : COPY go.mod vendor* ./ 12:39:28 ---> f82e7a79bd06 12:39:28 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:39:28 ---> Running in b6e925431dbe 12:39:29 Removing intermediate container b6e925431dbe 12:39:29 ---> 6138ed1fc23a 12:39:29 Step 10/26 : COPY . . 12:39:29 ---> c9945e08b706 12:39:29 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:39:29 ---> Running in e2bce795c7f8 12:39:29 Removing intermediate container e2bce795c7f8 12:39:29 ---> ff66bc53cfff 12:39:29 Step 12/26 : RUN $MAKE 12:39:29 ---> Running in 6c5fe1c57588 12:39:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.49 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:39:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16132 in /w/workspace/_app-service-configurable_PR-618 [Pipeline] { [Pipeline] ws 12:39:44 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:39:44 Selected Git installation does not exist. Using Default 12:39:44 The recommended git tool is: NONE 12:39:48 Removing intermediate container 6c5fe1c57588 12:39:48 ---> 4e21e874ac54 12:39:48 Step 13/26 : FROM alpine:3.18 12:39:48 3.18: Pulling from library/alpine 12:39:48 96526aa774ef: Pulling fs layer 12:39:49 96526aa774ef: Verifying Checksum 12:39:49 96526aa774ef: Download complete 12:39:49 96526aa774ef: Pull complete 12:39:49 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:39:49 Status: Downloaded newer image for alpine:3.18 12:39:49 ---> 8ca4688f4f35 12:39:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:39:49 ---> Running in d98bd841f654 12:39:49 Removing intermediate container d98bd841f654 12:39:49 ---> 12ccdab21809 12:39:49 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:39:49 ---> Running in 978cc92571ba 12:39:49 Removing intermediate container 978cc92571ba 12:39:49 ---> e2108d2aaaff 12:39:49 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:39:49 ---> Running in 09a14fe13a91 12:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:39:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:39:50 (1/2) Installing ca-certificates (20230506-r0) 12:39:50 (2/2) Installing dumb-init (1.2.5-r2) 12:39:50 Executing busybox-1.36.1-r2.trigger 12:39:50 Executing ca-certificates-20230506-r0.trigger 12:39:50 OK: 8 MiB in 17 packages 12:39:50 Removing intermediate container 09a14fe13a91 12:39:50 ---> 7cf588b28de2 12:39:50 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:39:51 ---> ceb1e78ffb46 12:39:51 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:39:51 ---> 547a3cfb5b90 12:39:51 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:39:51 ---> f334eb56e417 12:39:51 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:39:51 ---> e3f777481f7e 12:39:51 Step 21/26 : EXPOSE 48095 12:39:51 ---> Running in e312b35c7e4a 12:39:52 Removing intermediate container e312b35c7e4a 12:39:52 ---> b65f8323afb2 12:39:52 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:39:52 ---> Running in ec27b15aa5cc 12:39:52 Removing intermediate container ec27b15aa5cc 12:39:52 ---> d1fe5b8ecfa8 12:39:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:39:52 ---> Running in d5a08e092075 12:39:52 Removing intermediate container d5a08e092075 12:39:52 ---> 03573b7da651 12:39:52 Step 24/26 : LABEL arch=amd64 12:39:52 ---> Running in e9b2aa8f6c7a 12:39:52 Removing intermediate container e9b2aa8f6c7a 12:39:52 ---> f6d399f2ecf6 12:39:52 Step 25/26 : LABEL git_sha=f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 12:39:52 ---> Running in e39ea977e1e2 12:39:52 Removing intermediate container e39ea977e1e2 12:39:52 ---> 908c49811b78 12:39:52 Step 26/26 : LABEL version=0.0.0 12:39:52 ---> Running in 1aa8103f5759 12:39:52 Removing intermediate container 1aa8103f5759 12:39:52 ---> 8124d453f348 12:39:52 [Warning] One or more build-args [ARCH] were not consumed 12:39:52 Successfully built 8124d453f348 12:39:52 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 12:39:52 using credential edgex-jenkins-ssh [Pipeline] stage [Pipeline] { (Docker Push) 12:39:52 Cloning the remote Git repository Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:39:53 12:39:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:52 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:39:52 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:39:53 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:39:53 > git --version # timeout=10 12:39:53 > git --version # 'git version 2.25.1' 12:39:53 using GIT_SSH to set credentials SSH Credentials for GitHub 12:39:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:39:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:39:53 latest: Pulling from edgex-lftools-log-publisher 12:39:53 5eb5b503b376: Pulling fs layer 12:39:53 5c69ac0246d0: Pulling fs layer 12:39:53 ec43610c2a17: Pulling fs layer 12:39:53 3a2ae6a8a46f: Pulling fs layer 12:39:53 33b1e0a273af: Pulling fs layer 12:39:53 5d3b04190fa2: Pulling fs layer 12:39:53 2f39f015ded8: Pulling fs layer 12:39:53 3a2ae6a8a46f: Waiting 12:39:53 2f39f015ded8: Waiting 12:39:53 5d3b04190fa2: Waiting 12:39:53 33b1e0a273af: Waiting 12:39:53 5c69ac0246d0: Verifying Checksum 12:39:53 5c69ac0246d0: Download complete 12:39:53 3a2ae6a8a46f: Verifying Checksum 12:39:53 3a2ae6a8a46f: Download complete 12:39:53 33b1e0a273af: Verifying Checksum 12:39:53 33b1e0a273af: Download complete 12:39:53 ec43610c2a17: Verifying Checksum 12:39:53 ec43610c2a17: Download complete 12:39:53 5d3b04190fa2: Verifying Checksum 12:39:53 5d3b04190fa2: Download complete 12:39:53 5eb5b503b376: Verifying Checksum 12:39:53 5eb5b503b376: Download complete 12:39:54 2f39f015ded8: Download complete 12:39:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:39:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:39:55 5eb5b503b376: Pull complete 12:39:55 5c69ac0246d0: Pull complete 12:39:55 ec43610c2a17: Pull complete 12:39:55 3a2ae6a8a46f: Pull complete 12:39:55 33b1e0a273af: Pull complete 12:39:55 5d3b04190fa2: Pull complete 12:39:56 Merging remotes/origin/main commit c583aa4fb078343a3c888109ea4df2cf2137b3df into PR head commit f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 12:39:55 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:39:55 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:39:55 using GIT_SSH to set credentials SSH Credentials for GitHub 12:39:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/618/head:refs/remotes/origin/PR-618 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:39:56 > git config core.sparsecheckout # timeout=10 12:39:56 > git checkout -f f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 # timeout=10 12:39:56 Merge succeeded, producing f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 12:39:56 Checking out Revision f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 (PR-618) 12:39:57 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:39:57 > git --version # timeout=10 12:39:57 > git --version # 'git version 2.25.1' 12:39:57 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 12:39:57 12:39:57 GitHub has been notified of this commit’s build result 12:39:57 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 12:39:56 > git remote # timeout=10 12:39:56 > git config --get remote.origin.url # timeout=10 12:39:56 using GIT_SSH to set credentials SSH Credentials for GitHub 12:39:56 > git merge c583aa4fb078343a3c888109ea4df2cf2137b3df # timeout=10 12:39:56 > git rev-parse HEAD^{commit} # timeout=10 12:39:56 > git config core.sparsecheckout # timeout=10 12:39:56 > git checkout -f f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 # timeout=10 [Pipeline] sh 12:39:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:39:58 % Total % Received % Xferd Average Speed Time Time Time Current 12:39:58 Dload Upload Total Spent Left Speed 12:39:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 107k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh 12:39:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:39:59 + sudo tee /etc/docker/daemon.new 12:39:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:39:59 { 12:39:59 "registry-mirrors": [ 12:39:59 "https://nexus3.edgexfoundry.org:10001" 12:39:59 ], 12:39:59 "bip": "10.250.0.254/24", 12:39:59 "hosts": [ 12:39:59 "tcp://0.0.0.0:5555", 12:39:59 "unix:///var/run/docker.sock" 12:39:59 ], 12:39:59 "mtu": 1458, 12:39:59 "selinux-enabled": true, 12:39:59 "seccomp-profile": "/etc/docker/seccomp.json" 12:39:59 } [Pipeline] sh 12:39:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:40:00 2f39f015ded8: Pull complete 12:40:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:40:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:40:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 12:40:00 + sudo service docker restart [Pipeline] withDockerContainer 12:40:00 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 12:40:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-618 -v /w/workspace/_app-service-configurable_PR-618:/w/workspace/_app-service-configurable_PR-618:rw,z -v /w/workspace/_app-service-configurable_PR-618@tmp:/w/workspace/_app-service-configurable_PR-618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:40:05 $ docker top 8f1c36d1f1c8cd0d85701e73da5c506c5606204d15ad070fad593ee9950ca74b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:40:05 ---> job-cost.sh 12:40:05 lf-activate-venv: SKIPPING 12:40:05 INFO: No Stack... 12:40:05 INFO: Retrieving Pricing Info for: v3-standard-8 12:40:06 INFO: Archiving Costs [Pipeline] sh 12:40:06 + cat /w/workspace/_app-service-configurable_PR-618/archives/cost.csv 12:40:06 + cut -d, -f6 [Pipeline] lock 12:40:06 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-618-1-stack-cost] 12:40:06 Resource [jenkins-edgexfoundry-app-service-configurable-PR-618-1-stack-cost] did not exist. Created. 12:40:06 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-618-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:40:07 + echo total: 0.2199999988079071 [Pipeline] stash 12:40:07 Stashed 1 file(s) [Pipeline] } 12:40:07 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-618-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:40:07 $ docker stop --time=1 8f1c36d1f1c8cd0d85701e73da5c506c5606204d15ad070fad593ee9950ca74b 12:40:08 $ docker rm -f --volumes 8f1c36d1f1c8cd0d85701e73da5c506c5606204d15ad070fad593ee9950ca74b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:40:18 provisioning config files... 12:40:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config13660054139810805791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:40:19 ---> docker-login.sh 12:40:19 nexus3.edgexfoundry.org:10001 12:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:19 Configure a credential helper to remove this warning. See 12:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:19 12:40:19 Login Succeeded 12:40:19 nexus3.edgexfoundry.org:10002 12:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:19 Configure a credential helper to remove this warning. See 12:40:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:19 12:40:20 Login Succeeded 12:40:20 nexus3.edgexfoundry.org:10003 12:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:20 Configure a credential helper to remove this warning. See 12:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:20 12:40:20 Login Succeeded 12:40:20 nexus3.edgexfoundry.org:10004 12:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:20 Configure a credential helper to remove this warning. See 12:40:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:20 12:40:20 Login Succeeded 12:40:20 docker.io 12:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:21 Configure a credential helper to remove this warning. See 12:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:21 12:40:21 Login Succeeded 12:40:21 ---> docker-login.sh ends [Pipeline] } 12:40:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:40:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:40:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:40:21 ========================================================= 12:40:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:40:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:40:22 Sending build context to Docker daemon 157.7kB 12:40:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:40:22 Step 2/12 : FROM ${BASE} AS builder 12:40:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:40:22 9fda8d8052c6: Pulling fs layer 12:40:22 5d54e960e981: Pulling fs layer 12:40:22 c4a7e357bf2a: Pulling fs layer 12:40:22 f0e02332f6b5: Pulling fs layer 12:40:22 cefa15bbcfad: Pulling fs layer 12:40:22 17808c966233: Pulling fs layer 12:40:22 f4c1fc716caa: Pulling fs layer 12:40:22 f0e02332f6b5: Waiting 12:40:22 cefa15bbcfad: Waiting 12:40:22 17808c966233: Waiting 12:40:22 f4c1fc716caa: Waiting 12:40:22 5d54e960e981: Verifying Checksum 12:40:22 5d54e960e981: Download complete 12:40:22 f0e02332f6b5: Verifying Checksum 12:40:22 f0e02332f6b5: Download complete 12:40:22 cefa15bbcfad: Verifying Checksum 12:40:22 cefa15bbcfad: Download complete 12:40:22 9fda8d8052c6: Download complete 12:40:23 f4c1fc716caa: Verifying Checksum 12:40:23 f4c1fc716caa: Download complete 12:40:23 9fda8d8052c6: Pull complete 12:40:24 5d54e960e981: Pull complete 12:40:24 c4a7e357bf2a: Verifying Checksum 12:40:24 c4a7e357bf2a: Download complete 12:40:25 17808c966233: Verifying Checksum 12:40:25 17808c966233: Download complete 12:40:37 c4a7e357bf2a: Pull complete 12:40:37 f0e02332f6b5: Pull complete 12:40:37 cefa15bbcfad: Pull complete 12:40:46 17808c966233: Pull complete 12:40:48 f4c1fc716caa: Pull complete 12:40:48 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:40:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:40:48 ---> ea914061e18c 12:40:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:40:49 ---> Running in 53004da0d649 12:40:49 Removing intermediate container 53004da0d649 12:40:49 ---> 6319289bb719 12:40:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:40:49 ---> Running in a8453013c704 12:40:50 Removing intermediate container a8453013c704 12:40:50 ---> 622c32ab13ac 12:40:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:40:50 ---> Running in 75cd115c8ad9 12:40:50 Removing intermediate container 75cd115c8ad9 12:40:50 ---> 05aa7b4c3962 12:40:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:40:50 ---> Running in 75e409250451 12:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:40:53 OK: 266 MiB in 52 packages 12:40:54 Removing intermediate container 75e409250451 12:40:54 ---> 95debc92c9b6 12:40:54 Step 7/12 : WORKDIR /app 12:40:54 ---> Running in c08a0fff017a 12:40:54 Removing intermediate container c08a0fff017a 12:40:54 ---> ced52099bba3 12:40:54 Step 8/12 : COPY go.mod vendor* ./ 12:40:54 ---> 85947e56c005 12:40:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:40:54 ---> Running in fd1e3b9ef882 12:42:16 Removing intermediate container fd1e3b9ef882 12:42:16 ---> 055a311f80c6 12:42:16 Step 10/12 : COPY . . 12:42:16 ---> 256ba81adff4 12:42:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:42:16 ---> Running in f2ea542bd061 12:42:16 Removing intermediate container f2ea542bd061 12:42:16 ---> a24506250140 12:42:16 Step 12/12 : RUN $MAKE 12:42:16 ---> Running in 323dc89c98d1 12:42:16 noop 12:42:16 Removing intermediate container 323dc89c98d1 12:42:16 ---> 2f153e119ab1 12:42:16 Successfully built 2f153e119ab1 12:42:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:17 + docker inspect -f . ci-base-image-arm64 12:42:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:42:17 prd-ubuntu20.04-docker-arm64-4c-16g-16132 does not seem to be running inside a container 12:42:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:42:18 $ docker top 91f85f61a923485c1cf04bd40b49976e3ccd0c1eaed5f3452d9a0e704d985dbc -eo pid,comm [Pipeline] { [Pipeline] sh 12:42:19 + go version 12:42:19 go version go1.21.0 linux/arm64 [Pipeline] } 12:42:19 $ docker stop --time=1 91f85f61a923485c1cf04bd40b49976e3ccd0c1eaed5f3452d9a0e704d985dbc 12:42:24 $ docker rm -f --volumes 91f85f61a923485c1cf04bd40b49976e3ccd0c1eaed5f3452d9a0e704d985dbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:25 + docker inspect -f . ci-base-image-arm64 12:42:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:42:25 prd-ubuntu20.04-docker-arm64-4c-16g-16132 does not seem to be running inside a container 12:42:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:42:27 $ docker top 24fd5687e43d74aff9c862d68825ec1cdb080a90bffa960380da8e3e9073956c -eo pid,comm [Pipeline] { [Pipeline] sh 12:42:27 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:42:28 + make test 12:42:28 go test -race -coverprofile=coverage.out ./... 12:44:35 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:44:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:44:35 go vet ./... 12:46:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:46:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:46:26 ./bin/test-attribution-txt.sh [Pipeline] echo 12:46:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:46:26 $ docker stop --time=1 24fd5687e43d74aff9c862d68825ec1cdb080a90bffa960380da8e3e9073956c 12:46:28 $ docker rm -f --volumes 24fd5687e43d74aff9c862d68825ec1cdb080a90bffa960380da8e3e9073956c [Pipeline] // withDockerContainer [Pipeline] sh 12:46:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:46:30 Warning: overwriting stash ‘coverage-report’ 12:46:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:46:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:46:31 + ls -al . 12:46:31 total 176 12:46:31 drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 12:42 . 12:46:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 12:39 .. 12:46:31 -rw-rw-r-- 1 jenkins jenkins 119 Nov 1 12:39 .dockerignore 12:46:31 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 12:39 .git 12:46:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 12:39 .github 12:46:31 -rw-rw-r-- 1 jenkins jenkins 106 Nov 1 12:39 .gitignore 12:46:31 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 12:39 .golangci.yml 12:46:31 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 1 12:39 Attribution.txt 12:46:31 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 1 12:39 CHANGELOG.md 12:46:31 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 1 12:39 Dockerfile 12:46:31 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 12:39 GOVERNANCE.md 12:46:31 -rw-rw-r-- 1 jenkins jenkins 666 Nov 1 12:39 Jenkinsfile 12:46:31 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 1 12:39 LICENSE 12:46:31 -rw-rw-r-- 1 jenkins jenkins 618 Nov 1 12:39 OWNERS.md 12:46:31 -rw-rw-r-- 1 jenkins jenkins 4550 Nov 1 12:39 README.md 12:46:31 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 12:37 VERSION 12:46:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 12:39 bin 12:46:31 -rw-r--r-- 1 jenkins jenkins 13 Nov 1 12:42 coverage.out 12:46:31 -rw-rw-r-- 1 jenkins jenkins 3731 Nov 1 12:39 go.mod 12:46:31 -rw-rw-r-- 1 jenkins jenkins 34917 Nov 1 12:39 go.sum 12:46:31 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 1 12:39 main.go 12:46:31 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 1 12:39 makefile 12:46:31 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 12:39 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:32 + 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=f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 --label arch=arm64 --label version=0.0.0 . 12:46:32 Sending build context to Docker daemon 158.7kB 12:46:32 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:46:32 Step 2/26 : FROM ${BASE} AS builder 12:46:32 ---> 2f153e119ab1 12:46:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:46:32 ---> Running in 992f5e3cb34c 12:46:32 Removing intermediate container 992f5e3cb34c 12:46:32 ---> 93e1ae87dce6 12:46:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:46:32 ---> Running in 31d892f71439 12:46:33 Removing intermediate container 31d892f71439 12:46:33 ---> 9686748c5487 12:46:33 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:46:33 ---> Running in e52b2074493a 12:46:33 Removing intermediate container e52b2074493a 12:46:33 ---> 99edb37e3bcc 12:46:33 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:46:33 ---> Running in 499ee509bb29 12:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:46:35 OK: 266 MiB in 52 packages 12:46:37 Removing intermediate container 499ee509bb29 12:46:37 ---> 1e4b4fc0982c 12:46:37 Step 7/26 : WORKDIR /app 12:46:37 ---> Running in dbf5c649892f 12:46:37 Removing intermediate container dbf5c649892f 12:46:37 ---> e8cc999c7900 12:46:37 Step 8/26 : COPY go.mod vendor* ./ 12:46:37 ---> b11da44dd584 12:46:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:46:37 ---> Running in 8953bf728fe5 12:46:40 Removing intermediate container 8953bf728fe5 12:46:40 ---> c7add3fe5a91 12:46:40 Step 10/26 : COPY . . 12:46:41 ---> 87000e84ba27 12:46:41 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:46:41 ---> Running in 1f2adbf9e255 12:46:41 Removing intermediate container 1f2adbf9e255 12:46:41 ---> 348600c61723 12:46:41 Step 12/26 : RUN $MAKE 12:46:41 ---> Running in 14444904491a 12:46:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.49 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:48:33 Removing intermediate container 14444904491a 12:48:33 ---> 95fa0763e7d2 12:48:33 Step 13/26 : FROM alpine:3.18 12:48:33 3.18: Pulling from library/alpine 12:48:33 579b34f0a95b: Pulling fs layer 12:48:33 579b34f0a95b: Verifying Checksum 12:48:33 579b34f0a95b: Download complete 12:48:33 579b34f0a95b: Pull complete 12:48:33 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:48:33 Status: Downloaded newer image for alpine:3.18 12:48:33 ---> 3cc203321400 12:48:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:48:33 ---> Running in 8a844d371f90 12:48:33 Removing intermediate container 8a844d371f90 12:48:33 ---> b1607bf65c6c 12:48:33 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:48:33 ---> Running in 23540953efec 12:48:33 Removing intermediate container 23540953efec 12:48:33 ---> 0c7a91cc7c5e 12:48:33 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:48:33 ---> Running in 27e06bd074c7 12:48:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:48:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:48:34 (1/2) Installing ca-certificates (20230506-r0) 12:48:34 (2/2) Installing dumb-init (1.2.5-r2) 12:48:34 Executing busybox-1.36.1-r2.trigger 12:48:34 Executing ca-certificates-20230506-r0.trigger 12:48:35 OK: 9 MiB in 17 packages 12:48:36 Removing intermediate container 27e06bd074c7 12:48:36 ---> 23273e9a1313 12:48:36 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:48:36 ---> 9c990faf0950 12:48:36 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:48:37 ---> 1a1b6ded4cbb 12:48:37 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:48:38 ---> f349d0db9c0b 12:48:38 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:48:39 ---> a190341652f9 12:48:39 Step 21/26 : EXPOSE 48095 12:48:39 ---> Running in 9a64db4125df 12:48:39 Removing intermediate container 9a64db4125df 12:48:39 ---> 6f6608d82446 12:48:39 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:48:40 ---> Running in e84c2280d1f4 12:48:40 Removing intermediate container e84c2280d1f4 12:48:40 ---> 2474fbcb264b 12:48:40 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:48:40 ---> Running in 857043f41348 12:48:40 Removing intermediate container 857043f41348 12:48:40 ---> 05db3cff91cd 12:48:40 Step 24/26 : LABEL arch=arm64 12:48:40 ---> Running in d3d626aac9a0 12:48:41 Removing intermediate container d3d626aac9a0 12:48:41 ---> a98a5b7be76a 12:48:41 Step 25/26 : LABEL git_sha=f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 12:48:41 ---> Running in 44d24930362a 12:48:41 Removing intermediate container 44d24930362a 12:48:41 ---> 4913eba6f69b 12:48:41 Step 26/26 : LABEL version=0.0.0 12:48:41 ---> Running in 5492dea54aa0 12:48:41 Removing intermediate container 5492dea54aa0 12:48:41 ---> 759d59be48e7 12:48:41 [Warning] One or more build-args [ARCH] were not consumed 12:48:41 Successfully built 759d59be48e7 12:48:41 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:42 12:48:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:43 arm64: Pulling from edgex-lftools-log-publisher 12:48:43 8998bd30e6a1: Pulling fs layer 12:48:43 04944245beec: Pulling fs layer 12:48:43 699f458cf7ca: Pulling fs layer 12:48:43 765212b225bb: Pulling fs layer 12:48:43 f23df028b6ca: Pulling fs layer 12:48:43 d65c8cfc05b1: Pulling fs layer 12:48:43 2437ff75d9bd: Pulling fs layer 12:48:43 f23df028b6ca: Waiting 12:48:43 d65c8cfc05b1: Waiting 12:48:43 765212b225bb: Waiting 12:48:43 2437ff75d9bd: Waiting 12:48:43 04944245beec: Verifying Checksum 12:48:43 04944245beec: Download complete 12:48:43 765212b225bb: Verifying Checksum 12:48:43 765212b225bb: Download complete 12:48:43 f23df028b6ca: Verifying Checksum 12:48:43 f23df028b6ca: Download complete 12:48:43 d65c8cfc05b1: Verifying Checksum 12:48:43 d65c8cfc05b1: Download complete 12:48:43 699f458cf7ca: Verifying Checksum 12:48:43 699f458cf7ca: Download complete 12:48:44 8998bd30e6a1: Verifying Checksum 12:48:44 8998bd30e6a1: Download complete 12:48:46 2437ff75d9bd: Verifying Checksum 12:48:46 2437ff75d9bd: Download complete 12:48:48 8998bd30e6a1: Pull complete 12:48:48 04944245beec: Pull complete 12:48:50 699f458cf7ca: Pull complete 12:48:50 765212b225bb: Pull complete 12:48:51 f23df028b6ca: Pull complete 12:48:51 d65c8cfc05b1: Pull complete 12:49:10 2437ff75d9bd: Pull complete 12:49:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:49:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:49:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:10 prd-ubuntu20.04-docker-arm64-4c-16g-16132 does not seem to be running inside a container 12:49:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:49:13 $ docker top 26ddb37f1fbd89bf3084234cab656847432f50ec729dbce642c444b7a9e25cad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:49:14 ---> job-cost.sh 12:49:14 lf-activate-venv: SKIPPING 12:49:14 INFO: No Stack... 12:49:14 INFO: Retrieving Pricing Info for: v3-standard-4 12:49:15 INFO: Archiving Costs [Pipeline] sh 12:49:15 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:49:15 + cut -d, -f6 [Pipeline] lock 12:49:16 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-618-1-stack-cost] 12:49:16 Resource [jenkins-edgexfoundry-app-service-configurable-PR-618-1-stack-cost] did not exist. Created. 12:49:16 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-618-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:49:16 /w/workspace/app-service-configurable/1@tmp/durable-0a500fdb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:49:16 + echo total: 0.10999999940395355 [Pipeline] stash 12:49:16 Warning: overwriting stash ‘stack-cost’ 12:49:16 Stashed 1 file(s) [Pipeline] } 12:49:16 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-618-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:49:17 $ docker stop --time=1 26ddb37f1fbd89bf3084234cab656847432f50ec729dbce642c444b7a9e25cad 12:49:18 $ docker rm -f --volumes 26ddb37f1fbd89bf3084234cab656847432f50ec729dbce642c444b7a9e25cad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:49:19 provisioning config files... 12:49:19 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-618@tmp/config7438992531772345349tmp [Pipeline] { [Pipeline] sh 12:49:19 + set +x 12:49:19 + + curl -s https://codecov.io/bash 12:49:19 bash -s -- 12:49:19 12:49:19 _____ _ 12:49:19 / ____| | | 12:49:19 | | ___ __| | ___ ___ _____ __ 12:49:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:49:19 | |___| (_) | (_| | __/ (_| (_) \ V / 12:49:19 \_____\___/ \__,_|\___|\___\___/ \_/ 12:49:19 Bash-1.0.6 12:49:19 12:49:19 12:49:19 ==> git version 2.25.1 found 12:49:19 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:49:19 Release-Date: 2020-01-08 12:49:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:49:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:49:19 ==> Jenkins CI detected. 12:49:19 current dir:  /w/workspace/_app-service-configurable_PR-618 12:49:19 project root: . 12:49:19 --> token set from env 12:49:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:49:19 ==> Running gcov in . (disable via -X gcov) 12:49:19 ==> Python coveragepy not found 12:49:19 ==> Searching for coverage reports in: 12:49:19 + . 12:49:20 -> Found 1 reports 12:49:20 ==> Detecting git/mercurial file structure 12:49:20 ==> Reading reports 12:49:20 + ./coverage.out bytes=13 12:49:20 ==> Appending adjustments 12:49:20 https://docs.codecov.io/docs/fixing-reports 12:49:20 + Found adjustments 12:49:20 ==> Gzipping contents 12:49:20 4.0K /tmp/codecov.ssAiF0.gz 12:49:20 ==> Uploading reports 12:49:20 url: https://codecov.io 12:49:20 query: branch=PR-618&commit=f6f205fc7dcdc4f9858619c98e2abd49ae4faae4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-618%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=618&job=&cmd_args= 12:49:20 -> Pinging Codecov 12:49:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-618&commit=f6f205fc7dcdc4f9858619c98e2abd49ae4faae4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-618%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=618&job=&cmd_args= 12:49:20 -> Uploading to 12:49:20 https://storage.googleapis.com/codecov/v4/raw/2023-11-01/A97CA9966030D2A3747ED39772930CCE/f6f205fc7dcdc4f9858619c98e2abd49ae4faae4/0382fb00-7354-4d5c-9d51-65307beeb418.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T124920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66f0318a5135ec1660e4e32f521e848652cbad8442c0cfd76960f70474375fde 12:49:20 % Total % Received % Xferd Average Speed Time Time Time Current 12:49:20 Dload Upload Total Spent Left Speed 12:49:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 835 --:--:-- --:--:-- --:--:-- 835 12:49:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/f6f205fc7dcdc4f9858619c98e2abd49ae4faae4 [Pipeline] } 12:49:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:49:22 + [ -d /w/workspace/_app-service-configurable_PR-618/archives ] 12:49:22 + ls -al /w/workspace/_app-service-configurable_PR-618/archives 12:49:22 total 16 12:49:22 drwxr-xr-x 3 root root 4096 Nov 1 12:40 . 12:49:22 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 12:40 .. 12:49:22 drwxr-xr-x 2 root root 4096 Nov 1 12:40 cost 12:49:22 -rw-r--r-- 1 root root 96 Nov 1 12:40 cost.csv 12:49:22 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-618/archives 12:49:22 + ls -al /w/workspace/_app-service-configurable_PR-618/archives 12:49:22 total 16 12:49:22 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 12:40 . 12:49:22 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 12:40 .. 12:49:22 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 12:40 cost 12:49:22 -rw-r--r-- 1 jenkins jenkins 96 Nov 1 12:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:49:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:49:23 ---> package-listing.sh 12:49:23 ++ facter osfamily 12:49:23 ++ tr '[:upper:]' '[:lower:]' 12:49:23 + OS_FAMILY=debian 12:49:23 + workspace=/w/workspace/_app-service-configurable_PR-618 12:49:23 + START_PACKAGES=/tmp/packages_start.txt 12:49:23 + END_PACKAGES=/tmp/packages_end.txt 12:49:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:49:23 + PACKAGES=/tmp/packages_start.txt 12:49:23 + '[' /w/workspace/_app-service-configurable_PR-618 ']' 12:49:23 + PACKAGES=/tmp/packages_end.txt 12:49:23 + case "${OS_FAMILY}" in 12:49:23 + dpkg -l 12:49:23 + grep '^ii' 12:49:23 + '[' -f /tmp/packages_start.txt ']' 12:49:23 + '[' -f /tmp/packages_end.txt ']' 12:49:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:49:23 + '[' /w/workspace/_app-service-configurable_PR-618 ']' 12:49:23 + mkdir -p /w/workspace/_app-service-configurable_PR-618/archives/ 12:49:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-618/archives/ [Pipeline] echo 12:49:23 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-618/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:49:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:49:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:25 prd-ubuntu20.04-docker-8c-8g-16130 does not seem to be running inside a container 12:49:25 $ 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-618/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-618 -v /w/workspace/_app-service-configurable_PR-618:/w/workspace/_app-service-configurable_PR-618:rw,z -v /w/workspace/_app-service-configurable_PR-618@tmp:/w/workspace/_app-service-configurable_PR-618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:49:25 $ docker top 035cf30d49ecb211aae939a858db34f4423ff8a24875f5e00dc787b30494d9c7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:49:25 + touch /tmp/pre-build-complete [Pipeline] sh 12:49:26 + mkdir -p /var/log/sysstat [Pipeline] sh 12:49:26 + ls /var/log/sa-host 12:49:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:49:26 provisioning config files... 12:49:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-618@tmp/config11424940674823378707tmp [Pipeline] { [Pipeline] echo 12:49:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:49:26 ---> create-netrc.sh [Pipeline] } 12:49:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:49:27 ---> python-tools-install.sh [Pipeline] echo 12:49:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:49:27 ---> sudo-logs.sh 12:49:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:49:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:49:28 ---> job-cost.sh 12:49:28 lf-activate-venv: SKIPPING 12:49:28 DEBUG: total: 0.2199999988079071 12:49:28 INFO: Retrieving Stack Cost... 12:49:28 INFO: Retrieving Pricing Info for: v3-standard-8 12:49:28 INFO: Archiving Costs [Pipeline] echo 12:49:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:49:29 ---> logs-deploy.sh 12:49:29 lf-activate-venv: SKIPPING 12:49:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-618/1 12:49:29 INFO: archiving workspace using pattern(s): 12:49:30 Archives upload complete. 12:49:30 INFO: archiving logs to Nexus