Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000248Rosetta[All Projects] Crashpublic2013-04-11 14:302013-04-11 17:40
Assigned ToSergey 
PlatformOSOS Version
Product Version 
Fixed in Version 
Summary0000248: handles missing command files poorly
DescriptionCreate a test directory within integration/tests with no command file. will fail with something like:
Traceback (most recent call last):
  File "", line 1011, in <module>
  File "", line 264, in main
    cmd_line_sh, workdir = generateIntegrationTestCommandline(test, outdir);
  File "", line 671, in generateIntegrationTestCommandline
    cmd += file(path.join(workdir, "command")).read().strip()
IOError: [Errno 2] No such file or directory: '/home/sml58/git_rosetta/rosetta_tests/integration/new/ccd_loop_terminal/command'

It is correct in that it knows the command file doesn't exist, but it should probably catch the nonexistence of the file and handle it as a permafail test, instead of crashing

Additionally, child processes of are NOT KILLED when it dies in this fashion - so if you're running at -j8, your other 7 don't die immediately. They should be killed when dies. Maybe that's a separate bug. I guess does not need to die here anyway.
TagsNo tags attached.
Application(s) Affectedintegration test
Command Line this_test_has_no_command_file
Developer OptionsFeature Request, Confirmed As Bug
Fixed in SVN Version
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2013-04-11 14:30 smlewis New Issue
2013-04-11 17:40 Sergey Assigned To => Sergey
2013-04-11 17:40 Sergey Status new => assigned

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker