External Package DotCover Console Runner

Hi to you all,

I am currently trying to run dotcover from the Console on my building Server (Windows Server 2008 R2 Enterprise.
There seems to be a problem to Create a process. Here is the Logfile:

12:45:54.176 |I|                               | JetBrains dotCover Console Runner 10.0.2 EAP 3. Build 104.0.20151202.170113-EAP3
12:45:54.238 |I|                               | LogLevel: INFO
12:45:54.910 |I|                               | 'cover' command
12:45:54.910 |I|                               | /Output=test.dcvr (CommandLine)
12:45:54.910 |I|                               | /logfile=Logfile.txt (CommandLine)
12:45:54.910 |I|                               | /TargetExecutable=C:\Program Files (x86)\Microsoft Office\Office15\EXCEL.exe (Xml)
12:45:54.910 |I|                               | /TargetArguments= (Xml)
12:45:54.910 |I|                               | /TargetWorkingDir= (Xml)
12:45:54.910 |I|                               | /TempDir= (Xml)
12:45:54.910 |I|                               | /InheritConsole= (Xml)
12:45:54.910 |I|                               | /AnalyseTargetArguments= (Xml)
12:45:54.910 |I|                               | /Scope=D:\VSTOPlugin\*.dll (Xml)
12:45:54.910 |I|                               | Current directory: D:\Tracing\DotCover
12:45:54.910 |I|                               | Validating command...
12:45:54.910 |I|                               | Executing command...
12:45:55.004 |I|                               | Parameter test.dcvr converted to D:\DotCover\test.dcvr
12:45:55.004 |I|                               | Searching for assemblies included into the specified scope
12:45:55.129 |I|                               | The scope includes 0 assemblies
12:45:55.457 |I|                               | Coverage session started [12/16/2015 12:45:55 PM]
12:45:55.472 |I| CoverageSession#0             | Starting coverage session
12:45:55.472 |I| CoverageSession#0             | Expected configuration ids: ''
12:45:55.472 |I| CoverageSession#0             | Queueing add configuration command (configuration id: '')
12:45:55.488 |I| CoverageSession#0             | Waiting for the session to finish (Timeout=-1)
12:45:55.504 |I| CoverageSession#0             | Adding configuration (configuration id: '')
12:45:55.504 |I| CoverageSession#0             | Queueing configuration execution (configuration id: '')
12:45:55.535 |I| CoverageSession#0             | Executing configuration (configuration id: '')
12:45:55.535 |I| CoverageSession#0             | Launching coverage analysis (configuration id: '')
12:45:56.363 |I| CoverageSession#0             | Exception recieved. Cancelling session with error. Can't start profiling. See below for more details:

Can't create process. (configuration id: '')
12:45:56.378 |I| CoverageSession#0             | Handling session finish
12:45:56.378 |I| CoverageSession#0             | Error received: Can't start profiling. See below for more details:

Can't create process.
12:45:56.394 |I| CoverageSession#0             | Setting SessionFinishedEvent
12:45:56.394 |I| CoverageSession#0             | SessionFinishedEvent was received
12:45:56.410 |I| CoverageSession#0             | Executing 'finish' callback after session lifetime termination (configuration id: '')
12:45:56.441 |W|                               | Coverage session finished with errors: Can't start profiling. See below for more details: Can't create process.

--- EXCEPTION #1/2 [CommandExecutionException]
Message = “
  Coverage session finished with errors: Can't start profiling. See below for more details:

  Can't create process.

ExceptionPath = Root.InnerException
ClassName = JetBrains.dotCover.Core.ConsoleRunner.CommandExecutionException
HResult = COR_E_APPLICATION=80131600
Source = JetBrains.dotCover.Core
StackTraceString = “
  at JetBrains.dotCover.Core.ConsoleRunner.Commands.Cover.CoverCommand.Execute(CommandExecutionContext context)
     at JetBrains.dotCover.Core.ConsoleRunner.ConsoleRunnerBackend.Execute(ICommandLine commandLine, Func`1 componentContainerGetter)


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “
  Coverage session finished with errors: Can't start profiling. See below for more details:

  Can't create process.

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600

12:45:56.722 |I|                               | Coverage session finished with errors: Can't start profiling. See below for more details:

Can't create process..
12:45:56.722 |I|                               | Console Runner execution finished
12:45:56.722 |I| Main                          | Console Runner exit code: -2



I am able to open Excel from the Console. Also if I use the installed DotCover Stand- Alone-Center it works with no issue.
Also on my local computer it works just fine.

Any clue what I am doing wrong? Did I miss something?

Kind regards,

Fabian
5 comments

Hello Fabian,

If you specify any other executable file instead of EXCEL.exe as the target executable for dotCover and run dotCover on your build server, will you get the same exception?


Kind regards,
Maria  

0

Hello Maria,

Yes, also if I try to cover a exe which is completly create by us I get the same Exception.

Kind regards,

Fabian

0

Hello Fabian,

Could you please add the following arguments to your command line and collect logs again: /LogLevel=Trace /LogFile=[file_path]. Please send us log files or upload them to our ftp server: ftp://ftp.intellij.net/.uploads/


Kind regards,
Maria   

0

Hello Maria,

Sorry I was not able to connect to the FTP. I will attach the Log File here.
I hope this is fine for you.

Kind regards,

Fabian



Attachment(s):
LogFileV2.txt.zip
0

Hello Maria,

It seems your package was not correct. We manged it by ourself and it seems to work now.

Thanks for your help.

Fabian

0

Please sign in to leave a comment.