You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Maxim Valyanskiy (JIRA)" <ji...@apache.org> on 2010/11/12 13:57:13 UTC

[jira] Created: (TIKA-551) Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05

Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05
----------------------------------------------------------------------------------

                 Key: TIKA-551
                 URL: https://issues.apache.org/jira/browse/TIKA-551
             Project: Tika
          Issue Type: Bug
            Reporter: Maxim Valyanskiy


$ mvn test
.....
Results :

Failed tests: 
  testJPEG(org.apache.tika.parser.image.ImageParserTest)
  testBMP(org.apache.tika.parser.image.ImageParserTest)
  testPNG(org.apache.tika.parser.image.ImageParserTest)

This bug reproduces only on:

java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)

Test successfully passes on 1.6.0_11, 1.6.0_21 and on latest OpenJDK 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TIKA-551) Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05

Posted by "Maxim Valyanskiy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Valyanskiy updated TIKA-551:
----------------------------------

    Attachment: org.apache.tika.parser.image.ImageParserTest.txt

tika/tika-parsers/target/surefire-reports/org.apache.tika.parser.image.ImageParserTest.txt

> Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-551
>                 URL: https://issues.apache.org/jira/browse/TIKA-551
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Maxim Valyanskiy
>         Attachments: org.apache.tika.parser.image.ImageParserTest.txt
>
>
> $ mvn test
> .....
> Results :
> Failed tests: 
>   testJPEG(org.apache.tika.parser.image.ImageParserTest)
>   testBMP(org.apache.tika.parser.image.ImageParserTest)
>   testPNG(org.apache.tika.parser.image.ImageParserTest)
> This bug reproduces only on:
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
> Test successfully passes on 1.6.0_11, 1.6.0_21 and on latest OpenJDK 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TIKA-551) Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931649#action_12931649 ] 

Jukka Zitting commented on TIKA-551:
------------------------------------

I tried this with 1.6.0_05 on Windows, where it worked correctly. The problem is most likely in the platform-specific ImageIO providers included in the Java installation.

The simplest solution is probably just to comment out all the assertions that are causing problems for you. There should still be plenty of assertions to catch true regressions in our code.

> Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-551
>                 URL: https://issues.apache.org/jira/browse/TIKA-551
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Maxim Valyanskiy
>         Attachments: org.apache.tika.parser.image.ImageParserTest.txt
>
>
> $ mvn test
> .....
> Results :
> Failed tests: 
>   testJPEG(org.apache.tika.parser.image.ImageParserTest)
>   testBMP(org.apache.tika.parser.image.ImageParserTest)
>   testPNG(org.apache.tika.parser.image.ImageParserTest)
> This bug reproduces only on:
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
> Test successfully passes on 1.6.0_11, 1.6.0_21 and on latest OpenJDK 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TIKA-551) Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05

Posted by "Staffan Olsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931409#action_12931409 ] 

Staffan Olsson commented on TIKA-551:
-------------------------------------

The fails on one JVM and passes on others makes me think it is a low level issue, i.e. in the Metadata Extractor library.

> Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-551
>                 URL: https://issues.apache.org/jira/browse/TIKA-551
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Maxim Valyanskiy
>         Attachments: org.apache.tika.parser.image.ImageParserTest.txt
>
>
> $ mvn test
> .....
> Results :
> Failed tests: 
>   testJPEG(org.apache.tika.parser.image.ImageParserTest)
>   testBMP(org.apache.tika.parser.image.ImageParserTest)
>   testPNG(org.apache.tika.parser.image.ImageParserTest)
> This bug reproduces only on:
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
> Test successfully passes on 1.6.0_11, 1.6.0_21 and on latest OpenJDK 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (TIKA-551) Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05

Posted by "Staffan Olsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931409#action_12931409 ] 

Staffan Olsson edited comment on TIKA-551 at 11/12/10 9:18 AM:
---------------------------------------------------------------

The fact that it fails on one JVM and passes on others makes me think it is a low level issue, i.e. in the Metadata Extractor library.

      was (Author: solsson):
    The fails on one JVM and passes on others makes me think it is a low level issue, i.e. in the Metadata Extractor library.
  
> Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-551
>                 URL: https://issues.apache.org/jira/browse/TIKA-551
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Maxim Valyanskiy
>         Attachments: org.apache.tika.parser.image.ImageParserTest.txt
>
>
> $ mvn test
> .....
> Results :
> Failed tests: 
>   testJPEG(org.apache.tika.parser.image.ImageParserTest)
>   testBMP(org.apache.tika.parser.image.ImageParserTest)
>   testPNG(org.apache.tika.parser.image.ImageParserTest)
> This bug reproduces only on:
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
> Test successfully passes on 1.6.0_11, 1.6.0_21 and on latest OpenJDK 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TIKA-551) Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05

Posted by "Maxim Valyanskiy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931650#action_12931650 ] 

Maxim Valyanskiy commented on TIKA-551:
---------------------------------------

We use 1.6.0_05 on Linux. I think it is time to upgrade our JDK version.

Maybe close this bug as "wontfix"?

> Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-551
>                 URL: https://issues.apache.org/jira/browse/TIKA-551
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Maxim Valyanskiy
>         Attachments: org.apache.tika.parser.image.ImageParserTest.txt
>
>
> $ mvn test
> .....
> Results :
> Failed tests: 
>   testJPEG(org.apache.tika.parser.image.ImageParserTest)
>   testBMP(org.apache.tika.parser.image.ImageParserTest)
>   testPNG(org.apache.tika.parser.image.ImageParserTest)
> This bug reproduces only on:
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
> Test successfully passes on 1.6.0_11, 1.6.0_21 and on latest OpenJDK 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TIKA-551) Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved TIKA-551.
--------------------------------

    Resolution: Won't Fix

Agreed, resolved as Won't Fix.

> Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-551
>                 URL: https://issues.apache.org/jira/browse/TIKA-551
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Maxim Valyanskiy
>         Attachments: org.apache.tika.parser.image.ImageParserTest.txt
>
>
> $ mvn test
> .....
> Results :
> Failed tests: 
>   testJPEG(org.apache.tika.parser.image.ImageParserTest)
>   testBMP(org.apache.tika.parser.image.ImageParserTest)
>   testPNG(org.apache.tika.parser.image.ImageParserTest)
> This bug reproduces only on:
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
> Test successfully passes on 1.6.0_11, 1.6.0_21 and on latest OpenJDK 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TIKA-551) Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05

Posted by "Maxim Valyanskiy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931382#action_12931382 ] 

Maxim Valyanskiy commented on TIKA-551:
---------------------------------------

1) testJPEG completely misses key "markerSequence com"

2) testBMP misses trailing space on key "Data BitsPerSample"

3) testPNG has another letter case for "TRUE" on key "Compression Lossless"

> Unit test failures in org.apache.tika.parser.image.ImageParserTest on JDK 1.6.0_05
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-551
>                 URL: https://issues.apache.org/jira/browse/TIKA-551
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Maxim Valyanskiy
>         Attachments: org.apache.tika.parser.image.ImageParserTest.txt
>
>
> $ mvn test
> .....
> Results :
> Failed tests: 
>   testJPEG(org.apache.tika.parser.image.ImageParserTest)
>   testBMP(org.apache.tika.parser.image.ImageParserTest)
>   testPNG(org.apache.tika.parser.image.ImageParserTest)
> This bug reproduces only on:
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
> Test successfully passes on 1.6.0_11, 1.6.0_21 and on latest OpenJDK 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.