See <http://robot.radiaatto.ri.fi/job/RIDE-Windows/140/changes>
Changes: [Mikko Korpela] Use multiprocessing when importing variable files [Mikko Korpela] limiting process imports by moving them to other modules [Mikko Korpela] ride.py: fix multiprocessing in windows [Mikko Korpela] multiprocessing refactoring [Mikko Korpela] refactor test cases [Mikko Korpela] library import: Doc was not used - removed it [Mikko Korpela] collapse Spec to LibrarySpec [Mikko Korpela] Library alias only in LibrarySpec [Mikko Korpela] LibraryKeywordInfo without item [Mikko Korpela] tests for library keyword database [Mikko Korpela] more db tests [Mikko Korpela] db tests [Mikko Korpela] Need to commit to make it visible [Mikko Korpela] remove unused imports [Mikko Korpela] remove sql script [Mikko Korpela] add library name [Mikko Korpela] use database value only if time not expired [Mikko Korpela] remove unused imports [Mikko Korpela] Database uses now eventually consistent approach [Mikko Korpela] Reload directory -> Refresh [Mikko Korpela] No more dirty check when refreshing [Mikko Korpela] prototyping database corruption prevention [Mikko Korpela] Fix library database validation [Mikko Korpela] libraryfetcher: Preparation for refresh notification [Mikko Korpela] librarydatabase: Fix no arguments -> one empty argument problem [Mikko Korpela] kweditor: Listen for namespace updates, so that coloring can be redone [Mikko Korpela] Do the coloring in wx event thread [Mikko Korpela] unused import [Mikko Korpela] remove the RideNamespaceRefresh message [Mikko Korpela] preparation for update notification [Mikko Korpela] preparation for update notification [Mikko Korpela] callback mechanism with performance issues [Mikko Korpela] update only if keywords changed [Mikko Korpela] remove global CURRENT_THREAD [Mikko Korpela] import result handling in main process [Mikko Korpela] all db access from main process [Mikko Korpela] use lock to protect db writes [Mikko Korpela] cleanup [Mikko Korpela] db modify in another thread ------------------------------------------ [...truncated 4520 lines...] File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 232, in _report_failure raise AssertionError() AssertionError ====================================================================== FAIL: test_lib_import_with_spaces (namespace.test_namespace.TestKeywordSuggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 119, in test_lib_import_with_spaces self._assert_import_kws(sugs, 'spacelib') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 266, in _assert_import_kws assert_true(len(sugs) > 0) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 232, in _report_failure raise AssertionError() AssertionError ====================================================================== FAIL: test_library_arguments_are_resolved (namespace.test_namespace.TestKeywordSuggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 207, in test_library_arguments_are_resolved assert_true(len(sugs) > 0) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 232, in _report_failure raise AssertionError() AssertionError ====================================================================== FAIL: test_library_from_resourcefile_variable (namespace.test_namespace.TestKeywordSuggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 147, in test_library_from_resourcefile_variable self._assert_import_kws(sugs, 'Dialogs') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 266, in _assert_import_kws assert_true(len(sugs) > 0) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 232, in _report_failure raise AssertionError() AssertionError ====================================================================== FAIL: test_relative_imports (namespace.test_namespace.TestKeywordSuggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 258, in test_relative_imports self._check_source(relative_tcf, 'local', 'local') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 262, in _check_source assert_equals(len(sugs), 1) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 184, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 0 != 1 ====================================================================== FAIL: test_suggestions_for_datafile (namespace.test_namespace.TestKeywordSuggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 245, in test_suggestions_for_datafile self._assert_import_kws(sugs, 'Dialogs') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 266, in _assert_import_kws assert_true(len(sugs) > 0) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 232, in _report_failure raise AssertionError() AssertionError ====================================================================== FAIL: test_variable_file_arguments_are_resolved (namespace.test_namespace.TestKeywordSuggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 221, in test_variable_file_arguments_are_resolved assert_true(len(sugs) > 0) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 232, in _report_failure raise AssertionError() AssertionError ====================================================================== FAIL: test_variable_file_variables_are_available_in_resource_imports (namespace.test_namespace.TestKeywordSuggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 226, in test_variable_file_variables_are_available_in_resource_imports self._assert_import_kws(sugs, 'res.txt') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 266, in _assert_import_kws assert_true(len(sugs) > 0) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 232, in _report_failure raise AssertionError() AssertionError ====================================================================== FAIL: test_variable_sources (namespace.test_namespace.TestKeywordSuggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 253, in test_variable_sources self._check_source(everything_tcf, '${dynamic var}', 'dynamic_varz.py') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 262, in _check_source assert_equals(len(sugs), 1) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 184, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 0 != 1 ====================================================================== FAIL: test_vars_from_file (namespace.test_namespace.TestKeywordSuggestions) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py",> line 199, in test_vars_from_file assert_true(len(sugs) > 0) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 232, in _report_failure raise AssertionError() AssertionError ====================================================================== FAIL: test_library_keyword_find_performance (namespace.test_ns_performance.TestNamespacePerformance) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_ns_performance.py",> line 21, in test_library_keyword_find_performance self._test_keyword_find_performance('is_library_keyword') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_ns_performance.py",> line 26, in _test_keyword_find_performance assert_true(end_time < 0.5, 'Checking %d kws took too long: %fs.' % (times, end_time)) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: Checking 5000 kws took too long: 1.242000s. ====================================================================== FAIL: test_user_keyword_find_performance (namespace.test_ns_performance.TestNamespacePerformance) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_ns_performance.py",> line 18, in test_user_keyword_find_performance self._test_keyword_find_performance('is_user_keyword') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_ns_performance.py",> line 26, in _test_keyword_find_performance assert_true(end_time < 0.5, 'Checking %d kws took too long: %fs.' % (times, end_time)) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: Checking 5000 kws took too long: 1.243000s. ====================================================================== FAIL: test_importing_library_with_mutable_objects (spec.test_keywordspec.TestLibrarySpec) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\spec\test_keywordspec.py",> line 45, in test_importing_library_with_mutable_objects assert_equals(len(spec.keywords), 2) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 184, in fail_unless_equal Captured Task Output: --------------------- ---> pavement.test Traceback (most recent call last): File "C:\Program Files (x86)\Python27\lib\site-packages\paver\tasks.py", line 190, in _run_task return do_task() File "C:\Program Files (x86)\Python27\lib\site-packages\paver\tasks.py", line 187, in do_task return func(**kw) File "pavement.py", line 84, in test assert _run_nose(args) is True AssertionError _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 0 != 2 ====================================================================== FAIL: test_importing_library_with_name (spec.test_keywordspec.TestLibrarySpec) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\spec\test_keywordspec.py",> line 41, in test_importing_library_with_name assert_equals(len(spec.keywords), 2) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 184, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 0 != 2 ====================================================================== FAIL: test_opening_library_with_args (spec.test_keywordspec.TestLibrarySpec) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\spec\test_keywordspec.py",> line 37, in test_opening_library_with_args assert_equals(len(spec.keywords), 2) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 184, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 0 != 2 ====================================================================== FAIL: test_opening_standard_library (spec.test_keywordspec.TestLibrarySpec) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\spec\test_keywordspec.py",> line 30, in test_opening_standard_library assert_true(len(spec.keywords)) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 122, in fail_unless if not expr: _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 232, in _report_failure raise AssertionError() AssertionError ====================================================================== FAIL: test_reading_library_with_relative_import_from_pythonpath (spec.test_keywordspec.TestLibrarySpec) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\spec\test_keywordspec.py",> line 58, in test_reading_library_with_relative_import_from_pythonpath assert_equals(len(spec.keywords), 1) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 184, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 247, in _report_unequality_failure _report_failure(msg) File "<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/lib\robot\utils\asserts.py",> line 233, in _report_failure raise AssertionError(msg) AssertionError: 0 != 1 ---------------------------------------------------------------------- Ran 895 tests in 27.250s FAILED (errors=1, failures=41) <http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/>exit> 1 Build step 'Execute Windows batch command' marked build as failure Recording test results
