Pull request #611 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6+f689f4ba914cd94db4edcd504921ce235cc7ee6f (415d264243af1fe1e8f9ba8cdaaf15fbfe5e7a8a) 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-ssh16848020361212534910.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5325182068710115006.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-611/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-611/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16122696738714947366.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-611/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6037027309102708069.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9112487951402660972.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-611/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-611/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13996624112104751556.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9904 in /w/workspace/_app-service-configurable_PR-611 [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-611 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/611/head:refs/remotes/origin/PR-611 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f689f4ba914cd94db4edcd504921ce235cc7ee6f into PR head commit cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 Merge succeeded, producing cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 Checking out Revision cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 (PR-611) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:10:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:10:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 # 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 f689f4ba914cd94db4edcd504921ce235cc7ee6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 # timeout=10 [Pipeline] echo 12:10:34 ========================================================= 12:10:34 EdgeX Global Pipelines Version Info 12:10:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:10:35 ------------------- 12:10:35 stable info: 12:10:35 ------------------- 12:10:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:10:35 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:10:35 Message: update stable to v1.0.254 12:10:35 ------------------- 12:10:35 experimental info: 12:10:35 ------------------- 12:10:35 Commited By: **** collab-it+edgex@linuxfoundation.org 12:10:35 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:10:35 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:10:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-611 [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-611 [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-611 [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cfa7d45 [Pipeline] echo 12:10:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:10:37 provisioning config files... 12:10:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-611@tmp/config4405791898804922734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:10:38 ---> docker-login.sh 12:10:38 nexus3.edgexfoundry.org:10001 12:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:38 Configure a credential helper to remove this warning. See 12:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:38 12:10:38 Login Succeeded 12:10:38 nexus3.edgexfoundry.org:10002 12:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:38 Configure a credential helper to remove this warning. See 12:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:38 12:10:38 Login Succeeded 12:10:38 nexus3.edgexfoundry.org:10003 12:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:38 Configure a credential helper to remove this warning. See 12:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:38 12:10:38 Login Succeeded 12:10:38 nexus3.edgexfoundry.org:10004 12:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:38 Configure a credential helper to remove this warning. See 12:10:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:38 12:10:38 Login Succeeded 12:10:38 docker.io 12:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:39 Configure a credential helper to remove this warning. See 12:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:39 12:10:39 Login Succeeded 12:10:39 ---> docker-login.sh ends [Pipeline] } 12:10:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:10:40 + git rev-list -1 --merges cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6~1..cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 [Pipeline] echo 12:10:40 -----------> git rev-list -1 --merges cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6~1..cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 [false] [Pipeline] sh 12:10:40 + git log --format=format:%s -1 cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 [Pipeline] echo 12:10:40 ========================================================= 12:10:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:10:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:10:40 + git log --format=format:%s -1 cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 [Pipeline] echo 12:10:40 [semverPrep] GIT_COMMIT: cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:10:40 [semverPrep] This is not a build commit. [Pipeline] sh 12:10:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:10:41 + grep -v github /etc/ssh/ssh_known_hosts 12:10:41 + [ -e /tmp/ssh_known_hosts ] 12:10:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:10:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:10:41 + sudo tee -a /etc/ssh/ssh_known_hosts 12:10:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:10:41 12:10:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:10:42 0.1.4: Pulling from edgex-devops/py-git-semver 12:10:42 b85a868b505f: Pulling fs layer 12:10:42 e2be974225ed: Pulling fs layer 12:10:42 339a4e72a1f5: Pulling fs layer 12:10:42 988bab9f4d93: Pulling fs layer 12:10:42 1469e6f7b9e6: Pulling fs layer 12:10:42 eaf3925da568: Pulling fs layer 12:10:42 bab4dde63d76: Pulling fs layer 12:10:42 bde34c3a00c8: Pulling fs layer 12:10:42 b352a97aabf1: Pulling fs layer 12:10:42 4872d77fe225: Pulling fs layer 12:10:42 5851b861e8e6: Pulling fs layer 12:10:42 bde34c3a00c8: Waiting 12:10:42 988bab9f4d93: Waiting 12:10:42 b352a97aabf1: Waiting 12:10:42 eaf3925da568: Waiting 12:10:42 1469e6f7b9e6: Waiting 12:10:42 5851b861e8e6: Waiting 12:10:42 e2be974225ed: Download complete 12:10:42 988bab9f4d93: Verifying Checksum 12:10:42 988bab9f4d93: Download complete 12:10:42 1469e6f7b9e6: Verifying Checksum 12:10:42 1469e6f7b9e6: Download complete 12:10:42 eaf3925da568: Download complete 12:10:42 339a4e72a1f5: Verifying Checksum 12:10:42 339a4e72a1f5: Download complete 12:10:42 bde34c3a00c8: Verifying Checksum 12:10:42 bde34c3a00c8: Download complete 12:10:42 b352a97aabf1: Verifying Checksum 12:10:42 b352a97aabf1: Download complete 12:10:42 4872d77fe225: Verifying Checksum 12:10:42 4872d77fe225: Download complete 12:10:42 5851b861e8e6: Download complete 12:10:42 b85a868b505f: Verifying Checksum 12:10:42 b85a868b505f: Download complete 12:10:42 bab4dde63d76: Verifying Checksum 12:10:42 bab4dde63d76: Download complete 12:10:43 b85a868b505f: Pull complete 12:10:43 e2be974225ed: Pull complete 12:10:44 339a4e72a1f5: Pull complete 12:10:44 988bab9f4d93: Pull complete 12:10:44 1469e6f7b9e6: Pull complete 12:10:44 eaf3925da568: Pull complete 12:10:46 bab4dde63d76: Pull complete 12:10:46 bde34c3a00c8: Pull complete 12:10:46 b352a97aabf1: Pull complete 12:10:46 4872d77fe225: Pull complete 12:10:46 5851b861e8e6: Pull complete 12:10:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:10:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:10:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:46 prd-ubuntu20.04-docker-8c-8g-9904 does not seem to be running inside a container 12:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-611 -v /w/workspace/_app-service-configurable_PR-611:/w/workspace/_app-service-configurable_PR-611:rw,z -v /w/workspace/_app-service-configurable_PR-611@tmp:/w/workspace/_app-service-configurable_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:10:50 $ docker top 1646670e98de4d86e8e2f67897597b083bcdb822138772dd7c615e1a983e0ad6 -eo pid,comm 12:10:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:10:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:10:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:10:50 [ssh-agent] Looking for ssh-agent implementation... 12:10:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:10:50 $ docker exec 1646670e98de4d86e8e2f67897597b083bcdb822138772dd7c615e1a983e0ad6 ssh-agent 12:10:50 SSH_AUTH_SOCK=/tmp/ssh-leOlgSyPb1vv/agent.32 12:10:50 SSH_AGENT_PID=38 12:10:50 Running ssh-add (command line suppressed) 12:10:50 Identity added: /w/workspace/_app-service-configurable_PR-611@tmp/private_key_1905104720351951631.key (/w/workspace/_app-service-configurable_PR-611@tmp/private_key_1905104720351951631.key) 12:10:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:10:51 + git tag --points-at HEAD [Pipeline] } 12:10:51 $ docker exec --env ******** --env ******** 1646670e98de4d86e8e2f67897597b083bcdb822138772dd7c615e1a983e0ad6 ssh-agent -k 12:10:51 unset SSH_AUTH_SOCK; 12:10:51 unset SSH_AGENT_PID; 12:10:51 echo Agent pid 38 killed; 12:10:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:10:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:10:51 [ssh-agent] Looking for ssh-agent implementation... 12:10:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:10:51 $ docker exec 1646670e98de4d86e8e2f67897597b083bcdb822138772dd7c615e1a983e0ad6 ssh-agent 12:10:51 SSH_AUTH_SOCK=/tmp/ssh-mS5hfwktyii2/agent.70 12:10:51 SSH_AGENT_PID=76 12:10:51 Running ssh-add (command line suppressed) 12:10:51 Identity added: /w/workspace/_app-service-configurable_PR-611@tmp/private_key_3294270116454104935.key (/w/workspace/_app-service-configurable_PR-611@tmp/private_key_3294270116454104935.key) 12:10:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:10:51 + git semver init 12:10:52 2023-10-24 12:10:52,114 [run_init] DEBUG init version:0.0.0 force:False 12:10:52 2023-10-24 12:10:52,114 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-611/.semver 12:10:52 2023-10-24 12:10:52,115 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-611/.semver 12:10:52 2023-10-24 12:10:52,115 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-611/.semver'], cwd=/w/workspace/_app-service-configurable_PR-611, universal_newlines=False, shell=None, istream=None) 12:10:53 2023-10-24 12:10:53,039 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-611/.git/info/exclude 12:10:53 2023-10-24 12:10:53,040 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-611/.semver/PR-611 with force:False 12:10:53 2023-10-24 12:10:53,040 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-611/.semver/PR-611 12:10:53 2023-10-24 12:10:53,045 [execute] INFO git cat-file --batch-check 12:10:53 2023-10-24 12:10:53,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-611/.semver, universal_newlines=False, shell=None, istream=) 12:10:53 2023-10-24 12:10:53,051 [execute] INFO git cat-file --batch 12:10:53 2023-10-24 12:10:53,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-611/.semver, universal_newlines=False, shell=None, istream=) 12:10:53 2023-10-24 12:10:53,056 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-611/.semver/PR-611 12:10:53 0.0.0 [Pipeline] } 12:10:53 $ docker exec --env ******** --env ******** 1646670e98de4d86e8e2f67897597b083bcdb822138772dd7c615e1a983e0ad6 ssh-agent -k 12:10:53 unset SSH_AUTH_SOCK; 12:10:53 unset SSH_AGENT_PID; 12:10:53 echo Agent pid 76 killed; 12:10:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:10:53 + git semver [Pipeline] } 12:10:53 $ docker stop --time=1 1646670e98de4d86e8e2f67897597b083bcdb822138772dd7c615e1a983e0ad6 12:10:55 $ docker rm -f --volumes 1646670e98de4d86e8e2f67897597b083bcdb822138772dd7c615e1a983e0ad6 [Pipeline] // withDockerContainer [Pipeline] sh 12:10:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:10:56 Stashed 1 file(s) [Pipeline] echo 12:10:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:10:57 provisioning config files... 12:10:57 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-611@tmp/config349966049069544905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:10:57 ---> docker-login.sh 12:10:57 nexus3.edgexfoundry.org:10001 12:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:57 Configure a credential helper to remove this warning. See 12:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:57 12:10:57 Login Succeeded 12:10:57 nexus3.edgexfoundry.org:10002 12:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:57 Configure a credential helper to remove this warning. See 12:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:57 12:10:57 Login Succeeded 12:10:57 nexus3.edgexfoundry.org:10003 12:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:57 Configure a credential helper to remove this warning. See 12:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:57 12:10:57 Login Succeeded 12:10:57 nexus3.edgexfoundry.org:10004 12:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:57 Configure a credential helper to remove this warning. See 12:10:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:57 12:10:57 Login Succeeded 12:10:57 docker.io 12:10:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:58 Configure a credential helper to remove this warning. See 12:10:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:58 12:10:58 Login Succeeded 12:10:58 ---> docker-login.sh ends [Pipeline] } 12:10:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:10:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:10:58 ========================================================= 12:10:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:10:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:10:58 Sending build context to Docker daemon 3.384MB 12:10:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:10:58 Step 2/12 : FROM ${BASE} AS builder 12:10:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:10:58 7264a8db6415: Pulling fs layer 12:10:58 c4d48a809fc2: Pulling fs layer 12:10:58 4f1c88b9dad5: Pulling fs layer 12:10:58 ad3a456e5733: Pulling fs layer 12:10:58 33e27b845d1e: Pulling fs layer 12:10:58 c68163c4e522: Pulling fs layer 12:10:58 50da416c3ac9: Pulling fs layer 12:10:58 23d2d4c4bb30: Pulling fs layer 12:10:58 ad3a456e5733: Waiting 12:10:58 33e27b845d1e: Waiting 12:10:58 c68163c4e522: Waiting 12:10:58 50da416c3ac9: Waiting 12:10:58 23d2d4c4bb30: Waiting 12:10:58 c4d48a809fc2: Verifying Checksum 12:10:58 c4d48a809fc2: Download complete 12:10:58 ad3a456e5733: Verifying Checksum 12:10:58 ad3a456e5733: Download complete 12:10:58 33e27b845d1e: Download complete 12:10:58 7264a8db6415: Verifying Checksum 12:10:58 7264a8db6415: Download complete 12:10:59 c68163c4e522: Verifying Checksum 12:10:59 c68163c4e522: Download complete 12:10:59 7264a8db6415: Pull complete 12:10:59 c4d48a809fc2: Pull complete 12:10:59 23d2d4c4bb30: Verifying Checksum 12:10:59 23d2d4c4bb30: Download complete 12:10:59 4f1c88b9dad5: Download complete 12:10:59 50da416c3ac9: Verifying Checksum 12:11:02 4f1c88b9dad5: Pull complete 12:11:02 ad3a456e5733: Pull complete 12:11:02 33e27b845d1e: Pull complete 12:11:02 c68163c4e522: Pull complete 12:11:05 50da416c3ac9: Pull complete 12:11:05 23d2d4c4bb30: Pull complete 12:11:05 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:11:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:11:05 ---> 0786185ac409 12:11:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:11:10 ---> Running in 68006c21b37c 12:11:10 Removing intermediate container 68006c21b37c 12:11:10 ---> 4279427254fc 12:11:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:11:11 ---> Running in af4c62c84365 12:11:11 Removing intermediate container af4c62c84365 12:11:11 ---> c14eba690d8d 12:11:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:11:11 ---> Running in a38d50611497 12:11:11 Removing intermediate container a38d50611497 12:11:11 ---> 75e0138c72a3 12:11:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:11:11 ---> Running in ec502169f9e9 12:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:11:11 OK: 264 MiB in 52 packages 12:11:12 Still waiting to schedule task 12:11:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:11:12 Removing intermediate container ec502169f9e9 12:11:12 ---> 65177a0170e9 12:11:12 Step 7/12 : WORKDIR /app 12:11:12 ---> Running in 4fc4c2c7eb1b 12:11:12 Removing intermediate container 4fc4c2c7eb1b 12:11:12 ---> 040af6775772 12:11:12 Step 8/12 : COPY go.mod vendor* ./ 12:11:12 ---> 0796e606837f 12:11:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:11:12 ---> Running in 08912d49c809 12:12:20 Removing intermediate container 08912d49c809 12:12:20 ---> c1906d20c8bb 12:12:20 Step 10/12 : COPY . . 12:12:20 ---> d4887fb0e47a 12:12:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:12:20 ---> Running in 0b0dfb49348d 12:12:20 Removing intermediate container 0b0dfb49348d 12:12:20 ---> 1515ff0e8ae4 12:12:20 Step 12/12 : RUN $MAKE 12:12:20 ---> Running in 6f6ccd7b33f9 12:12:20 noop 12:12:20 Removing intermediate container 6f6ccd7b33f9 12:12:20 ---> ef7bb767d0e7 12:12:20 Successfully built ef7bb767d0e7 12:12:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:20 + docker inspect -f . ci-base-image-x86_64 12:12:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:12:20 prd-ubuntu20.04-docker-8c-8g-9904 does not seem to be running inside a container 12:12:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-611 -v /w/workspace/_app-service-configurable_PR-611:/w/workspace/_app-service-configurable_PR-611:rw,z -v /w/workspace/_app-service-configurable_PR-611@tmp:/w/workspace/_app-service-configurable_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:12:21 $ docker top ca014acd6a83651017c7d8e6af6c89c18fbcfe6d6ad9aef6246550245f41b4de -eo pid,comm [Pipeline] { [Pipeline] sh 12:12:21 + go version 12:12:21 go version go1.21.0 linux/amd64 [Pipeline] } 12:12:21 $ docker stop --time=1 ca014acd6a83651017c7d8e6af6c89c18fbcfe6d6ad9aef6246550245f41b4de 12:12:22 $ docker rm -f --volumes ca014acd6a83651017c7d8e6af6c89c18fbcfe6d6ad9aef6246550245f41b4de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:23 + docker inspect -f . ci-base-image-x86_64 12:12:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:12:23 prd-ubuntu20.04-docker-8c-8g-9904 does not seem to be running inside a container 12:12:23 $ 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-611 -v /w/workspace/_app-service-configurable_PR-611:/w/workspace/_app-service-configurable_PR-611:rw,z -v /w/workspace/_app-service-configurable_PR-611@tmp:/w/workspace/_app-service-configurable_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:12:23 $ docker top 3fd95b447bcb76c236f5e2b648fb8ab59df952773cd5ecf476b813b0aa6658b1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:12:24 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-611 [Pipeline] fileExists [Pipeline] sh 12:12:24 + make test 12:12:24 go test -race -coverprofile=coverage.out ./... 12:12:42 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:12:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9905 in /w/workspace/_app-service-configurable_PR-611 [Pipeline] { [Pipeline] ws 12:12:59 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:12:59 Selected Git installation does not exist. Using Default 12:12:59 The recommended git tool is: NONE 12:13:01 go vet ./... 12:13:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:13:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:13:01 ./bin/test-attribution-txt.sh [Pipeline] echo 12:13:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:13:01 $ docker stop --time=1 3fd95b447bcb76c236f5e2b648fb8ab59df952773cd5ecf476b813b0aa6658b1 12:13:04 using credential edgex-jenkins-ssh 12:13:04 Cloning the remote Git repository 12:13:04 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:13:04 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:13:04 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:13:04 > git --version # timeout=10 12:13:04 > git --version # 'git version 2.25.1' 12:13:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:13:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:13:06 $ docker rm -f --volumes 3fd95b447bcb76c236f5e2b648fb8ab59df952773cd5ecf476b813b0aa6658b1 [Pipeline] // withDockerContainer [Pipeline] sh 12:13:06 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:13:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:13:06 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:13:06 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:13:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:13:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/611/head:refs/remotes/origin/PR-611 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:13:07 + sudo chown -R jenkins:jenkins . 12:13:07 Merging remotes/origin/main commit f689f4ba914cd94db4edcd504921ce235cc7ee6f into PR head commit cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 [Pipeline] stash 12:13:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 12:13:07 Merge succeeded, producing cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 12:13:07 Checking out Revision cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 (PR-611) [Pipeline] sh 12:13:08 + sudo chown -R jenkins:jenkins . 12:13:08 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" [Pipeline] sh 12:13:08 > git --version # timeout=10 12:13:08 > git --version # 'git version 2.25.1' 12:13:08 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 12:13:08 + ls -al . 12:13:08 total 184 12:13:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 12:12 . 12:13:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 12:10 .. 12:13:08 -rw-rw-r-- 1 jenkins jenkins 119 Oct 24 12:10 .dockerignore 12:13:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 12:12 .git 12:13:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 12:10 .github 12:13:08 -rw-rw-r-- 1 jenkins jenkins 171 Oct 24 12:10 .gitignore 12:13:08 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 12:10 .golangci.yml 12:13:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 12:10 .semver 12:13:08 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 24 12:10 Attribution.txt 12:13:08 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 24 12:10 CHANGELOG.md 12:13:08 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 24 12:10 Dockerfile 12:13:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 12:10 GOVERNANCE.md 12:13:08 -rw-rw-r-- 1 jenkins jenkins 688 Oct 24 12:10 Jenkinsfile 12:13:08 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 12:10 LICENSE 12:13:08 -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 12:10 OWNERS.md 12:13:08 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 24 12:10 README.md 12:13:08 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 12:10 VERSION 12:13:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 12:10 bin 12:13:08 -rw-r--r-- 1 jenkins jenkins 13 Oct 24 12:12 coverage.out 12:13:08 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 24 12:10 go.mod 12:13:08 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 24 12:10 go.sum 12:13:08 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 24 12:10 main.go 12:13:08 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 24 12:10 makefile 12:13:08 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 12:10 res 12:13:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 12:10 snap [Pipeline] isUnix 12:13:07 > git config core.sparsecheckout # timeout=10 12:13:07 > git checkout -f cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 # timeout=10 12:13:07 > git remote # timeout=10 12:13:07 > git config --get remote.origin.url # timeout=10 12:13:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:13:07 > git merge f689f4ba914cd94db4edcd504921ce235cc7ee6f # timeout=10 12:13:07 > git rev-parse HEAD^{commit} # timeout=10 12:13:07 > git config core.sparsecheckout # timeout=10 12:13:07 > git checkout -f cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 12:13:08 + 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=cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 --label arch=amd64 --label version=0.0.0 . 12:13:08 Sending build context to Docker daemon 3.385MB 12:13:08 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:13:08 Step 2/26 : FROM ${BASE} AS builder 12:13:08 ---> ef7bb767d0e7 12:13:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:13:08 ---> Running in 5380df650e6c [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:13:09 Removing intermediate container 5380df650e6c 12:13:09 ---> 8ff7430d0132 12:13:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:13:09 ---> Running in 5d30b95087b1 12:13:09 Removing intermediate container 5d30b95087b1 12:13:09 ---> 47b76ac9795c 12:13:09 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:13:09 ---> Running in 0cfcf5f70781 12:13:09 Removing intermediate container 0cfcf5f70781 12:13:09 ---> 0c94d0b228fc 12:13:09 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:13:09 ---> Running in c870f4d0d26b 12:13:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:13:09 % Total % Received % Xferd Average Speed Time Time Time Current 12:13:09 Dload Upload Total Spent Left Speed 12:13:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 77750 12:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] sh 12:13:09 OK: 264 MiB in 52 packages 12:13:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:13:10 Removing intermediate container c870f4d0d26b 12:13:10 ---> 0bbcb4cbdb3b 12:13:10 Step 7/26 : WORKDIR /app 12:13:10 ---> Running in b98abe752ff6 12:13:10 Removing intermediate container b98abe752ff6 12:13:10 ---> b5307eb93664 12:13:10 Step 8/26 : COPY go.mod vendor* ./ 12:13:10 ---> 034fa8b93771 12:13:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:13:10 ---> Running in 17f6926f2c48 12:13:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:13:10 + sudo tee /etc/docker/daemon.new 12:13:10 { 12:13:10 "registry-mirrors": [ 12:13:10 "https://nexus3.edgexfoundry.org:10001" 12:13:10 ], 12:13:10 "bip": "10.250.0.254/24", 12:13:10 "hosts": [ 12:13:10 "tcp://0.0.0.0:5555", 12:13:10 "unix:///var/run/docker.sock" 12:13:10 ], 12:13:10 "mtu": 1458, 12:13:10 "selinux-enabled": true, 12:13:10 "seccomp-profile": "/etc/docker/seccomp.json" 12:13:10 } [Pipeline] sh 12:13:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:13:11 Removing intermediate container 17f6926f2c48 12:13:11 ---> d54d5aa22975 12:13:11 Step 10/26 : COPY . . 12:13:11 + sudo service docker restart 12:13:11 ---> f783aebb66ad 12:13:11 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:13:11 ---> Running in b8770fcc7c59 12:13:11 Removing intermediate container b8770fcc7c59 12:13:11 ---> 805f548b0eda 12:13:11 Step 12/26 : RUN $MAKE 12:13:11 ---> Running in 21aceaa25580 12:13:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.46 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:29 provisioning config files... 12:13:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config10576107538248368549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:29 Removing intermediate container 21aceaa25580 12:13:29 ---> a4e9022feefe 12:13:29 Step 13/26 : FROM alpine:3.18 12:13:29 ---> docker-login.sh 12:13:29 nexus3.edgexfoundry.org:10001 12:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:30 3.18: Pulling from library/alpine 12:13:30 96526aa774ef: Pulling fs layer 12:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:30 Configure a credential helper to remove this warning. See 12:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:30 12:13:30 Login Succeeded 12:13:30 nexus3.edgexfoundry.org:10002 12:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:30 96526aa774ef: Verifying Checksum 12:13:30 96526aa774ef: Download complete 12:13:30 96526aa774ef: Pull complete 12:13:30 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:13:30 Status: Downloaded newer image for alpine:3.18 12:13:30 ---> 8ca4688f4f35 12:13:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:31 Configure a credential helper to remove this warning. See 12:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:31 12:13:31 Login Succeeded 12:13:31 nexus3.edgexfoundry.org:10003 12:13:31 ---> Running in 4b3ea92cdbd2 12:13:31 Removing intermediate container 4b3ea92cdbd2 12:13:31 ---> 7593938afe24 12:13:31 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:13:31 ---> Running in da07dc2e899d 12:13:31 Removing intermediate container da07dc2e899d 12:13:31 ---> 03cfd3213d41 12:13:31 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:13:31 ---> Running in 2eaa1c377f24 12:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:31 Configure a credential helper to remove this warning. See 12:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:31 12:13:31 Login Succeeded 12:13:31 nexus3.edgexfoundry.org:10004 12:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:31 Configure a credential helper to remove this warning. See 12:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:31 12:13:31 Login Succeeded 12:13:31 docker.io 12:13:31 (1/2) Installing ca-certificates (20230506-r0) 12:13:31 (2/2) Installing dumb-init (1.2.5-r2) 12:13:31 Executing busybox-1.36.1-r2.trigger 12:13:31 Executing ca-certificates-20230506-r0.trigger 12:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:32 OK: 8 MiB in 17 packages 12:13:32 Removing intermediate container 2eaa1c377f24 12:13:32 ---> 797da095dab6 12:13:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:13:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:32 Configure a credential helper to remove this warning. See 12:13:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:32 12:13:32 Login Succeeded 12:13:32 ---> docker-login.sh ends [Pipeline] } 12:13:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 12:13:32 ---> a29657154137 12:13:32 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:13:32 ---> 14a966b90edc 12:13:32 Step 19/26 : COPY --from=builder /app/res/ /res/ [Pipeline] unstash 12:13:32 ---> dc2f6154c30c 12:13:32 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable [Pipeline] echo 12:13:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:13:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:13:32 ========================================================= 12:13:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:13:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:33 ---> 7552fae96de1 12:13:33 Step 21/26 : EXPOSE 48095 12:13:33 ---> Running in 267e5aa1c4fb 12:13:33 Removing intermediate container 267e5aa1c4fb 12:13:33 ---> a9c07f49d9f3 12:13:33 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:13:33 ---> Running in 90372a9ae7f6 12:13:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:13:33 Sending build context to Docker daemon 181.2kB 12:13:33 Removing intermediate container 90372a9ae7f6 12:13:33 ---> 62c20335f897 12:13:33 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:13:33 ---> Running in 060931c0a4b1 12:13:33 Removing intermediate container 060931c0a4b1 12:13:33 ---> 31183c40d49b 12:13:33 Step 24/26 : LABEL arch=amd64 12:13:33 ---> Running in da79e99a75e2 12:13:33 Removing intermediate container da79e99a75e2 12:13:33 ---> bec62bbbf78f 12:13:33 Step 25/26 : LABEL git_sha=cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 12:13:33 ---> Running in 95b08d893964 12:13:33 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:13:33 Step 2/12 : FROM ${BASE} AS builder 12:13:33 Removing intermediate container 95b08d893964 12:13:33 ---> f470b6dc5ac0 12:13:33 Step 26/26 : LABEL version=0.0.0 12:13:33 ---> Running in ae0682b6ccf1 12:13:33 Removing intermediate container ae0682b6ccf1 12:13:33 ---> 4d0bcb913e66 12:13:33 [Warning] One or more build-args [ARCH] were not consumed 12:13:33 Successfully built 4d0bcb913e66 12:13:33 Successfully tagged app-service-configurable:latest [Pipeline] } 12:13:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:13:33 9fda8d8052c6: Pulling fs layer 12:13:33 5d54e960e981: Pulling fs layer 12:13:33 c4a7e357bf2a: Pulling fs layer 12:13:33 f0e02332f6b5: Pulling fs layer 12:13:33 cefa15bbcfad: Pulling fs layer 12:13:33 f0e02332f6b5: Waiting 12:13:33 17808c966233: Pulling fs layer 12:13:33 cefa15bbcfad: Waiting 12:13:33 f4c1fc716caa: Pulling fs layer 12:13:33 17808c966233: Waiting 12:13:33 f4c1fc716caa: Waiting 12:13:33 5d54e960e981: Verifying Checksum 12:13:33 5d54e960e981: Download complete 12:13:33 f0e02332f6b5: Verifying Checksum 12:13:33 f0e02332f6b5: Download complete 12:13:33 cefa15bbcfad: Verifying Checksum 12:13:33 cefa15bbcfad: Download complete 12:13:33 9fda8d8052c6: Verifying Checksum 12:13:33 9fda8d8052c6: Download complete [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] { 12:13:34 f4c1fc716caa: Verifying Checksum 12:13:34 f4c1fc716caa: Download complete [Pipeline] sh 12:13:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:34 12:13:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:35 9fda8d8052c6: Pull complete 12:13:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:35 latest: Pulling from edgex-lftools-log-publisher 12:13:35 5eb5b503b376: Pulling fs layer 12:13:35 5c69ac0246d0: Pulling fs layer 12:13:35 ec43610c2a17: Pulling fs layer 12:13:35 3a2ae6a8a46f: Pulling fs layer 12:13:35 33b1e0a273af: Pulling fs layer 12:13:35 5d3b04190fa2: Pulling fs layer 12:13:35 2f39f015ded8: Pulling fs layer 12:13:35 33b1e0a273af: Waiting 12:13:35 5d3b04190fa2: Waiting 12:13:35 2f39f015ded8: Waiting 12:13:35 3a2ae6a8a46f: Waiting 12:13:35 5c69ac0246d0: Download complete 12:13:35 3a2ae6a8a46f: Download complete 12:13:35 33b1e0a273af: Verifying Checksum 12:13:35 33b1e0a273af: Download complete 12:13:35 5d3b04190fa2: Verifying Checksum 12:13:35 5d3b04190fa2: Download complete 12:13:35 ec43610c2a17: Verifying Checksum 12:13:35 ec43610c2a17: Download complete 12:13:35 5eb5b503b376: Verifying Checksum 12:13:35 5eb5b503b376: Download complete 12:13:35 5d54e960e981: Pull complete 12:13:36 2f39f015ded8: Download complete 12:13:36 c4a7e357bf2a: Verifying Checksum 12:13:36 c4a7e357bf2a: Download complete 12:13:36 5eb5b503b376: Pull complete 12:13:36 5c69ac0246d0: Pull complete 12:13:37 ec43610c2a17: Pull complete 12:13:37 3a2ae6a8a46f: Pull complete 12:13:37 33b1e0a273af: Pull complete 12:13:37 5d3b04190fa2: Pull complete 12:13:37 17808c966233: Verifying Checksum 12:13:37 17808c966233: Download complete 12:13:41 2f39f015ded8: Pull complete 12:13:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:13:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:13:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:41 prd-ubuntu20.04-docker-8c-8g-9904 does not seem to be running inside a container 12:13:41 $ 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-611 -v /w/workspace/_app-service-configurable_PR-611:/w/workspace/_app-service-configurable_PR-611:rw,z -v /w/workspace/_app-service-configurable_PR-611@tmp:/w/workspace/_app-service-configurable_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:13:46 $ docker top 3234e0bfbadd5b0c33b1f173fcb05e9a5113480fbcc788e88049faabe595f57e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:47 ---> job-cost.sh 12:13:47 lf-activate-venv: SKIPPING 12:13:47 INFO: No Stack... 12:13:47 INFO: Retrieving Pricing Info for: v3-standard-8 12:13:47 INFO: Archiving Costs [Pipeline] sh 12:13:48 + cat /w/workspace/_app-service-configurable_PR-611/archives/cost.csv 12:13:48 + cut -d, -f6 [Pipeline] lock 12:13:48 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-611-1-stack-cost] 12:13:48 Resource [jenkins-edgexfoundry-app-service-configurable-PR-611-1-stack-cost] did not exist. Created. 12:13:48 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-611-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:13:48 + echo total: 0.2199999988079071 [Pipeline] stash 12:13:48 Stashed 1 file(s) [Pipeline] } 12:13:48 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-611-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:13:48 $ docker stop --time=1 3234e0bfbadd5b0c33b1f173fcb05e9a5113480fbcc788e88049faabe595f57e 12:13:49 $ docker rm -f --volumes 3234e0bfbadd5b0c33b1f173fcb05e9a5113480fbcc788e88049faabe595f57e 12:13:49 c4a7e357bf2a: Pull complete 12:13:49 f0e02332f6b5: Pull complete 12:13:49 cefa15bbcfad: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:13:58 17808c966233: Pull complete 12:14:00 f4c1fc716caa: Pull complete 12:14:00 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:14:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:14:00 ---> ea914061e18c 12:14:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:14:00 ---> Running in 265c88d13299 12:14:00 Removing intermediate container 265c88d13299 12:14:00 ---> 01f9876de80d 12:14:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:14:01 ---> Running in 6cc52cf32197 12:14:01 Removing intermediate container 6cc52cf32197 12:14:01 ---> efa2bc694828 12:14:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:14:01 ---> Running in 5c50f05083f0 12:14:02 Removing intermediate container 5c50f05083f0 12:14:02 ---> c6a09ad79417 12:14:02 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:14:02 ---> Running in 31d3d561878a 12:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:14:04 OK: 266 MiB in 52 packages 12:14:08 Removing intermediate container 31d3d561878a 12:14:08 ---> 6b63d32388c6 12:14:08 Step 7/12 : WORKDIR /app 12:14:08 ---> Running in 1f6f72949ac7 12:14:09 Removing intermediate container 1f6f72949ac7 12:14:09 ---> accbd78059ed 12:14:09 Step 8/12 : COPY go.mod vendor* ./ 12:14:09 ---> 89340edd28ce 12:14:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:14:09 ---> Running in de9d8e525c53 12:15:46 Removing intermediate container de9d8e525c53 12:15:46 ---> ab843b4b5228 12:15:46 Step 10/12 : COPY . . 12:15:46 ---> 12a0e8372b2d 12:15:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:15:46 ---> Running in f017df0f434a 12:15:46 Removing intermediate container f017df0f434a 12:15:46 ---> b3a40d3359a4 12:15:46 Step 12/12 : RUN $MAKE 12:15:46 ---> Running in 694edecf0304 12:15:46 noop 12:15:46 Removing intermediate container 694edecf0304 12:15:46 ---> 29be8d452d9d 12:15:46 Successfully built 29be8d452d9d 12:15:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:46 + docker inspect -f . ci-base-image-arm64 12:15:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:47 prd-ubuntu20.04-docker-arm64-4c-16g-9905 does not seem to be running inside a container 12:15:47 $ 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 ******** ci-base-image-arm64 cat 12:15:48 $ docker top 874971821b1b53370fe99da548a978b5f249a3c2c153cf38bd781fe1d09024e7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:49 + go version 12:15:49 go version go1.21.0 linux/arm64 [Pipeline] } 12:15:49 $ docker stop --time=1 874971821b1b53370fe99da548a978b5f249a3c2c153cf38bd781fe1d09024e7 12:15:50 $ docker rm -f --volumes 874971821b1b53370fe99da548a978b5f249a3c2c153cf38bd781fe1d09024e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:51 + docker inspect -f . ci-base-image-arm64 12:15:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:51 prd-ubuntu20.04-docker-arm64-4c-16g-9905 does not seem to be running inside a container 12:15:51 $ 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 ******** ci-base-image-arm64 cat 12:15:54 $ docker top 56fa560383b212d185911fb09366b142cc925c1353c94e940eb34180f2164ea0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:55 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:15:55 + make test 12:15:55 go test -race -coverprofile=coverage.out ./... 12:18:02 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:18:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:18:02 go vet ./... 12:19:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:19:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:19:38 ./bin/test-attribution-txt.sh [Pipeline] echo 12:19:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:19:38 $ docker stop --time=1 56fa560383b212d185911fb09366b142cc925c1353c94e940eb34180f2164ea0 12:19:40 $ docker rm -f --volumes 56fa560383b212d185911fb09366b142cc925c1353c94e940eb34180f2164ea0 [Pipeline] // withDockerContainer [Pipeline] sh 12:19:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:19:42 Warning: overwriting stash ‘coverage-report’ 12:19:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:19:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:19:43 + ls -al . 12:19:43 total 180 12:19:43 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 12:15 . 12:19:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 12:13 .. 12:19:43 -rw-rw-r-- 1 jenkins jenkins 119 Oct 24 12:13 .dockerignore 12:19:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 12:13 .git 12:19:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 12:13 .github 12:19:43 -rw-rw-r-- 1 jenkins jenkins 171 Oct 24 12:13 .gitignore 12:19:43 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 12:13 .golangci.yml 12:19:43 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 24 12:13 Attribution.txt 12:19:43 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 24 12:13 CHANGELOG.md 12:19:43 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 24 12:13 Dockerfile 12:19:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 12:13 GOVERNANCE.md 12:19:43 -rw-rw-r-- 1 jenkins jenkins 688 Oct 24 12:13 Jenkinsfile 12:19:43 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 12:13 LICENSE 12:19:43 -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 12:13 OWNERS.md 12:19:43 -rw-rw-r-- 1 jenkins jenkins 4619 Oct 24 12:13 README.md 12:19:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 12:10 VERSION 12:19:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 12:13 bin 12:19:43 -rw-r--r-- 1 jenkins jenkins 13 Oct 24 12:15 coverage.out 12:19:43 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 24 12:13 go.mod 12:19:43 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 24 12:13 go.sum 12:19:43 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 24 12:13 main.go 12:19:43 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 24 12:13 makefile 12:19:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 12:13 res 12:19:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 12:13 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:19:44 + 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=cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 --label arch=arm64 --label version=0.0.0 . 12:19:44 Sending build context to Docker daemon 182.3kB 12:19:44 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:19:44 Step 2/26 : FROM ${BASE} AS builder 12:19:44 ---> 29be8d452d9d 12:19:44 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:19:44 ---> Running in 02e701a2121d 12:19:44 Removing intermediate container 02e701a2121d 12:19:44 ---> 9300b067f465 12:19:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:19:44 ---> Running in 5177de677371 12:19:45 Removing intermediate container 5177de677371 12:19:45 ---> 18c8177111eb 12:19:45 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:19:45 ---> Running in c9e4bc01986c 12:19:45 Removing intermediate container c9e4bc01986c 12:19:45 ---> 9f51465ba238 12:19:45 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:19:45 ---> Running in 5fbb99b3b9ca 12:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:19:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:19:47 OK: 266 MiB in 52 packages 12:19:48 Removing intermediate container 5fbb99b3b9ca 12:19:48 ---> fa0fd25d259e 12:19:48 Step 7/26 : WORKDIR /app 12:19:48 ---> Running in 969963bacc13 12:19:49 Removing intermediate container 969963bacc13 12:19:49 ---> c8458557ac18 12:19:49 Step 8/26 : COPY go.mod vendor* ./ 12:19:49 ---> 6c5e493e20db 12:19:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:19:49 ---> Running in 53ec9449867c 12:19:52 Removing intermediate container 53ec9449867c 12:19:52 ---> b649b11edfbe 12:19:52 Step 10/26 : COPY . . 12:19:56 ---> 7bb9290c9ab9 12:19:56 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:19:56 ---> Running in 7f4a16f0831f 12:19:56 Removing intermediate container 7f4a16f0831f 12:19:56 ---> 6fa0d564c47e 12:19:56 Step 12/26 : RUN $MAKE 12:19:57 ---> Running in 447ce49c60a3 12:19:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.46 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:21:49 Removing intermediate container 447ce49c60a3 12:21:49 ---> 52b4d64bfaac 12:21:49 Step 13/26 : FROM alpine:3.18 12:21:49 3.18: Pulling from library/alpine 12:21:49 579b34f0a95b: Pulling fs layer 12:21:49 579b34f0a95b: Download complete 12:21:49 579b34f0a95b: Pull complete 12:21:49 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:21:49 Status: Downloaded newer image for alpine:3.18 12:21:49 ---> 3cc203321400 12:21:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:21:49 ---> Running in 4edc09135a2a 12:21:49 Removing intermediate container 4edc09135a2a 12:21:49 ---> 49978bdaf92c 12:21:49 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:21:49 ---> Running in cdccb8170621 12:21:49 Removing intermediate container cdccb8170621 12:21:49 ---> c31de23546e2 12:21:49 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:21:49 ---> Running in 0fa52a2218ee 12:21:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:21:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:21:49 (1/2) Installing ca-certificates (20230506-r0) 12:21:49 (2/2) Installing dumb-init (1.2.5-r2) 12:21:49 Executing busybox-1.36.1-r2.trigger 12:21:49 Executing ca-certificates-20230506-r0.trigger 12:21:49 OK: 9 MiB in 17 packages 12:21:49 Removing intermediate container 0fa52a2218ee 12:21:49 ---> 4ce2743127fe 12:21:49 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:21:49 ---> 3bb93eae9ffa 12:21:49 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:21:49 ---> 4f9489da0f62 12:21:49 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:21:49 ---> f053cf55a4eb 12:21:49 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:21:49 ---> 25e2e942fd7b 12:21:49 Step 21/26 : EXPOSE 48095 12:21:49 ---> Running in 86ac2d71e039 12:21:49 Removing intermediate container 86ac2d71e039 12:21:49 ---> 88e9fcb0f80a 12:21:49 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:21:49 ---> Running in cfc4c00776e0 12:21:49 Removing intermediate container cfc4c00776e0 12:21:49 ---> 373d15773010 12:21:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:21:49 ---> Running in 74304ed9846e 12:21:49 Removing intermediate container 74304ed9846e 12:21:49 ---> 3c291696c9b8 12:21:49 Step 24/26 : LABEL arch=arm64 12:21:49 ---> Running in e6da96f07c75 12:21:49 Removing intermediate container e6da96f07c75 12:21:49 ---> 9f10f3e9c692 12:21:49 Step 25/26 : LABEL git_sha=cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 12:21:49 ---> Running in 047ce542c8b9 12:21:50 Removing intermediate container 047ce542c8b9 12:21:50 ---> f5af36cd5b21 12:21:50 Step 26/26 : LABEL version=0.0.0 12:21:50 ---> Running in 5bdb228f2694 12:21:50 Removing intermediate container 5bdb228f2694 12:21:50 ---> ea76d5923d98 12:21:50 [Warning] One or more build-args [ARCH] were not consumed 12:21:50 Successfully built ea76d5923d98 12:21:50 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:51 12:21:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:51 arm64: Pulling from edgex-lftools-log-publisher 12:21:51 8998bd30e6a1: Pulling fs layer 12:21:51 04944245beec: Pulling fs layer 12:21:51 699f458cf7ca: Pulling fs layer 12:21:51 765212b225bb: Pulling fs layer 12:21:51 f23df028b6ca: Pulling fs layer 12:21:51 d65c8cfc05b1: Pulling fs layer 12:21:51 2437ff75d9bd: Pulling fs layer 12:21:51 f23df028b6ca: Waiting 12:21:51 765212b225bb: Waiting 12:21:51 d65c8cfc05b1: Waiting 12:21:51 2437ff75d9bd: Waiting 12:21:51 04944245beec: Verifying Checksum 12:21:51 04944245beec: Download complete 12:21:51 765212b225bb: Verifying Checksum 12:21:51 765212b225bb: Download complete 12:21:51 f23df028b6ca: Verifying Checksum 12:21:51 f23df028b6ca: Download complete 12:21:51 d65c8cfc05b1: Download complete 12:21:52 699f458cf7ca: Verifying Checksum 12:21:52 699f458cf7ca: Download complete 12:21:52 8998bd30e6a1: Verifying Checksum 12:21:52 8998bd30e6a1: Download complete 12:21:55 2437ff75d9bd: Verifying Checksum 12:21:55 2437ff75d9bd: Download complete 12:21:57 8998bd30e6a1: Pull complete 12:21:57 04944245beec: Pull complete 12:21:59 699f458cf7ca: Pull complete 12:21:59 765212b225bb: Pull complete 12:22:00 f23df028b6ca: Pull complete 12:22:00 d65c8cfc05b1: Pull complete 12:22:14 2437ff75d9bd: Pull complete 12:22:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:22:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:22:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:15 prd-ubuntu20.04-docker-arm64-4c-16g-9905 does not seem to be running inside a container 12:22:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:22:18 $ docker top f18393e1191d571cb98b10a73eec5ff1dd5978230c80270f66c3b77344b33fdd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:22:18 ---> job-cost.sh 12:22:18 lf-activate-venv: SKIPPING 12:22:18 INFO: No Stack... 12:22:19 INFO: Retrieving Pricing Info for: v3-standard-4 12:22:20 INFO: Archiving Costs [Pipeline] sh 12:22:20 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:22:20 + cut -d, -f6 [Pipeline] lock 12:22:20 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-611-1-stack-cost] 12:22:20 Resource [jenkins-edgexfoundry-app-service-configurable-PR-611-1-stack-cost] did not exist. Created. 12:22:20 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-611-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:22:21 /w/workspace/app-service-configurable/1@tmp/durable-a8d8e200/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:22:22 + echo total: 0.10999999940395355 [Pipeline] stash 12:22:22 Warning: overwriting stash ‘stack-cost’ 12:22:22 Stashed 1 file(s) [Pipeline] } 12:22:22 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-611-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:22:22 $ docker stop --time=1 f18393e1191d571cb98b10a73eec5ff1dd5978230c80270f66c3b77344b33fdd 12:22:24 $ docker rm -f --volumes f18393e1191d571cb98b10a73eec5ff1dd5978230c80270f66c3b77344b33fdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:22:25 provisioning config files... 12:22:25 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-611@tmp/config15477567900462110728tmp [Pipeline] { [Pipeline] sh 12:22:26 + set +x 12:22:26 + curl -s https://codecov.io/bash 12:22:26 + bash -s -- 12:22:26 12:22:26 _____ _ 12:22:26 / ____| | | 12:22:26 | | ___ __| | ___ ___ _____ __ 12:22:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:22:26 | |___| (_) | (_| | __/ (_| (_) \ V / 12:22:26 \_____\___/ \__,_|\___|\___\___/ \_/ 12:22:26 Bash-1.0.6 12:22:26 12:22:26 12:22:26 ==> git version 2.25.1 found 12:22:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:22:26 Release-Date: 2020-01-08 12:22:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:22:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:22:26 ==> Jenkins CI detected. 12:22:26 current dir:  /w/workspace/_app-service-configurable_PR-611 12:22:26 project root: . 12:22:26 --> token set from env 12:22:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:22:26 ==> Running gcov in . (disable via -X gcov) 12:22:26 ==> Python coveragepy not found 12:22:26 ==> Searching for coverage reports in: 12:22:26 + . 12:22:26 -> Found 1 reports 12:22:26 ==> Detecting git/mercurial file structure 12:22:26 ==> Reading reports 12:22:26 + ./coverage.out bytes=13 12:22:26 ==> Appending adjustments 12:22:26 https://docs.codecov.io/docs/fixing-reports 12:22:26 + Found adjustments 12:22:26 ==> Gzipping contents 12:22:26 4.0K /tmp/codecov.oAXMV8.gz 12:22:26 ==> Uploading reports 12:22:26 url: https://codecov.io 12:22:26 query: branch=PR-611&commit=cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-611%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=611&job=&cmd_args= 12:22:26 -> Pinging Codecov 12:22:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-611&commit=cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-611%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=611&job=&cmd_args= 12:22:26 -> Uploading to 12:22:26 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/A97CA9966030D2A3747ED39772930CCE/cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6/855525fd-8572-43b5-ae0d-d591662784bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T122226Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=68d26f67bb9d8067bbf75cdb1223b18302e5d7aea692fa19532c0a0db293e397 12:22:26 % Total % Received % Xferd Average Speed Time Time Time Current 12:22:26 Dload Upload Total Spent Left Speed 12:22:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1484 --:--:-- --:--:-- --:--:-- 1484 12:22:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/cfa7d45f93df14f11b0aa1dd74dfdb15fc5edcc6 [Pipeline] } 12:22:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:22:28 + [ -d /w/workspace/_app-service-configurable_PR-611/archives ] 12:22:28 + ls -al /w/workspace/_app-service-configurable_PR-611/archives 12:22:28 total 16 12:22:28 drwxr-xr-x 3 root root 4096 Oct 24 12:13 . 12:22:28 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 12:13 .. 12:22:28 drwxr-xr-x 2 root root 4096 Oct 24 12:13 cost 12:22:28 -rw-r--r-- 1 root root 96 Oct 24 12:13 cost.csv 12:22:28 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-611/archives 12:22:28 + ls -al /w/workspace/_app-service-configurable_PR-611/archives 12:22:28 total 16 12:22:28 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 12:13 . 12:22:28 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 12:13 .. 12:22:28 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 12:13 cost 12:22:28 -rw-r--r-- 1 jenkins jenkins 96 Oct 24 12:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:22:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:22:30 ---> package-listing.sh 12:22:30 ++ facter osfamily 12:22:30 ++ tr '[:upper:]' '[:lower:]' 12:22:30 + OS_FAMILY=debian 12:22:30 + workspace=/w/workspace/_app-service-configurable_PR-611 12:22:30 + START_PACKAGES=/tmp/packages_start.txt 12:22:30 + END_PACKAGES=/tmp/packages_end.txt 12:22:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:22:30 + PACKAGES=/tmp/packages_start.txt 12:22:30 + '[' /w/workspace/_app-service-configurable_PR-611 ']' 12:22:30 + PACKAGES=/tmp/packages_end.txt 12:22:30 + case "${OS_FAMILY}" in 12:22:30 + dpkg -l 12:22:30 + grep '^ii' 12:22:30 + '[' -f /tmp/packages_start.txt ']' 12:22:30 + '[' -f /tmp/packages_end.txt ']' 12:22:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:22:30 + '[' /w/workspace/_app-service-configurable_PR-611 ']' 12:22:30 + mkdir -p /w/workspace/_app-service-configurable_PR-611/archives/ 12:22:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-611/archives/ [Pipeline] echo 12:22:30 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-611/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:22:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:22:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:31 prd-ubuntu20.04-docker-8c-8g-9904 does not seem to be running inside a container 12:22:31 $ 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-611/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-611 -v /w/workspace/_app-service-configurable_PR-611:/w/workspace/_app-service-configurable_PR-611:rw,z -v /w/workspace/_app-service-configurable_PR-611@tmp:/w/workspace/_app-service-configurable_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:22:31 $ docker top 3e4589aacb9377441cea2d29b58fe19f9f47d475463a797d8478ae54d43b9a6a -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:32 + touch /tmp/pre-build-complete [Pipeline] sh 12:22:32 + mkdir -p /var/log/sysstat [Pipeline] sh 12:22:32 + ls /var/log/sa-host 12:22:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:22:32 provisioning config files... 12:22:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-611@tmp/config3535008158899099493tmp [Pipeline] { [Pipeline] echo 12:22:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:22:33 ---> create-netrc.sh [Pipeline] } 12:22:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:22:33 ---> python-tools-install.sh [Pipeline] echo 12:22:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:22:33 ---> sudo-logs.sh 12:22:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:22:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:22:34 ---> job-cost.sh 12:22:34 lf-activate-venv: SKIPPING 12:22:34 DEBUG: total: 0.2199999988079071 12:22:34 INFO: Retrieving Stack Cost... 12:22:34 INFO: Retrieving Pricing Info for: v3-standard-8 12:22:35 INFO: Archiving Costs [Pipeline] echo 12:22:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:22:35 ---> logs-deploy.sh 12:22:35 lf-activate-venv: SKIPPING 12:22:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-611/1 12:22:35 INFO: archiving workspace using pattern(s): 12:22:36 Archives upload complete. 12:22:36 INFO: archiving logs to Nexus