We're updating the issue view to help you get more done. 

make TestIDNAMonkeyTest output traceable and reproducible; investigate transient failure

Description

I saw the ICU4C intltest idna/TestIDNAMonkeyTest fail once in a test but it does not fail any more and it does not seem obvious how to recreate the precise conditions for the one failure. We know that in general the IDNA code works fine for "R" unlike what the test failure suggests.

This test, like any random-input monkey test, needs to output enough to make it possible to trace any reported situation, and, if possible, to recreate it.

The one-time failure should also be investigated. Its log is:

1 2 3 4 5 6 7 8 9 10 Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 1 Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 0 Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 2 Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 3 Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 1 Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 0 Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 2 Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 3 ---ERRORS (8) in TestIDNAMonkeyTest

Status

Assignee

Markus Scherer

Reporter

Markus Scherer

Labels

None

Reviewer

None

Time Needed

Hours

Start date

None

Components

Priority

assess