User Tools

Site Tools


reports:56dc896

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
reports:56dc896 [2016/11/25 10:56]
karandesai96
reports:56dc896 [2016/11/25 10:57] (current)
karandesai96
Line 413: Line 413:
 } }
 </​script>​ </​script>​
-    <​p>​Report generated on 25-Nov-2016 at 10:56:06</p>+    <​p>​Report generated on 25-Nov-2016 at 10:57:04</p>
     <​h2>​Environment</​h2>​     <​h2>​Environment</​h2>​
     <table id="​environment">​     <table id="​environment">​
Line 423: Line 423:
         <​td>​2.7.12</​td></​tr></​table>​         <​td>​2.7.12</​td></​tr></​table>​
     <​h2>​Summary</​h2>​     <​h2>​Summary</​h2>​
-    <p>0 tests ran in 0.42 seconds. </p>+    <p>0 tests ran in 0.45 seconds. </p>
     <p class="​filter"​ hidden="​true">​(Un)check the boxes to filter the results.</​p><​input checked="​true"​ class="​filter"​ data-test-result="​passed"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​passed">​0 passed</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​skipped"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​skipped">​0 skipped</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​failed"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​failed">​0 failed</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​error"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​error">​1 errors</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​xfailed"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​xfailed">​0 expected failures</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​xpassed"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​xpassed">​0 unexpected passes</​span>​     <p class="​filter"​ hidden="​true">​(Un)check the boxes to filter the results.</​p><​input checked="​true"​ class="​filter"​ data-test-result="​passed"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​passed">​0 passed</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​skipped"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​skipped">​0 skipped</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​failed"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​failed">​0 failed</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​error"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​error">​1 errors</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​xfailed"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​xfailed">​0 expected failures</​span>,​ <input checked="​true"​ class="​filter"​ data-test-result="​xpassed"​ disabled="​true"​ hidden="​true"​ name="​filter_checkbox"​ onChange="​filter_table(this)"​ type="​checkbox"/><​span class="​xpassed">​0 unexpected passes</​span>​
     <​h2>​Results</​h2>​     <​h2>​Results</​h2>​
Line 438: Line 438:
         <tr>         <tr>
           <td class="​col-result">​Error</​td>​           <td class="​col-result">​Error</​td>​
-          <td class="​col-name">​lib.linux-x86_64-2.7/​tardis/​tests/​integration_tests/​test_integration.py::​TestIntegration::​()::​test_model_quantities[model_quantities0-/​tmp/​tardis-test-vYjaZj/​lib.linux-x86_64-2.7/​tardis/​tests/​integration_tests/​paper1_downbranch]::​setup</​td>​ +          <td class="​col-name">​lib.linux-x86_64-2.7/​tardis/​tests/​integration_tests/​test_integration.py::​TestIntegration::​()::​test_model_quantities[model_quantities0-/​tmp/​tardis-test-v2iwxy/​lib.linux-x86_64-2.7/​tardis/​tests/​integration_tests/​paper1_downbranch]::​setup</​td>​ 
-          <td class="​col-duration">​0.00</td>+          <td class="​col-duration">​0.05</td>
           <td class="​col-links"></​td></​tr>​           <td class="​col-links"></​td></​tr>​
         <tr>         <tr>
           <td class="​extra"​ colspan="​5">​           <td class="​extra"​ colspan="​5">​
