BIND 10 #1757: Lettuce failing with wrong number of additionals
BIND 10 Development
do-not-reply at isc.org
Mon Mar 5 13:24:02 UTC 2012
#1757: Lettuce failing with wrong number of additionals
---------------------------------+-----------------------------------------
Reporter: vorner | Owner:
Type: defect | Status: new
Priority: major | Milestone: New Tasks
Component: b10-auth | Keywords:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: DNS | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
---------------------------------+-----------------------------------------
The lettuce tests fail for me, this is what looks like the relevant
output:
{{{
Given I have bind10 running with configuration example.org.config
# features/terrain/bind10_control.py:98
A query for www.example.com should have rcode REFUSED
# features/terrain/querying.py:204
A query for www.example.org should have rcode NOERROR
# features/terrain/querying.py:204
A query for www.example.org should have rcode NOERROR
# features/terrain/querying.py:204
The last query response should have qdcount 1
# features/terrain/querying.py:258
The last query response should have ancount 1
# features/terrain/querying.py:258
The last query response should have nscount 3
# features/terrain/querying.py:258
The last query response should have adcount 0
# features/terrain/querying.py:258
Traceback (most recent call last):
File "/home/vorner/.local/lib64/python2.7/site-
packages/lettuce/core.py", line 117, in __call__
ret = self.function(self.step, *args, **kw)
File
"/home/vorner/work/bind10/tests/lettuce/features/terrain/querying.py",
line 273, in check_last_query
"Got: " + str(lq_val) + ", expected: " + str(value)
AssertionError: Got: 1, expected: 0
The answer section of the last query response should be
# features/terrain/querying.py:276
| """ |
| www.example.org. 3600 IN A 192.0.2.1 |
| """ |
A query for example.org type NS should have rcode NOERROR
# features/terrain/querying.py:204
The answer section of the last query response should be
# features/terrain/querying.py:276
| """ |
| example.org. 3600 IN NS ns1.example.org. |
| example.org. 3600 IN NS ns2.example.org. |
| example.org. 3600 IN NS ns3.example.org. |
| """ |
The SOA serial for example.org should be 1234
# features/terrain/querying.py:238
A query for doesnotexist.example.org should have rcode NXDOMAIN
# features/terrain/querying.py:204
The last query response should have qdcount 1
# features/terrain/querying.py:258
The last query response should have ancount 0
# features/terrain/querying.py:258
The last query response should have nscount 1
# features/terrain/querying.py:258
The last query response should have adcount 0
# features/terrain/querying.py:258
The last query response should have flags qr aa rd
# features/terrain/querying.py:258
A query for www.example.org type TXT should have rcode NOERROR
# features/terrain/querying.py:204
The last query response should have ancount 0
# features/terrain/querying.py:258
A query for www.example.org class CH should have rcode REFUSED
# features/terrain/querying.py:204
A query for www.example.org to 127.0.0.1 should have rcode NOERROR
# features/terrain/querying.py:204
A query for www.example.org to 127.0.0.1:47806 should have rcode
NOERROR # features/terrain/querying.py:204
A query for www.example.org type A class IN to 127.0.0.1:47806 should
have rcode NOERROR # features/terrain/querying.py:204
}}}
When asking on jabber, others don't get the same problem.
--
Ticket URL: <http://bind10.isc.org/ticket/1757>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list