-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unique signatures generation to general parse results #3
base: main
Are you sure you want to change the base?
Commits on Nov 20, 2024
-
Use hash signatures to uniquely identify state results
Extend the idea of error hash signatures and use it to identify the parse results of states as well. Each state may define a set of 'signature fields' and, after the parsing is done and the data is collected, these fields will be used to identify the result set and generate a unique hash string for them. These signatures aren't necessarily related to errors, they simply represent a result. For now, the new states '_summary', '_signature_fields' and '_signature' are defined as hidden and are invisible unless the `--json-full` flag is used. This change also moves the hash generation to a common utility function. Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0086cc0 - Browse repository at this point
Copy the full SHA 0086cc0View commit details -
states/chromebook_boot: define summary messages and signature fields
Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0dae9a0 - Browse repository at this point
Copy the full SHA 0dae9a0View commit details -
states/generic_boot: define summary messages and signature fields
Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c0fcac - Browse repository at this point
Copy the full SHA 7c0fcacView commit details -
states/linux_kernel: define summary messages and signature fields
Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ace1a53 - Browse repository at this point
Copy the full SHA ace1a53View commit details -
states/test_baseline: define summary messages and signature fields
Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 251642b - Browse repository at this point
Copy the full SHA 251642bView commit details -
Generate signatures for test_baseline errors
Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c0a2a6 - Browse repository at this point
Copy the full SHA 5c0a2a6View commit details
Commits on Nov 21, 2024
-
logspec/main: collect states summaries into data['_states_summary']
Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9666569 - Browse repository at this point
Copy the full SHA 9666569View commit details -
states/linux_kernel: detect kernel load start
Add a state data field: linux.boot.kernel_started that will be True if the parser detects at least one line of kernel log and False if it doesn't. Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e59e216 - Browse repository at this point
Copy the full SHA e59e216View commit details -
tests: sync to latest code changes (linux.boot.kernel_started)
Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cdd0aa8 - Browse repository at this point
Copy the full SHA cdd0aa8View commit details -
states/linux_kernel: summary msg for "kernel didn't start" scenario
Add a summary message for the scenario where the parser can't detect any kernel output. With this into place, the possible result cases for this state are: 1) Kernel booted ok and reached a prompt: _summary = Linux boot prompt found 2) Kernel produced no output at all: _summary = Kernel didn't start 3) Kernel started to load but didn't reach a prompt: _summary = Linux boot prompt not found Signed-off-by: Ricardo Cañuelo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e2bdbb - Browse repository at this point
Copy the full SHA 6e2bdbbView commit details