873be60ec6
Merge remote-tracking branch 'upstream/dev' into dev
2022-10-23 13:33:42 -07:00
2706d1a9a5
Show failed SMART attributes during disk tests
2022-10-23 13:18:43 -07:00
26022f6011
Fix I/O benchmark graph uploads
...
Addresses issue #22
2022-10-08 22:07:27 -07:00
f1e29cd0c8
Only call gpt under macOS
2022-10-08 19:30:05 -07:00
a10ec04a3b
Merge remote-tracking branch 'upstream/dev' into dev
2022-09-24 19:59:33 -07:00
f008546565
Avoid crashing if a device disconnects mid-diags
2022-09-24 19:58:41 -07:00
4b269cc120
Skip disk utilization checks for small devices
2022-05-21 20:20:57 -07:00
8c67830345
Add disk volume utilization test
...
Addresses issue #19
2022-05-21 19:43:47 -07:00
7ffbcc83fa
Move HW diagnostic osTicket functions to new file
2022-05-21 18:16:40 -07:00
4ffd06235e
Merge remote-tracking branch 'upstream/dev' into dev
2022-05-14 18:02:05 -07:00
5fc5cda86d
Avoid adding duplicate attribute failure notes
2022-05-14 17:51:43 -07:00
0ecc4d4146
Add test mode to Hardware Diagnostics
...
Addresses issue #192
2022-05-14 17:48:04 -07:00
47308c1508
Allow non-integer number of minute countdowns
2022-05-14 16:19:18 -07:00
7bcd650d25
Merge remote-tracking branch 'upstream/dev' into dev
...
Includes a lot of updates to support the new split wk/hw setup.
2022-05-01 19:29:53 -07:00
2585ed584c
Refactor disk safety checks
2022-04-18 09:21:29 -07:00
95cd3b645d
Remove SMARTSelfTestInProgressError sections
...
Going forward this is a non-blocking error.
2022-04-11 16:50:21 -06:00
af8b2b7dd3
Refactor SMART self-test sections
2022-04-08 19:19:23 -06:00
41b4ffd9fb
Cleanup pylint sections
2022-04-08 18:38:55 -06:00
312df1ee9d
Refactor import logic for wk.hw.diags
2022-04-08 15:38:03 -06:00
20f91f01d1
Add type hints to hardware functions
2022-04-06 19:08:23 -06:00
46eb737dc8
Move SMART functions to their own file
2022-04-06 16:22:58 -06:00
99dd7661d4
Split hardware diagnostics into multiple files
2022-04-05 18:11:06 -06:00
fc2bb07d11
Track test groups as list instead of a dict
...
By only including selected tests we can skip checking for the
enabled/disabled status. This will also simplify the process
of disabling future tests for a disk if a failure is detected.
2022-04-05 14:45:14 -06:00
5ffa6d8261
Replace references to details with attributes
2022-04-04 18:58:45 -06:00
8582046948
Update HW diags and ddrescue to use new HW classes
2022-04-04 18:31:52 -06:00
487bfba2e5
Skip updating disk checkboxes if no disks present
...
Addresses issue #6
2022-02-21 00:46:01 -07:00
7dc64fb73b
Merge remote-tracking branch 'upstream/dev' into dev
2021-12-14 15:34:27 -07:00
a19714d735
Skip CPU tests by default for TestStations
...
Addresses #179
2021-12-14 14:08:22 -07:00
af6119feb5
Fix more pylint warnings
2021-09-30 17:48:10 -06:00
c747b66455
Merge remote-tracking branch 'upstream/dev' into dev
2021-09-30 17:42:31 -06:00
90fb97ad91
Fix various pylint warnings
2021-09-27 21:48:11 -06:00
29dc4694b4
Merge remote-tracking branch 'upstream/dev' into dev
2021-06-23 23:36:03 -06:00
9c5767f71f
Update CPU testing sections
2021-06-23 23:33:45 -06:00
8e0fdf641b
Retest temps with sysbench if Prime95 runs too hot
...
If the CPU reaches the failing temps during Prime95 then sysbench will be
run to emulate a less artificial workload. The both the overall and sysbench
max temps are recorded and shown in the results.
Added new option to track an alternate max temp value in wk.hw.sensors.
This was needed so show two different max temps recorded during CPU testing.
Sysbench was added to the Linux package list and is compiled for macOS.
Without manually compiling the package it brings in way too many dependencies
to support SQL DB testing (which we don't need).
2021-06-17 03:16:34 -06:00
c90bc0ef37
Merge remote-tracking branch 'upstream/dev' into dev
2021-04-11 15:32:16 -06:00
535455813c
Use the new command name for pipes.sh
2021-04-11 15:30:32 -06:00
c6ca5228ac
Merge remote-tracking branch 'upstream/dev' into dev
2021-04-11 15:28:27 -06:00
b047b28f30
Fix typo
2021-04-11 15:27:51 -06:00
bed7e79758
Add questionable argument to hw-diags
...
I, the author of this script, strongly recommend against using this!
References issue #139
2021-04-09 04:15:20 -06:00
4b956cb488
Disable benchmarks only for smaller USB drives
...
Addresses issue #128
2021-04-09 03:51:13 -06:00
a42d5e06f4
Merge remote-tracking branch 'upstream/dev' into dev
2021-04-09 03:08:19 -06:00
66bf189e55
Disable benchmark tests on surface scan failures
2021-04-09 03:02:28 -06:00
b3a667641d
Show failed attributes during surface scans
2021-04-09 02:29:06 -06:00
ce8dddd9b7
Include note if attributes fail mid-diagnostics
2021-04-09 02:27:11 -06:00
d0b8b3ad57
Add even more pylint cleanup fixes
2021-04-09 00:18:18 -06:00
af09772d67
Merge remote-tracking branch 'upstream/dev' into dev
2021-04-09 00:16:41 -06:00
812fd15011
Add more pylint cleanup fixes
2021-04-09 00:15:59 -06:00
a5766a8a1e
Avoid more possibles crashes when uploading graphs
2021-04-06 17:27:44 -06:00
86f0f14c34
Merge remote-tracking branch 'upstream/dev' into dev
2021-04-06 17:06:30 -06:00
9478000cdf
Add Clock Sync option to HW-Diags menu under macOS
2021-04-06 16:57:31 -06:00
61f2b00a2a
Export SMC data in HW Diagnostics
...
Addresses issue #154
2021-04-06 15:53:19 -06:00
641695a2be
Avoid crash if benchmark image fails to generate
2021-04-01 23:22:04 -06:00
1e09ddc9ff
Merge remote-tracking branch 'upstream/dev' into dev
2021-03-25 21:28:50 -06:00
9818d5196f
Export state objects as pickle files
...
This should better ensure debugging an issue will have all the relevant
info at the ready.
2021-03-25 21:15:56 -06:00
2Shirt
080383d9a9
Fix bad call to mount_disk()
2021-03-19 03:37:40 -06:00
2Shirt
207c52663b
Allow mounting of protected macOS partitions
...
Renamed mount_volumes() to mount_disk() to better match diskutil naming.
Dropped read_write from mount_disk() since it isn't used
2021-03-18 22:23:07 -06:00
2Shirt
7c1a9f4bdc
Fix osTicket volume report
2021-03-18 21:52:29 -06:00
2Shirt
2b98eeabca
Include GPT info when saving hw-diaqs debug data
2021-03-18 21:41:59 -06:00
2Shirt
908ffdc999
Add mount_volumes() to wk.os.mac
...
Supports both CoreStorage and APFS containers
2021-03-18 03:23:09 -06:00
2Shirt
bc3f6946f7
Add support for macOS High Sierra Base Images
2021-03-17 01:23:12 -06:00
2Shirt
4dc5c51beb
Include Mac serial number in OST Post
2021-03-13 03:20:51 -07:00
c1970b8c23
Merge remote-tracking branch 'upstream/dev' into dev
2020-01-30 14:09:13 -07:00
e8522bf2bb
Added pause if fan speed can't be set under macOS
...
* This can be removed after a bit of real-world testing
2020-01-30 14:08:05 -07:00
c8f95d866a
Typo fix
2020-01-30 13:24:49 -07:00
86f0f1e5fd
Avoid rare crash concerning disk attributes
...
* Crash would occur under these circumstances:
* Disk Attributes test was not selected
* One or more other disk tests were selected
* A non-blocking attribute error was detected
2020-01-30 13:16:48 -07:00
98032a0fed
Removed stale TODO statements
2020-01-28 19:00:47 -07:00
1a26aead44
Network test working under macOS
2020-01-28 18:38:33 -07:00
869293ced9
Merge remote-tracking branch 'upstream/dev' into dev
2020-01-28 18:30:35 -07:00
f14f5e0d72
Adjusted logging
2020-01-28 18:21:24 -07:00
5cc0456f40
Improve performance under macOS by using rdisks
2020-01-28 18:12:53 -07:00
fe50ce8994
Use new Mac fan sections in HW Diags
2020-01-28 18:08:26 -07:00
f7c6d5d3c3
Only include graph links in osTicket posts
2020-01-22 20:10:17 -07:00
fd8f46be13
Don't export/upload graphs for skipped tests
...
* e.g. USB device which USB benchmarks disabled
2020-01-22 19:51:01 -07:00
701d647a91
Added I/O Benchmark PNG graph sections
2020-01-22 19:19:54 -07:00
8643ec2c7c
Fixed setting CPU max temp in osTicket
2020-01-22 19:19:00 -07:00
5f9aec8233
Merge remote-tracking branch 'upstream/dev' into dev
2020-01-22 15:38:20 -07:00
5cbb86abd8
Clear screen before starting diags
2020-01-22 15:37:26 -07:00
0348d708d9
Merge remote-tracking branch 'upstream/dev' into dev
2020-01-22 11:29:18 -07:00
bfc17942cd
Added header to SMART self-test output
...
* Matches badblocks header
* Also added Initializing message
2020-01-22 11:22:47 -07:00
e92ceb070c
Adjusted I/O Benchmark screen layout
2020-01-22 11:21:49 -07:00
e09216012f
List failed tests with overall result in osTicket
2020-01-20 19:08:10 -07:00
710fcc29dc
Catch non-blocking SMART errors between tests
...
* This doesn't block further tests, just ensures Disk Attributes fails
2020-01-20 18:31:29 -07:00
daffb606ee
Merge remote-tracking branch 'upstream/dev' into dev
2020-01-19 16:00:29 -07:00
1b473b1ab0
Fix pipes when run from hw-diags
2020-01-19 15:14:03 -07:00
5fbd33e845
Fixed HDD checkbox logic
2020-01-17 16:14:29 -07:00
d3597f339e
Added volume report to hw diags
2020-01-16 20:29:07 -07:00
65284860fb
Adjusted HW Diag main menu
2020-01-13 18:40:48 -07:00
47b4ab6636
Merge remote-tracking branch 'upstream/dev' into dev
2020-01-13 17:35:26 -07:00
d8617df871
Adjusted self-test results formatting
2020-01-13 15:45:07 -07:00
b9d0527c52
Added osTicket checkbox sections
2020-01-11 21:23:49 -07:00
9c12dacfb2
Post CPU/Disk results to osTicket
2020-01-11 20:31:39 -07:00
96b755be49
Added osTicket report sections
2020-01-11 19:54:07 -07:00
fef8323282
Pass Disk Attribute test for devices lacking SMART
2020-01-11 19:53:34 -07:00
ea9a9f9a46
Pass Disk Attribute test for devices lacking SMART
...
* Since these can't fail I think passing them makes sense
2020-01-11 19:51:57 -07:00
a573a7e1c3
Reset top_text before returning to main menu
2020-01-11 16:59:42 -07:00
ceee0495eb
Started integrating osTicket functions in HW Diags
2020-01-10 18:50:21 -07:00
0a2976d9ce
Set pass/fail attributes in disk_attribute_check()
2020-01-08 19:02:09 -07:00
c72372d55c
Replaced platform.system() with PLATFORM var
...
* Better?
2019-12-13 19:01:26 -07:00
b746cda6e7
Bugfix
2019-12-12 18:46:44 -07:00
3733da17fc
Moved get_disks() from wk/hw/diags to wk/hw/obj
2019-12-12 18:36:57 -07:00