summaryrefslogtreecommitdiffstats
path: root/scripts/send-error-report
AgeCommit message (Collapse)Author
2015-02-11scripts/send-error-report: Set exit code if error occursRichard Purdie
If an error occurs, set an error exit code so the world knows about it. This fixes issues where the autobuilder doesn't notice these failures. [YOCTO #7265] (From OE-Core rev: b219377defc9517af360986352bd7da1a7906f10) (From OE-Core rev: 88b9a9dd491d6803a72c497cf674434da14704b7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06scripts/send-error-report: fetch /Errors/ instead of /.Roxana Ciobanu
If HTTP_PROXY or http_proxy is set when the send-error-report script is run, it will check to see if fetching / on the specified server returns 200 without the proxy set. If it does it will assume that the proxy is not needed. However this check can never work because fetching / always redirects to /Errors/ in the current code and thus returns code 301. This is fixed by fetching /Errors/ instead of /. [YOCTO #YB6576] (From OE-Core rev: af93c89febcd186d7e31f1d15affc15f38e3379d) Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-24report-error: Add posting in the public noteSaul Wold
(From OE-Core rev: c2eb5cd1aa4632f7ee8c261414e599dcb6f40a8b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-23scripts/send-error-report: simple hack to use proxy from the enviromentStefan Stanacar
People behind a proxy couldn't send an error report to an upstream server, this should fix the issue if they use a proxy that doesn't require authentication, or one that uses basic http authentication and it's correctly exported in the enviroment. (From OE-Core rev: a8511ee80246b4e2caa353b87f4b586f1539e6d4) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-19scripts/send-error-report: use a real server as the defaultStefan Stanacar
Now that there is a public instance [1] of the error report web interface [2], we should set it as the default. [1] http://errors.yoctoproject.org/ [2] http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/ (From OE-Core rev: 90a955761db4724f0222527a129a3904d6d8aa6e) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04send-error-report: show responseMartin Jansa
* useful when debuging why it was refused by server (From OE-Core rev: 0b8ff2231a36755a71d8bf8c7854364d69ef2df8) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-14report-error.bbclass: new class to save build information when errors occurAndreea Proca
Class is used to save data about errors after every task that failed. Errors saved as json files in ERROR_REPORT_DIR (defaults to tmp/log/error-report). To use this class one has to add INHERIT += "report-error" to local.conf. scripts/send-error-report is a simple script that sends the json file to a HTTP server that collects data (git://git.yoctoproject.org/error-report-web is a Django web interface that can be used to receive and visualize the error reports). The script will give you an URL where you can find your report. (From OE-Core rev: f186b4c7c6c975638e60b30a512d669dc6dc390f) Signed-off-by: Andreea Proca <andreea.b.proca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>