mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2923] Encoding test failures on OSX #1844
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1844
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Nov 25, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2923
Originally assigned to: @magnumripper on GitHub.
The failures are seen below; they are happening only on OSX.
Changing the subject, I'm afraid magnum will complain that the new tests increased the build time in more than 25%. More than that, one test is exceeding the maximum time limit for jobs. Only thinking aloud, I'm out of ideas for now.
@jfoug commented on GitHub (Nov 25, 2017):
Is this found on the new Travis encoding tests? I did ask @magnum prior to making changes. Are there any tests which are longer (such as the opencl? Also, we 'could' do just utf-8, or do utf-8 on one, encode on the other. BUT there are some formats which have 3 set_key functions. Once for ASCII, one for encode, and one for utf8, so the testing really does need to be done 'somewhere'.....
It does appear that the testing has disturbed the force, and shown that we do have some form of problems somewhere that need addressed.
@magnumripper commented on GitHub (Nov 25, 2017):
Yeah the new tests are only ~40 formats (CPU) and ~10 formats (opencl) (i.e. the ones that are encoding-aware) so I figured it wouldn't affect test time much at all. Did it increase with 25%?
@magnumripper commented on GitHub (Nov 25, 2017):
Also, if they only happen on OSX, odds are we're seeing driver/runtime bugs. There's really nothing special with OSX in our code.
@magnumripper commented on GitHub (Nov 25, 2017):
Good news, I can reproduce on my macbook. I'll have a look at these.
@ghost commented on GitHub (Nov 25, 2017):
From 23 to 30 minutes. Well, some refactoring is already needed anyway.
@magnumripper commented on GitHub (Nov 25, 2017):
Did an actual reconfig+rebuild happen between each test?
@ghost commented on GitHub (Nov 26, 2017):
Do you mean between the regular test and the encoding one? No rebuild, the tests were added.
@jfoug commented on GitHub (Nov 26, 2017):
I am wondering if we should reduce the tests. Just do 1 encoding utf8, one cp737.
ALSO, we should not do them on an ASAN build (that really is too slow already), but do not know the scripts well enough to strip out the testing. Also, the enc test on openCL may push the limit on times also. But again, I am not really sure of the overall script running. I just added the extra tests, knowing that they are only 20-30 formats being tested. I was hoping it would not be a show stopper amount of time, but it may be in some situations. It certainly is on ASAN builds.
@magnumripper commented on GitHub (Nov 27, 2017):
That should do fine. "raw" is one code path, "utf8" is another and any other codepage is a third.
@magnumripper commented on GitHub (Nov 27, 2017):
Or do you mean one single format? That would miss stuff.