-
Notifications
You must be signed in to change notification settings - Fork 221
Closed
Description
I might just misunderstand the workflow, but I have a problem where the ConsoleSummary object crashes when I have a skipped phase.
I have a test phase that does not apply to all devices and I therefore have a conditional SKIP to hinder the phase to be run on these devices. Because of this, it seems like no outcome details are stored from the phase and I therefor get an IndexError in the ConsloeSummary when it tries to access these in line 73.
68 if not phase_result: # Timeout.
69 output_lines.append('timeout phase: %s [ran for %.2f sec]' %
70 (phase.name, phase_time_sec))
71 elif 'CONTINUE' not in str(phase_result): # Exception.
72 output_lines.append('%sexception type: %s' %
73 (self.indent, record.outcome_details[0].code))Am I misusing the SKIP phase result or should this be handled by the ConsloeSummary?
JackNewman12 and lalten
Metadata
Metadata
Assignees
Labels
No labels