b368b27faa
New project organization
...
* Script work is brought into better focus
* New layout will be used to better package the python scripts
* No hidden folders (they will be hidden at build time)
* All building should be done under setup/
* Avoids ambiguous .bin/.cbin folders at root of project
2019-06-28 18:06:43 -06:00
e798503f6f
Save RAM details to CpuObj
2019-06-12 16:37:04 -06:00
87668c6ad0
Avoid rare crash when uploading results for review
...
* Fixes issue #117
2019-06-11 20:52:45 -06:00
70823d2cd8
Updated HW-Diags and sensor sections
2019-06-04 20:53:34 -06:00
7816602685
4K Alignment checks
2019-06-04 18:40:42 -06:00
7ccd4c6055
BITWISE operators =/= LOGICAL operators
2019-06-04 18:24:01 -06:00
d8024be2c3
Add option to upload hw-diag results for review
2019-04-25 20:55:14 -07:00
896f9e4a05
Explicitly define smartctl tolerance levels
...
* Fixes issue #104
2019-04-25 18:37:17 -07:00
4d9ab2215b
Ensure SMART values are shown for some disks
...
* smartctl can return non-zero if there are errors in the SMART logs
2019-04-08 18:57:38 -07:00
e089dd99a3
Avoid crash when no disks are connected
...
* It was attempting to recheck the NVMe/SMART data for the fake N/A lines
2019-04-02 16:29:09 -07:00
86f81f2720
Prevent updating OVERRIDE to CS
2019-03-16 15:11:42 -06:00
34ef0bfae6
Fail test on SMART self-test timeout
2019-03-13 20:22:28 -06:00
122bbfb157
Added debug mode for HW Diagnostics
...
* Uses alternative major exception
* Saves State, CpuObj, and DiskObj data after traceback
* Uploads the whole LogDir folder (compressed) instead of just the main log
2019-03-12 21:24:06 -06:00
7381547b27
Added functions.json
...
* Uses safer method to get JSON data from a command
* Replaced nearly all uses of json.loads with new get_json_from_command()
* Fixes issue #100
2019-03-12 16:08:21 -06:00
480222c1f2
Adjusted variable name usage for consistency
2019-03-12 15:13:16 -06:00
1d10503b91
Support disks over 4TB in badblocks test
...
* Set read block size to 4KB if disk is 4Kn or 3TB+
* Fixes issue #99
2019-03-11 21:00:26 -06:00
e7d31c21c3
Get disk size in bytes during object creation
...
* Also moved dd calc section into docstring
2019-03-11 20:55:24 -06:00
7f6509d235
Return to HW-Diags menu from safety_check()
2019-03-11 13:26:11 -06:00
7701418e55
Recheck disk attributes after all tests
...
* Should catch errors exposed by badblocks
* Addresses issue #96
2019-03-11 13:25:12 -06:00
7078efe9e7
Adjusted SMART self-test running message
2019-03-11 13:23:56 -06:00
a3d2de92bc
Show CS/NS in quick mode if self-test is running
...
* It still shows the slightly ambiguous message "all tests disabled"
* Addresses issue #96
2019-03-11 12:37:01 -06:00
607d4b1e57
Skip SMART self-test in quick mode
...
* Addresses issue #96
2019-03-11 12:36:33 -06:00
6edfcc9766
Moved SMART self-test code to its own function
...
* Allows for a simpler run_nvme_smart_tests()
* Self-test is now done before the attribute check
* Addresses issue #96
2019-03-11 11:57:29 -06:00
40f269aabd
More cleanup for generate_attribute_report()
2019-03-11 10:52:11 -06:00
a5852d1caa
Major overhaul of NVMe/SMART reporting/testing
...
* Moved all errors/warnings to new nvme_smart_notes var
* Allows the notes to be appended to the attribute report much easier
* Allows the attribute report to be updated without losing notes
* NVMe/SMART should only contains the SMART short self-test results
* If available and requested
* Updated safety_check to fix erroneous requests
* Disable tests logic reworked
* Updated generate_disk_report() to include notes
* Addresses issue #96
2019-03-09 21:42:28 -07:00
95aa063a69
Adjusted disk safety checks
...
* check_attributes() is now always silent
* Returns a PASS/FAIL bool
* override_disabled is now at the Disk() scope
* Moved self-test checks to check_smart_self_test()
* Returns a PASS/FAIL bool
* Addressed issue #96
2019-03-09 18:07:04 -07:00
858c2e1bd5
Avoid crash on some Macs
...
* Partially addresses issue #88
* HW damage should be avoided by using the THERMAL_LIMIT setting
2019-03-09 14:15:42 -07:00
d5dc453ffa
Added maximum threshold for NVMe/SMART attributes
...
* Fixes issue #95
2019-03-05 19:36:43 -07:00
e2c83aad6e
Moves HW-Diags settings to separate file
2019-03-05 19:36:41 -07:00
017c0e3385
Avoid marking aborted badblocks test as failed
2019-02-05 21:49:00 -07:00
7132d971f6
Add temp limit to report
2019-02-05 21:26:27 -07:00
dc6de9cab0
Use consistent labels
2019-02-05 21:25:28 -07:00
a28a754be1
Added thermal limit logic to Prime95 test
2019-02-05 21:08:06 -07:00
7c7d8e41e2
Prevent crash when testing some NVMe disks
2019-01-15 18:56:29 -07:00
ed70d1ab18
Simplified tmux repair thread handling
...
* Just start once and let run until script is exited
* Pretty sure this fixed the 100%+ CPU usage after returning to the menu
2019-01-08 19:18:00 -07:00
7a9474a6a8
Try enabling SMART before checking attributes
...
* Fixes issue #84
2019-01-06 21:51:45 -07:00
68bbee66d5
Replaced hw-diags-badblocks with threaded section
...
* Should fix issue #83
2019-01-06 21:45:01 -07:00
e40b0b98e4
Moved fix_tmux_panes() into a background thread
2019-01-06 20:57:06 -07:00
141fe422db
Fix NVMe attribute handling
...
* Addresses issue #78
2019-01-02 17:55:56 -07:00
6340bceb11
Added warning if no disks detected.
2019-01-02 17:05:08 -07:00
a9c5c1c274
Fixed issue #80
2018-12-28 17:46:02 -07:00
575fa17425
Only use Unicode checkmark if in X
2018-12-28 15:44:14 -07:00
d0c49240d8
Added extra line break after classes/functions/etc
...
* Also reordered some class/regex/static sections
2018-12-27 21:33:37 -07:00
166a293864
Updated hw_diags.py
2018-12-27 19:55:41 -07:00
dcc2e5cd6a
Adjusted top pane text
2018-12-26 21:00:29 -07:00
98c0c34bf8
Removed unused vertical_graph data
2018-12-26 17:11:37 -07:00
96d34ceb50
Fix SMART short-test results section
...
* OVERRIDE status reduced to yellow/warning
* Allows it to be elevated to NS or TimedOut
* Only disable other disk tests on test.failed
* OVERRIDE doesn't work if based on test.passed for this test
2018-12-23 17:33:16 -07:00
6e37736146
Only save attributes to log during show_results()
2018-12-23 17:15:50 -07:00
c15eb85a5e
Removed unused get_status_color and Skipped status
2018-12-22 18:07:06 -07:00
6d9f50629c
Reworked status/color sections
2018-12-22 17:55:49 -07:00