Pull request #23 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dda965b6cbddbf2da1dbd32c2efd3f2013a3e568+f58e8642700982be8554d9f031b2fff0d14b416f (223be3edc294c31841eb10941685e8e6e4466b9e) 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-ssh11467235981592076382.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh9171355477271876704.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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/device-can/branches/PR-23/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/device-can/branches/PR-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16329623732927410682.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/device-can/branches/PR-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15391749726538396610.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh15800681052692236116.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/device-can/branches/PR-23/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/device-can/branches/PR-23/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5446267792709762737.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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 ========================================================= [edgeXBuildCApp] RAW Config: [project:device-can, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine] ========================================================= [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 ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-can-settings PROJECT: device-can USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-can DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [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-773635 in /w/workspace/edgexfoundry_device-can_PR-23 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-can.git > git init /w/workspace/edgexfoundry_device-can_PR-23 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-can.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/device-can.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-can.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f58e8642700982be8554d9f031b2fff0d14b416f into PR head commit dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 Merge succeeded, producing dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 Checking out Revision dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 (PR-23) Commit message: "fix: scripts/Dockerfile.alpine to reduce vulnerabilities" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 67d2f908f88f8156fbe481f59f373e57362cafe7 > git config remote.origin.url git@github.com:edgexfoundry/device-can.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-can.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-can.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 # 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 f58e8642700982be8554d9f031b2fff0d14b416f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:44:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:44:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:44:30 ========================================================= 05:44:30 EdgeX Global Pipelines Version Info 05:44:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:44:32 ------------------- 05:44:32 stable info: 05:44:32 ------------------- 05:44:32 Commited By: Cherry Wang cherry@iotechsys.com 05:44:32 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 05:44:32 Message: update stable to v1.0.278 05:44:32 ------------------- 05:44:32 experimental info: 05:44:32 ------------------- 05:44:32 Commited By: **** collab-it+edgex@linuxfoundation.org 05:44:32 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 05:44:32 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-can-settings [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-can [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-can [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-23 [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-23 [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-23 [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dda965b [Pipeline] echo 05:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:33 provisioning config files... 05:44:33 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-23@tmp/config15484780993870621228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:34 ---> ****-login.sh 05:44:34 nexus3.edgexfoundry.org:10001 05:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:34 05:44:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:44:34 Configure a credential helper to remove this warning. See 05:44:34 https://docs.****.com/go/credential-store/ 05:44:34 05:44:34 Login Succeeded 05:44:34 nexus3.edgexfoundry.org:10002 05:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:34 05:44:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:44:34 Configure a credential helper to remove this warning. See 05:44:34 https://docs.****.com/go/credential-store/ 05:44:34 05:44:34 Login Succeeded 05:44:34 nexus3.edgexfoundry.org:10003 05:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:34 05:44:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:44:34 Configure a credential helper to remove this warning. See 05:44:34 https://docs.****.com/go/credential-store/ 05:44:34 05:44:34 Login Succeeded 05:44:34 nexus3.edgexfoundry.org:10004 05:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:34 05:44:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:44:34 Configure a credential helper to remove this warning. See 05:44:34 https://docs.****.com/go/credential-store/ 05:44:34 05:44:34 Login Succeeded 05:44:34 ****.io 05:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:35 05:44:35 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:44:35 Configure a credential helper to remove this warning. See 05:44:35 https://docs.****.com/go/credential-store/ 05:44:35 05:44:35 Login Succeeded 05:44:35 ---> ****-login.sh ends [Pipeline] } 05:44:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:44:35 + git rev-list -1 --merges dda965b6cbddbf2da1dbd32c2efd3f2013a3e568~1..dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 [Pipeline] echo 05:44:35 -----------> git rev-list -1 --merges dda965b6cbddbf2da1dbd32c2efd3f2013a3e568~1..dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 [false] [Pipeline] sh 05:44:36 + git log --format=format:%s -1 dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 [Pipeline] echo 05:44:36 ========================================================= 05:44:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:44:36 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:44:37 + git rev-list -1 --merges dda965b6cbddbf2da1dbd32c2efd3f2013a3e568~1..dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 [Pipeline] echo 05:44:37 -----------> git rev-list -1 --merges dda965b6cbddbf2da1dbd32c2efd3f2013a3e568~1..dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 [false] [Pipeline] sh 05:44:37 + git log --format=format:%s -1 dda965b6cbddbf2da1dbd32c2efd3f2013a3e568 [Pipeline] echo 05:44:37 ========================================================= 05:44:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:44:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:44:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:44:38 + grep -v github /etc/ssh/ssh_known_hosts 05:44:38 + [ -e /tmp/ssh_known_hosts ] 05:44:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:44:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:44:38 + sudo tee -a /etc/ssh/ssh_known_hosts 05:44:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:38 05:44:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:38 0.1.4: Pulling from edgex-devops/py-git-semver 05:44:38 3dae71ba6b94: Pulling fs layer 05:44:38 6bf1a483ea7c: Pulling fs layer 05:44:38 f5dfc541a4d3: Pulling fs layer 05:44:38 461d9e800cba: Pulling fs layer 05:44:38 80192f66455f: Pulling fs layer 05:44:38 2e8e34ca0e6c: Pulling fs layer 05:44:38 a29436f7fd5d: Pulling fs layer 05:44:38 923cac83aea3: Pulling fs layer 05:44:38 25ad8b0a4227: Pulling fs layer 05:44:38 db01528c6b51: Pulling fs layer 05:44:38 28988de357af: Pulling fs layer 05:44:38 80192f66455f: Waiting 05:44:38 2e8e34ca0e6c: Waiting 05:44:38 a29436f7fd5d: Waiting 05:44:38 923cac83aea3: Waiting 05:44:38 db01528c6b51: Waiting 05:44:38 28988de357af: Waiting 05:44:38 25ad8b0a4227: Waiting 05:44:38 461d9e800cba: Waiting 05:44:38 6bf1a483ea7c: Verifying Checksum 05:44:38 6bf1a483ea7c: Download complete 05:44:38 461d9e800cba: Download complete 05:44:38 80192f66455f: Download complete 05:44:39 f5dfc541a4d3: Verifying Checksum 05:44:39 f5dfc541a4d3: Download complete 05:44:39 3dae71ba6b94: Verifying Checksum 05:44:39 3dae71ba6b94: Download complete 05:44:39 923cac83aea3: Download complete 05:44:39 25ad8b0a4227: Verifying Checksum 05:44:39 25ad8b0a4227: Download complete 05:44:39 db01528c6b51: Verifying Checksum 05:44:39 db01528c6b51: Download complete 05:44:39 28988de357af: Verifying Checksum 05:44:39 28988de357af: Download complete 05:44:39 a29436f7fd5d: Verifying Checksum 05:44:39 a29436f7fd5d: Download complete 05:44:39 2e8e34ca0e6c: Verifying Checksum 05:44:39 2e8e34ca0e6c: Download complete 05:44:40 3dae71ba6b94: Pull complete 05:44:40 6bf1a483ea7c: Pull complete 05:44:41 f5dfc541a4d3: Pull complete 05:44:41 461d9e800cba: Pull complete 05:44:41 80192f66455f: Pull complete 05:44:45 2e8e34ca0e6c: Pull complete 05:44:46 a29436f7fd5d: Pull complete 05:44:46 923cac83aea3: Pull complete 05:44:46 25ad8b0a4227: Pull complete 05:44:46 db01528c6b51: Pull complete 05:44:46 28988de357af: Pull complete 05:44:46 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 05:44:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:44:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:46 prd-ubuntu20.04-docker-8c-8g-773635 does not seem to be running inside a container 05:44:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-can_PR-23 -v /w/workspace/edgexfoundry_device-can_PR-23:/w/workspace/edgexfoundry_device-can_PR-23:rw,z -v /w/workspace/edgexfoundry_device-can_PR-23@tmp:/w/workspace/edgexfoundry_device-can_PR-23@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:44:48 $ docker top ac7ba8b7f7894a4ab1e1d992fb07701b4df941f325335688fd6adf28e01a1298 -eo pid,comm 05:44:48 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). 05:44:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:44:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:44:48 [ssh-agent] Looking for ssh-agent implementation... 05:44:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:44:48 $ docker exec ac7ba8b7f7894a4ab1e1d992fb07701b4df941f325335688fd6adf28e01a1298 ssh-agent 05:44:49 SSH_AUTH_SOCK=/tmp/ssh-DbIPksJmLerf/agent.31 05:44:49 SSH_AGENT_PID=37 05:44:49 Running ssh-add (command line suppressed) 05:44:49 Identity added: /w/workspace/edgexfoundry_device-can_PR-23@tmp/private_key_1040664093585152879.key (/w/workspace/edgexfoundry_device-can_PR-23@tmp/private_key_1040664093585152879.key) 05:44:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:44:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-can_PR-23 [Pipeline] sh 05:44:49 + git tag --points-at HEAD [Pipeline] } 05:44:49 $ docker exec --env ******** --env ******** ac7ba8b7f7894a4ab1e1d992fb07701b4df941f325335688fd6adf28e01a1298 ssh-agent -k 05:44:49 unset SSH_AUTH_SOCK; 05:44:49 unset SSH_AGENT_PID; 05:44:49 echo Agent pid 37 killed; 05:44:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:44:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:44:50 [ssh-agent] Looking for ssh-agent implementation... 05:44:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:44:50 $ docker exec ac7ba8b7f7894a4ab1e1d992fb07701b4df941f325335688fd6adf28e01a1298 ssh-agent 05:44:50 SSH_AUTH_SOCK=/tmp/ssh-Crpr7yni0aPk/agent.84 05:44:50 SSH_AGENT_PID=90 05:44:50 Running ssh-add (command line suppressed) 05:44:50 Identity added: /w/workspace/edgexfoundry_device-can_PR-23@tmp/private_key_7409984280081639486.key (/w/workspace/edgexfoundry_device-can_PR-23@tmp/private_key_7409984280081639486.key) 05:44:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:44:50 + git semver init 05:44:50 2025-11-23 05:44:50,895 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:44:50 2025-11-23 05:44:50,901 [run_init] DEBUG init version:0.0.0 force:False 05:44:50 2025-11-23 05:44:50,902 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-can_PR-23/.semver 05:44:50 2025-11-23 05:44:50,903 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-can.git /w/workspace/edgexfoundry_device-can_PR-23/.semver 05:44:50 2025-11-23 05:44:50,903 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-can.git', '/w/workspace/edgexfoundry_device-can_PR-23/.semver'], cwd=/w/workspace/edgexfoundry_device-can_PR-23, stdin=None, shell=False, universal_newlines=False) 05:44:51 2025-11-23 05:44:51,539 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-can_PR-23/.git/info/exclude 05:44:51 2025-11-23 05:44:51,539 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-can_PR-23/.semver/PR-23 with force:False 05:44:51 2025-11-23 05:44:51,539 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-can_PR-23/.semver/PR-23 05:44:51 2025-11-23 05:44:51,543 [execute] INFO git cat-file --batch-check 05:44:51 2025-11-23 05:44:51,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-can_PR-23/.semver, stdin=, shell=False, universal_newlines=False) 05:44:51 2025-11-23 05:44:51,547 [execute] INFO git cat-file --batch 05:44:51 2025-11-23 05:44:51,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-can_PR-23/.semver, stdin=, shell=False, universal_newlines=False) 05:44:51 2025-11-23 05:44:51,551 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-can_PR-23/.semver/PR-23 05:44:51 0.0.0 [Pipeline] } 05:44:51 $ docker exec --env ******** --env ******** ac7ba8b7f7894a4ab1e1d992fb07701b4df941f325335688fd6adf28e01a1298 ssh-agent -k 05:44:52 unset SSH_AUTH_SOCK; 05:44:52 unset SSH_AGENT_PID; 05:44:52 echo Agent pid 90 killed; 05:44:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:44:52 + git semver [Pipeline] } 05:44:52 $ docker stop --time=1 ac7ba8b7f7894a4ab1e1d992fb07701b4df941f325335688fd6adf28e01a1298 05:44:54 $ docker rm -f --volumes ac7ba8b7f7894a4ab1e1d992fb07701b4df941f325335688fd6adf28e01a1298 [Pipeline] // withDockerContainer [Pipeline] sh 05:44:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:44:54 Stashed 1 file(s) [Pipeline] echo 05:44:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:55 provisioning config files... 05:44:55 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-23@tmp/config12703343179538531479tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:44:56 ---> ****-login.sh 05:44:56 nexus3.edgexfoundry.org:10001 05:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:56 Login Succeeded 05:44:56 nexus3.edgexfoundry.org:10002 05:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:56 Login Succeeded 05:44:56 nexus3.edgexfoundry.org:10003 05:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:56 Login Succeeded 05:44:56 nexus3.edgexfoundry.org:10004 05:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:56 Login Succeeded 05:44:56 ****.io 05:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:56 Login Succeeded 05:44:56 ---> ****-login.sh ends [Pipeline] } 05:44:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:44:56 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 05:44:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:44:57 ========================================================= 05:44:57 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 05:44:57 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:57 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 05:44:58 #0 building with "default" instance using docker driver 05:44:58 05:44:58 #1 [internal] load build definition from Dockerfile.alpine-base 05:44:58 #1 transferring dockerfile: 1.88kB done 05:44:58 #1 DONE 0.0s 05:44:58 05:44:58 #2 [internal] load metadata for docker.io/library/alpine:3.16 05:44:58 #2 DONE 0.6s 05:44:58 05:44:58 #3 [internal] load .dockerignore 05:44:58 #3 transferring context: 2B done 05:44:58 #3 DONE 0.0s 05:44:58 05:44:58 #4 [internal] load build context 05:44:58 #4 transferring context: 23.10kB done 05:44:58 #4 DONE 0.0s 05:44:58 05:44:58 #5 [ 1/11] FROM docker.io/library/alpine:3.16@sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 05:44:58 #5 resolve docker.io/library/alpine:3.16@sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 0.0s done 05:44:58 #5 extracting sha256:a88dc8b54e91eb6b19695ef7e04865926d4df23004f414a3ee86978617492d4d 05:44:58 #5 extracting sha256:a88dc8b54e91eb6b19695ef7e04865926d4df23004f414a3ee86978617492d4d 0.1s done 05:44:58 #5 sha256:452e7292acee0ee16c332324d7de05fa2c99f9994ecc9f0779c602916a672ae4 1.64kB / 1.64kB done 05:44:58 #5 sha256:0db9d004361b106932f8c7632ae54d56e92c18281e2dd203127d77405020abf6 528B / 528B done 05:44:58 #5 sha256:d49a5025be10344cce77d178103a225cb5d7316861e5d8f106e7ff278ae51b62 1.47kB / 1.47kB done 05:44:58 #5 sha256:a88dc8b54e91eb6b19695ef7e04865926d4df23004f414a3ee86978617492d4d 2.81MB / 2.81MB 0.1s done 05:44:58 #5 DONE 0.2s 05:44:58 05:44:58 #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:44:59 #6 0.291 Connecting to iotech.jfrog.io (54.73.4.50:443) 05:44:59 #6 0.673 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:44:59 #6 0.673 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:44:59 #6 0.673 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:44:59 #6 DONE 0.7s 05:44:59 05:44:59 #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:45:00 #7 DONE 0.3s 05:45:00 05:45:00 #8 [ 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev 05:45:00 #8 0.211 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:45:00 #8 0.389 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:45:00 #8 0.575 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:45:01 #8 0.974 WARNING: Ignoring https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main: No such file or directory 05:45:01 #8 1.054 ERROR: unable to select packages: 05:45:01 #8 1.077 iotech-iot-1.5-dev (no such package): 05:45:01 #8 1.077 required by: world[iotech-iot-1.5-dev] 05:45:01 #8 1.077 iotech-paho-mqtt-c-dev-1.3 (no such package): 05:45:01 #8 1.077 required by: world[iotech-paho-mqtt-c-dev-1.3] 05:45:01 #8 ERROR: process "/bin/sh -c apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev" did not complete successfully: exit code: 2 05:45:01 ------ 05:45:01 > [ 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev: 05:45:01 0.211 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:45:01 0.389 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:45:01 0.575 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 05:45:01 0.974 WARNING: Ignoring https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main: No such file or directory 05:45:01 1.054 ERROR: unable to select packages: 05:45:01 1.077 iotech-iot-1.5-dev (no such package): 05:45:01 1.077 required by: world[iotech-iot-1.5-dev] 05:45:01 1.077 iotech-paho-mqtt-c-dev-1.3 (no such package): 05:45:01 1.077 required by: world[iotech-paho-mqtt-c-dev-1.3] 05:45:01 ------ 05:45:01 Dockerfile.alpine-base:26 05:45:01 -------------------- 05:45:01 24 | RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 05:45:01 25 | 05:45:01 26 | >>> RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev 05:45:01 27 | # Ensure using latest versions of all installed packages to avoid any recent CVEs 05:45:01 28 | RUN apk --no-cache upgrade 05:45:01 -------------------- 05:45:01 ERROR: failed to solve: process "/bin/sh -c apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev" did not complete successfully: exit code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:02 05:45:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:02 latest: Pulling from edgex-lftools-log-publisher 05:45:02 5eb5b503b376: Pulling fs layer 05:45:02 5c69ac0246d0: Pulling fs layer 05:45:02 ec43610c2a17: Pulling fs layer 05:45:02 3a2ae6a8a46f: Pulling fs layer 05:45:02 33b1e0a273af: Pulling fs layer 05:45:02 5d3b04190fa2: Pulling fs layer 05:45:02 2f39f015ded8: Pulling fs layer 05:45:02 3a2ae6a8a46f: Waiting 05:45:02 33b1e0a273af: Waiting 05:45:02 2f39f015ded8: Waiting 05:45:02 5c69ac0246d0: Download complete 05:45:02 3a2ae6a8a46f: Verifying Checksum 05:45:02 3a2ae6a8a46f: Download complete 05:45:03 33b1e0a273af: Verifying Checksum 05:45:03 33b1e0a273af: Download complete 05:45:03 5d3b04190fa2: Download complete 05:45:03 ec43610c2a17: Verifying Checksum 05:45:03 ec43610c2a17: Download complete 05:45:03 5eb5b503b376: Verifying Checksum 05:45:03 5eb5b503b376: Download complete 05:45:03 2f39f015ded8: Verifying Checksum 05:45:03 2f39f015ded8: Download complete 05:45:04 5eb5b503b376: Pull complete 05:45:04 5c69ac0246d0: Pull complete 05:45:05 ec43610c2a17: Pull complete 05:45:05 3a2ae6a8a46f: Pull complete 05:45:05 33b1e0a273af: Pull complete 05:45:05 5d3b04190fa2: Pull complete 05:45:10 2f39f015ded8: Pull complete 05:45:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:45:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:11 prd-ubuntu20.04-docker-8c-8g-773635 does not seem to be running inside a container 05:45:11 $ 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/edgexfoundry_device-can_PR-23 -v /w/workspace/edgexfoundry_device-can_PR-23:/w/workspace/edgexfoundry_device-can_PR-23:rw,z -v /w/workspace/edgexfoundry_device-can_PR-23@tmp:/w/workspace/edgexfoundry_device-can_PR-23@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:12 $ docker top 104d9fc343e53de3244e9629b5406b9989c7b3bf2d85dded57c9eb666ca77133 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:12 ---> job-cost.sh 05:45:12 lf-activate-venv: SKIPPING 05:45:12 INFO: No Stack... 05:45:13 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:13 INFO: Archiving Costs [Pipeline] sh 05:45:13 + cat /w/workspace/edgexfoundry_device-can_PR-23/archives/cost.csv 05:45:13 + cut -d, -f6 [Pipeline] lock 05:45:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-can-PR-23-1-stack-cost] 05:45:13 Resource [jenkins-edgexfoundry-device-can-PR-23-1-stack-cost] did not exist. Created. 05:45:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-can-PR-23-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:14 + echo total: 0.2199999988079071 [Pipeline] stash 05:45:14 Stashed 1 file(s) [Pipeline] } 05:45:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-can-PR-23-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:45:14 $ docker stop --time=1 104d9fc343e53de3244e9629b5406b9989c7b3bf2d85dded57c9eb666ca77133 05:45:15 $ docker rm -f --volumes 104d9fc343e53de3244e9629b5406b9989c7b3bf2d85dded57c9eb666ca77133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:45:15 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:45:17 + [ -d /w/workspace/edgexfoundry_device-can_PR-23/archives ] 05:45:17 + ls -al /w/workspace/edgexfoundry_device-can_PR-23/archives 05:45:17 total 16 05:45:17 drwxr-xr-x 3 root root 4096 Nov 23 05:45 . 05:45:17 drwxrwxr-x 9 jenkins jenkins 4096 Nov 23 05:45 .. 05:45:17 drwxr-xr-x 2 root root 4096 Nov 23 05:45 cost 05:45:17 -rw-r--r-- 1 root root 80 Nov 23 05:45 cost.csv 05:45:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-can_PR-23/archives 05:45:17 + ls -al /w/workspace/edgexfoundry_device-can_PR-23/archives 05:45:17 total 16 05:45:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 23 05:45 . 05:45:17 drwxrwxr-x 9 jenkins jenkins 4096 Nov 23 05:45 .. 05:45:17 drwxr-xr-x 2 jenkins jenkins 4096 Nov 23 05:45 cost 05:45:17 -rw-r--r-- 1 jenkins jenkins 80 Nov 23 05:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:45:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:45:18 ---> package-listing.sh 05:45:18 ++ facter osfamily 05:45:18 ++ tr '[:upper:]' '[:lower:]' 05:45:18 + OS_FAMILY=debian 05:45:18 + workspace=/w/workspace/edgexfoundry_device-can_PR-23 05:45:18 + START_PACKAGES=/tmp/packages_start.txt 05:45:18 + END_PACKAGES=/tmp/packages_end.txt 05:45:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:45:18 + PACKAGES=/tmp/packages_start.txt 05:45:18 + '[' /w/workspace/edgexfoundry_device-can_PR-23 ']' 05:45:18 + PACKAGES=/tmp/packages_end.txt 05:45:18 + case "${OS_FAMILY}" in 05:45:18 + dpkg -l 05:45:18 + grep '^ii' 05:45:18 + '[' -f /tmp/packages_start.txt ']' 05:45:18 + '[' -f /tmp/packages_end.txt ']' 05:45:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:45:18 + '[' /w/workspace/edgexfoundry_device-can_PR-23 ']' 05:45:18 + mkdir -p /w/workspace/edgexfoundry_device-can_PR-23/archives/ 05:45:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-can_PR-23/archives/ [Pipeline] echo 05:45:18 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/edgexfoundry_device-can_PR-23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:45:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:19 prd-ubuntu20.04-docker-8c-8g-773635 does not seem to be running inside a container 05:45:19 $ 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/edgexfoundry_device-can_PR-23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-can_PR-23 -v /w/workspace/edgexfoundry_device-can_PR-23:/w/workspace/edgexfoundry_device-can_PR-23:rw,z -v /w/workspace/edgexfoundry_device-can_PR-23@tmp:/w/workspace/edgexfoundry_device-can_PR-23@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:45:20 $ docker top f7b7677910a9e002f2db7aed4a4e50c1e05b5c95f54b5f1b7b84d659fd5a7ca0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:20 + touch /tmp/pre-build-complete [Pipeline] sh 05:45:20 + mkdir -p /var/log/sysstat [Pipeline] sh 05:45:21 + ls /var/log/sa-host 05:45:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:21 provisioning config files... 05:45:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-can_PR-23@tmp/config11010342218877648895tmp [Pipeline] { [Pipeline] echo 05:45:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:45:21 ---> create-netrc.sh [Pipeline] } 05:45:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:45:22 ---> python-tools-install.sh [Pipeline] echo 05:45:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:45:22 ---> sudo-logs.sh 05:45:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:45:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:45:22 ---> job-cost.sh 05:45:22 lf-activate-venv: SKIPPING 05:45:22 DEBUG: total: 0.2199999988079071 05:45:22 INFO: Retrieving Stack Cost... 05:45:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:23 INFO: Archiving Costs [Pipeline] echo 05:45:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:45:23 ---> logs-deploy.sh 05:45:23 lf-activate-venv: SKIPPING 05:45:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-can/PR-23/1 05:45:23 INFO: archiving workspace using pattern(s): 05:45:24 Archives upload complete. 05:45:24 INFO: archiving logs to Nexus