Bug 452605 - testBrowser5 failure on Mac OS X in N20141120-2000
Summary: testBrowser5 failure on Mac OS X in N20141120-2000
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.5   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: browser_tests
Blocks:
  Show dependency tree
 
Reported: 2014-11-21 03:37 EST by Arun Thondapu CLA
Modified: 2017-09-29 11:03 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arun Thondapu CLA 2014-11-21 03:37:50 EST
http://download.eclipse.org/eclipse/downloads/drops4/N20141120-2000/testresults/html/org.eclipse.swt.tests_macosx.cocoa.x86_64_7.0.html

junit.framework.AssertionFailedError
at org.eclipse.swt.tests.junit.browser.Test_BrowserSuite.testBrowser5(Test_BrowserSuite.java:41)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:657)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:310)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Arun Thondapu CLA 2014-11-21 04:28:08 EST
Haven't seen this failure happen before and no recent code changes that could have caused it, it could either be something intermittent or is related to the Mac test machine's upgrade to Yosemite (bug 447634).
Comment 2 Dani Megert CLA 2014-11-24 04:45:51 EST
Fails consistently.
Comment 3 Lakshmi P Shanmugam CLA 2014-11-24 05:24:36 EST
I ran the tests locally on both OSX 10.9 & 10.10 and the tests pass on both machines. 
But, it seems to coincide with upgrading the test machine to Yosemite. (bug in comment 2).

Dani, 
If it is possible to view the console output, I'll set the verbose flag to true for this test for the next N-build and check the output?
Comment 4 Dani Megert CLA 2014-11-24 06:01:58 EST
(In reply to Lakshmi Shanmugam from comment #3)
> I ran the tests locally on both OSX 10.9 & 10.10 and the tests pass on both
> machines. 
> But, it seems to coincide with upgrading the test machine to Yosemite. (bug
> in comment 2).
> 
> Dani, 
> If it is possible to view the console output, I'll set the verbose flag to
> true for this test for the next N-build and check the output?

Yes, the console can be seen.
Comment 5 Lakshmi P Shanmugam CLA 2014-11-25 06:25:20 EST
Console output:
PLUGIN_PATH </Users/hudsonBuild/workspace/ep45N-unit-mac64/workarea/N20141124-2000/eclipse-testing/test-eclipse/eclipse/plugins/org.eclipse.swt.tests_3.104.0.N20141124-2000>
javascript window.open with location and size parameters - args: /Users/hudsonBuild/workspace/ep45N-unit-mac64/workarea/N20141124-2000/eclipse-testing/test-eclipse/eclipse/plugins/org.eclipse.swt.tests_3.104.0.N20141124-2000/data/browser5.html
  Expected Event Sequence: Visibility.show
OpenWindow 0
Visibility.show browser 0 location Point {100, 157} size Point {1300, 663}
Expected location Point {100, 200} size Point {300, 100}
	Failure 


Browser location is (100, 157) instead of (100, 200). Not sure why.
Comment 6 Arun Thondapu CLA 2014-12-04 04:42:43 EST
Same test failure happens in M-build too (M20141203-0800).
Comment 8 Lakshmi P Shanmugam CLA 2017-09-29 04:00:05 EDT
The tests have been refactored in master (4.8) and Bug 525339 tracks the intermittent failures of the test on the 4.7.1 maintenance branch.
Closing report.