Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gsvgit opened this issue Apr 14, 2016 · 8 comments
Open

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

gsvgit opened this issue Apr 14, 2016 · 8 comments

Comments

@gsvgit
Copy link

gsvgit commented Apr 14, 2016

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
Copy link
Member

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

@gsvgit
Copy link
Author

gsvgit commented Apr 14, 2016

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
Copy link
Member

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
Copy link
Author

gsvgit commented Apr 15, 2016

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
Copy link
Member

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
#151 (comment)

@palladin
Copy link
Member

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
Copy link
Author

gsvgit commented Apr 18, 2016

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
Copy link
Contributor

isaacabraham commented Jul 11, 2016

@palladin @gsvgit is this still occurring?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants