Hi. Thank you for the response. I enabled verbose logging.
When I start IntelliJ IDEA there is “Matching” output for some minutes:
(...)
Matching Sonar project branch
Matched Sonar project branch for configuration scope '2d20...' changed from 'null' to 'default'
Matching Sonar project branch
Matched Sonar project branch for configuration scope '8f71...' changed from 'null' to 'default'
Matching Sonar project branch
Matched Sonar project branch for configuration scope '04d5...' changed from 'null' to 'default'
Matching Sonar project branch
Matched Sonar project branch for configuration scope '14c8...' changed from 'null' to 'r66/integration'
Matching Sonar project branch
Matched Sonar project branch for configuration scope 'c685...' changed from 'null' to 'r66/integration'
Matching Sonar project branch
Matched Sonar project branch for configuration scope 'd022...' changed from 'null' to 'default'
Matching Sonar project branch
Matched Sonar project branch for configuration scope 'fe81...' changed from 'null' to 'default'
(...)
Surprisingly I only see two branch names: default and r66/integration (apart from r66/integration we have a lot of other branches in SonarQube).
Later, only “Matching”, without “Matched” is visible:
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
Matching Sonar project branch
(...)
Eventually the “Matching” log stops, and I see “Computing paths translation” output, like this:
Computing paths translation for config scope '75f8...'...
GET 200 https://.../api/components/tree.protobuf?qualifiers=FIL,UTS&component=...&ps=500&p=1 | response time=1639ms
Page downloaded in 1639ms
GET 200 https://.../api/components/tree.protobuf?qualifiers=FIL,UTS&component=...&ps=500&p=2 | response time=1528ms
Page downloaded in 1529ms
GET 200 https://.../api/components/tree.protobuf?qualifiers=FIL,UTS&component=...&ps=500&p=3 | response time=1083ms
Page downloaded in 1084ms
(… and additional GETs until p=26, then:)
Starting matching paths for config scope '75f8...'...
No client files for config scope '75f8...'. Skipping path matching.
Then the same for another id:
Computing paths translation for config scope '0dc6...'...
GET 200 https://.../api/components/tree.protobuf?qualifiers=FIL,UTS&component=...&ps=500&p=1 | response time=1007ms
Page downloaded in 1008ms
GET 200 https://.../api/components/tree.protobuf?qualifiers=FIL,UTS&component=...&ps=500&p=2 | response time=1033ms
Page downloaded in 1033ms
GET 200 https://.../api/components/tree.protobuf?qualifiers=FIL,UTS&component=...&ps=500&p=3 | response time=1171ms
Page downloaded in 1172ms
(… and so on)
It looks like it’s always the same pattern:
- Computing paths translation for config scope ‘a’…
- 26 times: GET 200 … and Paged downloaded
- Starting matching paths for config scope ‘a’…
- No client files for config scope ‘a’. Skipping path matching.
- Then the same for config scope ‘b’, …
(It’s always the same URL and the same component.) Today I let it run for 4 hours. It didn’t stop.
Is this a incompatibility between the SonarLint plugin in IntelliJ IDEA and our SonarQube server (Community Edition with added branch support)?
Thanks again
Beat