Pull request #584 opened 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 a43622ac43dc25ed43226d9ad7c49f5b900899b8 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-ssh12446393847423705835.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-ssh11911789790993626415.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-584/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-584/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12823238533924315029.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-584/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14143872158889240888.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12095952937519246987.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-584/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-584/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17013402935200157733.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3184 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 a43622ac43dc25ed43226d9ad7c49f5b900899b8 Merge succeeded, producing a43622ac43dc25ed43226d9ad7c49f5b900899b8 Checking out Revision a43622ac43dc25ed43226d9ad7c49f5b900899b8 (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f a43622ac43dc25ed43226d9ad7c49f5b900899b8 # 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 a43622ac43dc25ed43226d9ad7c49f5b900899b8 # timeout=10 Commit message: "Refactor: remove github.com/pkg/errors from Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:56:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:56:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:56:24 ========================================================= 07:56:24 EdgeX Global Pipelines Version Info 07:56:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:56:24 ------------------- 07:56:24 stable info: 07:56:24 ------------------- 07:56:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:56:24 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 07:56:24 Message: update stable to v1.0.250 07:56:25 ------------------- 07:56:25 experimental info: 07:56:25 ------------------- 07:56:25 Commited By: **** collab-it+edgex@linuxfoundation.org 07:56:25 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 07:56:25 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:56:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 07:56:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 07:56:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:56:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:56:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:56:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo 07:56:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo 07:56:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a43622ac43dc25ed43226d9ad7c49f5b900899b8 [Pipeline] echo 07:56:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a43622a [Pipeline] echo 07:56:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:27 provisioning config files... 07:56:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-584@tmp/config7918494336287508559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:27 ---> docker-login.sh 07:56:27 nexus3.edgexfoundry.org:10001 07:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:28 Configure a credential helper to remove this warning. See 07:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:28 07:56:28 Login Succeeded 07:56:28 nexus3.edgexfoundry.org:10002 07:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:28 Configure a credential helper to remove this warning. See 07:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:28 07:56:28 Login Succeeded 07:56:28 nexus3.edgexfoundry.org:10003 07:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:28 Configure a credential helper to remove this warning. See 07:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:28 07:56:28 Login Succeeded 07:56:28 nexus3.edgexfoundry.org:10004 07:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:28 Configure a credential helper to remove this warning. See 07:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:28 07:56:28 Login Succeeded 07:56:28 docker.io 07:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:28 Configure a credential helper to remove this warning. See 07:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:28 07:56:28 Login Succeeded 07:56:28 ---> docker-login.sh ends [Pipeline] } 07:56:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:56:29 + git rev-list -1 --merges a43622ac43dc25ed43226d9ad7c49f5b900899b8~1..a43622ac43dc25ed43226d9ad7c49f5b900899b8 [Pipeline] echo 07:56:29 -----------> git rev-list -1 --merges a43622ac43dc25ed43226d9ad7c49f5b900899b8~1..a43622ac43dc25ed43226d9ad7c49f5b900899b8 a43622ac43dc25ed43226d9ad7c49f5b900899b8 [false] [Pipeline] sh 07:56:29 + git log --format=format:%s -1 a43622ac43dc25ed43226d9ad7c49f5b900899b8 [Pipeline] echo 07:56:29 ========================================================= 07:56:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:56:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:30 + git log --format=format:%s -1 a43622ac43dc25ed43226d9ad7c49f5b900899b8 [Pipeline] echo 07:56:30 [semverPrep] GIT_COMMIT: a43622ac43dc25ed43226d9ad7c49f5b900899b8, Commit Message: Refactor: remove github.com/pkg/errors from Attribution.txt [Pipeline] echo 07:56:30 [semverPrep] This is not a build commit. [Pipeline] sh 07:56:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:56:30 + grep -v github /etc/ssh/ssh_known_hosts 07:56:30 + [ -e /tmp/ssh_known_hosts ] 07:56:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:56:30 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:56:30 sudo tee -a /etc/ssh/ssh_known_hosts 07:56:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:31 07:56:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:31 0.1.4: Pulling from edgex-devops/py-git-semver 07:56:31 b85a868b505f: Pulling fs layer 07:56:31 e2be974225ed: Pulling fs layer 07:56:31 339a4e72a1f5: Pulling fs layer 07:56:31 988bab9f4d93: Pulling fs layer 07:56:31 1469e6f7b9e6: Pulling fs layer 07:56:31 eaf3925da568: Pulling fs layer 07:56:31 bab4dde63d76: Pulling fs layer 07:56:31 bde34c3a00c8: Pulling fs layer 07:56:31 b352a97aabf1: Pulling fs layer 07:56:31 4872d77fe225: Pulling fs layer 07:56:31 5851b861e8e6: Pulling fs layer 07:56:31 bab4dde63d76: Waiting 07:56:31 bde34c3a00c8: Waiting 07:56:31 988bab9f4d93: Waiting 07:56:31 4872d77fe225: Waiting 07:56:31 b352a97aabf1: Waiting 07:56:31 1469e6f7b9e6: Waiting 07:56:31 eaf3925da568: Waiting 07:56:31 e2be974225ed: Download complete 07:56:31 988bab9f4d93: Verifying Checksum 07:56:31 988bab9f4d93: Download complete 07:56:31 1469e6f7b9e6: Verifying Checksum 07:56:31 1469e6f7b9e6: Download complete 07:56:31 339a4e72a1f5: Verifying Checksum 07:56:31 339a4e72a1f5: Download complete 07:56:31 eaf3925da568: Download complete 07:56:31 bde34c3a00c8: Download complete 07:56:31 b352a97aabf1: Verifying Checksum 07:56:31 b352a97aabf1: Download complete 07:56:31 4872d77fe225: Verifying Checksum 07:56:31 4872d77fe225: Download complete 07:56:31 5851b861e8e6: Download complete 07:56:31 b85a868b505f: Verifying Checksum 07:56:31 b85a868b505f: Download complete 07:56:31 bab4dde63d76: Verifying Checksum 07:56:31 bab4dde63d76: Download complete 07:56:32 b85a868b505f: Pull complete 07:56:32 e2be974225ed: Pull complete 07:56:33 339a4e72a1f5: Pull complete 07:56:33 988bab9f4d93: Pull complete 07:56:33 1469e6f7b9e6: Pull complete 07:56:33 eaf3925da568: Pull complete 07:56:35 bab4dde63d76: Pull complete 07:56:35 bde34c3a00c8: Pull complete 07:56:35 b352a97aabf1: Pull complete 07:56:35 4872d77fe225: Pull complete 07:56:35 5851b861e8e6: Pull complete 07:56:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:56:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:35 prd-ubuntu20.04-docker-8c-8g-3184 does not seem to be running inside a container 07:56:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:56:38 $ docker top 52cc7baeed5e4eceb094ad7415ccb38bc7fd2b9df071ff778e4b48dec1b718b0 -eo pid,comm 07:56:38 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). 07:56:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:56:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:38 [ssh-agent] Looking for ssh-agent implementation... 07:56:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:39 $ docker exec 52cc7baeed5e4eceb094ad7415ccb38bc7fd2b9df071ff778e4b48dec1b718b0 ssh-agent 07:56:39 SSH_AUTH_SOCK=/tmp/ssh-nRidckjUNyOY/agent.32 07:56:39 SSH_AGENT_PID=38 07:56:39 Running ssh-add (command line suppressed) 07:56:39 Identity added: /w/workspace/_app-service-configurable_PR-584@tmp/private_key_17397390602692152551.key (/w/workspace/_app-service-configurable_PR-584@tmp/private_key_17397390602692152551.key) 07:56:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:39 + git tag --points-at HEAD [Pipeline] } 07:56:39 $ docker exec --env ******** --env ******** 52cc7baeed5e4eceb094ad7415ccb38bc7fd2b9df071ff778e4b48dec1b718b0 ssh-agent -k 07:56:39 unset SSH_AUTH_SOCK; 07:56:39 unset SSH_AGENT_PID; 07:56:39 echo Agent pid 38 killed; 07:56:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:56:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:39 [ssh-agent] Looking for ssh-agent implementation... 07:56:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:39 $ docker exec 52cc7baeed5e4eceb094ad7415ccb38bc7fd2b9df071ff778e4b48dec1b718b0 ssh-agent 07:56:40 SSH_AUTH_SOCK=/tmp/ssh-0uIW5Qk5crJl/agent.70 07:56:40 SSH_AGENT_PID=76 07:56:40 Running ssh-add (command line suppressed) 07:56:40 Identity added: /w/workspace/_app-service-configurable_PR-584@tmp/private_key_4478524326157891916.key (/w/workspace/_app-service-configurable_PR-584@tmp/private_key_4478524326157891916.key) 07:56:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:40 + git semver init 07:56:40 2023-08-09 07:56:40,634 [run_init] DEBUG init version:0.0.0 force:False 07:56:40 2023-08-09 07:56:40,635 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-584/.semver 07:56:40 2023-08-09 07:56:40,635 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-584/.semver 07:56:40 2023-08-09 07:56:40,636 [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) 07:56:41 2023-08-09 07:56:41,413 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-584/.git/info/exclude 07:56:41 2023-08-09 07:56:41,413 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-584/.semver/PR-584 with force:False 07:56:41 2023-08-09 07:56:41,414 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-584/.semver/PR-584 07:56:41 2023-08-09 07:56:41,418 [execute] INFO git cat-file --batch-check 07:56:41 2023-08-09 07:56:41,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-584/.semver, universal_newlines=False, shell=None, istream=) 07:56:41 2023-08-09 07:56:41,424 [execute] INFO git cat-file --batch 07:56:41 2023-08-09 07:56:41,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-584/.semver, universal_newlines=False, shell=None, istream=) 07:56:41 2023-08-09 07:56:41,429 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-584/.semver/PR-584 07:56:41 0.0.0 [Pipeline] } 07:56:41 $ docker exec --env ******** --env ******** 52cc7baeed5e4eceb094ad7415ccb38bc7fd2b9df071ff778e4b48dec1b718b0 ssh-agent -k 07:56:41 unset SSH_AUTH_SOCK; 07:56:41 unset SSH_AGENT_PID; 07:56:41 echo Agent pid 76 killed; 07:56:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:56:42 + git semver [Pipeline] } 07:56:42 $ docker stop --time=1 52cc7baeed5e4eceb094ad7415ccb38bc7fd2b9df071ff778e4b48dec1b718b0 07:56:43 $ docker rm -f --volumes 52cc7baeed5e4eceb094ad7415ccb38bc7fd2b9df071ff778e4b48dec1b718b0 [Pipeline] // withDockerContainer [Pipeline] sh 07:56:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:56:44 Stashed 1 file(s) [Pipeline] echo 07:56:44 [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 07:56:45 provisioning config files... 07:56:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-584@tmp/config5846185687735373419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:45 ---> docker-login.sh 07:56:45 nexus3.edgexfoundry.org:10001 07:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:45 Configure a credential helper to remove this warning. See 07:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:45 07:56:45 Login Succeeded 07:56:45 nexus3.edgexfoundry.org:10002 07:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:45 Configure a credential helper to remove this warning. See 07:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:45 07:56:45 Login Succeeded 07:56:45 nexus3.edgexfoundry.org:10003 07:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:45 Configure a credential helper to remove this warning. See 07:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:45 07:56:45 Login Succeeded 07:56:45 nexus3.edgexfoundry.org:10004 07:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:45 Configure a credential helper to remove this warning. See 07:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:45 07:56:45 Login Succeeded 07:56:45 docker.io 07:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:56:45 Configure a credential helper to remove this warning. See 07:56:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:56:45 07:56:45 Login Succeeded 07:56:45 ---> docker-login.sh ends [Pipeline] } 07:56:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:56:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:56:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:56:46 ========================================================= 07:56:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:56:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:46 + 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 . 07:56:46 Sending build context to Docker daemon 3.319MB 07:56:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:56:46 Step 2/12 : FROM ${BASE} AS builder 07:56:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:56:46 4db1b89c0bd1: Pulling fs layer 07:56:46 6911f1a30b25: Pulling fs layer 07:56:46 e194b8c5c2a9: Pulling fs layer 07:56:46 6863d3e3a2b1: Pulling fs layer 07:56:46 ec0bb842ea78: Pulling fs layer 07:56:46 40a00589a448: Pulling fs layer 07:56:46 6c08303d61cc: Pulling fs layer 07:56:46 798269fcf238: Pulling fs layer 07:56:46 ec0bb842ea78: Waiting 07:56:46 40a00589a448: Waiting 07:56:46 798269fcf238: Waiting 07:56:46 6c08303d61cc: Waiting 07:56:46 6863d3e3a2b1: Waiting 07:56:46 6911f1a30b25: Verifying Checksum 07:56:46 6911f1a30b25: Download complete 07:56:46 6863d3e3a2b1: Verifying Checksum 07:56:46 6863d3e3a2b1: Download complete 07:56:46 ec0bb842ea78: Verifying Checksum 07:56:46 ec0bb842ea78: Download complete 07:56:46 4db1b89c0bd1: Download complete 07:56:46 40a00589a448: Verifying Checksum 07:56:46 40a00589a448: Download complete 07:56:46 4db1b89c0bd1: Pull complete 07:56:47 6911f1a30b25: Pull complete 07:56:47 798269fcf238: Verifying Checksum 07:56:47 798269fcf238: Download complete 07:56:47 e194b8c5c2a9: Verifying Checksum 07:56:47 e194b8c5c2a9: Download complete 07:56:47 6c08303d61cc: Verifying Checksum 07:56:47 6c08303d61cc: Download complete 07:56:51 e194b8c5c2a9: Pull complete 07:56:51 6863d3e3a2b1: Pull complete 07:56:51 ec0bb842ea78: Pull complete 07:56:51 40a00589a448: Pull complete 07:56:52 6c08303d61cc: Pull complete 07:56:53 798269fcf238: Pull complete 07:56:53 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:56:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:56:53 ---> ec979cd7f677 07:56:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 07:56:58 ---> Running in 99b2f1099f29 07:56:58 Removing intermediate container 99b2f1099f29 07:56:58 ---> 48e793f676b7 07:56:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:56:58 ---> Running in 09625391e6d5 07:56:58 Removing intermediate container 09625391e6d5 07:56:58 ---> 8d3650eeecd6 07:56:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:56:58 ---> Running in 249fc9cae668 07:56:58 Removing intermediate container 249fc9cae668 07:56:58 ---> 0b0c3b809dd1 07:56:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:56:58 ---> Running in 33712babd067 07:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:56:58 OK: 265 MiB in 53 packages 07:56:58 Removing intermediate container 33712babd067 07:56:58 ---> a9d7197cc9f0 07:56:58 Step 7/12 : WORKDIR /app 07:56:58 ---> Running in 87e73e8fcf42 07:56:59 Removing intermediate container 87e73e8fcf42 07:56:59 ---> e945d494e26d 07:56:59 Step 8/12 : COPY go.mod vendor* ./ 07:56:59 ---> aa8ab07361fd 07:56:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:56:59 ---> Running in 5c66da38fd11 07:56:59 Still waiting to schedule task 07:56:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:57:55 Removing intermediate container 5c66da38fd11 07:57:55 ---> 10ef96bcda9d 07:57:55 Step 10/12 : COPY . . 07:57:55 ---> 64dde5848616 07:57:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:57:55 ---> Running in 238f7b129e3a 07:57:55 Removing intermediate container 238f7b129e3a 07:57:55 ---> e73968413786 07:57:55 Step 12/12 : RUN $MAKE 07:57:55 ---> Running in 931080ff7264 07:57:55 noop 07:57:55 Removing intermediate container 931080ff7264 07:57:55 ---> 4d5aed02f4bb 07:57:55 Successfully built 4d5aed02f4bb 07:57:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:55 + docker inspect -f . ci-base-image-x86_64 07:57:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:56 prd-ubuntu20.04-docker-8c-8g-3184 does not seem to be running inside a container 07:57:56 $ 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 ******** ci-base-image-x86_64 cat 07:57:56 $ docker top d6673c80a08d4a2cbc6bc26344dbf21db47b57c8f59e71d003bc55e563d80afe -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:56 + go version 07:57:56 go version go1.20.6 linux/amd64 [Pipeline] } 07:57:56 $ docker stop --time=1 d6673c80a08d4a2cbc6bc26344dbf21db47b57c8f59e71d003bc55e563d80afe 07:57:58 $ docker rm -f --volumes d6673c80a08d4a2cbc6bc26344dbf21db47b57c8f59e71d003bc55e563d80afe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:58 + docker inspect -f . ci-base-image-x86_64 07:57:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:58 prd-ubuntu20.04-docker-8c-8g-3184 does not seem to be running inside a container 07:57:58 $ 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 ******** ci-base-image-x86_64 cat 07:57:59 $ docker top d4241383e37260660006c1ad14bf0de51e3c7ec93b13d6d693422e651d4ac1f5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:59 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-584 [Pipeline] fileExists [Pipeline] sh 07:58:00 + make test 07:58:00 go test -race -coverprofile=coverage.out ./... 07:58:18 ? github.com/edgexfoundry/app-service-configurable [no test files] 07:58:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3185 in /w/workspace/_app-service-configurable_PR-584 [Pipeline] { [Pipeline] ws 07:58:32 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 07:58:32 Selected Git installation does not exist. Using Default 07:58:32 The recommended git tool is: NONE 07:58:36 go vet ./... 07:58:37 using credential edgex-jenkins-ssh 07:58:37 Cloning the remote Git repository 07:58:37 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 07:58:37 > git init /w/workspace/app-service-configurable/1 # timeout=10 07:58:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 07:58:37 > git --version # timeout=10 07:58:37 > git --version # 'git version 2.25.1' 07:58:37 using GIT_SSH to set credentials SSH Credentials for GitHub 07:58:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:58:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:58:39 ./bin/test-attribution-txt.sh [Pipeline] echo 07:58:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:58:39 $ docker stop --time=1 d4241383e37260660006c1ad14bf0de51e3c7ec93b13d6d693422e651d4ac1f5 07:58:39 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 07:58:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:39 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 07:58:39 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 07:58:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:58:39 > 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 07:58:40 Merging remotes/origin/main commit 26b93c6358d1976bbdea6c8c16d65e092b814248 into PR head commit a43622ac43dc25ed43226d9ad7c49f5b900899b8 07:58:40 > git config core.sparsecheckout # timeout=10 07:58:40 > git checkout -f a43622ac43dc25ed43226d9ad7c49f5b900899b8 # timeout=10 07:58:45 $ docker rm -f --volumes d4241383e37260660006c1ad14bf0de51e3c7ec93b13d6d693422e651d4ac1f5 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage 07:58:45 + sudo chown -R jenkins:jenkins . [Pipeline] } 07:58:45 Failed in branch arm64 [Pipeline] stash 07:58:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:58:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:58:46 + ls -al . 07:58:46 total 180 07:58:46 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 07:58 . 07:58:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 07:56 .. 07:58:46 -rw-rw-r-- 1 jenkins jenkins 119 Aug 9 07:56 .dockerignore 07:58:46 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 07:56 .git 07:58:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 07:56 .github 07:58:46 -rw-rw-r-- 1 jenkins jenkins 171 Aug 9 07:56 .gitignore 07:58:46 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 07:56 .golangci.yml 07:58:46 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 07:56 .semver 07:58:46 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 9 07:56 Attribution.txt 07:58:46 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 9 07:56 CHANGELOG.md 07:58:46 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 9 07:56 Dockerfile 07:58:46 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 07:56 GOVERNANCE.md 07:58:46 -rw-rw-r-- 1 jenkins jenkins 688 Aug 9 07:56 Jenkinsfile 07:58:46 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 9 07:56 LICENSE 07:58:46 -rw-rw-r-- 1 jenkins jenkins 618 Aug 9 07:56 OWNERS.md 07:58:46 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 9 07:56 README.md 07:58:46 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 07:56 VERSION 07:58:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 07:56 bin 07:58:46 -rw-r--r-- 1 jenkins jenkins 13 Aug 9 07:58 coverage.out 07:58:46 -rw-rw-r-- 1 jenkins jenkins 3469 Aug 9 07:56 go.mod 07:58:46 -rw-rw-r-- 1 jenkins jenkins 32452 Aug 9 07:56 go.sum 07:58:46 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 9 07:56 main.go 07:58:46 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 9 07:56 makefile 07:58:46 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 07:56 res 07:58:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 07:56 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:47 + 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=a43622ac43dc25ed43226d9ad7c49f5b900899b8 --label arch=amd64 --label version=0.0.0 . 07:58:47 Sending build context to Docker daemon 3.32MB 07:58:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 07:58:47 Step 2/26 : FROM ${BASE} AS builder 07:58:47 ---> 4d5aed02f4bb 07:58:47 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 07:58:47 ---> Running in 209219d98cc0 07:58:47 Removing intermediate container 209219d98cc0 07:58:47 ---> 1b72aa0bc992 07:58:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:58:47 ---> Running in 82c4aaa4f9ef 07:58:47 Removing intermediate container 82c4aaa4f9ef 07:58:47 ---> 5148b96258ef 07:58:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 07:58:47 ---> Running in c6e2993a5f66 07:58:47 Removing intermediate container c6e2993a5f66 07:58:47 ---> 4a19a420823a 07:58:47 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:58:47 ---> Running in 2c3f39bb59f6 07:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:58:48 OK: 265 MiB in 53 packages 07:58:48 Removing intermediate container 2c3f39bb59f6 07:58:48 ---> 38f4497ddcbe 07:58:48 Step 7/26 : WORKDIR /app 07:58:48 ---> Running in 823dc8766a39 07:58:49 Removing intermediate container 823dc8766a39 07:58:49 ---> f9840d751bcb 07:58:49 Step 8/26 : COPY go.mod vendor* ./ 07:58:49 ---> ec40e6af298d 07:58:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:49 ---> Running in 7646894254ef 07:58:49 Removing intermediate container 7646894254ef 07:58:49 ---> 51af6c0267a7 07:58:49 Step 10/26 : COPY . . 07:58:50 ---> c6d5039c4b1b 07:58:50 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:58:50 ---> Running in 5efc7a096708 07:58:50 Removing intermediate container 5efc7a096708 07:58:50 ---> c05eaa44996e 07:58:50 Step 12/26 : RUN $MAKE 07:58:50 ---> Running in e2400600201e 07:58:50 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 07:59:12 Removing intermediate container e2400600201e 07:59:12 ---> 9e9d0802b45e 07:59:12 Step 13/26 : FROM alpine:3.17 07:59:12 3.17: Pulling from library/alpine 07:59:12 9398808236ff: Pulling fs layer 07:59:12 9398808236ff: Verifying Checksum 07:59:12 9398808236ff: Download complete 07:59:12 9398808236ff: Pull complete 07:59:12 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:59:12 Status: Downloaded newer image for alpine:3.17 07:59:12 ---> 1e0b8b5322fc 07:59:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:59:12 ---> Running in bc0d9005b198 07:59:12 Removing intermediate container bc0d9005b198 07:59:12 ---> c963cbcc5fdb 07:59:12 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 07:59:12 ---> Running in 7eadf08e1228 07:59:12 Removing intermediate container 7eadf08e1228 07:59:12 ---> 928944254616 07:59:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 07:59:12 ---> Running in 7d876122bc48 07:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:59:12 (1/2) Installing ca-certificates (20230506-r0) 07:59:12 (2/2) Installing dumb-init (1.2.5-r2) 07:59:12 Executing busybox-1.35.0-r29.trigger 07:59:12 Executing ca-certificates-20230506-r0.trigger 07:59:12 OK: 8 MiB in 17 packages 07:59:12 Removing intermediate container 7d876122bc48 07:59:12 ---> 3ab4aef2d0f5 07:59:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 07:59:12 ---> 46246cc23a39 07:59:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 07:59:12 ---> 402d194129a1 07:59:12 Step 19/26 : COPY --from=builder /app/res/ /res/ 07:59:12 ---> 6bea94832bbf 07:59:12 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 07:59:12 ---> 3b9f8ef8876f 07:59:12 Step 21/26 : EXPOSE 48095 07:59:12 ---> Running in 797f3d3172ea 07:59:12 Removing intermediate container 797f3d3172ea 07:59:12 ---> 443e8366096f 07:59:12 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 07:59:12 ---> Running in 920897f0cea5 07:59:12 Removing intermediate container 920897f0cea5 07:59:12 ---> b72772d8dba0 07:59:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:59:12 ---> Running in d2cae4cb71b9 07:59:12 Removing intermediate container d2cae4cb71b9 07:59:12 ---> b472435a6190 07:59:12 Step 24/26 : LABEL arch=amd64 07:59:12 ---> Running in 4139de7d4b09 07:59:12 Removing intermediate container 4139de7d4b09 07:59:12 ---> 03601685d8ad 07:59:12 Step 25/26 : LABEL git_sha=a43622ac43dc25ed43226d9ad7c49f5b900899b8 07:59:12 ---> Running in 623a12d3f417 07:59:12 Removing intermediate container 623a12d3f417 07:59:12 ---> 21239b8e9a22 07:59:12 Step 26/26 : LABEL version=0.0.0 07:59:12 ---> Running in 42b5579f2a24 07:59:12 Removing intermediate container 42b5579f2a24 07:59:12 ---> 7fa69418a0fe 07:59:12 [Warning] One or more build-args [ARCH] were not consumed 07:59:12 Successfully built 7fa69418a0fe 07:59:12 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 07:59:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:59:13 07:59:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:59:14 latest: Pulling from edgex-lftools-log-publisher 07:59:14 5eb5b503b376: Pulling fs layer 07:59:14 5c69ac0246d0: Pulling fs layer 07:59:14 ec43610c2a17: Pulling fs layer 07:59:14 3a2ae6a8a46f: Pulling fs layer 07:59:14 33b1e0a273af: Pulling fs layer 07:59:14 5d3b04190fa2: Pulling fs layer 07:59:14 2f39f015ded8: Pulling fs layer 07:59:14 3a2ae6a8a46f: Waiting 07:59:14 5d3b04190fa2: Waiting 07:59:14 2f39f015ded8: Waiting 07:59:14 33b1e0a273af: Waiting 07:59:14 5c69ac0246d0: Verifying Checksum 07:59:14 5c69ac0246d0: Download complete 07:59:14 3a2ae6a8a46f: Download complete 07:59:14 33b1e0a273af: Verifying Checksum 07:59:14 33b1e0a273af: Download complete 07:59:14 5d3b04190fa2: Verifying Checksum 07:59:14 5d3b04190fa2: Download complete 07:59:14 ec43610c2a17: Verifying Checksum 07:59:14 ec43610c2a17: Download complete 07:59:14 5eb5b503b376: Verifying Checksum 07:59:14 5eb5b503b376: Download complete 07:59:15 2f39f015ded8: Verifying Checksum 07:59:15 2f39f015ded8: Download complete 07:59:15 5eb5b503b376: Pull complete 07:59:15 5c69ac0246d0: Pull complete 07:59:16 ec43610c2a17: Pull complete 07:59:16 3a2ae6a8a46f: Pull complete 07:59:16 33b1e0a273af: Pull complete 07:59:16 5d3b04190fa2: Pull complete 07:59:20 2f39f015ded8: Pull complete 07:59:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:59:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:59:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:20 prd-ubuntu20.04-docker-8c-8g-3184 does not seem to be running inside a container 07:59: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_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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:59:24 $ docker top 536cfc16ffe9b5f602f19f9f37abb7f90b8c325b7ae4a51f8c8eb655a609726d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:24 ---> job-cost.sh 07:59:24 lf-activate-venv: SKIPPING 07:59:24 INFO: No Stack... 07:59:24 INFO: Retrieving Pricing Info for: v3-standard-8 07:59:25 INFO: Archiving Costs [Pipeline] sh 07:59:25 + cat /w/workspace/_app-service-configurable_PR-584/archives/cost.csv 07:59:25 + cut -d, -f6 [Pipeline] lock 07:59:25 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-584-1-stack-cost] 07:59:25 Resource [jenkins-edgexfoundry-app-service-configurable-PR-584-1-stack-cost] did not exist. Created. 07:59:25 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-584-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:59:26 + echo total: 0.2199999988079071 [Pipeline] stash 07:59:26 Stashed 1 file(s) [Pipeline] } 07:59:26 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-584-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:59:26 $ docker stop --time=1 536cfc16ffe9b5f602f19f9f37abb7f90b8c325b7ae4a51f8c8eb655a609726d 07:59:27 $ docker rm -f --volumes 536cfc16ffe9b5f602f19f9f37abb7f90b8c325b7ae4a51f8c8eb655a609726d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:59:30 + [ -d /w/workspace/_app-service-configurable_PR-584/archives ] 07:59:30 + ls -al /w/workspace/_app-service-configurable_PR-584/archives 07:59:30 total 16 07:59:30 drwxr-xr-x 3 root root 4096 Aug 9 07:59 . 07:59:30 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 07:59 .. 07:59:30 drwxr-xr-x 2 root root 4096 Aug 9 07:59 cost 07:59:30 -rw-r--r-- 1 root root 96 Aug 9 07:59 cost.csv 07:59:30 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-584/archives 07:59:30 + ls -al /w/workspace/_app-service-configurable_PR-584/archives 07:59:30 total 16 07:59:30 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 07:59 . 07:59:30 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 07:59 .. 07:59:30 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 07:59 cost 07:59:30 -rw-r--r-- 1 jenkins jenkins 96 Aug 9 07:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:59:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:59:31 ---> package-listing.sh 07:59:31 ++ facter osfamily 07:59:31 ++ tr '[:upper:]' '[:lower:]' 07:59:31 + OS_FAMILY=debian 07:59:31 + workspace=/w/workspace/_app-service-configurable_PR-584 07:59:31 + START_PACKAGES=/tmp/packages_start.txt 07:59:31 + END_PACKAGES=/tmp/packages_end.txt 07:59:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:59:31 + PACKAGES=/tmp/packages_start.txt 07:59:31 + '[' /w/workspace/_app-service-configurable_PR-584 ']' 07:59:31 + PACKAGES=/tmp/packages_end.txt 07:59:31 + case "${OS_FAMILY}" in 07:59:31 + dpkg -l 07:59:31 + grep '^ii' 07:59:31 + '[' -f /tmp/packages_start.txt ']' 07:59:31 + '[' -f /tmp/packages_end.txt ']' 07:59:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:59:31 + '[' /w/workspace/_app-service-configurable_PR-584 ']' 07:59:31 + mkdir -p /w/workspace/_app-service-configurable_PR-584/archives/ 07:59: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 07:59: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 07:59:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:59:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:32 prd-ubuntu20.04-docker-8c-8g-3184 does not seem to be running inside a container 07:59: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:59:32 $ docker top 738dd082b6558ac24a7a148e34e7fa56d9217009c687a70ad556fcf6870d017e -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:33 + touch /tmp/pre-build-complete [Pipeline] sh 07:59:33 + mkdir -p /var/log/sysstat [Pipeline] sh 07:59:33 + ls /var/log/sa-host 07:59:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:59:34 provisioning config files... 07:59:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-584@tmp/config13884177851371471751tmp [Pipeline] { [Pipeline] echo 07:59:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:59:34 ---> create-netrc.sh [Pipeline] } 07:59:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:59:34 ---> python-tools-install.sh [Pipeline] echo 07:59:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:59:35 ---> sudo-logs.sh 07:59:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:59:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:59:35 ---> job-cost.sh 07:59:35 lf-activate-venv: SKIPPING 07:59:35 DEBUG: total: 0.2199999988079071 07:59:35 INFO: Retrieving Stack Cost... 07:59:35 INFO: Retrieving Pricing Info for: v3-standard-8 07:59:36 INFO: Archiving Costs [Pipeline] echo 07:59:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:59:36 ---> logs-deploy.sh 07:59:36 lf-activate-venv: SKIPPING 07:59:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-584/1 07:59:36 INFO: archiving workspace using pattern(s): 07:59:37 Archives upload complete. 07:59:37 INFO: archiving logs to Nexus