CI vs. local differences

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

CI vs. local differences

Torsten Bergmann
Hi,

some of my OS-Windows tests fail on CI [1] - seems like they are
different when running on CI vs. running them locally (where they are green):

   OS.Windows.Tests.Environment.WinConsoleTest.testCursorIsVisibleByDefault
   OS.Windows.Tests.UI.Desktop.WinWindowTest.testPharoWindow
   OS.Windows.Tests.UI.Desktop.WinWindowTest.testWindowFromPoint
   OS.Windows.Tests.Environment.WinConsoleTest.testCursorSettingSize
   OS.Windows.Tests.Environment.WinConsoleTest.testIsConsoleType

As I do not have direct access to the machine:
 - any idea what we can do so they get green in CI as well
 - or what is the best way to find out that I'm running on CI server to
   skip them somehow in the code

Thanks
T.

[1] https://ci.inria.fr/pharo-contribution/job/OSWindows

Reply | Threaded
Open this post in threaded view
|

Re: CI vs. local differences

demarey

Le 18 juin 2015 à 09:25, Torsten Bergmann a écrit :

> Hi,
>
> some of my OS-Windows tests fail on CI [1] - seems like they are
> different when running on CI vs. running them locally (where they are green):
>
>   OS.Windows.Tests.Environment.WinConsoleTest.testCursorIsVisibleByDefault
>   OS.Windows.Tests.UI.Desktop.WinWindowTest.testPharoWindow
>   OS.Windows.Tests.UI.Desktop.WinWindowTest.testWindowFromPoint
>   OS.Windows.Tests.Environment.WinConsoleTest.testCursorSettingSize
>   OS.Windows.Tests.Environment.WinConsoleTest.testIsConsoleType
>
> As I do not have direct access to the machine:
> - any idea what we can do so they get green in CI as well
> - or what is the best way to find out that I'm running on CI server to
>   skip them somehow in the code
I just gave rights to connect to slaves.
Connect instructions are given here: https://ci.inria.fr/project/pharo-contribution/slaves (click on the ssh connect button of the slave you want to log in).

Then you can use ssh -X or remote desktop and try to run your falling tests from there to see what happens.

Christophe

smime.p7s (5K) Download Attachment