2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 20:47:48 +00:00

633 Commits

Author SHA1 Message Date
Yoshitaka Aharen
e653adac03 Merge branch 'trac2157_merge'
Conflicts:
	ChangeLog
2013-02-21 11:03:16 +09:00
Michal 'vorner' Vaner
d6f24ba626 Merge remote-tracking branch 'refs/remotes/origin/master' 2013-02-14 08:17:15 +01:00
Jeremy C. Reed
e87bf04b2f [master] bump version
(note this is not the rc version, just the version for master)
2013-02-13 12:08:24 -06:00
Michal 'vorner' Vaner
6bd562f85c Merge #1924
Provide a "message undeliverable" error by the msgq daemon in case the
sender declares it expects an answer and there's no recipient to send it
to.

Conflicts:
	src/bin/bindctl/run_bindctl.sh.in
	src/bin/sysinfo/run_sysinfo.sh.in
	src/lib/python/isc/cc/Makefile.am
	src/lib/python/isc/cc/session.py
2013-02-13 10:30:13 +01:00
Yoshitaka Aharen
946c4e8afa Merge branch 'master' into trac2157_merge
Conflicts:
	ChangeLog
2013-02-13 18:04:32 +09:00
Michal 'vorner' Vaner
22eaf88024 [1924] Hack to allow finding generated python module
Do a hack to make the tests run with separate build and source
directories. The generated file ended up in a different directory than
the rest of the modules and the __init__.py. It therefore didn't work.
We use the same trick as log_messages, a forwarder module and addition
to PYTHON_PATH to find it.

Only the real file is installed.
2013-02-12 15:08:30 +01:00
JINMEI Tatuya
e6f86f2f5e [master] Merge branch 'trac2661' 2013-02-11 13:38:22 -08:00
JINMEI Tatuya
dd447189c8 [2661] protect the output of 'python-config | sed' with [], with more comments.
without [] the output it seems possible that the output is empty for some
environments.  also clarified that we can ignore the cases where -L isn't
contained at all.
2013-02-08 08:21:01 -08:00
JINMEI Tatuya
59c744cf48 [master] Merge branch 'trac1725' 2013-02-07 13:55:01 -08:00
Yoshitaka Aharen
5a6d38e1f7 Merge branch 'trac2157_2' into trac2157_merge
Conflicts:
	ChangeLog
	configure.ac
	src/bin/auth/Makefile.am
	src/bin/auth/auth_srv.cc
	src/bin/auth/auth_srv.h
	src/bin/auth/b10-auth.xml.pre
	src/bin/auth/statistics.cc
	src/bin/auth/statistics.h
	src/bin/auth/statistics_items.h
	src/bin/auth/tests/Makefile.am
	src/bin/auth/tests/auth_srv_unittest.cc
	src/bin/auth/tests/statistics_unittest.cc
	src/lib/statistics/counter.h
	src/lib/statistics/counter_dict.h
	tests/lettuce/configurations/example.org.inmem.config
2013-02-06 17:40:34 +09:00
JINMEI Tatuya
64fb39c963 [2145] (unrelated) cleanup: rename bind10_test.py to init_test.py.
simply because it makes more sense in terms of what's tested.
2013-02-05 19:52:38 -08:00
JINMEI Tatuya
1ec905f87e [2661] deal with space after -L in python-config output; it helps some solaris. 2013-02-05 13:49:10 -08:00
Jeremy C. Reed
06fa3ca48f [master] update version to today's timestamp 2013-02-05 10:19:46 -06:00
Jelte Jansen
bae3798603 [master] Merge branch 'trac1901' 2013-02-05 14:47:05 +01:00
Mukund Sivaraman
3a8e933c07 [master] Use serial-tests only where available 2013-02-05 17:14:02 +05:30
Michal 'vorner' Vaner
f7a77b8a0b Use serial tests option
We don't take any benefit from the parallel harness, since we have only
one test binary in each directory, and automake can't parallelize that.
But it was hiding test output, which was annoying.

