Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23776] Windows: Investigate failing mocha tests on Jenkins

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-10-04T23:28:54.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.0
ComponentsWindows
Labelsn/a
ReporterGary Mathews
AssigneeKota Iguchi
Created2016-08-15T16:23:56.000+0000
Updated2016-10-07T14:52:18.000+0000

Description

Investigate why certain tests fail on Windows Desktop, recently we have needed to disable a number of tests that have prevented the Jenkins builds from passing. We should investigate into why this is happening and try to re-enable the test cases that previously failed.

Comments

  1. Kota Iguchi 2016-08-30

    We have been seeing setTimeout freezes intermittently on Jenkins. I'm looking into it.
  2. Kota Iguchi 2016-09-03

    I have been pushing potential fix for it [PR 847](https://github.com/appcelerator/titanium_mobile_windows/pull/847) and I can see the series of changes I made fixes the issue on Windows 10 so far (y) - Avoid use of JSObject for storing Timer callback because it is heavy weight operation with few benefits. - Avoid using 0 interval for setTimeout. It intermittently freezes DispatcherTimer. - Update JavaScriptCore, it fixes the intermittent crash issue on Windows 10. We are able to re-enable failing UI tests too. Note that it does not fix the issue on Windows 8.1. It's because Windows 8.1 and Windows Phone 8.1 is missing required function ([GetThreadContext](https://msdn.microsoft.com/en-us/library/windows/desktop/ms679362(v=vs.85).aspx)) and currently I don't have a workaround for it.
  3. Kota Iguchi 2016-10-04

    All UI tests are now enabled, Jenkins seems to be working better so far. PR: https://github.com/appcelerator/titanium_mobile_windows/pull/863.
  4. Ewan Harris 2016-10-07

    Dev task. Closing

JSON Source