Comments (6)
I've looked into this multiple times and logically, the test seems sound to me - I have no clue how that condition could be failing. Can someone else have a look at the code? I'm likely missing some c#-related detail that comes into play here.
from sentry-dotnet.
Related:
from sentry-dotnet.
Still getting this all over the place (e.g. here). I get this pretty frequenly on my local machine as well (so not just a CI thing).
I think we should disable this test until we can work out what's going on and fix it.
from sentry-dotnet.
I've looked into this multiple times and logically, the test seems sound to me - I have no clue how that condition could be failing. Can someone else have a look at the code? I'm likely missing some c#-related detail that comes into play here.
Hm, as you say, logically it all looks OK.
The only theoretical situation in which I could imagine the test doing what it's doing is if this line doesn't throw an exception:
In that scenario, the constructor might return an instance before any exception from the Task.Wait was thrown... I guess that could happen if the work being done by _sessionTask
didn't get scheduled within the timeout (in this case 10 seconds, so that seems highly improbably). And even if that was happening, we'd expect to see the log message from:
from sentry-dotnet.
I get this pretty frequenly on my local machine as well (so not just a CI thing).
One caveat in the comment on the PR... we're not expecting that PR to resolve this outside of CI. If this is resolved in CI but continues to be a problem on local machines, that at least confirms the source of the problem and we can circle back to remove the TestEnvironment
check (factory.StartupTimedOut.Should().BeTrue()
should be enough):
from sentry-dotnet.
We haven't had any trouble for a while, but did run into this today:
Nothing to do yet, I don't think... once could just be some twighlight zone anomaly but if it starts happening regularly again, we may need to reopen the case.
from sentry-dotnet.
Related Issues (20)
- Memory Profiling HOT 1
- Unable to cast object of type 'Sentry.Log4Net.SentryAppender' to type 'log4net.Appender.IAppender' HOT 4
- OOTB metrics HOT 1
- Could not get pinvoke, or callbacks for method 'Sentry.Native.C::sentry_options_set_logger' HOT 2
- Document requirement for active scope transaction
- Url parameter secrets are not sanitized by default in ASP.NET HOT 6
- Windows Service memory grows indefinitely with Tracing and Profiling enabled. HOT 5
- Improve Sentry CLI utilization HOT 1
- Deprecate `EnableTracing`
- Consider `Mechanism.Handled` for non-thrown captured exceptions HOT 1
- Envelopes stuck in `__processing` until restart HOT 2
- Instrumenting failed AWS SDK requests throws due to AWS's use of UriCreationOptions.DangerousDisablePathAndQueryCanonicalization HOT 3
- UWP events missing debug_meta.images information HOT 1
- Exceptions captured through `Extensions.Logging` marked as `handled = true` HOT 8
- ASP.NET Core Telemetry: Failed invoking event handler in anonymous routes HOT 5
- Azure Functions Worker docs
- Support Caches Module
- Support Queues Module
- Memory Leak when using Sentry Profiling HOT 4
- DiagnosticSource FileLoadException at sentry init HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-dotnet.