Acked on the mailing list.
2013-02-05 10:52:33 +01:00
Jelte Jansen
2dffde2cef [1901] Rename source file for b10-init to init.py 2013-02-04 18:13:54 +01:00
Jelte Jansen
10d6323616 [1901] Fix run script, add manpage, revert ChangeLog
According to the first part of the review in http://bind10.isc.org/ticket/1901#comment:11
2013-02-04 12:53:25 +01:00
JINMEI Tatuya
2eeab2ebf0 [1725] disable sockcreator udp6_reate test on solaris 2.10 as OS is broken. 2013-02-01 19:22:52 -08:00
Jelte Jansen
cfa26ab8df [1901] Rename 'bind10' script files
- renamed 'bind10' to 'b10-init'
- renamed related files as well
- left alone the 'run' script, as well as the directory name
- added new 'bind10' script that execs b10-init

note this commit only handles file names, and internal references have not been updated yet
2013-01-31 15:47:39 +01:00
Jeremy C. Reed
9bb9dbe623 [master] add python3.3 to the python check list
This is for ticket #2501.
This is trivial and I did without review. I tested on two
systems (one with python3.3 and one without).

I didn't decide to make it open-ended at this time,
just in case we need to fix python3.4 issues first.

I decided not to add a changelog entry since was so trivial.
(Also had a workaround before by using --with-pythonpath.)
2013-01-22 10:01:32 -06:00
JINMEI Tatuya
c4df99eac2 [master] Merge branch 'trac2438'
resolved Conflicts:
	src/lib/dns/python/Makefile.am
	src/lib/dns/python/rrset_collection_python.cc
	src/lib/dns/python/rrset_collection_python.h
	src/lib/dns/python/rrset_collection_python_inc.cc
2013-01-21 08:23:23 -08:00
Naoki Kambe
0a89b374d5 [master] Merge branch 'trac2225_statistics' 2013-01-21 13:09:16 +09:00
JINMEI Tatuya
003f49d979 [2438] other distcheck fixes: need to add dns/python/.libs to some PYTHONPATHs
as commented, #2145 should eliminate the need for it, but until it's fixed
this seems to be the easiest and smallest workaround.
2013-01-17 12:06:44 -08:00
JINMEI Tatuya
b8e5414ee0 [master] Merge branch 'trac2480-2' 2013-01-03 10:10:12 -08:00
JINMEI Tatuya
82041829bd [2480] support in-memory datasrc for cases that require dynamic RR addition 2012-12-28 20:28:06 -08:00
JINMEI Tatuya
6c20066d56 [master] cleanup: removed GCC_WERROR_OK setting from configure.ac.
It's not used anywhere else in the source tree any more.  okayed on jabber.
2012-12-28 14:02:17 -08:00
JINMEI Tatuya
2aa422106d [master] check werror_ok, not with_werror, in the Boost build failure check.
this is necessary to keep the previous behavior for FreeBSD where -Werror
is automatically disabled due to other bug of the compiler.
discussed on jabber, not seen a clear go, but I'm committing it at my
discretion to fix the buildbot errors.  I've confirmed the behavior on
multiple FreeBSD boxes.
2012-12-28 21:48:36 +00:00
JINMEI Tatuya
5ee9971dc6 [1991] corrected typo: don't use the now-internal -SAVED/SAVES varaibles 2012-12-28 07:11:03 +00:00
JINMEI Tatuya
5d2a22ac8f [1991] exclude clang++ for the check explicitly to avoid false positives
this can happen with clang++ used via ccache
2012-12-27 18:59:06 -08:00
JINMEI Tatuya
4323bf82f0 [1991] make sure the check is with -Werror and only for g++-variants 2012-12-27 18:36:49 -08:00
JINMEI Tatuya
fb95fbd371 [1991] added checks for FreeBSD build failure due to a ports bug. 2012-12-27 18:14:36 -08:00
JINMEI Tatuya
96e4248d61 [1991] moved boost-related config to a separate m4
in order to keep the main configure.ac more concise, and so that we can
eventually introduce more fine-grained configuration (e.g., skipping some
checks for DNS/DHCP-only build)

At the moment, this is just a cleanup, and doesn't change the behavior itself.
2012-12-27 17:54:42 -08:00
JINMEI Tatuya
5deb6bbc2d [2480] unified test data.
the previously hardcoded zone data are mostly moved to two new files:
query_testzone_data.txt and query_testzone_data_nsec3.txt.

A new helper python script, gen-query-testdata.py, converts them into
DNS zone files and C++ files defining some C-string variables for the RRs.
The latter will be included from query_unittest.cc (instead of the hardcoded
variables).

