Pull request #540 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 804e4786b491f3e9a5aca5665f9255f1211c30ed+726c7bac779ae455276856dfdf2d144874947dc5 (97ad2265585be7b7dd0fd03b1b494f0b2647724a) 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-ssh7643803933281159392.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13943764741600625502.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-540/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-540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17172911175871597401.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-540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10257702163195984075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh11538745803990410476.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-540/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-540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh769111128160787350.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6295 in /w/workspace/_app-service-configurable_PR-540 [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-540 # 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/540/head:refs/remotes/origin/PR-540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 726c7bac779ae455276856dfdf2d144874947dc5 into PR head commit 804e4786b491f3e9a5aca5665f9255f1211c30ed Merge succeeded, producing 804e4786b491f3e9a5aca5665f9255f1211c30ed Checking out Revision 804e4786b491f3e9a5aca5665f9255f1211c30ed (PR-540) 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 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:07:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 804e4786b491f3e9a5aca5665f9255f1211c30ed # 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 726c7bac779ae455276856dfdf2d144874947dc5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 804e4786b491f3e9a5aca5665f9255f1211c30ed # timeout=10 [Pipeline] withCredentials 23:07:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:07:24 ========================================================= 23:07:24 EdgeX Global Pipelines Version Info 23:07:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:07:24 ------------------- 23:07:24 stable info: 23:07:24 ------------------- 23:07:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:07:24 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:07:24 Message: update stable to v1.0.245 23:07:25 ------------------- 23:07:25 experimental info: 23:07:25 ------------------- 23:07:25 Commited By: **** collab-it+edgex@linuxfoundation.org 23:07:25 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:07:25 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:07:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 23:07:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 23:07:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:07:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:07:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:07:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:07:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-540 [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-540 [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-540 [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 804e4786b491f3e9a5aca5665f9255f1211c30ed [Pipeline] echo 23:07:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 804e478 [Pipeline] echo 23:07:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:07:27 provisioning config files... 23:07:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-540@tmp/config2921435226185949847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:27 ---> docker-login.sh 23:07:27 nexus3.edgexfoundry.org:10001 23:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:27 Configure a credential helper to remove this warning. See 23:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:27 23:07:27 Login Succeeded 23:07:27 nexus3.edgexfoundry.org:10002 23:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:28 Configure a credential helper to remove this warning. See 23:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:28 23:07:28 Login Succeeded 23:07:28 nexus3.edgexfoundry.org:10003 23:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:28 Configure a credential helper to remove this warning. See 23:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:28 23:07:28 Login Succeeded 23:07:28 nexus3.edgexfoundry.org:10004 23:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:28 Configure a credential helper to remove this warning. See 23:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:28 23:07:28 Login Succeeded 23:07:28 docker.io 23:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:28 Configure a credential helper to remove this warning. See 23:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:28 23:07:28 Login Succeeded 23:07:28 ---> docker-login.sh ends [Pipeline] } 23:07:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:07:29 + git rev-list -1 --merges 804e4786b491f3e9a5aca5665f9255f1211c30ed~1..804e4786b491f3e9a5aca5665f9255f1211c30ed [Pipeline] echo 23:07:29 -----------> git rev-list -1 --merges 804e4786b491f3e9a5aca5665f9255f1211c30ed~1..804e4786b491f3e9a5aca5665f9255f1211c30ed 804e4786b491f3e9a5aca5665f9255f1211c30ed [false] [Pipeline] sh 23:07:29 + git log --format=format:%s -1 804e4786b491f3e9a5aca5665f9255f1211c30ed [Pipeline] echo 23:07:29 ========================================================= 23:07:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:07:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:07:30 + git log --format=format:%s -1 804e4786b491f3e9a5aca5665f9255f1211c30ed [Pipeline] echo 23:07:30 [semverPrep] GIT_COMMIT: 804e4786b491f3e9a5aca5665f9255f1211c30ed, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 23:07:30 [semverPrep] This is not a build commit. [Pipeline] sh 23:07:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:07:30 + grep -v github /etc/ssh/ssh_known_hosts 23:07:30 + [ -e /tmp/ssh_known_hosts ] 23:07:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:07:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:07:30 + sudo tee -a /etc/ssh/ssh_known_hosts 23:07:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:07:30 23:07:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:07:31 0.1.4: Pulling from edgex-devops/py-git-semver 23:07:31 b85a868b505f: Pulling fs layer 23:07:31 e2be974225ed: Pulling fs layer 23:07:31 339a4e72a1f5: Pulling fs layer 23:07:31 988bab9f4d93: Pulling fs layer 23:07:31 1469e6f7b9e6: Pulling fs layer 23:07:31 eaf3925da568: Pulling fs layer 23:07:31 bab4dde63d76: Pulling fs layer 23:07:31 bde34c3a00c8: Pulling fs layer 23:07:31 b352a97aabf1: Pulling fs layer 23:07:31 4872d77fe225: Pulling fs layer 23:07:31 5851b861e8e6: Pulling fs layer 23:07:31 1469e6f7b9e6: Waiting 23:07:31 988bab9f4d93: Waiting 23:07:31 bab4dde63d76: Waiting 23:07:31 5851b861e8e6: Waiting 23:07:31 bde34c3a00c8: Waiting 23:07:31 eaf3925da568: Waiting 23:07:31 4872d77fe225: Waiting 23:07:31 b352a97aabf1: Waiting 23:07:31 e2be974225ed: Download complete 23:07:31 988bab9f4d93: Verifying Checksum 23:07:31 988bab9f4d93: Download complete 23:07:31 1469e6f7b9e6: Verifying Checksum 23:07:31 1469e6f7b9e6: Download complete 23:07:31 eaf3925da568: Download complete 23:07:31 339a4e72a1f5: Verifying Checksum 23:07:31 339a4e72a1f5: Download complete 23:07:31 bde34c3a00c8: Verifying Checksum 23:07:31 bde34c3a00c8: Download complete 23:07:31 b352a97aabf1: Verifying Checksum 23:07:31 b352a97aabf1: Download complete 23:07:31 4872d77fe225: Verifying Checksum 23:07:31 4872d77fe225: Download complete 23:07:31 5851b861e8e6: Verifying Checksum 23:07:31 5851b861e8e6: Download complete 23:07:31 b85a868b505f: Verifying Checksum 23:07:31 b85a868b505f: Download complete 23:07:31 bab4dde63d76: Verifying Checksum 23:07:31 bab4dde63d76: Download complete 23:07:32 b85a868b505f: Pull complete 23:07:33 e2be974225ed: Pull complete 23:07:33 339a4e72a1f5: Pull complete 23:07:33 988bab9f4d93: Pull complete 23:07:33 1469e6f7b9e6: Pull complete 23:07:33 eaf3925da568: Pull complete 23:07:35 bab4dde63d76: Pull complete 23:07:35 bde34c3a00c8: Pull complete 23:07:35 b352a97aabf1: Pull complete 23:07:35 4872d77fe225: Pull complete 23:07:35 5851b861e8e6: Pull complete 23:07:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:07:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:07:36 prd-ubuntu20.04-docker-8c-8g-6295 does not seem to be running inside a container 23:07:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-540 -v /w/workspace/_app-service-configurable_PR-540:/w/workspace/_app-service-configurable_PR-540:rw,z -v /w/workspace/_app-service-configurable_PR-540@tmp:/w/workspace/_app-service-configurable_PR-540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:07:37 $ docker top c731f49d8c65d6387fa22c2ff093537416d9e92799c698035ed0a769ad6125a3 -eo pid,comm 23:07:37 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). 23:07:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:07:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:07:37 [ssh-agent] Looking for ssh-agent implementation... 23:07:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:07:37 $ docker exec c731f49d8c65d6387fa22c2ff093537416d9e92799c698035ed0a769ad6125a3 ssh-agent 23:07:37 SSH_AUTH_SOCK=/tmp/ssh-aK0WLXYoFf1d/agent.33 23:07:37 SSH_AGENT_PID=39 23:07:37 Running ssh-add (command line suppressed) 23:07:37 Identity added: /w/workspace/_app-service-configurable_PR-540@tmp/private_key_4123811327431300024.key (/w/workspace/_app-service-configurable_PR-540@tmp/private_key_4123811327431300024.key) 23:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:07:38 + git tag --points-at HEAD [Pipeline] } 23:07:38 $ docker exec --env ******** --env ******** c731f49d8c65d6387fa22c2ff093537416d9e92799c698035ed0a769ad6125a3 ssh-agent -k 23:07:38 unset SSH_AUTH_SOCK; 23:07:38 unset SSH_AGENT_PID; 23:07:38 echo Agent pid 39 killed; 23:07:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:07:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:07:38 [ssh-agent] Looking for ssh-agent implementation... 23:07:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:07:38 $ docker exec c731f49d8c65d6387fa22c2ff093537416d9e92799c698035ed0a769ad6125a3 ssh-agent 23:07:38 SSH_AUTH_SOCK=/tmp/ssh-o4WSvNYJwj0S/agent.71 23:07:38 SSH_AGENT_PID=77 23:07:38 Running ssh-add (command line suppressed) 23:07:39 Identity added: /w/workspace/_app-service-configurable_PR-540@tmp/private_key_10486796756591182577.key (/w/workspace/_app-service-configurable_PR-540@tmp/private_key_10486796756591182577.key) 23:07:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:07:39 + git semver init 23:07:39 2023-03-29 23:07:39,533 [run_init] DEBUG init version:0.0.0 force:False 23:07:39 2023-03-29 23:07:39,534 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-540/.semver 23:07:39 2023-03-29 23:07:39,535 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-540/.semver 23:07:39 2023-03-29 23:07:39,535 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-540/.semver'], cwd=/w/workspace/_app-service-configurable_PR-540, universal_newlines=False, shell=None, istream=None) 23:07:40 2023-03-29 23:07:40,260 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-540/.git/info/exclude 23:07:40 2023-03-29 23:07:40,261 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-540/.semver/PR-540 with force:False 23:07:40 2023-03-29 23:07:40,261 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-540/.semver/PR-540 23:07:40 2023-03-29 23:07:40,265 [execute] INFO git cat-file --batch-check 23:07:40 2023-03-29 23:07:40,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-540/.semver, universal_newlines=False, shell=None, istream=) 23:07:40 2023-03-29 23:07:40,271 [execute] INFO git cat-file --batch 23:07:40 2023-03-29 23:07:40,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-540/.semver, universal_newlines=False, shell=None, istream=) 23:07:40 2023-03-29 23:07:40,276 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-540/.semver/PR-540 23:07:40 0.0.0 [Pipeline] } 23:07:40 $ docker exec --env ******** --env ******** c731f49d8c65d6387fa22c2ff093537416d9e92799c698035ed0a769ad6125a3 ssh-agent -k 23:07:40 unset SSH_AUTH_SOCK; 23:07:40 unset SSH_AGENT_PID; 23:07:40 echo Agent pid 77 killed; 23:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:07:41 + git semver [Pipeline] } 23:07:41 $ docker stop --time=1 c731f49d8c65d6387fa22c2ff093537416d9e92799c698035ed0a769ad6125a3 23:07:42 $ docker rm -f --volumes c731f49d8c65d6387fa22c2ff093537416d9e92799c698035ed0a769ad6125a3 [Pipeline] // withDockerContainer [Pipeline] sh 23:07:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:07:43 Stashed 1 file(s) [Pipeline] echo 23:07:43 [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 23:07:43 provisioning config files... 23:07:43 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-540@tmp/config10191619214169681649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:07:44 ---> docker-login.sh 23:07:44 nexus3.edgexfoundry.org:10001 23:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:44 Configure a credential helper to remove this warning. See 23:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:44 23:07:44 Login Succeeded 23:07:44 nexus3.edgexfoundry.org:10002 23:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:44 Configure a credential helper to remove this warning. See 23:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:44 23:07:44 Login Succeeded 23:07:44 nexus3.edgexfoundry.org:10003 23:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:44 Configure a credential helper to remove this warning. See 23:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:44 23:07:44 Login Succeeded 23:07:44 nexus3.edgexfoundry.org:10004 23:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:44 Configure a credential helper to remove this warning. See 23:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:44 23:07:44 Login Succeeded 23:07:44 docker.io 23:07:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:07:44 Configure a credential helper to remove this warning. See 23:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:07:44 23:07:44 Login Succeeded 23:07:44 ---> docker-login.sh ends [Pipeline] } 23:07:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:07:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:07:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:07:45 ========================================================= 23:07:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:07:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:07:45 Sending build context to Docker daemon 3.254MB 23:07:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:07:45 Step 2/12 : FROM ${BASE} AS builder 23:07:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:07:45 63b65145d645: Pulling fs layer 23:07:45 a2d21d5440eb: Pulling fs layer 23:07:45 935e6c44a52c: Pulling fs layer 23:07:45 94cc34f8dd06: Pulling fs layer 23:07:45 30dea6a524f1: Pulling fs layer 23:07:45 a2aff8979fd8: Pulling fs layer 23:07:45 6808be2612f2: Pulling fs layer 23:07:45 f25807f1079a: Pulling fs layer 23:07:45 94cc34f8dd06: Waiting 23:07:45 a2aff8979fd8: Waiting 23:07:45 6808be2612f2: Waiting 23:07:45 30dea6a524f1: Waiting 23:07:45 a2d21d5440eb: Verifying Checksum 23:07:45 a2d21d5440eb: Download complete 23:07:45 94cc34f8dd06: Verifying Checksum 23:07:45 94cc34f8dd06: Download complete 23:07:45 30dea6a524f1: Verifying Checksum 23:07:45 30dea6a524f1: Download complete 23:07:45 63b65145d645: Verifying Checksum 23:07:45 63b65145d645: Download complete 23:07:45 a2aff8979fd8: Verifying Checksum 23:07:45 a2aff8979fd8: Download complete 23:07:45 63b65145d645: Pull complete 23:07:46 a2d21d5440eb: Pull complete 23:07:46 f25807f1079a: Verifying Checksum 23:07:46 f25807f1079a: Download complete 23:07:46 935e6c44a52c: Download complete 23:07:46 6808be2612f2: Verifying Checksum 23:07:46 6808be2612f2: Download complete 23:07:49 935e6c44a52c: Pull complete 23:07:49 94cc34f8dd06: Pull complete 23:07:49 30dea6a524f1: Pull complete 23:07:49 a2aff8979fd8: Pull complete 23:07:52 6808be2612f2: Pull complete 23:07:52 f25807f1079a: Pull complete 23:07:52 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:07:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:07:52 ---> 3b553350e43f 23:07:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:07:54 ---> Running in b738ae8a3203 23:07:54 Removing intermediate container b738ae8a3203 23:07:54 ---> 80fced1f9c53 23:07:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:07:54 ---> Running in 6f267ad1dbca 23:07:54 Removing intermediate container 6f267ad1dbca 23:07:54 ---> f075662d78d7 23:07:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:07:54 ---> Running in 169c4f6b2466 23:07:54 Removing intermediate container 169c4f6b2466 23:07:54 ---> ecd587a5339c 23:07:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:07:54 ---> Running in 7518cd626408 23:07:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:07:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:07:55 OK: 265 MiB in 53 packages 23:07:55 Removing intermediate container 7518cd626408 23:07:55 ---> 24c48e73df62 23:07:55 Step 7/12 : WORKDIR /app 23:07:55 ---> Running in c80ba84528c4 23:07:55 Removing intermediate container c80ba84528c4 23:07:55 ---> ce6ffdd22d5a 23:07:55 Step 8/12 : COPY go.mod vendor* ./ 23:07:55 ---> 9373de6e6b1b 23:07:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:07:55 ---> Running in c0c1536faf47 23:07:58 Still waiting to schedule task 23:07:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:08:17 Removing intermediate container c0c1536faf47 23:08:17 ---> 8d3314796175 23:08:17 Step 10/12 : COPY . . 23:08:17 ---> f27306765595 23:08:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:08:17 ---> Running in 7efce646b9cd 23:08:17 Removing intermediate container 7efce646b9cd 23:08:17 ---> 4c3931768ebf 23:08:17 Step 12/12 : RUN $MAKE 23:08:17 ---> Running in 48f68f54d1ba 23:08:17 noop 23:08:17 Removing intermediate container 48f68f54d1ba 23:08:17 ---> bcd4eb93212d 23:08:17 Successfully built bcd4eb93212d 23:08:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:18 + docker inspect -f . ci-base-image-x86_64 23:08:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:18 prd-ubuntu20.04-docker-8c-8g-6295 does not seem to be running inside a container 23:08:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-540 -v /w/workspace/_app-service-configurable_PR-540:/w/workspace/_app-service-configurable_PR-540:rw,z -v /w/workspace/_app-service-configurable_PR-540@tmp:/w/workspace/_app-service-configurable_PR-540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:08:18 $ docker top 8b8468c7b8cbdb15a933967ea029937c4f97554f817fe8b5d31d5c504f1411b2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:08:19 + go version 23:08:19 go version go1.20.2 linux/amd64 [Pipeline] } 23:08:19 $ docker stop --time=1 8b8468c7b8cbdb15a933967ea029937c4f97554f817fe8b5d31d5c504f1411b2 23:08:20 $ docker rm -f --volumes 8b8468c7b8cbdb15a933967ea029937c4f97554f817fe8b5d31d5c504f1411b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:21 + docker inspect -f . ci-base-image-x86_64 23:08:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:21 prd-ubuntu20.04-docker-8c-8g-6295 does not seem to be running inside a container 23:08:21 $ 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-540 -v /w/workspace/_app-service-configurable_PR-540:/w/workspace/_app-service-configurable_PR-540:rw,z -v /w/workspace/_app-service-configurable_PR-540@tmp:/w/workspace/_app-service-configurable_PR-540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:08:21 $ docker top 8cf527fd99373a4ae3950c3e56a5d5992a8a2ceff2ef3c7ad0b3674ace78e6b8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:08:22 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-540 [Pipeline] fileExists [Pipeline] sh 23:08:22 + make test 23:08:22 go test -race -coverprofile=coverage.out ./... 23:08:40 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:08:58 go vet ./... 23:09:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:09:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:09:00 ./bin/test-attribution-txt.sh 23:09:00 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 23:09:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:09:00 $ docker stop --time=1 8cf527fd99373a4ae3950c3e56a5d5992a8a2ceff2ef3c7ad0b3674ace78e6b8 23:09:03 $ docker rm -f --volumes 8cf527fd99373a4ae3950c3e56a5d5992a8a2ceff2ef3c7ad0b3674ace78e6b8 [Pipeline] // withDockerContainer [Pipeline] sh 23:09:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:09:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:09:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6297 in /w/workspace/_app-service-configurable_PR-540 [Pipeline] { [Pipeline] ws 23:09:05 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 23:09:06 Selected Git installation does not exist. Using Default 23:09:06 The recommended git tool is: NONE 23:09:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:09:06 + ls -al . 23:09:06 total 176 23:09:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:08 . 23:09:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:07 .. 23:09:06 -rw-rw-r-- 1 jenkins jenkins 119 Mar 29 23:07 .dockerignore 23:09:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:07 .git 23:09:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:07 .github 23:09:06 -rw-rw-r-- 1 jenkins jenkins 171 Mar 29 23:07 .gitignore 23:09:06 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:07 .golangci.yml 23:09:06 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:07 .semver 23:09:06 -rw-rw-r-- 1 jenkins jenkins 9088 Mar 29 23:07 Attribution.txt 23:09:06 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 29 23:07 CHANGELOG.md 23:09:06 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 29 23:07 Dockerfile 23:09:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:07 GOVERNANCE.md 23:09:06 -rw-rw-r-- 1 jenkins jenkins 688 Mar 29 23:07 Jenkinsfile 23:09:06 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 29 23:07 LICENSE 23:09:06 -rw-rw-r-- 1 jenkins jenkins 618 Mar 29 23:07 OWNERS.md 23:09:06 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 29 23:07 README.md 23:09:06 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:07 VERSION 23:09:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:07 bin 23:09:06 -rw-r--r-- 1 jenkins jenkins 13 Mar 29 23:08 coverage.out 23:09:06 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 29 23:07 go.mod 23:09:06 -rw-rw-r-- 1 jenkins jenkins 31336 Mar 29 23:07 go.sum 23:09:06 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 29 23:07 main.go 23:09:06 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 29 23:07 makefile 23:09:06 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:07 res 23:09:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:07 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:06 + 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=804e4786b491f3e9a5aca5665f9255f1211c30ed --label arch=amd64 --label version=0.0.0 . 23:09:06 Sending build context to Docker daemon 3.255MB 23:09:06 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:09:06 Step 2/26 : FROM ${BASE} AS builder 23:09:06 ---> bcd4eb93212d 23:09:06 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:09:06 ---> Running in e5611360d1e0 23:09:07 Removing intermediate container e5611360d1e0 23:09:07 ---> f1ae85ce4155 23:09:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:09:07 ---> Running in efca390a9602 23:09:07 Removing intermediate container efca390a9602 23:09:07 ---> 4359418eb711 23:09:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:09:07 ---> Running in 1469bd0223ec 23:09:07 Removing intermediate container 1469bd0223ec 23:09:07 ---> 3fe6c3323d19 23:09:07 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:09:07 ---> Running in 542d5ca34903 23:09:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:09:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:09:07 OK: 265 MiB in 53 packages 23:09:08 Removing intermediate container 542d5ca34903 23:09:08 ---> 17dd80526959 23:09:08 Step 7/26 : WORKDIR /app 23:09:08 ---> Running in 92d8a101c03b 23:09:08 Removing intermediate container 92d8a101c03b 23:09:08 ---> db2462b5e751 23:09:08 Step 8/26 : COPY go.mod vendor* ./ 23:09:08 ---> fe913de4840f 23:09:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:08 ---> Running in 99ed3d956863 23:09:09 Removing intermediate container 99ed3d956863 23:09:09 ---> 4005d58d3572 23:09:09 Step 10/26 : COPY . . 23:09:09 ---> 5292759c5638 23:09:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:09:09 ---> Running in f54eba03db7e 23:09:09 Removing intermediate container f54eba03db7e 23:09:09 ---> 6beaf6aea370 23:09:09 Step 12/26 : RUN $MAKE 23:09:09 ---> Running in 19308524eed6 23:09:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.48 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:09:15 using credential edgex-jenkins-ssh 23:09:15 Cloning the remote Git repository 23:09:15 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 23:09:15 > git init /w/workspace/app-service-configurable/1 # timeout=10 23:09:16 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:09:16 > git --version # timeout=10 23:09:16 > git --version # 'git version 2.25.1' 23:09:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:09:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:09:17 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:09:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:09:19 Merging remotes/origin/main commit 726c7bac779ae455276856dfdf2d144874947dc5 into PR head commit 804e4786b491f3e9a5aca5665f9255f1211c30ed 23:09:19 Merge succeeded, producing 804e4786b491f3e9a5aca5665f9255f1211c30ed 23:09:19 Checking out Revision 804e4786b491f3e9a5aca5665f9255f1211c30ed (PR-540) 23:09:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:09:18 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:09:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:09:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/540/head:refs/remotes/origin/PR-540 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:09:19 > git config core.sparsecheckout # timeout=10 23:09:19 > git checkout -f 804e4786b491f3e9a5aca5665f9255f1211c30ed # timeout=10 23:09:19 > git remote # timeout=10 23:09:19 > git config --get remote.origin.url # timeout=10 23:09:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:09:19 > git merge 726c7bac779ae455276856dfdf2d144874947dc5 # timeout=10 23:09:19 > git rev-parse HEAD^{commit} # timeout=10 23:09:19 > git config core.sparsecheckout # timeout=10 23:09:19 > git checkout -f 804e4786b491f3e9a5aca5665f9255f1211c30ed # timeout=10 23:09:20 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 23:09:20 > git --version # timeout=10 23:09:20 > git --version # 'git version 2.25.1' 23:09:20 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:09:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:09:21 % Total % Received % Xferd Average Speed Time Time Time Current 23:09:21 Dload Upload Total Spent Left Speed 23:09:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 23:09:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:09:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:09:22 + sudo tee /etc/docker/daemon.new 23:09:22 { 23:09:22 "registry-mirrors": [ 23:09:22 "https://nexus3.edgexfoundry.org:10001" 23:09:22 ], 23:09:22 "bip": "10.250.0.254/24", 23:09:22 "hosts": [ 23:09:22 "tcp://0.0.0.0:5555", 23:09:22 "unix:///var/run/docker.sock" 23:09:22 ], 23:09:22 "mtu": 1458, 23:09:22 "selinux-enabled": true, 23:09:22 "seccomp-profile": "/etc/docker/seccomp.json" 23:09:22 } [Pipeline] sh 23:09:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:09:23 + sudo service docker restart 23:09:27 Removing intermediate container 19308524eed6 23:09:27 ---> f8f1c909aad2 23:09:27 Step 13/26 : FROM alpine:3.17 23:09:27 3.17: Pulling from library/alpine 23:09:27 f56be85fc22e: Pulling fs layer 23:09:27 f56be85fc22e: Download complete 23:09:27 f56be85fc22e: Pull complete 23:09:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:09:27 Status: Downloaded newer image for alpine:3.17 23:09:27 ---> 9ed4aefc74f6 23:09:27 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:09:27 ---> Running in 752e3d744a8b 23:09:27 Removing intermediate container 752e3d744a8b 23:09:27 ---> 09c35cc24f58 23:09:27 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:09:27 ---> Running in 990a5058ca3c 23:09:27 Removing intermediate container 990a5058ca3c 23:09:27 ---> bc1969c600ab 23:09:27 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:09:27 ---> Running in f713f7ff8f31 23:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:09:28 (1/2) Installing ca-certificates (20220614-r4) 23:09:28 (2/2) Installing dumb-init (1.2.5-r2) 23:09:28 Executing busybox-1.35.0-r29.trigger 23:09:28 Executing ca-certificates-20220614-r4.trigger 23:09:28 OK: 8 MiB in 17 packages 23:09:28 Removing intermediate container f713f7ff8f31 23:09:28 ---> cf8843b372c2 23:09:28 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:09:28 ---> 485e0ba90851 23:09:28 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:09:28 ---> 3ac38c1bb786 23:09:28 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:09:28 ---> 25a853761ff6 23:09:28 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:09:29 ---> 348db371d5d8 23:09:29 Step 21/26 : EXPOSE 48095 23:09:29 ---> Running in 02c4012fd881 23:09:29 Removing intermediate container 02c4012fd881 23:09:29 ---> b3e9d7276f1a 23:09:29 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:09:29 ---> Running in a3350f901f16 23:09:29 Removing intermediate container a3350f901f16 23:09:29 ---> 7a525eb7d364 23:09:29 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:09:29 ---> Running in 2d256b75bef7 23:09:29 Removing intermediate container 2d256b75bef7 23:09:29 ---> fc4eaeaebf2d 23:09:29 Step 24/26 : LABEL arch=amd64 23:09:29 ---> Running in bfc332eeb2f0 23:09:30 Removing intermediate container bfc332eeb2f0 23:09:30 ---> 518f73e14b08 23:09:30 Step 25/26 : LABEL git_sha=804e4786b491f3e9a5aca5665f9255f1211c30ed 23:09:30 ---> Running in b7160b721af9 23:09:30 Removing intermediate container b7160b721af9 23:09:30 ---> 35c9e51286c4 23:09:30 Step 26/26 : LABEL version=0.0.0 23:09:30 ---> Running in c9b35dcf88b0 23:09:30 Removing intermediate container c9b35dcf88b0 23:09:30 ---> 7b83eaf0c165 23:09:30 [Warning] One or more build-args [ARCH] were not consumed 23:09:30 Successfully built 7b83eaf0c165 23:09:30 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:31 23:09:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:31 latest: Pulling from edgex-lftools-log-publisher 23:09:31 5eb5b503b376: Pulling fs layer 23:09:31 5c69ac0246d0: Pulling fs layer 23:09:31 ec43610c2a17: Pulling fs layer 23:09:31 3a2ae6a8a46f: Pulling fs layer 23:09:31 33b1e0a273af: Pulling fs layer 23:09:31 5d3b04190fa2: Pulling fs layer 23:09:31 2f39f015ded8: Pulling fs layer 23:09:31 5d3b04190fa2: Waiting 23:09:31 3a2ae6a8a46f: Waiting 23:09:31 33b1e0a273af: Waiting 23:09:31 2f39f015ded8: Waiting 23:09:31 5c69ac0246d0: Verifying Checksum 23:09:31 5c69ac0246d0: Download complete 23:09:31 3a2ae6a8a46f: Verifying Checksum 23:09:31 3a2ae6a8a46f: Download complete 23:09:31 33b1e0a273af: Verifying Checksum 23:09:31 33b1e0a273af: Download complete 23:09:31 ec43610c2a17: Verifying Checksum 23:09:31 ec43610c2a17: Download complete 23:09:31 5d3b04190fa2: Verifying Checksum 23:09:31 5d3b04190fa2: Download complete 23:09:31 5eb5b503b376: Verifying Checksum 23:09:31 5eb5b503b376: Download complete 23:09:32 2f39f015ded8: Download complete 23:09:32 5eb5b503b376: Pull complete 23:09:32 5c69ac0246d0: Pull complete 23:09:33 ec43610c2a17: Pull complete 23:09:33 3a2ae6a8a46f: Pull complete 23:09:33 33b1e0a273af: Pull complete 23:09:33 5d3b04190fa2: Pull complete 23:09:37 2f39f015ded8: Pull complete 23:09:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:38 prd-ubuntu20.04-docker-8c-8g-6295 does not seem to be running inside a container 23:09:38 $ 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-540 -v /w/workspace/_app-service-configurable_PR-540:/w/workspace/_app-service-configurable_PR-540:rw,z -v /w/workspace/_app-service-configurable_PR-540@tmp:/w/workspace/_app-service-configurable_PR-540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:09:43 $ docker top 7978dd83d19a3d6f75aaa7c7c2efc153e66272896ef534e06bcdec3361bd5013 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 23:09:43 provisioning config files... 23:09:43 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config14826179584874903074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:44 ---> job-cost.sh 23:09:44 lf-activate-venv: SKIPPING 23:09:44 INFO: No Stack... 23:09:44 ---> docker-login.sh 23:09:44 nexus3.edgexfoundry.org:10001 23:09:44 INFO: Retrieving Pricing Info for: v3-standard-8 23:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:44 Configure a credential helper to remove this warning. See 23:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:44 23:09:44 Login Succeeded 23:09:44 nexus3.edgexfoundry.org:10002 23:09:45 INFO: Archiving Costs [Pipeline] sh 23:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:45 + cat /w/workspace/_app-service-configurable_PR-540/archives/cost.csv 23:09:45 + cut -d, -f6 [Pipeline] lock 23:09:45 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-540-1-stack-cost] 23:09:45 Resource [jenkins-edgexfoundry-app-service-configurable-PR-540-1-stack-cost] did not exist. Created. 23:09:45 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-540-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:45 Configure a credential helper to remove this warning. See 23:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:45 23:09:45 Login Succeeded 23:09:45 nexus3.edgexfoundry.org:10003 23:09:45 + echo total: 0.2199999988079071 23:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:45 Configure a credential helper to remove this warning. See 23:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:45 23:09:45 Login Succeeded 23:09:45 nexus3.edgexfoundry.org:10004 [Pipeline] stash 23:09:45 Stashed 1 file(s) [Pipeline] } 23:09:45 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-540-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:09:45 $ docker stop --time=1 7978dd83d19a3d6f75aaa7c7c2efc153e66272896ef534e06bcdec3361bd5013 23:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:46 Configure a credential helper to remove this warning. See 23:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:46 23:09:46 Login Succeeded 23:09:46 docker.io 23:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:46 Configure a credential helper to remove this warning. See 23:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:46 23:09:46 Login Succeeded 23:09:46 ---> docker-login.sh ends 23:09:47 $ docker rm -f --volumes 7978dd83d19a3d6f75aaa7c7c2efc153e66272896ef534e06bcdec3361bd5013 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 23:09:47 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 23:09:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:09:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:09:47 ========================================================= 23:09:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:09:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:09:48 Sending build context to Docker daemon 169kB 23:09:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:09:48 Step 2/12 : FROM ${BASE} AS builder 23:09:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:09:48 af6eaf76a39c: Pulling fs layer 23:09:48 55522c791124: Pulling fs layer 23:09:48 ce5c4a1c91eb: Pulling fs layer 23:09:48 169dfbe0d373: Pulling fs layer 23:09:48 e1ff8fa3b103: Pulling fs layer 23:09:48 52ebb69f0ebf: Pulling fs layer 23:09:48 5abe8eddf0d5: Pulling fs layer 23:09:48 e1ff8fa3b103: Waiting 23:09:48 52ebb69f0ebf: Waiting 23:09:48 5abe8eddf0d5: Waiting 23:09:48 169dfbe0d373: Waiting 23:09:48 55522c791124: Verifying Checksum 23:09:48 55522c791124: Download complete 23:09:48 169dfbe0d373: Verifying Checksum 23:09:48 169dfbe0d373: Download complete 23:09:48 e1ff8fa3b103: Verifying Checksum 23:09:48 e1ff8fa3b103: Download complete 23:09:48 af6eaf76a39c: Download complete 23:09:49 af6eaf76a39c: Pull complete 23:09:50 5abe8eddf0d5: Verifying Checksum 23:09:50 5abe8eddf0d5: Download complete 23:09:50 55522c791124: Pull complete 23:09:51 ce5c4a1c91eb: Verifying Checksum 23:09:51 ce5c4a1c91eb: Download complete 23:09:51 52ebb69f0ebf: Download complete 23:10:01 ce5c4a1c91eb: Pull complete 23:10:01 169dfbe0d373: Pull complete 23:10:01 e1ff8fa3b103: Pull complete 23:10:08 52ebb69f0ebf: Pull complete 23:10:10 5abe8eddf0d5: Pull complete 23:10:10 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:10:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:10:10 ---> 6cb57ee374ae 23:10:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:10:11 ---> Running in 312b3f1cfb6b 23:10:11 Removing intermediate container 312b3f1cfb6b 23:10:11 ---> 5ef96a8fcf8c 23:10:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:10:11 ---> Running in e37d9db9a899 23:10:12 Removing intermediate container e37d9db9a899 23:10:12 ---> fa7bdc1487fe 23:10:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:10:12 ---> Running in 06cc9a3b1c61 23:10:12 Removing intermediate container 06cc9a3b1c61 23:10:12 ---> 7c391fd8645f 23:10:12 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:10:12 ---> Running in 27272648a5f2 23:10:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:10:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:10:15 OK: 263 MiB in 53 packages 23:10:16 Removing intermediate container 27272648a5f2 23:10:16 ---> 361d3ab98fad 23:10:16 Step 7/12 : WORKDIR /app 23:10:16 ---> Running in cf757c0c4b0a 23:10:16 Removing intermediate container cf757c0c4b0a 23:10:16 ---> 371b98fb4356 23:10:16 Step 8/12 : COPY go.mod vendor* ./ 23:10:17 ---> d439ab73eebd 23:10:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:10:17 ---> Running in bd4376896018 23:11:25 Removing intermediate container bd4376896018 23:11:25 ---> 7563c96d4a2a 23:11:25 Step 10/12 : COPY . . 23:11:25 ---> dbd44ba4b7be 23:11:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:11:25 ---> Running in ec914bd44448 23:11:25 Removing intermediate container ec914bd44448 23:11:25 ---> 065dc38b9ae5 23:11:25 Step 12/12 : RUN $MAKE 23:11:25 ---> Running in 417459abd4a8 23:11:25 noop 23:11:25 Removing intermediate container 417459abd4a8 23:11:25 ---> 18dfd645fefa 23:11:25 Successfully built 18dfd645fefa 23:11:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:25 + docker inspect -f . ci-base-image-arm64 23:11:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:26 prd-ubuntu20.04-docker-arm64-4c-16g-6297 does not seem to be running inside a container 23:11:26 $ 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 23:11:27 $ docker top 5734a43f9b6bbaaec61885d99913edd29c21d776bb9f16bdf4c33101c0961363 -eo pid,comm [Pipeline] { [Pipeline] sh 23:11:28 + go version 23:11:28 go version go1.20.2 linux/arm64 [Pipeline] } 23:11:28 $ docker stop --time=1 5734a43f9b6bbaaec61885d99913edd29c21d776bb9f16bdf4c33101c0961363 23:11:30 $ docker rm -f --volumes 5734a43f9b6bbaaec61885d99913edd29c21d776bb9f16bdf4c33101c0961363 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:30 + docker inspect -f . ci-base-image-arm64 23:11:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:31 prd-ubuntu20.04-docker-arm64-4c-16g-6297 does not seem to be running inside a container 23:11:31 $ 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 23:11:32 $ docker top 81b7c3d4f85e2f64fcc217225402b2809ef8c800bd22adf99566b3cda451bd51 -eo pid,comm [Pipeline] { [Pipeline] sh 23:11:33 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 23:11:34 + make test 23:11:34 go test -race -coverprofile=coverage.out ./... 23:14:41 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:14:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:14:41 go vet ./... 23:17:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:17:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:17:17 ./bin/test-attribution-txt.sh 23:17:17 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 23:17:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:17:18 $ docker stop --time=1 81b7c3d4f85e2f64fcc217225402b2809ef8c800bd22adf99566b3cda451bd51 23:17:20 $ docker rm -f --volumes 81b7c3d4f85e2f64fcc217225402b2809ef8c800bd22adf99566b3cda451bd51 [Pipeline] // withDockerContainer [Pipeline] sh 23:17:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:17:22 Warning: overwriting stash ‘coverage-report’ 23:17:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:17:24 + ls -al . 23:17:24 total 172 23:17:24 drwxrwxr-x 7 jenkins jenkins 4096 Mar 29 23:11 . 23:17:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:09 .. 23:17:24 -rw-rw-r-- 1 jenkins jenkins 119 Mar 29 23:09 .dockerignore 23:17:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:09 .git 23:17:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:09 .github 23:17:24 -rw-rw-r-- 1 jenkins jenkins 171 Mar 29 23:09 .gitignore 23:17:24 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:09 .golangci.yml 23:17:24 -rw-rw-r-- 1 jenkins jenkins 9088 Mar 29 23:09 Attribution.txt 23:17:24 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 29 23:09 CHANGELOG.md 23:17:24 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 29 23:09 Dockerfile 23:17:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:09 GOVERNANCE.md 23:17:24 -rw-rw-r-- 1 jenkins jenkins 688 Mar 29 23:09 Jenkinsfile 23:17:24 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 29 23:09 LICENSE 23:17:24 -rw-rw-r-- 1 jenkins jenkins 618 Mar 29 23:09 OWNERS.md 23:17:24 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 29 23:09 README.md 23:17:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:07 VERSION 23:17:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:09 bin 23:17:24 -rw-r--r-- 1 jenkins jenkins 13 Mar 29 23:11 coverage.out 23:17:24 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 29 23:09 go.mod 23:17:24 -rw-rw-r-- 1 jenkins jenkins 31336 Mar 29 23:09 go.sum 23:17:24 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 29 23:09 main.go 23:17:24 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 29 23:09 makefile 23:17:24 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:09 res 23:17:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:09 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:24 + 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=804e4786b491f3e9a5aca5665f9255f1211c30ed --label arch=arm64 --label version=0.0.0 . 23:17:24 Sending build context to Docker daemon 170kB 23:17:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:17:24 Step 2/26 : FROM ${BASE} AS builder 23:17:24 ---> 18dfd645fefa 23:17:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:17:24 ---> Running in 6e1c673a39d5 23:17:25 Removing intermediate container 6e1c673a39d5 23:17:25 ---> c425b99b144f 23:17:25 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:17:25 ---> Running in a22fcaa5cab1 23:17:25 Removing intermediate container a22fcaa5cab1 23:17:25 ---> 9d20f07ab4c0 23:17:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:17:25 ---> Running in 988bd6e539b8 23:17:26 Removing intermediate container 988bd6e539b8 23:17:26 ---> 2b751bebd3eb 23:17:26 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:26 ---> Running in 0ea5275589d9 23:17:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:17:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:17:30 OK: 263 MiB in 53 packages 23:17:31 Removing intermediate container 0ea5275589d9 23:17:31 ---> aa0636c9d214 23:17:31 Step 7/26 : WORKDIR /app 23:17:31 ---> Running in 3232b9bd3ab4 23:17:32 Removing intermediate container 3232b9bd3ab4 23:17:32 ---> c0b4af8b205c 23:17:32 Step 8/26 : COPY go.mod vendor* ./ 23:17:32 ---> 427dc0b3f728 23:17:32 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:32 ---> Running in 9bbd09020d78 23:17:36 Removing intermediate container 9bbd09020d78 23:17:36 ---> 783b36336d8b 23:17:36 Step 10/26 : COPY . . 23:17:36 ---> 0a40a4ff2319 23:17:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:17:36 ---> Running in 8907d2f87878 23:17:36 Removing intermediate container 8907d2f87878 23:17:36 ---> ff1fc3969fc3 23:17:36 Step 12/26 : RUN $MAKE 23:17:37 ---> Running in 0e555efed92e 23:17:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.48 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:20:30 Removing intermediate container 0e555efed92e 23:20:30 ---> 363f61543710 23:20:30 Step 13/26 : FROM alpine:3.17 23:20:30 3.17: Pulling from library/alpine 23:20:30 c41833b44d91: Pulling fs layer 23:20:30 c41833b44d91: Verifying Checksum 23:20:30 c41833b44d91: Download complete 23:20:30 c41833b44d91: Pull complete 23:20:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:20:30 Status: Downloaded newer image for alpine:3.17 23:20:30 ---> 51e60588ff2c 23:20:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:20:30 ---> Running in b33c92be0d7f 23:20:30 Removing intermediate container b33c92be0d7f 23:20:30 ---> 2a2eba1c5051 23:20:30 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:20:30 ---> Running in 06ce034c3f26 23:20:30 Removing intermediate container 06ce034c3f26 23:20:30 ---> dcd6eb9774f6 23:20:30 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:20:30 ---> Running in 4597afbef8e5 23:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:20:33 (1/2) Installing ca-certificates (20220614-r4) 23:20:33 (2/2) Installing dumb-init (1.2.5-r2) 23:20:33 Executing busybox-1.35.0-r29.trigger 23:20:33 Executing ca-certificates-20220614-r4.trigger 23:20:33 OK: 8 MiB in 17 packages 23:20:35 Removing intermediate container 4597afbef8e5 23:20:35 ---> 70a55a003004 23:20:35 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:20:35 ---> d3b3a8b9ef15 23:20:35 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:20:36 ---> ad72699b9b7f 23:20:36 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:20:36 ---> 7c5aca46431f 23:20:36 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:20:38 ---> f14fc9078fe8 23:20:38 Step 21/26 : EXPOSE 48095 23:20:38 ---> Running in 009423c781f1 23:20:38 Removing intermediate container 009423c781f1 23:20:38 ---> cd5046ff8b3b 23:20:38 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:20:38 ---> Running in 50fccc6a4429 23:20:39 Removing intermediate container 50fccc6a4429 23:20:39 ---> 709e0b54f005 23:20:39 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:20:39 ---> Running in 02dc66ff88e2 23:20:39 Removing intermediate container 02dc66ff88e2 23:20:39 ---> d8f7c5a7e0c7 23:20:39 Step 24/26 : LABEL arch=arm64 23:20:39 ---> Running in b3c060636f8e 23:20:40 Removing intermediate container b3c060636f8e 23:20:40 ---> 7664aa205669 23:20:40 Step 25/26 : LABEL git_sha=804e4786b491f3e9a5aca5665f9255f1211c30ed 23:20:40 ---> Running in 208c70f77f91 23:20:40 Removing intermediate container 208c70f77f91 23:20:40 ---> a3e43521f9f0 23:20:40 Step 26/26 : LABEL version=0.0.0 23:20:40 ---> Running in fc31274bb5c3 23:20:40 Removing intermediate container fc31274bb5c3 23:20:40 ---> c3efeaed6652 23:20:40 [Warning] One or more build-args [ARCH] were not consumed 23:20:40 Successfully built c3efeaed6652 23:20:40 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 23:20:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:20:41 23:20:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:20:42 arm64: Pulling from edgex-lftools-log-publisher 23:20:42 8998bd30e6a1: Pulling fs layer 23:20:42 04944245beec: Pulling fs layer 23:20:42 699f458cf7ca: Pulling fs layer 23:20:42 765212b225bb: Pulling fs layer 23:20:42 f23df028b6ca: Pulling fs layer 23:20:42 d65c8cfc05b1: Pulling fs layer 23:20:42 2437ff75d9bd: Pulling fs layer 23:20:42 f23df028b6ca: Waiting 23:20:42 d65c8cfc05b1: Waiting 23:20:42 2437ff75d9bd: Waiting 23:20:42 765212b225bb: Waiting 23:20:42 04944245beec: Verifying Checksum 23:20:42 04944245beec: Download complete 23:20:42 765212b225bb: Verifying Checksum 23:20:42 765212b225bb: Download complete 23:20:42 f23df028b6ca: Verifying Checksum 23:20:42 f23df028b6ca: Download complete 23:20:42 d65c8cfc05b1: Verifying Checksum 23:20:42 d65c8cfc05b1: Download complete 23:20:42 699f458cf7ca: Verifying Checksum 23:20:42 699f458cf7ca: Download complete 23:20:42 8998bd30e6a1: Verifying Checksum 23:20:42 8998bd30e6a1: Download complete 23:20:45 2437ff75d9bd: Verifying Checksum 23:20:45 2437ff75d9bd: Download complete 23:20:46 8998bd30e6a1: Pull complete 23:20:47 04944245beec: Pull complete 23:20:48 699f458cf7ca: Pull complete 23:20:48 765212b225bb: Pull complete 23:20:49 f23df028b6ca: Pull complete 23:20:50 d65c8cfc05b1: Pull complete 23:21:05 2437ff75d9bd: Pull complete 23:21:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:21:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:21:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:05 prd-ubuntu20.04-docker-arm64-4c-16g-6297 does not seem to be running inside a container 23:21:05 $ 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 23:21:08 $ docker top 456937dcae710a4a199ccb7047e549fabe47fa2909e770cf214fc6ec5232d0c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:09 ---> job-cost.sh 23:21:09 lf-activate-venv: SKIPPING 23:21:09 INFO: No Stack... 23:21:10 INFO: Retrieving Pricing Info for: v3-standard-4 23:21:11 INFO: Archiving Costs [Pipeline] sh 23:21:12 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 23:21:12 + cut -d, -f6 [Pipeline] lock 23:21:12 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-540-1-stack-cost] 23:21:12 Resource [jenkins-edgexfoundry-app-service-configurable-PR-540-1-stack-cost] did not exist. Created. 23:21:12 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-540-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:21:13 /w/workspace/app-service-configurable/1@tmp/durable-592e579e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:21:13 + echo total: 0.10999999940395355 [Pipeline] stash 23:21:13 Warning: overwriting stash ‘stack-cost’ 23:21:13 Stashed 1 file(s) [Pipeline] } 23:21:13 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-540-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:21:13 $ docker stop --time=1 456937dcae710a4a199ccb7047e549fabe47fa2909e770cf214fc6ec5232d0c1 23:21:15 $ docker rm -f --volumes 456937dcae710a4a199ccb7047e549fabe47fa2909e770cf214fc6ec5232d0c1 [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 23:21:16 provisioning config files... 23:21:16 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-540@tmp/config15031186104771191618tmp [Pipeline] { [Pipeline] sh 23:21:17 + set +x 23:21:17 + curl -s https://codecov.io/bash 23:21:17 + bash -s -- 23:21:17 23:21:17 _____ _ 23:21:17 / ____| | | 23:21:17 | | ___ __| | ___ ___ _____ __ 23:21:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:21:17 | |___| (_) | (_| | __/ (_| (_) \ V / 23:21:17 \_____\___/ \__,_|\___|\___\___/ \_/ 23:21:17 Bash-1.0.6 23:21:17 23:21:17 23:21:17 ==> git version 2.25.1 found 23:21:17 ==> 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 23:21:17 Release-Date: 2020-01-08 23:21:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:21:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:21:17 ==> Jenkins CI detected. 23:21:17 current dir:  /w/workspace/_app-service-configurable_PR-540 23:21:17 project root: . 23:21:17 --> token set from env 23:21:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:21:17 ==> Running gcov in . (disable via -X gcov) 23:21:17 ==> Python coveragepy not found 23:21:17 ==> Searching for coverage reports in: 23:21:17 + . 23:21:17 -> Found 1 reports 23:21:17 ==> Detecting git/mercurial file structure 23:21:17 ==> Reading reports 23:21:17 + ./coverage.out bytes=13 23:21:17 ==> Appending adjustments 23:21:17 https://docs.codecov.io/docs/fixing-reports 23:21:17 + Found adjustments 23:21:17 ==> Gzipping contents 23:21:17 4.0K /tmp/codecov.I28KwI.gz 23:21:17 ==> Uploading reports 23:21:17 url: https://codecov.io 23:21:17 query: branch=PR-540&commit=804e4786b491f3e9a5aca5665f9255f1211c30ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-540%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=540&job=&cmd_args= 23:21:17 -> Pinging Codecov 23:21:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-540&commit=804e4786b491f3e9a5aca5665f9255f1211c30ed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-540%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=540&job=&cmd_args= 23:21:17 -> Uploading to 23:21:17 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/A97CA9966030D2A3747ED39772930CCE/804e4786b491f3e9a5aca5665f9255f1211c30ed/364e0776-3d4e-40ac-9377-62ea777aa01c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T232117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f391cb6f591d7b45ca71a94a665238684688b75e445d33a9d3763dfce54c2c9 23:21:17 % Total % Received % Xferd Average Speed Time Time Time Current 23:21:17 Dload Upload Total Spent Left Speed 23:21:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1662 --:--:-- --:--:-- --:--:-- 1662 23:21:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/804e4786b491f3e9a5aca5665f9255f1211c30ed [Pipeline] } 23:21:17 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 23:21:19 + [ -d /w/workspace/_app-service-configurable_PR-540/archives ] 23:21:19 + ls -al /w/workspace/_app-service-configurable_PR-540/archives 23:21:19 total 16 23:21:19 drwxr-xr-x 3 root root 4096 Mar 29 23:09 . 23:21:19 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:09 .. 23:21:19 drwxr-xr-x 2 root root 4096 Mar 29 23:09 cost 23:21:19 -rw-r--r-- 1 root root 96 Mar 29 23:09 cost.csv 23:21:19 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-540/archives 23:21:19 + ls -al /w/workspace/_app-service-configurable_PR-540/archives 23:21:19 total 16 23:21:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:09 . 23:21:19 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:09 .. 23:21:19 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 23:09 cost 23:21:19 -rw-r--r-- 1 jenkins jenkins 96 Mar 29 23:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:21:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:21:20 ---> package-listing.sh 23:21:20 ++ facter osfamily 23:21:20 ++ tr '[:upper:]' '[:lower:]' 23:21:20 + OS_FAMILY=debian 23:21:20 + workspace=/w/workspace/_app-service-configurable_PR-540 23:21:20 + START_PACKAGES=/tmp/packages_start.txt 23:21:20 + END_PACKAGES=/tmp/packages_end.txt 23:21:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:21:20 + PACKAGES=/tmp/packages_start.txt 23:21:20 + '[' /w/workspace/_app-service-configurable_PR-540 ']' 23:21:20 + PACKAGES=/tmp/packages_end.txt 23:21:20 + case "${OS_FAMILY}" in 23:21:20 + dpkg -l 23:21:20 + grep '^ii' 23:21:20 + '[' -f /tmp/packages_start.txt ']' 23:21:20 + '[' -f /tmp/packages_end.txt ']' 23:21:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:21:20 + '[' /w/workspace/_app-service-configurable_PR-540 ']' 23:21:20 + mkdir -p /w/workspace/_app-service-configurable_PR-540/archives/ 23:21:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-540/archives/ [Pipeline] echo 23:21:20 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-540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:21:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:21:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:21 prd-ubuntu20.04-docker-8c-8g-6295 does not seem to be running inside a container 23:21:21 $ 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-540/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-540 -v /w/workspace/_app-service-configurable_PR-540:/w/workspace/_app-service-configurable_PR-540:rw,z -v /w/workspace/_app-service-configurable_PR-540@tmp:/w/workspace/_app-service-configurable_PR-540@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 23:21:22 $ docker top 9a56b68f75db871f617ac24116938285758ef8b3be8ec6afad239d44bd45082d -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:22 + touch /tmp/pre-build-complete [Pipeline] sh 23:21:22 + mkdir -p /var/log/sysstat [Pipeline] sh 23:21:23 + ls /var/log/sa-host 23:21:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:23 provisioning config files... 23:21:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-540@tmp/config1424052823926330524tmp [Pipeline] { [Pipeline] echo 23:21:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:21:23 ---> create-netrc.sh [Pipeline] } 23:21:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:21:24 ---> python-tools-install.sh [Pipeline] echo 23:21:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:21:24 ---> sudo-logs.sh 23:21:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:21:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:21:24 ---> job-cost.sh 23:21:24 lf-activate-venv: SKIPPING 23:21:24 DEBUG: total: 0.2199999988079071 23:21:24 INFO: Retrieving Stack Cost... 23:21:25 INFO: Retrieving Pricing Info for: v3-standard-8 23:21:25 INFO: Archiving Costs [Pipeline] echo 23:21:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:21:26 ---> logs-deploy.sh 23:21:26 lf-activate-venv: SKIPPING 23:21:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-540/1 23:21:26 INFO: archiving workspace using pattern(s): 23:21:26 Archives upload complete. 23:21:26 INFO: archiving logs to Nexus