Opened 7 years ago

Closed 3 years ago

#2483 closed defect (worksforme)

DHCPv6 test failed on FreeBSD

Reported by: stephen Owned by: tomek
Priority: medium Milestone: Outstanding Tasks
Component: dhcp Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

Commit 15d4aa034c1a841bdf744d777aceeb0962aff8bc failed the DHCP6 tests on FreeBSD with:

Running test: dhcp6_test.py
.....F.
======================================================================
FAIL: test_portnumber_nonroot (__main__.TestDhcpv6Daemon)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/b/work/BIND10/20121115022843-FreeBSD8-i386/build/src/bin/dhcp6/tests/dhcp6_test.py", line 197, in test_portnumber_nonroot
    self.assertEqual(output_text.count("DHCP6_OPEN_SOCKET opening sockets on port 10547"), 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 7 tests in 7.665s

FAILED (failures=1)
Note: Purpose of some of the tests is to check if DHCPv6 server can be started,
      not that is can bind sockets correctly. Please ignore binding errors.
Running command: ../b10-dhcp6 -v
Process finished, return code=-15, stdout=167 bytes, stderr=948 bytes
Check that specifying port number 0 is not allowed.
Running command: ../b10-dhcp6 -p 0
Process finished, return code=1, stdout=0 bytes, stderr=240 bytes
Check that -p option is check against bogus port number (999999).
Running command: ../b10-dhcp6 -p 999999
Process finished, return code=1, stdout=0 bytes, stderr=245 bytes
Check that -p option is check against bogus port number (123garbage).
Running command: ../b10-dhcp6 -p 123garbage
Process finished, return code=1, stdout=0 bytes, stderr=249 bytes
Check that -p option requires a parameter.
Running command: ../b10-dhcp6 -p
Process finished, return code=1, stdout=0 bytes, stderr=233 bytes
Check that specifying unprivileged port number will work.
Running command: ../b10-dhcp6 -v -s -p 10547
No data available from stdout
No data available on stderr
Process finished, return code=-15, stdout=0 bytes, stderr=0 bytes
Check that connection to BIND10 msgq can be disabled.
Running command: ../b10-dhcp6 -v -s -p 10547
Process finished, return code=-15, stdout=167 bytes, stderr=530 bytes
*** Error code 1

Subtickets

Change History (3)

comment:1 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

comment:2 Changed 3 years ago by tomek

  • Description modified (diff)
  • Owner set to tomek
  • Status changed from new to assigned

comment:3 Changed 3 years ago by tomek

  • Resolution set to worksforme
  • Status changed from assigned to closed

This test seems to be now passing. The Jenkins (which runs unit-tests on FreeBSD10.1 32bit) is happy.

Note: See TracTickets for help on using tickets.