mycroft / log-rebuilder Goto Github PK
View Code? Open in Web Editor NEWRebuilds logs from a stdout
Rebuilds logs from a stdout
Handle exceptions with inner exceptions in them:
SetUp failed for test fixture Criteo.LogsTestaroo.ITest.ITestSetUpFixture
An exception was thrown during OneTimeSetUp: System.AggregateException: One or more errors occurred. (Failed to run sqlpackage. Make sure it is in your PATH.) ---> Criteo.Testing.Isolation.DB.DbException: Failed to run sqlpackage. Make sure it is in your PATH. ---> System.ComponentModel.Win32Exception: No such file or directory
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Criteo.Testing.Isolation.Util.ProcessWrapper.Start() in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\Util\ProcessWrapper.cs:line 146
at Criteo.Testing.Isolation.DB.DbExecutable.RunAndWait(String args, String dir) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\DB\DbExecutable\DbExecutable.cs:line 37
--- End of inner exception stack trace ---
at Criteo.Testing.Isolation.DB.DbExecutable.RunAndWait(String args, String dir) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\DB\DbExecutable\DbExecutable.cs:line 41
at Criteo.Testing.Isolation.Util.Retry.<>c__DisplayClass2_0.<Do>b__0() in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\Util\Retry.cs:line 73
at Criteo.Testing.Isolation.Util.Retry.Do[T](Func`1 fnc, Int32 tryCount, Int32 retryDelayMs, Action`1 observer) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\Util\Retry.cs:line 42
at Criteo.Testing.Isolation.Util.Retry.Do(Action action, Int32 tryCount, Int32 retryDelayMs, Action`1 observer) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\Util\Retry.cs:line 75
at Criteo.Testing.Isolation.DB.DacpacDeployment.BuildScript() in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\DB\DacpacDeployment.cs:line 55
at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
at System.Threading.Tasks.TaskReplicator.Replica`1.ExecuteAction(Boolean& yieldedBeforeCompletion)
at System.Threading.Tasks.TaskReplicator.Replica.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)
at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)
at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at Criteo.Testing.Isolation.DatabasesSetup.BuildScripts(IEnumerable`1 databases) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\DatabasesSetup.cs:line 192
at Criteo.Testing.Isolation.DatabasesSetup.Init(IEnumerable`1 databases) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\DatabasesSetup.cs:line 164
at Criteo.LogsTestaroo.ITest.ITestSetUpFixture.RunBeforeTheFirstTest() in /home/mycroft/criteo/JMOAB-csharp/project/testaroo/Criteo.LogsTestaroo.ITest/ITestSetUpFixture.cs:line 19
---> (Inner Exception #0) Criteo.Testing.Isolation.DB.DbException: Failed to run sqlpackage. Make sure it is in your PATH. ---> System.ComponentModel.Win32Exception: No such file or directory
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Criteo.Testing.Isolation.Util.ProcessWrapper.Start() in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\Util\ProcessWrapper.cs:line 146
at Criteo.Testing.Isolation.DB.DbExecutable.RunAndWait(String args, String dir) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\DB\DbExecutable\DbExecutable.cs:line 37
--- End of inner exception stack trace ---
at Criteo.Testing.Isolation.DB.DbExecutable.RunAndWait(String args, String dir) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\DB\DbExecutable\DbExecutable.cs:line 41
at Criteo.Testing.Isolation.Util.Retry.<>c__DisplayClass2_0.<Do>b__0() in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\Util\Retry.cs:line 73
at Criteo.Testing.Isolation.Util.Retry.Do[T](Func`1 fnc, Int32 tryCount, Int32 retryDelayMs, Action`1 observer) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\Util\Retry.cs:line 42
at Criteo.Testing.Isolation.Util.Retry.Do(Action action, Int32 tryCount, Int32 retryDelayMs, Action`1 observer) in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\Util\Retry.cs:line 75
at Criteo.Testing.Isolation.DB.DacpacDeployment.BuildScript() in C:\ps2\testing\testing-csharp\Criteo.Testing.Isolation\DB\DacpacDeployment.cs:line 55
at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Parallel.<>c__DisplayClass44_0`2.<PartitionerForEachWorker>b__1(IEnumerator& partitionState, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
at System.Threading.Tasks.TaskReplicator.Replica`1.ExecuteAction(Boolean& yieldedBeforeCompletion)
at System.Threading.Tasks.TaskReplicator.Replica.Execute()<---
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.