RESOLVED FIXED 80180
links for virtual tests are broken in the flakiness dashboard
https://bugs.webkit.org/show_bug.cgi?id=80180
Summary links for virtual tests are broken in the flakiness dashboard
Dirk Pranke
Reported 2012-03-02 12:18:02 PST
links for virtual tests are broken in the flakiness dashboard
Attachments
Patch (1.34 KB, patch)
2012-03-02 12:18 PST, Dirk Pranke
no flags
Patch (2.63 KB, patch)
2012-03-02 13:09 PST, Dirk Pranke
no flags
Dirk Pranke
Comment 1 2012-03-02 12:18:25 PST
Dirk Pranke
Comment 2 2012-03-02 12:20:15 PST
It looks like there is only one minor tweak needed to make the flakiness dashboard work with virtual tests - it mostly works now, just the link to the test in trac is broken. It turns out we got "lucky" in that the flakiness dashboard only looks at the results of the run, and by the time links end up in the results the actual/virtual distinction is gone (all tests look the same).
Dirk Pranke
Comment 3 2012-03-02 12:20:33 PST
How do I run tests for this, and does it make sense to add a test for this?
Ojan Vafai
Comment 4 2012-03-02 12:25:09 PST
Comment on attachment 129936 [details] Patch Please do add a test. The test suite for this code is pretty...bare, but testing this specific thing should be easy enough. The tests are in flakiness_dashboard_tests.js, you run them in the browser by loading flakiness_dashboard#useTestData=true off your local disk. It's wonky, but good enough for now. :) Did you test loading the expected results for the test, e.g. a page like http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=fast%2Fjs%2Fnavigator-language.html? The test itself should be one of the frames. Also, we show all the expected results in the fallback order. How does the fallback order for virtual tests work? You probably need to update that code as well.
Dirk Pranke
Comment 5 2012-03-02 12:30:07 PST
(In reply to comment #3) > How do I run tests for this, and does it make sense to add a test for this? (In reply to comment #4) > (From update of attachment 129936 [details]) > Please do add a test. The test suite for this code is pretty...bare, but testing this specific thing should be easy enough. The tests are in flakiness_dashboard_tests.js, you run them in the browser by loading flakiness_dashboard#useTestData=true off your local disk. It's wonky, but good enough for now. :) > Will do. > Did you test loading the expected results for the test, e.g. a page like http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&tests=fast%2Fjs%2Fnavigator-language.html? The test itself should be one of the frames. Also, we show all the expected results in the fallback order. How does the fallback order for virtual tests work? You probably need to update that code as well. Hm. I thought I did and it looked like it was working, but when I look at it now, I'm not seeing them. I will work on it some more as a different bug/patch.
Dirk Pranke
Comment 6 2012-03-02 13:09:20 PST
Dirk Pranke
Comment 7 2012-03-02 13:13:28 PST
Comment on attachment 129946 [details] Patch Clearing flags on attachment: 129946 Committed r109606: <http://trac.webkit.org/changeset/109606>
Dirk Pranke
Comment 8 2012-03-02 13:13:33 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.