BGU-AiDnD / Debugger

AI debugger
2 stars 3 forks source link

An Exception occurred : /home/orabr392/Downloads/repo #1212

Open DebuggerIssuesReport opened 5 years ago

DebuggerIssuesReport commented 5 years ago

An Exception occurred while running Debugger:

command line is wrapper.py file.conf learn

Traceback (most recent call last): File "/home/orabr392/debugger/Debugger/learner/utilsConf.py", line 402, in f ans = func(*args, **kwargs) File "/home/orabr392/debugger/Debugger/learner/wekaMethods/buildDB.py", line 315, in build_labels utilsConf.get_configuration().MethodsParsed, utilsConf.get_configuration().changeFile) File "/home/orabr392/debugger/Debugger/learner/wekaMethods/buildDB.py", line 303, in buildBasicAllVers commits, commitedFiles, allMethodsCommits, bugs, allFilesCommitsPatch = BuildRepo(gitPath, bugsPath, MethodsParsed, changeFile) File "/home/orabr392/debugger/Debugger/learner/wekaMethods/buildDB.py", line 124, in BuildRepo repo = git.Repo(gitPath) File "/home/orabr392/virtualenviroment/python/local/lib/python2.7/site-packages/git/repo/base.py", line 168, in init raise InvalidGitRepositoryError(epath) InvalidGitRepositoryError: /home/orabr392/Downloads/repo

DebuggerIssuesReport commented 5 years ago

Configuration is : ('MethodsParsed', u'/home/orabr392/Downloads/commitsFiles/CheckStyle.txt') ('learning_dir', '/home/orabr392/Downloads/learning') ('full_configure_file', 'workingDir=/home/orabr392/Downloads\ngit=/home/orabr392/Downloads/accumulo\nissue_tracker_product_name=ACCUMULO\nissue_tracker_url=https://issues.apache.org/jira\nissue_tracker=jira\nvers=(1.6.4, rel/1.6.5, rel/1.7.1, rel/1.7.3, rel/1.8.0)\n') ('docletPath', '/home/orabr392/debugger/Debugger/utils/xml-doclet-1.0.4-jar-with-dependencies.jar') ('distribution_per_version_report', '/home/orabr392/Downloads/distribution_per_version_report.csv') ('experiments', u'/home/orabr392/Downloads/experiments') ('sourceMonitorEXE', '/home/orabr392/debugger/Debugger/utils/SourceMonitor.exe') ('checkStyle57', '/home/orabr392/debugger/Debugger/utils/checkstyle-5.7-all.jar') ('distribution_per_majors_report', '/home/orabr392/Downloads/distribution_per_majors_report.csv') ('gitPath', '/home/orabr392/Downloads/accumulo') ('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', '/home/orabr392/debugger/Debugger/learner') ('debugger_base_path', '/home/orabr392/debugger/Debugger') ('paths', ['1.6.4/repo', 'rel/1.6.5/repo', 'rel/1.7.1/repo', 'rel/1.7.3/repo', 'rel/1.8.0/repo']) ('versPath', '/home/orabr392/Downloads/vers') ('buggy_repo', <git.Repo "/home/orabr392/Downloads/accumulo/.git">) ('buggedType', 'Most') ('traces_dir', '/home/orabr392/Downloads/traces') ('markers_dir', '/home/orabr392/Downloads/markers') ('workingDir', '/home/orabr392/Downloads') ('RemoveBat', '/home/orabr392/debugger/Debugger/utils/../removeBat.bat') ('distribution_per_minors_report', '/home/orabr392/Downloads/distribution_per_minors_report.csv') ('caching_dir', '/home/orabr392/debugger/Debugger/Debugger_cache') ('all_but_one_dir', '/home/orabr392/Downloads/learning/AllbutOne') ('confFile', 'file.conf') ('issue_tracker_product', 'ACCUMULO') ('db_dir', '/home/orabr392/Downloads/dbAdd') ('LocalGitPath', u'/home/orabr392/Downloads/repo') ('changeFile', u'/home/orabr392/Downloads/commitsFiles/Ins_dels.txt') ('vers', ['1.6.4', 'rel/1.6.5', 'rel/1.7.1', 'rel/1.7.3', 'rel/1.8.0']) ('utilsPath', '/home/orabr392/debugger/Debugger/utils') ('checkStyle68', '/home/orabr392/debugger/Debugger/utils/checkstyle-6.8-SNAPSHOT-all.jar') ('commits', [249275636, 210425901, 48267802, 59607581, 176841513]) ('methodsNamesXML', '/home/orabr392/debugger/Debugger/utils/methodNameLines.xml') ('vers_dirs', ['1_6_4', 'rel_1_6_5', 'rel_1_7_1', 'rel_1_7_3', 'rel_1_8_0']) ('configuration_path', u'/home/orabr392/Downloads/configuration') ('amir_tracer', '/home/orabr392/debugger/Debugger/utils/uber-tracer-1.0.1-SNAPSHOT.jar') ('distribution_report', '/home/orabr392/Downloads/distribution_report.csv') ('weka_path', u'/home/orabr392/Downloads/weka') ('granularity', 'File') ('vers_paths', ['/home/orabr392/Downloads/vers/1_6_4', '/home/orabr392/Downloads/vers/rel_1_6_5', '/home/orabr392/Downloads/vers/rel_1_7_1', '/home/orabr392/Downloads/vers/rel_1_7_3', '/home/orabr392/Downloads/vers/rel_1_8_0']) ('configuration', <utilsConf.Configuration object at 0x7f9184d721d0>) ('bugsPath', '/home/orabr392/Downloads/bugs.csv') ('issue_tracker', 'jira') ('remotes_urls', [u'https://github.com/apache/accumulo.git']) ('repo', <git.Repo "/home/orabr392/debugger/Debugger/.git">) ('dates', ['2015-09-29 02:25:05', '2016-02-13 01:01:50', '2016-02-22 23:22:34', '2017-03-10 13:48:55', '2016-09-02 19:48:57']) ('renamed_mapping', {}) ('versions', ['1.6.4', 'rel/1.6.5', 'rel/1.7.1', 'rel/1.7.3', 'rel/1.8.0']) ('wekaJar', '/home/orabr392/debugger/Debugger/utils/weka.jar') ('DebuggerTests', u'/home/orabr392/Downloads/DebuggerTests') ('distribution_per_micros_report', '/home/orabr392/Downloads/distribution_per_micros_report.csv') ('issue_tracker_url', 'https://issues.apache.org/jira') ('one_dir', '/home/orabr392/Downloads/learning/One') ('debugger_commit', '520f228039debf97ae94b5b2d7fe068beaedcab0') ('web_prediction_results', u'/home/orabr392/Downloads/web_prediction_results') ('allchecks', '/home/orabr392/debugger/Debugger/utils/allChecks.xml')

