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

[Investigation - DO NOT MERGE] Added logging to suppressions - gold bar 3138 #3155

Closed
wants to merge 1 commit into from

Conversation

duncanp-sonar
Copy link
Contributor

Log output showing the UI thread is blocked:

Search for Lock acquired. Running total: 5242ms.

Analyzing C:\Data\repos\TheAlgorithms\Sorts\MergeSort.js
[EslintBridgeAnalyzer] [Analyze] [Thread: 53, 06:09:25.916] [MergeSort.js] sStarting analysis...
[EslintBridgeAnalyzer] [EnsureEslintBridgeClientIsInitialized] [Thread: 53, 06:09:25.921] Ensuring eslintbridge is initialized...
[EslintBridgeAnalyzer] [EnsureEslintBridgeClientIsInitialized] [Thread: 53, 06:09:25.925] Waiting to acquire lock...
[EslintBridgeAnalyzer] [EnsureEslintBridgeClientIsInitialized] [Thread: 53, 06:09:25.926] Lock acquired. Running total: 1ms
[EslintBridgeAnalyzer] [EnsureEslintBridgeClientIsInitialized] [Thread: 53, 06:09:25.931] Calling InitLinter...
[NodeJSLocator] Checking environment variable SONAR_NODEJS_PATH
[NodeJsLocator] Environment variable is not set
[NodeJsLocator] Found compatible Node version: 12.22.6. Path: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\NodeJs\node.exe
[eslint-bridge] Started eslint-bridge process. Process id: 7304
Connected to SonarCloud '8.0.0.30661'.
[Suppressions] [DoInitialFetchAsync] [Thread: 1, 06:09:26.899] [Initial fetch] Starting ...
[Suppressions] [.ctor] [Thread: 1, 06:09:26.899] Starting refresh timer
Suppressions have been updated. Open documents will be re-analysed.
[AnalysisConfig] [OnSuppressionsUpdated] [Thread: 1, 06:09:26.899] Raising analysis config changed event...
[EslintBridgeAnalyzer] [AnalysisConfigMonitor_ConfigChanged] [Thread: 1, 06:09:26.899] Handling analysis config changed event...
[EslintBridgeAnalyzer] [RequireLinterUpdate] [Thread: 1, 06:09:26.899] Start
[EslintBridgeAnalyzer] [RequireLinterUpdate] [Thread: 1, 06:09:26.899] Waiting to acquire lock...
[Suppressions] [DoInitialFetchAsync] [Thread: 53, 06:09:27.078] [Initial fetch] Switched to background thread
[Suppressions] [DoInitialFetchAsync] [Thread: 53, 06:09:29.846] [Initial fetch] Checking for connection to server...
[eslint-bridge] [process id: 7304] Server running on port: 50155.
[Suppressions] [DoInitialFetchAsync] [Thread: 53, 06:09:29.912] [Initial fetch] Connected.
[Suppressions] [SynchronizeSuppressedIssuesAsync] [Thread: 53, 06:09:29.932] Synchronzing...
Checking for suppressions...
Number of suppressions found: 1
[Suppressions] [SynchronizeSuppressedIssuesAsync] [Thread: 56, 06:09:30.060] Finished Synchronizing. Elapsed: 127ms
[Suppressions] [DoInitialFetchAsync] [Thread: 56, 06:09:30.061] [Initial fetch] Finished.
[EslintBridgeAnalyzer] [EnsureEslintBridgeClientIsInitialized] [Thread: 56, 06:09:32.141] InitLinter finished. Running total: 6215ms
[EslintBridgeAnalyzer] [RequireLinterUpdate] [Thread: 1, 06:09:32.142] Lock acquired. Running total: 5242ms
[EslintBridgeAnalyzer] [RequireLinterUpdate] [Thread: 1, 06:09:32.142] Stop.Elapsed: 5243ms
[EslintBridgeAnalyzer] [AnalysisConfigMonitor_ConfigChanged] [Thread: 1, 06:09:32.142] Event handled. Elapsed: 5243ms
[EslintBridgeAnalyzer] [AnalysisConfigMonitor_ConfigChanged] [Thread: 1, 06:09:32.142] Handling analysis config changed event...
[EslintBridgeAnalyzer] [RequireLinterUpdate] [Thread: 1, 06:09:32.142] Start
[EslintBridgeAnalyzer] [RequireLinterUpdate] [Thread: 1, 06:09:32.142] Waiting to acquire lock...
[EslintBridgeAnalyzer] [RequireLinterUpdate] [Thread: 1, 06:09:32.142] Lock acquired. Running total: 0ms
[EslintBridgeAnalyzer] [RequireLinterUpdate] [Thread: 1, 06:09:32.142] Stop.Elapsed: 0ms
[EslintBridgeAnalyzer] [AnalysisConfigMonitor_ConfigChanged] [Thread: 1, 06:09:32.142] Event handled. Elapsed: 0ms
[AnalysisConfig] [OnSuppressionsUpdated] [Thread: 1, 06:09:32.142] Event handling finished. Elapsed: 5243ms
[AnalysisConfig] [OnSuppressionsUpdated] [Thread: 1, 06:09:32.142] Requesting re-analysis...
[AnalysisConfig] [OnSuppressionsUpdated] [Thread: 1, 06:09:32.143] Returned from requesting re-analysis. Elapsed: 0ms

@duncanp-sonar duncanp-sonar changed the title [Investigation - DO NOT MERGE] Added logging to suppressions [Investigation - DO NOT MERGE] Added logging to suppressions - gold bar 3138 Aug 4, 2022
@duncanp-sonar duncanp-sonar deleted the dp/diag_suppLogging branch December 6, 2022 17:00
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

Successfully merging this pull request may close these issues.

1 participant