View Issue Details

IDProjectCategoryView StatusLast Update
0005728Talerdeployment and operationspublic2019-09-16 09:23
ReporterMarcello StanisciAssigned ToMarcello Stanisci 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product VersionSVN HEAD 
Target Version0.6Fixed in Version0.6 
Summary0005728: Dump log file from failing test case.
DescriptionWhenever a Buildbot build fails for a C component, the Web console prints just the libtool output, so it is not possible
to understand what the specific failure was. Instead, it would be great to have the .log from the failing test case printed
somehow in the Web console.
TagsNo tags attached.

Activities

Marcello Stanisci

2019-05-20 18:49

manager   ~0014417

https://stackoverflow.com/questions/20961959/autotools-output-test-suite-log-contents-on-test-failure

Christian Grothoff

2019-05-20 23:21

manager   ~0014419

Why don't you just add an extra buildbot command to

$ cat `find * -name "*.log"`

No need to modify what we usually do, and users usually wouldn't want even more output.

Marcello Stanisci

2019-05-23 16:36

manager   ~0014434

I did something similar. When the test fails, a "dumper" (see [1]) script starts looking for failed tests and dumps the respective .log whenever it finds one. Currently testing it..

[1] https://git.taler.net/deployment.git/tree/taler-build/cat_failed.sh

Marcello Stanisci

2019-05-23 17:45

manager   ~0014435

It functions, and here's how it looks:
https://buildbot.wild.gv.taler.net/#/builders/1/builds/14

Can be closed now.

Marcello Stanisci

2019-05-23 17:45

manager   ~0014436

99ca39b38bf7cc12e6

Issue History

Date Modified Username Field Change
2019-05-20 13:53 Marcello Stanisci New Issue
2019-05-20 18:49 Marcello Stanisci Note Added: 0014417
2019-05-20 23:21 Christian Grothoff Note Added: 0014419
2019-05-23 16:36 Marcello Stanisci Note Added: 0014434
2019-05-23 17:45 Marcello Stanisci Note Added: 0014435
2019-05-23 17:45 Marcello Stanisci Assigned To => Marcello Stanisci
2019-05-23 17:45 Marcello Stanisci Status new => resolved
2019-05-23 17:45 Marcello Stanisci Resolution open => fixed
2019-05-23 17:45 Marcello Stanisci Note Added: 0014436
2019-09-16 09:23 Christian Grothoff Product Version => SVN HEAD
2019-09-16 09:23 Christian Grothoff Fixed in Version => 0.6
2019-09-16 09:23 Christian Grothoff Target Version => 0.6