From 68b804f34d4ec420d86953e3f519179a40fbee8f Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 29 Jan 2013 11:38:41 +0100 Subject: Prepare release --- lib/common_test/doc/src/notes.xml | 226 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 226 insertions(+) (limited to 'lib/common_test/doc/src/notes.xml') diff --git a/lib/common_test/doc/src/notes.xml b/lib/common_test/doc/src/notes.xml index f238fa0706..8cbcbad8b2 100644 --- a/lib/common_test/doc/src/notes.xml +++ b/lib/common_test/doc/src/notes.xml @@ -32,6 +32,232 @@ notes.xml +
Common_Test 1.7 + +
Fixed Bugs and Malfunctions + + +

+ Severe errors detected by test_server (e.g. if log + files directories cannot be created) will now be reported + to common_test and noted in the common_test + logs.

+

+ Own Id: OTP-9769 Aux Id: kunagi-202 [113]

+
+ +

+ The earlier undocumented cross cover feature for + accumulating cover data over multiple tests has now been + fixed and documented.

+

+ Own Id: OTP-9870 Aux Id: kunagi-206 [117]

+
+ +

+ If a busy test case generated lots of error messages, + cth_log_redirect:post_end_per_testcase would crash with a + timeout while waiting for the error logger to finish + handling all error reports. The default timer was 5 + seconds. This has now been extended to 5 minutes.

+

+ Own Id: OTP-10040 Aux Id: kunagi-173 [84]

+
+ +

When a test case failed because of a timetrap time + out, the Config data for the case was lost in the + following call to end_per_testcase/2, and also in + calls to the CT Hook function + post_end_per_testcase/4. This problem has been + solved and the Config data is now correctly passed + to the above functions after a timetrap timeout + failure.

+

+ Own Id: OTP-10070 Aux Id: kunagi-175 [86]

+
+ +

+ Some calls to deprecated and removed functions in snmp + are removed from ct_snmp.

+

+ Own Id: OTP-10088 Aux Id: kunagi-176 [87]

+
+ +

In test_server, the same process would supervise the + currently running test case and be group leader (and IO + server) for the test case. Furthermore, when running + parallel test cases, new temporary supervisor/group + leader processes were spawned and the process that was + group leader for sequential test cases would not be + active. That would lead to several problems:

+

* Processes started by init_per_suite will inherit the + group leader of the init_per_suite process (and that + group leader would not process IO requests when parallel + test cases was running). If later a parallel test case + caused such a processto print using (for example) + io:format/2, the calling would hang.

+

* Similarly, if a process was spawned from a parallel + test case, it would inherit the temporary group leader + for that parallel test case. If that spawned process + later - when the group of parallel tests have finished - + attempted to print something, its group leader would be + dead and there would be badarg exception.

+

Those problems have been solved by having group + leaders separate from the processes that supervises the + test cases, and keeping temporary group leader process + for parallel test cases alive until no more process in + the system use them as group leaders.

+

Also, a new unexpected_io.log log file + (reachable from the summary page of each test suite) has + been introduced. All unexpected IO will be printed into + it(for example, IO to a group leader for a parallel test + case that has finished).

+

+ Own Id: OTP-10101 Aux Id: OTP-10125

+
+ +

+ Some bugfixes in ct_snmp:

+

+ ct_snmp will now use the value of the + 'agent_vsns' config variable when setting the 'variables' + parameter to snmp application agent configuration. + Earlier this had to be done separately - i.e. the + supported versions had to be specified twice. + Snmp application failed to write notify.conf since + ct_snmp gave the notify type as a string instead of an + atom. This has been corrected.

+

+ Own Id: OTP-10432

+
+ +

+ Some bugfixes in ct_snmp:

+

+ Functions register_users/2, + register_agents/2 and register_usm_users/2, + and the corresponding unregister_*/1 functions + were not executable. These are corrected/rewritten. + Function update_usm_users/2 is + removed, and an unregister function is added instead. + Update can now be done with unregister_usm_users and then + register_usm_users. Functions + unregister_*/2 are added, so specific + users/agents/usm users can be unregistered. + Function unload_mibs/1 is added for + completeness. Overriding configuration + files did not work, since the files were written in + priv_dir instead of in the configuration dir + (priv_dir/conf). This has been corrected. + Arguments to register_usm_users/2 were faulty + documented. This has been corrected.

+

+ Own Id: OTP-10434 Aux Id: kunagi-264 [175]

+
+ +

+ Faulty exported specs in common test has been corrected + to ct_netconfc:hook_options/0 and + inet:hostname/0

+

+ Own Id: OTP-10601

+
+ +

+ The netconf client in common_test did not adjust the + window after receiving data. Due to this, the client + stopped receiving data after a while. This has been + corrected.

+

+ Own Id: OTP-10646

+
+
+
+ + +
Improvements and New Features + + +

It is now possible to let a test specification include + other test specifications. Included specs can either be + joined with the source spec (and all other joined specs), + resulting in one single test run, or they can be executed + in separate test runs. Also, a start flag/option, + join_specs, has been introduced, to be used in + combination with the spec option. With + join_specs, Common Test can be told to either join + multiple test specifications, or run them separately. + Without join_specs, the latter behaviour is + default. Note that this is a change compared to earlier + versions of Common Test, where specifications could only + be joined. More information can be found in the Running + Tests chapter in the User's Guide (see the Test + Specifications section).

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-9881 Aux Id: kunagi-350 [261]

+
+ +

+ The ct_slave:start/3 function now supports an + {env,[{Var,Value}]} option to extend environment + for the slave node.

+

+ Own Id: OTP-10469 Aux Id: kunagi-317 [228]

+
+ +

Some examples overflowing the width of PDF pages have + been corrected.

+

+ Own Id: OTP-10665

+
+ +

+ Update common test modules to handle unicode + Use UTF-8 encoding for all HTML files, except the + HTML version of the test suite generated with + erl2html2:convert, which will have the same encoding as + the original test suite (.erl) file. + Encode link targets in HTML files with + test_server_ctrl:uri_encode/1. Use unicode + modifier 't' with ~s when appropriate. Use + unicode:characters_to_list and + unicode:characters_to_binary for conversion between + binaries and strings instead of binary_to_list and + list_to_binary.

+

+ Own Id: OTP-10783

+
+
+
+ + +
Known Bugs and Problems + + +

+ CT drops error reason when groups/0 crashes.

+

+ Own Id: OTP-10631 Aux Id: kunagi-345 [256]

+
+ +

+ Event handler on a ct_master node causes hanging.

+

+ Own Id: OTP-10634 Aux Id: kunagi-347 [258]

+
+ +

+ CT fails to open telnet conn after a timetrap timeout.

+

+ Own Id: OTP-10648 Aux Id: seq12212

+
+
+
+ +
+
Common_Test 1.6.3.1
Known Bugs and Problems -- cgit v1.2.3