-            <div class="​log"​ style="​clear:​ both">​self = &​lt;​CallInfo when='​setup'​ exception: ​'​atom_data_path'​&gt;, func = &​lt;​function &​lt;​lambda&​gt;​ at 0x7f8e3b343320&gt;when = '​setup'<​br/><​br/>&​gt; ​  ???<​br/><​br/>​_pytest.runner:​149:​ <​br/>​_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <​br/>​_pytest.runner:​137:​ in &​lt;​lambda&​gt;<​br/> ​   ???<​br/>​_pytest.core:​521:​ in __call__<​br/> ​   ???<​br/>​_pytest.core:​528:​ in _docall<​br/> ​   ???<​br/>​_pytest.core:​393:​ in execute<​br/> ​   ???<​br/>​_pytest.core:​113:​ in wrapped_call<​br/> ​   ???<​br/>​_pytest.core:​138:​ in get_result<​br/> ​   ???<​br/>​_pytest.core:​123:​ in __init__<​br/> ​   ???<​br/>​_pytest.core:​394:​ in execute<​br/> ​   ???<​br/>​_pytest.runner:​86:​ in pytest_runtest_setup<​br/> ​   ???<​br/>​_pytest.runner:​403:​ in prepare<​br/> ​   ???<​br/>​_pytest.python:​1197:​ in setup<​br/> ​   ???<​br/>​_pytest.python:​702:​ in fillfixtures<​br/> ​   ???<​br/>​_pytest.python:​1345:​ in _fillfixtures<​br/> ​   ???<​br/>​_pytest.python:​1388:​ in getfuncargvalue<​br/> ​   ???<​br/>​_pytest.python:​1405:​ in _get_active_fixturedef<​br/> ​   ???<​br/>​_pytest.python:​1451:​ in _getfuncargvalue<​br/> ​   ???<​br/>​_pytest.python:​1883:​ in execute<​br/> ​   ???<​br/>​_pytest.python:​1405:​ in _get_active_fixturedef<​br/> ​   ???<​br/>​_pytest.python:​1451:​ in _getfuncargvalue<​br/> ​   ???<​br/>​_pytest.python:​1883:​ in execute<​br/> ​   ???<​br/>​_pytest.python:​1405:​ in _get_active_fixturedef<​br/> ​   ???<​br/>​_pytest.python:​1451:​ in _getfuncargvalue<​br/> ​   ???<​br/>​_pytest.python:​1921:​ in execute<​br/> ​   ???<​br/>​_pytest.python:​1842:​ in call_fixture_func<​br/> ​   ???<​br/>​_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <​br/><​br/>​request = &​lt;​SubRequest 'data_path' for &​lt;​Function '​test_model_quantities[model_quantities0-/​tmp/​tardis-test-vYjaZj/​lib.linux-x86_64-2.7/​tardis/​tests/​integration_tests/​paper1_downbranch]'&​gt;&​gt;<​br/>​<​br/> ​   @pytest.fixture(scope="​class"​params=[<​br/>        path for path in glob.glob(os.path.join(<br/>            os.path.dirname(os.path.realpath(__file__))"​*"​)) if os.path.isdir(path)<​br/> ​   ​])<​br/> ​   def data_path(request):<​br/> ​       ​integration_tests_config = request.config.integration_tests_config<​br/> ​       ​hdf_filename = "{0}.h5".format(os.path.basename(request.param))<​br/> ​   <​br/> ​       ​path = {<​br/> ​           '​config_dirpath':​ request.param,<​br/> ​           '​reference_filepath':​ os.path.join(os.path.expandvars(<​br/> ​               ​os.path.expanduser(integration_tests_config['​reference'​])),​ hdf_filename<​br/> ​           ),<​br/> ​           '​gen_ref_path':​ os.path.join(os.path.expandvars(os.path.expanduser(<​br/> ​               integration_tests_config['​generate_reference'​])), tardis_githash[:7]<​br/> ​           ​),<​br/> ​           '​setup_name'​hdf_filename[:​-3],​<​br/> ​           ​# Temporary hack for providing atom data per individual setup.<​br/> ​           # This url has all the atom data files hosted, for downloading.<​br/> ​   #        '​atom_data_url':​ integration_tests_config['atom_data']['atom_data_url']<​br/> ​       }<​br/> ​   <​br/> ​       # For providing atom data per individual setup. Atom data can be fetched<​br/> ​       # from a local directory or a remote url.<​br/> ​       path['atom_data_path'] = os.path.expandvars(os.path.expanduser(<​br/>&​gt; ​          integration_tests_config['atom_data_path']<​br/> ​       ​))<​br/><​span class="​error">​E ​      KeyError'​atom_data_path'​</​span><​br/><​br/>​tardis/​tests/​integration_tests/​conftest.py:​108KeyError<​br/></​div></​td></​tr></​tbody></​table></​body></​html>​+            <div class="​log"​ style="​clear:​ both">​self = &​lt;​CallInfo when='​setup'​ exception: ​Reference file /​home/​stefan/​slow-tests/​paper1_downbranch.h5 does not exist and is needed for the tests&gt;, func = &​lt;​function &​lt;​lambda&​gt;​ at 0x7fe7b9c67320&gt;<br/>when = '​setup'<​br/><​br/>&​gt; ​  ???<​br/><​br/>​_pytest.runner:​149:​ <​br/>​_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <​br/>​_pytest.runner:​137:​ in &​lt;​lambda&​gt;<​br/> ​   ???<​br/>​_pytest.core:​521:​ in __call__<​br/> ​   ???<​br/>​_pytest.core:​528:​ in _docall<​br/> ​   ???<​br/>​_pytest.core:​393:​ in execute<​br/> ​   ???<​br/>​_pytest.core:​113:​ in wrapped_call<​br/> ​   ???<​br/>​_pytest.core:​138:​ in get_result<​br/> ​   ???<​br/>​_pytest.core:​123:​ in __init__<​br/> ​   ???<​br/>​_pytest.core:​394:​ in execute<​br/> ​   ???<​br/>​_pytest.runner:​86:​ in pytest_runtest_setup<​br/> ​   ???<​br/>​_pytest.runner:​403:​ in prepare<​br/> ​   ???<​br/>​_pytest.python:​1197:​ in setup<​br/> ​   ???<​br/>​_pytest.python:​702:​ in fillfixtures<​br/> ​   ???<​br/>​_pytest.python:​1345:​ in _fillfixtures<​br/> ​   ???<​br/>​_pytest.python:​1388:​ in getfuncargvalue<​br/> ​   ???<​br/>​_pytest.python:​1405:​ in _get_active_fixturedef<​br/> ​   ???<​br/>​_pytest.python:​1451:​ in _getfuncargvalue<​br/> ​   ???<​br/>​_pytest.python:​1883:​ in execute<​br/> ​   ???<​br/>​_pytest.python:​1405:​ in _get_active_fixturedef<​br/> ​   ???<​br/>​_pytest.python:​1451:​ in _getfuncargvalue<​br/> ​   ???<​br/>​_pytest.python:​1921:​ in execute<​br/> ​   ???<​br/>​_pytest.python:​1842:​ in call_fixture_func<​br/> ​   ???<​br/>​_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <​br/><​br/>​request = &​lt;​SubRequest 'reference' for &​lt;​Function '​test_model_quantities[model_quantities0-/​tmp/​tardis-test-v2iwxy/​lib.linux-x86_64-2.7/​tardis/​tests/​integration_tests/​paper1_downbranch]'&​gt;&​gt;<​br/>​data_path ​{'​atom_data_path':​ '/​home/​stefan/​projects/​tardis/​data/​supernova_models/'​'​config_dirpath':​ '/tmp/​tardis-test-v2iwxy/​l...'/home/​stefan/​slow-tests/​generated/​56dc896',​ '​reference_filepath':​ '/​home/​stefan/​slow-tests/​paper1_downbranch.h5', ...}<​br/>​<​br/> ​   ​@pytest.fixture(scope="​class"​)<​br/> ​   def reference(request, data_path):<​br/> ​       ​"""​Fixture to ingest reference data for slow test from already available<​br/> ​       HDF fileAll data is unpacked as a collection of ``pd.Series`` and<​br/> ​       ​``pd.DataFrames`` in a ``pd.HDFStore`` object and returned away.<​br/> ​   <​br/> ​       ​Assumed that ``data_path['​reference_filepath'​]`` is a valid HDF file<​br/> ​       ​containing the reference dath for a particular setup.<​br/> ​       """​<​br/> ​       # Reference data need not be loaded and provided if current test run itself<​br/> ​       # generates new reference data.<​br/> ​       if request.config.getoption("​--generate-reference"​):<​br/> ​           ​return<​br/> ​       else:<​br/> ​           ​try:<​br/> ​               ​reference = pd.HDFStore(data_path['reference_filepath']'r')<​br/> ​           ​except IOError:<​br/> ​               raise IOError('Reference file {0} does not exist and is needed'<​br/>&​gt; ​                            ' for the tests'​.format(data_path['reference_filepath'​]))<​br/><​span class="​error">​E ​              IOErrorReference file /​home/​stefan/​slow-tests/​paper1_downbranch.h5 does not exist and is needed for the tests</​span><​br/><​br/>​tardis/​tests/​integration_tests/​conftest.py:​135IOError<​br/></​div></​td></​tr></​tbody></​table></​body></​html>​
reports/56dc896.txt · Last modified: 2016/11/25 10:57 by karandesai96