Closed
Bug 644309
Opened 13 years ago
Closed 13 years ago
Improve logging of executed commands for better failure discovery
Categories
(Mozilla QA Graveyard :: Mozmill Crowd Extension, defect)
Mozilla QA Graveyard
Mozmill Crowd Extension
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronmt, Assigned: whimboo)
References
Details
Attachments
(1 file)
1.87 KB,
patch
|
aaronmt
:
review+
|
Details | Diff | Splinter Review |
On Linux (Ubuntu 10.10), I am unable to start a test run. The phase at which I see this error is after cloning mozmill-automation: requesting all changes adding changesets adding manifests adding file changes added 1179 changesets with 4172 changes to 479 files (+3 heads) updating to branch default 198 files updated, 0 files merged, 0 files removed, 0 files unresolved No option 'SourceRepository' in section: 'App' *** Removing repository '/tmp/tmpeqetL6.mozmill-tests' In the extension's console, I see: The log file "/home/aaronmt/Desktop/testrun.log" could not be read. setup.sh has no issue running on its own
Reporter | ||
Comment 1•13 years ago
|
||
For some reason it cant load the logfile because the file is not being created
Reporter | ||
Updated•13 years ago
|
Summary: Unable to start a run, error 'The log file could not be read.' → Log file is not created on Linux, error: 'The log file could not be read.' during attempt to load
Assignee | ||
Comment 2•13 years ago
|
||
Which build of Firefox are you using?
Reporter | ||
Comment 3•13 years ago
|
||
On my ubuntu VM I was using release 4.0
Assignee | ||
Comment 4•13 years ago
|
||
This patch adds a logging message to the Error Console, which shows up the exact command which gets executed.
Reporter | ||
Comment 5•13 years ago
|
||
Comment on attachment 521325 [details] [diff] [review] Patch v1 Works for me, example output of the cmd MozMill Crowd: Executing: '/home/aaronmt/Desktop/mozmill-env/run.sh python /home/aaronmt/Desktop/mozmill-automation/testrun_endurance.py --repository=https://hg.mozilla.org/qa/mozmill-tests/ --logfile=/home/aaronmt/Desktop/testrun.log --screenshot-path=/home/aaronmt/Desktop/screenshots --iterations=1 --delay=0.1 /usr/lib/firefox-4.0/firefox-bin'
Attachment #521325 -
Flags: review?(aaron.train) → review+
Assignee | ||
Comment 6•13 years ago
|
||
The problem here is that Ubuntu modifies the application.ini file and removes the necessary references to the SourceRepository which we need to identify the branch we are working on correctly. We can't do anything against that and would have to find a way to gracefully workaround that issue if possible. For now lets take this patch and make it easier to investigate failures like those.
OS: Linux → All
Hardware: x86 → All
Summary: Log file is not created on Linux, error: 'The log file could not be read.' during attempt to load → Improve logging of executed commands for better failure discovery
Assignee | ||
Comment 7•13 years ago
|
||
Landed as: https://github.com/whimboo/mozmill-crowd/commit/10a8b2a478b647b2abad0c9c9661bf726056d9a0
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•