@@ -331,6 +331,7 @@ var _ = g.Describe("[builds][Slow] openshift pipeline build", func() {
331
331
g .By ("get build console logs and see if succeeded" )
332
332
_ , err = j .WaitForContent ("Finished: SUCCESS" , 200 , 10 * time .Minute , "job/%s-sample-pipeline-withenvs/lastBuild/consoleText" , oc .Namespace ())
333
333
if err != nil {
334
+ exutil .DumpApplicationPodLogs ("jenkins" , oc )
334
335
exutil .ExaminePodDiskUsage (oc )
335
336
exutil .ExamineDiskUsage ()
336
337
}
@@ -339,6 +340,7 @@ var _ = g.Describe("[builds][Slow] openshift pipeline build", func() {
339
340
g .By ("get build console logs and see if env is set" )
340
341
_ , err = j .WaitForContent ("FOO2 is BAR2" , 200 , 10 * time .Minute , "job/%s-sample-pipeline-withenvs/lastBuild/consoleText" , oc .Namespace ())
341
342
if err != nil {
343
+ exutil .DumpApplicationPodLogs ("jenkins" , oc )
342
344
exutil .ExaminePodDiskUsage (oc )
343
345
exutil .ExamineDiskUsage ()
344
346
}
@@ -348,6 +350,7 @@ var _ = g.Describe("[builds][Slow] openshift pipeline build", func() {
348
350
g .By ("starting the pipeline build and waiting for it to complete" )
349
351
br , err = exutil .StartBuildAndWait (oc , "sample-pipeline-withenvs" )
350
352
if err != nil || ! br .BuildSuccess {
353
+ exutil .DumpApplicationPodLogs ("jenkins" , oc )
351
354
exutil .ExaminePodDiskUsage (oc )
352
355
exutil .ExamineDiskUsage ()
353
356
}
@@ -357,6 +360,7 @@ var _ = g.Describe("[builds][Slow] openshift pipeline build", func() {
357
360
g .By ("get build console logs and see if succeeded" )
358
361
_ , err = j .WaitForContent ("Finished: SUCCESS" , 200 , 10 * time .Minute , "job/%s-sample-pipeline-withenvs/lastBuild/consoleText" , oc .Namespace ())
359
362
if err != nil {
363
+ exutil .DumpApplicationPodLogs ("jenkins" , oc )
360
364
exutil .ExaminePodDiskUsage (oc )
361
365
exutil .ExamineDiskUsage ()
362
366
}
@@ -365,6 +369,7 @@ var _ = g.Describe("[builds][Slow] openshift pipeline build", func() {
365
369
g .By ("get build console logs and see if env is set" )
366
370
_ , err = j .WaitForContent ("FOO1 is BAR1" , 200 , 10 * time .Minute , "job/%s-sample-pipeline-withenvs/lastBuild/consoleText" , oc .Namespace ())
367
371
if err != nil {
372
+ exutil .DumpApplicationPodLogs ("jenkins" , oc )
368
373
exutil .ExaminePodDiskUsage (oc )
369
374
exutil .ExamineDiskUsage ()
370
375
}
@@ -373,6 +378,7 @@ var _ = g.Describe("[builds][Slow] openshift pipeline build", func() {
373
378
g .By ("get build console logs and see if env is still not set" )
374
379
_ , err = j .WaitForContent ("FOO2 is null" , 200 , 10 * time .Minute , "job/%s-sample-pipeline-withenvs/lastBuild/consoleText" , oc .Namespace ())
375
380
if err != nil {
381
+ exutil .DumpApplicationPodLogs ("jenkins" , oc )
376
382
exutil .ExaminePodDiskUsage (oc )
377
383
exutil .ExamineDiskUsage ()
378
384
}
0 commit comments