Pull request #642 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2087075f3bf142d22dbf62bb61a5664f22b47e4e+d6c7bef36cd642dd9caca3159f3dce294963f756 (4f6e8d019b3353c391847206430b7f0276c35708) 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-ssh4984349943311419151.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh8907235762426037789.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-642/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-642/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1331950503815761280.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-642/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12696724332156603808.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh710006222885732456.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-642/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-642/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh449500657126959929.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1405 in /w/workspace/_app-service-configurable_PR-642 [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-642 # 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 Merging remotes/origin/main commit d6c7bef36cd642dd9caca3159f3dce294963f756 into PR head commit 2087075f3bf142d22dbf62bb61a5664f22b47e4e Merge succeeded, producing 2087075f3bf142d22dbf62bb61a5664f22b47e4e Checking out Revision 2087075f3bf142d22dbf62bb61a5664f22b47e4e (PR-642) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/642/head:refs/remotes/origin/PR-642 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2087075f3bf142d22dbf62bb61a5664f22b47e4e # 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 d6c7bef36cd642dd9caca3159f3dce294963f756 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2087075f3bf142d22dbf62bb61a5664f22b47e4e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:26:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:26:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:26:25 ========================================================= 12:26:25 EdgeX Global Pipelines Version Info 12:26:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:26:26 ------------------- 12:26:26 stable info: 12:26:26 ------------------- 12:26:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:26:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:26:26 Message: update stable to v1.0.258 12:26:26 ------------------- 12:26:26 experimental info: 12:26:26 ------------------- 12:26:26 Commited By: **** collab-it+edgex@linuxfoundation.org 12:26:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:26:26 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:26:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:26:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:26:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:26:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-642 [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-642 [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-642 [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2087075f3bf142d22dbf62bb61a5664f22b47e4e [Pipeline] echo 12:26:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2087075 [Pipeline] echo 12:26:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:26:29 provisioning config files... 12:26:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-642@tmp/config5723075155831879374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:26:29 ---> ****-login.sh 12:26:29 nexus3.edgexfoundry.org:10001 12:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:29 Configure a credential helper to remove this warning. See 12:26:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:29 12:26:29 Login Succeeded 12:26:29 nexus3.edgexfoundry.org:10002 12:26:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:30 Configure a credential helper to remove this warning. See 12:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:30 12:26:30 Login Succeeded 12:26:30 nexus3.edgexfoundry.org:10003 12:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:30 Configure a credential helper to remove this warning. See 12:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:30 12:26:30 Login Succeeded 12:26:30 nexus3.edgexfoundry.org:10004 12:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:30 Configure a credential helper to remove this warning. See 12:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:30 12:26:30 Login Succeeded 12:26:30 ****.io 12:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:30 Configure a credential helper to remove this warning. See 12:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:30 12:26:30 Login Succeeded 12:26:30 ---> ****-login.sh ends [Pipeline] } 12:26:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:26:31 + git rev-list -1 --merges 2087075f3bf142d22dbf62bb61a5664f22b47e4e~1..2087075f3bf142d22dbf62bb61a5664f22b47e4e [Pipeline] echo 12:26:31 -----------> git rev-list -1 --merges 2087075f3bf142d22dbf62bb61a5664f22b47e4e~1..2087075f3bf142d22dbf62bb61a5664f22b47e4e 2087075f3bf142d22dbf62bb61a5664f22b47e4e [false] [Pipeline] sh 12:26:31 + git log --format=format:%s -1 2087075f3bf142d22dbf62bb61a5664f22b47e4e [Pipeline] echo 12:26:31 ========================================================= 12:26:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:26:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:26:32 + git log --format=format:%s -1 2087075f3bf142d22dbf62bb61a5664f22b47e4e [Pipeline] echo 12:26:32 [semverPrep] GIT_COMMIT: 2087075f3bf142d22dbf62bb61a5664f22b47e4e, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:26:32 [semverPrep] This is not a build commit. [Pipeline] sh 12:26:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:26:32 + grep -v github /etc/ssh/ssh_known_hosts 12:26:32 + [ -e /tmp/ssh_known_hosts ] 12:26:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:26:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:26:32 + sudo tee -a /etc/ssh/ssh_known_hosts 12:26:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:26:33 12:26:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:26:33 0.1.4: Pulling from edgex-devops/py-git-semver 12:26:33 b85a868b505f: Pulling fs layer 12:26:33 e2be974225ed: Pulling fs layer 12:26:33 339a4e72a1f5: Pulling fs layer 12:26:33 988bab9f4d93: Pulling fs layer 12:26:33 1469e6f7b9e6: Pulling fs layer 12:26:33 eaf3925da568: Pulling fs layer 12:26:33 bab4dde63d76: Pulling fs layer 12:26:33 bde34c3a00c8: Pulling fs layer 12:26:33 b352a97aabf1: Pulling fs layer 12:26:33 4872d77fe225: Pulling fs layer 12:26:33 5851b861e8e6: Pulling fs layer 12:26:33 988bab9f4d93: Waiting 12:26:33 b352a97aabf1: Waiting 12:26:33 1469e6f7b9e6: Waiting 12:26:33 eaf3925da568: Waiting 12:26:33 4872d77fe225: Waiting 12:26:33 bab4dde63d76: Waiting 12:26:33 5851b861e8e6: Waiting 12:26:33 bde34c3a00c8: Waiting 12:26:33 e2be974225ed: Download complete 12:26:33 988bab9f4d93: Verifying Checksum 12:26:33 1469e6f7b9e6: Verifying Checksum 12:26:33 1469e6f7b9e6: Download complete 12:26:34 339a4e72a1f5: Verifying Checksum 12:26:34 339a4e72a1f5: Download complete 12:26:34 eaf3925da568: Verifying Checksum 12:26:34 bde34c3a00c8: Download complete 12:26:34 b352a97aabf1: Verifying Checksum 12:26:34 b352a97aabf1: Download complete 12:26:34 4872d77fe225: Verifying Checksum 12:26:34 4872d77fe225: Download complete 12:26:34 5851b861e8e6: Verifying Checksum 12:26:34 b85a868b505f: Verifying Checksum 12:26:34 b85a868b505f: Download complete 12:26:34 bab4dde63d76: Verifying Checksum 12:26:34 bab4dde63d76: Download complete 12:26:35 b85a868b505f: Pull complete 12:26:35 e2be974225ed: Pull complete 12:26:36 339a4e72a1f5: Pull complete 12:26:36 988bab9f4d93: Pull complete 12:26:36 1469e6f7b9e6: Pull complete 12:26:36 eaf3925da568: Pull complete 12:26:38 bab4dde63d76: Pull complete 12:26:38 bde34c3a00c8: Pull complete 12:26:38 b352a97aabf1: Pull complete 12:26:38 4872d77fe225: Pull complete 12:26:38 5851b861e8e6: Pull complete 12:26:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:26:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:26:38 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 12:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-642 -v /w/workspace/_app-service-configurable_PR-642:/w/workspace/_app-service-configurable_PR-642:rw,z -v /w/workspace/_app-service-configurable_PR-642@tmp:/w/workspace/_app-service-configurable_PR-642@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:26:41 $ docker top b16e06cc6fb9a71050c53f3851a35537aa904a16103aa8ada7c787fc83dc129a -eo pid,comm 12:26:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:26:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:26:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:26:42 [ssh-agent] Looking for ssh-agent implementation... 12:26:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:26:42 $ docker exec b16e06cc6fb9a71050c53f3851a35537aa904a16103aa8ada7c787fc83dc129a ssh-agent 12:26:42 SSH_AUTH_SOCK=/tmp/ssh-rvUdnyE2SXJ5/agent.32 12:26:42 SSH_AGENT_PID=38 12:26:42 Running ssh-add (command line suppressed) 12:26:42 Identity added: /w/workspace/_app-service-configurable_PR-642@tmp/private_key_6436855647965945252.key (/w/workspace/_app-service-configurable_PR-642@tmp/private_key_6436855647965945252.key) 12:26:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:26:42 + git tag --points-at HEAD [Pipeline] } 12:26:42 $ docker exec --env ******** --env ******** b16e06cc6fb9a71050c53f3851a35537aa904a16103aa8ada7c787fc83dc129a ssh-agent -k 12:26:42 unset SSH_AUTH_SOCK; 12:26:42 unset SSH_AGENT_PID; 12:26:42 echo Agent pid 38 killed; 12:26:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:26:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:26:43 [ssh-agent] Looking for ssh-agent implementation... 12:26:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:26:43 $ docker exec b16e06cc6fb9a71050c53f3851a35537aa904a16103aa8ada7c787fc83dc129a ssh-agent 12:26:43 SSH_AUTH_SOCK=/tmp/ssh-iOHXot1D7HNV/agent.70 12:26:43 SSH_AGENT_PID=76 12:26:43 Running ssh-add (command line suppressed) 12:26:43 Identity added: /w/workspace/_app-service-configurable_PR-642@tmp/private_key_8890677368103248863.key (/w/workspace/_app-service-configurable_PR-642@tmp/private_key_8890677368103248863.key) 12:26:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:26:43 + git semver init 12:26:44 2024-02-21 12:26:43,983 [run_init] DEBUG init version:0.0.0 force:False 12:26:44 2024-02-21 12:26:43,984 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-642/.semver 12:26:44 2024-02-21 12:26:43,984 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-642/.semver 12:26:44 2024-02-21 12:26:43,984 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-642/.semver'], cwd=/w/workspace/_app-service-configurable_PR-642, universal_newlines=False, shell=None, istream=None) 12:26:45 2024-02-21 12:26:45,215 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-642/.git/info/exclude 12:26:45 2024-02-21 12:26:45,216 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-642/.semver/PR-642 with force:False 12:26:45 2024-02-21 12:26:45,216 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-642/.semver/PR-642 12:26:45 2024-02-21 12:26:45,220 [execute] INFO git cat-file --batch-check 12:26:45 2024-02-21 12:26:45,221 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-642/.semver, universal_newlines=False, shell=None, istream=) 12:26:45 2024-02-21 12:26:45,227 [execute] INFO git cat-file --batch 12:26:45 2024-02-21 12:26:45,227 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-642/.semver, universal_newlines=False, shell=None, istream=) 12:26:45 2024-02-21 12:26:45,232 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-642/.semver/PR-642 12:26:45 0.0.0 [Pipeline] } 12:26:45 $ docker exec --env ******** --env ******** b16e06cc6fb9a71050c53f3851a35537aa904a16103aa8ada7c787fc83dc129a ssh-agent -k 12:26:45 unset SSH_AUTH_SOCK; 12:26:45 unset SSH_AGENT_PID; 12:26:45 echo Agent pid 76 killed; 12:26:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:26:46 + git semver [Pipeline] } 12:26:46 $ docker stop --time=1 b16e06cc6fb9a71050c53f3851a35537aa904a16103aa8ada7c787fc83dc129a 12:26:47 $ docker rm -f --volumes b16e06cc6fb9a71050c53f3851a35537aa904a16103aa8ada7c787fc83dc129a [Pipeline] // withDockerContainer [Pipeline] sh 12:26:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:26:48 Stashed 1 file(s) [Pipeline] echo 12:26:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:26:49 provisioning config files... 12:26:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-642@tmp/config2402807229096531497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:26:49 ---> ****-login.sh 12:26:49 nexus3.edgexfoundry.org:10001 12:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:49 Configure a credential helper to remove this warning. See 12:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:49 12:26:49 Login Succeeded 12:26:49 nexus3.edgexfoundry.org:10002 12:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:49 Configure a credential helper to remove this warning. See 12:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:49 12:26:49 Login Succeeded 12:26:49 nexus3.edgexfoundry.org:10003 12:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:50 Configure a credential helper to remove this warning. See 12:26:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:50 12:26:50 Login Succeeded 12:26:50 nexus3.edgexfoundry.org:10004 12:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:50 Configure a credential helper to remove this warning. See 12:26:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:50 12:26:50 Login Succeeded 12:26:50 ****.io 12:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:26:50 Configure a credential helper to remove this warning. See 12:26:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:26:50 12:26:50 Login Succeeded 12:26:50 ---> ****-login.sh ends [Pipeline] } 12:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:26:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:26:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:26:51 ========================================================= 12:26:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:26:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:26:51 Sending build context to Docker daemon 8.792MB 12:26:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:26:51 Step 2/12 : FROM ${BASE} AS builder 12:26:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:26:51 7264a8db6415: Pulling fs layer 12:26:51 c4d48a809fc2: Pulling fs layer 12:26:51 4f1c88b9dad5: Pulling fs layer 12:26:51 ad3a456e5733: Pulling fs layer 12:26:51 69c7f0334f64: Pulling fs layer 12:26:51 1f1c1a5573a3: Pulling fs layer 12:26:51 ce7588e14bc9: Pulling fs layer 12:26:51 b5e4710f87ac: Pulling fs layer 12:26:51 1f1c1a5573a3: Waiting 12:26:51 ce7588e14bc9: Waiting 12:26:51 ad3a456e5733: Waiting 12:26:51 69c7f0334f64: Waiting 12:26:51 b5e4710f87ac: Waiting 12:26:51 c4d48a809fc2: Verifying Checksum 12:26:52 ad3a456e5733: Verifying Checksum 12:26:52 ad3a456e5733: Download complete 12:26:52 69c7f0334f64: Verifying Checksum 12:26:52 69c7f0334f64: Download complete 12:26:52 7264a8db6415: Verifying Checksum 12:26:52 7264a8db6415: Download complete 12:26:52 1f1c1a5573a3: Verifying Checksum 12:26:52 1f1c1a5573a3: Download complete 12:26:52 7264a8db6415: Pull complete 12:26:52 b5e4710f87ac: Verifying Checksum 12:26:52 b5e4710f87ac: Download complete 12:26:52 c4d48a809fc2: Pull complete 12:26:52 4f1c88b9dad5: Verifying Checksum 12:26:52 4f1c88b9dad5: Download complete 12:26:52 ce7588e14bc9: Verifying Checksum 12:26:52 ce7588e14bc9: Download complete 12:26:56 4f1c88b9dad5: Pull complete 12:26:56 ad3a456e5733: Pull complete 12:26:56 69c7f0334f64: Pull complete 12:26:56 1f1c1a5573a3: Pull complete 12:26:58 ce7588e14bc9: Pull complete 12:26:58 b5e4710f87ac: Pull complete 12:26:58 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:26:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:26:58 ---> 88b5674ff536 12:26:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:27:04 Still waiting to schedule task 12:27:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:27:04 ---> Running in ab6fce784038 12:27:04 Removing intermediate container ab6fce784038 12:27:04 ---> 9a03a599e560 12:27:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:27:04 ---> Running in 094776af4781 12:27:04 Removing intermediate container 094776af4781 12:27:04 ---> f7d854905292 12:27:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:27:04 ---> Running in c0bec84b0e60 12:27:04 Removing intermediate container c0bec84b0e60 12:27:04 ---> 9980804f9bcb 12:27:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:27:04 ---> Running in 54ba660b0769 12:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:27:04 OK: 264 MiB in 52 packages 12:27:05 Removing intermediate container 54ba660b0769 12:27:05 ---> 38a8fed495b8 12:27:05 Step 7/12 : WORKDIR /app 12:27:05 ---> Running in c34e4527d78c 12:27:05 Removing intermediate container c34e4527d78c 12:27:05 ---> 29ea9e4ae33e 12:27:05 Step 8/12 : COPY go.mod vendor* ./ 12:27:05 ---> 3c574b95e229 12:27:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:27:05 ---> Running in 55a04ec2c405 12:27:37 Removing intermediate container 55a04ec2c405 12:27:37 ---> e2108b0596b2 12:27:37 Step 10/12 : COPY . . 12:27:37 ---> 59f930ceeb58 12:27:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:27:37 ---> Running in 6ab6b35971c9 12:27:37 Removing intermediate container 6ab6b35971c9 12:27:37 ---> e93c0d81ba4b 12:27:37 Step 12/12 : RUN $MAKE 12:27:37 ---> Running in 5576fd907806 12:27:37 noop 12:27:37 Removing intermediate container 5576fd907806 12:27:37 ---> a17f9840d2f4 12:27:37 Successfully built a17f9840d2f4 12:27:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:37 + docker inspect -f . ci-base-image-x86_64 12:27:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:38 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 12:27:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-642 -v /w/workspace/_app-service-configurable_PR-642:/w/workspace/_app-service-configurable_PR-642:rw,z -v /w/workspace/_app-service-configurable_PR-642@tmp:/w/workspace/_app-service-configurable_PR-642@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:27:38 $ docker top f79880ae646896610b2cad1552d876f1d379b38f60d1505f6d7b177ee96c4c95 -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:38 + go version 12:27:38 go version go1.21.0 linux/amd64 [Pipeline] } 12:27:38 $ docker stop --time=1 f79880ae646896610b2cad1552d876f1d379b38f60d1505f6d7b177ee96c4c95 12:27:40 $ docker rm -f --volumes f79880ae646896610b2cad1552d876f1d379b38f60d1505f6d7b177ee96c4c95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:41 + docker inspect -f . ci-base-image-x86_64 12:27:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:27:41 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 12:27:41 $ 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-642 -v /w/workspace/_app-service-configurable_PR-642:/w/workspace/_app-service-configurable_PR-642:rw,z -v /w/workspace/_app-service-configurable_PR-642@tmp:/w/workspace/_app-service-configurable_PR-642@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:27:41 $ docker top f29bd04c3d8c857517e3062e26729daa23f75e4f62a9de6531596a43f56957db -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:42 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-642 [Pipeline] fileExists [Pipeline] sh 12:27:42 + make test 12:27:42 go test -race -coverprofile=coverage.out ./... 12:28:04 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:28:22 go vet ./... 12:28:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:28:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:28:25 ./bin/test-attribution-txt.sh 12:28:25 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:28:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:28:26 $ docker stop --time=1 f29bd04c3d8c857517e3062e26729daa23f75e4f62a9de6531596a43f56957db 12:28:30 $ docker rm -f --volumes f29bd04c3d8c857517e3062e26729daa23f75e4f62a9de6531596a43f56957db [Pipeline] // withDockerContainer [Pipeline] sh 12:28:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:28:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:28:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:28:32 + ls -al . 12:28:32 total 184 12:28:32 drwxrwxr-x 7 jenkins jenkins 4096 Feb 21 12:27 . 12:28:32 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 12:26 .. 12:28:32 -rw-rw-r-- 1 jenkins jenkins 119 Feb 21 12:26 .dockerignore 12:28:32 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 12:28 .git 12:28:32 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 12:26 .github 12:28:32 -rw-rw-r-- 1 jenkins jenkins 106 Feb 21 12:26 .gitignore 12:28:32 -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 12:26 .golangci.yml 12:28:32 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 12:26 .semver 12:28:32 -rw-rw-r-- 1 jenkins jenkins 10394 Feb 21 12:26 Attribution.txt 12:28:32 -rw-rw-r-- 1 jenkins jenkins 37263 Feb 21 12:26 CHANGELOG.md 12:28:32 -rw-rw-r-- 1 jenkins jenkins 2007 Feb 21 12:26 Dockerfile 12:28:32 -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 12:26 GOVERNANCE.md 12:28:32 -rw-rw-r-- 1 jenkins jenkins 666 Feb 21 12:26 Jenkinsfile 12:28:32 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 21 12:26 LICENSE 12:28:32 -rw-rw-r-- 1 jenkins jenkins 618 Feb 21 12:26 OWNERS.md 12:28:32 -rw-rw-r-- 1 jenkins jenkins 4582 Feb 21 12:26 README.md 12:28:32 -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 12:26 VERSION 12:28:32 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 12:26 bin 12:28:32 -rw-r--r-- 1 jenkins jenkins 13 Feb 21 12:27 coverage.out 12:28:32 -rw-rw-r-- 1 jenkins jenkins 3776 Feb 21 12:26 go.mod 12:28:32 -rw-rw-r-- 1 jenkins jenkins 34159 Feb 21 12:26 go.sum 12:28:32 -rw-rw-r-- 1 jenkins jenkins 1937 Feb 21 12:26 main.go 12:28:32 -rw-rw-r-- 1 jenkins jenkins 2572 Feb 21 12:26 makefile 12:28:32 drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 12:26 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:28:32 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2087075f3bf142d22dbf62bb61a5664f22b47e4e --label arch=amd64 --label version=0.0.0 . 12:28:32 Sending build context to Docker daemon 8.793MB 12:28:32 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:28:32 Step 2/27 : FROM ${BASE} AS builder 12:28:32 ---> a17f9840d2f4 12:28:32 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:28:33 ---> Running in bcaa38913e51 12:28:33 Removing intermediate container bcaa38913e51 12:28:33 ---> acbb587da7a0 12:28:33 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:28:33 ---> Running in 2a6450da740f 12:28:33 Removing intermediate container 2a6450da740f 12:28:33 ---> ea4397bcbd5b 12:28:33 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:28:33 ---> Running in 83e2109c9a34 12:28:33 Removing intermediate container 83e2109c9a34 12:28:33 ---> 91a4a56203e9 12:28:33 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:28:33 ---> Running in b774738c3c6d 12:28:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:28:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:28:34 OK: 264 MiB in 52 packages 12:28:34 Removing intermediate container b774738c3c6d 12:28:34 ---> 6c7025f6de1d 12:28:34 Step 7/27 : WORKDIR /app 12:28:34 ---> Running in 9266dd66b755 12:28:34 Removing intermediate container 9266dd66b755 12:28:34 ---> 1a5478243f2a 12:28:34 Step 8/27 : COPY go.mod vendor* ./ 12:28:34 ---> f782f3b2198c 12:28:34 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:28:34 ---> Running in 5cba27b1db39 12:28:35 Removing intermediate container 5cba27b1db39 12:28:35 ---> fa95e61a2775 12:28:35 Step 10/27 : COPY . . 12:28:35 ---> 47e3d74443f4 12:28:35 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:28:35 ---> Running in 8e3e2c159f6b 12:28:35 Removing intermediate container 8e3e2c159f6b 12:28:35 ---> 318c8f216314 12:28:35 Step 12/27 : RUN $MAKE 12:28:35 ---> Running in f324bc059e93 12:28:36 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.21 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:28:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1406 in /w/workspace/_app-service-configurable_PR-642 [Pipeline] { [Pipeline] ws 12:28:38 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:28:42 Selected Git installation does not exist. Using Default 12:28:42 The recommended git tool is: NONE 12:28:46 using credential edgex-jenkins-ssh 12:28:46 Cloning the remote Git repository 12:28:46 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:28:46 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:28:46 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:28:46 > git --version # timeout=10 12:28:46 > git --version # 'git version 2.25.1' 12:28:46 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:28:49 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:28:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:28:49 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:28:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:28:50 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/642/head:refs/remotes/origin/PR-642 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:28:50 Merging remotes/origin/main commit d6c7bef36cd642dd9caca3159f3dce294963f756 into PR head commit 2087075f3bf142d22dbf62bb61a5664f22b47e4e 12:28:51 Merge succeeded, producing 2087075f3bf142d22dbf62bb61a5664f22b47e4e 12:28:51 Checking out Revision 2087075f3bf142d22dbf62bb61a5664f22b47e4e (PR-642) 12:28:51 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:28:51 > git --version # timeout=10 12:28:51 > git --version # 'git version 2.25.1' 12:28:51 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:28:50 > git config core.sparsecheckout # timeout=10 12:28:51 > git checkout -f 2087075f3bf142d22dbf62bb61a5664f22b47e4e # timeout=10 12:28:51 > git remote # timeout=10 12:28:51 > git config --get remote.origin.url # timeout=10 12:28:51 using GIT_SSH to set credentials SSH Credentials for GitHub 12:28:51 > git merge d6c7bef36cd642dd9caca3159f3dce294963f756 # timeout=10 12:28:51 > git rev-parse HEAD^{commit} # timeout=10 12:28:51 > git config core.sparsecheckout # timeout=10 12:28:51 > git checkout -f 2087075f3bf142d22dbf62bb61a5664f22b47e4e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:28:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:28:53 % Total % Received % Xferd Average Speed Time Time Time Current 12:28:53 Dload Upload Total Spent Left Speed 12:28:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 12:28:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:28:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:28:53 + sudo tee /etc/docker/daemon.new 12:28:53 { 12:28:53 "registry-mirrors": [ 12:28:53 "https://nexus3.edgexfoundry.org:10001" 12:28:53 ], 12:28:53 "bip": "10.250.0.254/24", 12:28:53 "hosts": [ 12:28:53 "tcp://0.0.0.0:5555", 12:28:53 "unix:///var/run/docker.sock" 12:28:53 ], 12:28:53 "mtu": 1458, 12:28:53 "selinux-enabled": true, 12:28:53 "seccomp-profile": "/etc/docker/seccomp.json" 12:28:53 } [Pipeline] sh 12:28:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:28:54 + sudo service docker restart 12:28:58 Removing intermediate container f324bc059e93 12:28:58 ---> 47f77e9bac0a 12:28:58 Step 13/27 : FROM alpine:3.18 12:28:58 3.18: Pulling from library/alpine 12:28:58 619be1103602: Pulling fs layer 12:28:58 619be1103602: Verifying Checksum 12:28:58 619be1103602: Download complete 12:28:58 619be1103602: Pull complete 12:28:58 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:28:58 Status: Downloaded newer image for alpine:3.18 12:28:58 ---> d3782b16ccc9 12:28:58 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:28:58 ---> Running in 24a21efc9ea9 12:28:58 Removing intermediate container 24a21efc9ea9 12:28:58 ---> 39b124b6b21e 12:28:58 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:28:58 ---> Running in 36e55d36ae45 12:28:58 Removing intermediate container 36e55d36ae45 12:28:58 ---> a95149a4a441 12:28:58 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:28:58 ---> Running in e264eb50db14 12:28:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:28:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:28:58 (1/2) Installing ca-certificates (20230506-r0) 12:28:58 (2/2) Installing dumb-init (1.2.5-r2) 12:28:58 Executing busybox-1.36.1-r5.trigger 12:28:58 Executing ca-certificates-20230506-r0.trigger 12:28:58 OK: 8 MiB in 17 packages 12:28:58 Removing intermediate container e264eb50db14 12:28:58 ---> 023a1855084c 12:28:58 Step 17/27 : RUN apk --no-cache upgrade 12:28:58 ---> Running in d8e8d4c8591b 12:28:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:28:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:28:58 OK: 8 MiB in 17 packages 12:28:58 Removing intermediate container d8e8d4c8591b 12:28:58 ---> 81bed03fe948 12:28:58 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:28:59 ---> f3463cc65dfb 12:28:59 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:28:59 ---> 036a3fb46c8f 12:28:59 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:28:59 ---> 7e84464c5d69 12:28:59 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:29:00 ---> 0f466c12f03b 12:29:00 Step 22/27 : EXPOSE 48095 12:29:00 ---> Running in 5a9b8ae7d275 12:29:00 Removing intermediate container 5a9b8ae7d275 12:29:00 ---> 327d7a63a3bd 12:29:00 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:29:00 ---> Running in d4fb0e8091d3 12:29:00 Removing intermediate container d4fb0e8091d3 12:29:00 ---> 55b0e3af014c 12:29:00 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:29:00 ---> Running in 926e6597c069 12:29:00 Removing intermediate container 926e6597c069 12:29:00 ---> 11a931f35322 12:29:00 Step 25/27 : LABEL arch=amd64 12:29:00 ---> Running in 76460d195fcf 12:29:00 Removing intermediate container 76460d195fcf 12:29:00 ---> 048bf5ce8437 12:29:00 Step 26/27 : LABEL git_sha=2087075f3bf142d22dbf62bb61a5664f22b47e4e 12:29:00 ---> Running in b9a9719cbf9a 12:29:00 Removing intermediate container b9a9719cbf9a 12:29:00 ---> 6c10f6bf2e8f 12:29:00 Step 27/27 : LABEL version=0.0.0 12:29:00 ---> Running in 6e790289a8d4 12:29:00 Removing intermediate container 6e790289a8d4 12:29:00 ---> ac731194c3d7 12:29:00 [Warning] One or more build-args [ARCH] were not consumed 12:29:00 Successfully built ac731194c3d7 12:29:00 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:29:02 12:29:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:29:02 latest: Pulling from edgex-lftools-log-publisher 12:29:02 5eb5b503b376: Pulling fs layer 12:29:02 5c69ac0246d0: Pulling fs layer 12:29:02 ec43610c2a17: Pulling fs layer 12:29:02 3a2ae6a8a46f: Pulling fs layer 12:29:02 33b1e0a273af: Pulling fs layer 12:29:02 5d3b04190fa2: Pulling fs layer 12:29:02 3a2ae6a8a46f: Waiting 12:29:02 5d3b04190fa2: Waiting 12:29:02 2f39f015ded8: Pulling fs layer 12:29:02 2f39f015ded8: Waiting 12:29:02 5c69ac0246d0: Download complete 12:29:02 3a2ae6a8a46f: Verifying Checksum 12:29:02 3a2ae6a8a46f: Download complete 12:29:02 33b1e0a273af: Verifying Checksum 12:29:02 33b1e0a273af: Download complete 12:29:02 ec43610c2a17: Verifying Checksum 12:29:02 ec43610c2a17: Download complete 12:29:02 5d3b04190fa2: Verifying Checksum 12:29:02 5d3b04190fa2: Download complete 12:29:02 5eb5b503b376: Download complete 12:29:03 2f39f015ded8: Download complete 12:29:04 5eb5b503b376: Pull complete 12:29:04 5c69ac0246d0: Pull complete 12:29:04 ec43610c2a17: Pull complete 12:29:04 3a2ae6a8a46f: Pull complete 12:29:05 33b1e0a273af: Pull complete 12:29:05 5d3b04190fa2: Pull complete 12:29:10 2f39f015ded8: Pull complete 12:29:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:29:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:29:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:29:10 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 12:29:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-642 -v /w/workspace/_app-service-configurable_PR-642:/w/workspace/_app-service-configurable_PR-642:rw,z -v /w/workspace/_app-service-configurable_PR-642@tmp:/w/workspace/_app-service-configurable_PR-642@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 12:29:14 $ docker top fab7270fc338d11fed0289d615a1c507b9a36fcc63f1ee1593b7638197c9475a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 12:29:15 provisioning config files... 12:29:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config11687868833161686071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:29:15 ---> job-cost.sh 12:29:15 lf-activate-venv: SKIPPING 12:29:15 INFO: No Stack... 12:29:15 INFO: Retrieving Pricing Info for: v3-standard-8 12:29:15 ---> ****-login.sh 12:29:15 nexus3.edgexfoundry.org:10001 12:29:15 INFO: Archiving Costs [Pipeline] sh 12:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:16 + cat /w/workspace/_app-service-configurable_PR-642/archives/cost.csv 12:29:16 + cut -d, -f6 [Pipeline] lock 12:29:16 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-642-1-stack-cost] 12:29:16 Resource [jenkins-edgexfoundry-app-service-configurable-PR-642-1-stack-cost] did not exist. Created. 12:29:16 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-642-1-stack-cost] [Pipeline] { 12:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:16 Configure a credential helper to remove this warning. See 12:29:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:16 12:29:16 Login Succeeded 12:29:16 nexus3.edgexfoundry.org:10002 [Pipeline] unstash [Pipeline] sh 12:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:16 Configure a credential helper to remove this warning. See 12:29:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:16 12:29:16 Login Succeeded 12:29:16 + echo total: 0.2199999988079071 [Pipeline] stash 12:29:16 Stashed 1 file(s) 12:29:16 nexus3.edgexfoundry.org:10003 12:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } 12:29:16 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-642-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:29:17 $ docker stop --time=1 fab7270fc338d11fed0289d615a1c507b9a36fcc63f1ee1593b7638197c9475a 12:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:17 Configure a credential helper to remove this warning. See 12:29:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:17 12:29:17 Login Succeeded 12:29:17 nexus3.edgexfoundry.org:10004 12:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:17 Configure a credential helper to remove this warning. See 12:29:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:17 12:29:17 Login Succeeded 12:29:17 ****.io 12:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:29:17 Configure a credential helper to remove this warning. See 12:29:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:29:17 12:29:17 Login Succeeded 12:29:17 ---> ****-login.sh ends 12:29:18 $ docker rm -f --volumes fab7270fc338d11fed0289d615a1c507b9a36fcc63f1ee1593b7638197c9475a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 12:29:18 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 12:29:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:29:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:29:19 ========================================================= 12:29:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:29:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:29:19 Sending build context to Docker daemon 158.7kB 12:29:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:29:20 Step 2/12 : FROM ${BASE} AS builder 12:29:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:29:21 9fda8d8052c6: Pulling fs layer 12:29:21 5d54e960e981: Pulling fs layer 12:29:21 c4a7e357bf2a: Pulling fs layer 12:29:21 f0e02332f6b5: Pulling fs layer 12:29:21 872ee5b61b7b: Pulling fs layer 12:29:21 0c6a40ed1a82: Pulling fs layer 12:29:21 94ae7d8d031c: Pulling fs layer 12:29:21 94ae7d8d031c: Waiting 12:29:21 0c6a40ed1a82: Waiting 12:29:21 f0e02332f6b5: Waiting 12:29:21 5d54e960e981: Verifying Checksum 12:29:21 5d54e960e981: Download complete 12:29:21 f0e02332f6b5: Verifying Checksum 12:29:21 f0e02332f6b5: Download complete 12:29:21 872ee5b61b7b: Verifying Checksum 12:29:21 872ee5b61b7b: Download complete 12:29:21 9fda8d8052c6: Verifying Checksum 12:29:21 9fda8d8052c6: Download complete 12:29:21 94ae7d8d031c: Verifying Checksum 12:29:21 94ae7d8d031c: Download complete 12:29:21 9fda8d8052c6: Pull complete 12:29:22 5d54e960e981: Pull complete 12:29:22 c4a7e357bf2a: Download complete 12:29:23 0c6a40ed1a82: Verifying Checksum 12:29:23 0c6a40ed1a82: Download complete 12:29:36 c4a7e357bf2a: Pull complete 12:29:36 f0e02332f6b5: Pull complete 12:29:36 872ee5b61b7b: Pull complete 12:29:44 0c6a40ed1a82: Pull complete 12:29:46 94ae7d8d031c: Pull complete 12:29:46 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:29:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:29:46 ---> 86de565de09d 12:29:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:29:48 ---> Running in 6b2e9ebd59b8 12:29:48 Removing intermediate container 6b2e9ebd59b8 12:29:48 ---> 587f618e0789 12:29:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:29:48 ---> Running in 2ec506857daa 12:29:49 Removing intermediate container 2ec506857daa 12:29:49 ---> ed4a86fe6cef 12:29:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:29:49 ---> Running in 784395ffb882 12:29:49 Removing intermediate container 784395ffb882 12:29:49 ---> 6c6b2c9249cd 12:29:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:29:49 ---> Running in 271438c77091 12:29:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:29:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:29:52 OK: 266 MiB in 52 packages 12:29:52 Removing intermediate container 271438c77091 12:29:52 ---> 7204c9f85a68 12:29:52 Step 7/12 : WORKDIR /app 12:29:52 ---> Running in 834a003fbf4e 12:29:53 Removing intermediate container 834a003fbf4e 12:29:53 ---> e78e4a347d5e 12:29:53 Step 8/12 : COPY go.mod vendor* ./ 12:29:53 ---> c76e53461659 12:29:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:29:53 ---> Running in 6089a4e5e93e 12:31:02 Removing intermediate container 6089a4e5e93e 12:31:02 ---> 54fcbf192f84 12:31:02 Step 10/12 : COPY . . 12:31:02 ---> 47c837dde98d 12:31:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:31:02 ---> Running in 978a175810d8 12:31:02 Removing intermediate container 978a175810d8 12:31:02 ---> c6061d4ddce0 12:31:02 Step 12/12 : RUN $MAKE 12:31:02 ---> Running in ff2c8a9e5466 12:31:02 noop 12:31:02 Removing intermediate container ff2c8a9e5466 12:31:02 ---> 1c3fb9b66ba3 12:31:02 Successfully built 1c3fb9b66ba3 12:31:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:02 + docker inspect -f . ci-base-image-arm64 12:31:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:03 prd-ubuntu20.04-docker-arm64-4c-16g-1406 does not seem to be running inside a container 12:31:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:31:05 $ docker top cac16a063cc744819573d75a8b8b937676aa3a8acf04cb4e6ebdf62998f4d202 -eo pid,comm [Pipeline] { [Pipeline] sh 12:31:06 + go version 12:31:06 go version go1.21.0 linux/arm64 [Pipeline] } 12:31:06 $ docker stop --time=1 cac16a063cc744819573d75a8b8b937676aa3a8acf04cb4e6ebdf62998f4d202 12:31:08 $ docker rm -f --volumes cac16a063cc744819573d75a8b8b937676aa3a8acf04cb4e6ebdf62998f4d202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:09 + docker inspect -f . ci-base-image-arm64 12:31:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:09 prd-ubuntu20.04-docker-arm64-4c-16g-1406 does not seem to be running inside a container 12:31:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:31:10 $ docker top fc6de66d9bb6b40fac90702adfee888b14e7e27472d459b7900d8fcb12cd0618 -eo pid,comm [Pipeline] { [Pipeline] sh 12:31:11 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:31:11 + make test 12:31:11 go test -race -coverprofile=coverage.out ./... 12:33:18 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:33:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:33:18 go vet ./... 12:35:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:35:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:35:25 ./bin/test-attribution-txt.sh 12:35:25 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:35:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:35:25 $ docker stop --time=1 fc6de66d9bb6b40fac90702adfee888b14e7e27472d459b7900d8fcb12cd0618 12:35:27 $ docker rm -f --volumes fc6de66d9bb6b40fac90702adfee888b14e7e27472d459b7900d8fcb12cd0618 [Pipeline] // withDockerContainer [Pipeline] sh 12:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:35:29 Warning: overwriting stash ‘coverage-report’ 12:35:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:35:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:35:30 + ls -al . 12:35:30 total 180 12:35:30 drwxrwxr-x 6 jenkins jenkins 4096 Feb 21 12:31 . 12:35:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 12:28 .. 12:35:30 -rw-rw-r-- 1 jenkins jenkins 119 Feb 21 12:28 .dockerignore 12:35:30 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 12:28 .git 12:35:30 drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 12:28 .github 12:35:30 -rw-rw-r-- 1 jenkins jenkins 106 Feb 21 12:28 .gitignore 12:35:30 -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 12:28 .golangci.yml 12:35:30 -rw-rw-r-- 1 jenkins jenkins 10394 Feb 21 12:28 Attribution.txt 12:35:30 -rw-rw-r-- 1 jenkins jenkins 37263 Feb 21 12:28 CHANGELOG.md 12:35:30 -rw-rw-r-- 1 jenkins jenkins 2007 Feb 21 12:28 Dockerfile 12:35:30 -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 12:28 GOVERNANCE.md 12:35:30 -rw-rw-r-- 1 jenkins jenkins 666 Feb 21 12:28 Jenkinsfile 12:35:30 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 21 12:28 LICENSE 12:35:30 -rw-rw-r-- 1 jenkins jenkins 618 Feb 21 12:28 OWNERS.md 12:35:30 -rw-rw-r-- 1 jenkins jenkins 4582 Feb 21 12:28 README.md 12:35:30 -rw-rw-r-- 1 jenkins jenkins 5 Feb 21 12:26 VERSION 12:35:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 12:28 bin 12:35:30 -rw-r--r-- 1 jenkins jenkins 13 Feb 21 12:31 coverage.out 12:35:30 -rw-rw-r-- 1 jenkins jenkins 3776 Feb 21 12:28 go.mod 12:35:30 -rw-rw-r-- 1 jenkins jenkins 34159 Feb 21 12:28 go.sum 12:35:30 -rw-rw-r-- 1 jenkins jenkins 1937 Feb 21 12:28 main.go 12:35:30 -rw-rw-r-- 1 jenkins jenkins 2572 Feb 21 12:28 makefile 12:35:30 drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 12:28 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:31 + 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=2087075f3bf142d22dbf62bb61a5664f22b47e4e --label arch=arm64 --label version=0.0.0 . 12:35:31 Sending build context to Docker daemon 159.7kB 12:35:31 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:35:31 Step 2/27 : FROM ${BASE} AS builder 12:35:31 ---> 1c3fb9b66ba3 12:35:31 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:35:31 ---> Running in b3a1caafe657 12:35:31 Removing intermediate container b3a1caafe657 12:35:31 ---> fcdbbdcfcf86 12:35:31 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:35:32 ---> Running in 74b49b180e78 12:35:32 Removing intermediate container 74b49b180e78 12:35:32 ---> d4872eb485ee 12:35:32 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:35:32 ---> Running in 697240ecd681 12:35:32 Removing intermediate container 697240ecd681 12:35:32 ---> cc089468b219 12:35:32 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:35:32 ---> Running in d3203874a4b4 12:35:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:35:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:35:35 OK: 266 MiB in 52 packages 12:35:36 Removing intermediate container d3203874a4b4 12:35:36 ---> 77bb61e45c2c 12:35:36 Step 7/27 : WORKDIR /app 12:35:36 ---> Running in 98ef9755f9ae 12:35:36 Removing intermediate container 98ef9755f9ae 12:35:36 ---> 8513c264fc89 12:35:36 Step 8/27 : COPY go.mod vendor* ./ 12:35:39 ---> 9ef2f6609bae 12:35:39 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:35:39 ---> Running in 471820f4859c 12:35:41 Removing intermediate container 471820f4859c 12:35:41 ---> 9dd46c35f1ab 12:35:41 Step 10/27 : COPY . . 12:35:42 ---> ea98c998153d 12:35:42 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:35:42 ---> Running in 7a7b914e6c36 12:35:42 Removing intermediate container 7a7b914e6c36 12:35:42 ---> 54dbcf4ad5a7 12:35:42 Step 12/27 : RUN $MAKE 12:35:42 ---> Running in 263741f5d020 12:35:43 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.21 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:37:35 Removing intermediate container 263741f5d020 12:37:35 ---> a48a1003d9b3 12:37:35 Step 13/27 : FROM alpine:3.18 12:37:35 3.18: Pulling from library/alpine 12:37:35 c6b39de5b339: Pulling fs layer 12:37:35 c6b39de5b339: Verifying Checksum 12:37:35 c6b39de5b339: Download complete 12:37:35 c6b39de5b339: Pull complete 12:37:35 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:37:35 Status: Downloaded newer image for alpine:3.18 12:37:35 ---> 33abbf032149 12:37:35 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:37:35 ---> Running in ffebfe9708ca 12:37:35 Removing intermediate container ffebfe9708ca 12:37:35 ---> 70922a47f2fa 12:37:35 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:37:35 ---> Running in 8c3ed9d73bfa 12:37:35 Removing intermediate container 8c3ed9d73bfa 12:37:35 ---> 32cd1cdd686f 12:37:35 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:37:35 ---> Running in 416e67a252fb 12:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:37:35 (1/2) Installing ca-certificates (20230506-r0) 12:37:35 (2/2) Installing dumb-init (1.2.5-r2) 12:37:35 Executing busybox-1.36.1-r5.trigger 12:37:35 Executing ca-certificates-20230506-r0.trigger 12:37:35 OK: 9 MiB in 17 packages 12:37:35 Removing intermediate container 416e67a252fb 12:37:35 ---> 0cfb13a91a0a 12:37:35 Step 17/27 : RUN apk --no-cache upgrade 12:37:35 ---> Running in c4c9e6478ac1 12:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:37:35 OK: 9 MiB in 17 packages 12:37:35 Removing intermediate container c4c9e6478ac1 12:37:35 ---> 2f269cb2478b 12:37:35 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:37:35 ---> 665bd8fac8d7 12:37:35 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:37:35 ---> fe68c4103745 12:37:35 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:37:36 ---> c148a4b2781c 12:37:36 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:37:37 ---> c7aab717e874 12:37:37 Step 22/27 : EXPOSE 48095 12:37:37 ---> Running in e959b151b3a7 12:37:37 Removing intermediate container e959b151b3a7 12:37:37 ---> e9c143757fc5 12:37:37 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:37:37 ---> Running in 42cebb3cd069 12:37:38 Removing intermediate container 42cebb3cd069 12:37:38 ---> 37fa8e3a7ce5 12:37:38 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:37:38 ---> Running in efed3a6b1089 12:37:38 Removing intermediate container efed3a6b1089 12:37:38 ---> 2274774d80ad 12:37:38 Step 25/27 : LABEL arch=arm64 12:37:38 ---> Running in 888d849e3a6d 12:37:39 Removing intermediate container 888d849e3a6d 12:37:39 ---> 52bd78dbab0c 12:37:39 Step 26/27 : LABEL git_sha=2087075f3bf142d22dbf62bb61a5664f22b47e4e 12:37:39 ---> Running in 098375f418b3 12:37:39 Removing intermediate container 098375f418b3 12:37:39 ---> a9388e7c02c5 12:37:39 Step 27/27 : LABEL version=0.0.0 12:37:39 ---> Running in bbeefaaa2a4d 12:37:39 Removing intermediate container bbeefaaa2a4d 12:37:39 ---> 1ca73b854ee7 12:37:39 [Warning] One or more build-args [ARCH] were not consumed 12:37:39 Successfully built 1ca73b854ee7 12:37:39 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:37:41 12:37:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:37:41 arm64: Pulling from edgex-lftools-log-publisher 12:37:41 8998bd30e6a1: Pulling fs layer 12:37:41 04944245beec: Pulling fs layer 12:37:41 699f458cf7ca: Pulling fs layer 12:37:41 765212b225bb: Pulling fs layer 12:37:41 f23df028b6ca: Pulling fs layer 12:37:41 d65c8cfc05b1: Pulling fs layer 12:37:41 2437ff75d9bd: Pulling fs layer 12:37:41 d65c8cfc05b1: Waiting 12:37:41 765212b225bb: Waiting 12:37:41 2437ff75d9bd: Waiting 12:37:41 f23df028b6ca: Waiting 12:37:41 04944245beec: Verifying Checksum 12:37:41 04944245beec: Download complete 12:37:41 765212b225bb: Verifying Checksum 12:37:41 765212b225bb: Download complete 12:37:41 f23df028b6ca: Verifying Checksum 12:37:41 f23df028b6ca: Download complete 12:37:41 d65c8cfc05b1: Verifying Checksum 12:37:41 d65c8cfc05b1: Download complete 12:37:42 699f458cf7ca: Verifying Checksum 12:37:42 699f458cf7ca: Download complete 12:37:42 8998bd30e6a1: Verifying Checksum 12:37:42 8998bd30e6a1: Download complete 12:37:45 2437ff75d9bd: Verifying Checksum 12:37:45 2437ff75d9bd: Download complete 12:37:47 8998bd30e6a1: Pull complete 12:37:47 04944245beec: Pull complete 12:37:50 699f458cf7ca: Pull complete 12:37:50 765212b225bb: Pull complete 12:37:50 f23df028b6ca: Pull complete 12:37:51 d65c8cfc05b1: Pull complete 12:38:09 2437ff75d9bd: Pull complete 12:38:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:38:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:38:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:09 prd-ubuntu20.04-docker-arm64-4c-16g-1406 does not seem to be running inside a container 12:38:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:38:12 $ docker top ca0b7912d7adbf25848212e5e32714fdbd150844e7fe1a76faa8433453270ee3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:38:13 ---> job-cost.sh 12:38:13 lf-activate-venv: SKIPPING 12:38:13 INFO: No Stack... 12:38:13 INFO: Retrieving Pricing Info for: v3-standard-4 12:38:14 INFO: Archiving Costs [Pipeline] sh 12:38:15 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:38:15 + cut -d, -f6 [Pipeline] lock 12:38:15 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-642-1-stack-cost] 12:38:15 Resource [jenkins-edgexfoundry-app-service-configurable-PR-642-1-stack-cost] did not exist. Created. 12:38:15 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-642-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:38:16 /w/workspace/app-service-configurable/1@tmp/durable-b43537d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:38:16 + echo total: 0.10999999940395355 [Pipeline] stash 12:38:16 Warning: overwriting stash ‘stack-cost’ 12:38:16 Stashed 1 file(s) [Pipeline] } 12:38:17 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-642-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:38:17 $ docker stop --time=1 ca0b7912d7adbf25848212e5e32714fdbd150844e7fe1a76faa8433453270ee3 12:38:18 $ docker rm -f --volumes ca0b7912d7adbf25848212e5e32714fdbd150844e7fe1a76faa8433453270ee3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:38:20 provisioning config files... 12:38:20 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-642@tmp/config16742519311262366205tmp [Pipeline] { [Pipeline] sh 12:38:21 + set +x 12:38:21 + bash -s -- 12:38:21 + curl -s https://codecov.io/bash 12:38:21 12:38:21 _____ _ 12:38:21 / ____| | | 12:38:21 | | ___ __| | ___ ___ _____ __ 12:38:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:38:21 | |___| (_) | (_| | __/ (_| (_) \ V / 12:38:21 \_____\___/ \__,_|\___|\___\___/ \_/ 12:38:21 Bash-1.0.6 12:38:21 12:38:21 12:38:21 ==> git version 2.25.1 found 12:38:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:38:21 Release-Date: 2020-01-08 12:38:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:38:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:38:21 ==> Jenkins CI detected. 12:38:21 current dir:  /w/workspace/_app-service-configurable_PR-642 12:38:21 project root: . 12:38:21 --> token set from env 12:38:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:38:21 ==> Running gcov in . (disable via -X gcov) 12:38:21 ==> Python coveragepy not found 12:38:21 ==> Searching for coverage reports in: 12:38:21 + . 12:38:21 -> Found 1 reports 12:38:21 ==> Detecting git/mercurial file structure 12:38:21 ==> Reading reports 12:38:21 + ./coverage.out bytes=13 12:38:21 ==> Appending adjustments 12:38:21 https://docs.codecov.io/docs/fixing-reports 12:38:21 + Found adjustments 12:38:21 ==> Gzipping contents 12:38:21 4.0K /tmp/codecov.NiM8gK.gz 12:38:21 ==> Uploading reports 12:38:21 url: https://codecov.io 12:38:21 query: branch=PR-642&commit=2087075f3bf142d22dbf62bb61a5664f22b47e4e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-642%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=642&job=&cmd_args= 12:38:21 -> Pinging Codecov 12:38:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-642&commit=2087075f3bf142d22dbf62bb61a5664f22b47e4e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-642%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=642&job=&cmd_args= 12:38:21 -> Uploading to 12:38:21 https://storage.googleapis.com/codecov/v4/raw/2024-02-21/A97CA9966030D2A3747ED39772930CCE/2087075f3bf142d22dbf62bb61a5664f22b47e4e/58f9a829-19b3-489a-920d-ffda538732cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240221T123821Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66f8120af50ced832e68c69bba089ba79b01aa0bf7891e7c532f61e1d0d2c58a 12:38:21 % Total % Received % Xferd Average Speed Time Time Time Current 12:38:21 Dload Upload Total Spent Left Speed 12:38:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 889 --:--:-- --:--:-- --:--:-- 889 12:38:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/2087075f3bf142d22dbf62bb61a5664f22b47e4e [Pipeline] } 12:38:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:38:25 + [ -d /w/workspace/_app-service-configurable_PR-642/archives ] 12:38:25 + ls -al /w/workspace/_app-service-configurable_PR-642/archives 12:38:25 total 16 12:38:25 drwxr-xr-x 3 root root 4096 Feb 21 12:29 . 12:38:25 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 12:29 .. 12:38:25 drwxr-xr-x 2 root root 4096 Feb 21 12:29 cost 12:38:25 -rw-r--r-- 1 root root 96 Feb 21 12:29 cost.csv 12:38:25 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-642/archives 12:38:25 + ls -al /w/workspace/_app-service-configurable_PR-642/archives 12:38:25 total 16 12:38:25 drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 12:29 . 12:38:25 drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 12:29 .. 12:38:25 drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 12:29 cost 12:38:25 -rw-r--r-- 1 jenkins jenkins 96 Feb 21 12:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:38:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:38:26 ---> package-listing.sh 12:38:26 ++ facter osfamily 12:38:26 ++ tr '[:upper:]' '[:lower:]' 12:38:26 + OS_FAMILY=debian 12:38:26 + workspace=/w/workspace/_app-service-configurable_PR-642 12:38:26 + START_PACKAGES=/tmp/packages_start.txt 12:38:26 + END_PACKAGES=/tmp/packages_end.txt 12:38:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:38:26 + PACKAGES=/tmp/packages_start.txt 12:38:26 + '[' /w/workspace/_app-service-configurable_PR-642 ']' 12:38:26 + PACKAGES=/tmp/packages_end.txt 12:38:26 + case "${OS_FAMILY}" in 12:38:26 + dpkg -l 12:38:26 + grep '^ii' 12:38:26 + '[' -f /tmp/packages_start.txt ']' 12:38:26 + '[' -f /tmp/packages_end.txt ']' 12:38:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:38:26 + '[' /w/workspace/_app-service-configurable_PR-642 ']' 12:38:26 + mkdir -p /w/workspace/_app-service-configurable_PR-642/archives/ 12:38:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-642/archives/ [Pipeline] echo 12:38:26 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-642/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:38:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:28 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 12:38:28 $ 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-642/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-642 -v /w/workspace/_app-service-configurable_PR-642:/w/workspace/_app-service-configurable_PR-642:rw,z -v /w/workspace/_app-service-configurable_PR-642@tmp:/w/workspace/_app-service-configurable_PR-642@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:38:28 $ docker top 9e5e4c2966d626114d8170e4c92ab546e0d72dcc8bf0885290e9e6245b566dcd -eo pid,comm [Pipeline] { [Pipeline] sh 12:38:28 + touch /tmp/pre-build-complete [Pipeline] sh 12:38:29 + mkdir -p /var/log/sysstat [Pipeline] sh 12:38:29 + ls /var/log/sa-host 12:38:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:38:29 provisioning config files... 12:38:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-642@tmp/config15598301928331352230tmp [Pipeline] { [Pipeline] echo 12:38:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:38:30 ---> create-netrc.sh [Pipeline] } 12:38:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:38:30 ---> python-tools-install.sh [Pipeline] echo 12:38:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:38:31 ---> sudo-logs.sh 12:38:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:38:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:38:31 ---> job-cost.sh 12:38:31 lf-activate-venv: SKIPPING 12:38:31 DEBUG: total: 0.2199999988079071 12:38:31 INFO: Retrieving Stack Cost... 12:38:31 INFO: Retrieving Pricing Info for: v3-standard-8 12:38:32 INFO: Archiving Costs [Pipeline] echo 12:38:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:38:32 ---> logs-deploy.sh 12:38:32 lf-activate-venv: SKIPPING 12:38:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-642/1 12:38:32 INFO: archiving workspace using pattern(s): 12:38:33 Archives upload complete. 12:38:33 INFO: archiving logs to Nexus