https://bugs.winehq.org/show_bug.cgi?id=50658
Bug ID: 50658 Summary: The Special Jobs page does not take MissionCaps into account Product: Wine-Testbot Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: unknown Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
A lot of Windows VM configurations have the following: Role=base|winetest Missions=exe64 MissionCaps=exe32
These VMs typically mirror a base VM for which we already run both 32- and 64-bit WineTest daily. Since these configurations typically only differ in the locale, running both bitnesses again would be redundant. So the above results in only the 64-bit WineTest being run, but still allows developers to submit 32-bit jobs if desired (e.g. if they want to run a 32-bit binary).
But this configuration throws the "Special Jobs" page off and causes it to create an empty job when trying to run the 32-bit WineTest. It should really see that MissionCaps allows running 32-bit tests. However the issue comes from the shared AddWindowsTestJob() function: it should take MissionCaps into account without changing the behavior of CheckForWinetestUpdate.pl.