BGU-AiDnD / Debugger

AI debugger
2 stars 3 forks source link

An Exception occurred : 'TestRunner' object has no attribute 'tracer' #1174

Open DebuggerIssuesReport opened 5 years ago

DebuggerIssuesReport commented 5 years ago

An Exception occurred while running Debugger:

command line is wrapper.py C:\amirelm\minors_configurations\STORM

Traceback (most recent call last): File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\utilsConf.py", line 402, in f ans = func(*args, *kwargs) File "wrapper.py", line 464, in wrapperAll executeTests() File "C:\Users\amirelm\Documents\GitHub\Debugger\learner\utilsConf.py", line 402, in f ans = func(args, **kwargs) File "wrapper.py", line 418, in executeTests components_priors = get_components_probabilities(bugged_type, granularity, test_runner, tests) File "wrapper.py", line 444, in get_components_probabilities reduce(list.add, map(lambda test_name: test_runner.tracer.traces[test_name].get_trace(granularity), tests), [])): File "wrapper.py", line 444, in reduce(list.add, map(lambda test_name: test_runner.tracer.traces[test_name].get_trace(granularity), tests), [])): AttributeError: 'TestRunner' object has no attribute 'tracer'

DebuggerIssuesReport commented 5 years ago

Configuration is : ('MethodsParsed', u'C:\amirelm\projects_minors\STORM\commitsFiles\CheckStyle.txt') ('learning_dir', u'\\?\C:\amirelm\projects_minors\STORM\learning') ('full_configure_file', 'workingDir=C:\amirelm\projects_minors\STORM\ngit=C:\amirelm\repos\STORM\nissue_tracker_product_name=STORM\nissue_tracker_url=https://issues.apache.org/jira\nissue_tracker=jira\nvers=(0.9.0,v0.10.0,v1.0.0,v1.1.0,v1.2.0,v2.0.0)') ('docletPath', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\xml-doclet-1.0.4-jar-with-dependencies.jar') ('distribution_per_version_report', u'\\?\C:\amirelm\projects_minors\STORM\distribution_per_version_report.csv') ('experiments', u'C:\amirelm\projects_minors\STORM\experiments') ('sourceMonitorEXE', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\SourceMonitor.exe') ('checkStyle57', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\checkstyle-5.7-all.jar') ('distribution_per_majors_report', u'\\?\C:\amirelm\projects_minors\STORM\distribution_per_majors_report.csv') ('gitPath', u'\\?\C:\amirelm\repos\STORM') ('prediction_files', {'Most': {'Method': 'prediction_Method_Most.csv', 'File': 'prediction_File_Most.csv'}, 'All': {'Method': 'prediction_Method_All.csv', 'File': 'prediction_File_All.csv'}}) ('current_dir', 'C:\Users\amirelm\Documents\GitHub\Debugger\learner') ('debugger_base_path', 'C:\Users\amirelm\Documents\GitHub\Debugger') ('paths', ['0.9.0\repo', 'v0.10.0\repo', 'v1.0.0\repo', 'v1.1.0\repo', 'v1.2.0\repo', 'v2.0.0\repo']) ('versPath', u'\\?\C:\amirelm\projects_minors\STORM\vers') ('buggy_repo', <git.Repo "C:\amirelm\repos\STORM.git">) ('buggedType', 'Most') ('traces_dir', u'\\?\C:\amirelm\projects_minors\STORM\traces') ('markers_dir', u'\\?\C:\amirelm\projects_minors\STORM\markers') ('workingDir', u'\\?\C:\amirelm\projects_minors\STORM') ('RemoveBat', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\../removeBat.bat') ('distribution_per_minors_report', u'\\?\C:\amirelm\projects_minors\STORM\distribution_per_minors_report.csv') ('caching_dir', 'C:\Users\amirelm\Documents\GitHub\Debugger\Debugger_cache') ('all_but_one_dir', u'\\?\C:\amirelm\projects_minors\STORM\learning\AllbutOne') ('confFile', 'C:\amirelm\minors_configurations\STORM') ('issue_tracker_product', 'STORM') ('db_dir', u'\\?\C:\amirelm\projects_minors\STORM\dbAdd') ('LocalGitPath', u'C:\amirelm\projects_minors\STORM\repo') ('changeFile', u'C:\amirelm\projects_minors\STORM\commitsFiles\Ins_dels.txt') ('vers', ['0.9.0', 'v0.10.0', 'v1.0.0', 'v1.1.0', 'v1.2.0', 'v2.0.0']) ('utilsPath', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils') ('checkStyle68', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\checkstyle-6.8-SNAPSHOT-all.jar') ('commits', [6417966, 218298690, 230319450, 239129107, 44042623, 141626137]) ('methodsNamesXML', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\methodNameLines.xml') ('vers_dirs', ['0_9_0', 'v0_10_0', 'v1_0_0', 'v1_1_0', 'v1_2_0', 'v2_0_0']) ('configuration_path', u'C:\amirelm\projects_minors\STORM\configuration') ('amir_tracer', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\uber-tracer-1.0.1-SNAPSHOT.jar') ('distribution_report', u'\\?\C:\amirelm\projects_minors\STORM\distribution_report.csv') ('weka_path', u'C:\amirelm\projects_minors\STORM\weka') ('granularity', 'File') ('vers_paths', [u'\\?\C:\amirelm\projects_minors\STORM\vers\0_9_0', u'\\?\C:\amirelm\projects_minors\STORM\vers\v0_10_0', u'\\?\C:\amirelm\projects_minors\STORM\vers\v1_0_0', u'\\?\C:\amirelm\projects_minors\STORM\vers\v1_1_0', u'\\?\C:\amirelm\projects_minors\STORM\vers\v1_2_0', u'\\?\C:\amirelm\projects_minors\STORM\vers\v2_0_0']) ('configuration', <utilsConf.Configuration object at 0x1CFA1D50>) ('bugsPath', u'\\?\C:\amirelm\projects_minors\STORM\bugs.csv') ('issue_tracker', 'jira') ('remotes_urls', [u'https://github.com/apache/storm.git']) ('repo', <git.Repo "C:\Users\amirelm\Documents\GitHub\Debugger.git">) ('dates', ['2013-12-05 01:36:07', '2015-10-23 22:05:58', '2016-04-05 20:12:00', '2017-03-21 18:55:59', '2018-02-07 23:23:25', '2018-10-16 21:34:44']) ('renamed_mapping', {}) ('versions', ['0.9.0', 'v0.10.0', 'v1.0.0', 'v1.1.0', 'v1.2.0', 'v2.0.0']) ('wekaJar', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\weka.jar') ('DebuggerTests', u'C:\amirelm\projects_minors\STORM\DebuggerTests') ('distribution_per_micros_report', u'\\?\C:\amirelm\projects_minors\STORM\distribution_per_micros_report.csv') ('issue_tracker_url', 'https://issues.apache.org/jira') ('one_dir', u'\\?\C:\amirelm\projects_minors\STORM\learning\One') ('debugger_commit', '9dd1c455c312b5ca835bc3ada58788f87d9d0f81') ('web_prediction_results', u'C:\amirelm\projects_minors\STORM\web_prediction_results') ('allchecks', 'C:\Users\amirelm\Documents\GitHub\Debugger\utils\allChecks.xml')