BIND 10 #2568: bindctl systest is broken

BIND 10 Development do-not-reply at isc.org
Tue Dec 25 05:03:22 UTC 2012


#2568: bindctl systest is broken
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  Unclassified  |  Tasks
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by naokikambe):

 Replying to [comment:2 jinmei]:
 > Replying to [comment:1 naokikambe]:
 > > Furthermore on my environment, it passed even if I reverted the below
 commit. I don't know why it passed. Was that because zone loading wasn't
 blocked?
 >
 > Perhaps.  In any case I suspect it's a subtle timing issue and we
 > should migrate to lettuce test.
 After that it failed on my environment. But I inserted a sleep as follow,
 I never failed.
 {{{#!patch
 diff --git a/tests/system/bindctl/tests.sh b/tests/system/bindctl/tests.sh
 index 75c91de..337cc68 100755
 --- a/tests/system/bindctl/tests.sh
 +++ b/tests/system/bindctl/tests.sh
 @@ -44,6 +44,7 @@ config commit
  quit
  ' | $RUN_BINDCTL \
         --csv-file-dir=$BINDCTL_CSV_DIR 2>&1 > /dev/null || status=1
 +sleep 1
  $DIG +norec @10.53.0.1 -p 53210 ns.example.com. A >dig.out.$n || status=1
  # perform a simple check on the output (digcomp would be too much for
 this)
  grep 192.0.2.1 dig.out.$n > /dev/null || status=1
 }}}
 I also think there is a timing issue on systest.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2568#comment:4>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list