Bug 1158380 - perl-Fsdb-2.51-3.fc22 FTBFS: t/test_command.t test fails
Summary: perl-Fsdb-2.51-3.fc22 FTBFS: t/test_command.t test fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Fsdb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: John Heidemann
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-29 09:28 UTC by Petr Pisar
Modified: 2014-11-18 01:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-18 01:23:20 UTC


Attachments (Terms of Use)

Description Petr Pisar 2014-10-29 09:28:28 UTC
perl-Fsdb-2.51-3.fc22 fails to build in F22 because t/test_command.t test fails:

#   Failed test 'TEST/dbcolcreate_double_creation.cmd'
#   at t/test_command.t line 208.
#   Failed test 'TEST/dbcolpercentile_rank_broken_order.cmd'
#   at t/test_command.t line 208.
#   Failed test 'TEST/dbcolpercentile_unsorted.cmd'
#   at t/test_command.t line 208.
#   Failed test 'TEST/dbcolrename_double_dest.cmd'
#   at t/test_command.t line 208.
#   Failed test 'TEST/dbcolrename_missing_col.cmd'
#   at t/test_command.t line 208.
#     test TEST/dbfilealter_compress_gzip.cmd skipped (disabled in .cmd)
#   Failed test 'TEST/dbfilepivot_hw_order_error.cmd'
#   at t/test_command.t line 208.
#     test TEST/dbmapreduce_dbrowenumerate.cmd skipped (disabled in .cmd)
#    test blib/script/xml_to_db -k files/file  < TEST/xml_to_db_ex.in skipped because of missing module XML::Simple
# #### output of some failed tests
# # TEST/dbcolcreate_double_creation
# 	*** TEST/dbcolcreate_double_creation.out	Thu Jun 26 18:07:31 2014
# 	--- TEST/dbcolcreate_double_creation.trial	Tue Oct 28 08:39:22 2014
# 	***************
# 	*** 1,2 ****
# 	  dbcolcreate: attempt to create pre-existing column foo.
# 	!  at blib/script/dbcolcreate line 128.
# 	--- 1,2 ----
# 	  dbcolcreate: attempt to create pre-existing column foo.
# 	!  at blib/script/dbcolcreate line 125.
# # TEST/dbcolpercentile_rank_broken_order
# 	*** TEST/dbcolpercentile_rank_broken_order.out	Fri May 24 07:20:26 2013
# 	--- TEST/dbcolpercentile_rank_broken_order.trial	Tue Oct 28 08:39:32 2014
# 	***************
# 	*** 1,5 ****
# 	  dbcolpercentile: data out of order between 65 and 90, should be in descending order.
# 	!  at blib/script/dbcolpercentile line 198.
# 	  #fsdb name id test1 rank
# 	  a	1	80	1
# 	  b	2	70	2
# 	--- 1,5 ----
# 	  dbcolpercentile: data out of order between 65 and 90, should be in descending order.
# 	!  at blib/script/dbcolpercentile line 195.
# 	  #fsdb name id test1 rank
# 	  a	1	80	1
# 	  b	2	70	2
# # TEST/dbcolpercentile_unsorted
# 	*** TEST/dbcolpercentile_unsorted.out	Mon May 27 07:05:47 2013
# 	--- TEST/dbcolpercentile_unsorted.trial	Tue Oct 28 08:39:33 2014
# 	***************
# 	*** 1,5 ****
# 	  dbcolpercentile: data out of order between 65 and 90, should be in descending order.
# 	!  at blib/script/dbcolpercentile line 198.
# 	  #fsdb name id test1 percentile
# 	  a	1	80	1
# 	  b	2	70	0.83333
# 	--- 1,5 ----
# 	  dbcolpercentile: data out of order between 65 and 90, should be in descending order.
# 	!  at blib/script/dbcolpercentile line 195.
# 	  #fsdb name id test1 percentile
# 	  a	1	80	1
# 	  b	2	70	0.83333
# # TEST/dbcolrename_double_dest
# 	*** TEST/dbcolrename_double_dest.out	Mon Nov 26 07:01:16 2012
# 	--- TEST/dbcolrename_double_dest.trial	Tue Oct 28 08:39:33 2014
# 	***************
# 	*** 1,2 ****
# 	  dbcolrename: column `name' already exists in the output stream.
# 	!  at blib/script/dbcolrename line 115.
# 	--- 1,2 ----
# 	  dbcolrename: column `name' already exists in the output stream.
# 	!  at blib/script/dbcolrename line 112.
# Looks like you failed 6 tests of 268.
t/test_command.t .. 
Dubious, test returned 6 (wstat 1536, 0x600)
Failed

Difference between last working and failing build root is:

Removed packages:
	ccache-3.1.9
	libblkid-2.25.1
	libmount-2.25.1
	libsmartcols-2.25.1
	libuuid-2.25.1
	perl-Encode-2.62
	perl-ExtUtils-Install-1.67
	perl-ExtUtils-MakeMaker-6.98
	perl-Module-CoreList-5.20141002
	sqlite-3.8.6
	util-linux-2.25.1
Added packages:
	ccache-3.1.10
	libblkid-2.25.2
	libmount-2.25.2
	libsmartcols-2.25.2
	libuuid-2.25.2
	perl-Encode-2.63
	perl-ExtUtils-Install-2.04
	perl-ExtUtils-MakeMaker-7.00
	sqlite-3.8.7
	util-linux-2.25.2

Comment 1 John Heidemann 2014-10-29 18:13:13 UTC
Thanks.  Those are trivial test case failures and do not affect correctness of real code.

However, they of course need to pass.  I will work on improving my test framework.

Comment 2 John Heidemann 2014-11-18 01:23:20 UTC
fixed in 2.52-1


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