DebuggerIssuesReport commented 5 years ago

DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=/home/orabr392/Downloads/accumulo, universal_newlines=False, shell=None) DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch'], cwd=/home/orabr392/Downloads/accumulo, universal_newlines=False, shell=None) DEBUG:git.cmd:Popen(['git', 'remote', 'get-url', '--all', 'origin'], cwd=/home/orabr392/Downloads/accumulo, universal_newlines=False, shell=None) DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=/home/orabr392/Downloads/accumulo, universal_newlines=False, shell=None) INFO:root:remote git at urls [u'https://github.com/apache/accumulo.git'] and HEAD is on commit 548f3965134588ee6d53c5e5b18deee548329977 DEBUG:git.cmd:Popen(['git', 'cat-file', '--batch-check'], cwd=/home/orabr392/debugger/Debugger, universal_newlines=False, shell=None) INFO:root:Debugger HEAD is on commit 520f228039debf97ae94b5b2d7fe068beaedcab0 INFO:root:running new process with cmdline git clone /home/orabr392/Downloads/accumulo repo DEBUG:git.cmd:Popen(['git', 'remote', 'get-url', '--all', 'origin'], cwd=/home/orabr392/Downloads/accumulo, universal_newlines=False, shell=None) INFO:root:running new process with cmdline git clone https://github.com/apache/accumulo.git repo INFO:root:running new process with cmdline git clone https://github.com/apache/accumulo.git repo INFO:root:running new process with cmdline git clone https://github.com/apache/accumulo.git repo INFO:root:running new process with cmdline git clone https://github.com/apache/accumulo.git repo INFO:root:running new process with cmdline git clone https://github.com/apache/accumulo.git repo INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/1_6_4/repo clean -fd 1.6.4 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/1_6_4/repo checkout -f 1.6.4 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/1_6_4/repo clean -fd 1.6.4 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_6_5/repo clean -fd rel/1.6.5 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_6_5/repo checkout -f rel/1.6.5 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_6_5/repo clean -fd rel/1.6.5 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_7_1/repo clean -fd rel/1.7.1 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_7_1/repo checkout -f rel/1.7.1 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_7_1/repo clean -fd rel/1.7.1 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_7_3/repo clean -fd rel/1.7.3 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_7_3/repo checkout -f rel/1.7.3 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_7_3/repo clean -fd rel/1.7.3 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_8_0/repo clean -fd rel/1.8.0 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_8_0/repo checkout -f rel/1.8.0 INFO:root:running new process with cmdline git -C /home/orabr392/Downloads/vers/rel_1_8_0/repo clean -fd rel/1.8.0 INFO:root:writing to /home/orabr392/Downloads/markers/learner_phase_file: start time: 2019-04-06 05:07:14.956734

