See <http://robot.radiaatto.ri.fi/job/RIDE-Windows/143/changes>

Changes:

[Mikko Korpela] path endings to where they are used

[Mikko Korpela] refactoring

[Mikko Korpela] refactored new method

------------------------------------------
[...truncated 4571 lines...]
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\namespace\test_namespace.py";,>
 line 115, in test_lib_import_from_var
    self._assert_import_kws(sugs, COLLECTIONS_LIB)
  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_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: 2.237000s.

======================================================================
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: 2.437000s.

======================================================================
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 39, in test_importing_library_with_mutable_objects
    assert_equals(len(self._spec('ArgLib', [[1,2], {1:3}])), 2)
  File "c:\jenkins\w

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

orkspace\RIDE-Windows\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 36, in test_opening_library_with_args
    assert_equals(len(self._spec('ArgLib', ['arg value'])), 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(self._spec('OperatingSystem')))
  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 51, in test_reading_library_with_relative_import_from_pythonpath
    assert_equals(len(kws), 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_database_update (spec.test_librarymanager.TestLibraryManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"<http://robot.radiaatto.ri.fi/job/RIDE-Windows/ws/utest\spec\test_librarymanager.py";,>
 line 21, in test_database_update
    self.assertFalse(self._library_manager._keywords_differ(keywords, 
self._keywords))
AssertionError: True is not false

----------------------------------------------------------------------
Ran 897 tests in 37.883s

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

Reply via email to