Pull request #584 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 26b93c6358d1976bbdea6c8c16d65e092b814248 rather than 357094029c4846546760802e9cdb64a15fe4e1ed Obtained Jenkinsfile from 26b93c6358d1976bbdea6c8c16d65e092b814248 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-ssh8163482085026034738.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh17983692209226093007.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-584/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-584/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5388190392094700605.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 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-ssh5749614884211607549.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-584/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-584/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6275574150481288065.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-3184’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3186 in /w/workspace/_app-service-configurable_PR-584 [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-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 26b93c6358d1976bbdea6c8c16d65e092b814248 into PR head commit 357094029c4846546760802e9cdb64a15fe4e1ed Merge succeeded, producing 357094029c4846546760802e9cdb64a15fe4e1ed Checking out Revision 357094029c4846546760802e9cdb64a15fe4e1ed (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f 357094029c4846546760802e9cdb64a15fe4e1ed # 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 26b93c6358d1976bbdea6c8c16d65e092b814248 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 357094029c4846546760802e9cdb64a15fe4e1ed # timeout=10 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" First time build. Skipping changelog. > git rev-list --no-walk a43622ac43dc25ed43226d9ad7c49f5b900899b8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:00:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:00:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:00:58 ========================================================= 08:00:58 EdgeX Global Pipelines Version Info 08:00:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:00:59 ------------------- 08:00:59 stable info: 08:00:59 ------------------- 08:00:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:00:59 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 08:00:59 Message: update stable to v1.0.250 08:00:59 ------------------- 08:00:59 experimental info: 08:00:59 ------------------- 08:00:59 Commited By: **** collab-it+edgex@linuxfoundation.org 08:00:59 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 08:00:59 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 357094029c4846546760802e9cdb64a15fe4e1ed [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3570940 [Pipeline] echo 08:01:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:01:00 provisioning config files... 08:01:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-584@tmp/config16938128588139701902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:00 ---> docker-login.sh 08:01:00 nexus3.edgexfoundry.org:10001 08:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:01 Configure a credential helper to remove this warning. See 08:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:01 08:01:01 Login Succeeded 08:01:01 nexus3.edgexfoundry.org:10002 08:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:01 Configure a credential helper to remove this warning. See 08:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:01 08:01:01 Login Succeeded 08:01:01 nexus3.edgexfoundry.org:10003 08:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:01 Configure a credential helper to remove this warning. See 08:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:01 08:01:01 Login Succeeded 08:01:01 nexus3.edgexfoundry.org:10004 08:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:01 Configure a credential helper to remove this warning. See 08:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:01 08:01:01 Login Succeeded 08:01:01 docker.io 08:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:01 Configure a credential helper to remove this warning. See 08:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:01 08:01:01 Login Succeeded 08:01:01 ---> docker-login.sh ends [Pipeline] } 08:01:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:01:02 + git rev-list -1 --merges 357094029c4846546760802e9cdb64a15fe4e1ed~1..357094029c4846546760802e9cdb64a15fe4e1ed [Pipeline] echo 08:01:02 -----------> git rev-list -1 --merges 357094029c4846546760802e9cdb64a15fe4e1ed~1..357094029c4846546760802e9cdb64a15fe4e1ed 357094029c4846546760802e9cdb64a15fe4e1ed [false] [Pipeline] sh 08:01:02 + git log --format=format:%s -1 357094029c4846546760802e9cdb64a15fe4e1ed [Pipeline] echo 08:01:02 ========================================================= 08:01:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:01:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:03 + git log --format=format:%s -1 357094029c4846546760802e9cdb64a15fe4e1ed [Pipeline] echo 08:01:03 [semverPrep] GIT_COMMIT: 357094029c4846546760802e9cdb64a15fe4e1ed, Commit Message: refactor: Remove github.com/pkg/errors from Attribution.txt [Pipeline] echo 08:01:03 [semverPrep] This is not a build commit. [Pipeline] sh 08:01:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:01:03 + grep -v github /etc/ssh/ssh_known_hosts 08:01:03 + [ -e /tmp/ssh_known_hosts ] 08:01:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:01:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:01:03 + sudo tee -a /etc/ssh/ssh_known_hosts 08:01:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:01:03 08:01:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:01:04 0.1.4: Pulling from edgex-devops/py-git-semver 08:01:04 b85a868b505f: Pulling fs layer 08:01:04 e2be974225ed: Pulling fs layer 08:01:04 339a4e72a1f5: Pulling fs layer 08:01:04 988bab9f4d93: Pulling fs layer 08:01:04 1469e6f7b9e6: Pulling fs layer 08:01:04 eaf3925da568: Pulling fs layer 08:01:04 bab4dde63d76: Pulling fs layer 08:01:04 bde34c3a00c8: Pulling fs layer 08:01:04 b352a97aabf1: Pulling fs layer 08:01:04 4872d77fe225: Pulling fs layer 08:01:04 5851b861e8e6: Pulling fs layer 08:01:04 bde34c3a00c8: Waiting 08:01:04 988bab9f4d93: Waiting 08:01:04 b352a97aabf1: Waiting 08:01:04 4872d77fe225: Waiting 08:01:04 5851b861e8e6: Waiting 08:01:04 1469e6f7b9e6: Waiting 08:01:04 eaf3925da568: Waiting 08:01:04 bab4dde63d76: Waiting 08:01:04 e2be974225ed: Verifying Checksum 08:01:04 e2be974225ed: Download complete 08:01:04 988bab9f4d93: Verifying Checksum 08:01:04 988bab9f4d93: Download complete 08:01:04 1469e6f7b9e6: Verifying Checksum 08:01:04 1469e6f7b9e6: Download complete 08:01:04 eaf3925da568: Verifying Checksum 08:01:04 eaf3925da568: Download complete 08:01:04 339a4e72a1f5: Verifying Checksum 08:01:04 339a4e72a1f5: Download complete 08:01:04 bde34c3a00c8: Verifying Checksum 08:01:04 bde34c3a00c8: Download complete 08:01:04 b352a97aabf1: Verifying Checksum 08:01:04 b352a97aabf1: Download complete 08:01:04 4872d77fe225: Verifying Checksum 08:01:04 4872d77fe225: Download complete 08:01:04 5851b861e8e6: Verifying Checksum 08:01:04 5851b861e8e6: Download complete 08:01:04 b85a868b505f: Verifying Checksum 08:01:04 b85a868b505f: Download complete 08:01:04 bab4dde63d76: Verifying Checksum 08:01:04 bab4dde63d76: Download complete 08:01:05 b85a868b505f: Pull complete 08:01:05 e2be974225ed: Pull complete 08:01:06 339a4e72a1f5: Pull complete 08:01:06 988bab9f4d93: Pull complete 08:01:06 1469e6f7b9e6: Pull complete 08:01:06 eaf3925da568: Pull complete 08:01:08 bab4dde63d76: Pull complete 08:01:08 bde34c3a00c8: Pull complete 08:01:08 b352a97aabf1: Pull complete 08:01:08 4872d77fe225: Pull complete 08:01:08 5851b861e8e6: Pull complete 08:01:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:01:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:01:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:01:08 prd-ubuntu20.04-docker-8c-8g-3186 does not seem to be running inside a container 08:01:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-584 -v /w/workspace/_app-service-configurable_PR-584:/w/workspace/_app-service-configurable_PR-584:rw,z -v /w/workspace/_app-service-configurable_PR-584@tmp:/w/workspace/_app-service-configurable_PR-584@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:01:12 $ docker top 7eda3e591027183f7bb4ef6fbe6e28ca3b35038cd1d181e23c1d8e05c68d0ee4 -eo pid,comm 08:01:12 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). 08:01:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:01:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:01:12 [ssh-agent] Looking for ssh-agent implementation... 08:01:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:01:12 $ docker exec 7eda3e591027183f7bb4ef6fbe6e28ca3b35038cd1d181e23c1d8e05c68d0ee4 ssh-agent 08:01:13 SSH_AUTH_SOCK=/tmp/ssh-xksmQ9rRLCVB/agent.32 08:01:13 SSH_AGENT_PID=38 08:01:13 Running ssh-add (command line suppressed) 08:01:13 Identity added: /w/workspace/_app-service-configurable_PR-584@tmp/private_key_4404322879273212681.key (/w/workspace/_app-service-configurable_PR-584@tmp/private_key_4404322879273212681.key) 08:01:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:01:13 + git tag --points-at HEAD [Pipeline] } 08:01:13 $ docker exec --env ******** --env ******** 7eda3e591027183f7bb4ef6fbe6e28ca3b35038cd1d181e23c1d8e05c68d0ee4 ssh-agent -k 08:01:13 unset SSH_AUTH_SOCK; 08:01:13 unset SSH_AGENT_PID; 08:01:13 echo Agent pid 38 killed; 08:01:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:01:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:01:13 [ssh-agent] Looking for ssh-agent implementation... 08:01:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:01:13 $ docker exec 7eda3e591027183f7bb4ef6fbe6e28ca3b35038cd1d181e23c1d8e05c68d0ee4 ssh-agent 08:01:13 SSH_AUTH_SOCK=/tmp/ssh-VX7goD6oMMm1/agent.70 08:01:13 SSH_AGENT_PID=76 08:01:13 Running ssh-add (command line suppressed) 08:01:13 Identity added: /w/workspace/_app-service-configurable_PR-584@tmp/private_key_2980085468475151090.key (/w/workspace/_app-service-configurable_PR-584@tmp/private_key_2980085468475151090.key) 08:01:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:01:14 + git semver init 08:01:14 2023-08-09 08:01:14,426 [run_init] DEBUG init version:0.0.0 force:False 08:01:14 2023-08-09 08:01:14,427 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-584/.semver 08:01:14 2023-08-09 08:01:14,427 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-584/.semver 08:01:14 2023-08-09 08:01:14,427 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-584/.semver'], cwd=/w/workspace/_app-service-configurable_PR-584, universal_newlines=False, shell=None, istream=None) 08:01:15 2023-08-09 08:01:15,240 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-584/.git/info/exclude 08:01:15 2023-08-09 08:01:15,241 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-584/.semver/PR-584 with force:False 08:01:15 2023-08-09 08:01:15,241 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-584/.semver/PR-584 08:01:15 2023-08-09 08:01:15,244 [execute] INFO git cat-file --batch-check 08:01:15 2023-08-09 08:01:15,244 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-584/.semver, universal_newlines=False, shell=None, istream=) 08:01:15 2023-08-09 08:01:15,250 [execute] INFO git cat-file --batch 08:01:15 2023-08-09 08:01:15,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-584/.semver, universal_newlines=False, shell=None, istream=) 08:01:15 2023-08-09 08:01:15,257 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-584/.semver/PR-584 08:01:15 0.0.0 [Pipeline] } 08:01:15 $ docker exec --env ******** --env ******** 7eda3e591027183f7bb4ef6fbe6e28ca3b35038cd1d181e23c1d8e05c68d0ee4 ssh-agent -k 08:01:15 unset SSH_AUTH_SOCK; 08:01:15 unset SSH_AGENT_PID; 08:01:15 echo Agent pid 76 killed; 08:01:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:01:15 + git semver [Pipeline] } 08:01:16 $ docker stop --time=1 7eda3e591027183f7bb4ef6fbe6e28ca3b35038cd1d181e23c1d8e05c68d0ee4 08:01:17 $ docker rm -f --volumes 7eda3e591027183f7bb4ef6fbe6e28ca3b35038cd1d181e23c1d8e05c68d0ee4 [Pipeline] // withDockerContainer [Pipeline] sh 08:01:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:01:18 Stashed 1 file(s) [Pipeline] echo 08:01:18 [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 08:01:18 provisioning config files... 08:01:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-584@tmp/config9786348627107167065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:01:18 ---> docker-login.sh 08:01:18 nexus3.edgexfoundry.org:10001 08:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:18 Configure a credential helper to remove this warning. See 08:01:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:18 08:01:18 Login Succeeded 08:01:18 nexus3.edgexfoundry.org:10002 08:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:18 Configure a credential helper to remove this warning. See 08:01:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:18 08:01:18 Login Succeeded 08:01:18 nexus3.edgexfoundry.org:10003 08:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:18 Configure a credential helper to remove this warning. See 08:01:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:18 08:01:18 Login Succeeded 08:01:18 nexus3.edgexfoundry.org:10004 08:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:18 Configure a credential helper to remove this warning. See 08:01:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:18 08:01:18 Login Succeeded 08:01:18 docker.io 08:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:01:19 Configure a credential helper to remove this warning. See 08:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:01:19 08:01:19 Login Succeeded 08:01:19 ---> docker-login.sh ends [Pipeline] } 08:01:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:01:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:01:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:01:19 ========================================================= 08:01:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:01:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:01:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:01:19 Sending build context to Docker daemon 3.319MB 08:01:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:01:19 Step 2/12 : FROM ${BASE} AS builder 08:01:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:01:19 4db1b89c0bd1: Pulling fs layer 08:01:19 6911f1a30b25: Pulling fs layer 08:01:19 e194b8c5c2a9: Pulling fs layer 08:01:19 6863d3e3a2b1: Pulling fs layer 08:01:19 ec0bb842ea78: Pulling fs layer 08:01:19 40a00589a448: Pulling fs layer 08:01:19 6c08303d61cc: Pulling fs layer 08:01:19 798269fcf238: Pulling fs layer 08:01:19 ec0bb842ea78: Waiting 08:01:19 6863d3e3a2b1: Waiting 08:01:19 40a00589a448: Waiting 08:01:19 6c08303d61cc: Waiting 08:01:19 798269fcf238: Waiting 08:01:19 6911f1a30b25: Verifying Checksum 08:01:19 6911f1a30b25: Download complete 08:01:19 6863d3e3a2b1: Verifying Checksum 08:01:19 ec0bb842ea78: Download complete 08:01:19 4db1b89c0bd1: Verifying Checksum 08:01:19 4db1b89c0bd1: Download complete 08:01:19 40a00589a448: Verifying Checksum 08:01:19 40a00589a448: Download complete 08:01:19 4db1b89c0bd1: Pull complete 08:01:20 6911f1a30b25: Pull complete 08:01:20 798269fcf238: Verifying Checksum 08:01:20 798269fcf238: Download complete 08:01:20 e194b8c5c2a9: Verifying Checksum 08:01:20 e194b8c5c2a9: Download complete 08:01:20 6c08303d61cc: Verifying Checksum 08:01:20 6c08303d61cc: Download complete 08:01:24 e194b8c5c2a9: Pull complete 08:01:24 6863d3e3a2b1: Pull complete 08:01:24 ec0bb842ea78: Pull complete 08:01:24 40a00589a448: Pull complete 08:01:26 6c08303d61cc: Pull complete 08:01:27 798269fcf238: Pull complete 08:01:27 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 08:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:01:27 ---> ec979cd7f677 08:01:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:01:33 Still waiting to schedule task 08:01:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3185’ is offline 08:01:34 ---> Running in a4beb8273b11 08:01:34 Removing intermediate container a4beb8273b11 08:01:34 ---> 2107e0277d52 08:01:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:01:34 ---> Running in a40fec01ced8 08:01:34 Removing intermediate container a40fec01ced8 08:01:34 ---> dee8542ec0a4 08:01:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:01:34 ---> Running in 7f3e5dc19cbc 08:01:34 Removing intermediate container 7f3e5dc19cbc 08:01:34 ---> d1b42f0a1451 08:01:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:01:34 ---> Running in 002bbccb8d94 08:01:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:01:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:01:34 OK: 265 MiB in 53 packages 08:01:34 Removing intermediate container 002bbccb8d94 08:01:34 ---> 57b430a9f0b7 08:01:34 Step 7/12 : WORKDIR /app 08:01:34 ---> Running in da57b6b4ad48 08:01:34 Removing intermediate container da57b6b4ad48 08:01:34 ---> 840ac1ce9b66 08:01:34 Step 8/12 : COPY go.mod vendor* ./ 08:01:34 ---> 27ab71cf9a7c 08:01:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:01:34 ---> Running in d03fb79ca47b 08:02:07 Removing intermediate container d03fb79ca47b 08:02:07 ---> 84ddec0531ff 08:02:07 Step 10/12 : COPY . . 08:02:07 ---> 80bb21869249 08:02:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:02:07 ---> Running in 28fcb77bfb15 08:02:07 Removing intermediate container 28fcb77bfb15 08:02:07 ---> a63cfeeb6790 08:02:07 Step 12/12 : RUN $MAKE 08:02:07 ---> Running in d882e9d9eabd 08:02:07 noop 08:02:07 Removing intermediate container d882e9d9eabd 08:02:07 ---> 50bdf16b8261 08:02:07 Successfully built 50bdf16b8261 08:02:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:08 + docker inspect -f . ci-base-image-x86_64 08:02:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:08 prd-ubuntu20.04-docker-8c-8g-3186 does not seem to be running inside a container 08:02:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-584 -v /w/workspace/_app-service-configurable_PR-584:/w/workspace/_app-service-configurable_PR-584:rw,z -v /w/workspace/_app-service-configurable_PR-584@tmp:/w/workspace/_app-service-configurable_PR-584@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:02:08 $ docker top f0e8d8c2a25d904aabc23abd34d2589895e35f4c747dbf74b8b2abddb31f90bb -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:08 + go version 08:02:08 go version go1.20.6 linux/amd64 [Pipeline] } 08:02:08 $ docker stop --time=1 f0e8d8c2a25d904aabc23abd34d2589895e35f4c747dbf74b8b2abddb31f90bb 08:02:10 $ docker rm -f --volumes f0e8d8c2a25d904aabc23abd34d2589895e35f4c747dbf74b8b2abddb31f90bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:10 + docker inspect -f . ci-base-image-x86_64 08:02:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:02:10 prd-ubuntu20.04-docker-8c-8g-3186 does not seem to be running inside a container 08:02:10 $ 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-584 -v /w/workspace/_app-service-configurable_PR-584:/w/workspace/_app-service-configurable_PR-584:rw,z -v /w/workspace/_app-service-configurable_PR-584@tmp:/w/workspace/_app-service-configurable_PR-584@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:02:10 $ docker top e54795555434e7e61589acfdb68307552caaf0a2dd3b9aabb1ed059f99954619 -eo pid,comm [Pipeline] { [Pipeline] sh 08:02:11 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-584 [Pipeline] fileExists [Pipeline] sh 08:02:11 + make test 08:02:11 go test -race -coverprofile=coverage.out ./... 08:02:33 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:02:51 go vet ./... 08:02:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:02:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:02:52 ./bin/test-attribution-txt.sh [Pipeline] echo 08:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:02:52 $ docker stop --time=1 e54795555434e7e61589acfdb68307552caaf0a2dd3b9aabb1ed059f99954619 08:02:59 $ docker rm -f --volumes e54795555434e7e61589acfdb68307552caaf0a2dd3b9aabb1ed059f99954619 [Pipeline] // withDockerContainer [Pipeline] sh 08:03:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:03:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:03:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:03:01 + ls -al . 08:03:01 total 180 08:03:01 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 08:02 . 08:03:01 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 08:00 .. 08:03:01 -rw-rw-r-- 1 jenkins jenkins 119 Aug 9 08:00 .dockerignore 08:03:01 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 08:01 .git 08:03:01 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 08:00 .github 08:03:01 -rw-rw-r-- 1 jenkins jenkins 171 Aug 9 08:00 .gitignore 08:03:01 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 08:00 .golangci.yml 08:03:01 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 08:01 .semver 08:03:01 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 9 08:00 Attribution.txt 08:03:01 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 9 08:00 CHANGELOG.md 08:03:01 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 9 08:00 Dockerfile 08:03:01 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 08:00 GOVERNANCE.md 08:03:01 -rw-rw-r-- 1 jenkins jenkins 688 Aug 9 08:00 Jenkinsfile 08:03:01 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 9 08:00 LICENSE 08:03:01 -rw-rw-r-- 1 jenkins jenkins 618 Aug 9 08:00 OWNERS.md 08:03:01 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 9 08:00 README.md 08:03:01 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 08:01 VERSION 08:03:01 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 08:00 bin 08:03:01 -rw-r--r-- 1 jenkins jenkins 13 Aug 9 08:02 coverage.out 08:03:01 -rw-rw-r-- 1 jenkins jenkins 3469 Aug 9 08:00 go.mod 08:03:01 -rw-rw-r-- 1 jenkins jenkins 32452 Aug 9 08:00 go.sum 08:03:01 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 9 08:00 main.go 08:03:01 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 9 08:00 makefile 08:03:01 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 08:00 res 08:03:01 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 08:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:01 + 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=357094029c4846546760802e9cdb64a15fe4e1ed --label arch=amd64 --label version=0.0.0 . 08:03:01 Sending build context to Docker daemon 3.32MB 08:03:01 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:03:01 Step 2/26 : FROM ${BASE} AS builder 08:03:01 ---> 50bdf16b8261 08:03:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 08:03:01 ---> Running in 6ea00aacaeb9 08:03:01 Removing intermediate container 6ea00aacaeb9 08:03:01 ---> df6a580aed7d 08:03:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:03:01 ---> Running in 0ee49facf8dc 08:03:01 Removing intermediate container 0ee49facf8dc 08:03:01 ---> 64a62be4bdc1 08:03:01 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:03:01 ---> Running in bbc5324e034b 08:03:02 Removing intermediate container bbc5324e034b 08:03:02 ---> 8cd098df9bad 08:03:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:03:02 ---> Running in cf3083766407 08:03:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:03:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:03:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3187 in /w/workspace/_app-service-configurable_PR-584 [Pipeline] { [Pipeline] ws 08:03:02 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 08:03:02 OK: 265 MiB in 53 packages 08:03:02 Selected Git installation does not exist. Using Default 08:03:02 The recommended git tool is: NONE 08:03:03 Removing intermediate container cf3083766407 08:03:03 ---> 2fe5b79a7c66 08:03:03 Step 7/26 : WORKDIR /app 08:03:03 ---> Running in e9bd8fd11194 08:03:03 Removing intermediate container e9bd8fd11194 08:03:03 ---> 7cf21fe86cd3 08:03:03 Step 8/26 : COPY go.mod vendor* ./ 08:03:03 ---> b2ba2c279b58 08:03:03 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:03:03 ---> Running in a469a6d51ff7 08:03:04 Removing intermediate container a469a6d51ff7 08:03:04 ---> c8c4f892246c 08:03:04 Step 10/26 : COPY . . 08:03:04 ---> 449e464ba9a0 08:03:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:03:04 ---> Running in 6c1611cb1bc3 08:03:04 Removing intermediate container 6c1611cb1bc3 08:03:04 ---> c0cfb72bda9e 08:03:04 Step 12/26 : RUN $MAKE 08:03:04 ---> Running in d0a7ff52cb68 08:03:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 08:03:08 using credential edgex-jenkins-ssh 08:03:08 Cloning the remote Git repository 08:03:08 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 08:03:08 > git init /w/workspace/app-service-configurable/2 # timeout=10 08:03:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:03:08 > git --version # timeout=10 08:03:08 > git --version # 'git version 2.25.1' 08:03:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:09 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:03:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:11 Merging remotes/origin/main commit 26b93c6358d1976bbdea6c8c16d65e092b814248 into PR head commit 357094029c4846546760802e9cdb64a15fe4e1ed 08:03:11 Merge succeeded, producing 357094029c4846546760802e9cdb64a15fe4e1ed 08:03:11 Checking out Revision 357094029c4846546760802e9cdb64a15fe4e1ed (PR-584) 08:03:10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:03:10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:03:10 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:03:11 > git config core.sparsecheckout # timeout=10 08:03:11 > git checkout -f 357094029c4846546760802e9cdb64a15fe4e1ed # timeout=10 08:03:11 > git remote # timeout=10 08:03:11 > git config --get remote.origin.url # timeout=10 08:03:11 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:11 > git merge 26b93c6358d1976bbdea6c8c16d65e092b814248 # timeout=10 08:03:11 > git rev-parse HEAD^{commit} # timeout=10 08:03:11 > git config core.sparsecheckout # timeout=10 08:03:11 > git checkout -f 357094029c4846546760802e9cdb64a15fe4e1ed # timeout=10 08:03:14 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:03:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:03:15 % Total % Received % Xferd Average Speed Time Time Time Current 08:03:15 Dload Upload Total Spent Left Speed 08:03:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 45866 0 --:--:-- --:--:-- --:--:-- 46032 [Pipeline] sh 08:03:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:03:17 + sudo tee /etc/docker/daemon.new 08:03:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:03:17 { 08:03:17 "registry-mirrors": [ 08:03:17 "https://nexus3.edgexfoundry.org:10001" 08:03:17 ], 08:03:17 "bip": "10.250.0.254/24", 08:03:17 "hosts": [ 08:03:17 "tcp://0.0.0.0:5555", 08:03:17 "unix:///var/run/docker.sock" 08:03:17 ], 08:03:17 "mtu": 1458, 08:03:17 "selinux-enabled": true, 08:03:17 "seccomp-profile": "/etc/docker/seccomp.json" 08:03:17 } [Pipeline] sh 08:03:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:03:17 + sudo service docker restart 08:03:26 Removing intermediate container d0a7ff52cb68 08:03:26 ---> 603631b6188f 08:03:26 Step 13/26 : FROM alpine:3.17 08:03:26 3.17: Pulling from library/alpine 08:03:26 9398808236ff: Pulling fs layer 08:03:26 9398808236ff: Download complete 08:03:26 9398808236ff: Pull complete 08:03:26 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 08:03:26 Status: Downloaded newer image for alpine:3.17 08:03:26 ---> 1e0b8b5322fc 08:03:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:03:26 ---> Running in af0be765d4c2 08:03:26 Removing intermediate container af0be765d4c2 08:03:26 ---> e154e077e20b 08:03:26 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 08:03:26 ---> Running in 1b8d70db51ea 08:03:26 Removing intermediate container 1b8d70db51ea 08:03:26 ---> f3c45c307fb7 08:03:26 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 08:03:26 ---> Running in e9ab4560bab5 08:03:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:03:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:03:26 (1/2) Installing ca-certificates (20230506-r0) 08:03:26 (2/2) Installing dumb-init (1.2.5-r2) 08:03:26 Executing busybox-1.35.0-r29.trigger 08:03:26 Executing ca-certificates-20230506-r0.trigger 08:03:26 OK: 8 MiB in 17 packages 08:03:26 Removing intermediate container e9ab4560bab5 08:03:26 ---> fcce56ea0199 08:03:26 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:03:26 ---> 743208b2049c 08:03:26 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 08:03:26 ---> 7d9c35eedf60 08:03:26 Step 19/26 : COPY --from=builder /app/res/ /res/ 08:03:26 ---> bdace7320ad9 08:03:26 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:03:27 ---> de6c58121252 08:03:27 Step 21/26 : EXPOSE 48095 08:03:27 ---> Running in 063c0cad4327 08:03:27 Removing intermediate container 063c0cad4327 08:03:27 ---> 1a919ab9deb5 08:03:27 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 08:03:27 ---> Running in 602f5dd566ff 08:03:27 Removing intermediate container 602f5dd566ff 08:03:27 ---> 51839176b72c 08:03:27 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:03:27 ---> Running in 0dccf716afab 08:03:27 Removing intermediate container 0dccf716afab 08:03:27 ---> 18d980397c2c 08:03:27 Step 24/26 : LABEL arch=amd64 08:03:27 ---> Running in ae25912c9692 08:03:27 Removing intermediate container ae25912c9692 08:03:27 ---> 837609efa420 08:03:27 Step 25/26 : LABEL git_sha=357094029c4846546760802e9cdb64a15fe4e1ed 08:03:27 ---> Running in f3dda76b4560 08:03:27 Removing intermediate container f3dda76b4560 08:03:27 ---> 47c24dd0e586 08:03:27 Step 26/26 : LABEL version=0.0.0 08:03:27 ---> Running in fa7d42a98df6 08:03:27 Removing intermediate container fa7d42a98df6 08:03:27 ---> 35882a3da87f 08:03:27 [Warning] One or more build-args [ARCH] were not consumed 08:03:27 Successfully built 35882a3da87f 08:03:27 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:03:28 08:03:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:03:28 latest: Pulling from edgex-lftools-log-publisher 08:03:28 5eb5b503b376: Pulling fs layer 08:03:28 5c69ac0246d0: Pulling fs layer 08:03:28 ec43610c2a17: Pulling fs layer 08:03:28 3a2ae6a8a46f: Pulling fs layer 08:03:28 33b1e0a273af: Pulling fs layer 08:03:28 5d3b04190fa2: Pulling fs layer 08:03:28 2f39f015ded8: Pulling fs layer 08:03:28 5d3b04190fa2: Waiting 08:03:28 2f39f015ded8: Waiting 08:03:28 5c69ac0246d0: Download complete 08:03:28 3a2ae6a8a46f: Verifying Checksum 08:03:28 3a2ae6a8a46f: Download complete 08:03:28 33b1e0a273af: Verifying Checksum 08:03:28 33b1e0a273af: Download complete 08:03:28 5d3b04190fa2: Verifying Checksum 08:03:28 5d3b04190fa2: Download complete 08:03:28 ec43610c2a17: Verifying Checksum 08:03:28 ec43610c2a17: Download complete 08:03:28 5eb5b503b376: Verifying Checksum 08:03:28 5eb5b503b376: Download complete 08:03:29 2f39f015ded8: Download complete 08:03:29 5eb5b503b376: Pull complete 08:03:29 5c69ac0246d0: Pull complete 08:03:29 ec43610c2a17: Pull complete 08:03:30 3a2ae6a8a46f: Pull complete 08:03:30 33b1e0a273af: Pull complete 08:03:30 5d3b04190fa2: Pull complete 08:03:34 2f39f015ded8: Pull complete 08:03:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:03:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:03:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:03:34 prd-ubuntu20.04-docker-8c-8g-3186 does not seem to be running inside a container 08:03:34 $ 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-584 -v /w/workspace/_app-service-configurable_PR-584:/w/workspace/_app-service-configurable_PR-584:rw,z -v /w/workspace/_app-service-configurable_PR-584@tmp:/w/workspace/_app-service-configurable_PR-584@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:03:38 $ docker top 95ce2a43b51da7e34d120ec4fa09bd5b800bad38d55ba294f7a40db0be4521b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 08:03:38 provisioning config files... 08:03:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config6674444284277696789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:03:38 ---> job-cost.sh 08:03:38 lf-activate-venv: SKIPPING 08:03:38 INFO: No Stack... 08:03:38 ---> docker-login.sh 08:03:38 nexus3.edgexfoundry.org:10001 08:03:39 INFO: Retrieving Pricing Info for: v3-standard-8 08:03:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:39 INFO: Archiving Costs [Pipeline] sh 08:03:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:39 Configure a credential helper to remove this warning. See 08:03:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:39 08:03:39 Login Succeeded 08:03:39 nexus3.edgexfoundry.org:10002 08:03:39 + cat /w/workspace/_app-service-configurable_PR-584/archives/cost.csv 08:03:39 + cut -d, -f6 [Pipeline] lock 08:03:39 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-584-2-stack-cost] 08:03:39 Resource [jenkins-edgexfoundry-app-service-configurable-PR-584-2-stack-cost] did not exist. Created. 08:03:39 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-584-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:03:39 + echo total: 0.2199999988079071 [Pipeline] stash 08:03:39 Stashed 1 file(s) [Pipeline] } 08:03:39 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-584-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:03:39 $ docker stop --time=1 95ce2a43b51da7e34d120ec4fa09bd5b800bad38d55ba294f7a40db0be4521b1 08:03:41 $ docker rm -f --volumes 95ce2a43b51da7e34d120ec4fa09bd5b800bad38d55ba294f7a40db0be4521b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:42 Configure a credential helper to remove this warning. See 08:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:42 08:03:42 Login Succeeded 08:03:42 nexus3.edgexfoundry.org:10003 08:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:42 Configure a credential helper to remove this warning. See 08:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:42 08:03:42 Login Succeeded 08:03:42 nexus3.edgexfoundry.org:10004 08:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:42 Configure a credential helper to remove this warning. See 08:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:42 08:03:42 Login Succeeded 08:03:42 docker.io 08:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:03:43 Configure a credential helper to remove this warning. See 08:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:03:43 08:03:43 Login Succeeded 08:03:43 ---> docker-login.sh ends [Pipeline] } 08:03:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:03:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:03:43 ========================================================= 08:03:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:03:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 08:03:43 Sending build context to Docker daemon 176.1kB 08:03:44 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:03:44 Step 2/12 : FROM ${BASE} AS builder 08:03:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:03:44 edb6bdbacee9: Pulling fs layer 08:03:44 5f9638ab2659: Pulling fs layer 08:03:44 8d51d6327a98: Pulling fs layer 08:03:44 8b374f2dd631: Pulling fs layer 08:03:44 ec14aa9079de: Pulling fs layer 08:03:44 2f466654f4bb: Pulling fs layer 08:03:44 554e91adad29: Pulling fs layer 08:03:44 8b374f2dd631: Waiting 08:03:44 ec14aa9079de: Waiting 08:03:44 554e91adad29: Waiting 08:03:44 2f466654f4bb: Waiting 08:03:44 5f9638ab2659: Verifying Checksum 08:03:44 5f9638ab2659: Download complete 08:03:44 8b374f2dd631: Verifying Checksum 08:03:44 8b374f2dd631: Download complete 08:03:44 ec14aa9079de: Verifying Checksum 08:03:44 ec14aa9079de: Download complete 08:03:44 edb6bdbacee9: Verifying Checksum 08:03:44 edb6bdbacee9: Download complete 08:03:45 edb6bdbacee9: Pull complete 08:03:45 554e91adad29: Verifying Checksum 08:03:46 5f9638ab2659: Pull complete 08:03:47 8d51d6327a98: Verifying Checksum 08:03:47 8d51d6327a98: Download complete 08:03:47 2f466654f4bb: Verifying Checksum 08:03:47 2f466654f4bb: Download complete 08:03:59 8d51d6327a98: Pull complete 08:03:59 8b374f2dd631: Pull complete 08:03:59 ec14aa9079de: Pull complete 08:04:04 2f466654f4bb: Pull complete 08:04:07 554e91adad29: Pull complete 08:04:07 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 08:04:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:04:07 ---> 1e15ea492957 08:04:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:04:08 ---> Running in e21f39f0c9c4 08:04:08 Removing intermediate container e21f39f0c9c4 08:04:08 ---> ade4872d86be 08:04:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:04:08 ---> Running in b5e1439b57f2 08:04:09 Removing intermediate container b5e1439b57f2 08:04:09 ---> c9107f298721 08:04:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:04:09 ---> Running in d889b1ef09dc 08:04:09 Removing intermediate container d889b1ef09dc 08:04:09 ---> 5b15256486e3 08:04:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:04:09 ---> Running in 3eaa56875969 08:04:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:04:12 OK: 263 MiB in 53 packages 08:04:13 Removing intermediate container 3eaa56875969 08:04:13 ---> 185321425802 08:04:13 Step 7/12 : WORKDIR /app 08:04:13 ---> Running in 38db1391f675 08:04:13 Removing intermediate container 38db1391f675 08:04:13 ---> 403833a3e11e 08:04:13 Step 8/12 : COPY go.mod vendor* ./ 08:04:13 ---> de8babdb3816 08:04:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:04:13 ---> Running in 672cf3dc00a2 08:05:35 Removing intermediate container 672cf3dc00a2 08:05:35 ---> a20d9c1ae13a 08:05:35 Step 10/12 : COPY . . 08:05:35 ---> df35a7235048 08:05:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:05:35 ---> Running in c06ea649bfba 08:05:35 Removing intermediate container c06ea649bfba 08:05:35 ---> 03245a8a7889 08:05:35 Step 12/12 : RUN $MAKE 08:05:35 ---> Running in 1e9d7f021c6e 08:05:35 noop 08:05:35 Removing intermediate container 1e9d7f021c6e 08:05:35 ---> 350f9bc66920 08:05:35 Successfully built 350f9bc66920 08:05:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:35 + docker inspect -f . ci-base-image-arm64 08:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:36 prd-ubuntu20.04-docker-arm64-4c-16g-3187 does not seem to be running inside a container 08:05:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:05:37 $ docker top ed27531509ada3acd383998b02de2b2db8bce669997b7216d824aa7c5dbc1586 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:38 + go version 08:05:38 go version go1.20.6 linux/arm64 [Pipeline] } 08:05:38 $ docker stop --time=1 ed27531509ada3acd383998b02de2b2db8bce669997b7216d824aa7c5dbc1586 08:05:39 $ docker rm -f --volumes ed27531509ada3acd383998b02de2b2db8bce669997b7216d824aa7c5dbc1586 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:40 + docker inspect -f . ci-base-image-arm64 08:05:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:40 prd-ubuntu20.04-docker-arm64-4c-16g-3187 does not seem to be running inside a container 08:05:40 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:05:41 $ docker top 33e90faf4a3848ea338de2455124b1d07beff698ddce114c85bf82e0c6e173cb -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:42 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 08:05:42 + make test 08:05:42 go test -race -coverprofile=coverage.out ./... 08:08:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:08:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:08:19 go vet ./... 08:10:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:10:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:10:26 ./bin/test-attribution-txt.sh [Pipeline] echo 08:10:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:10:26 $ docker stop --time=1 33e90faf4a3848ea338de2455124b1d07beff698ddce114c85bf82e0c6e173cb 08:10:28 $ docker rm -f --volumes 33e90faf4a3848ea338de2455124b1d07beff698ddce114c85bf82e0c6e173cb [Pipeline] // withDockerContainer [Pipeline] sh 08:10:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:10:29 Warning: overwriting stash ‘coverage-report’ 08:10:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:10:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:10:30 + ls -al . 08:10:30 total 176 08:10:30 drwxrwxr-x 7 jenkins jenkins 4096 Aug 9 08:05 . 08:10:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 08:03 .. 08:10:30 -rw-rw-r-- 1 jenkins jenkins 119 Aug 9 08:03 .dockerignore 08:10:30 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 08:03 .git 08:10:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 08:03 .github 08:10:30 -rw-rw-r-- 1 jenkins jenkins 171 Aug 9 08:03 .gitignore 08:10:30 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 08:03 .golangci.yml 08:10:30 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 9 08:03 Attribution.txt 08:10:30 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 9 08:03 CHANGELOG.md 08:10:30 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 9 08:03 Dockerfile 08:10:30 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 08:03 GOVERNANCE.md 08:10:30 -rw-rw-r-- 1 jenkins jenkins 688 Aug 9 08:03 Jenkinsfile 08:10:30 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 9 08:03 LICENSE 08:10:30 -rw-rw-r-- 1 jenkins jenkins 618 Aug 9 08:03 OWNERS.md 08:10:30 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 9 08:03 README.md 08:10:30 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 08:01 VERSION 08:10:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 08:03 bin 08:10:30 -rw-r--r-- 1 jenkins jenkins 13 Aug 9 08:05 coverage.out 08:10:30 -rw-rw-r-- 1 jenkins jenkins 3469 Aug 9 08:03 go.mod 08:10:30 -rw-rw-r-- 1 jenkins jenkins 32452 Aug 9 08:03 go.sum 08:10:30 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 9 08:03 main.go 08:10:30 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 9 08:03 makefile 08:10:30 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 08:03 res 08:10:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 08:03 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:31 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=357094029c4846546760802e9cdb64a15fe4e1ed --label arch=arm64 --label version=0.0.0 . 08:10:31 Sending build context to Docker daemon 177.2kB 08:10:31 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:10:31 Step 2/26 : FROM ${BASE} AS builder 08:10:31 ---> 350f9bc66920 08:10:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 08:10:31 ---> Running in 7ff1b733bf38 08:10:31 Removing intermediate container 7ff1b733bf38 08:10:31 ---> 651acea496b4 08:10:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:10:31 ---> Running in 52940b864cfb 08:10:32 Removing intermediate container 52940b864cfb 08:10:32 ---> c9b544075007 08:10:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:10:32 ---> Running in 7c6d76a3ef5a 08:10:32 Removing intermediate container 7c6d76a3ef5a 08:10:32 ---> 579338363161 08:10:32 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:10:32 ---> Running in d2c11a582e3b 08:10:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:10:35 OK: 263 MiB in 53 packages 08:10:35 Removing intermediate container d2c11a582e3b 08:10:35 ---> c73c8a991f5e 08:10:35 Step 7/26 : WORKDIR /app 08:10:36 ---> Running in 43f9ba00d464 08:10:36 Removing intermediate container 43f9ba00d464 08:10:36 ---> 3eb0e7494aab 08:10:36 Step 8/26 : COPY go.mod vendor* ./ 08:10:36 ---> 575b1b27e506 08:10:36 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:10:36 ---> Running in 43a1e5bc219a 08:10:39 Removing intermediate container 43a1e5bc219a 08:10:39 ---> 288c458a0c7b 08:10:39 Step 10/26 : COPY . . 08:10:42 ---> ec841a967af9 08:10:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:10:42 ---> Running in 5dec9e8c44a1 08:10:42 Removing intermediate container 5dec9e8c44a1 08:10:42 ---> 877fb940b056 08:10:42 Step 12/26 : RUN $MAKE 08:10:42 ---> Running in b1c0b8db63d5 08:10:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 08:12:50 Removing intermediate container b1c0b8db63d5 08:12:50 ---> fbd0726c9ff2 08:12:50 Step 13/26 : FROM alpine:3.17 08:12:50 3.17: Pulling from library/alpine 08:12:50 4060ece20d7a: Pulling fs layer 08:12:50 4060ece20d7a: Verifying Checksum 08:12:50 4060ece20d7a: Pull complete 08:12:50 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 08:12:50 Status: Downloaded newer image for alpine:3.17 08:12:50 ---> 8650cd65339b 08:12:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:12:50 ---> Running in 8454ddf53e85 08:12:50 Removing intermediate container 8454ddf53e85 08:12:50 ---> f3e885ab9721 08:12:50 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 08:12:50 ---> Running in 2b817d16b014 08:12:50 Removing intermediate container 2b817d16b014 08:12:50 ---> 9a33e6dc3f1b 08:12:50 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 08:12:50 ---> Running in dcee9f4faab4 08:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:12:50 (1/2) Installing ca-certificates (20230506-r0) 08:12:50 (2/2) Installing dumb-init (1.2.5-r2) 08:12:50 Executing busybox-1.35.0-r29.trigger 08:12:50 Executing ca-certificates-20230506-r0.trigger 08:12:50 OK: 8 MiB in 17 packages 08:12:52 Removing intermediate container dcee9f4faab4 08:12:52 ---> 76b77d3f7aa9 08:12:52 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:12:52 ---> 64c3e1b907c7 08:12:52 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 08:12:52 ---> 831bc4931593 08:12:52 Step 19/26 : COPY --from=builder /app/res/ /res/ 08:12:53 ---> e248012e0609 08:12:53 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:12:54 ---> c687808b6fa3 08:12:54 Step 21/26 : EXPOSE 48095 08:12:54 ---> Running in bab954a674cf 08:12:54 Removing intermediate container bab954a674cf 08:12:54 ---> f638f16b1987 08:12:54 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 08:12:55 ---> Running in a24b31c4796c 08:12:55 Removing intermediate container a24b31c4796c 08:12:55 ---> 1e417c628633 08:12:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:12:55 ---> Running in c22e9ef80e87 08:12:55 Removing intermediate container c22e9ef80e87 08:12:55 ---> de0b4e18488c 08:12:55 Step 24/26 : LABEL arch=arm64 08:12:55 ---> Running in fc67b34167f9 08:12:55 Removing intermediate container fc67b34167f9 08:12:55 ---> 93a843ef3f1a 08:12:55 Step 25/26 : LABEL git_sha=357094029c4846546760802e9cdb64a15fe4e1ed 08:12:55 ---> Running in e8432845c43d 08:12:56 Removing intermediate container e8432845c43d 08:12:56 ---> 199d4c2540c2 08:12:56 Step 26/26 : LABEL version=0.0.0 08:12:56 ---> Running in d585f2de7118 08:12:56 Removing intermediate container d585f2de7118 08:12:56 ---> 901eb9f30d6b 08:12:56 [Warning] One or more build-args [ARCH] were not consumed 08:12:56 Successfully built 901eb9f30d6b 08:12:56 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:57 08:12:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:12:57 arm64: Pulling from edgex-lftools-log-publisher 08:12:57 8998bd30e6a1: Pulling fs layer 08:12:57 04944245beec: Pulling fs layer 08:12:57 699f458cf7ca: Pulling fs layer 08:12:57 765212b225bb: Pulling fs layer 08:12:57 f23df028b6ca: Pulling fs layer 08:12:57 d65c8cfc05b1: Pulling fs layer 08:12:57 2437ff75d9bd: Pulling fs layer 08:12:57 765212b225bb: Waiting 08:12:57 f23df028b6ca: Waiting 08:12:57 d65c8cfc05b1: Waiting 08:12:57 2437ff75d9bd: Waiting 08:12:57 04944245beec: Verifying Checksum 08:12:57 04944245beec: Download complete 08:12:57 765212b225bb: Verifying Checksum 08:12:57 765212b225bb: Download complete 08:12:57 f23df028b6ca: Verifying Checksum 08:12:57 f23df028b6ca: Download complete 08:12:57 d65c8cfc05b1: Verifying Checksum 08:12:57 d65c8cfc05b1: Download complete 08:12:57 699f458cf7ca: Verifying Checksum 08:12:57 699f458cf7ca: Download complete 08:12:58 8998bd30e6a1: Verifying Checksum 08:12:58 8998bd30e6a1: Download complete 08:13:00 2437ff75d9bd: Verifying Checksum 08:13:00 2437ff75d9bd: Download complete 08:13:02 8998bd30e6a1: Pull complete 08:13:02 04944245beec: Pull complete 08:13:04 699f458cf7ca: Pull complete 08:13:04 765212b225bb: Pull complete 08:13:04 f23df028b6ca: Pull complete 08:13:04 d65c8cfc05b1: Pull complete 08:13:19 2437ff75d9bd: Pull complete 08:13:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:13:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:13:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:20 prd-ubuntu20.04-docker-arm64-4c-16g-3187 does not seem to be running inside a container 08:13:20 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:13:22 $ docker top a09cdae14ac17c4aa309271d7695f0a7daa17c05023003c7d4125442fa7837b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:13:23 ---> job-cost.sh 08:13:23 lf-activate-venv: SKIPPING 08:13:23 INFO: No Stack... 08:13:23 INFO: Retrieving Pricing Info for: v3-standard-4 08:13:24 INFO: Archiving Costs [Pipeline] sh 08:13:25 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 08:13:25 + cut -d, -f6 [Pipeline] lock 08:13:25 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-584-2-stack-cost] 08:13:25 Resource [jenkins-edgexfoundry-app-service-configurable-PR-584-2-stack-cost] did not exist. Created. 08:13:25 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-584-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:13:25 /w/workspace/app-service-configurable/2@tmp/durable-13bf3be9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:13:26 + echo total: 0.10999999940395355 [Pipeline] stash 08:13:26 Warning: overwriting stash ‘stack-cost’ 08:13:26 Stashed 1 file(s) [Pipeline] } 08:13:26 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-584-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:13:26 $ docker stop --time=1 a09cdae14ac17c4aa309271d7695f0a7daa17c05023003c7d4125442fa7837b6 08:13:27 $ docker rm -f --volumes a09cdae14ac17c4aa309271d7695f0a7daa17c05023003c7d4125442fa7837b6 [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 08:13:28 provisioning config files... 08:13:28 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-584@tmp/config1763913539081392453tmp [Pipeline] { [Pipeline] sh 08:13:28 + set +x 08:13:28 + bash -s -- 08:13:28 + curl -s https://codecov.io/bash 08:13:28 08:13:28 _____ _ 08:13:28 / ____| | | 08:13:28 | | ___ __| | ___ ___ _____ __ 08:13:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:13:28 | |___| (_) | (_| | __/ (_| (_) \ V / 08:13:28 \_____\___/ \__,_|\___|\___\___/ \_/ 08:13:28 Bash-1.0.6 08:13:28 08:13:28 08:13:28 ==> git version 2.25.1 found 08:13:28 ==> 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 08:13:28 Release-Date: 2020-01-08 08:13:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:13:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:13:28 ==> Jenkins CI detected. 08:13:28 current dir:  /w/workspace/_app-service-configurable_PR-584 08:13:28 project root: . 08:13:28 --> token set from env 08:13:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:13:28 ==> Running gcov in . (disable via -X gcov) 08:13:28 ==> Python coveragepy not found 08:13:28 ==> Searching for coverage reports in: 08:13:28 + . 08:13:28 -> Found 1 reports 08:13:28 ==> Detecting git/mercurial file structure 08:13:28 ==> Reading reports 08:13:28 + ./coverage.out bytes=13 08:13:28 ==> Appending adjustments 08:13:28 https://docs.codecov.io/docs/fixing-reports 08:13:28 + Found adjustments 08:13:28 ==> Gzipping contents 08:13:28 4.0K /tmp/codecov.gqCEpw.gz 08:13:28 ==> Uploading reports 08:13:28 url: https://codecov.io 08:13:28 query: branch=PR-584&commit=357094029c4846546760802e9cdb64a15fe4e1ed&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-584%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=584&job=&cmd_args= 08:13:28 -> Pinging Codecov 08:13:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-584&commit=357094029c4846546760802e9cdb64a15fe4e1ed&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-584%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=584&job=&cmd_args= 08:13:28 -> Uploading to 08:13:28 https://storage.googleapis.com/codecov/v4/raw/2023-08-09/A97CA9966030D2A3747ED39772930CCE/357094029c4846546760802e9cdb64a15fe4e1ed/e6fd131d-19ba-443e-a66c-65b46076c8e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T081328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5bdb577ef44e73c48512caea46abacab2825b4188d147c8ea7bb329eea5f1be7 08:13:28 % Total % Received % Xferd Average Speed Time Time Time Current 08:13:28 Dload Upload Total Spent Left Speed 08:13:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1669 --:--:-- --:--:-- --:--:-- 1669 08:13:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/357094029c4846546760802e9cdb64a15fe4e1ed [Pipeline] } 08:13:29 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 08:13:29 + [ -d /w/workspace/_app-service-configurable_PR-584/archives ] 08:13:29 + ls -al /w/workspace/_app-service-configurable_PR-584/archives 08:13:29 total 16 08:13:29 drwxr-xr-x 3 root root 4096 Aug 9 08:03 . 08:13:29 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 08:03 .. 08:13:29 drwxr-xr-x 2 root root 4096 Aug 9 08:03 cost 08:13:29 -rw-r--r-- 1 root root 96 Aug 9 08:03 cost.csv 08:13:29 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-584/archives 08:13:29 + ls -al /w/workspace/_app-service-configurable_PR-584/archives 08:13:29 total 16 08:13:29 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 08:03 . 08:13:29 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 08:03 .. 08:13:29 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 08:03 cost 08:13:29 -rw-r--r-- 1 jenkins jenkins 96 Aug 9 08:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:13:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:13:31 ---> package-listing.sh 08:13:31 ++ facter osfamily 08:13:31 ++ tr '[:upper:]' '[:lower:]' 08:13:31 + OS_FAMILY=debian 08:13:31 + workspace=/w/workspace/_app-service-configurable_PR-584 08:13:31 + START_PACKAGES=/tmp/packages_start.txt 08:13:31 + END_PACKAGES=/tmp/packages_end.txt 08:13:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:13:31 + PACKAGES=/tmp/packages_start.txt 08:13:31 + '[' /w/workspace/_app-service-configurable_PR-584 ']' 08:13:31 + PACKAGES=/tmp/packages_end.txt 08:13:31 + case "${OS_FAMILY}" in 08:13:31 + dpkg -l 08:13:31 + grep '^ii' 08:13:31 + '[' -f /tmp/packages_start.txt ']' 08:13:31 + '[' -f /tmp/packages_end.txt ']' 08:13:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:13:31 + '[' /w/workspace/_app-service-configurable_PR-584 ']' 08:13:31 + mkdir -p /w/workspace/_app-service-configurable_PR-584/archives/ 08:13:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-584/archives/ [Pipeline] echo 08:13:31 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-584/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:13:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:13:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:32 prd-ubuntu20.04-docker-8c-8g-3186 does not seem to be running inside a container 08:13:32 $ 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-584/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-584 -v /w/workspace/_app-service-configurable_PR-584:/w/workspace/_app-service-configurable_PR-584:rw,z -v /w/workspace/_app-service-configurable_PR-584@tmp:/w/workspace/_app-service-configurable_PR-584@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:13:32 $ docker top 8d6529b2d1c6d5f38ec21a654c9a5c1bdf0d4eedc30c74bb10d9e1f074931121 -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:32 + touch /tmp/pre-build-complete [Pipeline] sh 08:13:33 + mkdir -p /var/log/sysstat [Pipeline] sh 08:13:33 + ls /var/log/sa-host 08:13:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:13:33 provisioning config files... 08:13:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-584@tmp/config17158166179570075753tmp [Pipeline] { [Pipeline] echo 08:13:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:13:33 ---> create-netrc.sh [Pipeline] } 08:13:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:13:34 ---> python-tools-install.sh [Pipeline] echo 08:13:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:13:34 ---> sudo-logs.sh 08:13:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:13:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:13:34 ---> job-cost.sh 08:13:34 lf-activate-venv: SKIPPING 08:13:34 DEBUG: total: 0.2199999988079071 08:13:34 INFO: Retrieving Stack Cost... 08:13:34 INFO: Retrieving Pricing Info for: v3-standard-8 08:13:35 INFO: Archiving Costs [Pipeline] echo 08:13:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:13:35 ---> logs-deploy.sh 08:13:35 lf-activate-venv: SKIPPING 08:13:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-584/2 08:13:35 INFO: archiving workspace using pattern(s): 08:13:36 Archives upload complete. 08:13:36 INFO: archiving logs to Nexus