commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COMPRESS-416) Tests failing under jdk 9 : one reflection issue, one change to ZipEntry related issue
Date Thu, 29 Jun 2017 18:29:00 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16068752#comment-16068752
] 

Gary Gregory commented on COMPRESS-416:
---------------------------------------

When I build with:

{noformat}
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+174)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+174, mixed mode)
{noformat}

and:

{noformat}
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T12:39:06-07:00)
Maven home: C:\Java\apache-maven-3.5.0\bin\..
Java version: 9-ea, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk-9
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
{noformat}

I get:

{noformat}
Tests in error:
  ArchiveReadTest.testArchive:112->AbstractTestCase.checkArchiveContent:290->AbstractTestCase.checkArchiveContent:303->AbstractTestCase.checkArchiveContent:322
╗ ServiceConfiguration
  ArchiveReadTest.testArchive:112->AbstractTestCase.checkArchiveContent:290->AbstractTestCase.checkArchiveContent:303->AbstractTestCase.checkArchiveContent:322
╗ ServiceConfiguration
  DetectArchiverTestCase.testEmptyJarArchive:120->checkEmptyArchive:133->AbstractTestCase.createEmptyArchive:235
╗ ServiceConfiguration
  DetectArchiverTestCase.testEmptyZipArchive:129->checkEmptyArchive:133->AbstractTestCase.createEmptyArchive:235
╗ ServiceConfiguration
  IOMethodsTest.testReadJar:98->compareReads:146->AbstractTestCase.createSingleEntryArchive:262
╗ ServiceConfiguration
  IOMethodsTest.testReadZip:108->compareReads:146->AbstractTestCase.createSingleEntryArchive:262
╗ ServiceConfiguration
  IOMethodsTest.testWriteJar:70->compareWrites:115 ╗ ServiceConfiguration sun.ut...
  IOMethodsTest.testWriteZip:83->compareWrites:115 ╗ ServiceConfiguration sun.ut...
  ArchiveOutputStreamTest.testCallSequenceJar:127->doCallSequence:145 ╗ ServiceConfiguration
  ArchiveOutputStreamTest.testCallSequenceZip:137->doCallSequence:145 ╗ ServiceConfiguration
  ArchiveOutputStreamTest.testFinish:45 ╗ ServiceConfiguration sun.util.locale.p...
  ArchiveOutputStreamTest.testOptionalFinish:95 ╗ ServiceConfiguration sun.util....
  ArchiveStreamFactoryTest.testEncodingOutputStream:357->getOutputStreamFor:431 ╗ ServiceConfiguration
  JarTestCase.testJarArchiveCreation:43 ╗ ServiceConfiguration sun.util.locale.p...
  JarTestCase.testJarUnarchive:63 ╗ ServiceConfiguration sun.util.locale.provide...
  JarTestCase.testJarUnarchiveAll:94 ╗ ServiceConfiguration sun.util.locale.prov...
  LongPathTest.testArchive:160->AbstractTestCase.checkArchiveContent:303->AbstractTestCase.checkArchiveContent:322
╗ ServiceConfiguration
  LongPathTest.testArchive:160->AbstractTestCase.checkArchiveContent:303->AbstractTestCase.checkArchiveContent:322
╗ ServiceConfiguration
  LongPathTest.testArchive:160->AbstractTestCase.checkArchiveContent:303->AbstractTestCase.checkArchiveContent:322
╗ ServiceConfiguration
  LongPathTest.testArchive:160->AbstractTestCase.checkArchiveContent:303->AbstractTestCase.checkArchiveContent:322
╗ ServiceConfiguration
  LongPathTest.testArchive:160->AbstractTestCase.checkArchiveContent:303->AbstractTestCase.checkArchiveContent:322
╗ ServiceConfiguration
  LongPathTest.testArchive:160->AbstractTestCase.checkArchiveContent:303->AbstractTestCase.checkArchiveContent:322
╗ ServiceConfiguration
  SevenZTestCase.testSevenZArchiveCreationUsingBZIP2:52->testSevenZArchiveCreation:70 ╗
ServiceConfiguration
  SevenZTestCase.testSevenZArchiveCreationUsingCopy:37->testSevenZArchiveCreation:70 ╗
ServiceConfiguration
  SevenZTestCase.testSevenZArchiveCreationUsingDeflate:57->testSevenZArchiveCreation:70
