Q7

Remove Q7 Messages from AUT log.

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.10
  • Fix Version/s: 1.3.13
  • Component/s: Runtime
  • Labels:
  • Test Mode:
    Manual

Description

Customer ticket: http://xored.freshdesk.com/helpdesk/tickets/962

While running Q7 Tests by maven plugin on a Windows PC we get the following warning message on the error log view.
----->>> Waiting for Jobs during execution: click -----<<<< 

Additional info in the log file:
working time: 10009(ms)

That's why some tests fail when verifying that the error log view has to be empty.

Activity

Hide
vasily.loginov added a comment - 19/Jun/14 4:43 PM - edited

UIJobCollector puts messages to the AUT log. Need to implement message putting to the Reporting infrastructure using ReportManager/INodeBuilder classes.

There are two possible ways to do so:

  • Use events (INodeBuilder.createEvent(Event))
  • Add a new report node.

Important classes (in addition to the specified above):

  • org.eclipse.rcptt.ui.launching.DetailsDialog.generateContent() - generates content using SimpleReportGenerator.
  • org.eclipse.rcptt.ctx.group.impl.GroupContextProcessor.apply(Context, ISession) - contains the right way to use ReportManager/INodeBuilder.

There are reports in agents and runner also. These reports should also use the new approach.

Show
vasily.loginov added a comment - 19/Jun/14 4:43 PM - edited UIJobCollector puts messages to the AUT log. Need to implement message putting to the Reporting infrastructure using ReportManager/INodeBuilder classes. There are two possible ways to do so:
  • Use events (INodeBuilder.createEvent(Event))
  • Add a new report node.
Important classes (in addition to the specified above):
  • org.eclipse.rcptt.ui.launching.DetailsDialog.generateContent() - generates content using SimpleReportGenerator.
  • org.eclipse.rcptt.ctx.group.impl.GroupContextProcessor.apply(Context, ISession) - contains the right way to use ReportManager/INodeBuilder.
There are reports in agents and runner also. These reports should also use the new approach.
Vasili Gulevich made changes - 19/Jun/14 5:45 PM
Field Original Value New Value
Assignee Ivan Inozemtsev [ komaz ] Vasily Loginov [ vasily.loginov ]
Vasili Gulevich made changes - 19/Jun/14 5:45 PM
Description Customer ticket: http://xored.freshdesk.com/helpdesk/tickets/962 Customer ticket: http://xored.freshdesk.com/helpdesk/tickets/962

{code}
While running Q7 Tests by maven plugin on a Windows PC we get the following warning message on the error log view.
----->>> Waiting for Jobs during execution: click -----<<<<

Additional info in the log file:
working time: 10009(ms)

That's why some tests fail when verifying that the error log view has to be empty.
{code}
Hide
vasily.loginov added a comment - 25/Jun/14 3:30 PM - edited

Found existing org.eclipse.rcptt.sherlock.core.reporting.ReportBuilder.getLogs(Node, LoggingCategory) function. Used it for saving logs in report.

Added log reporting into execution details of RCPTT (repo: xored/rcptt, branch feature/uijobcollector-messaging-refactoring)

Added log reporting into runner html report (repo: q7, branch feature/runner-html-report-logs)

Added mock-up of the problem: platform/resources/Hanging Jobs. The following test should help to reproduce the issue:

with [get-view "Q7 Quality Mockups"] {
    get-tree | select "platform/resources/Hanging Jobs"
    with [get-group "Hanging Jobs"] {
        get-editbox -after [get-label "Hang Timeout (ms):"] | set-text 25000
		get-combo -after [get-label "Hang Type:" -after [get-label "Hang Timeout (ms):"]] | select Schedule
	    with [get-button "Start New Job!"] {
	        click
	    }
    }
}

The resulting message in Error Log (or in the execution details) should be something like this:

--->>> Waiting timeout exceed [...]

Assigning to Vasily the First for merging

Show
vasily.loginov added a comment - 25/Jun/14 3:30 PM - edited Found existing org.eclipse.rcptt.sherlock.core.reporting.ReportBuilder.getLogs(Node, LoggingCategory) function. Used it for saving logs in report. Added log reporting into execution details of RCPTT (repo: xored/rcptt, branch feature/uijobcollector-messaging-refactoring) Added log reporting into runner html report (repo: q7, branch feature/runner-html-report-logs) Added mock-up of the problem: platform/resources/Hanging Jobs. The following test should help to reproduce the issue:
with [get-view "Q7 Quality Mockups"] {
    get-tree | select "platform/resources/Hanging Jobs"
    with [get-group "Hanging Jobs"] {
        get-editbox -after [get-label "Hang Timeout (ms):"] | set-text 25000
		get-combo -after [get-label "Hang Type:" -after [get-label "Hang Timeout (ms):"]] | select Schedule
	    with [get-button "Start New Job!"] {
	        click
	    }
    }
}
The resulting message in Error Log (or in the execution details) should be something like this:
--->>> Waiting timeout exceed [...]
Assigning to Vasily the First for merging
Vasili Gulevich made changes - 25/Jun/14 4:21 PM
Status Open [ 1 ] In Progress [ 3 ]
Hide
Vasili Gulevich added a comment - 25/Jun/14 6:51 PM

Merged into RCPTT repository.
Runner is still not merged.

Show
Vasili Gulevich added a comment - 25/Jun/14 6:51 PM Merged into RCPTT repository. Runner is still not merged.
Vasili Gulevich made changes - 25/Jun/14 6:51 PM
Assignee Vasili Gulevich [ vasili.gulevich ] Vasily Loginov [ vasily.loginov ]
Vasili Gulevich made changes - 30/Jul/14 12:06 PM
Assignee Vasily Loginov [ vasily.loginov ] Vasili Gulevich [ vasili.gulevich ]
Vasili Gulevich made changes - 02/Aug/14 10:44 AM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Vasili Gulevich made changes - 11/Nov/14 5:02 PM
Link This issue is related to RCPTT-22 [ RCPTT-22 ]
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open In Progress In Progress
20d 9m 1 Vasili Gulevich 25/Jun/14 4:21 PM
In Progress In Progress Resolved Resolved
37d 18h 23m 1 Vasili Gulevich 02/Aug/14 10:44 AM

People

Vote (0)
Watch (0)

Dates

  • Created:
    05/Jun/14 4:12 PM
    Updated:
    11/Nov/14 5:02 PM
    Resolved:
    02/Aug/14 10:44 AM