New search features on autobuild.buildroot.org
Hello,
As part of his internship at Bootlin working on Buildroot, Victor Huesca (in Cc) has implemented improvements to autobuild.buildroot.org, with new search capabilities. These allow more powerful filtering of autobuild results, which is sometimes useful to understand in which situations a build failure occurs or does not occur.
You all probably knew that you could already add GET parameters to filter out build results. For example:
http://autobuild.buildroot.org/?arch=arm&reason=strace%
Would give you all the build results happening on the ARM architecture, where the failure reason starts with "strace". This of course could be expanded with more criteria:
http://autobuild.buildroot.org/?arch=arm&reason=strace%&libc=uclibc&static=1
To further filter only the results with the uClibc C library, and static linking configurations.
Victor has added support for two new filters:
- The first one, "symbols" is by far the most important and powerful one, as it allows to filter build results using the values of Config.in options in the configuration that was built.
http://autobuild.buildroot.org/?symbols[BR2_PACKAGE_STRACE]=y&symbols[BR2_PACKAGE_BUSYBOX]=
will list all build results that had BR2_PACKAGE_STRACE enabled, but BR2_PACKAGE_BUSYBOX disabled.
Note that the queries involving "symbols" will be slower than other queries, so please give some time for the server to reply. It typically takes 10-20 seconds.
- The second one "date", allows to filter the build results by date. You can use date=FROMDATE or date[from]=FROMDATE&date[to]=TODATE.
Since all of these arguments were a bit difficult to remember, Victor also created a "search page" at:
http://autobuild.buildroot.net/search.php
You fill in the criteria, and it will redirect you to the right address, which you can share with others if needed.
Kudos to Victor for completing this!
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hi,
Quoted 7 lines
Since all of these arguments were a bit difficult to remember, Victor also created a "search page" at:
http://autobuild.buildroot.net/search.php
You fill in the criteria, and it will redirect you to the right address, which you can share with others if needed.
Cool, thanks!
Quoted 1 line
Kudos to Victor for completing this!
Yes indeed!
One improvement could be to only pass the arguments if they have been filled in so you can ignore everything you don't care about rather than having to edit the URL afterwards.
Signature · 1 line
Bye, Peter Korsgaard
Hello Peter,
Quoted 3 lines · On Tue, 20 Aug 2019 20:04:05 +0200 Peter Korsgaard <[email protected]> wrote:
One improvement could be to only pass the arguments if they have been filled in so you can ignore everything you don't care about rather than having to edit the URL afterwards.
Hm, this is exactly was it does, i.e if I do a search filtering only on the architecture and one symbol, it redirects to the following URL:
http://autobuild.buildroot.net/index.php?arch=arm&symbols%5BBR2_PACKAGE_STRACE%5D=y
This is all done by the submitForm() function in
http://autobuild.buildroot.net/search.js.
Could you confirm that it works for you (or not) ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hello Peter,
Quoted 3 lines · On Tue, 20 Aug 2019 20:04:05 +0200 Peter Korsgaard <[email protected]> wrote:
One improvement could be to only pass the arguments if they have been filled in so you can ignore everything you don't care about rather than having to edit the URL afterwards.
Hm, this is exactly was it does, i.e if I do a search filtering only on the architecture and one symbol, it redirects to the following URL:
Quoted 6 lines
http://autobuild.buildroot.net/index.php?arch=arm&symbols%5BBR2_PACKAGE_STRACE%5D=y
This is all done by the
submitForm()function in
http://autobuild.buildroot.net/search.js.Could you confirm that it works for you (or not) ?
It doesn't (firefox-esr 60.8.0esr-1~deb9u1), it ends up redirecting to:
Retrying on chrome I do see that it works:
http://autobuild.buildroot.org/index.php?arch=arm&symbols%5BBR2_PACKAGE_STRACE%5D=y
It would be great if we could get it to work under Firefox as well. I know next to nothing about Javascript, but shouldn't the submitForm() function take an event argument? In the debugger console I see:
ReferenceError: event is not defined search.js:3:5
Signature · 1 line
Bye, Peter Korsgaard
Hello,
Quoted 6 lines · On Mon, 26 Aug 2019 11:36:53 +0200 Peter Korsgaard <[email protected]> wrote:
It doesn't (firefox-esr 60.8.0esr-1~deb9u1), it ends up redirecting to:
Retrying on chrome I do see that it works:
Quoted 8 lines
http://autobuild.buildroot.org/index.php?arch=arm&symbols%5BBR2_PACKAGE_STRACE%5D=y
It would be great if we could get it to work under Firefox as well. I know next to nothing about Javascript, but shouldn't the
submitForm()function take an event argument? In the debugger console I see:ReferenceError: event is not defined search.js:3:5
It works here under Firefox 68.0 (64-bit), provided by Fedora.
Victor, do you think you could have a look ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Hello,
Le 26/08/2019 ? 11:47, Thomas Petazzoni a ?crit?:
Quoted 18 lines
Hello,
Quoted 13 lines · On Mon, 26 Aug 2019 11:36:53 +0200 Peter Korsgaard <[email protected]> wrote:
It doesn't (firefox-esr 60.8.0esr-1~deb9u1), it ends up redirecting to:
Retrying on chrome I do see that it works:
http://autobuild.buildroot.org/index.php?arch=arm&symbols%5BBR2_PACKAGE_STRACE%5D=y
It would be great if we could get it to work under Firefox as well. I know next to nothing about Javascript, but shouldn't the
submitForm()function take an event argument? In the debugger console I see:
Quoted 6 lines
Quoted 1 line
ReferenceError: event is not defined search.js:3:5
It works here under Firefox 68.0 (64-bit), provided by Fedora.
Victor, do you think you could have a look ?
I quickly looked at it looks like and passing the global 'event' object to the function makes it work on the last est build of firefox. I've send a patch.
Thanks for this feedback!
Quoted 4 lines
Thanks,
Thomas
Signature · 3 lines
Victor Huesca, Bootlin Embedded Linux and kernel engineering https://bootlin.com