Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Aug 2021 21:02:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        perl@FreeBSD.org
Subject:   [Bug 257721] databases/p5-DBD-mysql: tests fail when openssl package is installed, mysql80-client
Message-ID:  <bug-257721-14331@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257721

            Bug ID: 257721
           Summary: databases/p5-DBD-mysql: tests fail when openssl
                    package is installed, mysql80-client
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: perl@FreeBSD.org
          Reporter: freebsd@juicer.orange-carb.org
          Assignee: perl@FreeBSD.org
             Flags: maintainer-feedback?(perl@FreeBSD.org)

With a plain freebsd install (Freebsd 11 AMI on AWS):

- pkg install openssl
- pkg install mysql80-server
- echo "DEFAULT_VERSIONS+=3D ssl=3Dopenssl"  >> /etc/make.conf
- portsnap fetch extract
- cd /usr/ports/databases/p5-DBD-mysql
- make test (accepting all default options)

issue:
- test fails (t/10connect.t - SEGV)
- (note t/rt85919-fetch-lost-connection.t also fails, but this appears to b=
e an
unrelated upstream issue: https://github.com/perl5-dbi/DBD-mysql/issues/329)


result:

t/00base.t .............................. 1/6 # Driver version is 4.050
t/00base.t .............................. ok=20=20=20
t/05dbcreate.t .......................... 1/2 # Database 'test' accessible
t/05dbcreate.t .......................... ok=20=20=20
t/10connect.t ........................... 1/? # mysql_clientinfo is: 8.0.25
# mysql_clientversion is: 80025
# mysql_serverversion is: 80025
# mysql_hostinfo is: Localhost via UNIX socket
# mysql_serverinfo is: 8.0.25
# mysql_stat is: Uptime: 243  Threads: 2  Questions: 13  Slow queries: 0=20
Opens: 152  Flush tables: 3  Open tables: 68  Queries per second avg: 0.053
# mysql_protoinfo is: 10
# SQL_DBMS_VER is 8.0.25
# Default storage engine is: InnoDB
t/10connect.t ........................... All 12 subtests passed=20
t/15reconnect.t ......................... ok=20=20=20=20=20
t/16dbi-get_info.t ...................... ok=20=20=20
t/20createdrop.t ........................ ok=20=20=20
t/25lockunlock.t ........................ ok=20=20=20=20=20
t/29warnings.t .......................... ok=20=20=20=20=20
t/30insertfetch.t ....................... ok=20=20=20=20
t/31insertid.t .......................... ok=20=20=20=20=20
t/32insert_error.t ...................... ok=20=20=20
t/35limit.t ............................. ok=20=20=20=20=20=20=20
t/35prepare.t ........................... ok=20=20=20=20=20
t/40bindparam.t ......................... ok=20=20=20=20=20
t/40bindparam2.t ........................ ok=20=20=20=20=20
t/40bit.t ............................... ok=20=20=20=20=20
t/40blobs.t ............................. ok=20=20=20=20=20
t/40catalog.t ........................... ok=20=20=20=20=20
t/40keyinfo.t ........................... ok=20=20=20
t/40listfields.t ........................ ok=20=20=20=20=20
t/40nulls.t ............................. ok=20=20=20=20=20
t/40nulls_prepare.t ..................... ok=20=20=20=20
t/40numrows.t ........................... ok=20=20=20=20=20
t/40server_prepare.t .................... ok=20=20=20=20=20
t/40server_prepare_crash.t .............. ok=20=20=20=20=20
t/40server_prepare_error.t .............. ok=20=20=20
t/40types.t ............................. ok=20=20=20=20=20
t/41bindparam.t ......................... ok=20=20=20=20=20
t/41blobs_prepare.t ..................... ok=20=20=20=20=20
t/41int_min_max.t ....................... ok=20=20=20=20=20=20=20
t/42bindparam.t ......................... ok=20=20=20=20=20
t/43count_params.t ...................... ok=20=20=20=20=20
t/50chopblanks.t ........................ ok=20=20=20=20=20
t/50commit.t ............................ ok=20=20=20=20=20
t/51bind_type_guessing.t ................ ok=20=20=20=20=20
t/52comment.t ........................... ok=20=20=20=20=20
t/53comment.t ........................... ok=20=20=20=20
t/55utf8.t .............................. ok=20=20=20=20=20
t/55utf8mb4.t ........................... ok=20=20=20
t/56connattr.t .......................... skipped: no permission on
performance_schema tables
t/60leaks.t ............................. skipped: Skip $ENV{EXTENDED_TESTI=
NG}
is not set
t/65segfault.t .......................... ok=20=20=20
t/65types.t ............................. ok=20=20=20=20=20
t/70takeimp.t ........................... ok=20=20=20=20=20
t/71impdata.t ........................... ok=20=20=20=20=20
t/75supported_sql.t ..................... ok=20=20=20=20=20
t/76multi_statement.t ................... ok=20=20=20=20=20
t/80procs.t ............................. ok=20=20=20=20=20
t/81procs.t ............................. ok=20=20=20=20=20
t/85init_command.t ...................... ok=20=20=20
t/86_bug_36972.t ........................ ok=20=20=20=20=20
t/87async.t ............................. ok=20=20=20=20=20
t/88async-multi-stmts.t ................. ok=20=20=20
t/89async-method-check.t ................ ok=20=20=20=20=20=20=20
t/91errcheck.t .......................... ok=20=20=20
t/92ssl_backronym_vulnerability.t ....... skipped: Server supports SSL
connections, cannot test false-positive enforcement
t/92ssl_optional.t ...................... skipped: Server supports SSL
connections, cannot test fallback to plain text
t/92ssl_riddle_vulnerability.t .......... skipped: Server supports SSL
connections, cannot test false-positive enforcement
t/99_bug_server_prepare_blob_null.t ..... ok=20=20=20=20=20
t/manifest.t ............................ skipped: these tests are for rele=
ase
testing
t/pod.t ................................. skipped: Test::Pod 1.00 required =
for
testing POD
t/rt110983-valid-mysqlfd.t .............. ok=20=20=20
t/rt118977-zerofill.t ................... ok=20=20=20
t/rt25389-bin-case.t .................... ok=20=20=20
t/rt50304-column_info_parentheses.t ..... ok=20=20=20=20
t/rt61849-bind-param-buffer-overflow.t .. ok=20=20=20
t/rt75353-innodb-lock-timeout.t ......... ok=20=20=20
t/rt83494-quotes-comments.t ............. ok=20=20=20
t/rt85919-fetch-lost-connection.t ....... 2/?=20
#   Failed test 'Should return error 2006 or 2013'
#   at t/rt85919-fetch-lost-connection.t line 47.
# Looks like you failed 1 test of 3.
t/rt85919-fetch-lost-connection.t ....... Dubious, test returned 1 (wstat 2=
56,
0x100)
Failed 1/3 subtests=20
t/rt86153-reconnect-fail-memory.t ....... skipped: $ENV{EXTENDED_TESTING} is
not set
t/rt88006-bit-prepare.t ................. ok=20=20=20=20
t/rt91715.t ............................. ok=20=20=20
t/version.t ............................. ok=20=20=20

Test Summary Report
-------------------
t/10connect.t                         (Wstat: 139 Tests: 12 Failed: 0)
  Non-zero wait status: 139
  Parse errors: No plan found in TAP output
t/rt85919-fetch-lost-connection.t     (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=3D73, Tests=3D2301, 45 wallclock secs ( 0.48 usr  0.23 sys +  6.79 cu=
sr  1.73
csys =3D  9.23 CPU)
Result: FAIL
Failed 2/73 test programs. 1/2301 subtests failed.
*** Error code 255

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257721-14331>