Bug 1268789 - sqlite-jdbc: failed test on big endian arches
Summary: sqlite-jdbc: failed test on big endian arches
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sqlite-jdbc
Version: 22
Hardware: ppc64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: gil cattaneo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2015-10-05 09:03 UTC by Rafael Fonseca
Modified: 2015-10-13 17:02 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2015-10-13 00:05:45 UTC


Attachments (Terms of Use)

Description Rafael Fonseca 2015-10-05 09:03:38 UTC
Description of problem: one test fails on big endian arches:

Running org.sqlite.SQLiteDataSourceTest
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec <<< FAILURE! - in org.sqlite.SQLiteDataSourceTest
encoding(org.sqlite.SQLiteDataSourceTest)  Time elapsed: 0.01 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<UTF-16[l]e> but was:<UTF-16[b]e>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.sqlite.SQLiteDataSourceTest.encoding(SQLiteDataSourceTest.java:80)
Running org.sqlite.SQLiteConnectionPoolDataSourceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in org.sqlite.SQLiteConnectionPoolDataSourceTest
Running org.sqlite.QueryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.sqlite.QueryTest
Running org.sqlite.ResultSetTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in org.sqlite.ResultSetTest
Running org.sqlite.RSMetaDataTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in org.sqlite.RSMetaDataTest
Running org.sqlite.PrepStmtTest
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 sec - in org.sqlite.PrepStmtTest
Running org.sqlite.UDFTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.302 sec - in org.sqlite.UDFTest
Running org.sqlite.ExtendedCommandTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.sqlite.ExtendedCommandTest
Results :
Failed tests: 
  SQLiteDataSourceTest.encoding:80 expected:<UTF-16[l]e> but was:<UTF-16[b]e>
Tests run: 180, Failures: 1, Errors: 0, Skipped: 1


Version-Release number of selected component (if applicable): 3.8.11.2-1


How reproducible: ppc-koji build sqlite-jdbc


Additional info: also happens in f22 and f23.

Comment 1 gil cattaneo 2015-10-05 15:18:55 UTC
(In reply to Rafael Fonseca from comment #0)

> How reproducible: ppc-koji build sqlite-jdbc
please , try to build with the latest changes

> Additional info: also happens in f22 and f23.
soon should be available also for these branches

Comment 2 Fedora Update System 2015-10-05 15:38:43 UTC
sqlite-jdbc-3.8.11.2-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-25782ecee2

Comment 3 Rafael Fonseca 2015-10-05 15:42:30 UTC
(In reply to gil cattaneo from comment #1)
> (In reply to Rafael Fonseca from comment #0)
> 
> > How reproducible: ppc-koji build sqlite-jdbc
> please , try to build with the latest changes

scratch build tells me it works.

http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2784508


> > Additional info: also happens in f22 and f23.
> soon should be available also for these branches

Perfect. Thank you.

Comment 4 Fedora Update System 2015-10-05 15:59:33 UTC
sqlite-jdbc-3.8.11.2-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-2b3dd9a567

Comment 5 Fedora Update System 2015-10-06 01:07:52 UTC
sqlite-jdbc-3.8.11.2-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update sqlite-jdbc'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-2b3dd9a567

Comment 6 Fedora Update System 2015-10-06 04:21:49 UTC
sqlite-jdbc-3.8.11.2-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update sqlite-jdbc'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-25782ecee2

Comment 7 Fedora Update System 2015-10-13 00:05:43 UTC
sqlite-jdbc-3.8.11.2-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-10-13 17:02:03 UTC
sqlite-jdbc-3.8.11.2-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.