BGU-AiDnD / Debugger

AI debugger
2 stars 3 forks source link

An Exception occurred : list index out of range #1034

Open DebuggerIssuesReport opened 5 years ago

DebuggerIssuesReport commented 5 years ago

An Exception occurred while running Debugger:

command line is wrapper.py C:\new_users\AAAI_DEMO\Tajo\configuration.txt

Traceback (most recent call last): File "C:\temp\Debugger\learner\utilsConf.py", line 386, in f ans = func(*args, **kwargs) File "wrapper.py", line 435, in executeTests priors=components_priors) File "c:\temp\sfl-diagnoser\sfl_diagnoser\Diagnoser\diagnoserUtils.py", line 128, in write_planning_file if len(tests_details[0]) == 3: IndexError: list index out of range

DebuggerIssuesReport commented 5 years ago

Configuration is : ('MethodsParsed', u'C:\new_users\AAAI_DEMO\Tajo\out\commitsFiles\CheckStyle.txt') ('learning_dir', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\learning') ('full_configure_file', 'workingDir=C:\new_users\AAAI_DEMO\Tajo\out\ngit=C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo\nissue_tracker_product_name=TAJO\nissue_tracker_url=https://issues.apache.org/jira\nissue_tracker=jira\nvers=(release-0.2.0,release-0.8.0,release-0.9.0,release-0.10.0,release-0.11.0)') ('docletPath', 'C:\temp\Debugger\utils\xml-doclet-1.0.4-jar-with-dependencies.jar') ('distribution_per_version_report', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\distribution_per_version_report.csv') ('experiments', u'C:\new_users\AAAI_DEMO\Tajo\out\experiments') ('sourceMonitorEXE', 'C:\temp\Debugger\utils\SourceMonitor.exe') ('checkStyle57', 'C:\temp\Debugger\utils\checkstyle-5.7-all.jar') ('distribution_per_majors_report', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\distribution_per_majors_report.csv') ('gitPath', u'\\?\C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo') ('prediction_files', {'Method': {'Most': 'prediction_Most_Method.csv', 'All': 'prediction_All_Method.csv'}, 'File': {'Most': 'prediction_Most_File.csv', 'All': 'prediction_All_File.csv'}}) ('current_dir', 'C:\temp\Debugger\learner') ('debugger_base_path', 'C:\temp\Debugger') ('paths', ['release-0.2.0\repo', 'release-0.8.0\repo', 'release-0.9.0\repo', 'release-0.10.0\repo', 'release-0.11.0\repo']) ('versPath', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\vers') ('buggy_repo', <git.Repo "C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo.git">) ('buggedType', 'File') ('markers_dir', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\markers') ('workingDir', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out') ('RemoveBat', 'C:\temp\Debugger\utils\../removeBat.bat') ('distribution_per_minors_report', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\distribution_per_minors_report.csv') ('caching_dir', 'C:\temp\Debugger\Debugger_cache') ('all_but_one_dir', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\learning\AllbutOne') ('confFile', 'C:\new_users\AAAI_DEMO\Tajo\configuration.txt') ('issue_tracker_product', 'TAJO') ('db_dir', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\dbAdd') ('LocalGitPath', u'C:\new_users\AAAI_DEMO\Tajo\out\repo') ('changeFile', u'C:\new_users\AAAI_DEMO\Tajo\out\commitsFiles\Ins_dels.txt') ('vers', ['release-0.2.0', 'release-0.8.0', 'release-0.9.0', 'release-0.10.0', 'release-0.11.0']) ('utilsPath', 'C:\temp\Debugger\utils') ('checkStyle68', 'C:\temp\Debugger\utils\checkstyle-6.8-SNAPSHOT-all.jar') ('commits', [169447716, 252720910, 114221453, 256563933, 31472776]) ('methodsNamesXML', 'C:\temp\Debugger\utils\methodNameLines.xml') ('vers_dirs', ['release_0_2_0', 'release_0_8_0', 'release_0_9_0', 'release_0_10_0', 'release_0_11_0']) ('configuration_path', u'C:\new_users\AAAI_DEMO\Tajo\out\configuration') ('amir_tracer', 'C:\temp\Debugger\utils\uber-tracer-1.0.1-SNAPSHOT.jar') ('distribution_report', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\distribution_report.csv') ('weka_path', u'C:\new_users\AAAI_DEMO\Tajo\out\weka') ('granularity', 'Most') ('vers_paths', [u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_2_0', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_8_0', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_9_0', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_10_0', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_11_0']) ('configuration', <utilsConf.Configuration object at 0x0000000007C75748>) ('bugsPath', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\bugs.csv') ('issue_tracker', 'jira') ('remotes_urls', [u'https://github.com/apache/tajo.git']) ('repo', <git.Repo "C:\temp\Debugger.git">) ('dates', ['2015-02-24 05:48:39', '2015-10-17 08:17:23', '2013-11-01 02:53:28', '2014-04-23 12:31:49', '2014-10-12 08:23:24']) ('renamed_mapping', {}) ('versions', ['release-0.2.0', 'release-0.8.0', 'release-0.9.0', 'release-0.10.0', 'release-0.11.0']) ('wekaJar', 'C:\temp\Debugger\utils\weka.jar') ('DebuggerTests', u'C:\new_users\AAAI_DEMO\Tajo\out\DebuggerTests') ('distribution_per_micros_report', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\distribution_per_micros_report.csv') ('issue_tracker_url', 'https://issues.apache.org/jira') ('one_dir', u'\\?\C:\new_users\AAAI_DEMO\Tajo\out\learning\One') ('debugger_commit', 'be5b7ce08a70489c3a2ca7064e0c03834ca5d842') ('web_prediction_results', u'C:\new_users\AAAI_DEMO\Tajo\out\web_prediction_results') ('allchecks', 'C:\temp\Debugger\utils\allChecks.xml')

DebuggerIssuesReport commented 5 years ago

DEBUG:git.util:Failed checking if running in CYGWIN due to: WindowsError(2, 'The system cannot find the file specified') DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo, universal_newlines=False, shell=None) DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch'], cwd=C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo, universal_newlines=False, shell=None) DEBUG:git.cmd:Popen(['git', 'remote', 'get-url', '--all', 'origin'], cwd=C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo, universal_newlines=False, shell=None) DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo, universal_newlines=False, shell=None) INFO:root:remote git at urls [u'https://github.com/apache/tajo.git'] and HEAD is on commit fb326195083959014c82c10187cb46de91ece33f DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=C:\temp\Debugger, universal_newlines=False, shell=None) INFO:root:Debugger HEAD is on commit be5b7ce08a70489c3a2ca7064e0c03834ca5d842 INFO:root:running new process with cmdline git clone C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo repo DEBUG:git.cmd:Popen(['git', 'remote', 'get-url', '--all', 'origin'], cwd=C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo, universal_newlines=False, shell=None) INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_2_0\repo clean -fd release-0.2.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_2_0\repo checkout -f release-0.2.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_2_0\repo clean -fd release-0.2.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_8_0\repo clean -fd release-0.8.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_8_0\repo checkout -f release-0.8.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_8_0\repo clean -fd release-0.8.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_9_0\repo clean -fd release-0.9.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_9_0\repo checkout -f release-0.9.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_9_0\repo clean -fd release-0.9.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_10_0\repo clean -fd release-0.10.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_10_0\repo checkout -f release-0.10.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_10_0\repo clean -fd release-0.10.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_11_0\repo clean -fd release-0.11.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_11_0\repo checkout -f release-0.11.0 INFO:root:running new process with cmdline git -C \?\C:\new_users\AAAI_DEMO\Tajo\out\vers\release_0_11_0\repo clean -fd release-0.11.0 INFO:root:writing to \?\C:\new_users\AAAI_DEMO\Tajo\out\markers\all_done: start time: 2019-01-22 16:23:34.834000

