Activity log for bug #1420949

Date Who What changed Old value New value Message
2015-02-11 20:20:54 Leo Arias bug added bug
2015-05-18 20:26:49 Brendan Donegan autopilot: status New In Progress
2015-05-18 20:26:54 Brendan Donegan autopilot: status In Progress Fix Committed
2015-05-18 20:27:13 Brendan Donegan autopilot: assignee Canonical Platform QA Team (canonical-platform-qa)
2015-05-22 16:49:27 Christopher Lee description The -v option in autopilot run should print logged messages, but not too many. Currently, with -v everything in debug is printed, which is too much. For example, when making a finger move, we get: [...] 19:54:21.865 DEBUG _uinput:414 - Moving pointing 'finger' to position 270,116. 19:54:21.866 DEBUG _uinput:419 - The pointing 'finger' is now at position 270,116. 19:54:21.878 DEBUG _uinput:414 - Moving pointing 'finger' to position 270,110. 19:54:21.880 DEBUG _uinput:419 - The pointing 'finger' is now at position 270,110. 19:54:21.891 DEBUG _uinput:414 - Moving pointing 'finger' to position 270,104. 19:54:21.893 DEBUG _uinput:419 - The pointing 'finger' is now at position 270,104. [...] That's one line per pixel. I think that -v should only print the info logging level. That way the test writer decides what goes into the -v log, and we can use it to put information about the high level user actions that the test executes, like "drag from the bottom", instead of the many finger moves. Then, -vv should be the current -v, printing also the debug level in case we need extra information. And we can add a -vvv to be the new -vv. The -v option in autopilot run should print logged messages, but not too many. Currently, with -v everything in debug is printed, which is too much. For example, when making a finger move, we get: [...] 19:54:21.865 DEBUG _uinput:414 - Moving pointing 'finger' to position 270,116. 19:54:21.866 DEBUG _uinput:419 - The pointing 'finger' is now at position 270,116. 19:54:21.878 DEBUG _uinput:414 - Moving pointing 'finger' to position 270,110. 19:54:21.880 DEBUG _uinput:419 - The pointing 'finger' is now at position 270,110. 19:54:21.891 DEBUG _uinput:414 - Moving pointing 'finger' to position 270,104. 19:54:21.893 DEBUG _uinput:419 - The pointing 'finger' is now at position 270,104. [...] That's one line per pixel. I think that -v should only print the info logging level. That way the test writer decides what goes into the -v log, and we can use it to put information about the high level user actions that the test executes, like "drag from the bottom", instead of the many finger moves. Then, -vv should be the current -v, printing also the debug level in case we need extra information. And we can add a -vvv to be the new -vv. [Impact] * Current logging levels are incorrect and cause a huge amount of un-needed details to be output during normal runs. * justification: Streamlines seeing issues in test run logs * This fix improves the quality of the logging output which is essential for debugging test failures. [Test Case] * To reproduce this bug: - Install the current python3-autopilot (apt-get install python3-autopilot) - run this test (using the following command): $ python3 -m autopilot.run run -v autopilot.tests.functional.test_input_stack.InputStackKeyboardTypingTests.test_text_typing - Observe the abundance of messages similar to: 04:47:46.152 DEBUG _X11:237 - Sending release event for key: ' 04:47:46.188 DEBUG _X11:234 - Sending press event for key: < - With the fixed release there will be no DEBUG level messages. [Regression Potential] * That the logging output is different than expected
2015-06-02 06:26:26 Steve Langasek autopilot (Ubuntu Vivid): status New Fix Committed
2015-06-02 06:26:28 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2015-06-02 06:26:29 Steve Langasek bug added subscriber SRU Verification
2015-06-02 06:26:33 Steve Langasek tags verification-needed
2015-06-08 22:24:41 Christopher Lee tags verification-needed verification-done
2015-06-10 18:20:12 Chris J Arges removed subscriber Ubuntu Stable Release Updates Team
2015-06-10 18:25:22 Launchpad Janitor autopilot (Ubuntu Vivid): status Fix Committed Fix Released
2015-06-18 04:18:22 Christopher Lee autopilot: status Fix Committed Fix Released
2016-08-18 18:43:17 Launchpad Janitor branch linked lp:~ci-train-bot/autopilot/autopilot-ubuntu-yakkety-landing-063