VirtualBox

Ignore:
Timestamp:
Jan 16, 2017 2:01:48 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112914
Message:

testmanager,testdriver: Adjustments of process info dumping. Don't do it if we're low on memory (gdb uses lots of memory!). Changed the kind from 'log/host/vmprocess' to 'process/report/vm' to better fit with the rest. processGetInfo needs a parameter indicating whether or not to try sudo the operations.

Location:
trunk/src/VBox/ValidationKit/testmanager/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/testboxcontroller.py

    r65321 r65335  
    4646from testmanager.core.testboxstatus     import TestBoxStatusData, TestBoxStatusLogic;
    4747from testmanager.core.testbox           import TestBoxData, TestBoxLogic;
    48 from testmanager.core.testresults       import TestResultLogic;
     48from testmanager.core.testresults       import TestResultLogic, TestResultFileData;
    4949from testmanager.core.testset           import TestSetData, TestSetLogic;
    5050from testmanager.core.systemlog         import SystemLogData, SystemLogLogic;
     
    704704            raise TestBoxControllerException('Invalid MIME type "%s"' % (sMime,));
    705705
    706         if sKind not in [ 'log/release/vm',
    707                           'log/debug/vm',
    708                           'log/release/svc',
    709                           'log/debug/svc',
    710                           'log/release/client',
    711                           'log/debug/client',
    712                           'log/installer',
    713                           'log/uninstaller',
    714                           'log/guest/kernel',
    715                           'log/host/vmprocess',
    716                           'crash/report/vm',
    717                           'crash/dump/vm',
    718                           'crash/report/svc',
    719                           'crash/dump/svc',
    720                           'crash/report/client',
    721                           'crash/dump/client',
    722                           'info/collection',
    723                           'info/vgatext',
    724                           'misc/other',
    725                           'screenshot/failure',
    726                           'screenshot/success',
    727                           #'screencapture/failure',
    728                           ]:
     706        if sKind not in TestResultFileData.kasKinds:
    729707            raise TestBoxControllerException('Invalid kind "%s"' % (sKind,));
    730708
  • trunk/src/VBox/ValidationKit/testmanager/core/testresults.py

    r65321 r65335  
    401401    ksKind_LogUninstaller       = 'log/uninstaller';
    402402    ksKind_LogGuestKernel       = 'log/guest/kernel';
    403     ksKind_LogHostVmProcess     = 'log/host/vmprocess';
     403    ksKind_ProcessReportVm      = 'process/report/vm';
    404404    ksKind_CrashReportVm        = 'crash/report/vm';
    405405    ksKind_CrashDumpVm          = 'crash/dump/vm';
     
    413413    ksKind_ScreenshotFailure    = 'screenshot/failure';
    414414    ksKind_ScreenshotSuccesss   = 'screenshot/success';
    415     #kSkind_ScreenCaptureFailure = 'screencapture/failure';
     415    #kskind_ScreenCaptureFailure = 'screencapture/failure';
    416416    ## @}
     417
     418    kasKinds = [
     419        ksKind_LogReleaseVm,
     420        ksKind_LogDebugVm,
     421        ksKind_LogReleaseSvc,
     422        ksKind_LogRebugSvc,
     423        ksKind_LogReleaseClient,
     424        ksKind_LogDebugClient,
     425        ksKind_LogInstaller,
     426        ksKind_LogUninstaller,
     427        ksKind_LogGuestKernel,
     428        ksKind_ProcessReportVm,
     429        ksKind_CrashReportVm,
     430        ksKind_CrashDumpVm,
     431        ksKind_CrashReportSvc,
     432        ksKind_CrashDumpSvc,
     433        ksKind_CrashReportClient,
     434        ksKind_CrashDumpClient,
     435        ksKind_InfoCollection,
     436        ksKind_InfoVgaText,
     437        ksKind_MiscOther,
     438        ksKind_ScreenshotFailure,
     439        ksKind_ScreenshotSuccesss,
     440        #kskind_ScreenCaptureFailure,
     441    ];
    417442
    418443    kasAllowNullAttributes      = [ 'idTestSet', ];
Note: See TracChangeset for help on using the changeset viewer.

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