Opened 2 years ago

Last modified 15 months ago

#4250 new defect

FreeBSD10.1: PgSqlOpenTest.OpenDatabase unit test fails with Posgres 9.4.5

Reported by: marcin Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: database-backend Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

I am building Kea on FreeBSD10.2 with clang:

$ clang --version
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.2
Thread model: posix

and PostgreSQL:

$ psql --version
psql (PostgreSQL) 9.4.5

Kea is built with the --with-dhcp-pgsql switch.

The PgSqlOpenTest.OpenDatabase test fails with the following error log:

[ RUN      ] PgSqlOpenTest.OpenDatabase
WARNING:  there is no transaction in progress
pgsql_lease_mgr_unittest.cc:252: Failure
Expected: LeaseMgrFactory::create(connectionString( VALID_TYPE, VALID_NAME, VALID_HOST, VALID_USER, INVALID_PASSWORD)) throws an exception of type DbOpenError.
  Actual: it throws nothing.
[  FAILED  ] PgSqlOpenTest.OpenDatabase (541 ms)

Subtickets

Change History (2)

comment:1 Changed 22 months ago by tomek

  • Milestone changed from Kea-proposed to Outstanding Tasks

Moving all bugs to outstanding, we'll triage them with other defects.

comment:2 Changed 15 months ago by tomek

  • Component changed from Unclassified to dhcpdb
Note: See TracTickets for help on using tickets.