mpeppler / DBD-Sybase

Sybase driver for perl's DBI module
8 stars 3 forks source link

Lots of failed tests with 0.92.dev.20110513 [rt.cpan.org #68184] #14

Open mpeppler opened 3 years ago

mpeppler commented 3 years ago

Migrated from rt.cpan.org#68184 (status was 'new')

Requestors:

From perl@evancarroll.com on 2011-05-13 20:49:47 :

* Writing login information, including password, to file PWD.

Note (probably harmless): No library found for -lcs
Note (probably harmless): No library found for -lsybtcl
Note (probably harmless): No library found for -lcomn
Note (probably harmless): No library found for -lintl
Note (probably harmless): No library found for -lblk
Using DBI 1.615 (for perl 5.010001 on x86_64-linux-gnu-thread-multi) installed in /usr/local/lib/perl/5.10.1/auto/DBI/
Writing Makefile for DBD::Sybase
Running [/usr/bin/make test]...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autocommit.t .. ok
t/base.t ........ ok

#   Failed test ' (create proc)
# '
#   at t/exec.t line 66.

#   Failed test 'execute dbitest 1'
#   at t/exec.t line 77.

#   Failed test 'exec dbitest 2'
#   at t/exec.t line 82.

#   Failed test 'exec dbitest 3'
#   at t/exec.t line 86.

#   Failed test 'out param 1'
#   at t/exec.t line 88.

#   Failed test 'execute fail mode 1'
#   at t/exec.t line 104.

#   Failed test 'execute fail mode 2'
#   at t/exec.t line 108.

#   Failed test 'execute fail mode 3'
#   at t/exec.t line 112.

#   Failed test 'execute fail mode 4'
#   at t/exec.t line 117.

#   Failed test 'execute fail mode 5'
#   at t/exec.t line 121.

#   Failed test 'execute fail mode 6'
#   at t/exec.t line 125.

#   Failed test ' (create proc)
# '
#   at t/exec.t line 139.
# Looks like you planned 22 tests but ran 18.
# Looks like you failed 12 tests of 18 run.
t/exec.t ........ 
Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 16/22 subtests 

#   Failed test 'Missing table'
#   at t/fail.t line 44.

#   Failed test 'Create table'
#   at t/fail.t line 56.

#   Failed test 'prepare w/placeholder'
#   at t/fail.t line 63.

#   Failed test 'select'
#   at t/fail.t line 83.

#   Failed test 'prepare/execute multi'
#   at t/fail.t line 97.
# Looks like you failed 5 tests of 12.
t/fail.t ........ 
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/12 subtests 
t/login.t ....... ok
Setting of CS_OPT_TEXTSIZE failed. at t/main.t line 102.

#   Failed test 'execute multiple'
#   at t/main.t line 121.
type_info_all result has 19 keys but 20 fields at t/main.t line 147
# Looks like you planned 36 tests but ran 22.
# Looks like you failed 1 test of 22 run.
# Looks like your test exited with 255 just after 22.
t/main.t ........ 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 15/36 subtests 

#   Failed test 'test2 execute2'
#   at t/multi_sth.t line 107.

#   Failed test 'test3 execute2'
#   at t/multi_sth.t line 139.
# Looks like you failed 2 tests of 43.
t/multi_sth.t ... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/43 subtests 
t/nsql.t ........ ok

#   Failed test at t/place.t line 61.
#     Structures begin differing at:
#          $got->[0][1] = 'Jan  3 1998 12:00AM'
#     $expected->[0][1] = 'Jan  3 1998 12:00:00:000AM'

#   Failed test at t/place.t line 70.
#     Structures begin differing at:
#          $got->[0][1] = 'Jan 25 1998 12:00AM'
#     $expected->[0][1] = 'Jan 25 1998 12:00:00:000AM'
# Looks like you failed 2 tests of 18.
t/place.t ....... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/18 subtests 

+t/thread.t ...... ok
DBD::Sybase::db do failed: Server message number=2715 severity=16 state=7 line=1 server=DEAL182 text=Column, parameter, or 
variable #1: Cannot find data type univarchar.  at t/utf8.t line 41.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid object name 
'#utf8test'.  at t/utf8.t line 49.
DBD::Sybase::db selectall_arrayref failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid 
object name '#utf8test'.  at t/utf8.t line 51.

#   Failed test 'got expected row back from \#utf8test'
#   at t/utf8.t line 56.
#     Structures begin differing at:
#          $got = undef
#     $expected = ARRAY(0x1c4a8a0)
DBD::Sybase::db do failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid object name 
'#utf8test'.  at t/utf8.t line 79.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid object name 
'#utf8test'.  at t/utf8.t line 82.
DBD::Sybase::db selectall_arrayref failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid 
object name '#utf8test'.  at t/utf8.t line 84.

#   Failed test 'got expected row back from \#utf8test'
#   at t/utf8.t line 89.
#     Structures begin differing at:
#          $got = undef
#     $expected = ARRAY(0x1c4aab0)

#   Failed test 'uv column was returned with utf8 flag on'
#   at t/utf8.t line 100.

#   Failed test 'ut column was returned with utf8 flag on'
#   at t/utf8.t line 105.
DBD::Sybase::db selectall_arrayref failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid 
object name '#utf8test'.  at t/utf8.t line 114.
DBD::Sybase::db do failed: Server message number=2715 severity=16 state=7 line=1 server=DEAL182 text=Column, parameter, or 
variable #1: Cannot find data type univarchar.  at t/utf8.t line 139.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid object name 
'#utf8test'.  at t/utf8.t line 142.
DBD::Sybase::db selectall_arrayref failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid 
object name '#utf8test'.  at t/utf8.t line 144.

#   Failed test 'got expected row back from \#utf8test'
#   at t/utf8.t line 149.
#     Structures begin differing at:
#          $got = undef
#     $expected = ARRAY(0x1c5b900)

#   Failed test 'uv column was returned with utf8 flag on (syb_enable_utf8 passed to connect)'
#   at t/utf8.t line 160.

#   Failed test 'ut column was returned with utf8 flag on (syb_enable_utf8 passed to connect)'
#   at t/utf8.t line 165.
# Looks like you failed 7 tests of 11.
t/utf8.t ........ 
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/11 subtests 
t/xblk.t ........ ok
DBD::Sybase::db do failed: Server message number=262 severity=14 state=1 line=1 server=DEAL182 text=CREATE TABLE permission 
denied in database 'tempdb'.  at t/xblob.t line 34.

#   Failed test 'Create table'
#   at t/xblob.t line 35.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object name 
'blob_test'.  at t/xblob.t line 46.

#   Failed test 'Insert image'
#   at t/xblob.t line 47.
DBD::Sybase::st execute failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object 
name 'blob_test'.  at t/xblob.t line 52.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 64.
DBD::Sybase::st execute failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object 
name 'blob_test'.  at t/xblob.t line 69.

#   Failed test 'Images are the same'
#   at t/xblob.t line 87.
DBD::Sybase::db do failed: Server message number=3701 severity=11 state=5 line=1 server=DEAL182 text=Cannot drop the table 
'blob_test', because it does not exist or you do not have permission.  at t/xblob.t line 99.

#   Failed test 'Drop table'
#   at t/xblob.t line 101.
DBD::Sybase::db do failed: Server message number=262 severity=14 state=1 line=1 server=DEAL182 text=CREATE TABLE permission 
denied in database 'tempdb'.  at t/xblob.t line 105.

#   Failed test 'Creat table'
#   at t/xblob.t line 106.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object name 
'blob_test'.  at t/xblob.t line 117.

#   Failed test 'Insert image'
#   at t/xblob.t line 118.
DBD::Sybase::st execute failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object 
name 'blob_test'.  at t/xblob.t line 124.
DBD::Sybase::st syb_ct_send_data failed: Server message number=102 severity=15 state=1 line=1 server=DEAL182 text=Incorrect 
syntax near '0x00000000000000000000000000000000'. Server message number=319 severity=15 state=1 line=1 server=DEAL182 
text=Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a 
change tracking context clause, the previous statement must be terminated with a semicolon.  at t/xblob.t line 133.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 137.
DBD::Sybase::st execute failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object 
name 'blob_test'.  at t/xblob.t line 143.

#   Failed test 'Images are the same'
#   at t/xblob.t line 161.
DBD::Sybase::db do failed: Server message number=3701 severity=11 state=5 line=1 server=DEAL182 text=Cannot drop the table 
'blob_test', because it does not exist or you do not have permission.  at t/xblob.t line 173.

#   Failed test 'Drop table'
#   at t/xblob.t line 175.
# Looks like you failed 8 tests of 11.
t/xblob.t ....... 
Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/11 subtests 

Test Summary Report
-------------------
t/exec.t      (Wstat: 3072 Tests: 18 Failed: 12)
  Failed tests:  6, 8-18
  Non-zero exit status: 12
  Parse errors: Bad plan.  You planned 22 tests but ran 18.
t/fail.t      (Wstat: 1280 Tests: 12 Failed: 5)
  Failed tests:  4, 6-7, 11-12
  Non-zero exit status: 5
t/main.t      (Wstat: 65280 Tests: 22 Failed: 1)
  Failed test:  21
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 36 tests but ran 22.
t/multi_sth.t (Wstat: 512 Tests: 43 Failed: 2)
  Failed tests:  14, 19
  Non-zero exit status: 2
t/place.t     (Wstat: 512 Tests: 18 Failed: 2)
  Failed tests:  15, 18
  Non-zero exit status: 2
t/utf8.t      (Wstat: 1792 Tests: 11 Failed: 7)
  Failed tests:  1, 4-6, 9-11
  Non-zero exit status: 7
t/xblob.t     (Wstat: 2048 Tests: 11 Failed: 8)
  Failed tests:  4-11
  Non-zero exit status: 8
Files=13, Tests=234, 131 wallclock secs ( 0.75 usr  0.10 sys +  2.13 cusr  0.37 csys =  3.35 CPU)
Result: FAIL
Failed 7/13 test programs. 37/234 subtests failed.
make: *** [test_dynamic] Error 8
[ERROR] MAKE TEST failed: Bad file descriptor PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autocommit.t .. ok
t/base.t ........ ok

#   Failed test ' (create proc)
# '
#   at t/exec.t line 66.

#   Failed test 'execute dbitest 1'
#   at t/exec.t line 77.

#   Failed test 'exec dbitest 2'
#   at t/exec.t line 82.

#   Failed test 'exec dbitest 3'
#   at t/exec.t line 86.

#   Failed test 'out param 1'
#   at t/exec.t line 88.

#   Failed test 'execute fail mode 1'
#   at t/exec.t line 104.

#   Failed test 'execute fail mode 2'
#   at t/exec.t line 108.

#   Failed test 'execute fail mode 3'
#   at t/exec.t line 112.

#   Failed test 'execute fail mode 4'
#   at t/exec.t line 117.

#   Failed test 'execute fail mode 5'
#   at t/exec.t line 121.

#   Failed test 'execute fail mode 6'
#   at t/exec.t line 125.

#   Failed test ' (create proc)
# '
#   at t/exec.t line 139.
# Looks like you planned 22 tests but ran 18.
# Looks like you failed 12 tests of 18 run.
t/exec.t ........ 
Dubious, test returned 12 (wstat 3072, 0xc00)
Failed 16/22 subtests 

#   Failed test 'Missing table'
#   at t/fail.t line 44.

#   Failed test 'Create table'
#   at t/fail.t line 56.

#   Failed test 'prepare w/placeholder'
#   at t/fail.t line 63.

#   Failed test 'select'
#   at t/fail.t line 83.

#   Failed test 'prepare/execute multi'
#   at t/fail.t line 97.
# Looks like you failed 5 tests of 12.
t/fail.t ........ 
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/12 subtests 
t/login.t ....... ok
Setting of CS_OPT_TEXTSIZE failed. at t/main.t line 102.

#   Failed test 'execute multiple'
#   at t/main.t line 121.
type_info_all result has 19 keys but 20 fields at t/main.t line 147
# Looks like you planned 36 tests but ran 22.
# Looks like you failed 1 test of 22 run.
# Looks like your test exited with 255 just after 22.
t/main.t ........ 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 15/36 subtests 

#   Failed test 'test2 execute2'
#   at t/multi_sth.t line 107.

#   Failed test 'test3 execute2'
#   at t/multi_sth.t line 139.
# Looks like you failed 2 tests of 43.
t/multi_sth.t ... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/43 subtests 
t/nsql.t ........ ok

#   Failed test at t/place.t line 61.
#     Structures begin differing at:
#          $got->[0][1] = 'Jan  3 1998 12:00AM'
#     $expected->[0][1] = 'Jan  3 1998 12:00:00:000AM'

#   Failed test at t/place.t line 70.
#     Structures begin differing at:
#          $got->[0][1] = 'Jan 25 1998 12:00AM'
#     $expected->[0][1] = 'Jan 25 1998 12:00:00:000AM'
# Looks like you failed 2 tests of 18.
t/place.t ....... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/18 subtests 
t/thread.t ...... ok
DBD::Sybase::db do failed: Server message number=2715 severity=16 state=7 line=1 server=DEAL182 text=Column, parameter, or 
variable #1: Cannot find data type univarchar.  at t/utf8.t line 41.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid object name 
'#utf8test'.  at t/utf8.t line 49.
DBD::Sybase::db selectall_arrayref failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid 
object name '#utf8test'.  at t/utf8.t line 51.

#   Failed test 'got expected row back from \#utf8test'
#   at t/utf8.t line 56.
#     Structures begin differing at:
#          $got = undef
#     $expected = ARRAY(0x1c4a8a0)
DBD::Sybase::db do failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid object name 
'#utf8test'.  at t/utf8.t line 79.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid object name 
'#utf8test'.  at t/utf8.t line 82.
DBD::Sybase::db selectall_arrayref failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid 
object name '#utf8test'.  at t/utf8.t line 84.

#   Failed test 'got expected row back from \#utf8test'
#   at t/utf8.t line 89.
#     Structures begin differing at:
#          $got = undef
#     $expected = ARRAY(0x1c4aab0)

#   Failed test 'uv column was returned with utf8 flag on'
#   at t/utf8.t line 100.

#   Failed test 'ut column was returned with utf8 flag on'
#   at t/utf8.t line 105.
DBD::Sybase::db selectall_arrayref failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid 
object name '#utf8test'.  at t/utf8.t line 114.
DBD::Sybase::db do failed: Server message number=2715 severity=16 state=7 line=1 server=DEAL182 text=Column, parameter, or 
variable #1: Cannot find data type univarchar.  at t/utf8.t line 139.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid object name 
'#utf8test'.  at t/utf8.t line 142.
DBD::Sybase::db selectall_arrayref failed: Server message number=208 severity=16 state=0 line=1 server=DEAL182 text=Invalid 
object name '#utf8test'.  at t/utf8.t line 144.

#   Failed test 'got expected row back from \#utf8test'
#   at t/utf8.t line 149.
#     Structures begin differing at:
#          $got = undef
#     $expected = ARRAY(0x1c5b900)

#   Failed test 'uv column was returned with utf8 flag on (syb_enable_utf8 passed to connect)'
#   at t/utf8.t line 160.

#   Failed test 'ut column was returned with utf8 flag on (syb_enable_utf8 passed to connect)'
#   at t/utf8.t line 165.
# Looks like you failed 7 tests of 11.
t/utf8.t ........ 
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/11 subtests 
t/xblk.t ........ ok
DBD::Sybase::db do failed: Server message number=262 severity=14 state=1 line=1 server=DEAL182 text=CREATE TABLE permission 
denied in database 'tempdb'.  at t/xblob.t line 34.

#   Failed test 'Create table'
#   at t/xblob.t line 35.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object name 
'blob_test'.  at t/xblob.t line 46.

#   Failed test 'Insert image'
#   at t/xblob.t line 47.
DBD::Sybase::st execute failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object 
name 'blob_test'.  at t/xblob.t line 52.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 64.
DBD::Sybase::st execute failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object 
name 'blob_test'.  at t/xblob.t line 69.

#   Failed test 'Images are the same'
#   at t/xblob.t line 87.
DBD::Sybase::db do failed: Server message number=3701 severity=11 state=5 line=1 server=DEAL182 text=Cannot drop the table 
'blob_test', because it does not exist or you do not have permission.  at t/xblob.t line 99.

#   Failed test 'Drop table'
#   at t/xblob.t line 101.
DBD::Sybase::db do failed: Server message number=262 severity=14 state=1 line=1 server=DEAL182 text=CREATE TABLE permission 
denied in database 'tempdb'.  at t/xblob.t line 105.

#   Failed test 'Creat table'
#   at t/xblob.t line 106.
DBD::Sybase::db do failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object name 
'blob_test'.  at t/xblob.t line 117.

#   Failed test 'Insert image'
#   at t/xblob.t line 118.
DBD::Sybase::st execute failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object 
name 'blob_test'.  at t/xblob.t line 124.
DBD::Sybase::st syb_ct_send_data failed: Server message number=102 severity=15 state=1 line=1 server=DEAL182 text=Incorrect 
syntax near '0x00000000000000000000000000000000'. Server message number=319 severity=15 state=1 line=1 server=DEAL182 
text=Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a 
change tracking context clause, the previous statement must be terminated with a semicolon.  at t/xblob.t line 133.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 137.
DBD::Sybase::st execute failed: Server message number=208 severity=16 state=1 line=1 server=DEAL182 text=Invalid object 
name 'blob_test'.  at t/xblob.t line 143.

#   Failed test 'Images are the same'
#   at t/xblob.t line 161.
DBD::Sybase::db do failed: Server message number=3701 severity=11 state=5 line=1 server=DEAL182 text=Cannot drop the table 
'blob_test', because it does not exist or you do not have permission.  at t/xblob.t line 173.

#   Failed test 'Drop table'
#   at t/xblob.t line 175.
# Looks like you failed 8 tests of 11.
t/xblob.t ....... 
Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/11 subtests 

Test Summary Report
-------------------
t/exec.t      (Wstat: 3072 Tests: 18 Failed: 12)
  Failed tests:  6, 8-18
  Non-zero exit status: 12
  Parse errors: Bad plan.  You planned 22 tests but ran 18.
t/fail.t      (Wstat: 1280 Tests: 12 Failed: 5)
  Failed tests:  4, 6-7, 11-12
  Non-zero exit status: 5
t/main.t      (Wstat: 65280 Tests: 22 Failed: 1)
  Failed test:  21
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 36 tests but ran 22.
t/multi_sth.t (Wstat: 512 Tests: 43 Failed: 2)
  Failed tests:  14, 19
  Non-zero exit status: 2
t/place.t     (Wstat: 512 Tests: 18 Failed: 2)
  Failed tests:  15, 18
  Non-zero exit status: 2
t/utf8.t      (Wstat: 1792 Tests: 11 Failed: 7)
  Failed tests:  1, 4-6, 9-11
  Non-zero exit status: 7
t/xblob.t     (Wstat: 2048 Tests: 11 Failed: 8)
  Failed tests:  4-11
  Non-zero exit status: 8
Files=13, Tests=234, 131 wallclock secs ( 0.75 usr  0.10 sys +  2.13 cusr  0.37 csys =  3.35 CPU)
Result: FAIL
Failed 7/13 test programs. 37/234 subtests failed.
make: *** [test_dynamic] Error 8

The tests for 'DBD::Sybase' failed. Would you like me to proceed anyway or should we abort?

Proceed anyway? [y/N]: 
[ERROR] Unable to create a new distribution object for 'DBD::Sybase' -- cannot continue

*** Install log written to:
  /root/.cpanplus/install-logs/DBD-Sybase-1.12-1305319521.log

Error installing 'DBD::Sybase'
Problem installing one or more modules

-- 
Evan Carroll
System Lord of the Internets
http://www.evancarroll.com
mpeppler commented 3 years ago

There's not a lot of details about the environment. I presume that this is freetds 0.92 and MS-SQL - which I don't have available for testing at the moment. I'll leave this ticket open for now.