VirtualBox

Changeset 84226 in vbox


Ignore:
Timestamp:
May 9, 2020 5:39:15 PM (5 years ago)
Author:
vboxsync
Message:

Validation Kit/tdAddBasic1.py: Do bit of diagnosis on failure for the runlevel and facility tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r84224 r84226  
    328328            if not fRc:
    329329                if oTestVm.isLinux():
     330                    reporter.log('Boot log:');
     331                    oTxsSession.syncExec('/bin/journalctl', ('/bin/journalctl', '-b'), fIgnoreErrors = True);
     332                    reporter.log('Loaded processes:');
    330333                    oTxsSession.syncExec('/bin/ps', ('/bin/ps', '-a', '-u', '-x'), fIgnoreErrors = True);
    331                     oTxsSession.syncExec('bin/dmesg', ('/bin/dmesg'), fIgnoreErrors = True);
     334                    reporter.log('Kernel messages:');
     335                    oTxsSession.syncExec('/bin/dmesg', ('/bin/dmesg'), fIgnoreErrors = True);
     336                    reporter.log('Loaded modules:');
     337                    oTxsSession.syncExec('/sbin/lsmod', ('/sbin/lsmod'), fIgnoreErrors = True);
    332338
    333339        return (fRc, oTxsSession);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette