Age | Commit message (Collapse) | Author |
|
This adds the feature to recognise if an error has been reported before.
It matches it against the distance with an offset of bytes by using the
first error in the database as the prime error. The accuracy is
adjustable by setting SIMILAR_FAILURE_DISTANCE. If using the JSON
response to a submission you will also get the number of the duplicates
and a link to view them.
[YOCTO #7798]
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
Currently the branch, commit, recipe and recipe_version rely on being in
a particular format so that they can be extracted by a regex. If this
fails we should fall back and mark these fields just as "unknown"
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
This was accidentally renamed in refactoring the parser save routine and
failed silently
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
At some point this should be moved to the model definition
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
Also update the error message when we can't parse the json payload
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
If there are invalid characters in the BUILD payload return an error
message to that affect.
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
When we catch these exceptions make sure we send back a useful response
and a http 500 status code
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
Also make sure the url pattern is properly terminated for the non-json
result
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
- Remove unused duplicated templates
- Remove unused imports
- Add comment to bug about POST request
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
If you wish to have the details of the submission returned in JSON
format then append /JSON/ to the submission url.
Also add a filter which allows you to view the recorded failures for a
specified build /Build/<id>/.
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
Return a json formatted result to show the status of a error submission
including the urls for each of the failures logged.
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
Before we commit the error report metadata to the database do a
rudimentary check on all fields that are passed to the graphs page to
avoid any XSS happening.
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
|
|
Show the submission date and time for an error in the
search results page
[YOCTO #6538]
Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
|
|
This is a Django web interface intended to be used with the
error-report class from the OE build system. It receives data sent
from users using the send-error-report script and saves it in a DB.
Using the web interface users are able to search for errors and visualize
statistics.
Signed-off-by: Andreea Proca <andreea.b.proca@intel.com>
|