INFO:root:writing to /home/orabr392/Downloads/markers/labels: start time: 2019-04-06 05:07:14.957137

ERROR:root:error msg : /home/orabr392/Downloads/repo Traceback (most recent call last): File "/home/orabr392/debugger/Debugger/learner/utilsConf.py", line 402, in f ans = func(*args, *kwargs) File "/home/orabr392/debugger/Debugger/learner/wekaMethods/buildDB.py", line 315, in build_labels utilsConf.get_configuration().MethodsParsed, utilsConf.get_configuration().changeFile) File "/home/orabr392/debugger/Debugger/learner/wekaMethods/buildDB.py", line 303, in buildBasicAllVers commits, commitedFiles, allMethodsCommits, bugs, allFilesCommitsPatch = BuildRepo(gitPath, bugsPath, MethodsParsed, changeFile) File "/home/orabr392/debugger/Debugger/learner/wekaMethods/buildDB.py", line 124, in BuildRepo repo = git.Repo(gitPath) File "/home/orabr392/virtualenviroment/python/local/lib/python2.7/site-packages/git/repo/base.py", line 168, in init raise InvalidGitRepositoryError(epath) InvalidGitRepositoryError: /home/orabr392/Downloads/repo 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:urllib3.connectionpool:Starting new HTTPS connection (1): api.github.com:443 DEBUG:urllib3.connectionpool:https://api.github.com:443 "GET /repos/BGU-AiDnD/Debugger HTTP/1.1" 200 None 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 file.conf learn\n\nTraceback (most recent call last):\n File \"/home/orabr392/debugger/Debugger/learner/utilsConf.py\", line 402, in f\n ans = func(args, **kwargs)\n File \"/home/orabr392/debugger/Debugger/learner/wekaMethods/buildDB.py\", line 315, in build_labels\n utilsConf.get_configuration().MethodsParsed, utilsConf.get_configuration().changeFile)\n File \"/home/orabr392/debugger/Debugger/learner/wekaMethods/buildDB.py\", line 303, in buildBasicAllVers\n commits, commitedFiles, allMethodsCommits, bugs, allFilesCommitsPatch = BuildRepo(gitPath, bugsPath, MethodsParsed, changeFile)\n File \"/home/orabr392/debugger/Debugger/learner/wekaMethods/buildDB.py\", line 124, in BuildRepo\n repo = git.Repo(gitPath)\n File \"/home/orabr392/virtualenviroment/python/local/lib/python2.7/site-packages/git/repo/base.py\", line 168, in init\n raise InvalidGitRepositoryError(epath)\nInvalidGitRepositoryError: /home/orabr392/Downloads/repo\n", "assignee": "amir9979", "title": "An Exception occurred : /home/orabr392/Downloads/repo"}, {} DEBUG:urllib3.connectionpool:https://api.github.com:443 "POST /repos/BGU-AiDnD/Debugger/issues HTTP/1.1" 201 5045 INFO:github3:JSON was returned INFO:github3:Building a url from ('https://api.github.com/repos/BGU-AiDnD/Debugger/issues/1212', 'comments') INFO:github3:Missed the cache building the url DEBUG:github3:POST https://api.github.com/repos/BGU-AiDnD/Debugger/issues/1212/comments with {"body": "Configuration is : \n('MethodsParsed', u'/home/orabr392/Downloads/commitsFiles/CheckStyle.txt')\n('learning_dir', '/home/orabr392/Downloads/learning')\n('full_configure_file', 'workingDir=/home/orabr392/Downloads\ngit=/home/orabr392/Downloads/accumulo\nissue_tracker_product_name=ACCUMULO\nissue_tracker_url=https://issues.apache.org/jira\\nissue_tracker=jira\\nvers=(1.6.4, rel/1.6.5, rel/1.7.1, rel/1.7.3, rel/1.8.0)\n')\n('docletPath', '/home/orabr392/debugger/Debugger/utils/xml-doclet-1.0.4-jar-with-dependencies.jar')\n('distribution_per_version_report', '/home/orabr392/Downloads/distribution_per_version_report.csv')\n('experiments', u'/home/orabr392/Downloads/experiments')\n('sourceMonitorEXE', '/home/orabr392/debugger/Debugger/utils/SourceMonitor.exe')\n('checkStyle57', '/home/orabr392/debugger/Debugger/utils/checkstyle-5.7-all.jar')\n('distribution_per_majors_report', '/home/orabr392/Downloads/distribution_per_majors_report.csv')\n('gitPath', '/home/orabr392/Downloads/accumulo')\n('prediction_files', {'Most': {'Method': 'prediction_Method_Most.csv', 'File': 'prediction_File_Most.csv'}, 'All': {'Method': 'prediction_Method_All.csv', 'File': 'prediction_File_All.csv'}})\n('current_dir', '/home/orabr392/debugger/Debugger/learner')\n('debugger_base_path', '/home/orabr392/debugger/Debugger')\n('paths', ['1.6.4/repo', 'rel/1.6.5/repo', 'rel/1.7.1/repo', 'rel/1.7.3/repo', 'rel/1.8.0/repo'])\n('versPath', '/home/orabr392/Downloads/vers')\n('buggy_repo', <git.Repo \"/home/orabr392/Downloads/accumulo/.git\">)\n('buggedType', 'Most')\n('traces_dir', '/home/orabr392/Downloads/traces')\n('markers_dir', '/home/orabr392/Downloads/markers')\n('workingDir', '/home/orabr392/Downloads')\n('RemoveBat', '/home/orabr392/debugger/Debugger/utils/../removeBat.bat')\n('distribution_per_minors_report', '/home/orabr392/Downloads/distribution_per_minors_report.csv')\n('caching_dir', '/home/orabr392/debugger/Debugger/Debugger_cache')\n('all_but_one_dir', '/home/orabr392/Downloads/learning/AllbutOne')\n('confFile', 'file.conf')\n('issue_tracker_product', 'ACCUMULO')\n('db_dir', '/home/orabr392/Downloads/dbAdd')\n('LocalGitPath', u'/home/orabr392/Downloads/repo')\n('changeFile', u'/home/orabr392/Downloads/commitsFiles/Ins_dels.txt')\n('vers', ['1.6.4', 'rel/1.6.5', 'rel/1.7.1', 'rel/1.7.3', 'rel/1.8.0'])\n('utilsPath', '/home/orabr392/debugger/Debugger/utils')\n('checkStyle68', '/home/orabr392/debugger/Debugger/utils/checkstyle-6.8-SNAPSHOT-all.jar')\n('commits', [249275636, 210425901, 48267802, 59607581, 176841513])\n('methodsNamesXML', '/home/orabr392/debugger/Debugger/utils/methodNameLines.xml')\n('vers_dirs', ['1_6_4', 'rel_1_6_5', 'rel_1_7_1', 'rel_1_7_3', 'rel_1_8_0'])\n('configuration_path', u'/home/orabr392/Downloads/configuration')\n('amir_tracer', '/home/orabr392/debugger/Debugger/utils/uber-tracer-1.0.1-SNAPSHOT.jar')\n('distribution_report', '/home/orabr392/Downloads/distribution_report.csv')\n('weka_path', u'/home/orabr392/Downloads/weka')\n('granularity', 'File')\n('vers_paths', ['/home/orabr392/Downloads/vers/1_6_4', '/home/orabr392/Downloads/vers/rel_1_6_5', '/home/orabr392/Downloads/vers/rel_1_7_1', '/home/orabr392/Downloads/vers/rel_1_7_3', '/home/orabr392/Downloads/vers/rel_1_8_0'])\n('configuration', <utilsConf.Configuration object at 0x7f9184d721d0>)\n('bugsPath', '/home/orabr392/Downloads/bugs.csv')\n('issue_tracker', 'jira')\n('remotes_urls', [u'https://github.com/apache/accumulo.git'])\n('repo', <git.Repo \"/home/orabr392/debugger/Debugger/.git\">)\n('dates', ['2015-09-29 02:25:05', '2016-02-13 01:01:50', '2016-02-22 23:22:34', '2017-03-10 13:48:55', '2016-09-02 19:48:57'])\n('renamed_mapping', {})\n('versions', ['1.6.4', 'rel/1.6.5', 'rel/1.7.1', 'rel/1.7.3', 'rel/1.8.0'])\n('wekaJar', '/home/orabr392/debugger/Debugger/utils/weka.jar')\n('DebuggerTests', u'/home/orabr392/Downloads/DebuggerTests')\n('distribution_per_micros_report', '/home/orabr392/Downloads/distribution_per_micros_report.csv')\n('issue_tracker_url', 'https://issues.apache.org/jira')\n('one_dir', '/home/orabr392/Downloads/learning/One')\n('debugger_commit', '520f228039debf97ae94b5b2d7fe068beaedcab0')\n('web_prediction_results', u'/home/orabr392/Downloads/web_prediction_results')\n('allchecks', '/home/orabr392/debugger/Debugger/utils/allChecks.xml')"}, {} DEBUG:urllib3.connectionpool:https://api.github.com:443 "POST /repos/BGU-AiDnD/Debugger/issues/1212/comments HTTP/1.1" 201 14802 INFO:github3:JSON was returned