You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Tomohito Nakayama (JIRA)" <de...@db.apache.org> on 2005/10/30 07:18:55 UTC
[jira] Created: (DERBY-663) Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
--------------------------------------------------------------------------------------------------------------------
Key: DERBY-663
URL: http://issues.apache.org/jira/browse/DERBY-663
Project: Derby
Type: Bug
Versions: 10.2.0.0
Environment: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version
Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
Reporter: Tomohito Nakayama
I found concrete failure in jdbc/resultsetStream.java .
********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
*** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
10 del
< len=56
11 del
< number of reads=56
11a10,11
> len=55
> number of reads=55
Test Failed.
*** End: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***
Surveying code and history of source repository, this test program seems to fail because test program suppose size of data file named "short.txt" as "56 bytes" assuming data file encodes eol as CR LF .
There seems to be some more substantially same failures .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
Re: [jira] Commented: (DERBY-663) Test of derby fails because difference
in encoding of eol make sizes of test data files different between platforms.
Posted by TomohitoNakayama <to...@basil.ocn.ne.jp>.
Hello Oyvind.
I read information at
http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/Limited/index.html
that DERBY-663 was resolved .
Can you resolve issue on JIRA ?
Best regards.
Oyvind Bakksjo (JIRA) wrote:
> [ http://issues.apache.org/jira/browse/DERBY-663?page=comments#action_12356634 ]
>
>Oyvind Bakksjo commented on DERBY-663:
>--------------------------------------
>
>Sending java/testing/org/apache/derbyTesting/functionTests/testData/ImportExport/position_info.del
>Transmitting file data .
>Committed revision 330289.
>
>Some tests expect this file to have CRLF newlines.
>
>
>
>>Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
>>--------------------------------------------------------------------------------------------------------------------
>>
>> Key: DERBY-663
>> URL: http://issues.apache.org/jira/browse/DERBY-663
>> Project: Derby
>> Type: Bug
>> Versions: 10.2.0.0
>> Environment: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version
>>Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
>> Reporter: Tomohito Nakayama
>> Assignee: Oyvind Bakksjo
>>
>>
>
>
>
>>I found concrete failure in jdbc/resultsetStream.java .
>>********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
>>*** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
>>10 del
>>< len=56
>>11 del
>>< number of reads=56
>>11a10,11
>>
>>
>>>len=55
>>>number of reads=55
>>>
>>>
>>Test Failed.
>>*** End: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***
>>Surveying code and history of source repository, this test program seems to fail because test program suppose size of data file named "short.txt" as "56 bytes" assuming data file encodes eol as CR LF .
>>There seems to be some more substantially same failures .
>>
>>
>
>
>
--
/*
Tomohito Nakayama
tomonaka@basil.ocn.ne.jp
tomohito@rose.zero.ad.jp
tmnk@apache.org
Naka
http://www5.ocn.ne.jp/~tomohito/TopPage.html
*/
[jira] Commented: (DERBY-663) Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
Posted by "Oyvind Bakksjo (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-663?page=comments#action_12356634 ]
Oyvind Bakksjo commented on DERBY-663:
--------------------------------------
Sending java/testing/org/apache/derbyTesting/functionTests/testData/ImportExport/position_info.del
Transmitting file data .
Committed revision 330289.
Some tests expect this file to have CRLF newlines.
> Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-663
> URL: http://issues.apache.org/jira/browse/DERBY-663
> Project: Derby
> Type: Bug
> Versions: 10.2.0.0
> Environment: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version
> Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
> Reporter: Tomohito Nakayama
> Assignee: Oyvind Bakksjo
>
> I found concrete failure in jdbc/resultsetStream.java .
> ********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
> *** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
> 10 del
> < len=56
> 11 del
> < number of reads=56
> 11a10,11
> > len=55
> > number of reads=55
> Test Failed.
> *** End: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***
> Surveying code and history of source repository, this test program seems to fail because test program suppose size of data file named "short.txt" as "56 bytes" assuming data file encodes eol as CR LF .
> There seems to be some more substantially same failures .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Assigned: (DERBY-663) Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
Posted by "Tomohito Nakayama (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-663?page=all ]
Tomohito Nakayama reassigned DERBY-663:
---------------------------------------
Assign To: Oyvind Bakksjo
> Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-663
> URL: http://issues.apache.org/jira/browse/DERBY-663
> Project: Derby
> Type: Bug
> Versions: 10.2.0.0
> Environment: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version
> Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
> Reporter: Tomohito Nakayama
> Assignee: Oyvind Bakksjo
>
> I found concrete failure in jdbc/resultsetStream.java .
> ********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
> *** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
> 10 del
> < len=56
> 11 del
> < number of reads=56
> 11a10,11
> > len=55
> > number of reads=55
> Test Failed.
> *** End: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***
> Surveying code and history of source repository, this test program seems to fail because test program suppose size of data file named "short.txt" as "56 bytes" assuming data file encodes eol as CR LF .
> There seems to be some more substantially same failures .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-663) Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
Posted by "Oyvind Bakksjo (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-663?page=comments#action_12356502 ]
Oyvind Bakksjo commented on DERBY-663:
--------------------------------------
Sending java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/aclob.txt
Sending java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/empty.txt
Sending java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/littleclob.txt
Sending java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/searchclob.txt
Sending java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/short.txt
Sending java/testing/org/apache/derbyTesting/functionTests/tests/store/derby.banner
Sending java/testing/org/apache/derbyTesting/functionTests/tests/store/empty.data
Sending java/testing/org/apache/derbyTesting/functionTests/tests/store/short.data
Sending java/testing/org/apache/derbyTesting/functionTests/tests/store/shortbanner
Transmitting file data .......
Committed revision 330042.
This hopefully fixes the problem (will not know for sure until tests have finished running).
> Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-663
> URL: http://issues.apache.org/jira/browse/DERBY-663
> Project: Derby
> Type: Bug
> Versions: 10.2.0.0
> Environment: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version
> Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
> Reporter: Tomohito Nakayama
> Assignee: Oyvind Bakksjo
>
> I found concrete failure in jdbc/resultsetStream.java .
> ********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
> *** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
> 10 del
> < len=56
> 11 del
> < number of reads=56
> 11a10,11
> > len=55
> > number of reads=55
> Test Failed.
> *** End: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***
> Surveying code and history of source repository, this test program seems to fail because test program suppose size of data file named "short.txt" as "56 bytes" assuming data file encodes eol as CR LF .
> There seems to be some more substantially same failures .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (DERBY-663) Test of derby fails because difference
in encoding of eol make sizes of test data files different between
platforms.
Posted by "Kathey Marsden (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-663?page=all ]
Kathey Marsden updated DERBY-663:
---------------------------------
Component: Test
> Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-663
> URL: http://issues.apache.org/jira/browse/DERBY-663
> Project: Derby
> Type: Bug
> Components: Test
> Versions: 10.2.0.0
> Environment: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version
> Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
> Reporter: Tomohito Nakayama
> Assignee: Oyvind Bakksjo
> Fix For: 10.2.0.0
>
> I found concrete failure in jdbc/resultsetStream.java .
> ********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
> *** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
> 10 del
> < len=56
> 11 del
> < number of reads=56
> 11a10,11
> > len=55
> > number of reads=55
> Test Failed.
> *** End: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***
> Surveying code and history of source repository, this test program seems to fail because test program suppose size of data file named "short.txt" as "56 bytes" assuming data file encodes eol as CR LF .
> There seems to be some more substantially same failures .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (DERBY-663) Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
Posted by "Tomohito Nakayama (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-663?page=all ]
Tomohito Nakayama closed DERBY-663:
-----------------------------------
> Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-663
> URL: http://issues.apache.org/jira/browse/DERBY-663
> Project: Derby
> Type: Bug
> Versions: 10.2.0.0
> Environment: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version
> Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
> Reporter: Tomohito Nakayama
> Assignee: Oyvind Bakksjo
> Fix For: 10.2.0.0
>
> I found concrete failure in jdbc/resultsetStream.java .
> ********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
> *** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
> 10 del
> < len=56
> 11 del
> < number of reads=56
> 11a10,11
> > len=55
> > number of reads=55
> Test Failed.
> *** End: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***
> Surveying code and history of source repository, this test program seems to fail because test program suppose size of data file named "short.txt" as "56 bytes" assuming data file encodes eol as CR LF .
> There seems to be some more substantially same failures .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (DERBY-663) Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-663?page=comments#action_12356420 ]
Daniel John Debrunner commented on DERBY-663:
---------------------------------------------
I think it is because the changes made for DERBY-330 were too broad. Several files, such as this one, need to have identical contents on all platforms, so that the tests see them consistently.
> Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-663
> URL: http://issues.apache.org/jira/browse/DERBY-663
> Project: Derby
> Type: Bug
> Versions: 10.2.0.0
> Environment: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version
> Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
> Reporter: Tomohito Nakayama
>
> I found concrete failure in jdbc/resultsetStream.java .
> ********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
> *** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
> 10 del
> < len=56
> 11 del
> < number of reads=56
> 11a10,11
> > len=55
> > number of reads=55
> Test Failed.
> *** End: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***
> Surveying code and history of source repository, this test program seems to fail because test program suppose size of data file named "short.txt" as "56 bytes" assuming data file encodes eol as CR LF .
> There seems to be some more substantially same failures .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (DERBY-663) Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
Posted by "Oyvind Bakksjo (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-663?page=all ]
Oyvind Bakksjo resolved DERBY-663:
----------------------------------
Fix Version: 10.2.0.0
Resolution: Fixed
> Test of derby fails because difference in encoding of eol make sizes of test data files different between platforms.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-663
> URL: http://issues.apache.org/jira/browse/DERBY-663
> Project: Derby
> Type: Bug
> Versions: 10.2.0.0
> Environment: naka@nysalor:~/ProgramDev/derby/trunk$ cat /proc/version
> Linux version 2.4.27-2-386 (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-12)) #1 Mon May 16 16:47:51 JST 2005
> Reporter: Tomohito Nakayama
> Assignee: Oyvind Bakksjo
> Fix For: 10.2.0.0
>
> I found concrete failure in jdbc/resultsetStream.java .
> ********* Diff file jdbcapi/jdbcapi/resultsetStream.diff
> *** Start: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:16:58 ***
> 10 del
> < len=56
> 11 del
> < number of reads=56
> 11a10,11
> > len=55
> > number of reads=55
> Test Failed.
> *** End: resultsetStream jdk1.5.0_03 jdbcapi:jdbcapi 2005-10-29 20:17:00 ***
> Surveying code and history of source repository, this test program seems to fail because test program suppose size of data file named "short.txt" as "56 bytes" assuming data file encodes eol as CR LF .
> There seems to be some more substantially same failures .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira