Started by user Paul SHARPE [Pipeline] node Running on master in E:\jenkins\ws\Tools-JenkinsLib [Pipeline] { [Pipeline] stage (Load Jenkins Library Functions) Entering stage Load Jenkins Library Functions Proceeding [Pipeline] pwd [Pipeline] stage (Checkout) Entering stage Checkout Proceeding [Pipeline] checkout [Local Client] Checkout started using local client for :#/Steering#Software/10-Tools/Jenkins/JenkinsLib/01-Development Preparing to execute si projectinfo for #/Steering#Software/10-Tools/Jenkins/JenkinsLib/01-Development Preparing to execute pre-build si checkpoint for #/Steering#Software/10-Tools/Jenkins/JenkinsLib/01-Development Successfully executed pre-build checkpoint for project #/Steering#Software/10-Tools/Jenkins/JenkinsLib/01-Development, new revision is 1.37 [LocalClient] Clean Copy Requested :true [LocalClient] Checking sandbox exists for :#/Steering#Software/10-Tools/Jenkins/JenkinsLib/01-Development#b=1.37 [LocalClient] The sandbox E:\jenkins\ws\Tools-JenkinsLib\project.pj could not be located: MKS125216: The sandbox file e:\jenkins\ws\Tools-JenkinsLib\project.pj is not registered with the system. [LocalClient] Executing CreateSandbox :E:\jenkins\ws\Tools-JenkinsLib [LocalClient] CreateSandbox response:0 [LocalClient] Starting Resync Task.. [LocalClient] Executing IntegrityResyncSandboxTask :E:\jenkins\ws\Tools-JenkinsLib [LocalClient] Executing ResyncSandbox :E:\jenkins\ws\Tools-JenkinsLib [LocalClient] ResyncSandbox Response:0 [LocalClient] Change log successfully generated: E:\jenkins\bld\Tools-JenkinsLib\39\changelog0.xml [LocalClient] Resync SandBox Success! [LocalClient] Checkout complete! [Pipeline] stage (Load library) Entering stage Load library Proceeding [Pipeline] dir Running in E:\jenkins\ws\Tools-JenkinsLib\src\main\pipelineDSL [Pipeline] { [Pipeline] load [Pipeline] { (library.groovy) [Pipeline] load [Pipeline] { (trimSCMStamp.groovy) [Pipeline] echo Loading function: trimSCMStamp version 1.4 (Script2) [Pipeline] } [Pipeline] // load [Pipeline] echo Loading Library: library version 1.6 (Script1) [Pipeline] load [Pipeline] { (addToBinding.groovy) [Pipeline] echo Loading function: addToBinding version 1.2 (Script3) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (gradle.groovy) [Pipeline] echo Loading function: gradle version 1.4 (Script4) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (jenkins.groovy) [Pipeline] echo Loading function: jenkins version 1.4 (Script5) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (approvalByManager.groovy) [Pipeline] echo Loading function: approvalByManager version 1.5 (Script6) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (approvalIfUnstable.groovy) [Pipeline] echo Loading function: approvalIfUnstable version 1.4 (Script7) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (evalProperties.groovy) [Pipeline] echo Loading function: evalProperties version 1.5 (Script8) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (getDependentJobsArtifacts.groovy) [Pipeline] echo Loading function: getDependentJobsArtifacts version 1.5 (Script9) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (loadJenkinsfile.groovy) [Pipeline] echo Loading function: loadJenkinsfile version 1.2 (Script10) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (markFlowComplete.groovy) [Pipeline] echo Loading function: markFlowComplete version 1.7 (Script11) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (runGradleTask.groovy) [Pipeline] echo Loading function: runGradleTask version 1.15 (Script12) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (stdId.groovy) [Pipeline] echo Loading function: stdId version 1.8 (Script13) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (stdParam.groovy) [Pipeline] echo Loading function: stdParam version 1.7 (Script14) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (variant.groovy) [Pipeline] echo Loading function: variant version 1.2 (Script15) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (slnVariant.groovy) [Pipeline] echo Loading function: slnVariant version 1.1 (Script16) [Pipeline] } [Pipeline] // load [Pipeline] echo Library version 1.6 loaded as Script1. Library modules loaded: addToBinding version 1.2 loaded as Script3 approvalByManager version 1.5 loaded as Script6 approvalIfUnstable version 1.4 loaded as Script7 evalProperties version 1.5 loaded as Script8 getDependentJobsArtifacts version 1.5 loaded as Script9 gradle version 1.4 loaded as Script4 jenkins version 1.4 loaded as Script5 loadJenkinsfile version 1.2 loaded as Script10 markFlowComplete version 1.7 loaded as Script11 runGradleTask version 1.15 loaded as Script12 slnVariant version 1.1 loaded as Script16 stdId version 1.8 loaded as Script13 stdParam version 1.7 loaded as Script14 trimSCMStamp version 1.4 loaded as Script2 variant version 1.2 loaded as Script15 [Pipeline] } [Pipeline] // load [Pipeline] } [Pipeline] // dir [Pipeline] stage (Test Library) Entering stage Test Library Proceeding [Pipeline] dir Running in E:\jenkins\ws\Tools-JenkinsLib\src\test\pipelineDSL [Pipeline] { [Pipeline] echo Execute jenkinsFile: test.groovy [Pipeline] echo Loading jenkinsFile=test.groovy [Pipeline] load [Pipeline] { (test.groovy) [Pipeline] } [Pipeline] // load [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // node [Pipeline] node Running on master in E:\jenkins\ws\Tools-JenkinsLib [Pipeline] { [Pipeline] dir Running in E:\jenkins\ws\Tools-JenkinsLib/src/main/pipelineDSL [Pipeline] { [Pipeline] load [Pipeline] { (library.groovy) [Pipeline] load [Pipeline] { (trimSCMStamp.groovy) [Pipeline] echo Loading function: trimSCMStamp version 1.4 (Script19) [Pipeline] } [Pipeline] // load [Pipeline] echo Loading Library: library version 1.6 (Script18) [Pipeline] load [Pipeline] { (addToBinding.groovy) [Pipeline] echo Loading function: addToBinding version 1.2 (Script20) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (gradle.groovy) [Pipeline] echo Loading function: gradle version 1.4 (Script21) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (jenkins.groovy) [Pipeline] echo Loading function: jenkins version 1.4 (Script22) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (approvalByManager.groovy) [Pipeline] echo Loading function: approvalByManager version 1.5 (Script23) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (approvalIfUnstable.groovy) [Pipeline] echo Loading function: approvalIfUnstable version 1.4 (Script24) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (evalProperties.groovy) [Pipeline] echo Loading function: evalProperties version 1.5 (Script25) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (getDependentJobsArtifacts.groovy) [Pipeline] echo Loading function: getDependentJobsArtifacts version 1.5 (Script26) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (loadJenkinsfile.groovy) [Pipeline] echo Loading function: loadJenkinsfile version 1.2 (Script27) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (markFlowComplete.groovy) [Pipeline] echo Loading function: markFlowComplete version 1.7 (Script28) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (runGradleTask.groovy) [Pipeline] echo Loading function: runGradleTask version 1.15 (Script29) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (stdId.groovy) [Pipeline] echo Loading function: stdId version 1.8 (Script30) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (stdParam.groovy) [Pipeline] echo Loading function: stdParam version 1.7 (Script31) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (variant.groovy) [Pipeline] echo Loading function: variant version 1.2 (Script32) [Pipeline] } [Pipeline] // load [Pipeline] load [Pipeline] { (slnVariant.groovy) [Pipeline] echo Loading function: slnVariant version 1.1 (Script33) [Pipeline] } [Pipeline] // load [Pipeline] echo Library version 1.6 loaded as Script18. Library modules loaded: addToBinding version 1.2 loaded as Script20 approvalByManager version 1.5 loaded as Script23 approvalIfUnstable version 1.4 loaded as Script24 evalProperties version 1.5 loaded as Script25 getDependentJobsArtifacts version 1.5 loaded as Script26 gradle version 1.4 loaded as Script21 jenkins version 1.4 loaded as Script22 loadJenkinsfile version 1.2 loaded as Script27 markFlowComplete version 1.7 loaded as Script28 runGradleTask version 1.15 loaded as Script29 slnVariant version 1.1 loaded as Script33 stdId version 1.8 loaded as Script30 stdParam version 1.7 loaded as Script31 trimSCMStamp version 1.4 loaded as Script19 variant version 1.2 loaded as Script32 [Pipeline] } [Pipeline] // load [Pipeline] stash Stashed 17 file(s) [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // node [Pipeline] echo Running Test: test_markFlowComplete [Pipeline] echo Keep log [Pipeline] echo Setting description to Build Id:Released [Pipeline] sleep Sleeping for 1 ms [Pipeline] echo Keep log [Pipeline] echo Setting description to Build Id:identification [Pipeline] sleep Sleeping for 1 ms [Pipeline] sleep Sleeping for 1 ms [Pipeline] echo Adding checkpoint label (disable=false) [Pipeline] node Running on master in E:\jenkins\ws\Tools-JenkinsLib [Pipeline] { [Pipeline] siaddprojectlabel Preparing to execute si addprojectlabel for #/Steering#Software/10-Tools/Jenkins/JenkinsLib/01-Development Successfully added label identification [Pipeline] } [Pipeline] // node [Pipeline] echo Keep log [Pipeline] echo Setting description to Build Id:identification [Pipeline] echo Running Test: test_variant_getShortId [Pipeline] echo Running Test: test_stdId_getAsyBuildId [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] echo Running Test: test_stdId_getAsyVersion [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] echo Running Test: test_slnVariant_getDeploySiProject [Pipeline] echo getDeploySiProject Test 1: Defaults [Pipeline] echo Entered getDeploySiProject: gradleProps=[DELIVERIES_FOLDER_W210J:#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries@VARIANT@[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration] asyProps=[:] [Pipeline] echo variantAsy=Application [Pipeline] echo slnVariantIdMap=[:] [Pipeline] echo asyVariantId=V00 [Pipeline] echo slnVariantName= [Pipeline] echo devPathString=/ [Pipeline] echo Exiting getDeploySiProject. retVal=#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries/[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration [Pipeline] echo getDeploySiProject Test 2:Variant selection from Application [Pipeline] echo Entered getDeploySiProject: gradleProps=[DELIVERIES_FOLDER_W210J:#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries@VARIANT@[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration, VARIANT_ASSEMBLY:Application] asyProps=[Application:[VARIANT_NAME:SK_EV, VARIANT_ID:V01], Bootloader:[VARIANT_NAME:Mainline, VARIANT_ID:V00]] [Pipeline] echo variantAsy=Application [Pipeline] echo slnVariantIdMap=[:] [Pipeline] echo asyVariantId=V01 [Pipeline] echo slnVariantName=SK_EV [Pipeline] echo devPathString=#d=SK_EV# [Pipeline] echo Exiting getDeploySiProject. retVal=#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries#d=SK_EV#[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration [Pipeline] echo getDeploySiProject Test 3:Variant selection from Bootloader Mainline [Pipeline] echo Entered getDeploySiProject: gradleProps=[DELIVERIES_FOLDER_W210J:#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries@VARIANT@[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration, VARIANT_ASSEMBLY:Bootloader] asyProps=[Application:[VARIANT_NAME:SK_EV, VARIANT_ID:V01], Bootloader:[VARIANT_NAME:Mainline, VARIANT_ID:V00]] [Pipeline] echo variantAsy=Bootloader [Pipeline] echo slnVariantIdMap=[:] [Pipeline] echo asyVariantId=V00 [Pipeline] echo slnVariantName=Mainline [Pipeline] echo devPathString=/ [Pipeline] echo Exiting getDeploySiProject. retVal=#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries/[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration [Pipeline] echo getDeploySiProject Test 4:Variant selection from Application with mapping -single entry [Pipeline] echo Entered getDeploySiProject: gradleProps=[DELIVERIES_FOLDER_W210J:#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries@VARIANT@[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration, VARIANT_ASSEMBLY:Application, SLN_VARIANT_ID_MAP:V01:EV] asyProps=[Application:[VARIANT_NAME:SK_EV, VARIANT_ID:V01], Bootloader:[VARIANT_NAME:Mainline, VARIANT_ID:V00]] [Pipeline] echo variantAsy=Application [Pipeline] echo Entered mapStringToMap (str=V01:EV) [Pipeline] echo Exiting mapStringToMap. retVal=[V01:EV] [Pipeline] echo slnVariantIdMap=[V01:EV] [Pipeline] echo asyVariantId=V01 [Pipeline] echo slnVariantName=EV [Pipeline] echo devPathString=#d=EV# [Pipeline] echo Exiting getDeploySiProject. retVal=#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries#d=EV#[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration [Pipeline] echo getDeploySiProject Test 5:Variant selection from Application with mapping -multiple entries [Pipeline] echo Entered getDeploySiProject: gradleProps=[DELIVERIES_FOLDER_W210J:#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries@VARIANT@[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration, VARIANT_ASSEMBLY:Application, SLN_VARIANT_ID_MAP:V02:HEV,V03:FC,V01:EV] asyProps=[Application:[VARIANT_NAME:SK_EV, VARIANT_ID:V01], Bootloader:[VARIANT_NAME:Mainline, VARIANT_ID:V00]] [Pipeline] echo variantAsy=Application [Pipeline] echo Entered mapStringToMap (str=V02:HEV,V03:FC,V01:EV) [Pipeline] echo Exiting mapStringToMap. retVal=[V02:HEV, V03:FC, V01:EV] [Pipeline] echo slnVariantIdMap=[V02:HEV, V03:FC, V01:EV] [Pipeline] echo asyVariantId=V01 [Pipeline] echo slnVariantName=EV [Pipeline] echo devPathString=#d=EV# [Pipeline] echo Exiting getDeploySiProject. retVal=#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries#d=EV#[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration [Pipeline] echo getDeploySiProject Test 6:Backwards compatibility - @VARIANT@ not in DELIVERIES_FOLDER_W210J [Pipeline] echo Entered getDeploySiProject: gradleProps=[DELIVERIES_FOLDER_W210J:#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries/[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration, VARIANT_ASSEMBLY:Application, SLN_VARIANT_ID_MAP:V02:HEV,V03:FC,V01:EV] asyProps=[Application:[VARIANT_NAME:SK_EV, VARIANT_ID:V01], Bootloader:[VARIANT_NAME:Mainline, VARIANT_ID:V00]] [Pipeline] echo variantAsy=Application [Pipeline] echo Entered mapStringToMap (str=V02:HEV,V03:FC,V01:EV) [Pipeline] echo Exiting mapStringToMap. retVal=[V02:HEV, V03:FC, V01:EV] [Pipeline] echo slnVariantIdMap=[V02:HEV, V03:FC, V01:EV] [Pipeline] echo asyVariantId=V01 [Pipeline] echo slnVariantName=EV [Pipeline] echo devPathString=#d=EV# [Pipeline] echo Exiting getDeploySiProject. retVal=#/Steering#Projects/GM/GEM/PR44714_MY2020_GM_GEM_EPS_CD/00_Deliveries/[S220]_SW-ReleaseBuild/W210j_SW_Design_to_Integration [Pipeline] echo Running Test: test_runGradleTask [Pipeline] node Running on CIRUKS4B99867-D in C:\Jenkins\Jobs\workspace\Tools-JenkinsLib [Pipeline] { [Pipeline] checkout [Local Client] Checkout started using local client for :#/Steering#Software/10-Tools/Gradle/Wrapper/01-Development#b=1.88 Preparing to execute si projectinfo for #/Steering#Software/10-Tools/Gradle/Wrapper/01-Development#b=1.88 Cannot perform a pre-build checkpoint for build project configuration! [LocalClient] Clean Copy Requested :true [LocalClient] Checking sandbox exists for :#/Steering#Software/10-Tools/Gradle/Wrapper/01-Development#b=1.88 [LocalClient] The sandbox C:\Jenkins\Jobs\workspace\Tools-JenkinsLib\project.pj could not be located: MKS125216: The sandbox file c:\Jenkins\Jobs\workspace\Tools-JenkinsLib\project.pj is not registered with the system. [LocalClient] Executing CreateSandbox :C:\Jenkins\Jobs\workspace\Tools-JenkinsLib [LocalClient] CreateSandbox response:0 [LocalClient] Starting Resync Task.. [LocalClient] Executing IntegrityResyncSandboxTask :C:\Jenkins\Jobs\workspace\Tools-JenkinsLib [LocalClient] Executing ResyncSandbox :C:\Jenkins\Jobs\workspace\Tools-JenkinsLib [LocalClient] ResyncSandbox Response:0 [LocalClient] IntegrityResyncSandboxTask invoke Exception :E:\jenkins\bld\Tools-JenkinsLib\39\changelog1.xml (The device is not ready) java.io.FileNotFoundException: E:\jenkins\bld\Tools-JenkinsLib\39\changelog1.xml (The device is not ready) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(Unknown Source) at java.io.FileOutputStream.(Unknown Source) at hudson.scm.localclient.SandboxUtils.generateChangeLogFile(SandboxUtils.java:325) at hudson.scm.localclient.SandboxUtils.resyncSandbox(SandboxUtils.java:315) at hudson.scm.localclient.IntegrityResyncSandboxTask.invoke(IntegrityResyncSandboxTask.java:57) at hudson.scm.localclient.IntegrityResyncSandboxTask.invoke(IntegrityResyncSandboxTask.java:16) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2731) at hudson.remoting.UserRequest.perform(UserRequest.java:153) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:336) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:94) at java.lang.Thread.run(Unknown Source) hudson.AbortException: [LocalClient] Failed to resync workspace! at hudson.scm.IntegritySCM.checkoutUsingLocalClient(IntegritySCM.java:442) at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:397) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:260) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: [Local Client] Exception occured during checkout! [LocalClient] Failed to resync workspace! Finished: FAILURE