Closed
Bug 332327
Opened 18 years ago
Closed 17 years ago
improve navigation through the rest run log file
Categories
(NSS :: Test, defect, P2)
NSS
Test
Tracking
(Not tracked)
RESOLVED
FIXED
3.12
People
(Reporter: alvolkov.bgs, Assigned: slavomir.katuscak+mozilla)
References
Details
Attachments
(1 file, 1 obsolete file)
34.74 KB,
patch
|
alvolkov.bgs
:
review+
|
Details | Diff | Splinter Review |
Log files start to be very big. It is really a pain to find the failure point of a particular test. Some changes should be made to all.sh and init.sh to put html tags into the log file so that we navigate using features of html, not a browser scrolling capabilities.
Reporter | ||
Updated•18 years ago
|
Assignee: nobody → alexei.volkov.bugs
Comment 1•18 years ago
|
||
I personally use the browser's text searching facility, not its scroll bar.
Updated•18 years ago
|
Priority: -- → P3
Reporter | ||
Comment 2•18 years ago
|
||
Reporter | ||
Comment 3•18 years ago
|
||
Could you please check if you can improve my patch, especially for tinderbox?
Assignee: alexei.volkov.bugs → slavomir.katuscak
Assignee | ||
Comment 4•17 years ago
|
||
Hi Alexei, I checked your patch and I found some problems: 1. There is no header of html page, so it's probably not usable as normal html file. 2. When there is no <pre> tag, everything is on one line and it's hard to read. 3. Log itself contains other html files used for testing (including </pre> and </html> tags), that can cause many formating problems. 4. Tinderbox converts < character to < (on web side), so it's not usable there.
Assignee | ||
Comment 5•17 years ago
|
||
Example of Tinderbox log with this patch: http://tinderbox.mozilla.org/showlog.cgi?log=NSS/1171385280.1171386408.22251.gz&fulltext=1
Assignee | ||
Comment 6•17 years ago
|
||
My suggestion is not to change format to HTML. Idea of tags is good, but I think just simple text tags should be enough, you can use Find function of your web browser.
Assignee | ||
Comment 7•17 years ago
|
||
Alexei, I plan to review all testing scripts and fix them to achieve: 1. all tests will report PASSED/FAILED status 2. all tests will have unique names (bug 347112) So you will be able to search just for 'FAILED' string or for test name. Will there be enough for you, or you would also need to have tags ? (Tags are redundant to test names).
Reporter | ||
Comment 8•17 years ago
|
||
It is not enough because sometimes we search for output of the test with specific name. I think just adding <a name="#Test_Name"> before or after each test output will be quite enough. You can also add <a name="#Test_Name" status=PASS> for example.
Reporter | ||
Comment 9•17 years ago
|
||
Never mind. We are already marking beginning of each test. I think what you propose will be enough.
Assignee | ||
Comment 10•17 years ago
|
||
Increasing priority to P2 (based on priorities set on meeting with Nelson in September).
Priority: P3 → P2
Assignee | ||
Comment 11•17 years ago
|
||
Modified html_* commands to use message IDs. IDs in results.html matches IDs in output.log. There is one thing which is not very nice, using temp file to store ID, because otherwise its value would be lost more times. Let me know if you have better idea how to do it. Also I modified html_* function to add <TR><TD> tags directly there instead of adding it on many place in code.
Attachment #237845 -
Attachment is obsolete: true
Attachment #292778 -
Flags: review?(alexei.volkov.bugs)
Reporter | ||
Comment 12•17 years ago
|
||
Comment on attachment 292778 [details] [diff] [review] Patch. I also expect test IDs to appear in the tinderbox busted test list.
Attachment #292778 -
Flags: review?(alexei.volkov.bugs) → review+
Assignee | ||
Comment 13•17 years ago
|
||
Checking in cert/cert.sh; /cvsroot/mozilla/security/nss/tests/cert/cert.sh,v <-- cert.sh new revision: 1.49; previous revision: 1.48 done Checking in common/init.sh; /cvsroot/mozilla/security/nss/tests/common/init.sh,v <-- init.sh new revision: 1.59; previous revision: 1.58 done Checking in dbtests/dbtests.sh; /cvsroot/mozilla/security/nss/tests/dbtests/dbtests.sh,v <-- dbtests.sh new revision: 1.14; previous revision: 1.13 done Checking in iopr/cert_iopr.sh; /cvsroot/mozilla/security/nss/tests/iopr/cert_iopr.sh,v <-- cert_iopr.sh new revision: 1.5; previous revision: 1.4 done Checking in iopr/ocsp_iopr.sh; /cvsroot/mozilla/security/nss/tests/iopr/ocsp_iopr.sh,v <-- ocsp_iopr.sh new revision: 1.6; previous revision: 1.5 done Checking in iopr/ssl_iopr.sh; /cvsroot/mozilla/security/nss/tests/iopr/ssl_iopr.sh,v <-- ssl_iopr.sh new revision: 1.4; previous revision: 1.3 done Checking in pkits/pkits.sh; /cvsroot/mozilla/security/nss/tests/pkits/pkits.sh,v <-- pkits.sh new revision: 1.17; previous revision: 1.16 done Checking in ssl/ssl.sh; /cvsroot/mozilla/security/nss/tests/ssl/ssl.sh,v <-- ssl.sh new revision: 1.87; previous revision: 1.86 done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•