Pull request #621 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9f7357f211828be3f793f9ab6fe99c15d416cde5+b279e99bc72aab90b799f17157d7f2e7dfbc53e7 (36019bdb6b45ee7e0944f9524808a587d4442852) 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-ssh3395282238715679866.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh12125461707658792021.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-621/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-621/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16677246938522666559.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-621/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14672123009280614244.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh11101738829462672744.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-621/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-621/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13535223717791403792.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16925 in /w/workspace/_app-service-configurable_PR-621 [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-621 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b279e99bc72aab90b799f17157d7f2e7dfbc53e7 into PR head commit 9f7357f211828be3f793f9ab6fe99c15d416cde5 Merge succeeded, producing 9f7357f211828be3f793f9ab6fe99c15d416cde5 Checking out Revision 9f7357f211828be3f793f9ab6fe99c15d416cde5 (PR-621) 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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 > 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/621/head:refs/remotes/origin/PR-621 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f7357f211828be3f793f9ab6fe99c15d416cde5 # 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 b279e99bc72aab90b799f17157d7f2e7dfbc53e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f7357f211828be3f793f9ab6fe99c15d416cde5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:31:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:31:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:31:35 ========================================================= 00:31:35 EdgeX Global Pipelines Version Info 00:31:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:31:36 ------------------- 00:31:36 stable info: 00:31:36 ------------------- 00:31:36 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 00:31:36 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:31:36 Message: update stable to v1.0.257 00:31:36 ------------------- 00:31:36 experimental info: 00:31:36 ------------------- 00:31:36 Commited By: **** collab-it+edgex@linuxfoundation.org 00:31:36 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:31:36 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:31:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-621 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-621 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-621 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f7357f211828be3f793f9ab6fe99c15d416cde5 [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f7357f [Pipeline] echo 00:31:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:31:38 provisioning config files... 00:31:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-621@tmp/config258317481064884125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:39 ---> docker-login.sh 00:31:39 nexus3.edgexfoundry.org:10001 00:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:40 Configure a credential helper to remove this warning. See 00:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:40 00:31:40 Login Succeeded 00:31:40 nexus3.edgexfoundry.org:10002 00:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:40 Configure a credential helper to remove this warning. See 00:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:40 00:31:40 Login Succeeded 00:31:40 nexus3.edgexfoundry.org:10003 00:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:40 Configure a credential helper to remove this warning. See 00:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:40 00:31:40 Login Succeeded 00:31:40 nexus3.edgexfoundry.org:10004 00:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:40 Configure a credential helper to remove this warning. See 00:31:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:40 00:31:40 Login Succeeded 00:31:40 docker.io 00:31:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:41 Configure a credential helper to remove this warning. See 00:31:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:41 00:31:41 Login Succeeded 00:31:41 ---> docker-login.sh ends [Pipeline] } 00:31:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:31:41 + git rev-list -1 --merges 9f7357f211828be3f793f9ab6fe99c15d416cde5~1..9f7357f211828be3f793f9ab6fe99c15d416cde5 [Pipeline] echo 00:31:41 -----------> git rev-list -1 --merges 9f7357f211828be3f793f9ab6fe99c15d416cde5~1..9f7357f211828be3f793f9ab6fe99c15d416cde5 9f7357f211828be3f793f9ab6fe99c15d416cde5 [false] [Pipeline] sh 00:31:42 + git log --format=format:%s -1 9f7357f211828be3f793f9ab6fe99c15d416cde5 [Pipeline] echo 00:31:42 ========================================================= 00:31:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:31:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:31:42 + git log --format=format:%s -1 9f7357f211828be3f793f9ab6fe99c15d416cde5 [Pipeline] echo 00:31:42 [semverPrep] GIT_COMMIT: 9f7357f211828be3f793f9ab6fe99c15d416cde5, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 00:31:42 [semverPrep] This is not a build commit. [Pipeline] sh 00:31:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:31:43 + grep -v github /etc/ssh/ssh_known_hosts 00:31:43 + [ -e /tmp/ssh_known_hosts ] 00:31:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:31:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:31:43 + sudo tee -a /etc/ssh/ssh_known_hosts 00:31:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:31:43 00:31:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:31:44 0.1.4: Pulling from edgex-devops/py-git-semver 00:31:44 b85a868b505f: Pulling fs layer 00:31:44 e2be974225ed: Pulling fs layer 00:31:44 339a4e72a1f5: Pulling fs layer 00:31:44 988bab9f4d93: Pulling fs layer 00:31:44 1469e6f7b9e6: Pulling fs layer 00:31:44 eaf3925da568: Pulling fs layer 00:31:44 bab4dde63d76: Pulling fs layer 00:31:44 bde34c3a00c8: Pulling fs layer 00:31:44 b352a97aabf1: Pulling fs layer 00:31:44 4872d77fe225: Pulling fs layer 00:31:44 5851b861e8e6: Pulling fs layer 00:31:44 bde34c3a00c8: Waiting 00:31:44 eaf3925da568: Waiting 00:31:44 b352a97aabf1: Waiting 00:31:44 bab4dde63d76: Waiting 00:31:44 988bab9f4d93: Waiting 00:31:44 4872d77fe225: Waiting 00:31:44 e2be974225ed: Download complete 00:31:44 988bab9f4d93: Verifying Checksum 00:31:44 988bab9f4d93: Download complete 00:31:44 1469e6f7b9e6: Verifying Checksum 00:31:44 1469e6f7b9e6: Download complete 00:31:44 339a4e72a1f5: Verifying Checksum 00:31:44 339a4e72a1f5: Download complete 00:31:44 eaf3925da568: Download complete 00:31:44 bde34c3a00c8: Download complete 00:31:44 b352a97aabf1: Download complete 00:31:44 4872d77fe225: Verifying Checksum 00:31:44 4872d77fe225: Download complete 00:31:44 5851b861e8e6: Download complete 00:31:44 b85a868b505f: Verifying Checksum 00:31:44 b85a868b505f: Download complete 00:31:44 bab4dde63d76: Verifying Checksum 00:31:44 bab4dde63d76: Download complete 00:31:45 b85a868b505f: Pull complete 00:31:45 e2be974225ed: Pull complete 00:31:46 339a4e72a1f5: Pull complete 00:31:46 988bab9f4d93: Pull complete 00:31:46 1469e6f7b9e6: Pull complete 00:31:46 eaf3925da568: Pull complete 00:31:48 bab4dde63d76: Pull complete 00:31:48 bde34c3a00c8: Pull complete 00:31:48 b352a97aabf1: Pull complete 00:31:48 4872d77fe225: Pull complete 00:31:48 5851b861e8e6: Pull complete 00:31:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:31:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:31:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:31:48 prd-ubuntu20.04-docker-8c-8g-16925 does not seem to be running inside a container 00:31:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-621 -v /w/workspace/_app-service-configurable_PR-621:/w/workspace/_app-service-configurable_PR-621:rw,z -v /w/workspace/_app-service-configurable_PR-621@tmp:/w/workspace/_app-service-configurable_PR-621@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 00:31:52 $ docker top fea7d3db9ff73c3dbff9b55c374f7b97c866d088d65d7ce54f0e5e105e50653e -eo pid,comm 00:31:52 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). 00:31:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:31:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:52 [ssh-agent] Looking for ssh-agent implementation... 00:31:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:52 $ docker exec fea7d3db9ff73c3dbff9b55c374f7b97c866d088d65d7ce54f0e5e105e50653e ssh-agent 00:31:52 SSH_AUTH_SOCK=/tmp/ssh-cTUQs1wSoqdF/agent.31 00:31:52 SSH_AGENT_PID=37 00:31:52 Running ssh-add (command line suppressed) 00:31:52 Identity added: /w/workspace/_app-service-configurable_PR-621@tmp/private_key_11436211506888376467.key (/w/workspace/_app-service-configurable_PR-621@tmp/private_key_11436211506888376467.key) 00:31:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:52 + git tag --points-at HEAD [Pipeline] } 00:31:53 $ docker exec --env ******** --env ******** fea7d3db9ff73c3dbff9b55c374f7b97c866d088d65d7ce54f0e5e105e50653e ssh-agent -k 00:31:53 unset SSH_AUTH_SOCK; 00:31:53 unset SSH_AGENT_PID; 00:31:53 echo Agent pid 37 killed; 00:31:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:31:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:31:53 [ssh-agent] Looking for ssh-agent implementation... 00:31:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:31:53 $ docker exec fea7d3db9ff73c3dbff9b55c374f7b97c866d088d65d7ce54f0e5e105e50653e ssh-agent 00:31:53 SSH_AUTH_SOCK=/tmp/ssh-buJSqjOMRemp/agent.69 00:31:53 SSH_AGENT_PID=75 00:31:53 Running ssh-add (command line suppressed) 00:31:53 Identity added: /w/workspace/_app-service-configurable_PR-621@tmp/private_key_4414655033616895825.key (/w/workspace/_app-service-configurable_PR-621@tmp/private_key_4414655033616895825.key) 00:31:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:31:53 + git semver init 00:31:54 2023-11-08 00:31:54,087 [run_init] DEBUG init version:0.0.0 force:False 00:31:54 2023-11-08 00:31:54,087 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-621/.semver 00:31:54 2023-11-08 00:31:54,088 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-621/.semver 00:31:54 2023-11-08 00:31:54,088 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-621/.semver'], cwd=/w/workspace/_app-service-configurable_PR-621, universal_newlines=False, shell=None, istream=None) 00:31:55 2023-11-08 00:31:55,226 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-621/.git/info/exclude 00:31:55 2023-11-08 00:31:55,227 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-621/.semver/PR-621 with force:False 00:31:55 2023-11-08 00:31:55,227 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-621/.semver/PR-621 00:31:55 2023-11-08 00:31:55,231 [execute] INFO git cat-file --batch-check 00:31:55 2023-11-08 00:31:55,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-621/.semver, universal_newlines=False, shell=None, istream=) 00:31:55 2023-11-08 00:31:55,238 [execute] INFO git cat-file --batch 00:31:55 2023-11-08 00:31:55,238 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-621/.semver, universal_newlines=False, shell=None, istream=) 00:31:55 2023-11-08 00:31:55,244 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-621/.semver/PR-621 00:31:55 0.0.0 [Pipeline] } 00:31:55 $ docker exec --env ******** --env ******** fea7d3db9ff73c3dbff9b55c374f7b97c866d088d65d7ce54f0e5e105e50653e ssh-agent -k 00:31:55 unset SSH_AUTH_SOCK; 00:31:55 unset SSH_AGENT_PID; 00:31:55 echo Agent pid 75 killed; 00:31:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:31:56 + git semver [Pipeline] } 00:31:56 $ docker stop --time=1 fea7d3db9ff73c3dbff9b55c374f7b97c866d088d65d7ce54f0e5e105e50653e 00:31:57 $ docker rm -f --volumes fea7d3db9ff73c3dbff9b55c374f7b97c866d088d65d7ce54f0e5e105e50653e [Pipeline] // withDockerContainer [Pipeline] sh 00:31:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:31:58 Stashed 1 file(s) [Pipeline] echo 00:31:58 [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 00:31:59 provisioning config files... 00:31:59 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-621@tmp/config18437502018418385940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:59 ---> docker-login.sh 00:31:59 nexus3.edgexfoundry.org:10001 00:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:59 Configure a credential helper to remove this warning. See 00:31:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:59 00:31:59 Login Succeeded 00:31:59 nexus3.edgexfoundry.org:10002 00:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:59 Configure a credential helper to remove this warning. See 00:31:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:59 00:31:59 Login Succeeded 00:31:59 nexus3.edgexfoundry.org:10003 00:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:59 Configure a credential helper to remove this warning. See 00:31:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:59 00:31:59 Login Succeeded 00:31:59 nexus3.edgexfoundry.org:10004 00:31:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:31:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:31:59 Configure a credential helper to remove this warning. See 00:31:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:31:59 00:31:59 Login Succeeded 00:31:59 docker.io 00:32:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:00 Configure a credential helper to remove this warning. See 00:32:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:00 00:32:00 Login Succeeded 00:32:00 ---> docker-login.sh ends [Pipeline] } 00:32:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:32:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:32:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:32:00 ========================================================= 00:32:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:32:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:01 + 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 . 00:32:01 Sending build context to Docker daemon 3.374MB 00:32:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:32:01 Step 2/12 : FROM ${BASE} AS builder 00:32:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:32:01 7264a8db6415: Pulling fs layer 00:32:01 c4d48a809fc2: Pulling fs layer 00:32:01 4f1c88b9dad5: Pulling fs layer 00:32:01 ad3a456e5733: Pulling fs layer 00:32:01 33e27b845d1e: Pulling fs layer 00:32:01 c68163c4e522: Pulling fs layer 00:32:01 50da416c3ac9: Pulling fs layer 00:32:01 23d2d4c4bb30: Pulling fs layer 00:32:01 ad3a456e5733: Waiting 00:32:01 33e27b845d1e: Waiting 00:32:01 c68163c4e522: Waiting 00:32:01 50da416c3ac9: Waiting 00:32:01 23d2d4c4bb30: Waiting 00:32:01 c4d48a809fc2: Verifying Checksum 00:32:01 c4d48a809fc2: Download complete 00:32:01 ad3a456e5733: Verifying Checksum 00:32:01 ad3a456e5733: Download complete 00:32:01 33e27b845d1e: Verifying Checksum 00:32:01 33e27b845d1e: Download complete 00:32:01 7264a8db6415: Verifying Checksum 00:32:01 7264a8db6415: Download complete 00:32:01 c68163c4e522: Verifying Checksum 00:32:01 c68163c4e522: Download complete 00:32:01 7264a8db6415: Pull complete 00:32:01 23d2d4c4bb30: Verifying Checksum 00:32:01 23d2d4c4bb30: Download complete 00:32:01 c4d48a809fc2: Pull complete 00:32:02 4f1c88b9dad5: Verifying Checksum 00:32:02 4f1c88b9dad5: Download complete 00:32:02 50da416c3ac9: Verifying Checksum 00:32:02 50da416c3ac9: Download complete 00:32:06 4f1c88b9dad5: Pull complete 00:32:07 ad3a456e5733: Pull complete 00:32:08 33e27b845d1e: Pull complete 00:32:09 c68163c4e522: Pull complete 00:32:12 50da416c3ac9: Pull complete 00:32:12 23d2d4c4bb30: Pull complete 00:32:12 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 00:32:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:32:12 ---> 0786185ac409 00:32:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:32:13 Still waiting to schedule task 00:32:13 ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:32:13 ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:32:13 ‘prd-ubuntu20.04-docker-8c-8g-16919’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:32:13 ‘prd-ubuntu20.04-docker-8c-8g-16923’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:32:13 ‘prd-ubuntu20.04-docker-8c-8g-16928’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:32:13 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16926’ is offline 00:32:19 ---> Running in 6804a36377d7 00:32:19 Removing intermediate container 6804a36377d7 00:32:19 ---> f1be017986fe 00:32:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:32:19 ---> Running in 2427a3d7e2df 00:32:19 Removing intermediate container 2427a3d7e2df 00:32:19 ---> c4fa04e09e39 00:32:19 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:32:19 ---> Running in 078314c4c1ed 00:32:19 Removing intermediate container 078314c4c1ed 00:32:19 ---> 1d571847560d 00:32:19 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:32:19 ---> Running in 98d843b06c2b 00:32:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:32:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:32:19 OK: 264 MiB in 52 packages 00:32:20 Removing intermediate container 98d843b06c2b 00:32:20 ---> 40482983042a 00:32:20 Step 7/12 : WORKDIR /app 00:32:20 ---> Running in 952e7b0e741a 00:32:20 Removing intermediate container 952e7b0e741a 00:32:20 ---> 996a7367abfd 00:32:20 Step 8/12 : COPY go.mod vendor* ./ 00:32:20 ---> fd4fbf9f6c0e 00:32:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:32:20 ---> Running in aaf85e0fa446 00:33:42 Removing intermediate container aaf85e0fa446 00:33:42 ---> 595717d03b12 00:33:42 Step 10/12 : COPY . . 00:33:42 ---> 8cbc094ea7c7 00:33:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:33:42 ---> Running in 07f68c39e604 00:33:42 Removing intermediate container 07f68c39e604 00:33:42 ---> b5a043e8a286 00:33:42 Step 12/12 : RUN $MAKE 00:33:42 ---> Running in 197c8d30d3a5 00:33:42 noop 00:33:42 Removing intermediate container 197c8d30d3a5 00:33:42 ---> a26fa12dc4bb 00:33:42 Successfully built a26fa12dc4bb 00:33:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:42 + docker inspect -f . ci-base-image-x86_64 00:33:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:42 prd-ubuntu20.04-docker-8c-8g-16925 does not seem to be running inside a container 00:33:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-621 -v /w/workspace/_app-service-configurable_PR-621:/w/workspace/_app-service-configurable_PR-621:rw,z -v /w/workspace/_app-service-configurable_PR-621@tmp:/w/workspace/_app-service-configurable_PR-621@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 00:33:43 $ docker top 1f9f9aaf9cb2bd6b95b63b6d67eda4705d4452e1347116dadb25cb266e411a09 -eo pid,comm [Pipeline] { [Pipeline] sh 00:33:43 + go version 00:33:43 go version go1.21.0 linux/amd64 [Pipeline] } 00:33:43 $ docker stop --time=1 1f9f9aaf9cb2bd6b95b63b6d67eda4705d4452e1347116dadb25cb266e411a09 00:33:45 $ docker rm -f --volumes 1f9f9aaf9cb2bd6b95b63b6d67eda4705d4452e1347116dadb25cb266e411a09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:46 + docker inspect -f . ci-base-image-x86_64 00:33:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:46 prd-ubuntu20.04-docker-8c-8g-16925 does not seem to be running inside a container 00:33:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-621 -v /w/workspace/_app-service-configurable_PR-621:/w/workspace/_app-service-configurable_PR-621:rw,z -v /w/workspace/_app-service-configurable_PR-621@tmp:/w/workspace/_app-service-configurable_PR-621@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 00:33:47 $ docker top 0eb97b600dc038884526b9ef79e30e9b18adea321beefb6620039adf368f758e -eo pid,comm [Pipeline] { [Pipeline] sh 00:33:47 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-621 [Pipeline] fileExists [Pipeline] sh 00:33:48 + make test 00:33:48 go test -race -coverprofile=coverage.out ./... 00:34:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:34:37 go vet ./... 00:34:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:34:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:34:37 ./bin/test-attribution-txt.sh [Pipeline] echo 00:34:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:34:37 $ docker stop --time=1 0eb97b600dc038884526b9ef79e30e9b18adea321beefb6620039adf368f758e 00:34:43 $ docker rm -f --volumes 0eb97b600dc038884526b9ef79e30e9b18adea321beefb6620039adf368f758e [Pipeline] // withDockerContainer [Pipeline] sh 00:34:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:34:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:34:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:34:45 + ls -al . 00:34:45 total 180 00:34:45 drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 00:33 . 00:34:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:31 .. 00:34:45 -rw-rw-r-- 1 jenkins jenkins 119 Nov 8 00:31 .dockerignore 00:34:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:34 .git 00:34:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:31 .github 00:34:45 -rw-rw-r-- 1 jenkins jenkins 106 Nov 8 00:31 .gitignore 00:34:45 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 00:31 .golangci.yml 00:34:45 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 00:31 .semver 00:34:45 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 8 00:31 Attribution.txt 00:34:45 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 8 00:31 CHANGELOG.md 00:34:45 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 8 00:31 Dockerfile 00:34:45 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 00:31 GOVERNANCE.md 00:34:45 -rw-rw-r-- 1 jenkins jenkins 666 Nov 8 00:31 Jenkinsfile 00:34:45 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 00:31 LICENSE 00:34:45 -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 00:31 OWNERS.md 00:34:45 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 8 00:31 README.md 00:34:45 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 00:31 VERSION 00:34:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:31 bin 00:34:45 -rw-r--r-- 1 jenkins jenkins 13 Nov 8 00:33 coverage.out 00:34:45 -rw-rw-r-- 1 jenkins jenkins 3684 Nov 8 00:31 go.mod 00:34:45 -rw-rw-r-- 1 jenkins jenkins 34823 Nov 8 00:31 go.sum 00:34:45 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 8 00:31 main.go 00:34:45 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 8 00:31 makefile 00:34:45 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 00:31 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:45 + 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=9f7357f211828be3f793f9ab6fe99c15d416cde5 --label arch=amd64 --label version=0.0.0 . 00:34:45 Sending build context to Docker daemon 3.375MB 00:34:45 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 00:34:45 Step 2/26 : FROM ${BASE} AS builder 00:34:45 ---> a26fa12dc4bb 00:34:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:34:46 ---> Running in 1fc2a197f167 00:34:47 Removing intermediate container 1fc2a197f167 00:34:47 ---> 3844107f88d9 00:34:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:34:47 ---> Running in c5c4020e34a0 00:34:48 Removing intermediate container c5c4020e34a0 00:34:48 ---> cb7b46f45544 00:34:48 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:34:48 ---> Running in e85d28bb12a3 00:34:49 Removing intermediate container e85d28bb12a3 00:34:49 ---> feb5a7c4584e 00:34:49 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:34:49 ---> Running in 335bc25190f4 00:34:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:34:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:34:51 OK: 264 MiB in 52 packages 00:34:52 Removing intermediate container 335bc25190f4 00:34:52 ---> 5058c11fef65 00:34:52 Step 7/26 : WORKDIR /app 00:34:52 ---> Running in 01e82e382b59 00:34:52 Removing intermediate container 01e82e382b59 00:34:52 ---> be8c3b615099 00:34:52 Step 8/26 : COPY go.mod vendor* ./ 00:34:53 ---> 65deaf9fc0d9 00:34:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:34:53 ---> Running in 63ea41b2af0c 00:34:54 Removing intermediate container 63ea41b2af0c 00:34:54 ---> 3b6ea6740dda 00:34:54 Step 10/26 : COPY . . 00:34:54 ---> bddb21e96b0b 00:34:54 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:34:54 ---> Running in 357147d379bf 00:34:55 Removing intermediate container 357147d379bf 00:34:55 ---> 0df315d82c75 00:34:55 Step 12/26 : RUN $MAKE 00:34:55 ---> Running in 9ad3b2b1cc97 00:34:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 00:35:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16931 in /w/workspace/_app-service-configurable_PR-621 [Pipeline] { [Pipeline] ws 00:35:06 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 00:35:06 Selected Git installation does not exist. Using Default 00:35:06 The recommended git tool is: NONE 00:35:17 using credential edgex-jenkins-ssh 00:35:17 Cloning the remote Git repository 00:35:17 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:35:17 > git init /w/workspace/app-service-configurable/1 # timeout=10 00:35:17 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:35:17 > git --version # timeout=10 00:35:17 > git --version # 'git version 2.25.1' 00:35:17 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:35:19 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:35:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:35:20 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:35:23 Merging remotes/origin/main commit b279e99bc72aab90b799f17157d7f2e7dfbc53e7 into PR head commit 9f7357f211828be3f793f9ab6fe99c15d416cde5 00:35:24 Merge succeeded, producing 9f7357f211828be3f793f9ab6fe99c15d416cde5 00:35:24 Checking out Revision 9f7357f211828be3f793f9ab6fe99c15d416cde5 (PR-621) 00:35:23 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:35:23 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/621/head:refs/remotes/origin/PR-621 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:35:23 > git config core.sparsecheckout # timeout=10 00:35:24 > git checkout -f 9f7357f211828be3f793f9ab6fe99c15d416cde5 # timeout=10 00:35:24 > git remote # timeout=10 00:35:24 > git config --get remote.origin.url # timeout=10 00:35:24 using GIT_SSH to set credentials SSH Credentials for GitHub 00:35:24 > git merge b279e99bc72aab90b799f17157d7f2e7dfbc53e7 # timeout=10 00:35:24 > git rev-parse HEAD^{commit} # timeout=10 00:35:24 > git config core.sparsecheckout # timeout=10 00:35:24 > git checkout -f 9f7357f211828be3f793f9ab6fe99c15d416cde5 # timeout=10 00:35:24 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 00:35:25 Removing intermediate container 9ad3b2b1cc97 00:35:25 ---> dc23d090437e 00:35:25 Step 13/26 : FROM alpine:3.18 00:35:25 3.18: Pulling from library/alpine 00:35:25 96526aa774ef: Pulling fs layer 00:35:25 96526aa774ef: Verifying Checksum 00:35:25 96526aa774ef: Download complete 00:35:25 96526aa774ef: Pull complete 00:35:25 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:35:25 Status: Downloaded newer image for alpine:3.18 00:35:25 ---> 8ca4688f4f35 00:35:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:35:25 ---> Running in b3083b0448f5 00:35:25 Removing intermediate container b3083b0448f5 00:35:25 ---> f65bdf652889 00:35:25 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:35:25 > git --version # timeout=10 00:35:25 > git --version # 'git version 2.25.1' 00:35:25 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:35:25 ---> Running in 8000e6200e5e 00:35:25 Removing intermediate container 8000e6200e5e 00:35:25 ---> 7268e6be71e9 00:35:25 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:35:25 ---> Running in 83ee7c078bab [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:35:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [Pipeline] script [Pipeline] { [Pipeline] sh 00:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:35:26 (1/2) Installing ca-certificates (20230506-r0) 00:35:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:35:26 % Total % Received % Xferd Average Speed Time Time Time Current 00:35:26 Dload Upload Total Spent Left Speed 00:35:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 72 12682 72 9098 0 0 58696 0 --:--:-- --:--:-- --:--:-- 58696 100 12682 100 12682 0 0 80777 0 --:--:-- --:--:-- --:--:-- 80777 00:35:26 (2/2) Installing dumb-init (1.2.5-r2) 00:35:26 Executing busybox-1.36.1-r2.trigger 00:35:26 Executing ca-certificates-20230506-r0.trigger 00:35:26 OK: 8 MiB in 17 packages [Pipeline] sh 00:35:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:35:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:35:27 + sudo tee /etc/docker/daemon.new 00:35:27 { 00:35:27 "registry-mirrors": [ 00:35:27 "https://nexus3.edgexfoundry.org:10001" 00:35:27 ], 00:35:27 "bip": "10.250.0.254/24", 00:35:27 "hosts": [ 00:35:27 "tcp://0.0.0.0:5555", 00:35:27 "unix:///var/run/docker.sock" 00:35:27 ], 00:35:27 "mtu": 1458, 00:35:27 "selinux-enabled": true, 00:35:27 "seccomp-profile": "/etc/docker/seccomp.json" 00:35:27 } [Pipeline] sh 00:35:27 Removing intermediate container 83ee7c078bab 00:35:27 ---> ec11aff0c16b 00:35:27 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:35:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:35:28 ---> 7f44dda919d2 00:35:28 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:35:28 + sudo service docker restart 00:35:28 ---> 3635cf4dfc1c 00:35:28 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:35:28 ---> 504129583a6e 00:35:28 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:35:30 ---> 31c68f823360 00:35:30 Step 21/26 : EXPOSE 48095 00:35:30 ---> Running in 03010bba3057 00:35:30 Removing intermediate container 03010bba3057 00:35:30 ---> 3966651ae220 00:35:30 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:35:30 ---> Running in 2825bdca1ee0 00:35:31 Removing intermediate container 2825bdca1ee0 00:35:31 ---> a526b117abe0 00:35:31 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:35:31 ---> Running in 31b9a486043d 00:35:31 Removing intermediate container 31b9a486043d 00:35:31 ---> 6c0f746c2ef3 00:35:31 Step 24/26 : LABEL arch=amd64 00:35:32 ---> Running in a2528d3d82b7 00:35:32 Removing intermediate container a2528d3d82b7 00:35:32 ---> 7f4c515f4271 00:35:32 Step 25/26 : LABEL git_sha=9f7357f211828be3f793f9ab6fe99c15d416cde5 00:35:33 ---> Running in a5c56fc8b772 00:35:34 Removing intermediate container a5c56fc8b772 00:35:34 ---> 26fc5f86b1a3 00:35:34 Step 26/26 : LABEL version=0.0.0 00:35:34 ---> Running in 3218f7efcfb7 00:35:34 Removing intermediate container 3218f7efcfb7 00:35:34 ---> 9baab955e3ea 00:35:34 [Warning] One or more build-args [ARCH] were not consumed 00:35:34 Successfully built 9baab955e3ea 00:35:35 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:35:36 00:35:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:35:36 latest: Pulling from edgex-lftools-log-publisher 00:35:36 5eb5b503b376: Pulling fs layer 00:35:36 5c69ac0246d0: Pulling fs layer 00:35:36 ec43610c2a17: Pulling fs layer 00:35:36 3a2ae6a8a46f: Pulling fs layer 00:35:36 33b1e0a273af: Pulling fs layer 00:35:36 5d3b04190fa2: Pulling fs layer 00:35:36 2f39f015ded8: Pulling fs layer 00:35:36 3a2ae6a8a46f: Waiting 00:35:36 5d3b04190fa2: Waiting 00:35:36 2f39f015ded8: Waiting 00:35:36 33b1e0a273af: Waiting 00:35:36 5c69ac0246d0: Download complete 00:35:36 3a2ae6a8a46f: Download complete 00:35:36 33b1e0a273af: Verifying Checksum 00:35:36 33b1e0a273af: Download complete 00:35:36 ec43610c2a17: Verifying Checksum 00:35:36 ec43610c2a17: Download complete 00:35:36 5d3b04190fa2: Download complete 00:35:36 5eb5b503b376: Verifying Checksum 00:35:36 5eb5b503b376: Download complete 00:35:37 2f39f015ded8: Download complete 00:35:37 5eb5b503b376: Pull complete 00:35:38 5c69ac0246d0: Pull complete 00:35:39 ec43610c2a17: Pull complete 00:35:39 3a2ae6a8a46f: Pull complete 00:35:39 33b1e0a273af: Pull complete 00:35:39 5d3b04190fa2: Pull complete 00:35:44 2f39f015ded8: Pull complete 00:35:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:35:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:35:45 prd-ubuntu20.04-docker-8c-8g-16925 does not seem to be running inside a container 00:35:45 $ 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-621 -v /w/workspace/_app-service-configurable_PR-621:/w/workspace/_app-service-configurable_PR-621:rw,z -v /w/workspace/_app-service-configurable_PR-621@tmp:/w/workspace/_app-service-configurable_PR-621@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 00:35:58 $ docker top d5307e7ca7d83b9e8f40450bd987de8e08cfc41e44c122076a7c5491c56a424c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 00:35:58 provisioning config files... 00:35:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config11069470188910300017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:35:58 ---> job-cost.sh 00:35:58 lf-activate-venv: SKIPPING 00:35:58 INFO: No Stack... 00:35:58 ---> docker-login.sh 00:35:58 nexus3.edgexfoundry.org:10001 00:35:58 INFO: Retrieving Pricing Info for: v3-standard-8 00:35:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:59 Configure a credential helper to remove this warning. See 00:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:59 00:35:59 Login Succeeded 00:35:59 nexus3.edgexfoundry.org:10002 00:35:59 INFO: Archiving Costs [Pipeline] sh 00:35:59 + cat /w/workspace/_app-service-configurable_PR-621/archives/cost.csv 00:35:59 + cut -d, -f6 [Pipeline] lock 00:35:59 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-621-1-stack-cost] 00:35:59 Resource [jenkins-edgexfoundry-app-service-configurable-PR-621-1-stack-cost] did not exist. Created. 00:35:59 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-621-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:00 Configure a credential helper to remove this warning. See 00:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:00 00:36:00 Login Succeeded 00:36:00 nexus3.edgexfoundry.org:10003 00:36:00 + echo total: 0.2199999988079071 [Pipeline] stash 00:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:00 Configure a credential helper to remove this warning. See 00:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:00 00:36:00 Login Succeeded 00:36:00 nexus3.edgexfoundry.org:10004 00:36:00 Stashed 1 file(s) [Pipeline] } 00:36:00 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-621-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:36:00 $ docker stop --time=1 d5307e7ca7d83b9e8f40450bd987de8e08cfc41e44c122076a7c5491c56a424c 00:36:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:00 Configure a credential helper to remove this warning. See 00:36:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:00 00:36:00 Login Succeeded 00:36:00 docker.io 00:36:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:01 Configure a credential helper to remove this warning. See 00:36:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:01 00:36:01 Login Succeeded 00:36:01 ---> docker-login.sh ends 00:36:04 $ docker rm -f --volumes d5307e7ca7d83b9e8f40450bd987de8e08cfc41e44c122076a7c5491c56a424c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 00:36:04 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 00:36:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:36:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:36:05 ========================================================= 00:36:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:36:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:05 + 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 . 00:36:05 Sending build context to Docker daemon 157.7kB 00:36:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:36:06 Step 2/12 : FROM ${BASE} AS builder 00:36:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:36:06 9fda8d8052c6: Pulling fs layer 00:36:06 5d54e960e981: Pulling fs layer 00:36:06 c4a7e357bf2a: Pulling fs layer 00:36:06 f0e02332f6b5: Pulling fs layer 00:36:06 cefa15bbcfad: Pulling fs layer 00:36:06 17808c966233: Pulling fs layer 00:36:06 f4c1fc716caa: Pulling fs layer 00:36:06 f0e02332f6b5: Waiting 00:36:06 17808c966233: Waiting 00:36:06 5d54e960e981: Verifying Checksum 00:36:06 5d54e960e981: Download complete 00:36:06 f0e02332f6b5: Verifying Checksum 00:36:06 f0e02332f6b5: Download complete 00:36:06 cefa15bbcfad: Verifying Checksum 00:36:06 cefa15bbcfad: Download complete 00:36:06 9fda8d8052c6: Download complete 00:36:07 f4c1fc716caa: Verifying Checksum 00:36:07 f4c1fc716caa: Download complete 00:36:07 9fda8d8052c6: Pull complete 00:36:08 5d54e960e981: Pull complete 00:36:08 c4a7e357bf2a: Verifying Checksum 00:36:08 c4a7e357bf2a: Download complete 00:36:09 17808c966233: Verifying Checksum 00:36:21 c4a7e357bf2a: Pull complete 00:36:22 f0e02332f6b5: Pull complete 00:36:22 cefa15bbcfad: Pull complete 00:36:30 17808c966233: Pull complete 00:36:32 f4c1fc716caa: Pull complete 00:36:32 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:36:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:36:32 ---> ea914061e18c 00:36:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:36:35 ---> Running in fcd42ea420ac 00:36:35 Removing intermediate container fcd42ea420ac 00:36:35 ---> 7dd545cf015d 00:36:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:36:35 ---> Running in 88d4c24c36d0 00:36:35 Removing intermediate container 88d4c24c36d0 00:36:35 ---> 5cdaf393cce7 00:36:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:36:35 ---> Running in 970fe67561c9 00:36:35 Removing intermediate container 970fe67561c9 00:36:35 ---> 2a5d4f8b8767 00:36:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:36:35 ---> Running in 144bf5e4b415 00:36:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:36:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:36:38 OK: 266 MiB in 52 packages 00:36:39 Removing intermediate container 144bf5e4b415 00:36:39 ---> 5860d84c8b61 00:36:39 Step 7/12 : WORKDIR /app 00:36:39 ---> Running in 6a07ce7fccf0 00:36:39 Removing intermediate container 6a07ce7fccf0 00:36:39 ---> ecaf471d77ad 00:36:39 Step 8/12 : COPY go.mod vendor* ./ 00:36:40 ---> 05879c516998 00:36:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:36:40 ---> Running in 89278dff6d53 00:38:02 Removing intermediate container 89278dff6d53 00:38:02 ---> f2a4ca3d9b8a 00:38:02 Step 10/12 : COPY . . 00:38:02 ---> 13ceaedc4526 00:38:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:38:02 ---> Running in 6926de2c7965 00:38:02 Removing intermediate container 6926de2c7965 00:38:02 ---> 6dce223b3018 00:38:02 Step 12/12 : RUN $MAKE 00:38:02 ---> Running in ee396591dddb 00:38:02 noop 00:38:02 Removing intermediate container ee396591dddb 00:38:02 ---> adb5fbb89f9c 00:38:02 Successfully built adb5fbb89f9c 00:38:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:03 + docker inspect -f . ci-base-image-arm64 00:38:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:03 prd-ubuntu20.04-docker-arm64-4c-16g-16931 does not seem to be running inside a container 00:38:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:38:04 $ docker top 883a12ce97f28f17845294ff190dc4652848df804b4b77e2558729c6da0c2b60 -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:05 + go version 00:38:05 go version go1.21.0 linux/arm64 [Pipeline] } 00:38:05 $ docker stop --time=1 883a12ce97f28f17845294ff190dc4652848df804b4b77e2558729c6da0c2b60 00:38:07 $ docker rm -f --volumes 883a12ce97f28f17845294ff190dc4652848df804b4b77e2558729c6da0c2b60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:08 + docker inspect -f . ci-base-image-arm64 00:38:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:08 prd-ubuntu20.04-docker-arm64-4c-16g-16931 does not seem to be running inside a container 00:38:08 $ 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 00:38:10 $ docker top e8a59636a8c11bf4533ac8e955270fe5822fa7e7e0fa08976f0cce9f137c6a0c -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:11 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 00:38:11 + make test 00:38:11 go test -race -coverprofile=coverage.out ./... 00:40:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:40:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:40:48 go vet ./... 00:42:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:42:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:42:55 ./bin/test-attribution-txt.sh [Pipeline] echo 00:42:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:42:55 $ docker stop --time=1 e8a59636a8c11bf4533ac8e955270fe5822fa7e7e0fa08976f0cce9f137c6a0c 00:42:59 $ docker rm -f --volumes e8a59636a8c11bf4533ac8e955270fe5822fa7e7e0fa08976f0cce9f137c6a0c [Pipeline] // withDockerContainer [Pipeline] sh 00:43:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:43:01 Warning: overwriting stash ‘coverage-report’ 00:43:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:43:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:43:03 + ls -al . 00:43:03 total 176 00:43:03 drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 00:38 . 00:43:03 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:35 .. 00:43:03 -rw-rw-r-- 1 jenkins jenkins 119 Nov 8 00:35 .dockerignore 00:43:03 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:35 .git 00:43:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:35 .github 00:43:03 -rw-rw-r-- 1 jenkins jenkins 106 Nov 8 00:35 .gitignore 00:43:03 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 00:35 .golangci.yml 00:43:03 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 8 00:35 Attribution.txt 00:43:03 -rw-rw-r-- 1 jenkins jenkins 35039 Nov 8 00:35 CHANGELOG.md 00:43:03 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 8 00:35 Dockerfile 00:43:03 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 00:35 GOVERNANCE.md 00:43:03 -rw-rw-r-- 1 jenkins jenkins 666 Nov 8 00:35 Jenkinsfile 00:43:03 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 00:35 LICENSE 00:43:03 -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 00:35 OWNERS.md 00:43:03 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 8 00:35 README.md 00:43:03 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 00:31 VERSION 00:43:03 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:35 bin 00:43:03 -rw-r--r-- 1 jenkins jenkins 13 Nov 8 00:38 coverage.out 00:43:03 -rw-rw-r-- 1 jenkins jenkins 3684 Nov 8 00:35 go.mod 00:43:03 -rw-rw-r-- 1 jenkins jenkins 34823 Nov 8 00:35 go.sum 00:43:03 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 8 00:35 main.go 00:43:03 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 8 00:35 makefile 00:43:03 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 00:35 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:03 + 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=9f7357f211828be3f793f9ab6fe99c15d416cde5 --label arch=arm64 --label version=0.0.0 . 00:43:03 Sending build context to Docker daemon 158.7kB 00:43:04 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 00:43:04 Step 2/26 : FROM ${BASE} AS builder 00:43:04 ---> adb5fbb89f9c 00:43:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:43:04 ---> Running in cb9911fcf674 00:43:04 Removing intermediate container cb9911fcf674 00:43:04 ---> 9cf3cd5125e7 00:43:04 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:43:04 ---> Running in de050d2c7ce2 00:43:04 Removing intermediate container de050d2c7ce2 00:43:04 ---> 1e8fc89fde3d 00:43:04 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:43:04 ---> Running in 50615b732fe5 00:43:05 Removing intermediate container 50615b732fe5 00:43:05 ---> 3402b30e4a78 00:43:05 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:43:05 ---> Running in 3092c6faaade 00:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:43:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:43:08 OK: 266 MiB in 52 packages 00:43:09 Removing intermediate container 3092c6faaade 00:43:09 ---> 244345032864 00:43:09 Step 7/26 : WORKDIR /app 00:43:09 ---> Running in ae0b883148e0 00:43:10 Removing intermediate container ae0b883148e0 00:43:10 ---> 9adaca4542a4 00:43:10 Step 8/26 : COPY go.mod vendor* ./ 00:43:14 ---> 8ac17af9ceea 00:43:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:14 ---> Running in df393244923c 00:43:16 Removing intermediate container df393244923c 00:43:16 ---> b71cd0c46508 00:43:16 Step 10/26 : COPY . . 00:43:17 ---> f8fd1d0f28b4 00:43:17 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:43:17 ---> Running in ae6793a6b253 00:43:18 Removing intermediate container ae6793a6b253 00:43:18 ---> f2e333a7f592 00:43:18 Step 12/26 : RUN $MAKE 00:43:18 ---> Running in 8f4b4ff73abd 00:43:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 00:45:40 Removing intermediate container 8f4b4ff73abd 00:45:40 ---> 07f85642b3a5 00:45:40 Step 13/26 : FROM alpine:3.18 00:45:40 3.18: Pulling from library/alpine 00:45:40 579b34f0a95b: Pulling fs layer 00:45:40 579b34f0a95b: Download complete 00:45:40 579b34f0a95b: Pull complete 00:45:40 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:45:40 Status: Downloaded newer image for alpine:3.18 00:45:40 ---> 3cc203321400 00:45:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:45:40 ---> Running in e8405f3c73f6 00:45:40 Removing intermediate container e8405f3c73f6 00:45:40 ---> b7bf9cf6cea2 00:45:40 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:45:40 ---> Running in e6473abf4361 00:45:40 Removing intermediate container e6473abf4361 00:45:40 ---> f44fa56cf49c 00:45:40 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:45:40 ---> Running in b2fad01b4ada 00:45:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:45:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:45:40 (1/2) Installing ca-certificates (20230506-r0) 00:45:40 (2/2) Installing dumb-init (1.2.5-r2) 00:45:40 Executing busybox-1.36.1-r2.trigger 00:45:40 Executing ca-certificates-20230506-r0.trigger 00:45:40 OK: 9 MiB in 17 packages 00:45:40 Removing intermediate container b2fad01b4ada 00:45:40 ---> 45387432dc58 00:45:40 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:45:40 ---> a34d973445b3 00:45:40 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:45:40 ---> 9554089b03a1 00:45:40 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:45:40 ---> 22e5e54842ea 00:45:40 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:45:41 ---> 78566d970d49 00:45:41 Step 21/26 : EXPOSE 48095 00:45:41 ---> Running in ef803c636e17 00:45:41 Removing intermediate container ef803c636e17 00:45:41 ---> d16d67b532a8 00:45:41 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:45:41 ---> Running in 735de52d1aa2 00:45:42 Removing intermediate container 735de52d1aa2 00:45:42 ---> 0683f91f7385 00:45:42 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:45:42 ---> Running in 43a6bec4b956 00:45:42 Removing intermediate container 43a6bec4b956 00:45:42 ---> d4d7bba0c95d 00:45:42 Step 24/26 : LABEL arch=arm64 00:45:42 ---> Running in 7d581cb2387f 00:45:43 Removing intermediate container 7d581cb2387f 00:45:43 ---> f7fe8ebe9587 00:45:43 Step 25/26 : LABEL git_sha=9f7357f211828be3f793f9ab6fe99c15d416cde5 00:45:43 ---> Running in 422b9659931a 00:45:43 Removing intermediate container 422b9659931a 00:45:43 ---> 68edf89fba67 00:45:43 Step 26/26 : LABEL version=0.0.0 00:45:43 ---> Running in a1ddced45f98 00:45:43 Removing intermediate container a1ddced45f98 00:45:43 ---> 2a5f8f5ae433 00:45:43 [Warning] One or more build-args [ARCH] were not consumed 00:45:43 Successfully built 2a5f8f5ae433 00:45:43 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 00:45:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:45:44 00:45:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:45:45 arm64: Pulling from edgex-lftools-log-publisher 00:45:45 8998bd30e6a1: Pulling fs layer 00:45:45 04944245beec: Pulling fs layer 00:45:45 699f458cf7ca: Pulling fs layer 00:45:45 765212b225bb: Pulling fs layer 00:45:45 f23df028b6ca: Pulling fs layer 00:45:45 d65c8cfc05b1: Pulling fs layer 00:45:45 2437ff75d9bd: Pulling fs layer 00:45:45 765212b225bb: Waiting 00:45:45 f23df028b6ca: Waiting 00:45:45 d65c8cfc05b1: Waiting 00:45:45 2437ff75d9bd: Waiting 00:45:45 04944245beec: Verifying Checksum 00:45:45 04944245beec: Download complete 00:45:45 765212b225bb: Verifying Checksum 00:45:45 f23df028b6ca: Verifying Checksum 00:45:45 f23df028b6ca: Download complete 00:45:45 d65c8cfc05b1: Verifying Checksum 00:45:45 d65c8cfc05b1: Download complete 00:45:45 699f458cf7ca: Verifying Checksum 00:45:45 699f458cf7ca: Download complete 00:45:46 8998bd30e6a1: Verifying Checksum 00:45:46 8998bd30e6a1: Download complete 00:45:48 2437ff75d9bd: Verifying Checksum 00:45:48 2437ff75d9bd: Download complete 00:45:51 8998bd30e6a1: Pull complete 00:45:51 04944245beec: Pull complete 00:45:53 699f458cf7ca: Pull complete 00:45:53 765212b225bb: Pull complete 00:45:54 f23df028b6ca: Pull complete 00:45:54 d65c8cfc05b1: Pull complete 00:46:12 2437ff75d9bd: Pull complete 00:46:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:46:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:46:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:13 prd-ubuntu20.04-docker-arm64-4c-16g-16931 does not seem to be running inside a container 00:46:13 $ 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 00:46:17 $ docker top 95a6a271b1c420845aa5af4604f7f8380914f691c8c9d008e98685caa3090a80 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:18 ---> job-cost.sh 00:46:18 lf-activate-venv: SKIPPING 00:46:18 INFO: No Stack... 00:46:19 INFO: Retrieving Pricing Info for: v3-standard-4 00:46:19 INFO: Archiving Costs [Pipeline] sh 00:46:20 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 00:46:20 + cut -d, -f6 [Pipeline] lock 00:46:20 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-621-1-stack-cost] 00:46:20 Resource [jenkins-edgexfoundry-app-service-configurable-PR-621-1-stack-cost] did not exist. Created. 00:46:20 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-621-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:46:21 /w/workspace/app-service-configurable/1@tmp/durable-a85929b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:46:21 + echo total: 0.10999999940395355 [Pipeline] stash 00:46:21 Warning: overwriting stash ‘stack-cost’ 00:46:21 Stashed 1 file(s) [Pipeline] } 00:46:21 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-621-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:46:22 $ docker stop --time=1 95a6a271b1c420845aa5af4604f7f8380914f691c8c9d008e98685caa3090a80 00:46:23 $ docker rm -f --volumes 95a6a271b1c420845aa5af4604f7f8380914f691c8c9d008e98685caa3090a80 [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 00:46:24 provisioning config files... 00:46:24 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-621@tmp/config5313371214028958134tmp [Pipeline] { [Pipeline] sh 00:46:25 + set +x 00:46:25 + bash -s -- 00:46:25 + curl -s https://codecov.io/bash 00:46:25 00:46:25 _____ _ 00:46:25 / ____| | | 00:46:25 | | ___ __| | ___ ___ _____ __ 00:46:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:46:25 | |___| (_) | (_| | __/ (_| (_) \ V / 00:46:25 \_____\___/ \__,_|\___|\___\___/ \_/ 00:46:25 Bash-1.0.6 00:46:25 00:46:25 00:46:25 ==> git version 2.25.1 found 00:46:25 ==> 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 00:46:25 Release-Date: 2020-01-08 00:46:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:46:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:46:25 ==> Jenkins CI detected. 00:46:25 current dir:  /w/workspace/_app-service-configurable_PR-621 00:46:25 project root: . 00:46:25 --> token set from env 00:46:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:46:25 ==> Running gcov in . (disable via -X gcov) 00:46:25 ==> Python coveragepy not found 00:46:25 ==> Searching for coverage reports in: 00:46:25 + . 00:46:25 -> Found 1 reports 00:46:25 ==> Detecting git/mercurial file structure 00:46:25 ==> Reading reports 00:46:25 + ./coverage.out bytes=13 00:46:25 ==> Appending adjustments 00:46:25 https://docs.codecov.io/docs/fixing-reports 00:46:25 + Found adjustments 00:46:25 ==> Gzipping contents 00:46:25 4.0K /tmp/codecov.Wa7PwM.gz 00:46:25 ==> Uploading reports 00:46:25 url: https://codecov.io 00:46:25 query: branch=PR-621&commit=9f7357f211828be3f793f9ab6fe99c15d416cde5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-621%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=621&job=&cmd_args= 00:46:25 -> Pinging Codecov 00:46:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-621&commit=9f7357f211828be3f793f9ab6fe99c15d416cde5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-621%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=621&job=&cmd_args= 00:46:25 -> Uploading to 00:46:25 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/A97CA9966030D2A3747ED39772930CCE/9f7357f211828be3f793f9ab6fe99c15d416cde5/8d198714-eead-453d-970e-7baed21c95c8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T004625Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3dd6bd668d933b26e037704430398cd9e79eddaca14675fe930d8b5f00a89f18 00:46:25 % Total % Received % Xferd Average Speed Time Time Time Current 00:46:25 Dload Upload Total Spent Left Speed 00:46:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 1017 --:--:-- --:--:-- --:--:-- 1017 00:46:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/9f7357f211828be3f793f9ab6fe99c15d416cde5 [Pipeline] } 00:46:25 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 00:46:27 + [ -d /w/workspace/_app-service-configurable_PR-621/archives ] 00:46:27 + ls -al /w/workspace/_app-service-configurable_PR-621/archives 00:46:27 total 16 00:46:27 drwxr-xr-x 3 root root 4096 Nov 8 00:35 . 00:46:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:36 .. 00:46:27 drwxr-xr-x 2 root root 4096 Nov 8 00:35 cost 00:46:27 -rw-r--r-- 1 root root 96 Nov 8 00:35 cost.csv 00:46:27 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-621/archives 00:46:27 + ls -al /w/workspace/_app-service-configurable_PR-621/archives 00:46:27 total 16 00:46:27 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 00:35 . 00:46:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:36 .. 00:46:27 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 00:35 cost 00:46:27 -rw-r--r-- 1 jenkins jenkins 96 Nov 8 00:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:46:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:46:28 ---> package-listing.sh 00:46:28 ++ facter osfamily 00:46:28 ++ tr '[:upper:]' '[:lower:]' 00:46:28 + OS_FAMILY=debian 00:46:28 + workspace=/w/workspace/_app-service-configurable_PR-621 00:46:28 + START_PACKAGES=/tmp/packages_start.txt 00:46:28 + END_PACKAGES=/tmp/packages_end.txt 00:46:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:46:28 + PACKAGES=/tmp/packages_start.txt 00:46:28 + '[' /w/workspace/_app-service-configurable_PR-621 ']' 00:46:28 + PACKAGES=/tmp/packages_end.txt 00:46:28 + case "${OS_FAMILY}" in 00:46:28 + dpkg -l 00:46:28 + grep '^ii' 00:46:28 + '[' -f /tmp/packages_start.txt ']' 00:46:28 + '[' -f /tmp/packages_end.txt ']' 00:46:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:46:28 + '[' /w/workspace/_app-service-configurable_PR-621 ']' 00:46:28 + mkdir -p /w/workspace/_app-service-configurable_PR-621/archives/ 00:46:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-621/archives/ [Pipeline] echo 00:46:28 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-621/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:46:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:46:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:29 prd-ubuntu20.04-docker-8c-8g-16925 does not seem to be running inside a container 00:46:29 $ 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-621/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-621 -v /w/workspace/_app-service-configurable_PR-621:/w/workspace/_app-service-configurable_PR-621:rw,z -v /w/workspace/_app-service-configurable_PR-621@tmp:/w/workspace/_app-service-configurable_PR-621@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 00:46:30 $ docker top 9ef324dd7a922a3366d68555321e34ecfcf391fac058eed447be52461845445a -eo pid,comm [Pipeline] { [Pipeline] sh 00:46:30 + touch /tmp/pre-build-complete [Pipeline] sh 00:46:30 + mkdir -p /var/log/sysstat [Pipeline] sh 00:46:31 + ls /var/log/sa-host 00:46:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:31 provisioning config files... 00:46:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-621@tmp/config2357615523239354934tmp [Pipeline] { [Pipeline] echo 00:46:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:46:31 ---> create-netrc.sh [Pipeline] } 00:46:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:46:32 ---> python-tools-install.sh [Pipeline] echo 00:46:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:46:32 ---> sudo-logs.sh 00:46:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:46:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:46:32 ---> job-cost.sh 00:46:32 lf-activate-venv: SKIPPING 00:46:32 DEBUG: total: 0.2199999988079071 00:46:32 INFO: Retrieving Stack Cost... 00:46:33 INFO: Retrieving Pricing Info for: v3-standard-8 00:46:33 INFO: Archiving Costs [Pipeline] echo 00:46:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:46:34 ---> logs-deploy.sh 00:46:34 lf-activate-venv: SKIPPING 00:46:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-621/1 00:46:34 INFO: archiving workspace using pattern(s): 00:46:34 Archives upload complete. 00:46:34 INFO: archiving logs to Nexus