INFO:root:writing to \?\C:\new_users\AAAI_DEMO\Tajo\out\markers\test_executed: start time: 2019-01-22 16:23:34.850000

ERROR:root:error msg : list index out of range Traceback (most recent call last): File "C:\temp\Debugger\learner\utilsConf.py", line 386, in f ans = func(*args, *kwargs) File "wrapper.py", line 435, in executeTests priors=components_priors) File "c:\temp\sfl-diagnoser\sfl_diagnoser\Diagnoser\diagnoserUtils.py", line 128, in write_planning_file if len(tests_details[0]) == 3: IndexError: list index out of range INFO:github3:Building a url from ('https://api.github.com', 'repos', 'BGU-AiDnD', 'Debugger') INFO:github3:Missed the cache building the url DEBUG:github3:GET https://api.github.com/repos/BGU-AiDnD/Debugger with {} DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): api.github.com DEBUG:requests.packages.urllib3.connectionpool:https://api.github.com:443 "GET /repos/BGU-AiDnD/Debugger HTTP/1.1" 200 None INFO:github3:Attempting to get JSON information from a Response with status code 200 expecting 200 INFO:github3:JSON was returned INFO:github3:Building a url from ('https://api.github.com/repos/BGU-AiDnD/Debugger', 'issues') INFO:github3:Missed the cache building the url DEBUG:github3:POST https://api.github.com/repos/BGU-AiDnD/Debugger/issues with {"body": "An Exception occurred while running Debugger:\n\ncommand line is wrapper.py C:\new_users\AAAI_DEMO\Tajo\configuration.txt\n\nTraceback (most recent call last):\n File \"C:\temp\Debugger\learner\utilsConf.py\", line 386, in f\n ans = func(args, **kwargs)\n File \"wrapper.py\", line 435, in executeTests\n priors=components_priors)\n File \"c:\temp\sfl-diagnoser\sfl_diagnoser\Diagnoser\diagnoserUtils.py\", line 128, in write_planning_file\n if len(tests_details[0]) == 3:\nIndexError: list index out of range\n", "assignee": "amir9979", "title": "An Exception occurred : list index out of range"}, {} DEBUG:requests.packages.urllib3.connectionpool:https://api.github.com:443 "POST /repos/BGU-AiDnD/Debugger/issues HTTP/1.1" 201 3529 INFO:github3:Attempting to get JSON information from a Response with status code 201 expecting 201 INFO:github3:JSON was returned INFO:github3:Building a url from ('https://api.github.com/repos/BGU-AiDnD/Debugger/issues/1034', 'comments') INFO:github3:Missed the cache building the url DEBUG:github3:POST https://api.github.com/repos/BGU-AiDnD/Debugger/issues/1034/comments with {"body": "Configuration is : \n('MethodsParsed', u'C:\\new_users\\AAAI_DEMO\\Tajo\\out\\commitsFiles\\CheckStyle.txt')\n('learning_dir', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\learning')\n('full_configure_file', 'workingDir=C:\\new_users\\AAAI_DEMO\\Tajo\\out\ngit=C:\\new_users\\AAAI_DEMO\\Tajo\\rootGit\\tajo\nissue_tracker_product_name=TAJO\nissue_tracker_url=https://issues.apache.org/jira\\nissue_tracker=jira\\nvers=(release-0.2.0,release-0.8.0,release-0.9.0,release-0.10.0,release-0.11.0)')\n('docletPath', 'C:\\temp\\Debugger\\utils\\xml-doclet-1.0.4-jar-with-dependencies.jar')\n('distribution_per_version_report', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\distribution_per_version_report.csv')\n('experiments', u'C:\\new_users\\AAAI_DEMO\\Tajo\\out\\experiments')\n('sourceMonitorEXE', 'C:\\temp\\Debugger\\utils\\SourceMonitor.exe')\n('checkStyle57', 'C:\\temp\\Debugger\\utils\\checkstyle-5.7-all.jar')\n('distribution_per_majors_report', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\distribution_per_majors_report.csv')\n('gitPath', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\rootGit\\tajo')\n('prediction_files', {'Method': {'Most': 'prediction_Most_Method.csv', 'All': 'prediction_All_Method.csv'}, 'File': {'Most': 'prediction_Most_File.csv', 'All': 'prediction_All_File.csv'}})\n('current_dir', 'C:\\temp\\Debugger\\learner')\n('debugger_base_path', 'C:\\temp\\Debugger')\n('paths', ['release-0.2.0\\repo', 'release-0.8.0\\repo', 'release-0.9.0\\repo', 'release-0.10.0\\repo', 'release-0.11.0\\repo'])\n('versPath', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\vers')\n('buggy_repo', <git.Repo \"C:\new_users\AAAI_DEMO\Tajo\rootGit\tajo\.git\">)\n('buggedType', 'File')\n('markers_dir', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\markers')\n('workingDir', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out')\n('RemoveBat', 'C:\\temp\\Debugger\\utils\\../removeBat.bat')\n('distribution_per_minors_report', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\distribution_per_minors_report.csv')\n('caching_dir', 'C:\\temp\\Debugger\\Debugger_cache')\n('all_but_one_dir', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\learning\\AllbutOne')\n('confFile', 'C:\\new_users\\AAAI_DEMO\\Tajo\\configuration.txt')\n('issue_tracker_product', 'TAJO')\n('db_dir', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\dbAdd')\n('LocalGitPath', u'C:\\new_users\\AAAI_DEMO\\Tajo\\out\\repo')\n('changeFile', u'C:\\new_users\\AAAI_DEMO\\Tajo\\out\\commitsFiles\\Ins_dels.txt')\n('vers', ['release-0.2.0', 'release-0.8.0', 'release-0.9.0', 'release-0.10.0', 'release-0.11.0'])\n('utilsPath', 'C:\\temp\\Debugger\\utils')\n('checkStyle68', 'C:\\temp\\Debugger\\utils\\checkstyle-6.8-SNAPSHOT-all.jar')\n('commits', [169447716, 252720910, 114221453, 256563933, 31472776])\n('methodsNamesXML', 'C:\\temp\\Debugger\\utils\\methodNameLines.xml')\n('vers_dirs', ['release_0_2_0', 'release_0_8_0', 'release_0_9_0', 'release_0_10_0', 'release_0_11_0'])\n('configuration_path', u'C:\\new_users\\AAAI_DEMO\\Tajo\\out\\configuration')\n('amir_tracer', 'C:\\temp\\Debugger\\utils\\uber-tracer-1.0.1-SNAPSHOT.jar')\n('distribution_report', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\distribution_report.csv')\n('weka_path', u'C:\\new_users\\AAAI_DEMO\\Tajo\\out\\weka')\n('granularity', 'Most')\n('vers_paths', [u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\vers\\release_0_2_0', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\vers\\release_0_8_0', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\vers\\release_0_9_0', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\vers\\release_0_10_0', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\vers\\release_0_11_0'])\n('configuration', <utilsConf.Configuration object at 0x0000000007C75748>)\n('bugsPath', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\bugs.csv')\n('issue_tracker', 'jira')\n('remotes_urls', [u'https://github.com/apache/tajo.git'])\n('repo', <git.Repo \"C:\temp\Debugger\.git\">)\n('dates', ['2015-02-24 05:48:39', '2015-10-17 08:17:23', '2013-11-01 02:53:28', '2014-04-23 12:31:49', '2014-10-12 08:23:24'])\n('renamed_mapping', {})\n('versions', ['release-0.2.0', 'release-0.8.0', 'release-0.9.0', 'release-0.10.0', 'release-0.11.0'])\n('wekaJar', 'C:\\temp\\Debugger\\utils\\weka.jar')\n('DebuggerTests', u'C:\\new_users\\AAAI_DEMO\\Tajo\\out\\DebuggerTests')\n('distribution_per_micros_report', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\distribution_per_micros_report.csv')\n('issue_tracker_url', 'https://issues.apache.org/jira')\n('one_dir', u'\\\\?\\C:\\new_users\\AAAI_DEMO\\Tajo\\out\\learning\\One')\n('debugger_commit', 'be5b7ce08a70489c3a2ca7064e0c03834ca5d842')\n('web_prediction_results', u'C:\\new_users\\AAAI_DEMO\\Tajo\\out\\web_prediction_results')\n('allchecks', 'C:\\temp\\Debugger\\utils\\allChecks.xml')"}, {} DEBUG:requests.packages.urllib3.connectionpool:https://api.github.com:443 "POST /repos/BGU-AiDnD/Debugger/issues/1034/comments HTTP/1.1" 201 16824 INFO:github3:Attempting to get JSON information from a Response with status code 201 expecting 201 INFO:github3:JSON was returned