Closed
Bug 1233706
Opened 9 years ago
Closed 6 years ago
Make error message more helpful if robocop test is run without robocop
Categories
(Firefox for Android Graveyard :: Testing, defect, P5)
Tracking
(firefox61 wontfix, firefox62 wontfix, firefox63 fixed)
RESOLVED
FIXED
Firefox 63
People
(Reporter: sebastian, Assigned: petru)
References
Details
Attachments
(2 files)
If you are running a robocop test from the IDE and did not run "robocop --serve" the following exception is thrown:
> java.lang.RuntimeException: No log file specified!
> at org.mozilla.gecko.FennecNativeDriver.log(FennecNativeDriver.java:354)
> at org.mozilla.gecko.FennecNativeDriver.log(FennecNativeDriver.java:349)
> at org.mozilla.gecko.FennecNativeDriver.getFile(FennecNativeDriver.java:287)
> at org.mozilla.gecko.tests.BaseRobocopTest.setUp(BaseRobocopTest.java:154)
> at org.mozilla.gecko.tests.BaseTest.setUp(BaseTest.java:100)
> at org.mozilla.gecko.tests.ContentProviderTest.setUp(ContentProviderTest.java:229)
> at org.mozilla.gecko.tests.testDistribution.setUp(testDistribution.java:556)
> at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
> at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
> at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
> at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
It would be nice if we could make this a bit more helpful by printing something like "Are you running this test from an IDE? Did you forget to run robocop --serve"?
Comment 1•7 years ago
|
||
Mass closing Firefox for Android :: Testing bugs with no progress in 2017.
If this bug is important to you, please re-open.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → petru.lingurar
Status: RESOLVED → REOPENED
status-firefox61:
--- → affected
status-firefox62:
--- → affected
status-firefox63:
--- → fix-optional
Resolution: WONTFIX → ---
Assignee | ||
Comment 2•6 years ago
|
||
I've encountered this issue today and after a quick search I got to this ticket which helped shed light on how to properly run instrumented Robocop tests.
It would be nice to avoid searching the Internet for this.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•6 years ago
|
||
I think this error message
> No log file specified!
> (If you are running this test from an IDE don't forget to before run "robocop --serve")
is more descriptive and helpful regarding the issue.
Comment 5•6 years ago
|
||
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195
Needinfo :susheel if you think this bug should be re-triaged.
Priority: -- → P5
Attachment #8995135 -
Flags: review?(sdaswani) → review?(nchen)
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8995135 [details]
Bug 1233706 - Make error message more helpful for instrumented Robocop tests;
https://reviewboard.mozilla.org/r/259610/#review267412
Attachment #8995135 -
Flags: review?(nchen) → review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by shindli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9b025461ceed
Make error message more helpful for instrumented Robocop tests; r=jchen
Keywords: checkin-needed
Comment 8•6 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 7 years ago → 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Updated•6 years ago
|
Updated•6 years ago
|
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•