╗ ServiceConfiguration
  SevenZTestCase.testSevenZArchiveCreationUsingLZMA:42->testSevenZArchiveCreation:70 ╗
ServiceConfiguration
  SevenZTestCase.testSevenZArchiveCreationUsingLZMA2:47->testSevenZArchiveCreation:70 ╗
ServiceConfiguration
  ZipTestCase.testCopyRawEntriesFromFile:369->createReferenceFile:444 ╗ ServiceConfiguration
  ZipTestCase.testCopyRawZip64EntryFromFile:402 ╗ ServiceConfiguration sun.util....
  ZipTestCase.testDirectoryEntryFromFile:293 ╗ ServiceConfiguration sun.util.loc...
  ZipTestCase.testExplicitDirectoryEntry:329 ╗ ServiceConfiguration sun.util.loc...
  ZipTestCase.testExplicitFileEntry:565 ╗ ServiceConfiguration sun.util.locale.p...
  ZipTestCase.testFileEntryFromFile:520 ╗ ServiceConfiguration sun.util.locale.p...
  ZipTestCase.testListAllFilesWithNestedArchive:255 ╗ ServiceConfiguration sun.u...
  ZipTestCase.testSkipEntryWithUnsupportedCompressionMethod:220 ╗ ServiceConfiguration
  ZipTestCase.testSkipsPK00Prefix:184->AbstractTestCase.checkArchiveContent:303->AbstractTestCase.checkArchiveContent:322
╗ ServiceConfiguration
  ZipTestCase.testSupportedCompressionMethod:201 ╗ ServiceConfiguration sun.util...
  ZipTestCase.testUnixModeInAddRaw:428 ╗ ServiceConfiguration sun.util.locale.pr...
  ZipTestCase.testZipArchiveCreation:66 ╗ ServiceConfiguration sun.util.locale.p...
  ZipTestCase.testZipArchiveCreationInMemory:128 ╗ ServiceConfiguration sun.util...
  ZipTestCase.testZipUnarchive:165 ╗ ServiceConfiguration sun.util.locale.provid...
  ArjArchiveInputStreamTest.testReadingOfAttributesDosVersion:64 ╗ ServiceConfiguration
  ArjArchiveInputStreamTest.testReadingOfAttributesUnixVersion:78 ╗ ServiceConfiguration
  JarArchiveOutputStreamTest.testJarMarker:44 ╗ ServiceConfiguration sun.util.lo...
  SevenZNativeHeapTest.initializationError ╗ Objenesis java.lang.reflect.Invocat...
  SevenZOutputFileTest.testDirectoriesAndEmptyFiles:61 ╗ ServiceConfiguration su...
  SevenZOutputFileTest.testEightEmptyFiles:204->testCompress252:386->addDir:414 ╗
ServiceConfiguration
  SevenZOutputFileTest.testEightFilesSomeNotEmpty:209->testCompress252:386->addDir:414
╗ ServiceConfiguration
  SevenZOutputFileTest.testNineEmptyFiles:214->testCompress252:386->addDir:414 ╗ ServiceConfiguration
  SevenZOutputFileTest.testNineFilesSomeNotEmpty:219->testCompress252:386->addDir:414
╗ ServiceConfiguration
  SevenZOutputFileTest.testSevenEmptyFiles:194->testCompress252:386->addDir:414 ╗
ServiceConfiguration
  SevenZOutputFileTest.testSevenFilesSomeNotEmpty:199->testCompress252:386->addDir:414
╗ ServiceConfiguration
  SevenZOutputFileTest.testSixEmptyFiles:184->testCompress252:386->addDir:414 ╗ ServiceConfiguration
  SevenZOutputFileTest.testSixFilesSomeNotEmpty:189->testCompress252:386->addDir:414
╗ ServiceConfiguration
  SevenZOutputFileTest.testTwentyNineEmptyFiles:224->testCompress252:386->addDir:414
╗ ServiceConfiguration
  SevenZOutputFileTest.testTwentyNineFilesSomeNotEmpty:229->testCompress252:386->addDir:414
