summaryrefslogtreecommitdiff
path: root/src/VBox/ValidationKit/common
Commit message (Collapse)AuthorAgeFilesLines
* ValidationKit/{common/utils.py,testdriver/base.py}: Rework thevboxsync2023-03-211-5/+4
| | | | | | | | | Solaris-specific core file configuration code to back up any existing coreadm(8) changes before modifying the system-wide core file configuration and then restore the original coreadm(8) setup afterwards. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99086 cfe28804-0f27-0410-a406-dd0f0b0b656f
* *.kmk: Applied scm with new indenting of multiline variable/function ↵vboxsync2023-03-181-3/+3
| | | | | | expansions in variable assignments. bugref:10348 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99040 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValidationKit: More work to get it running on arm64, bugref:9898 [fix]vboxsync2023-03-131-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98931 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValidationKit: More work to get it running on arm64, bugref:9898vboxsync2023-03-131-1/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98929 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/utils.py,tdUnitTest1.py: Added iteritems() wrapper to utils and use ↵vboxsync2023-02-201-1/+19
| | | | | | it to iterate keys+values of dictionaries. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98648 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/*.kmk: Automatic scm cleanups. bugref:10348vboxsync2023-02-011-3/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98418 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Copyright year updates by scm.vboxsync2023-01-1712-12/+12
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98103 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Validation Kit: Fixed lots of warnings, based on pylint 2.12.2.vboxsync2022-11-242-14/+14
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97673 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Validation Kit: Solaris core dump name tweaking.vboxsync2022-11-241-5/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97672 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Validation Kit: Use environ.get() instead of getDirEnv() in ↵vboxsync2022-11-231-1/+1
| | | | | | utils.processCollectCrashInfo() [build fix]. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97671 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Validation Kit: Use environ.get() instead of getDirEnv() in ↵vboxsync2022-11-231-1/+1
| | | | | | utils.processCollectCrashInfo(). git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97670 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Validation Kit: Added enabling + collecting crash reporting (core dumps) for ↵vboxsync2022-11-221-2/+37
| | | | | | Solaris hosts. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97658 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/utils.py: Make pylint happy by documenting the newly introduced function.vboxsync2022-10-041-0/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96987 cfe28804-0f27-0410-a406-dd0f0b0b656f
* fixing burnsvboxsync2022-10-031-2/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96973 cfe28804-0f27-0410-a406-dd0f0b0b656f
* fixing typos, getHostOsVersion function, darwin partvboxsync2022-10-031-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96971 cfe28804-0f27-0410-a406-dd0f0b0b656f
* fixing typovboxsync2022-10-031-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96970 cfe28804-0f27-0410-a406-dd0f0b0b656f
* remove extra printvboxsync2022-10-031-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96969 cfe28804-0f27-0410-a406-dd0f0b0b656f
* changes for utils, fixing getHostOsVersion function work for darwinvboxsync2022-10-031-19/+30
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96968 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scm copyright and license note updatevboxsync2022-08-2212-120/+240
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@96407 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Audio/Validation Kit: More code to handle host process execution in a ↵vboxsync2022-03-151-2/+19
| | | | | | separate thread to not block required event processing [build fix, forgot to commit stuff]. bugref:10008 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@94244 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/utils.py,tests: Move crc32_of_file to common/utils.py as ↵vboxsync2022-03-081-31/+48
| | | | | | calcCrc32OfFile, no point in having two copies of it. pylint fixes. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@94123 cfe28804-0f27-0410-a406-dd0f0b0b656f
* IPRT,ValKit,VMMDevTesting.h: Added picoseconds to the test units. bugref:9898vboxsync2022-02-151-1/+16
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@93754 cfe28804-0f27-0410-a406-dd0f0b0b656f
* scm --update-copyright-yearvboxsync2022-01-0112-12/+12
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@93115 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/utils.py: Better processExits for all unix platforms.vboxsync2021-12-131-4/+7
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92889 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/utils.py: Made processExists work better on linux.vboxsync2021-12-131-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92888 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/utils.py: Made processExists work better on linux.vboxsync2021-12-131-1/+4
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92887 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/common/utils.py: Read 'comm' when 'exe' is inaccessible on linux.vboxsync2021-12-131-0/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92882 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit: Some new test units - forgot testmanager. [fix] bugref:10093vboxsync2021-11-091-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92305 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit: Some new test units - forgot testmanager. bugref:10093vboxsync2021-11-091-1/+16
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@92302 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/utils.py: Made the timestamp parser treat the seconds part as ↵vboxsync2020-11-191-1/+1
| | | | | | optional, just like the javascript version of the code does. bugref:9787 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@86919 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/utils.py: Made the timestamp parser treat the seconds part as ↵vboxsync2020-11-191-19/+24
| | | | | | optional, just like the javascript version of the code does. bugref:9787 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@86918 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: Adding whichProgram. bugref:9841vboxsync2020-10-151-0/+28
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@86588 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/webutils.py: Fixed local file handling in downloadFile. bugref:9841vboxsync2020-10-041-1/+8
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@86436 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: add OS type for macOS 10.15 and new placeholders to avoid ↵vboxsync2020-05-271-1/+6
| | | | | | running into testboxscript start failures on future macOS releases git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@84568 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: Added getShortIsoTimestamp and formatShortIsoTimestamp.vboxsync2020-04-061-0/+9
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@83585 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: Added processOutputUnchecked.vboxsync2020-03-251-0/+29
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@83416 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: Added a few functions of parsing and managing iso timestamps.vboxsync2020-03-211-1/+115
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@83357 cfe28804-0f27-0410-a406-dd0f0b0b656f
* Copyright year updates by scm.vboxsync2020-02-0412-12/+12
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82968 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit: time.clock was dropped in 3.8, so stop using it.vboxsync2020-02-041-0/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82966 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: Fix toUnicode method for 2.x.vboxsync2019-12-221-1/+1
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82640 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: Added toUnicode method.vboxsync2019-12-221-0/+18
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@82635 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: Added getPresentCpuCount method. [fix] bugref:9501vboxsync2019-10-041-2/+2
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81112 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: Added getPresentCpuCount method. bugref:9501vboxsync2019-10-041-0/+23
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@81107 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit/vboxinstaller.py,++: Hack for letting vboxinstaller report a 'bad ↵vboxsync2019-08-121-0/+4
| | | | | | testbox' status rather than a simple 'skipped' so vsheriff can more easily spot the problem with stuck drivers. git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@80237 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit: Use IDHCPServer::findLeaseByMAC to resolve VM IP addresses when ↵vboxsync2019-07-201-1/+7
| | | | | | using host-only networking. This enables us to do unattended ubuntu installs w/o GAs. Reenabled newer ubuntu tests where GAs doesn't quite install yet, adding 19.04. bugref:9151 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79908 cfe28804-0f27-0410-a406-dd0f0b0b656f
* common/utils.py: byte compare optimization for 2.x. bugref:9151 bugref:9320vboxsync2019-06-211-3/+37
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79279 cfe28804-0f27-0410-a406-dd0f0b0b656f
* tdAddGuestCtrl.py: More cleanups. Created pathutils.py for dealing with VM ↵vboxsync2019-06-133-0/+115
| | | | | | specific paths. bugref:9151 bugref:9320 git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79132 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit,++: Pylint 2.3.1 adjustments.vboxsync2019-06-111-3/+3
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79092 cfe28804-0f27-0410-a406-dd0f0b0b656f
* ValKit: New pylint version - cleanup in progress.vboxsync2019-06-113-14/+14
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79087 cfe28804-0f27-0410-a406-dd0f0b0b656f
* validationkit/common/utils.py: areBytesEqual adjustmentvboxsync2019-05-121-1/+27
| | | | git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@78472 cfe28804-0f27-0410-a406-dd0f0b0b656f