mbraceproject / MBrace.Azure

Microsoft Azure PaaS implementation for MBrace
http://mbrace.io
Apache License 2.0
46 stars 23 forks source link

[queston] Hou to get more info on exception. #151

Open gsvgit opened 8 years ago

gsvgit commented 8 years ago

How can I get more information about exceptions presented below?

An exception of type 'System.IO.FileNotFoundException' occurred in MBrace.Core.dll but was not handled in user code

Additional information: /mbraceassemblies/RNA.Search-0.0.0.0-qtjfk5n3jb73yfs87r6baw5h7qxjv.vgb
An exception of type 'MBrace.Core.FaultException' occurred in MBrace.Runtime.dll but was not handled in user code

Additional information: Work item 528b8aa3-94ac-400d-98ed-8906ca4bb82b given up after it faulted 1 times.
eiriktsarpalis commented 8 years ago

Could you please provide us with a detailed reproduction of those errors?

gsvgit commented 8 years ago

I use clone of Azure starter kit (commit 755d7492f6cb03442bc085e6caa96934785dbef8) for cluster configuration.

Configured cluser used in compiled code. Project runtime: .NET 4.5 Installed packages: packages.txt At the current time I can not provide small example of code. All simple exaples work good. You can find full project here. Code for claster placed in RNA.Search.fs ln 75

Seems, that problems may be related with dependent libraries, but I have no ideas how to get more information.

If any more specific information is necessary please contact me.

eiriktsarpalis commented 8 years ago

Try calling cluster.Reset() with all optional parameters set to true. You will have to re-provision your worker nodes from scratch after that.

gsvgit commented 8 years ago

Now I get System.IO.FileNotFoundException on cloud computation creation. Exception message:

/mbraceassemblies/RNGLRParser-0.0.0.0-qqrjdgxba94hfdjv4x2ebap7mb7u3.vgb

Exception stack trace:

   at <StartupCode$MBrace-Core>.$PersistedValue.OfCloudFile@153-8.Invoke(Boolean _arg8) in C:\Users\eirik\Development\mbrace\MBrace.Core\src\MBrace.Core\Library\PersistedValue.fs:line 153
   at Microsoft.FSharp.Control.AsyncBuilderImpl.args@835-1.Invoke(a a)

Last lines in console output:

[2016-04-15 21:58:41] INFO : Uploading 'YC.AbstractAnalysis.Common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' [IMG 21.00 KiB, PDB 27.50 KiB]
[2016-04-15 21:58:41] INFO : Uploading 'FSharp.PowerPack, Version=4.0.0.1, Culture=neutral, PublicKeyToken=null' [IMG 0.66 MiB]
[2016-04-15 21:58:41] INFO : Uploading 'YC.QuickGraph, Version=0.0.1.0, Culture=neutral, PublicKeyToken=null' [IMG 495.00 KiB, PDB 1.42 MiB]
[2016-04-15 21:58:41] INFO : Uploading 'FSharpx.Collections, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' [IMG 422.00 KiB, PDB 383.50 KiB]
[2016-04-15 21:58:41] INFO : Uploading 'GLLAbstractParser, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' [IMG 68.00 KiB, PDB 81.50 KiB]
[2016-04-15 21:58:41] INFO : Uploading 'FSharpx.Collections.Experimental, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' [IMG 0.89 MiB, PDB 0.78 MiB]
[2016-04-15 21:58:41] INFO : Uploading 'RNGLRParser, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' [IMG 44.00 KiB]

Any ideas?

eiriktsarpalis commented 8 years ago

I would need reproduction steps in order to trace the bug, if there is one. On Fri, 15 Apr 2016 at 22:07, Semyon notifications@github.com wrote:

Now I get System.IO.FileNotFoundException on cloud computation creation. Exception message:

/mbraceassemblies/RNGLRParser-0.0.0.0-qqrjdgxba94hfdjv4x2ebap7mb7u3.vgb

Exception stack trace:

at <StartupCode$MBrace-Core>.$PersistedValue.OfCloudFile@153-8.Invoke(Boolean _arg8) in C:\Users\eirik\Development\mbrace\MBrace.Core\src\MBrace.Core\Library\PersistedValue.fs:line 153 at Microsoft.FSharp.Control.AsyncBuilderImpl.args@835-1.Invoke(a a)

Last lines in console output:

[2016-04-15 21:58:41] INFO : Uploading 'YC.AbstractAnalysis.Common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' [IMG 21.00 KiB, PDB 27.50 KiB] [2016-04-15 21:58:41] INFO : Uploading 'FSharp.PowerPack, Version=4.0.0.1, Culture=neutral, PublicKeyToken=null' [IMG 0.66 MiB] [2016-04-15 21:58:41] INFO : Uploading 'YC.QuickGraph, Version=0.0.1.0, Culture=neutral, PublicKeyToken=null' [IMG 495.00 KiB, PDB 1.42 MiB] [2016-04-15 21:58:41] INFO : Uploading 'FSharpx.Collections, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' [IMG 422.00 KiB, PDB 383.50 KiB] [2016-04-15 21:58:41] INFO : Uploading 'GLLAbstractParser, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' [IMG 68.00 KiB, PDB 81.50 KiB] [2016-04-15 21:58:41] INFO : Uploading 'FSharpx.Collections.Experimental, Version=1.14.0.0, Culture=neutral, PublicKeyToken=null' [IMG 0.89 MiB, PDB 0.78 MiB] [2016-04-15 21:58:41] INFO : Uploading 'RNGLRParser, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' [IMG 44.00 KiB]

Any ideas?

— You are receiving this because you commented.

Reply to this email directly or view it on GitHub https://github.com/mbraceproject/MBrace.Azure/issues/151#issuecomment-210600835

palladin commented 8 years ago

It is difficult for us to debug external code without a minimal reproduction sample. A different approach is to package your code as a zip file (.exe, .dlls etc) and let mbrace externally handle the distribution. For more details about this technique check this https://github.com/mbraceproject/MBrace.StarterKit/blob/master/HandsOnTutorial/examples/200-launching-python-example.fsx

gsvgit commented 8 years ago

Thanks. I'll try to use manual binaries packaging. Steps for reproduction are presented below. 1) git clone --recursive https://github.com/YaccConstructor/YaccConstructor.git -b min_for_azure_problem 2) Insatll \lib\Pex\pex.academic.x86.msi 3) Install Visual FSharp Tools 3.0 (available here) 4) Run build.cmd to perform initial build. 5) Configure cluster with MBrace Azure starter kit. All settings are default. 6) Open \YaccConstructor\src\YC.Bio.sln 7) Set bio\RNA.Search as startup project 8) Set build mode to Release 9) Open bio\RNA.Search\RNA.Search.fs 10) Go to line 78 and set myStorageConnectionString and myServiceBusConnectionString to appropriate value 11) Run it 12) Exception occurse on cloud computation creation on line 90.

If something does not work in build, please contact me. Unfortunately build is a challenge.

isaacabraham commented 8 years ago

@palladin @gsvgit is this still occurring?