╗ ServiceConfiguration
  TarArchiveInputStreamTest.datePriorToEpochInGNUFormat:131->datePriorToEpoch:146 ╗ ServiceConfiguration
  TarArchiveInputStreamTest.datePriorToEpochInPAXFormat:137->datePriorToEpoch:146 ╗ ServiceConfiguration
  TarArchiveOutputStreamTest.testOldEntryPosixMode:299 ╗ ServiceConfiguration su...
  TarArchiveOutputStreamTest.testOldEntryStarMode:266 ╗ ServiceConfiguration sun...
  DataDescriptorTest.doesntWriteDataDescriptorForDeflatedEntryOnSeekableOutput:95 ╗ ServiceConfiguration
  DataDescriptorTest.doesntWriteDataDescriptorWhenAddingRawEntries:137 ╗ ServiceConfiguration
  DataDescriptorTest.writesDataDescriptorForDeflatedEntryOnUnseekableOutput:55 ╗ ServiceConfiguration
  EncryptedArchiveTest.testReadPasswordEncryptedEntryViaStream:62 ╗ ServiceConfiguration
  EncryptedArchiveTest.testReadPasswordEncryptedEntryViaZipFile:38 ╗ ServiceConfiguration
  ExplodeSupportTest.testArchiveWithImplodeCompression4K2Trees:56->testArchiveWithImplodeCompression:38
╗ ServiceConfiguration
  ExplodeSupportTest.testArchiveWithImplodeCompression8K3Trees:61->testArchiveWithImplodeCompression:38
╗ ServiceConfiguration
  ExplodeSupportTest.testTikaTestArchive:66->testArchiveWithImplodeCompression:38 ╗ ServiceConfiguration
  ExplodeSupportTest.testTikaTestStream:99->testZipStreamWithImplodeCompression:71 ╗
ServiceConfiguration
  ExplodeSupportTest.testZipStreamWithImplodeCompression4K2Trees:89->testZipStreamWithImplodeCompression:71
╗ ServiceConfiguration
  ExplodeSupportTest.testZipStreamWithImplodeCompression8K3Trees:94->testZipStreamWithImplodeCompression:71
╗ ServiceConfiguration
  Maven221MultiVolumeTest.testRead7ZipMultiVolumeArchiveForStream:80 ╗ ServiceConfiguration
  ParallelScatterZipCreatorTest.callableApi:76 ╗ ServiceConfiguration sun.util.l...
  ParallelScatterZipCreatorTest.concurrent:60 ╗ ServiceConfiguration sun.util.lo...
  ScatterSampleTest.testSample:39->createFile:55 ╗ ServiceConfiguration sun.util...
  ScatterZipOutputStreamTest.putArchiveEntry:64 ╗ ServiceConfiguration sun.util....
  UTF8ZipFilesTest.testASCIIFileRoundtripExplicitUnicodeExtra:64->testFileRoundtrip:249->createTestFile:265
╗ ServiceConfiguration
  UTF8ZipFilesTest.testASCIIFileRoundtripImplicitUnicodeExtra:88->testFileRoundtrip:249->createTestFile:265
╗ ServiceConfiguration
  UTF8ZipFilesTest.testCP437FileRoundtripExplicitUnicodeExtra:58->testFileRoundtrip:249->createTestFile:265
╗ ServiceConfiguration
  UTF8ZipFilesTest.testCP437FileRoundtripImplicitUnicodeExtra:82->testFileRoundtrip:249->createTestFile:265
╗ ServiceConfiguration
  UTF8ZipFilesTest.testRawNameReadFromStream:234 ╗ ServiceConfiguration sun.util...
  UTF8ZipFilesTest.testRawNameReadFromZipFile:219 ╗ ServiceConfiguration sun.uti...
  UTF8ZipFilesTest.testRead7ZipArchive:102 ╗ ServiceConfiguration sun.util.local...
  UTF8ZipFilesTest.testRead7ZipArchiveForStream:118 ╗ ServiceConfiguration sun.u...
  UTF8ZipFilesTest.testReadWinZipArchive:137 ╗ ServiceConfiguration sun.util.loc...
  UTF8ZipFilesTest.testReadWinZipArchiveForStream:165 ╗ ServiceConfiguration sun...
  UTF8ZipFilesTest.testUtf8FileRoundtripExplicitUnicodeExtra:46->testFileRoundtrip:249->createTestFile:265
╗ ServiceConfiguration
  UTF8ZipFilesTest.testUtf8FileRoundtripImplicitUnicodeExtra:70->testFileRoundtrip:249->createTestFile:265
╗ ServiceConfiguration
  UTF8ZipFilesTest.testUtf8FileRoundtripNoEFSExplicitUnicodeExtra:52->testFileRoundtrip:249->createTestFile:265
