Pull request #647 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 695fe9e0ee1311198688f1625238f5743ec542b8+de2673118ef797f3fa80278e5e2907ec493f0d91 (0c066f9f882ea6aa3b3bdddddcaac183688edc5f) 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-ssh8556865725705035993.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-ssh13189503236161709095.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-647/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-647/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17871509829290871607.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-647/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8555125394223423082.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-ssh6983038103086742525.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-647/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-647/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3757492026768049542.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-5247 in /w/workspace/_app-service-configurable_PR-647 [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-647 # 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 de2673118ef797f3fa80278e5e2907ec493f0d91 into PR head commit 695fe9e0ee1311198688f1625238f5743ec542b8 Merge succeeded, producing 695fe9e0ee1311198688f1625238f5743ec542b8 Checking out Revision 695fe9e0ee1311198688f1625238f5743ec542b8 (PR-647) 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/647/head:refs/remotes/origin/PR-647 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 695fe9e0ee1311198688f1625238f5743ec542b8 # 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 de2673118ef797f3fa80278e5e2907ec493f0d91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 695fe9e0ee1311198688f1625238f5743ec542b8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:42:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:42:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:42:31 ========================================================= 12:42:31 EdgeX Global Pipelines Version Info 12:42:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:42:32 ------------------- 12:42:32 stable info: 12:42:32 ------------------- 12:42:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:42:32 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:42:32 Message: update stable to v1.0.258 12:42:33 ------------------- 12:42:33 experimental info: 12:42:33 ------------------- 12:42:33 Commited By: **** collab-it+edgex@linuxfoundation.org 12:42:33 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:42:33 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:42:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:42:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:42:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:42:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-647 [Pipeline] echo 12:42:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-647 [Pipeline] echo 12:42:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-647 [Pipeline] echo 12:42:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 695fe9e0ee1311198688f1625238f5743ec542b8 [Pipeline] echo 12:42:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 695fe9e [Pipeline] echo 12:42:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:42:35 provisioning config files... 12:42:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-647@tmp/config13071068044166151640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:42:35 ---> ****-login.sh 12:42:35 nexus3.edgexfoundry.org:10001 12:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:36 Configure a credential helper to remove this warning. See 12:42:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:36 12:42:36 Login Succeeded 12:42:36 nexus3.edgexfoundry.org:10002 12:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:36 Configure a credential helper to remove this warning. See 12:42:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:36 12:42:36 Login Succeeded 12:42:36 nexus3.edgexfoundry.org:10003 12:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:36 Configure a credential helper to remove this warning. See 12:42:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:36 12:42:36 Login Succeeded 12:42:36 nexus3.edgexfoundry.org:10004 12:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:36 Configure a credential helper to remove this warning. See 12:42:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:36 12:42:36 Login Succeeded 12:42:36 ****.io 12:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:37 Configure a credential helper to remove this warning. See 12:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:37 12:42:37 Login Succeeded 12:42:37 ---> ****-login.sh ends [Pipeline] } 12:42:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:42:37 + git rev-list -1 --merges 695fe9e0ee1311198688f1625238f5743ec542b8~1..695fe9e0ee1311198688f1625238f5743ec542b8 [Pipeline] echo 12:42:37 -----------> git rev-list -1 --merges 695fe9e0ee1311198688f1625238f5743ec542b8~1..695fe9e0ee1311198688f1625238f5743ec542b8 695fe9e0ee1311198688f1625238f5743ec542b8 [false] [Pipeline] sh 12:42:38 + git log --format=format:%s -1 695fe9e0ee1311198688f1625238f5743ec542b8 [Pipeline] echo 12:42:38 ========================================================= 12:42:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:42:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:42:38 + git log --format=format:%s -1 695fe9e0ee1311198688f1625238f5743ec542b8 [Pipeline] echo 12:42:38 [semverPrep] GIT_COMMIT: 695fe9e0ee1311198688f1625238f5743ec542b8, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:42:38 [semverPrep] This is not a build commit. [Pipeline] sh 12:42:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:42:39 + grep -v github /etc/ssh/ssh_known_hosts 12:42:39 + [ -e /tmp/ssh_known_hosts ] 12:42:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:42:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:42:39 + sudo tee -a /etc/ssh/ssh_known_hosts 12:42:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:42:39 12:42:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:42:40 0.1.4: Pulling from edgex-devops/py-git-semver 12:42:40 b85a868b505f: Pulling fs layer 12:42:40 e2be974225ed: Pulling fs layer 12:42:40 339a4e72a1f5: Pulling fs layer 12:42:40 988bab9f4d93: Pulling fs layer 12:42:40 1469e6f7b9e6: Pulling fs layer 12:42:40 eaf3925da568: Pulling fs layer 12:42:40 bab4dde63d76: Pulling fs layer 12:42:40 bde34c3a00c8: Pulling fs layer 12:42:40 b352a97aabf1: Pulling fs layer 12:42:40 4872d77fe225: Pulling fs layer 12:42:40 5851b861e8e6: Pulling fs layer 12:42:40 988bab9f4d93: Waiting 12:42:40 1469e6f7b9e6: Waiting 12:42:40 eaf3925da568: Waiting 12:42:40 bab4dde63d76: Waiting 12:42:40 bde34c3a00c8: Waiting 12:42:40 b352a97aabf1: Waiting 12:42:40 5851b861e8e6: Waiting 12:42:40 4872d77fe225: Waiting 12:42:40 e2be974225ed: Download complete 12:42:40 988bab9f4d93: Verifying Checksum 12:42:40 988bab9f4d93: Download complete 12:42:40 1469e6f7b9e6: Verifying Checksum 12:42:40 1469e6f7b9e6: Download complete 12:42:40 eaf3925da568: Download complete 12:42:40 339a4e72a1f5: Verifying Checksum 12:42:40 339a4e72a1f5: Download complete 12:42:40 bde34c3a00c8: Verifying Checksum 12:42:40 bde34c3a00c8: Download complete 12:42:40 b352a97aabf1: Download complete 12:42:40 4872d77fe225: Verifying Checksum 12:42:40 4872d77fe225: Download complete 12:42:40 5851b861e8e6: Download complete 12:42:40 b85a868b505f: Verifying Checksum 12:42:40 b85a868b505f: Download complete 12:42:40 bab4dde63d76: Verifying Checksum 12:42:40 bab4dde63d76: Download complete 12:42:42 b85a868b505f: Pull complete 12:42:42 e2be974225ed: Pull complete 12:42:42 339a4e72a1f5: Pull complete 12:42:42 988bab9f4d93: Pull complete 12:42:42 1469e6f7b9e6: Pull complete 12:42:42 eaf3925da568: Pull complete 12:42:44 bab4dde63d76: Pull complete 12:42:44 bde34c3a00c8: Pull complete 12:42:44 b352a97aabf1: Pull complete 12:42:44 4872d77fe225: Pull complete 12:42:45 5851b861e8e6: Pull complete 12:42:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:42:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:42:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:42:45 prd-ubuntu20.04-docker-8c-8g-5247 does not seem to be running inside a container 12:42:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-647 -v /w/workspace/_app-service-configurable_PR-647:/w/workspace/_app-service-configurable_PR-647:rw,z -v /w/workspace/_app-service-configurable_PR-647@tmp:/w/workspace/_app-service-configurable_PR-647@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:42:50 $ docker top 97ceb01b56574d0eea405017796825e83b3f5844343f82af419a1fe9931f63eb -eo pid,comm 12:42:50 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:42:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:42:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:42:50 [ssh-agent] Looking for ssh-agent implementation... 12:42:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:42:51 $ docker exec 97ceb01b56574d0eea405017796825e83b3f5844343f82af419a1fe9931f63eb ssh-agent 12:42:51 SSH_AUTH_SOCK=/tmp/ssh-bKEi48aNei4O/agent.32 12:42:51 SSH_AGENT_PID=38 12:42:51 Running ssh-add (command line suppressed) 12:42:51 Identity added: /w/workspace/_app-service-configurable_PR-647@tmp/private_key_6731103822937054785.key (/w/workspace/_app-service-configurable_PR-647@tmp/private_key_6731103822937054785.key) 12:42:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:42:51 + git tag --points-at HEAD [Pipeline] } 12:42:51 $ docker exec --env ******** --env ******** 97ceb01b56574d0eea405017796825e83b3f5844343f82af419a1fe9931f63eb ssh-agent -k 12:42:51 unset SSH_AUTH_SOCK; 12:42:51 unset SSH_AGENT_PID; 12:42:51 echo Agent pid 38 killed; 12:42:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:42:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:42:51 [ssh-agent] Looking for ssh-agent implementation... 12:42:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:42:52 $ docker exec 97ceb01b56574d0eea405017796825e83b3f5844343f82af419a1fe9931f63eb ssh-agent 12:42:52 SSH_AUTH_SOCK=/tmp/ssh-au7Naga3MfSt/agent.70 12:42:52 SSH_AGENT_PID=76 12:42:52 Running ssh-add (command line suppressed) 12:42:52 Identity added: /w/workspace/_app-service-configurable_PR-647@tmp/private_key_892854785483782618.key (/w/workspace/_app-service-configurable_PR-647@tmp/private_key_892854785483782618.key) 12:42:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:42:52 + git semver init 12:42:52 2024-03-08 12:42:52,912 [run_init] DEBUG init version:0.0.0 force:False 12:42:52 2024-03-08 12:42:52,913 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-647/.semver 12:42:52 2024-03-08 12:42:52,913 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-647/.semver 12:42:52 2024-03-08 12:42:52,913 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-647/.semver'], cwd=/w/workspace/_app-service-configurable_PR-647, universal_newlines=False, shell=None, istream=None) 12:42:54 2024-03-08 12:42:54,132 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-647/.git/info/exclude 12:42:54 2024-03-08 12:42:54,132 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-647/.semver/PR-647 with force:False 12:42:54 2024-03-08 12:42:54,133 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-647/.semver/PR-647 12:42:54 2024-03-08 12:42:54,137 [execute] INFO git cat-file --batch-check 12:42:54 2024-03-08 12:42:54,138 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-647/.semver, universal_newlines=False, shell=None, istream=) 12:42:54 2024-03-08 12:42:54,145 [execute] INFO git cat-file --batch 12:42:54 2024-03-08 12:42:54,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-647/.semver, universal_newlines=False, shell=None, istream=) 12:42:54 2024-03-08 12:42:54,151 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-647/.semver/PR-647 12:42:54 0.0.0 [Pipeline] } 12:42:54 $ docker exec --env ******** --env ******** 97ceb01b56574d0eea405017796825e83b3f5844343f82af419a1fe9931f63eb ssh-agent -k 12:42:54 unset SSH_AUTH_SOCK; 12:42:54 unset SSH_AGENT_PID; 12:42:54 echo Agent pid 76 killed; 12:42:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:42:55 + git semver [Pipeline] } 12:42:55 $ docker stop --time=1 97ceb01b56574d0eea405017796825e83b3f5844343f82af419a1fe9931f63eb 12:42:56 $ docker rm -f --volumes 97ceb01b56574d0eea405017796825e83b3f5844343f82af419a1fe9931f63eb [Pipeline] // withDockerContainer [Pipeline] sh 12:42:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:42:57 Stashed 1 file(s) [Pipeline] echo 12:42:57 [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:42:58 provisioning config files... 12:42:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-647@tmp/config1387730820962645555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:42:58 ---> ****-login.sh 12:42:58 nexus3.edgexfoundry.org:10001 12:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:58 Configure a credential helper to remove this warning. See 12:42:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:58 12:42:58 Login Succeeded 12:42:58 nexus3.edgexfoundry.org:10002 12:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:58 Configure a credential helper to remove this warning. See 12:42:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:58 12:42:58 Login Succeeded 12:42:58 nexus3.edgexfoundry.org:10003 12:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:58 Configure a credential helper to remove this warning. See 12:42:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:58 12:42:58 Login Succeeded 12:42:58 nexus3.edgexfoundry.org:10004 12:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:58 Configure a credential helper to remove this warning. See 12:42:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:58 12:42:58 Login Succeeded 12:42:58 ****.io 12:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:42:59 Configure a credential helper to remove this warning. See 12:42:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:42:59 12:42:59 Login Succeeded 12:42:59 ---> ****-login.sh ends [Pipeline] } 12:42:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:42:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:42:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:42:59 ========================================================= 12:42:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:42:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:00 + 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:43:00 Sending build context to Docker daemon 8.808MB 12:43:00 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:43:00 Step 2/12 : FROM ${BASE} AS builder 12:43:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:43:00 7264a8db6415: Pulling fs layer 12:43:00 c4d48a809fc2: Pulling fs layer 12:43:00 4f1c88b9dad5: Pulling fs layer 12:43:00 ad3a456e5733: Pulling fs layer 12:43:00 69c7f0334f64: Pulling fs layer 12:43:00 1f1c1a5573a3: Pulling fs layer 12:43:00 ce7588e14bc9: Pulling fs layer 12:43:00 b5e4710f87ac: Pulling fs layer 12:43:00 ad3a456e5733: Waiting 12:43:00 69c7f0334f64: Waiting 12:43:00 ce7588e14bc9: Waiting 12:43:00 b5e4710f87ac: Waiting 12:43:00 c4d48a809fc2: Download complete 12:43:00 ad3a456e5733: Download complete 12:43:00 69c7f0334f64: Download complete 12:43:00 7264a8db6415: Verifying Checksum 12:43:00 7264a8db6415: Download complete 12:43:00 1f1c1a5573a3: Verifying Checksum 12:43:00 1f1c1a5573a3: Download complete 12:43:00 7264a8db6415: Pull complete 12:43:00 b5e4710f87ac: Verifying Checksum 12:43:00 b5e4710f87ac: Download complete 12:43:00 c4d48a809fc2: Pull complete 12:43:00 4f1c88b9dad5: Verifying Checksum 12:43:00 4f1c88b9dad5: Download complete 12:43:01 ce7588e14bc9: Verifying Checksum 12:43:01 ce7588e14bc9: Download complete 12:43:04 4f1c88b9dad5: Pull complete 12:43:04 ad3a456e5733: Pull complete 12:43:04 69c7f0334f64: Pull complete 12:43:04 1f1c1a5573a3: Pull complete 12:43:07 ce7588e14bc9: Pull complete 12:43:07 b5e4710f87ac: Pull complete 12:43:07 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:43:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:43:07 ---> 88b5674ff536 12:43:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:43:13 Still waiting to schedule task 12:43:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:43:15 ---> Running in 6a79dbf1f429 12:43:15 Removing intermediate container 6a79dbf1f429 12:43:15 ---> 1d2b94674193 12:43:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:43:15 ---> Running in f677e24512d2 12:43:15 Removing intermediate container f677e24512d2 12:43:15 ---> 33076cecd7c8 12:43:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:43:15 ---> Running in 8c3181d49895 12:43:15 Removing intermediate container 8c3181d49895 12:43:15 ---> eecac3e93470 12:43:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:43:15 ---> Running in a5ab4995d6f0 12:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:43:16 OK: 264 MiB in 52 packages 12:43:16 Removing intermediate container a5ab4995d6f0 12:43:16 ---> bf4cd85d3e6a 12:43:16 Step 7/12 : WORKDIR /app 12:43:16 ---> Running in cbb50e06b611 12:43:16 Removing intermediate container cbb50e06b611 12:43:16 ---> e9a538d7b0e3 12:43:16 Step 8/12 : COPY go.mod vendor* ./ 12:43:16 ---> 8ffe49513ff0 12:43:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:43:16 ---> Running in 4820b85e896f 12:43:55 Removing intermediate container 4820b85e896f 12:43:55 ---> 403108d78387 12:43:55 Step 10/12 : COPY . . 12:43:55 ---> 83b32b1c51af 12:43:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:43:55 ---> Running in 070e11e09f65 12:43:55 Removing intermediate container 070e11e09f65 12:43:55 ---> b4d9502b96a1 12:43:55 Step 12/12 : RUN $MAKE 12:43:55 ---> Running in e92f5321a547 12:43:55 noop 12:43:55 Removing intermediate container e92f5321a547 12:43:55 ---> 9a00c1d621f8 12:43:55 Successfully built 9a00c1d621f8 12:43:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:56 + docker inspect -f . ci-base-image-x86_64 12:43:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:43:56 prd-ubuntu20.04-docker-8c-8g-5247 does not seem to be running inside a container 12:43:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-647 -v /w/workspace/_app-service-configurable_PR-647:/w/workspace/_app-service-configurable_PR-647:rw,z -v /w/workspace/_app-service-configurable_PR-647@tmp:/w/workspace/_app-service-configurable_PR-647@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:43:56 $ docker top 39390dbcf588404b8ef3a44603b1f5f2988c9f153b510d75718d0534a0516028 -eo pid,comm [Pipeline] { [Pipeline] sh 12:43:57 + go version 12:43:57 go version go1.21.0 linux/amd64 [Pipeline] } 12:43:57 $ docker stop --time=1 39390dbcf588404b8ef3a44603b1f5f2988c9f153b510d75718d0534a0516028 12:43:58 $ docker rm -f --volumes 39390dbcf588404b8ef3a44603b1f5f2988c9f153b510d75718d0534a0516028 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:43:59 + docker inspect -f . ci-base-image-x86_64 12:43:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:43:59 prd-ubuntu20.04-docker-8c-8g-5247 does not seem to be running inside a container 12:43:59 $ 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-647 -v /w/workspace/_app-service-configurable_PR-647:/w/workspace/_app-service-configurable_PR-647:rw,z -v /w/workspace/_app-service-configurable_PR-647@tmp:/w/workspace/_app-service-configurable_PR-647@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:44:00 $ docker top f2177a82fdacd981a0b88c58b8ab3973ccc58b7d00a2b2dd04cdf4c377dd38e0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:44:00 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-647 [Pipeline] fileExists [Pipeline] sh 12:44:00 + make test 12:44:00 go test -race -coverprofile=coverage.out ./... 12:44:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:44:37 go vet ./... 12:44:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:44:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:44:40 ./bin/test-attribution-txt.sh 12:44:40 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:44:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:44:40 $ docker stop --time=1 f2177a82fdacd981a0b88c58b8ab3973ccc58b7d00a2b2dd04cdf4c377dd38e0 12:44:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5248 in /w/workspace/_app-service-configurable_PR-647 12:44:46 $ docker rm -f --volumes f2177a82fdacd981a0b88c58b8ab3973ccc58b7d00a2b2dd04cdf4c377dd38e0 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 12:44:47 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:44:47 Selected Git installation does not exist. Using Default 12:44:47 The recommended git tool is: NONE 12:44:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:44:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:44:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:44:48 + ls -al . 12:44:48 total 184 12:44:48 drwxrwxr-x 7 jenkins jenkins 4096 Mar 8 12:44 . 12:44:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 12:42 .. 12:44:48 -rw-rw-r-- 1 jenkins jenkins 119 Mar 8 12:42 .dockerignore 12:44:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 12:44 .git 12:44:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 12:42 .github 12:44:48 -rw-rw-r-- 1 jenkins jenkins 106 Mar 8 12:42 .gitignore 12:44:48 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 12:42 .golangci.yml 12:44:48 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 12:42 .semver 12:44:48 -rw-rw-r-- 1 jenkins jenkins 10394 Mar 8 12:42 Attribution.txt 12:44:48 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 8 12:42 CHANGELOG.md 12:44:48 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 8 12:42 Dockerfile 12:44:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 12:42 GOVERNANCE.md 12:44:48 -rw-rw-r-- 1 jenkins jenkins 666 Mar 8 12:42 Jenkinsfile 12:44:48 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 8 12:42 LICENSE 12:44:48 -rw-rw-r-- 1 jenkins jenkins 618 Mar 8 12:42 OWNERS.md 12:44:48 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 8 12:42 README.md 12:44:48 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 12:42 VERSION 12:44:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 12:42 bin 12:44:48 -rw-r--r-- 1 jenkins jenkins 13 Mar 8 12:44 coverage.out 12:44:48 -rw-rw-r-- 1 jenkins jenkins 3776 Mar 8 12:42 go.mod 12:44:48 -rw-rw-r-- 1 jenkins jenkins 36129 Mar 8 12:42 go.sum 12:44:48 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 8 12:42 main.go 12:44:48 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 8 12:42 makefile 12:44:48 drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 12:42 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:49 + 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=695fe9e0ee1311198688f1625238f5743ec542b8 --label arch=amd64 --label version=0.0.0 . 12:44:49 Sending build context to Docker daemon 8.809MB 12:44:49 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:44:49 Step 2/27 : FROM ${BASE} AS builder 12:44:49 ---> 9a00c1d621f8 12:44:49 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:44:49 ---> Running in c3873fff020a 12:44:49 Removing intermediate container c3873fff020a 12:44:49 ---> 452802d305bc 12:44:49 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:44:49 ---> Running in 8ec1deeec533 12:44:49 Removing intermediate container 8ec1deeec533 12:44:49 ---> 53f84154b3c5 12:44:49 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:44:49 ---> Running in 25aa64346ebd 12:44:49 Removing intermediate container 25aa64346ebd 12:44:49 ---> 07b75dc32f25 12:44:49 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:44:49 ---> Running in 1c5d552b53c2 12:44:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:44:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:44:50 OK: 264 MiB in 52 packages 12:44:50 Removing intermediate container 1c5d552b53c2 12:44:50 ---> 1ebe826a3212 12:44:50 Step 7/27 : WORKDIR /app 12:44:50 ---> Running in 5d229951099e 12:44:50 Removing intermediate container 5d229951099e 12:44:50 ---> 3fdb1a9ad0f0 12:44:50 Step 8/27 : COPY go.mod vendor* ./ 12:44:50 ---> 7692f82e6782 12:44:50 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:44:50 ---> Running in 4579fdd75427 12:44:51 Removing intermediate container 4579fdd75427 12:44:51 ---> 0fedee60f77b 12:44:51 Step 10/27 : COPY . . 12:44:51 ---> 47da548e9f84 12:44:51 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:44:51 ---> Running in 2d9c2e0e6a7e 12:44:52 using credential edgex-jenkins-ssh 12:44:52 Cloning the remote Git repository 12:44:52 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:44:52 Removing intermediate container 2d9c2e0e6a7e 12:44:52 ---> a3499918db57 12:44:52 Step 12/27 : RUN $MAKE 12:44:52 ---> Running in aad49d3b0bc4 12:44:52 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.25 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:44:52 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:44:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:44:52 > git --version # timeout=10 12:44:52 > git --version # 'git version 2.25.1' 12:44:52 using GIT_SSH to set credentials SSH Credentials for GitHub 12:44:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:44:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:44:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:44:55 Merging remotes/origin/main commit de2673118ef797f3fa80278e5e2907ec493f0d91 into PR head commit 695fe9e0ee1311198688f1625238f5743ec542b8 12:44:55 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:44:55 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:44:55 using GIT_SSH to set credentials SSH Credentials for GitHub 12:44:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/647/head:refs/remotes/origin/PR-647 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:44:56 > git config core.sparsecheckout # timeout=10 12:44:56 Merge succeeded, producing 695fe9e0ee1311198688f1625238f5743ec542b8 12:44:56 Checking out Revision 695fe9e0ee1311198688f1625238f5743ec542b8 (PR-647) 12:44:56 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:44:56 > git --version # timeout=10 12:44:56 > git --version # 'git version 2.25.1' 12:44:56 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 12:44:56 > git checkout -f 695fe9e0ee1311198688f1625238f5743ec542b8 # timeout=10 12:44:56 > git remote # timeout=10 12:44:56 > git config --get remote.origin.url # timeout=10 12:44:56 using GIT_SSH to set credentials SSH Credentials for GitHub 12:44:56 > git merge de2673118ef797f3fa80278e5e2907ec493f0d91 # timeout=10 12:44:56 > git rev-parse HEAD^{commit} # timeout=10 12:44:56 > git config core.sparsecheckout # timeout=10 12:44:56 > git checkout -f 695fe9e0ee1311198688f1625238f5743ec542b8 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:44:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:44:58 % Total % Received % Xferd Average Speed Time Time Time Current 12:44:58 Dload Upload Total Spent Left Speed 12:44:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh 12:44:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:44:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:44:58 + sudo tee /etc/docker/daemon.new 12:44:58 { 12:44:58 "registry-mirrors": [ 12:44:58 "https://nexus3.edgexfoundry.org:10001" 12:44:58 ], 12:44:58 "bip": "10.250.0.254/24", 12:44:58 "hosts": [ 12:44:58 "tcp://0.0.0.0:5555", 12:44:58 "unix:///var/run/docker.sock" 12:44:58 ], 12:44:58 "mtu": 1458, 12:44:58 "selinux-enabled": true, 12:44:58 "seccomp-profile": "/etc/docker/seccomp.json" 12:44:58 } [Pipeline] sh 12:44:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:44:59 + sudo service docker restart 12:45:14 Removing intermediate container aad49d3b0bc4 12:45:14 ---> c5008f6b2970 12:45:14 Step 13/27 : FROM alpine:3.18 12:45:14 3.18: Pulling from library/alpine 12:45:14 619be1103602: Pulling fs layer 12:45:14 619be1103602: Verifying Checksum 12:45:14 619be1103602: Download complete 12:45:14 619be1103602: Pull complete 12:45:14 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:45:14 Status: Downloaded newer image for alpine:3.18 12:45:14 ---> d3782b16ccc9 12:45:14 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:45:14 ---> Running in 035280a0cb4f 12:45:14 Removing intermediate container 035280a0cb4f 12:45:14 ---> 6287734c5c6d 12:45:14 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:45:14 ---> Running in 41fd09939164 12:45:14 Removing intermediate container 41fd09939164 12:45:14 ---> 19ad587bec19 12:45:14 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:45:14 ---> Running in f4a5d63cb943 12:45:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:45:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:45:15 (1/2) Installing ca-certificates (20230506-r0) 12:45:15 (2/2) Installing dumb-init (1.2.5-r2) 12:45:15 Executing busybox-1.36.1-r5.trigger 12:45:15 Executing ca-certificates-20230506-r0.trigger 12:45:15 OK: 8 MiB in 17 packages 12:45:16 Removing intermediate container f4a5d63cb943 12:45:16 ---> ab64fbb86400 12:45:16 Step 17/27 : RUN apk --no-cache upgrade 12:45:16 ---> Running in 8a6922d94121 12:45:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:45:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:45:16 OK: 8 MiB in 17 packages 12:45:16 Removing intermediate container 8a6922d94121 12:45:16 ---> 194e05409fdd 12:45:16 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:45:17 ---> b581693a0c50 12:45:17 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:45:17 ---> 4e69659f21f9 12:45:17 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:45:17 ---> cbc75881f98c 12:45:17 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:45:17 provisioning config files... 12:45:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7694574739185190964tmp 12:45:17 ---> 2c96fd401dfe 12:45:17 Step 22/27 : EXPOSE 48095 12:45:17 ---> Running in c86fcfd33085 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:45:18 Removing intermediate container c86fcfd33085 12:45:18 ---> 04838a99a5ae 12:45:18 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:45:18 ---> Running in 3ac04d7c981e 12:45:18 Removing intermediate container 3ac04d7c981e 12:45:18 ---> 3d8e2b17ba94 12:45:18 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:45:18 ---> Running in fc77988c98e9 12:45:18 Removing intermediate container fc77988c98e9 12:45:18 ---> 076c2956e118 12:45:18 Step 25/27 : LABEL arch=amd64 12:45:18 ---> Running in 82289776c730 12:45:18 Removing intermediate container 82289776c730 12:45:18 ---> b0b87284d43b 12:45:18 Step 26/27 : LABEL git_sha=695fe9e0ee1311198688f1625238f5743ec542b8 12:45:18 ---> Running in c308a27c5e49 12:45:18 Removing intermediate container c308a27c5e49 12:45:18 ---> deac9f9ea35e 12:45:18 Step 27/27 : LABEL version=0.0.0 12:45:18 ---> Running in 0e5e462930ab 12:45:18 ---> ****-login.sh 12:45:18 nexus3.edgexfoundry.org:10001 12:45:18 Removing intermediate container 0e5e462930ab 12:45:18 ---> 95d3c72c73fb 12:45:18 [Warning] One or more build-args [ARCH] were not consumed 12:45:18 Successfully built 95d3c72c73fb 12:45:18 Successfully tagged app-service-configurable:latest [Pipeline] } 12:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage 12:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:19 Configure a credential helper to remove this warning. See 12:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:19 12:45:19 Login Succeeded 12:45:19 nexus3.edgexfoundry.org:10002 [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage 12:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage 12:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:19 Configure a credential helper to remove this warning. See 12:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:19 12:45:19 Login Succeeded 12:45:19 nexus3.edgexfoundry.org:10003 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:19 Configure a credential helper to remove this warning. See 12:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:19 12:45:19 Login Succeeded 12:45:19 nexus3.edgexfoundry.org:10004 12:45:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:45:20 12:45:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:20 Configure a credential helper to remove this warning. See 12:45:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:20 12:45:20 Login Succeeded 12:45:20 ****.io [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:45:20 latest: Pulling from edgex-lftools-log-publisher 12:45:20 5eb5b503b376: Pulling fs layer 12:45:20 5c69ac0246d0: Pulling fs layer 12:45:20 ec43610c2a17: Pulling fs layer 12:45:20 3a2ae6a8a46f: Pulling fs layer 12:45:20 33b1e0a273af: Pulling fs layer 12:45:20 5d3b04190fa2: Pulling fs layer 12:45:20 2f39f015ded8: Pulling fs layer 12:45:20 3a2ae6a8a46f: Waiting 12:45:20 33b1e0a273af: Waiting 12:45:20 5d3b04190fa2: Waiting 12:45:20 2f39f015ded8: Waiting 12:45:20 5c69ac0246d0: Download complete 12:45:20 3a2ae6a8a46f: Verifying Checksum 12:45:20 3a2ae6a8a46f: Download complete 12:45:20 33b1e0a273af: Verifying Checksum 12:45:20 33b1e0a273af: Download complete 12:45:20 5d3b04190fa2: Download complete 12:45:20 ec43610c2a17: Verifying Checksum 12:45:20 ec43610c2a17: Download complete 12:45:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:20 Configure a credential helper to remove this warning. See 12:45:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:20 12:45:20 Login Succeeded 12:45:20 ---> ****-login.sh ends [Pipeline] } 12:45:20 Deleting 1 temporary files [Pipeline] // configFileProvider 12:45:20 5eb5b503b376: Verifying Checksum 12:45:20 5eb5b503b376: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:45:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:45:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 12:45:21 2f39f015ded8: Download complete [Pipeline] echo 12:45:21 ========================================================= 12:45:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:45:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:21 5eb5b503b376: Pull complete 12:45:21 5c69ac0246d0: Pull complete 12:45:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:45:22 Sending build context to Docker daemon 160.8kB 12:45:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:45:22 Step 2/12 : FROM ${BASE} AS builder 12:45:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:45:22 9fda8d8052c6: Pulling fs layer 12:45:22 5d54e960e981: Pulling fs layer 12:45:22 c4a7e357bf2a: Pulling fs layer 12:45:22 f0e02332f6b5: Pulling fs layer 12:45:22 872ee5b61b7b: Pulling fs layer 12:45:22 0c6a40ed1a82: Pulling fs layer 12:45:22 94ae7d8d031c: Pulling fs layer 12:45:22 f0e02332f6b5: Waiting 12:45:22 872ee5b61b7b: Waiting 12:45:22 0c6a40ed1a82: Waiting 12:45:22 94ae7d8d031c: Waiting 12:45:22 ec43610c2a17: Pull complete 12:45:22 3a2ae6a8a46f: Pull complete 12:45:22 5d54e960e981: Verifying Checksum 12:45:22 5d54e960e981: Download complete 12:45:22 f0e02332f6b5: Verifying Checksum 12:45:22 f0e02332f6b5: Download complete 12:45:22 872ee5b61b7b: Verifying Checksum 12:45:22 872ee5b61b7b: Download complete 12:45:22 9fda8d8052c6: Verifying Checksum 12:45:22 9fda8d8052c6: Download complete 12:45:22 33b1e0a273af: Pull complete 12:45:22 5d3b04190fa2: Pull complete 12:45:22 94ae7d8d031c: Verifying Checksum 12:45:22 94ae7d8d031c: Download complete 12:45:23 9fda8d8052c6: Pull complete 12:45:24 5d54e960e981: Pull complete 12:45:24 c4a7e357bf2a: Download complete 12:45:25 0c6a40ed1a82: Verifying Checksum 12:45:25 0c6a40ed1a82: Download complete 12:45:26 2f39f015ded8: Pull complete 12:45:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:45:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:27 prd-ubuntu20.04-docker-8c-8g-5247 does not seem to be running inside a container 12:45:27 $ 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-647 -v /w/workspace/_app-service-configurable_PR-647:/w/workspace/_app-service-configurable_PR-647:rw,z -v /w/workspace/_app-service-configurable_PR-647@tmp:/w/workspace/_app-service-configurable_PR-647@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:45:32 $ docker top d7ef363894c2e6995f72a0a1144dce9ba3a9af1bfb93d58c8e118b0253003f6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:45:33 ---> job-cost.sh 12:45:33 lf-activate-venv: SKIPPING 12:45:33 INFO: No Stack... 12:45:33 INFO: Retrieving Pricing Info for: v3-standard-8 12:45:33 INFO: Archiving Costs [Pipeline] sh 12:45:34 + cat /w/workspace/_app-service-configurable_PR-647/archives/cost.csv 12:45:34 + cut -d, -f6 [Pipeline] lock 12:45:34 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-647-1-stack-cost] 12:45:34 Resource [jenkins-edgexfoundry-app-service-configurable-PR-647-1-stack-cost] did not exist. Created. 12:45:34 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-647-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:45:34 + echo total: 0.2199999988079071 [Pipeline] stash 12:45:34 Stashed 1 file(s) [Pipeline] } 12:45:34 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-647-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:45:35 $ docker stop --time=1 d7ef363894c2e6995f72a0a1144dce9ba3a9af1bfb93d58c8e118b0253003f6f 12:45:36 $ docker rm -f --volumes d7ef363894c2e6995f72a0a1144dce9ba3a9af1bfb93d58c8e118b0253003f6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:45:37 c4a7e357bf2a: Pull complete 12:45:37 f0e02332f6b5: Pull complete 12:45:37 872ee5b61b7b: Pull complete 12:45:45 0c6a40ed1a82: Pull complete 12:45:47 94ae7d8d031c: Pull complete 12:45:47 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:45:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:45:47 ---> 86de565de09d 12:45:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:45:49 ---> Running in 143daa4e33ca 12:45:49 Removing intermediate container 143daa4e33ca 12:45:49 ---> b59c84a90872 12:45:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:45:49 ---> Running in efc3d0920fc0 12:45:49 Removing intermediate container efc3d0920fc0 12:45:49 ---> 5d2aec667164 12:45:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:45:50 ---> Running in a72146a58210 12:45:50 Removing intermediate container a72146a58210 12:45:50 ---> d19c2a48b1e6 12:45:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:45:50 ---> Running in 8968cedafbe2 12:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:45:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:45:52 OK: 266 MiB in 52 packages 12:45:53 Removing intermediate container 8968cedafbe2 12:45:53 ---> 1a015e1693a8 12:45:53 Step 7/12 : WORKDIR /app 12:45:53 ---> Running in 83c531419d7c 12:45:54 Removing intermediate container 83c531419d7c 12:45:54 ---> 7fbe4f904836 12:45:54 Step 8/12 : COPY go.mod vendor* ./ 12:45:54 ---> 0204054ff5d2 12:45:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:45:54 ---> Running in 9fa9412f61ac 12:46:51 Removing intermediate container 9fa9412f61ac 12:46:51 ---> eb724b96ea6e 12:46:51 Step 10/12 : COPY . . 12:46:51 ---> 009b5cd03f14 12:46:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:46:51 ---> Running in 3f29ddc6fe55 12:46:51 Removing intermediate container 3f29ddc6fe55 12:46:51 ---> 2053bc061d06 12:46:51 Step 12/12 : RUN $MAKE 12:46:51 ---> Running in 2fb65e0b99ad 12:46:52 noop 12:46:53 Removing intermediate container 2fb65e0b99ad 12:46:53 ---> ff322d173be2 12:46:53 Successfully built ff322d173be2 12:46:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:54 + docker inspect -f . ci-base-image-arm64 12:46:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:46:56 prd-ubuntu20.04-docker-arm64-4c-16g-5248 does not seem to be running inside a container 12:46:56 $ 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:46:57 $ docker top 542a15a71858392fe50b887d0251831659293df02edc041d057ccd801d93fcfb -eo pid,comm [Pipeline] { [Pipeline] sh 12:46:58 + go version 12:46:58 go version go1.21.0 linux/arm64 [Pipeline] } 12:46:58 $ docker stop --time=1 542a15a71858392fe50b887d0251831659293df02edc041d057ccd801d93fcfb 12:47:00 $ docker rm -f --volumes 542a15a71858392fe50b887d0251831659293df02edc041d057ccd801d93fcfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:01 + docker inspect -f . ci-base-image-arm64 12:47:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:47:01 prd-ubuntu20.04-docker-arm64-4c-16g-5248 does not seem to be running inside a container 12:47:01 $ 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:47:03 $ docker top 36af802696b9196be2802da9b9d75a997885fc1bbd7686786acce4767b9c0c75 -eo pid,comm [Pipeline] { [Pipeline] sh 12:47:03 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:47:04 + make test 12:47:04 go test -race -coverprofile=coverage.out ./... 12:49:12 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:49:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:49:12 go vet ./... 12:50:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:50:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:50:49 ./bin/test-attribution-txt.sh 12:50:49 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:50:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:50:50 $ docker stop --time=1 36af802696b9196be2802da9b9d75a997885fc1bbd7686786acce4767b9c0c75 12:50:51 $ docker rm -f --volumes 36af802696b9196be2802da9b9d75a997885fc1bbd7686786acce4767b9c0c75 [Pipeline] // withDockerContainer [Pipeline] sh 12:50:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:50:53 Warning: overwriting stash ‘coverage-report’ 12:50:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:50:55 + ls -al . 12:50:55 total 180 12:50:55 drwxrwxr-x 6 jenkins jenkins 4096 Mar 8 12:47 . 12:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 12:44 .. 12:50:55 -rw-rw-r-- 1 jenkins jenkins 119 Mar 8 12:44 .dockerignore 12:50:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 12:44 .git 12:50:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 12:44 .github 12:50:55 -rw-rw-r-- 1 jenkins jenkins 106 Mar 8 12:44 .gitignore 12:50:55 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 12:44 .golangci.yml 12:50:55 -rw-rw-r-- 1 jenkins jenkins 10394 Mar 8 12:44 Attribution.txt 12:50:55 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 8 12:44 CHANGELOG.md 12:50:55 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 8 12:44 Dockerfile 12:50:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 12:44 GOVERNANCE.md 12:50:55 -rw-rw-r-- 1 jenkins jenkins 666 Mar 8 12:44 Jenkinsfile 12:50:55 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 8 12:44 LICENSE 12:50:55 -rw-rw-r-- 1 jenkins jenkins 618 Mar 8 12:44 OWNERS.md 12:50:55 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 8 12:44 README.md 12:50:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 12:42 VERSION 12:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 12:44 bin 12:50:55 -rw-r--r-- 1 jenkins jenkins 13 Mar 8 12:47 coverage.out 12:50:55 -rw-rw-r-- 1 jenkins jenkins 3776 Mar 8 12:44 go.mod 12:50:55 -rw-rw-r-- 1 jenkins jenkins 36129 Mar 8 12:44 go.sum 12:50:55 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 8 12:44 main.go 12:50:55 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 8 12:44 makefile 12:50:55 drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 12:44 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:55 + 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=695fe9e0ee1311198688f1625238f5743ec542b8 --label arch=arm64 --label version=0.0.0 . 12:50:55 Sending build context to Docker daemon 161.8kB 12:50:55 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:50:55 Step 2/27 : FROM ${BASE} AS builder 12:50:55 ---> ff322d173be2 12:50:55 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:50:55 ---> Running in cd81ca3c2297 12:50:56 Removing intermediate container cd81ca3c2297 12:50:56 ---> d5d5f899ca45 12:50:56 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:50:56 ---> Running in 3a4122f677c1 12:50:56 Removing intermediate container 3a4122f677c1 12:50:56 ---> 7c621803efb6 12:50:56 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:50:56 ---> Running in bcd55375599f 12:50:57 Removing intermediate container bcd55375599f 12:50:57 ---> 874d9c890cdf 12:50:57 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:50:57 ---> Running in d1ddc381ce7e 12:50:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:50:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:50:59 OK: 266 MiB in 52 packages 12:51:00 Removing intermediate container d1ddc381ce7e 12:51:00 ---> 941311ef596e 12:51:00 Step 7/27 : WORKDIR /app 12:51:00 ---> Running in d1059d4918e6 12:51:00 Removing intermediate container d1059d4918e6 12:51:00 ---> 37269d414668 12:51:00 Step 8/27 : COPY go.mod vendor* ./ 12:51:01 ---> 291ad2dcf8f7 12:51:01 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:51:01 ---> Running in 0f1802b22737 12:51:03 Removing intermediate container 0f1802b22737 12:51:03 ---> 3c45fb236f0e 12:51:03 Step 10/27 : COPY . . 12:51:03 ---> 6176ddbafab8 12:51:03 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:51:03 ---> Running in d35f256021b6 12:51:04 Removing intermediate container d35f256021b6 12:51:04 ---> 5cc82428cf60 12:51:04 Step 12/27 : RUN $MAKE 12:51:04 ---> Running in 783e64ecc677 12:51:05 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.25 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:52:42 Removing intermediate container 783e64ecc677 12:52:42 ---> 3ccc8f2e24e2 12:52:42 Step 13/27 : FROM alpine:3.18 12:52:42 3.18: Pulling from library/alpine 12:52:42 c6b39de5b339: Pulling fs layer 12:52:43 c6b39de5b339: Verifying Checksum 12:52:43 c6b39de5b339: Download complete 12:52:43 c6b39de5b339: Pull complete 12:52:43 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:52:43 Status: Downloaded newer image for alpine:3.18 12:52:43 ---> 33abbf032149 12:52:43 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:52:43 ---> Running in 6eaf60d2b01b 12:52:44 Removing intermediate container 6eaf60d2b01b 12:52:44 ---> 2dc0d2d1a727 12:52:44 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:52:44 ---> Running in 2024c31b4cbb 12:52:44 Removing intermediate container 2024c31b4cbb 12:52:44 ---> 9693c17b4cb6 12:52:44 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:52:44 ---> Running in 3ce7e71f0f24 12:52:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:52:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:52:47 (1/2) Installing ca-certificates (20230506-r0) 12:52:47 (2/2) Installing dumb-init (1.2.5-r2) 12:52:47 Executing busybox-1.36.1-r5.trigger 12:52:47 Executing ca-certificates-20230506-r0.trigger 12:52:47 OK: 9 MiB in 17 packages 12:52:48 Removing intermediate container 3ce7e71f0f24 12:52:48 ---> a44307db11cf 12:52:48 Step 17/27 : RUN apk --no-cache upgrade 12:52:48 ---> Running in a01267995110 12:52:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:52:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:52:50 OK: 9 MiB in 17 packages 12:52:51 Removing intermediate container a01267995110 12:52:51 ---> 4c32d38369c1 12:52:51 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:52:52 ---> 2909a329055f 12:52:52 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:52:52 ---> 83a0642d499d 12:52:52 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:52:52 ---> cb99034b6e27 12:52:52 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:52:54 ---> 304e2c75aa7f 12:52:54 Step 22/27 : EXPOSE 48095 12:52:54 ---> Running in 88b96ac3945a 12:52:54 Removing intermediate container 88b96ac3945a 12:52:54 ---> e98b1c8c4d31 12:52:54 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:52:54 ---> Running in 3b3f00e4ae28 12:52:54 Removing intermediate container 3b3f00e4ae28 12:52:54 ---> 157c462a8df1 12:52:54 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:52:54 ---> Running in 6f8b14cace8d 12:52:55 Removing intermediate container 6f8b14cace8d 12:52:55 ---> db97b0a6463a 12:52:55 Step 25/27 : LABEL arch=arm64 12:52:55 ---> Running in 38eb704cb9fe 12:52:55 Removing intermediate container 38eb704cb9fe 12:52:55 ---> 9bd410ed81dc 12:52:55 Step 26/27 : LABEL git_sha=695fe9e0ee1311198688f1625238f5743ec542b8 12:52:55 ---> Running in 18950f933b63 12:52:55 Removing intermediate container 18950f933b63 12:52:55 ---> 4def9ecab5b4 12:52:55 Step 27/27 : LABEL version=0.0.0 12:52:55 ---> Running in fa890bd384b9 12:52:56 Removing intermediate container fa890bd384b9 12:52:56 ---> 61ebbf3a6628 12:52:56 [Warning] One or more build-args [ARCH] were not consumed 12:52:56 Successfully built 61ebbf3a6628 12:52:56 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:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:52:57 12:52:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:52:58 arm64: Pulling from edgex-lftools-log-publisher 12:52:58 8998bd30e6a1: Pulling fs layer 12:52:58 04944245beec: Pulling fs layer 12:52:58 699f458cf7ca: Pulling fs layer 12:52:58 765212b225bb: Pulling fs layer 12:52:58 f23df028b6ca: Pulling fs layer 12:52:58 d65c8cfc05b1: Pulling fs layer 12:52:58 2437ff75d9bd: Pulling fs layer 12:52:58 765212b225bb: Waiting 12:52:58 f23df028b6ca: Waiting 12:52:58 d65c8cfc05b1: Waiting 12:52:58 2437ff75d9bd: Waiting 12:52:58 04944245beec: Verifying Checksum 12:52:58 04944245beec: Download complete 12:52:58 765212b225bb: Verifying Checksum 12:52:58 765212b225bb: Download complete 12:52:58 f23df028b6ca: Download complete 12:52:58 d65c8cfc05b1: Verifying Checksum 12:52:58 d65c8cfc05b1: Download complete 12:52:58 699f458cf7ca: Verifying Checksum 12:52:58 699f458cf7ca: Download complete 12:52:59 8998bd30e6a1: Verifying Checksum 12:52:59 8998bd30e6a1: Download complete 12:53:01 2437ff75d9bd: Verifying Checksum 12:53:01 2437ff75d9bd: Download complete 12:53:04 8998bd30e6a1: Pull complete 12:53:04 04944245beec: Pull complete 12:53:05 699f458cf7ca: Pull complete 12:53:06 765212b225bb: Pull complete 12:53:06 f23df028b6ca: Pull complete 12:53:06 d65c8cfc05b1: Pull complete 12:53:25 2437ff75d9bd: Pull complete 12:53:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:53:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:25 prd-ubuntu20.04-docker-arm64-4c-16g-5248 does not seem to be running inside a container 12:53:25 $ 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:53:28 $ docker top 97d0e1a80f762f0b5acb36b66c767253a0edee6e6901962eb9da2089b56c655c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:29 ---> job-cost.sh 12:53:29 lf-activate-venv: SKIPPING 12:53:29 INFO: No Stack... 12:53:30 INFO: Retrieving Pricing Info for: v3-standard-4 12:53:30 INFO: Archiving Costs [Pipeline] sh 12:53:30 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:53:30 + cut -d, -f6 [Pipeline] lock 12:53:31 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-647-1-stack-cost] 12:53:31 Resource [jenkins-edgexfoundry-app-service-configurable-PR-647-1-stack-cost] did not exist. Created. 12:53:31 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-647-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:53:32 /w/workspace/app-service-configurable/1@tmp/durable-b0def1ff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:53:32 + echo total: 0.10999999940395355 [Pipeline] stash 12:53:32 Warning: overwriting stash ‘stack-cost’ 12:53:32 Stashed 1 file(s) [Pipeline] } 12:53:32 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-647-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:53:32 $ docker stop --time=1 97d0e1a80f762f0b5acb36b66c767253a0edee6e6901962eb9da2089b56c655c 12:53:34 $ docker rm -f --volumes 97d0e1a80f762f0b5acb36b66c767253a0edee6e6901962eb9da2089b56c655c [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:53:36 provisioning config files... 12:53:36 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-647@tmp/config12052740699805286882tmp [Pipeline] { [Pipeline] sh 12:53:36 + set +x 12:53:36 + bash -s -- 12:53:36 + curl -s https://codecov.io/bash 12:53:37 12:53:37 _____ _ 12:53:37 / ____| | | 12:53:37 | | ___ __| | ___ ___ _____ __ 12:53:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:53:37 | |___| (_) | (_| | __/ (_| (_) \ V / 12:53:37 \_____\___/ \__,_|\___|\___\___/ \_/ 12:53:37 Bash-1.0.6 12:53:37 12:53:37 12:53:37 ==> git version 2.25.1 found 12:53:37 ==> 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:53:37 Release-Date: 2020-01-08 12:53:37 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:53:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:53:37 ==> Jenkins CI detected. 12:53:37 current dir:  /w/workspace/_app-service-configurable_PR-647 12:53:37 project root: . 12:53:37 --> token set from env 12:53:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:53:37 ==> Running gcov in . (disable via -X gcov) 12:53:37 ==> Python coveragepy not found 12:53:37 ==> Searching for coverage reports in: 12:53:37 + . 12:53:37 -> Found 1 reports 12:53:37 ==> Detecting git/mercurial file structure 12:53:37 ==> Reading reports 12:53:37 + ./coverage.out bytes=13 12:53:37 ==> Appending adjustments 12:53:37 https://docs.codecov.io/docs/fixing-reports 12:53:37 + Found adjustments 12:53:37 ==> Gzipping contents 12:53:37 4.0K /tmp/codecov.5FNMhL.gz 12:53:37 ==> Uploading reports 12:53:37 url: https://codecov.io 12:53:37 query: branch=PR-647&commit=695fe9e0ee1311198688f1625238f5743ec542b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-647%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=647&job=&cmd_args= 12:53:37 -> Pinging Codecov 12:53:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-647&commit=695fe9e0ee1311198688f1625238f5743ec542b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-647%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=647&job=&cmd_args= 12:53:37 -> Uploading to 12:53:37 https://storage.googleapis.com/codecov/v4/raw/2024-03-08/A97CA9966030D2A3747ED39772930CCE/695fe9e0ee1311198688f1625238f5743ec542b8/9890b490-900c-47de-943f-2a79c16b108f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240308T125337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc18938e6a52965298cd33ce91a7b928102d2e6869516d28fae1b15d6312bcef 12:53:37 % Total % Received % Xferd Average Speed Time Time Time Current 12:53:37 Dload Upload Total Spent Left Speed 12:53:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 1073 --:--:-- --:--:-- --:--:-- 1068 100 234 0 0 100 234 0 815 --:--:-- --:--:-- --:--:-- 812 12:53:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/695fe9e0ee1311198688f1625238f5743ec542b8 [Pipeline] } 12:53:37 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:53:41 + [ -d /w/workspace/_app-service-configurable_PR-647/archives ] 12:53:41 + ls -al /w/workspace/_app-service-configurable_PR-647/archives 12:53:41 total 16 12:53:41 drwxr-xr-x 3 root root 4096 Mar 8 12:45 . 12:53:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 12:45 .. 12:53:41 drwxr-xr-x 2 root root 4096 Mar 8 12:45 cost 12:53:41 -rw-r--r-- 1 root root 96 Mar 8 12:45 cost.csv 12:53:41 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-647/archives 12:53:41 + ls -al /w/workspace/_app-service-configurable_PR-647/archives 12:53:41 total 16 12:53:41 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 12:45 . 12:53:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 12:45 .. 12:53:41 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 12:45 cost 12:53:41 -rw-r--r-- 1 jenkins jenkins 96 Mar 8 12:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:53:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:53:42 ---> package-listing.sh 12:53:42 ++ facter osfamily 12:53:42 ++ tr '[:upper:]' '[:lower:]' 12:53:43 + OS_FAMILY=debian 12:53:43 + workspace=/w/workspace/_app-service-configurable_PR-647 12:53:43 + START_PACKAGES=/tmp/packages_start.txt 12:53:43 + END_PACKAGES=/tmp/packages_end.txt 12:53:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:53:43 + PACKAGES=/tmp/packages_start.txt 12:53:43 + '[' /w/workspace/_app-service-configurable_PR-647 ']' 12:53:43 + PACKAGES=/tmp/packages_end.txt 12:53:43 + case "${OS_FAMILY}" in 12:53:43 + dpkg -l 12:53:43 + grep '^ii' 12:53:43 + '[' -f /tmp/packages_start.txt ']' 12:53:43 + '[' -f /tmp/packages_end.txt ']' 12:53:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:53:43 + '[' /w/workspace/_app-service-configurable_PR-647 ']' 12:53:43 + mkdir -p /w/workspace/_app-service-configurable_PR-647/archives/ 12:53:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-647/archives/ [Pipeline] echo 12:53:43 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-647/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:53:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:44 prd-ubuntu20.04-docker-8c-8g-5247 does not seem to be running inside a container 12:53:44 $ 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-647/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-647 -v /w/workspace/_app-service-configurable_PR-647:/w/workspace/_app-service-configurable_PR-647:rw,z -v /w/workspace/_app-service-configurable_PR-647@tmp:/w/workspace/_app-service-configurable_PR-647@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:53:44 $ docker top 27da0f3703a0ab6aa9298aad7a0d00863667d1972832c747d6a5dbd3c350a3ce -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:44 + touch /tmp/pre-build-complete [Pipeline] sh 12:53:45 + mkdir -p /var/log/sysstat [Pipeline] sh 12:53:45 + ls /var/log/sa-host 12:53:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:53:45 provisioning config files... 12:53:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-647@tmp/config11258443241275232151tmp [Pipeline] { [Pipeline] echo 12:53:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:53:46 ---> create-netrc.sh [Pipeline] } 12:53:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:53:46 ---> python-tools-install.sh [Pipeline] echo 12:53:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:53:47 ---> sudo-logs.sh 12:53:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:53:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:53:47 ---> job-cost.sh 12:53:47 lf-activate-venv: SKIPPING 12:53:47 DEBUG: total: 0.2199999988079071 12:53:47 INFO: Retrieving Stack Cost... 12:53:48 INFO: Retrieving Pricing Info for: v3-standard-8 12:53:48 INFO: Archiving Costs [Pipeline] echo 12:53:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:53:48 ---> logs-deploy.sh 12:53:48 lf-activate-venv: SKIPPING 12:53:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-647/1 12:53:48 INFO: archiving workspace using pattern(s): 12:53:49 Archives upload complete. 12:53:49 INFO: archiving logs to Nexus