Advertisement
Guest User

Untitled

a guest
Dec 16th, 2015
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. START TEST mysql.lease6_dump_test
  2. Wiping whole database keatest
  3. Warning: Using a password on the command line interface can be insecure.
  4. Warning: Using a password on the command line interface can be insecure.
  5. Checking if there is a database initialized already. Please ignore errors.
  6. Warning: Using a password on the command line interface can be insecure.
  7. Initializing database using script /home/thomson/devel/kea2/src/bin/admin/scripts/mysql/dhcpdb_create.mysql
  8. Warning: Using a password on the command line interface can be insecure.
  9. mysql returned status code 0
  10. Lease DB version reported after initialization: Warning: Using a password on the command line interface can be insecure.
  11. 4.0
  12.  
  13. Warning: Using a password on the command line interface can be insecure.
  14. Warning: Using a password on the command line interface can be insecure.
  15. Warning: Using a password on the command line interface can be insecure.
  16. lease6 successfully dumped to /home/thomson/devel/kea2/src/bin/admin/tests/data/mysql.lease6_dump_test.output.csv
  17. Assertion failure: 0 != 1, for val1=0, val2=1
  18. dump file does not match reference file, expected exit code 0, actual 1
  19. FAILED mysql.lease6_dump_test
  20.  
  21. Makefile:695: recipe for target 'check-local' failed
  22. make[3]: *** [check-local] Error 1
  23. make[3]: Leaving directory '/home/thomson/devel/kea2/src/bin/admin/tests'
  24. Makefile:571: recipe for target 'check-am' failed
  25. make[2]: *** [check-am] Error 2
  26. make[2]: Leaving directory '/home/thomson/devel/kea2/src/bin/admin/tests'
  27. Makefile:423: recipe for target 'check-recursive' failed
  28. make[1]: *** [check-recursive] Error 1
  29. make[1]: Leaving directory '/home/thomson/devel/kea2/src/bin/admin/tests'
  30. Makefile:552: recipe for target 'check-recursive' failed
  31. make: *** [check-recursive] Error 1
  32. thomson@billabong:~/devel/kea2/src/bin/admin$ diff tests/data/mysql.lease6_dump_test.output.csv tests/data/mysql.lease6_dump_test.reference.csv
  33. 1a2
  34. > 10,3230,30,2015-04-04 01:15:30,40,50,IA_TA,60,70,1,1,one.example.com,3830,90,HWADDR_SOURCE_REMOTE_ID,default
  35. 4d4
  36. < 10,3230,30,2015-04-04 01:15:30,40,50,IA_TA,60,70,1,1,one.example.com,3830,90,HWADDR_SOURCE_REMOTE_ID,default
  37. thomson@billabong:~/devel/kea2/src/bin/admin$ cat tests/data/mysql.lease6_dump_test.reference.csv
  38. address,duid,valid_lifetime,expire,subnet_id,pref_lifetime,lease_type,iaid,prefix_len,fqdn_fwd,fqdn_rev,hostname,hwaddr,hwtype,hwaddr_source,state
  39. 10,3230,30,2015-04-04 01:15:30,40,50,IA_TA,60,70,1,1,one.example.com,3830,90,HWADDR_SOURCE_REMOTE_ID,default
  40. 11,,30,2015-05-05 02:30:45,40,50,IA_TA,60,70,1,1,,3830,90,HWADDR_SOURCE_RAW,declined
  41. 12,3231,30,2015-06-06 11:01:07,40,50,IA_TA,60,70,1,1,three.example.com,3830,90,HWADDR_SOURCE_DUID,expired-reclaimed
  42. thomson@billabong:~/devel/kea2/src/bin/admin$ cat tests/data/mysql.lease6_dump_test.output.csv
  43. address,duid,valid_lifetime,expire,subnet_id,pref_lifetime,lease_type,iaid,prefix_len,fqdn_fwd,fqdn_rev,hostname,hwaddr,hwtype,hwaddr_source,state
  44. 11,,30,2015-05-05 02:30:45,40,50,IA_TA,60,70,1,1,,3830,90,HWADDR_SOURCE_RAW,declined
  45. 12,3231,30,2015-06-06 11:01:07,40,50,IA_TA,60,70,1,1,three.example.com,3830,90,HWADDR_SOURCE_DUID,expired-reclaimed
  46. 10,3230,30,2015-04-04 01:15:30,40,50,IA_TA,60,70,1,1,one.example.com,3830,90,HWADDR_SOURCE_REMOTE_ID,default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement