Ticket #5632 (new defect)

SVN Diffs for #5632

 

Opened 2 years ago

Last modified 4 months ago

make TestIDNAMonkeyTest output traceable and reproducible; investigate transient failure

Reported by: markus Assigned to: markus
Priority: assess Milestone: UNSCH
Component: idna Version:
Keywords: Cc:
Load: Xref:
Java Version: Operating System:
Project (C/J): ICU4C Weeks: 0.2
Review:

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:

      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

Attachments

Change History

03/07/07 19:41:50 changed by grhoten

  • owner changed from somebody to ram.
  • weeks set to 0.2.
  • type changed from defect to enhancement.

04/10/07 15:35:48 changed by grhoten

  • load changed.
  • owner changed from ram to grhoten.
  • type changed from enhancement to defect.
  • project changed from all to ICU4C.
  • milestone changed from UNSCH to 3.8.

I've seen this error on Windows Vista using MSVC 2005. A similar failure was noticed with b and B in Trac bug #5632.

07/31/07 16:18:07 changed by grhoten

  • owner changed from grhoten to markus.
  • milestone changed from 3.8 to UNSCH.

I'm not sure what is required to make the test case reproducible. I haven't seen this test failure in a while.

07/10/08 10:54:05 changed by yoshito

  • priority changed from major to assess.

Add/Change #5632 (make TestIDNAMonkeyTest output traceable and reproducible; investigate transient failure)




Anti spam check: