Ticket #2634: dhcpsrv.test-suite.log

File dhcpsrv.test-suite.log, 13.8 KB (added by tmark, 7 years ago)
Line 
1===========================================================
2   bind10 20130221: src/lib/dhcpsrv/tests/test-suite.log
3===========================================================
4
5# TOTAL: 1
6# PASS:  0
7# SKIP:  0
8# XFAIL: 0
9# FAIL:  1
10# XPASS: 0
11# ERROR: 0
12
13.. contents:: :depth: 2
14
15FAIL: libdhcpsrv_unittests
16==========================
17
18[==========] Running 116 tests from 18 test cases.
19[----------] Global test environment set-up.
20[----------] 5 tests from AddrUtilitiesTest
21[ RUN      ] AddrUtilitiesTest.lastAddrInPrefix4
22[       OK ] AddrUtilitiesTest.lastAddrInPrefix4 (0 ms)
23[ RUN      ] AddrUtilitiesTest.firstAddrInPrefix4
24[       OK ] AddrUtilitiesTest.firstAddrInPrefix4 (0 ms)
25[ RUN      ] AddrUtilitiesTest.lastAddrInPrefix6
26[       OK ] AddrUtilitiesTest.lastAddrInPrefix6 (0 ms)
27[ RUN      ] AddrUtilitiesTest.firstAddrInPrefix6
28[       OK ] AddrUtilitiesTest.firstAddrInPrefix6 (0 ms)
29[ RUN      ] AddrUtilitiesTest.getNetmask4
30[       OK ] AddrUtilitiesTest.getNetmask4 (1 ms)
31[----------] 5 tests from AddrUtilitiesTest (1 ms total)
32
33[----------] 13 tests from AllocEngine6Test
34[ RUN      ] AllocEngine6Test.constructor
35[       OK ] AllocEngine6Test.constructor (1 ms)
36[ RUN      ] AllocEngine6Test.simpleAlloc6
37[       OK ] AllocEngine6Test.simpleAlloc6 (0 ms)
38[ RUN      ] AllocEngine6Test.fakeAlloc6
39[       OK ] AllocEngine6Test.fakeAlloc6 (0 ms)
40[ RUN      ] AllocEngine6Test.allocWithValidHint6
41[       OK ] AllocEngine6Test.allocWithValidHint6 (0 ms)
42[ RUN      ] AllocEngine6Test.allocWithUsedHint6
43[       OK ] AllocEngine6Test.allocWithUsedHint6 (1 ms)
44[ RUN      ] AllocEngine6Test.allocBogusHint6
45[       OK ] AllocEngine6Test.allocBogusHint6 (0 ms)
46[ RUN      ] AllocEngine6Test.allocateAddress6Nulls
47[       OK ] AllocEngine6Test.allocateAddress6Nulls (0 ms)
48[ RUN      ] AllocEngine6Test.IterativeAllocator
49[       OK ] AllocEngine6Test.IterativeAllocator (3 ms)
50[ RUN      ] AllocEngine6Test.IterativeAllocator_manyPools6
51[       OK ] AllocEngine6Test.IterativeAllocator_manyPools6 (1 ms)
52[ RUN      ] AllocEngine6Test.smallPool6
53[       OK ] AllocEngine6Test.smallPool6 (0 ms)
54[ RUN      ] AllocEngine6Test.outOfAddresses6
55[       OK ] AllocEngine6Test.outOfAddresses6 (2 ms)
56[ RUN      ] AllocEngine6Test.solicitReuseExpiredLease6
57[       OK ] AllocEngine6Test.solicitReuseExpiredLease6 (0 ms)
58[ RUN      ] AllocEngine6Test.requestReuseExpiredLease6
59[       OK ] AllocEngine6Test.requestReuseExpiredLease6 (0 ms)
60[----------] 13 tests from AllocEngine6Test (8 ms total)
61
62[----------] 13 tests from AllocEngine4Test
63[ RUN      ] AllocEngine4Test.simpleAlloc4
64[       OK ] AllocEngine4Test.simpleAlloc4 (0 ms)
65[ RUN      ] AllocEngine4Test.fakeAlloc4
66[       OK ] AllocEngine4Test.fakeAlloc4 (1 ms)
67[ RUN      ] AllocEngine4Test.allocWithValidHint4
68[       OK ] AllocEngine4Test.allocWithValidHint4 (0 ms)
69[ RUN      ] AllocEngine4Test.allocWithUsedHint4
70[       OK ] AllocEngine4Test.allocWithUsedHint4 (1 ms)
71[ RUN      ] AllocEngine4Test.allocBogusHint4
72[       OK ] AllocEngine4Test.allocBogusHint4 (0 ms)
73[ RUN      ] AllocEngine4Test.allocateAddress4Nulls
74[       OK ] AllocEngine4Test.allocateAddress4Nulls (0 ms)
75[ RUN      ] AllocEngine4Test.IterativeAllocator
76[       OK ] AllocEngine4Test.IterativeAllocator (2 ms)
77[ RUN      ] AllocEngine4Test.IterativeAllocator_manyPools4
78[       OK ] AllocEngine4Test.IterativeAllocator_manyPools4 (0 ms)
79[ RUN      ] AllocEngine4Test.smallPool4
80[       OK ] AllocEngine4Test.smallPool4 (1 ms)
81[ RUN      ] AllocEngine4Test.outOfAddresses4
82[       OK ] AllocEngine4Test.outOfAddresses4 (2 ms)
83[ RUN      ] AllocEngine4Test.discoverReuseExpiredLease4
84Got lease using HWADdr
85[       OK ] AllocEngine4Test.discoverReuseExpiredLease4 (0 ms)
86[ RUN      ] AllocEngine4Test.requestReuseExpiredLease4
87[       OK ] AllocEngine4Test.requestReuseExpiredLease4 (0 ms)
88[ RUN      ] AllocEngine4Test.renewLease4
89[       OK ] AllocEngine4Test.renewLease4 (0 ms)
90[----------] 13 tests from AllocEngine4Test (7 ms total)
91
92[----------] 3 tests from ValueStorageTest
93[ RUN      ] ValueStorageTest.BooleanTesting
94[       OK ] ValueStorageTest.BooleanTesting (1 ms)
95[ RUN      ] ValueStorageTest.Uint32Testing
96[       OK ] ValueStorageTest.Uint32Testing (0 ms)
97[ RUN      ] ValueStorageTest.StringTesting
98[       OK ] ValueStorageTest.StringTesting (0 ms)
99[----------] 3 tests from ValueStorageTest (1 ms total)
100
101[----------] 7 tests from CfgMgrTest
102[ RUN      ] CfgMgrTest.getOptionDefs
103[       OK ] CfgMgrTest.getOptionDefs (0 ms)
104[ RUN      ] CfgMgrTest.getOptionDef
105[       OK ] CfgMgrTest.getOptionDef (0 ms)
106[ RUN      ] CfgMgrTest.addOptionDefNegative
107[       OK ] CfgMgrTest.addOptionDefNegative (1 ms)
108[ RUN      ] CfgMgrTest.subnet4
109[       OK ] CfgMgrTest.subnet4 (0 ms)
110[ RUN      ] CfgMgrTest.subnet6
111[       OK ] CfgMgrTest.subnet6 (0 ms)
112[ RUN      ] CfgMgrTest.optionSpace4
113[       OK ] CfgMgrTest.optionSpace4 (0 ms)
114[ RUN      ] CfgMgrTest.optionSpace6
115[       OK ] CfgMgrTest.optionSpace6 (1 ms)
116[----------] 7 tests from CfgMgrTest (2 ms total)
117
118[----------] 8 tests from DbAccessParserTest
119[ RUN      ] DbAccessParserTest.validTypeMemfile
120[       OK ] DbAccessParserTest.validTypeMemfile (0 ms)
121[ RUN      ] DbAccessParserTest.emptyKeyword
122[       OK ] DbAccessParserTest.emptyKeyword (0 ms)
123[ RUN      ] DbAccessParserTest.validTypeMysql
124[       OK ] DbAccessParserTest.validTypeMysql (0 ms)
125[ RUN      ] DbAccessParserTest.missingTypeKeyword
126[       OK ] DbAccessParserTest.missingTypeKeyword (0 ms)
127[ RUN      ] DbAccessParserTest.factory
128[       OK ] DbAccessParserTest.factory (0 ms)
129[ RUN      ] DbAccessParserTest.incrementalChanges
130[       OK ] DbAccessParserTest.incrementalChanges (0 ms)
131[ RUN      ] DbAccessParserTest.getDbAccessString
132[       OK ] DbAccessParserTest.getDbAccessString (0 ms)
133[ RUN      ] DbAccessParserTest.commit
134[       OK ] DbAccessParserTest.commit (0 ms)
135[----------] 8 tests from DbAccessParserTest (0 ms total)
136
137[----------] 5 tests from LeaseMgrFactoryTest
138[ RUN      ] LeaseMgrFactoryTest.parse
139[       OK ] LeaseMgrFactoryTest.parse (0 ms)
140[ RUN      ] LeaseMgrFactoryTest.parseInvalid
141[       OK ] LeaseMgrFactoryTest.parseInvalid (0 ms)
142[ RUN      ] LeaseMgrFactoryTest.redactAccessString
143[       OK ] LeaseMgrFactoryTest.redactAccessString (0 ms)
144[ RUN      ] LeaseMgrFactoryTest.redactAccessStringEmptyPassword
145[       OK ] LeaseMgrFactoryTest.redactAccessStringEmptyPassword (0 ms)
146[ RUN      ] LeaseMgrFactoryTest.redactAccessStringNoPassword
147[       OK ] LeaseMgrFactoryTest.redactAccessStringNoPassword (0 ms)
148[----------] 5 tests from LeaseMgrFactoryTest (0 ms total)
149
150[----------] 1 test from LeaseMgr
151[ RUN      ] LeaseMgr.getParameter
152[       OK ] LeaseMgr.getParameter (0 ms)
153[----------] 1 test from LeaseMgr (0 ms total)
154
155[----------] 2 tests from Lease4
156[ RUN      ] Lease4.Lease4Constructor
157[       OK ] Lease4.Lease4Constructor (0 ms)
158[ RUN      ] Lease4.OperatorEquals
159[       OK ] Lease4.OperatorEquals (0 ms)
160[----------] 2 tests from Lease4 (0 ms total)
161
162[----------] 3 tests from Lease6
163[ RUN      ] Lease6.Lease6Constructor
164[       OK ] Lease6.Lease6Constructor (0 ms)
165[ RUN      ] Lease6.OperatorEquals
166[       OK ] Lease6.OperatorEquals (0 ms)
167[ RUN      ] Lease6.Lease6Expired
168[       OK ] Lease6.Lease6Expired (0 ms)
169[----------] 3 tests from Lease6 (0 ms total)
170
171[----------] 3 tests from MemfileLeaseMgrTest
172[ RUN      ] MemfileLeaseMgrTest.constructor
173[       OK ] MemfileLeaseMgrTest.constructor (0 ms)
174[ RUN      ] MemfileLeaseMgrTest.getTypeAndName
175[       OK ] MemfileLeaseMgrTest.getTypeAndName (0 ms)
176[ RUN      ] MemfileLeaseMgrTest.addGetDelete6
177[       OK ] MemfileLeaseMgrTest.addGetDelete6 (0 ms)
178[----------] 3 tests from MemfileLeaseMgrTest (0 ms total)
179
180[----------] 1 test from MySqlOpenTest
181[ RUN      ] MySqlOpenTest.OpenDatabase
182[       OK ] MySqlOpenTest.OpenDatabase (108 ms)
183[----------] 1 test from MySqlOpenTest (108 ms total)
184
185[----------] 20 tests from MySqlLeaseMgrTest
186[ RUN      ] MySqlLeaseMgrTest.getType
187[       OK ] MySqlLeaseMgrTest.getType (66 ms)
188[ RUN      ] MySqlLeaseMgrTest.checkTimeConversion
189[       OK ] MySqlLeaseMgrTest.checkTimeConversion (75 ms)
190[ RUN      ] MySqlLeaseMgrTest.getName
191[       OK ] MySqlLeaseMgrTest.getName (93 ms)
192[ RUN      ] MySqlLeaseMgrTest.checkVersion
193[       OK ] MySqlLeaseMgrTest.checkVersion (72 ms)
194[ RUN      ] MySqlLeaseMgrTest.basicLease4
195[       OK ] MySqlLeaseMgrTest.basicLease4 (66 ms)
196[ RUN      ] MySqlLeaseMgrTest.lease4NullClientId
197[       OK ] MySqlLeaseMgrTest.lease4NullClientId (60 ms)
198[ RUN      ] MySqlLeaseMgrTest.basicLease6
199[       OK ] MySqlLeaseMgrTest.basicLease6 (59 ms)
200[ RUN      ] MySqlLeaseMgrTest.getLease4Hwaddr
201[       OK ] MySqlLeaseMgrTest.getLease4Hwaddr (58 ms)
202[ RUN      ] MySqlLeaseMgrTest.getLease4HwaddrSize
203unknown file: Failure
204C++ exception with description "unable to execute for <INSERT INTO lease4(address, hwaddr, client_id, valid_lifetime, expire, subnet_id) VALUES (?, ?, ?, ?, ?, ?)>, reason: Data too long for column 'hwaddr' at row 1 (error code 1406)" thrown in the test body.
205[  FAILED  ] MySqlLeaseMgrTest.getLease4HwaddrSize (60 ms)
206[ RUN      ] MySqlLeaseMgrTest.getLease4HwaddrSubnetId
207[       OK ] MySqlLeaseMgrTest.getLease4HwaddrSubnetId (51 ms)
208[ RUN      ] MySqlLeaseMgrTest.getLease4HwaddrSubnetIdSize
209unknown file: Failure
210C++ exception with description "unable to execute for <INSERT INTO lease4(address, hwaddr, client_id, valid_lifetime, expire, subnet_id) VALUES (?, ?, ?, ?, ?, ?)>, reason: Data too long for column 'hwaddr' at row 1 (error code 1406)" thrown in the test body.
211[  FAILED  ] MySqlLeaseMgrTest.getLease4HwaddrSubnetIdSize (71 ms)
212[ RUN      ] MySqlLeaseMgrTest.getLease4ClientId
213[       OK ] MySqlLeaseMgrTest.getLease4ClientId (56 ms)
214[ RUN      ] MySqlLeaseMgrTest.getLease4ClientIdSize
215[       OK ] MySqlLeaseMgrTest.getLease4ClientIdSize (53 ms)
216[ RUN      ] MySqlLeaseMgrTest.getLease4ClientIdSubnetId
217[       OK ] MySqlLeaseMgrTest.getLease4ClientIdSubnetId (64 ms)
218[ RUN      ] MySqlLeaseMgrTest.getLease6DuidIaid
219[       OK ] MySqlLeaseMgrTest.getLease6DuidIaid (98 ms)
220[ RUN      ] MySqlLeaseMgrTest.getLease6DuidIaidSize
221[       OK ] MySqlLeaseMgrTest.getLease6DuidIaidSize (57 ms)
222[ RUN      ] MySqlLeaseMgrTest.getLease6DuidIaidSubnetId
223[       OK ] MySqlLeaseMgrTest.getLease6DuidIaidSubnetId (60 ms)
224[ RUN      ] MySqlLeaseMgrTest.getLease6DuidIaidSubnetIdSize
225[       OK ] MySqlLeaseMgrTest.getLease6DuidIaidSubnetIdSize (61 ms)
226[ RUN      ] MySqlLeaseMgrTest.updateLease4
227[       OK ] MySqlLeaseMgrTest.updateLease4 (66 ms)
228[ RUN      ] MySqlLeaseMgrTest.updateLease6
229[       OK ] MySqlLeaseMgrTest.updateLease6 (50 ms)
230[----------] 20 tests from MySqlLeaseMgrTest (1296 ms total)
231
232[----------] 4 tests from Pool4Test
233[ RUN      ] Pool4Test.constructor_first_last
234[       OK ] Pool4Test.constructor_first_last (0 ms)
235[ RUN      ] Pool4Test.constructor_prefix_len
236[       OK ] Pool4Test.constructor_prefix_len (0 ms)
237[ RUN      ] Pool4Test.in_range
238[       OK ] Pool4Test.in_range (0 ms)
239[ RUN      ] Pool4Test.unique_id
240[       OK ] Pool4Test.unique_id (0 ms)
241[----------] 4 tests from Pool4Test (0 ms total)
242
243[----------] 4 tests from Pool6Test
244[ RUN      ] Pool6Test.constructor_first_last
245[       OK ] Pool6Test.constructor_first_last (0 ms)
246[ RUN      ] Pool6Test.constructor_prefix_len
247[       OK ] Pool6Test.constructor_prefix_len (0 ms)
248[ RUN      ] Pool6Test.in_range
249[       OK ] Pool6Test.in_range (0 ms)
250[ RUN      ] Pool6Test.unique_id
251[       OK ] Pool6Test.unique_id (0 ms)
252[----------] 4 tests from Pool6Test (1 ms total)
253
254[----------] 8 tests from Subnet4Test
255[ RUN      ] Subnet4Test.constructor
256[       OK ] Subnet4Test.constructor (2 ms)
257[ RUN      ] Subnet4Test.in_range
258[       OK ] Subnet4Test.in_range (0 ms)
259[ RUN      ] Subnet4Test.Pool4InSubnet4
260[       OK ] Subnet4Test.Pool4InSubnet4 (0 ms)
261[ RUN      ] Subnet4Test.Subnet4_Pool4_checks
262[       OK ] Subnet4Test.Subnet4_Pool4_checks (0 ms)
263[ RUN      ] Subnet4Test.addInvalidOption
264[       OK ] Subnet4Test.addInvalidOption (0 ms)
265[ RUN      ] Subnet4Test.inRangeinPool
266[       OK ] Subnet4Test.inRangeinPool (0 ms)
267[ RUN      ] Subnet4Test.toText
268[       OK ] Subnet4Test.toText (0 ms)
269[ RUN      ] Subnet4Test.get
270[       OK ] Subnet4Test.get (0 ms)
271[----------] 8 tests from Subnet4Test (2 ms total)
272
273[----------] 13 tests from Subnet6Test
274[ RUN      ] Subnet6Test.constructor
275[       OK ] Subnet6Test.constructor (0 ms)
276[ RUN      ] Subnet6Test.in_range
277[       OK ] Subnet6Test.in_range (0 ms)
278[ RUN      ] Subnet6Test.Pool6InSubnet6
279[       OK ] Subnet6Test.Pool6InSubnet6 (0 ms)
280[ RUN      ] Subnet6Test.Subnet6_Pool6_checks
281[       OK ] Subnet6Test.Subnet6_Pool6_checks (0 ms)
282[ RUN      ] Subnet6Test.addOptions
283[       OK ] Subnet6Test.addOptions (0 ms)
284[ RUN      ] Subnet6Test.addNonUniqueOptions
285[       OK ] Subnet6Test.addNonUniqueOptions (1 ms)
286[ RUN      ] Subnet6Test.addInvalidOption
287[       OK ] Subnet6Test.addInvalidOption (0 ms)
288[ RUN      ] Subnet6Test.addPersistentOption
289[       OK ] Subnet6Test.addPersistentOption (0 ms)
290[ RUN      ] Subnet6Test.getOptionDescriptor
291[       OK ] Subnet6Test.getOptionDescriptor (0 ms)
292[ RUN      ] Subnet6Test.inRangeinPool
293[       OK ] Subnet6Test.inRangeinPool (0 ms)
294[ RUN      ] Subnet6Test.toText
295[       OK ] Subnet6Test.toText (0 ms)
296[ RUN      ] Subnet6Test.get
297[       OK ] Subnet6Test.get (0 ms)
298[ RUN      ] Subnet6Test.iface
299[       OK ] Subnet6Test.iface (0 ms)
300[----------] 13 tests from Subnet6Test (1 ms total)
301
302[----------] 3 tests from TripletTest
303[ RUN      ] TripletTest.constructor
304[       OK ] TripletTest.constructor (0 ms)
305[ RUN      ] TripletTest.operator
306[       OK ] TripletTest.operator (0 ms)
307[ RUN      ] TripletTest.sanity_check
308[       OK ] TripletTest.sanity_check (0 ms)
309[----------] 3 tests from TripletTest (0 ms total)
310
311[----------] Global test environment tear-down
312[==========] 116 tests from 18 test cases ran. (1428 ms total)
313[  PASSED  ] 114 tests.
314[  FAILED  ] 2 tests, listed below:
315[  FAILED  ] MySqlLeaseMgrTest.getLease4HwaddrSize
316[  FAILED  ] MySqlLeaseMgrTest.getLease4HwaddrSubnetIdSize
317
318 2 FAILED TESTS
319