╗ ServiceConfiguration
  UTF8ZipFilesTest.testUtf8FileRoundtripNoEFSImplicitUnicodeExtra:76->testFileRoundtrip:249->createTestFile:265
╗ ServiceConfiguration
  UTF8ZipFilesTest.testUtf8Interoperability:392->testFile:340 ╗ ServiceConfiguration
  UTF8ZipFilesTest.testZipArchiveInputStreamReadsUnicodeFields:202->createTestFile:265
╗ ServiceConfiguration
  UTF8ZipFilesTest.testZipFileReadsUnicodeFields:181->createTestFile:265 ╗ ServiceConfiguration
  X5455_ExtendedTimestampTest.testBitsAreSetWithTime ╗ NoClassDefFound Could not...
  X5455_ExtendedTimestampTest.testGetHeaderId ╗ NoClassDefFound Could not initia...
  X5455_ExtendedTimestampTest.<clinit>:54 ╗ ServiceConfiguration sun.util.locale...
  X5455_ExtendedTimestampTest.testMisc ╗ NoClassDefFound Could not initialize cl...
  X5455_ExtendedTimestampTest.testParseReparse ╗ NoClassDefFound Could not initi...
  X5455_ExtendedTimestampTest.testSampleFile ╗ NoClassDefFound Could not initial...
  X5455_ExtendedTimestampTest.testWriteReadRoundtrip ╗ NoClassDefFound Could not...
  X7875_NewUnixTest.testSampleFile:53 ╗ ServiceConfiguration sun.util.locale.pro...
  ZipArchiveEntryTest.isUnixSymlinkIsFalseIfMoreThanOneFlagIsSet:278 ╗ ServiceConfiguration
  ZipArchiveEntryTest.testCompressionMethod:213 ╗ ServiceConfiguration sun.util....
  ZipArchiveInputStreamTest.properUseOfInflater:70 ╗ ServiceConfiguration sun.ut...
  ZipArchiveInputStreamTest.shouldConsumeArchiveCompletely:94 ╗ ServiceConfiguration
  ZipArchiveInputStreamTest.shouldReadNestedZip:114->extractZipInputStream:124 ╗ ServiceConfiguration
  ZipArchiveInputStreamTest.testMessageWithCorruptFileName:185 ╗ ServiceConfiguration
  ZipArchiveInputStreamTest.testOffsets:263 ╗ ServiceConfiguration sun.util.loca...
  ZipArchiveInputStreamTest.testReadingOfFirstStoredEntry:170 ╗ ServiceConfiguration
  ZipArchiveInputStreamTest.testUnshrinkEntry:137 ╗ ServiceConfiguration sun.uti...
  ZipArchiveInputStreamTest.testUnzipBZip2CompressedEntry:200 ╗ ServiceConfiguration
  ZipArchiveInputStreamTest.testWithBytesAfterData:222 ╗ ServiceConfiguration su...
  ZipArchiveInputStreamTest.winzipBackSlashWorkaround:51 ╗ ServiceConfiguration ...
  ZipFileTest.testCDOrder:59->readOrderTest:665 ╗ ServiceConfiguration sun.util....
  ZipFileTest.testCDOrderInMemory:93 ╗ ServiceConfiguration sun.util.locale.prov...
  ZipFileTest.testConcurrentReadFile:379 ╗ ServiceConfiguration sun.util.locale....
  ZipFileTest.testConcurrentReadSeekable:349 ╗ ServiceConfiguration sun.util.loc...
  ZipFileTest.testDelayedOffsetsAndSizes:430 ╗ ServiceConfiguration sun.util.loc...
  ZipFileTest.testDoubleClose:151->readOrderTest:665 ╗ ServiceConfiguration sun....
  ZipFileTest.testDuplicateEntry:268 ╗ ServiceConfiguration sun.util.locale.prov...
  ZipFileTest.testEntryAlignment:470 ╗ ServiceConfiguration sun.util.locale.prov...
  ZipFileTest.testEntryAlignmentExceed ╗  Unexpected exception, expected<java.la...
  ZipFileTest.testExcessDataInZip64ExtraField:288 ╗ ServiceConfiguration sun.uti...
  ZipFileTest.testOffsets:412 ╗ ServiceConfiguration sun.util.locale.provider.Lo...
  ZipFileTest.testPhysicalOrder:122->readOrderTest:665 ╗ ServiceConfiguration su...
  ZipFileTest.testReadingOfFirstStoredEntry:324 ╗ ServiceConfiguration sun.util....
  ZipFileTest.testReadingOfStoredEntry:168 ╗ ServiceConfiguration sun.util.local...
  ZipFileTest.testSkipsPK00Prefix:217 ╗ ServiceConfiguration sun.util.locale.pro...
  ZipFileTest.testUnixSymlinkSampleFile:246 ╗ ServiceConfiguration sun.util.loca...
  ZipFileTest.testUnshrinking:297 ╗ ServiceConfiguration sun.util.locale.provide...
  ZipFileTest.testUnzipBZip2CompressedEntry:334 ╗ ServiceConfiguration sun.util....
  ZipFileTest.testWinzipBackSlashWorkaround:204 ╗ ServiceConfiguration sun.util....
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ZipUtilTest.setUp:40 ╗ ServiceConfiguration sun.util.locale.provider.LocaleDat...
  ChangeSetTestCase.testAddAllreadyExistingWithReplaceFalse:1258->AbstractTestCase.createArchive:174
