Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] SWTBot Tests hanging in Jenkins!

Can someone please reply?

Thanks & Regards,
Melwyn Jensen


On Fri, Dec 6, 2013 at 2:11 PM, melwyn jensen <melwynjensen@xxxxxxxxx> wrote:
Hello All,

We are currently working on SWTBot for our plugin UI tests and we were able to successfully integrate with Jenkins and the test cases were passing without any issues but recently we started facing some issue where in between the SWTBot test execution the whole build just gets hung forever.

Initially we were thinking that the problem is with the virtual display which we started with Xvfb process but then simple SWTBot testcase with just 2-5 lines works without any issues and anything more than 5 lines the entire build gets hung during the execution of the SWTBot testcase. 

Can someone please help me in this? What is the reason for this issue? Tried using the SWTUtils.captureScreenshot("3.png") to get the screenshot and it shows up the eclipse launch with the plugin opened but no process happens once it gets hung.

Logs which use to show up is this,

Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x800b64 (New Projec)
18:12:18 Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
18:12:19 Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x801124 (Open Assoc)
18:12:19 Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
18:12:19 Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x800058 (Java - Ecl)
18:12:19 Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
18:12:20 Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x800058 (Java - Ecl)
18:12:20 Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
20:42:45 Dec 5, 2013 8:42:45 PM java.util.prefs.FileSystemPreferences$7 run
20:42:45 WARNING: Prefs file removed in background /home/unify_ci/.java/.userPrefs/_!':!bw"t!#4!bg"z!'4!.g"v!(:!cw!u!'0!~!"r/pm/prefs.xml
20:50:15 Dec 5, 2013 8:50:15 PM java.util.prefs.FileSystemPreferences$7 run
20:50:15 WARNING: Prefs file removed in background /home/unify_ci/.java/.userPrefs/_!':!bw"t!#4!bg"z!'4!.g"v!(:!cw!u!'0!~!"r/pm/prefs.xml
20:57:15 Dec 5, 2013 8:57:15 PM java.util.prefs.FileSystemPreferences$7 run
20:57:15 WARNING: Prefs file removed in background /home/unify_ci/.java/.userPrefs/_!':!bw"t!#4!bg"z!'4!.g"v!(:!cw!u!'0!~!"r/pm/prefs.xml
00:26:15 Dec 6, 2013 12:26:15 AM java.util.prefs.FileSystemPreferences$7 run
00:26:15 WARNING: Prefs file removed in background /home/unify_ci/.java/.userPrefs/_!':!bw"t!#4!bg"z!'4!.g"v!(:!cw!u!'0!~!"r/pm/prefs.xml
02:10:15 Dec 6, 2013 2:10:15 AM java.util.prefs.FileSystemPreferences$7 run
02:10:15 WARNING: Prefs file removed in background /home/unify_ci/.java/.userPrefs/_!':!bw"t!#4!bg"z!'4!.g"v!(:!cw!u!'0!~!"r/pm/prefs.xml
04:02:17 Dec 6, 2013 4:02:17 AM java.util.prefs.FileSystemPreferences$7 run
04:02:17 WARNING: Prefs file removed in background /home/unify_ci/.java/.userPrefs/_!':!bw"t!#4!bg"z!'4!.g"v!(:!cw!u!'0!~!"r/prefs.xml
04:02:17 Dec 6, 2013 4:02:17 AM java.util.prefs.FileSystemPreferences$7 run
04:02:17 WARNING: Prefs file removed in background /home/unify_ci/.java/.userPrefs/_!':!bw"t!#4!bg"z!'4!.g"v!(:!cw!u!'0!~!"r/pm/prefs.xml

When I try to kill the build it shows up the error as XOpenDisplay() failed  at times.

Any idea what is the reason for this issue? Can someone please help me asap on this since we are got stuck up with the issue for 2 long days :(

--
Best Regards,
Melwyn Jensen.



--
Best Regards,
Melwyn Jensen.

Back to the top