openwall / john-tests

Test Suite for John the Ripper
24 stars 15 forks source link

If we got any "Terminating on error" in log file, show them #20

Closed magnumripper closed 9 years ago

magnumripper commented 10 years ago
$ ./jtrts.pl -noprelims lm --stoponerror -pass=-fork=666
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.12.16, Sept 24, 2014.  By, Jim Fougeron & others
- Testing:  John the Ripper password cracker, version 1.8.0.2-bleeding-jumbo_omp [darwin13.4.0 64-bit AVX-autoconf]
--------------------------------------------------------------------------------

John Jumbo build detected.

form=lm                           guesses: 1409 -show=2888 0:00:00:00 DONE : Expected count(s) (1500)(-show3000)  [!!!FAILED!!!]
Exiting on error.  The pot file ./tst.pot contains the found data
The command used to run this test was:

../run/john -ses=./tst -fork=666  -pot=./tst.pot LM_tst.in --wordlist=pw.dic -form=lm

Actual problem:

$ grep Terminating tst.log
1 0:00:00:00 Terminating on error, john.c:496

Looking at the referenced source line, it's obvious I just hit my ulimits.

I guess we could always grep for that and show it, as a hint.

jfoug commented 9 years ago
[ghost@localhost test]$ ./jtrts.pl -noprelims lm --stoponerror -pass=-fork=665
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.13, Dec 21, 2014.  By, Jim Fougeron & others
- Testing:  John the Ripper 1.8.0.6-jumbo-1-1582-gcc44817 OMP [linux-gnu 64-bit AVX-ac]
--------------------------------------------------------------------------------

John Jumbo build detected.

form=lm                           guesses: 1116 -show=2599 0:00:00:00 DONE : Expected count(s) (1500)(-show3000)  [!!!FAILED2!!! exited, return code 1]
Exiting on error. The .pot file tst-.pot contains the found data
The command used to run this test was:

../run/john -ses=tst-  -fork=665 -pot=tst-.pot LM_tst.in --wordlist=pw.dic -form=lm
and
../run/john -show    -pot=tst-.pot LM_tst.in -form=lm 2>/dev/null

From tst-.log file:
1 0:00:00:00 Terminating on error, john.c:604

Better? :)

jfoug commented 9 years ago

83184d6