╗ ServiceConfiguration
  ChangeSetTestCase.testAddAllreadyExistingWithReplaceTrue:1213->AbstractTestCase.createArchive:174
╗ ServiceConfiguration
  ChangeSetTestCase.testAddToEmptyArchive:1068->AbstractTestCase.createEmptyArchive:235
╗ ServiceConfiguration
  ChangeSetTestCase.testDeleteAddToOneFileArchive:1114->AbstractTestCase.createSingleEntryArchive:262
╗ ServiceConfiguration
  ChangeSetTestCase.testDeleteFromAndAddToJar:929 ╗ ServiceConfiguration sun.uti...
  ChangeSetTestCase.testDeleteFromAndAddToZip:550->AbstractTestCase.createArchive:174 ╗
ServiceConfiguration
  ChangeSetTestCase.testDeleteFromAndAddToZipUsingZipFilePerform:597->AbstractTestCase.createArchive:174
╗ ServiceConfiguration
  ChangeSetTestCase.testDeleteFromJar:835 ╗ ServiceConfiguration sun.util.locale...
  ChangeSetTestCase.testDeleteFromZip:754 ╗ ServiceConfiguration sun.util.locale...
  ChangeSetTestCase.testDeletePlusAddSame:367->AbstractTestCase.createArchive:174 ╗ ServiceConfiguration
  Pack200TestCase.testJarArchiveCreationInMemory:98->jarArchiveCreation:115 ╗ ServiceConfiguration
  Pack200TestCase.testJarArchiveCreationTempFile:103->jarArchiveCreation:115 ╗ ServiceConfiguration
  Pack200TestCase.testJarUnarchiveAllFileArgInMemory:54->jarUnarchiveAll:77 ╗ ServiceConfiguration
  Pack200TestCase.testJarUnarchiveAllFileTempFile:64->jarUnarchiveAll:77 ╗ ServiceConfiguration
  Pack200TestCase.testJarUnarchiveAllInMemory:49->jarUnarchiveAll:77 ╗ ServiceConfiguration
  Pack200TestCase.testJarUnarchiveAllTempFile:59->jarUnarchiveAll:77 ╗ ServiceConfiguration
  Pack200UtilsTest.testNormalize:47 ╗ ServiceConfiguration sun.util.locale.provi...
  Pack200UtilsTest.testNormalizeInPlace:93 ╗ ServiceConfiguration sun.util.local...
  FramedSnappyCompressorInputStreamTest.readIWAFile:154 ╗ ServiceConfiguration s...
  ZCompressorInputStreamTest.testFailsToCreateZCompressorInputStreamAndThrowsIOException ╗

Tests run: 841, Failures: 0, Errors: 162, Skipped: 4
{noformat}


> Tests failing under jdk 9 : one reflection issue, one change to ZipEntry related issue
> --------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-416
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-416
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.14
>         Environment: JDK 9
>            Reporter: Simon Spero
>
> X5455_ExtendedTimestampTest is failing under JDK 9 , due to what appears to be a bogus
value returned from getTime().  It seems like the test failure might be due to the changes
introduced for this: 
> https://bugs.openjdk.java.net/browse/JDK-8073497



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message