Bug 1805916 - reboot fails at the end of install - Error in atexit._run_exitfuncs
Summary: reboot fails at the end of install - Error in atexit._run_exitfuncs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Vendula Poncova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: openqa AcceptedFreezeException
Depends On:
Blocks: F32BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2020-02-21 17:25 UTC by Paul Whalen
Modified: 2020-02-26 01:33 UTC (History)
9 users (show)

Fixed In Version: anaconda-32.24.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-26 01:33:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
syslog (549.01 KB, text/plain)
2020-02-21 17:26 UTC, Paul Whalen
no flags Details
storage log (2.75 KB, text/plain)
2020-02-21 17:27 UTC, Paul Whalen
no flags Details
program log (4.07 KB, text/plain)
2020-02-21 17:28 UTC, Paul Whalen
no flags Details
packaging log (183.89 KB, text/plain)
2020-02-21 17:28 UTC, Paul Whalen
no flags Details
anaconda log (43.34 KB, text/plain)
2020-02-21 17:29 UTC, Paul Whalen
no flags Details
dbus log (2.96 KB, text/plain)
2020-02-21 17:29 UTC, Paul Whalen
no flags Details

Description Paul Whalen 2020-02-21 17:25:48 UTC
Description of problem:

Testing Fedora-32-20200221.n.0, system fails to reboot at the end of the installation:

...
Running post-installation scripts
.
Storing configuration files and kickstarts
.
Installation complete. Press ENTER to quit: 
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/dasbus/client/handler.py", line 474, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.8/site-packages/dasbus/client/handler.py", line 485, in _handle_method_error
    raise error
  File "/usr/lib/python3.8/site-packages/dasbus/client/handler.py", line 472, in _get_method_reply
    result = call(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/dasbus/client/handler.py", line 57, in sync_call
    return connection.call_sync(
gi.repository.GLib.Error: g-io-error-quark: The connection is closed (18)

Pane is dead (status 0, Fri Feb 21 16:30:42 2020)

Version-Release number of selected component (if applicable):
anaconda-32.24.1-1.fc32

How reproducible:
Everytime

Steps to Reproduce:
1. Install using any method, hit enter to reboot.

Comment 1 Paul Whalen 2020-02-21 17:26:45 UTC
Created attachment 1664804 [details]
syslog

Comment 2 Paul Whalen 2020-02-21 17:27:16 UTC
Created attachment 1664805 [details]
storage log

Comment 3 Paul Whalen 2020-02-21 17:28:21 UTC
Created attachment 1664806 [details]
program log

Comment 4 Paul Whalen 2020-02-21 17:28:55 UTC
Created attachment 1664807 [details]
packaging log

Comment 5 Paul Whalen 2020-02-21 17:29:25 UTC
Created attachment 1664808 [details]
anaconda log

Comment 6 Paul Whalen 2020-02-21 17:29:54 UTC
Created attachment 1664809 [details]
dbus log

Comment 7 Adam Williamson 2020-02-21 19:14:19 UTC
This is affecting all openQA installer image tests, for 32 and Rawhide. Proposing as a Beta freeze exception at least - I guess we can argue this technically isn't a blocker as the install is complete and if you reboot any other way the installed system should boot, but it obviously looks bad, and it's awkward that it affects openQA (if it doesn't get fixed quickly, I'll have to hack around it).

Comment 8 Adam Williamson 2020-02-22 17:41:24 UTC
I think the most likely culprit here is https://github.com/rhinstaller/anaconda/commit/ee2cfcf0d109296c99316ee7669105a71abdf562 , assigning to Vendula...I'll try and test an anaconda build with that reverted...

Comment 9 Adam Williamson 2020-02-22 23:48:36 UTC
can't really manage to revert that successfully, or grok what it's doing wrong hard enough to fix it. All the dbus stuff is a bit complex to figure out from outside. sorry!

Comment 10 Vendula Poncova 2020-02-23 11:35:34 UTC
Fixed in a pull request: https://github.com/rhinstaller/anaconda/pull/2332

Comment 11 Adam Williamson 2020-02-23 23:52:46 UTC
Thanks vendula! I'm away till Tuesday afternoon without a laptop so I can't test right away, but fix makes sense to me. If we could get it built for rawhide and f32 asap that'd be great, as it'll unblock a lot of openqa tests.

Comment 12 František Zatloukal 2020-02-24 20:36:19 UTC
Discussed during the 2020-02-24 blocker review meeting: [1]

The decision to classify this bug as an AcceptedFreezeException was made:

"We don’t think the counts as a blocker, as by the time it rears it’s ugly little head, the system is already installed, but it looks bad, is limiting automated test coverage, and its fairly trivial to fix."

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2020-02-24/f32-blocker-review.2020-02-24-17.00.log.txt

Comment 13 Adam Williamson 2020-02-26 01:33:14 UTC
Confirmed fixed in Fedora-32-20200225.n.0 , thanks.


Note You need to log in before you can comment on or make changes to this bug.