Activity log for bug #1180124

Date Who What changed Old value New value Message
2013-05-14 21:31:41 Francis Ginther bug added bug
2013-05-14 21:35:09 Francis Ginther description We're seeing these failures in the daily-release testing when running python-autopilot-tests [1]: Traceback (most recent call last): File "/usr/bin/autopilot", line 41, in <module> from platform import node ImportError: cannot import name node I instrumented /usr/bin/autopilot and when this happens, sys.path is: sys.path: ['/usr/bin', '/usr/lib/python2.7/dist-packages/autopilot', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol'] And an import of platform gives: dir platform: ['_PlatformDetector', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_get_property_file', '_parse_build_properties_file', 'exists', 'image_codename', 'model'] This is because '/usr/lib/python2.7/dist-packages/autopilot' is second in the search path, before the python libs. I think this happens as a result of the autopilot tests creating a test script and running autopilot during the autopilot run. [1] - https://jenkins.qa.ubuntu.com/job/ps-generic-autopilot-release-testing/365/label=autopilot-intel/artifact/results/artifacts/ap_test_debug_log.txt We're seeing these failures in the daily-release testing when running python-autopilot-tests [1]: Traceback (most recent call last):   File "/usr/bin/autopilot", line 41, in <module>     from platform import node ImportError: cannot import name node I instrumented /usr/bin/autopilot and when this happens, sys.path is: sys.path: ['/usr/bin', '/usr/lib/python2.7/dist-packages/autopilot', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol'] And an import of platform gives: dir platform: ['_PlatformDetector', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_get_property_file', '_parse_build_properties_file', 'exists', 'image_codename', 'model'] This is because '/usr/lib/python2.7/dist-packages/autopilot' is second in the search path, before the python libs. I think this happens as a result of the autopilot tests creating a test script and running autopilot during the autopilot run. [1] - https://jenkins.qa.ubuntu.com/job/ps-generic-autopilot-release-testing/365/label=autopilot-intel/artifact/results/artifacts/ap_test_debug_log.txt [Reproduce] Run python-autopilot-tests from the raring package.
2013-05-15 04:41:18 Thomi Richards autopilot: status New Triaged
2013-05-15 04:41:22 Thomi Richards autopilot: importance Undecided Critical
2013-05-15 04:41:24 Thomi Richards autopilot: milestone 1.3.1
2013-05-15 05:25:30 Launchpad Janitor branch linked lp:~thomir/autopilot/fix-1180124
2013-05-15 05:25:39 Thomi Richards autopilot: status Triaged In Progress
2013-05-15 05:25:41 Thomi Richards autopilot: assignee Thomi Richards (thomir)
2013-05-15 07:11:26 PS Jenkins bot autopilot: status In Progress Fix Committed
2013-06-07 13:11:17 Launchpad Janitor autopilot (Ubuntu): status New Fix Released
2013-09-25 03:00:49 Thomi Richards autopilot: status Fix Committed Fix Released
2014-12-05 06:05:04 Rolf Leggewie autopilot (Ubuntu Raring): status New Won't Fix