Pull request #535 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 marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 11af183f2194c3fd12bdcc9d8b6be264b57aff6c rather than 2445641463aab16da5db84950a6ea9d646baa681 Obtained Jenkinsfile from 11af183f2194c3fd12bdcc9d8b6be264b57aff6c 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-ssh6143284605216485432.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5927331558144516526.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-535/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-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11581691516171615659.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-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14401125159615889491.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh17252878648313315054.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-535/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-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh869018428665234351.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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 Running on prd-ubuntu20.04-docker-8c-8g-5335 in /w/workspace/_app-service-configurable_PR-535 [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-535 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 2445641463aab16da5db84950a6ea9d646baa681 > 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/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 2445641463aab16da5db84950a6ea9d646baa681 Checking out Revision 2445641463aab16da5db84950a6ea9d646baa681 (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f 2445641463aab16da5db84950a6ea9d646baa681 # 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 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2445641463aab16da5db84950a6ea9d646baa681 # timeout=10 Commit message: "refactor!:Change configuration profile formats to YAML" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:51:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:51:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:51:35 ========================================================= 23:51:35 EdgeX Global Pipelines Version Info 23:51:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:51:36 ------------------- 23:51:36 stable info: 23:51:36 ------------------- 23:51:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:51:36 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:51:36 Message: update stable to v1.0.245 23:51:36 ------------------- 23:51:36 experimental info: 23:51:36 ------------------- 23:51:36 Commited By: **** collab-it+edgex@linuxfoundation.org 23:51:36 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:51:36 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:51:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 23:51:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 23:51:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:51:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:51:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 23:51:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 23:51:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 23:51:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2445641463aab16da5db84950a6ea9d646baa681 [Pipeline] echo 23:51:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2445641 [Pipeline] echo 23:51:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:51:38 provisioning config files... 23:51:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config2968077223508188658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:38 ---> docker-login.sh 23:51:38 nexus3.edgexfoundry.org:10001 23:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:38 Configure a credential helper to remove this warning. See 23:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:38 23:51:38 Login Succeeded 23:51:38 nexus3.edgexfoundry.org:10002 23:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:39 Configure a credential helper to remove this warning. See 23:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:39 23:51:39 Login Succeeded 23:51:39 nexus3.edgexfoundry.org:10003 23:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:39 Configure a credential helper to remove this warning. See 23:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:39 23:51:39 Login Succeeded 23:51:39 nexus3.edgexfoundry.org:10004 23:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:39 Configure a credential helper to remove this warning. See 23:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:39 23:51:39 Login Succeeded 23:51:39 docker.io 23:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:39 Configure a credential helper to remove this warning. See 23:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:39 23:51:39 Login Succeeded 23:51:39 ---> docker-login.sh ends [Pipeline] } 23:51:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:51:40 + git rev-list -1 --merges 2445641463aab16da5db84950a6ea9d646baa681~1..2445641463aab16da5db84950a6ea9d646baa681 [Pipeline] echo 23:51:40 -----------> git rev-list -1 --merges 2445641463aab16da5db84950a6ea9d646baa681~1..2445641463aab16da5db84950a6ea9d646baa681 2445641463aab16da5db84950a6ea9d646baa681 [false] [Pipeline] sh 23:51:40 + git log --format=format:%s -1 2445641463aab16da5db84950a6ea9d646baa681 [Pipeline] echo 23:51:40 ========================================================= 23:51:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:51:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:51:40 + git log --format=format:%s -1 2445641463aab16da5db84950a6ea9d646baa681 [Pipeline] echo 23:51:40 [semverPrep] GIT_COMMIT: 2445641463aab16da5db84950a6ea9d646baa681, Commit Message: refactor!:Change configuration profile formats to YAML [Pipeline] echo 23:51:40 [semverPrep] This is not a build commit. [Pipeline] sh 23:51:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:51:41 + grep -v github /etc/ssh/ssh_known_hosts 23:51:41 + [ -e /tmp/ssh_known_hosts ] 23:51:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:51:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:51:41 + sudo tee -a /etc/ssh/ssh_known_hosts 23:51:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:41 23:51:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:42 0.1.4: Pulling from edgex-devops/py-git-semver 23:51:42 b85a868b505f: Pulling fs layer 23:51:42 e2be974225ed: Pulling fs layer 23:51:42 339a4e72a1f5: Pulling fs layer 23:51:42 988bab9f4d93: Pulling fs layer 23:51:42 1469e6f7b9e6: Pulling fs layer 23:51:42 eaf3925da568: Pulling fs layer 23:51:42 bab4dde63d76: Pulling fs layer 23:51:42 bde34c3a00c8: Pulling fs layer 23:51:42 b352a97aabf1: Pulling fs layer 23:51:42 4872d77fe225: Pulling fs layer 23:51:42 5851b861e8e6: Pulling fs layer 23:51:42 1469e6f7b9e6: Waiting 23:51:42 5851b861e8e6: Waiting 23:51:42 bde34c3a00c8: Waiting 23:51:42 bab4dde63d76: Waiting 23:51:42 4872d77fe225: Waiting 23:51:42 988bab9f4d93: Waiting 23:51:42 eaf3925da568: Waiting 23:51:42 b352a97aabf1: Waiting 23:51:42 e2be974225ed: Verifying Checksum 23:51:42 e2be974225ed: Download complete 23:51:42 988bab9f4d93: Verifying Checksum 23:51:42 988bab9f4d93: Download complete 23:51:42 1469e6f7b9e6: Verifying Checksum 23:51:42 1469e6f7b9e6: Download complete 23:51:42 339a4e72a1f5: Verifying Checksum 23:51:42 339a4e72a1f5: Download complete 23:51:42 eaf3925da568: Download complete 23:51:42 bde34c3a00c8: Download complete 23:51:42 b352a97aabf1: Download complete 23:51:42 4872d77fe225: Verifying Checksum 23:51:42 4872d77fe225: Download complete 23:51:42 5851b861e8e6: Download complete 23:51:42 b85a868b505f: Verifying Checksum 23:51:42 b85a868b505f: Download complete 23:51:42 bab4dde63d76: Verifying Checksum 23:51:42 bab4dde63d76: Download complete 23:51:43 b85a868b505f: Pull complete 23:51:43 e2be974225ed: Pull complete 23:51:44 339a4e72a1f5: Pull complete 23:51:44 988bab9f4d93: Pull complete 23:51:44 1469e6f7b9e6: Pull complete 23:51:44 eaf3925da568: Pull complete 23:51:46 bab4dde63d76: Pull complete 23:51:46 bde34c3a00c8: Pull complete 23:51:46 b352a97aabf1: Pull complete 23:51:46 4872d77fe225: Pull complete 23:51:46 5851b861e8e6: Pull complete 23:51:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:51:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:46 prd-ubuntu20.04-docker-8c-8g-5335 does not seem to be running inside a container 23:51:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:51:47 $ docker top 69dfd3e1936b351e774f57845aaad9d4b1ae624598f8b856a5e21a98c46785a9 -eo pid,comm 23:51:47 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). 23:51:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:51:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:51:48 [ssh-agent] Looking for ssh-agent implementation... 23:51:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:51:48 $ docker exec 69dfd3e1936b351e774f57845aaad9d4b1ae624598f8b856a5e21a98c46785a9 ssh-agent 23:51:48 SSH_AUTH_SOCK=/tmp/ssh-WdiCQRP6HNNl/agent.32 23:51:48 SSH_AGENT_PID=38 23:51:48 Running ssh-add (command line suppressed) 23:51:48 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_12875222045761877661.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_12875222045761877661.key) 23:51:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:51:48 + git tag --points-at HEAD [Pipeline] } 23:51:48 $ docker exec --env ******** --env ******** 69dfd3e1936b351e774f57845aaad9d4b1ae624598f8b856a5e21a98c46785a9 ssh-agent -k 23:51:48 unset SSH_AUTH_SOCK; 23:51:48 unset SSH_AGENT_PID; 23:51:48 echo Agent pid 38 killed; 23:51:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:51:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:51:48 [ssh-agent] Looking for ssh-agent implementation... 23:51:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:51:49 $ docker exec 69dfd3e1936b351e774f57845aaad9d4b1ae624598f8b856a5e21a98c46785a9 ssh-agent 23:51:49 SSH_AUTH_SOCK=/tmp/ssh-2TjhIAC12ZX2/agent.70 23:51:49 SSH_AGENT_PID=76 23:51:49 Running ssh-add (command line suppressed) 23:51:49 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_11269765357290634324.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_11269765357290634324.key) 23:51:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:51:49 + git semver init 23:51:49 2023-03-22 23:51:49,725 [run_init] DEBUG init version:0.0.0 force:False 23:51:49 2023-03-22 23:51:49,726 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-535/.semver 23:51:49 2023-03-22 23:51:49,726 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-535/.semver 23:51:49 2023-03-22 23:51:49,726 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-535/.semver'], cwd=/w/workspace/_app-service-configurable_PR-535, universal_newlines=False, shell=None, istream=None) 23:51:50 2023-03-22 23:51:50,479 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-535/.git/info/exclude 23:51:50 2023-03-22 23:51:50,479 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 with force:False 23:51:50 2023-03-22 23:51:50,479 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 23:51:50 2023-03-22 23:51:50,483 [execute] INFO git cat-file --batch-check 23:51:50 2023-03-22 23:51:50,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 23:51:50 2023-03-22 23:51:50,490 [execute] INFO git cat-file --batch 23:51:50 2023-03-22 23:51:50,490 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 23:51:50 2023-03-22 23:51:50,495 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-535/.semver/PR-535 23:51:50 0.0.0 [Pipeline] } 23:51:50 $ docker exec --env ******** --env ******** 69dfd3e1936b351e774f57845aaad9d4b1ae624598f8b856a5e21a98c46785a9 ssh-agent -k 23:51:50 unset SSH_AUTH_SOCK; 23:51:50 unset SSH_AGENT_PID; 23:51:50 echo Agent pid 76 killed; 23:51:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:51:51 + git semver [Pipeline] } 23:51:51 $ docker stop --time=1 69dfd3e1936b351e774f57845aaad9d4b1ae624598f8b856a5e21a98c46785a9 23:51:52 $ docker rm -f --volumes 69dfd3e1936b351e774f57845aaad9d4b1ae624598f8b856a5e21a98c46785a9 [Pipeline] // withDockerContainer [Pipeline] sh 23:51:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:51:53 Stashed 1 file(s) [Pipeline] echo 23:51:53 [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 23:51:54 provisioning config files... 23:51:54 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config12075491598497158322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:54 ---> docker-login.sh 23:51:54 nexus3.edgexfoundry.org:10001 23:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:54 Configure a credential helper to remove this warning. See 23:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:54 23:51:54 Login Succeeded 23:51:54 nexus3.edgexfoundry.org:10002 23:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:54 Configure a credential helper to remove this warning. See 23:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:54 23:51:54 Login Succeeded 23:51:54 nexus3.edgexfoundry.org:10003 23:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:54 Configure a credential helper to remove this warning. See 23:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:54 23:51:54 Login Succeeded 23:51:54 nexus3.edgexfoundry.org:10004 23:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:54 Configure a credential helper to remove this warning. See 23:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:54 23:51:54 Login Succeeded 23:51:54 docker.io 23:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:55 Configure a credential helper to remove this warning. See 23:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:55 23:51:55 Login Succeeded 23:51:55 ---> docker-login.sh ends [Pipeline] } 23:51:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:51:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:51:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:51:55 ========================================================= 23:51:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:51:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:55 + 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 . 23:51:55 Sending build context to Docker daemon 3.251MB 23:51:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:51:55 Step 2/12 : FROM ${BASE} AS builder 23:51:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:51:55 63b65145d645: Pulling fs layer 23:51:55 a2d21d5440eb: Pulling fs layer 23:51:55 935e6c44a52c: Pulling fs layer 23:51:55 94cc34f8dd06: Pulling fs layer 23:51:55 30dea6a524f1: Pulling fs layer 23:51:55 a2aff8979fd8: Pulling fs layer 23:51:55 6808be2612f2: Pulling fs layer 23:51:55 f25807f1079a: Pulling fs layer 23:51:55 30dea6a524f1: Waiting 23:51:55 94cc34f8dd06: Waiting 23:51:55 a2aff8979fd8: Waiting 23:51:55 f25807f1079a: Waiting 23:51:55 6808be2612f2: Waiting 23:51:55 a2d21d5440eb: Verifying Checksum 23:51:55 a2d21d5440eb: Download complete 23:51:55 94cc34f8dd06: Download complete 23:51:56 30dea6a524f1: Verifying Checksum 23:51:56 30dea6a524f1: Download complete 23:51:56 63b65145d645: Verifying Checksum 23:51:56 63b65145d645: Download complete 23:51:56 a2aff8979fd8: Verifying Checksum 23:51:56 a2aff8979fd8: Download complete 23:51:56 63b65145d645: Pull complete 23:51:56 a2d21d5440eb: Pull complete 23:51:56 f25807f1079a: Verifying Checksum 23:51:56 f25807f1079a: Download complete 23:51:56 935e6c44a52c: Verifying Checksum 23:51:56 935e6c44a52c: Download complete 23:51:56 6808be2612f2: Download complete 23:52:00 935e6c44a52c: Pull complete 23:52:00 94cc34f8dd06: Pull complete 23:52:00 30dea6a524f1: Pull complete 23:52:00 a2aff8979fd8: Pull complete 23:52:02 6808be2612f2: Pull complete 23:52:03 f25807f1079a: Pull complete 23:52:03 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:52:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:52:03 ---> 3b553350e43f 23:52:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:52:04 ---> Running in 68bb5c9cd9dd 23:52:04 Removing intermediate container 68bb5c9cd9dd 23:52:04 ---> 77e5a55b6428 23:52:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:52:04 ---> Running in ae98671a5221 23:52:04 Removing intermediate container ae98671a5221 23:52:04 ---> 0a123b3666d7 23:52:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:52:04 ---> Running in 6ba1f8169b6d 23:52:04 Removing intermediate container 6ba1f8169b6d 23:52:04 ---> 49a4b07e40a6 23:52:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:52:04 ---> Running in 74116786b37f 23:52:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:52:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:52:05 OK: 265 MiB in 53 packages 23:52:05 Removing intermediate container 74116786b37f 23:52:05 ---> dd54adba8b9b 23:52:05 Step 7/12 : WORKDIR /app 23:52:06 ---> Running in 70b2da53654d 23:52:06 Removing intermediate container 70b2da53654d 23:52:06 ---> 46ace81b8a67 23:52:06 Step 8/12 : COPY go.mod vendor* ./ 23:52:06 ---> 91c83838b257 23:52:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:52:06 ---> Running in 41689b9fad48 23:52:09 Still waiting to schedule task 23:52:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:52:38 Removing intermediate container 41689b9fad48 23:52:38 ---> 6a7d6ee31c3c 23:52:38 Step 10/12 : COPY . . 23:52:38 ---> d34bf071baad 23:52:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:52:38 ---> Running in 31d94d2b6597 23:52:38 Removing intermediate container 31d94d2b6597 23:52:38 ---> 05b537103e30 23:52:38 Step 12/12 : RUN $MAKE 23:52:38 ---> Running in f8a0933fd9a4 23:52:38 noop 23:52:38 Removing intermediate container f8a0933fd9a4 23:52:38 ---> 7a2f8e918bfe 23:52:38 Successfully built 7a2f8e918bfe 23:52:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:38 + docker inspect -f . ci-base-image-x86_64 23:52:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:38 prd-ubuntu20.04-docker-8c-8g-5335 does not seem to be running inside a container 23:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@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 ******** ci-base-image-x86_64 cat 23:52:39 $ docker top af29d22bf9dbd0819660c98acc40a93e9cf4a5915a2266518c7b007ac091da40 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:39 + go version 23:52:39 go version go1.20.2 linux/amd64 [Pipeline] } 23:52:39 $ docker stop --time=1 af29d22bf9dbd0819660c98acc40a93e9cf4a5915a2266518c7b007ac091da40 23:52:40 $ docker rm -f --volumes af29d22bf9dbd0819660c98acc40a93e9cf4a5915a2266518c7b007ac091da40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:41 + docker inspect -f . ci-base-image-x86_64 23:52:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:41 prd-ubuntu20.04-docker-8c-8g-5335 does not seem to be running inside a container 23:52:41 $ 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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@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 ******** ci-base-image-x86_64 cat 23:52:41 $ docker top 45227cd70d1d57bd0e04bf4bb63bece3c51d7743bfaf642b5ef7474de26dc54f -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:42 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-535 [Pipeline] fileExists [Pipeline] sh 23:52:42 + make test 23:52:42 go test -race -coverprofile=coverage.out ./... 23:53:00 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:53:18 go vet ./... 23:53:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:53:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:53:20 ./bin/test-attribution-txt.sh 23:53:20 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 23:53:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:53:20 $ docker stop --time=1 45227cd70d1d57bd0e04bf4bb63bece3c51d7743bfaf642b5ef7474de26dc54f 23:53:22 $ docker rm -f --volumes 45227cd70d1d57bd0e04bf4bb63bece3c51d7743bfaf642b5ef7474de26dc54f [Pipeline] // withDockerContainer [Pipeline] sh 23:53:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:53:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:53:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:53:24 + ls -al . 23:53:24 total 176 23:53:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 23:52 . 23:53:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:51 .. 23:53:24 -rw-rw-r-- 1 jenkins jenkins 119 Mar 22 23:51 .dockerignore 23:53:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 23:51 .git 23:53:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 23:51 .github 23:53:24 -rw-rw-r-- 1 jenkins jenkins 171 Mar 22 23:51 .gitignore 23:53:24 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 23:51 .golangci.yml 23:53:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 23:51 .semver 23:53:24 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 22 23:51 Attribution.txt 23:53:24 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 22 23:51 CHANGELOG.md 23:53:24 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 22 23:51 Dockerfile 23:53:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 23:51 GOVERNANCE.md 23:53:24 -rw-rw-r-- 1 jenkins jenkins 688 Mar 22 23:51 Jenkinsfile 23:53:24 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 22 23:51 LICENSE 23:53:24 -rw-rw-r-- 1 jenkins jenkins 618 Mar 22 23:51 OWNERS.md 23:53:24 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 22 23:51 README.md 23:53:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 23:51 VERSION 23:53:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 23:51 bin 23:53:24 -rw-r--r-- 1 jenkins jenkins 13 Mar 22 23:52 coverage.out 23:53:24 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 22 23:51 go.mod 23:53:24 -rw-rw-r-- 1 jenkins jenkins 31037 Mar 22 23:51 go.sum 23:53:24 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 22 23:51 main.go 23:53:24 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 22 23:51 makefile 23:53:24 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 23:51 res 23:53:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 23:51 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:24 + 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=2445641463aab16da5db84950a6ea9d646baa681 --label arch=amd64 --label version=0.0.0 . 23:53:24 Sending build context to Docker daemon 3.252MB 23:53:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:53:24 Step 2/26 : FROM ${BASE} AS builder 23:53:24 ---> 7a2f8e918bfe 23:53:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:53:24 ---> Running in 4f3aa965a153 23:53:24 Removing intermediate container 4f3aa965a153 23:53:24 ---> 5adb5a53b0de 23:53:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:53:24 ---> Running in 4dba0803c6b0 23:53:24 Removing intermediate container 4dba0803c6b0 23:53:24 ---> 229b9439255c 23:53:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:53:24 ---> Running in d24765b61a66 23:53:24 Removing intermediate container d24765b61a66 23:53:24 ---> 96cc5ab24024 23:53:24 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:24 ---> Running in ce44495bca4e 23:53:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:53:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:53:25 OK: 265 MiB in 53 packages 23:53:25 Removing intermediate container ce44495bca4e 23:53:25 ---> 5011176cd008 23:53:25 Step 7/26 : WORKDIR /app 23:53:25 ---> Running in 492070606fb4 23:53:25 Removing intermediate container 492070606fb4 23:53:25 ---> 972e4a366ca8 23:53:25 Step 8/26 : COPY go.mod vendor* ./ 23:53:25 ---> 406f9154f8a7 23:53:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:25 ---> Running in 42d5eee28d7e 23:53:26 Removing intermediate container 42d5eee28d7e 23:53:26 ---> 2c9dc7bd8612 23:53:26 Step 10/26 : COPY . . 23:53:26 ---> 763d6c34b21b 23:53:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:53:26 ---> Running in 8ef61988c96e 23:53:26 Removing intermediate container 8ef61988c96e 23:53:26 ---> 3380c00ecf6c 23:53:26 Step 12/26 : RUN $MAKE 23:53:26 ---> Running in 1842a4ef2925 23:53:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.43 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:53:45 Removing intermediate container 1842a4ef2925 23:53:45 ---> 4f48e6e9881b 23:53:45 Step 13/26 : FROM alpine:3.17 23:53:45 3.17: Pulling from library/alpine 23:53:45 63b65145d645: Already exists 23:53:45 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:53:45 Status: Downloaded newer image for alpine:3.17 23:53:45 ---> b2aa39c304c2 23:53:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:53:45 ---> Running in ef15d3dbe379 23:53:45 Removing intermediate container ef15d3dbe379 23:53:45 ---> 1603c3c69459 23:53:45 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:53:45 ---> Running in 75cc3f14b1da 23:53:45 Removing intermediate container 75cc3f14b1da 23:53:45 ---> 6f53a1e74cb0 23:53:45 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:53:45 ---> Running in b8f3f0d700c7 23:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:53:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:53:45 (1/2) Installing ca-certificates (20220614-r4) 23:53:45 (2/2) Installing dumb-init (1.2.5-r2) 23:53:45 Executing busybox-1.35.0-r29.trigger 23:53:45 Executing ca-certificates-20220614-r4.trigger 23:53:45 OK: 8 MiB in 17 packages 23:53:45 Removing intermediate container b8f3f0d700c7 23:53:45 ---> bfa9b889bcc4 23:53:45 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:53:45 ---> ff32cf2a4b49 23:53:45 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:53:45 ---> 579c2f2ea53c 23:53:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:53:45 ---> e05c0f0e9d94 23:53:45 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:53:46 ---> 8f5a0a99b0e0 23:53:46 Step 21/26 : EXPOSE 48095 23:53:46 ---> Running in f4acbb0df1eb 23:53:46 Removing intermediate container f4acbb0df1eb 23:53:46 ---> 0a422196dfc6 23:53:46 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:53:46 ---> Running in 1d42211539ee 23:53:46 Removing intermediate container 1d42211539ee 23:53:46 ---> aad87e989a69 23:53:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:53:46 ---> Running in 2c91191be40a 23:53:46 Removing intermediate container 2c91191be40a 23:53:46 ---> 9595148655db 23:53:46 Step 24/26 : LABEL arch=amd64 23:53:46 ---> Running in 99cd1b14ff1f 23:53:46 Removing intermediate container 99cd1b14ff1f 23:53:46 ---> a1161edaf59d 23:53:46 Step 25/26 : LABEL git_sha=2445641463aab16da5db84950a6ea9d646baa681 23:53:46 ---> Running in 9174e8935bf0 23:53:46 Removing intermediate container 9174e8935bf0 23:53:46 ---> ef1679351884 23:53:46 Step 26/26 : LABEL version=0.0.0 23:53:46 ---> Running in 130666fc0380 23:53:46 Removing intermediate container 130666fc0380 23:53:46 ---> 08cf08ad4cd2 23:53:46 [Warning] One or more build-args [ARCH] were not consumed 23:53:46 Successfully built 08cf08ad4cd2 23:53:46 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 23:53:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:47 23:53:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:47 latest: Pulling from edgex-lftools-log-publisher 23:53:47 5eb5b503b376: Pulling fs layer 23:53:47 5c69ac0246d0: Pulling fs layer 23:53:47 ec43610c2a17: Pulling fs layer 23:53:47 3a2ae6a8a46f: Pulling fs layer 23:53:47 33b1e0a273af: Pulling fs layer 23:53:47 5d3b04190fa2: Pulling fs layer 23:53:47 2f39f015ded8: Pulling fs layer 23:53:47 3a2ae6a8a46f: Waiting 23:53:47 33b1e0a273af: Waiting 23:53:47 5d3b04190fa2: Waiting 23:53:47 2f39f015ded8: Waiting 23:53:47 5c69ac0246d0: Verifying Checksum 23:53:47 5c69ac0246d0: Download complete 23:53:47 3a2ae6a8a46f: Verifying Checksum 23:53:47 3a2ae6a8a46f: Download complete 23:53:48 33b1e0a273af: Verifying Checksum 23:53:48 33b1e0a273af: Download complete 23:53:48 5d3b04190fa2: Verifying Checksum 23:53:48 5d3b04190fa2: Download complete 23:53:48 ec43610c2a17: Download complete 23:53:48 5eb5b503b376: Verifying Checksum 23:53:48 5eb5b503b376: Download complete 23:53:48 2f39f015ded8: Download complete 23:53:49 5eb5b503b376: Pull complete 23:53:49 5c69ac0246d0: Pull complete 23:53:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5339 in /w/workspace/_app-service-configurable_PR-535 [Pipeline] { [Pipeline] ws 23:53:49 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 23:53:49 ec43610c2a17: Pull complete 23:53:49 Selected Git installation does not exist. Using Default 23:53:49 The recommended git tool is: NONE 23:53:50 3a2ae6a8a46f: Pull complete 23:53:50 33b1e0a273af: Pull complete 23:53:50 5d3b04190fa2: Pull complete 23:53:54 2f39f015ded8: Pull complete 23:53:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:54 prd-ubuntu20.04-docker-8c-8g-5335 does not seem to be running inside a container 23:53:54 $ 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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@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 23:53:55 $ docker top d0b8255f46ab667d25a62fdce95e72e93f7bc448a33456ab7734a158a74fa93e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:56 using credential edgex-jenkins-ssh 23:53:56 Cloning the remote Git repository 23:53:56 ---> job-cost.sh 23:53:56 lf-activate-venv: SKIPPING 23:53:56 INFO: No Stack... 23:53:56 INFO: Retrieving Pricing Info for: v3-standard-8 23:53:57 INFO: Archiving Costs [Pipeline] sh 23:53:56 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 23:53:56 > git init /w/workspace/app-service-configurable/1 # timeout=10 23:53:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:53:56 > git --version # timeout=10 23:53:56 > git --version # 'git version 2.25.1' 23:53:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:53:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:53:57 + cat /w/workspace/_app-service-configurable_PR-535/archives/cost.csv 23:53:57 + cut -d, -f6 [Pipeline] lock 23:53:57 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-1-stack-cost] 23:53:57 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-1-stack-cost] did not exist. Created. 23:53:57 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:53:57 + echo total: 0.2199999988079071 [Pipeline] stash 23:53:57 Stashed 1 file(s) [Pipeline] } 23:53:57 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:53:58 $ docker stop --time=1 d0b8255f46ab667d25a62fdce95e72e93f7bc448a33456ab7734a158a74fa93e 23:53:57 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:53:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:53:59 $ docker rm -f --volumes d0b8255f46ab667d25a62fdce95e72e93f7bc448a33456ab7734a158a74fa93e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:53:59 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 2445641463aab16da5db84950a6ea9d646baa681 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node 23:53:58 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:53:59 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:53:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:53:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:53:59 > git config core.sparsecheckout # timeout=10 23:53:59 > git checkout -f 2445641463aab16da5db84950a6ea9d646baa681 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] } 23:54:00 Failed in branch arm64 [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 23:54:01 + [ -d /w/workspace/_app-service-configurable_PR-535/archives ] 23:54:01 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 23:54:01 total 16 23:54:01 drwxr-xr-x 3 root root 4096 Mar 22 23:53 . 23:54:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 23:53 .. 23:54:01 drwxr-xr-x 2 root root 4096 Mar 22 23:53 cost 23:54:01 -rw-r--r-- 1 root root 97 Mar 22 23:53 cost.csv 23:54:01 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-535/archives 23:54:01 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 23:54:01 total 16 23:54:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 23:53 . 23:54:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 23:53 .. 23:54:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 23:53 cost 23:54:01 -rw-r--r-- 1 jenkins jenkins 97 Mar 22 23:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:54:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:54:03 ---> package-listing.sh 23:54:03 ++ facter osfamily 23:54:03 ++ tr '[:upper:]' '[:lower:]' 23:54:03 + OS_FAMILY=debian 23:54:03 + workspace=/w/workspace/_app-service-configurable_PR-535 23:54:03 + START_PACKAGES=/tmp/packages_start.txt 23:54:03 + END_PACKAGES=/tmp/packages_end.txt 23:54:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:54:03 + PACKAGES=/tmp/packages_start.txt 23:54:03 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 23:54:03 + PACKAGES=/tmp/packages_end.txt 23:54:03 + case "${OS_FAMILY}" in 23:54:03 + dpkg -l 23:54:03 + grep '^ii' 23:54:03 + '[' -f /tmp/packages_start.txt ']' 23:54:03 + '[' -f /tmp/packages_end.txt ']' 23:54:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:54:03 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 23:54:03 + mkdir -p /w/workspace/_app-service-configurable_PR-535/archives/ 23:54:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-535/archives/ [Pipeline] echo 23:54:03 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-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:54:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:04 prd-ubuntu20.04-docker-8c-8g-5335 does not seem to be running inside a container 23:54:04 $ 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-535/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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:54:04 $ docker top f6608b90c51f9aa5213598667ba4219d1aa363cc353c5cf4403674d248d1903a -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:05 + touch /tmp/pre-build-complete [Pipeline] sh 23:54:05 + mkdir -p /var/log/sysstat [Pipeline] sh 23:54:05 + ls /var/log/sa-host 23:54:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:05 provisioning config files... 23:54:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config3513317462345958933tmp [Pipeline] { [Pipeline] echo 23:54:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:54:06 ---> create-netrc.sh [Pipeline] } 23:54:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:54:06 ---> python-tools-install.sh [Pipeline] echo 23:54:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:54:07 ---> sudo-logs.sh 23:54:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:54:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:54:07 ---> job-cost.sh 23:54:07 lf-activate-venv: SKIPPING 23:54:07 DEBUG: total: 0.2199999988079071 23:54:07 INFO: Retrieving Stack Cost... 23:54:07 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:07 INFO: Archiving Costs [Pipeline] echo 23:54:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:54:08 ---> logs-deploy.sh 23:54:08 lf-activate-venv: SKIPPING 23:54:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-535/1 23:54:08 INFO: archiving workspace using pattern(s): 23:54:09 Archives upload complete. 23:54:09 INFO: archiving logs to Nexus