Suspend and automatic resume
(log,
zip)
|
INTERRUPTED |
Test reported status but did not finish
Runner error occurred: Timeout reached
Original status: ERROR
{'whiteboard': '', 'class_name': 'Suspend', 'time_end': -1, 'paused': False, 'time_start': -1, 'early_status': True, 'basedir': '/usr/share/fedora-laptop-testing/tests', 'time_elapsed': 257769.93727493286, 'params': <AvocadoParams *: * ([]),0: / (['//']),1: r ([]),2: u ([]),3: n ([])>, 'job_logdir': '/var/lib/fedora-laptop-testing/job-results/job-2017-11-03T08.37-80fe42b', 'job_unique_id': '80fe42b59a9a2a6324c38f875d070d7c162e5ce9', 'srcdir': '/var/tmp/avocado_5v2P9F/14-_usr_share_fedora-laptop-testing_tests_suspend.py_Suspend.test/src', 'logdir': '/var/lib/fedora-laptop-testing/job-results/job-2017-11-03T08.37-80fe42b/test-results/14-_usr_share_fedora-laptop-testing_tests_suspend.py:Suspend.test', 'status': 'ERROR', 'workdir': '/var/tmp/avocado_5v2P9F/14-_usr_share_fedora-laptop-testing_tests_suspend.py_Suspend.test', 'text_output': '09:26:34 INFO | Running \'loginctl unlock-sessions\'\n09:26:34 INFO | Command \'loginctl unlock-sessions\' finished with 0 after 0.00535297393799s\n09:26:34 INFO | Running \'loginctl terminate-user fedora-laptop-testing\'\n09:26:34 DEBUG| [stderr] Could not terminate user: No user 985 known or logged in\n09:26:34 INFO | Command \'loginctl terminate-user fedora-laptop-testing\' finished with 1 after 0.00555014610291s\n09:26:35 INFO | Running \'passwd -l fedora-laptop-testing\'\n09:26:35 DEBUG| [stdout] Locking password for user fedora-laptop-testing.\n09:26:35 INFO | Command \'passwd -l fedora-laptop-testing\' finished with 0 after 0.0529968738556s\n09:26:35 DEBUG| [stdout] passwd: Success\n09:26:35 INFO | Running \'passwd -d fedora-laptop-testing\'\n09:26:35 DEBUG| [stdout] Removing password for user fedora-laptop-testing.\n09:26:35 INFO | Command \'passwd -d fedora-laptop-testing\' finished with 0 after 0.0955138206482s\n09:26:35 DEBUG| [stdout] passwd: Success\n09:26:35 INFO | Running \'systemctl stop gdm\'\n09:26:36 INFO | Command \'systemctl stop gdm\' finished with 0 after 0.13117814064s\n09:26:36 INFO | Running \'loginctl terminate-user gdm\'\n09:26:36 INFO | Command \'loginctl terminate-user gdm\' finished with 0 after 0.0207998752594s\n09:26:36 INFO | Running \'systemctl start gdm\'\n09:26:36 INFO | Command \'systemctl start gdm\' finished with 0 after 0.0188357830048s\n09:26:37 INFO | Spawned session subprocess with PID 16171\n09:26:37 INFO | Running \'pgrep -n -U 985 gnome-session\'\n09:26:37 INFO | Command \'pgrep -n -U 985 gnome-session\' finished with 0 after 0.0156798362732s\n09:26:37 DEBUG| [stdout] 16045\n09:26:38 DEBUG| Monitor added event Monitor(SHP, 0x1482, 2880, 1920, scale=2)\n09:26:38 DEBUG| \n09:26:38 DEBUG| (avocado:16171): Gtk-WARNING **: gtkwidget.c:8563: widget not within a GtkWindow\n09:26:40 INFO | Session and main GUI initialized\n08:02:43 ERROR| \n08:02:43 ERROR| Reproduced traceback from: /usr/lib/python2.7/site-packages/avocado/core/test.py:596\n08:02:43 ERROR| Traceback (most recent call last):\n08:02:43 ERROR| File "/usr/lib/python2.7/site-packages/fed_laptoptest/test.py", line 32, in test\n08:02:43 ERROR| res = func(self)\n08:02:43 ERROR| File "/usr/share/fedora-laptop-testing/tests/suspend.py", line 39, in test\n08:02:43 ERROR| suspend(10)\n08:02:43 ERROR| File "/usr/lib/python2.7/site-packages/fed_laptoptest/systemctl.py", line 68, in suspend\n08:02:43 ERROR| subprocess.call([\'rtcwake\', \'-s\', str(sleeptime), \'-m\', \'mem\'])\n08:02:43 ERROR| File "/usr/lib64/python2.7/subprocess.py", line 168, in call\n08:02:43 ERROR| return Popen(*popenargs, **kwargs).wait()\n08:02:43 ERROR| File "/usr/lib64/python2.7/subprocess.py", line 1077, in wait\n08:02:43 ERROR| pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)\n08:02:43 ERROR| File "/usr/lib64/python2.7/subprocess.py", line 121, in _eintr_retry_call\n08:02:43 ERROR| return func(*args)\n08:02:43 ERROR| File "/usr/lib/python2.7/site-packages/avocado/core/runner.py", line 312, in sigterm_handler\n08:02:43 ERROR| raise RuntimeError("Test interrupted by SIGTERM")\n08:02:43 ERROR| RuntimeError: Test interrupted by SIGTERM\n08:02:43 ERROR| \n08:02:43 DEBUG| Local variables:\n08:02:43 DEBUG| -> self <class \'suspend.Suspend\'>: 14-/usr/share/fedora-laptop-testing/tests/suspend.py:Suspend.test\n08:02:43 DEBUG| -> exc <type \'NoneType\'>: None\n08:02:43 DEBUG| -> func <type \'function\'>: <function test at 0x7f4a7f0dd398>\n08:02:43 INFO | The user provided no notes.\n08:02:43 INFO | Running \'passwd -l fedora-laptop-testing\'\n08:02:44 DEBUG| [stdout] Locking password for user fedora-laptop-testing.\n08:02:44 DEBUG| [stdout] passwd: Success\n08:02:44 INFO | Command \'passwd -l fedora-laptop-testing\' finished with 0 after 0.207100868225s\n08:02:44 INFO | Running \'loginctl terminate-user fedora-laptop-testing\'\n08:02:44 INFO | Command \'loginctl terminate-user fedora-laptop-testing\' finished with 0 after 0.135354042053s\n08:02:44 INFO | Running \'systemctl stop gdm\'\n08:02:44 INFO | Command \'systemctl stop gdm\' finished with 0 after 0.38653588295s\n08:02:44 INFO | Running \'loginctl terminate-user gdm\'\n08:02:44 INFO | Command \'loginctl terminate-user gdm\' finished with 0 after 0.0187828540802s\n08:02:44 INFO | Running \'systemctl start gdm\'\n08:02:44 INFO | Command \'systemctl start gdm\' finished with 0 after 0.0209989547729s\n08:02:44 ERROR| Traceback (most recent call last):\n\n08:02:44 ERROR| File "/usr/lib/python2.7/site-packages/avocado/core/test.py", line 667, in _run_avocado\n raise test_exception\n\n08:02:44 ERROR| RuntimeError: Test interrupted by SIGTERM\n\n08:02:44 ERROR| ERROR 14-/usr/share/fedora-laptop-testing/tests/suspend.py:Suspend.test -> RuntimeError: Test interrupted by SIGTERM\n08:02:44 INFO | \n', 'running': False, 'logfile': '/var/lib/fedora-laptop-testing/job-results/job-2017-11-03T08.37-80fe42b/test-results/14-_usr_share_fedora-laptop-testing_tests_suspend.py:Suspend.test/debug.log', 'fail_reason': 'Test reported status but did not finish', 'name': '14-/usr/share/fedora-laptop-testing/tests/suspend.py:Suspend.test', 'traceback': 'Traceback not available', 'fail_class': 'type', 'timeout': None, 'paused_msg': ''} |