Generated zone files are loaded via include-only zone files: example.zone
and example-nsec3.zone.

For the next step corresponding sqlite3 DB file is also generated.
2012-12-21 17:26:11 -08:00
Michal 'vorner' Vaner
9e6e821c0a
Merge #1190
Msgq logs using the logging library (but to stdout, see #2582 for that)
2012-12-21 15:09:27 +01:00
Jeremy C. Reed
bf53fbd4e9 [master] change package name to bind10
instead of bind10-devel

also increase the version to today's date stamp (not for "beta")
2012-12-19 10:15:10 -06:00
Michal 'vorner' Vaner
774a4996da [1190] Make the tests work
Do the initialization in tests too (the executable script initializes it
only when run separately, to know the correct parameters).

Also, remove deprecated and unused auxiliary script that doesn't and
didn't work.
2012-12-19 13:11:40 +01:00
JINMEI Tatuya
f91f820e56 [2380] removed old loadzone source 2012-12-19 10:53:53 +01:00
JINMEI Tatuya
a51b040470 [2380] removed loadzone/tests/error completely.
see the log for the previous commit for the rationale.
2012-12-19 10:53:26 +01:00
JINMEI Tatuya
2b23275bd5 [2380] replaced old loadzone with the new one.
test parameters were adjusted accordingly.
there are some non trivial adjustments needed for the 'correct' test
cases for the original loadzone:
- completing the origin for some RDATA paramaeters (NS, SOA) does not
  work yet until we complete the RDATA support.  At the moment
  I made them FQDNs with comments
- a few TXT data were actually incorrect in the original tests, which
  caused a seeming regression.  I fixed the test data.
- there was one real bug in the $INCLUDE + origin support.  I'll go
  fix it; right now it fails

The 'error' test cases for the original loadzone also fail, but overall
the intended behavior looked preserved.  Fixing the tests to make it pass
seems to be quite difficult (because log output are different, and
the new loadzone ng is more verbose), so I plan to simply remove these
tests.
2012-12-19 10:52:48 +01:00
JINMEI Tatuya
52f3401fb5 [2380] removed to-be-removed Makefiles from configure.ac.
final cleanup for these obsolete test cases will be done at the end of the
task.  this change helps distcheck at the moment.
2012-12-14 09:58:51 -08:00
JINMEI Tatuya
e7f01efd35 [2380] introduced some initial framework for new loadzone 2012-12-13 19:04:12 -08:00
Jelte Jansen
74a0abe5a6 [master] Merge branch 'trac2445' 2012-12-11 10:56:33 +01:00
Jeremy C. Reed
172e704b66 [master] set DISTCHECK_GTEST_CONFIGURE_FLAG for --with-gtest too
This is for trac #2481. Review via jabber.
2012-12-10 13:41:48 -06:00
Marcin Siodelski
dbf7313f6b [2479] Moved perfdhcp/template folder to perfdhcp/tests/testdata. 2012-12-04 20:29:20 +01:00
Jelte Jansen
a5330334a5 [2445] Create unit tests and fix a few issues
Also updated log's README
2012-12-02 22:25:12 +01:00
Jelte Jansen
43b0ea4216 [master] Merge branch 'trac1044' 2012-11-28 11:17:12 +01:00
Jelte Jansen
ebe0d8a602 [1044] Address review comments
See http://bind10.isc.org/ticket/1044#comment:13
2012-11-22 15:30:18 +01:00
Yoshitaka Aharen
d5d8fa746c [2157] renamed statistics items generator 2012-11-20 11:12:35 +09:00
Naoki Kambe
1c6a6aa89e [2225] introduced new counter classes and implemented unixsocket counters
- implemented a base class Counter and a concrete XfroutCounter as an external
   module under isc.statistics. Because it is easy to implement another
   concrete Counter class for other module in future. The caller module can
   statically import it. The new counter class provides a getter method for
   each statistics item. It is intended for making loose relationship between
   the counter class and the caller module.

 - added implementation of unixsocket counter into the existing UnixSockServer
   Class.

 - added new tests for checking counters implemented in UnixSockServer are
   working properly into xfrout_test.py.

 - implemented enabling/disabling counting in the new counter class.
2012-11-19 13:52:04 +09:00