-
Notifications
You must be signed in to change notification settings - Fork 554
[d16-1][xharness] Multiple cherry picks to make device tests green #5980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This also means updating the whitelisted symbols.
We don't need the bitcode for testing, it makes test apps bigger (so big that the Apple TV might refuse to install them).
…5768) This commit improves the state of the BCL testing in the following ways: 1. Improve the device tets running. Less apps, faster results. 2. WatchOS apps are left as they were to ensure that we do not have deplouyment/run issues. We now support the ignore files per assembly name to simplify the tracking of the ignored tests. All
#4884 introduced the logic of only building certain `RunTestTask`. This was meant to disable iOS Extensions as part of a fix to xamarin/maccore#1008. However this didn't quite work and iOS extensions were still running (and failing). The reason being that `BuildOnly` was set to a `RunDeviceTask` that's added to a list which is then given to `CreateTestVariations` which creates new instances of `RunDeviceTask`. We now propagate `BuildOnly` to the new variation instance.
* [XHarness] Ignore some tests that fail on device. Added the ignore, which can be later removed on the new mono 2019-02 since the issues do not happen there. Fixes: xamarin/maccore#1495 * [XHarness] Ignore corlib tets failing on devices. Added the required ignores to get the devices green and workaround mono issue mono/mono#13641
The mono bump added some new tests that fail on device + release configurations. This is a known issue by mono and they'll fix it in the next version but will not be backported to 2018-10.
…ue 5868 is fixed. (#5869) If not ignored, we will have an issue building the test app on device resulting on a failure.
This can be reverted if #5886 makes it in.
…tead of 6x We hit this: ``` Expected: greater than 6 But was: 4.9317220348827826d ``` So adjusting to 4 to avoid those random failures. See xamarin/maccore#649 for more details.
|
Various device tests were reported in this PR but you can also monitor: https://github.com/xamarin/xamarin-macios/commits/d16-1-xharness-cherry-picks |
|
Build failure Test results2 tests failed, 0 tests skipped, 193 tests passed.Failed tests
|
dalexsoto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
|
@VincentDondain failures look like we might missing some ignores, or that the tests are diff since I think @akoeplinger did some fixes on the mono side. |
|
@mandel-macaque just 1 failure now and it's one I never saw (random): http://xamarin-storage/jenkins/xamarin-macios/d16-1-xharness-cherry-picks/c4e3bbfa52de73f6495dd7105d33d3f80e987bc3/2643030/device-tests/jenkins-results/tests/index.html |
|
Looks like we don't yet have a fix for the 1 remaining device issue: https://github.com/xamarin/maccore/issues/1010 so this PR seems good to go! (: |
spouliot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. None of the modified files will impact the produced .pkg - it's safe to land!
chamons
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a test (and tools used only by tests) only fix for improving our builds.
👍 for d16-1 given the standard exception.
This PR contains backport and new fixes that only affect the tests (no logic changed).
Sometimes #4723 is hit (random).
Backporting fixes to an old mono branch wasn't possible so a couple mono tests were completely skipped, note: they are fixed in master.