Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Error when running mspec test throught gallio add in



  • keep getting this error when running my mspec test in gallio.

    Build 4 for mosaicv2.framework 1.5 (2013-09-05 05:03:22 PM)
    Action Group 47: Run Unit Tests
    Action 2: Execute the Gallio test runner on F:\Mosaicv2 Builds\framework\integration\mosaic.framework.testing.ravendb\mosaic.framework.testing.ravendb.dll
    Initializing action...
    RemoteAction Initialization Complete:
    Temp Directory: C:\BuildMaster_SVCTMP_A1004_S0\TMP
    Source Directory: F:\Mosaicv2 Builds\framework\integration\mosaic.framework.testing.ravendb
    Target Directory: C:\BuildMaster_SVCTMP_A1004_S0\WRK
    Server: FNFDEVSV002 (Id: 1)
    Initialization complete. Executing...
    Running unit tests...
    Executing "C:\Program Files\Gallio\bin\Gallio.Echo.exe": Arguments: "F:\Mosaicv2 Builds\framework\integration\mosaic.framework.testing.ravendb\mosaic.framework.testing.ravendb.dll" /verbosity:Verbose /report-type:Xml /report-directory:"C:\BuildMaster_SVCTMP_A1004_S0\TMP" /report-name-format:"gallio-report" Working Dir: F:\Mosaicv2 Builds\framework\integration\mosaic.framework.testing.ravendb
    Gallio Echo - Version 3.4 build 11
    Get the latest version at http://www.gallio.org/
    Start time: 05:05 PM
    Initializing the runtime and loading plugins.
    Verifying test files.
    Initializing the test runner.
    Running the tests.
    Host started at 2013-09-05 05:05:53 PM.
    Running under CLR v4.0.30319 runtime.
    [passed] Test mosaic.framework.testing.ravendb/CanCallLastOnArray/WillSupportLast
    Host stopped at 2013-09-05 05:06:08 PM.
    Host process exited with code: 0
    Generating reports.
    Disposing the test runner.
    Stop time: 05:06 PM (Total execution time: 17,121 seconds)
    1 run, 1 passed, 0 failed, 0 inconclusive, 0 skipped
    An unhandled exception occurred while executing this action: System.FormatException: Input string was not in a correct format. at Inedo.BuildMaster.Extensibility.Actions.Testing.UnitTestActionBase.Execute() at Inedo.BuildMaster.Extensibility.Actions.ActionBase.Execute(IActionCancellationToken cancellationToken, ExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

    thanks



  • Could you check if the "gallio-report" file is under C:\BuildMaster_SVCTMP_A1004_S0\TMP and paste its contents here or email it to support@inedo.com?

    If you're familiar with C# you can see the code for the Gallio extension here:

    https://github.com/Inedo/bmx-gallio/blob/master/GallioUnitTestAction.cs - it's almost certainly caused by one of the DateTime.Parse() or Double.Parse() calls.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation