Skip to content

Scope host tag-rule matches to deployment plan in allocators - #13951

Open
DaanHoogland wants to merge 1 commit into
4.20from
fix-vm-deployment-issue
Open

Scope host tag-rule matches to deployment plan in allocators#13951
DaanHoogland wants to merge 1 commit into
4.20from
fix-vm-deployment-issue

Scope host tag-rule matches to deployment plan in allocators

f603e1b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 22, 2026 in 6m 33s

Quality Gate failed

Annotations

Check warning on line 110 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH8&open=AaAq8vl2hKBcFfom5EH8&pullRequest=13951

Check warning on line 68 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIL&open=AaAq8vq5hKBcFfom5EIL&pullRequest=13951

Check warning on line 75 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIQ&open=AaAq8vq5hKBcFfom5EIQ&pullRequest=13951

Check warning on line 66 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIJ&open=AaAq8vq5hKBcFfom5EIJ&pullRequest=13951

Check warning on line 112 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH9&open=AaAq8vl2hKBcFfom5EH9&pullRequest=13951

Check warning on line 100 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH2&open=AaAq8vl2hKBcFfom5EH2&pullRequest=13951

Check warning on line 106 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH6&open=AaAq8vl2hKBcFfom5EH6&pullRequest=13951

Check warning on line 70 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIN&open=AaAq8vq5hKBcFfom5EIN&pullRequest=13951

Check warning on line 59 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EID&open=AaAq8vq5hKBcFfom5EID&pullRequest=13951

Check warning on line 104 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH4&open=AaAq8vl2hKBcFfom5EH4&pullRequest=13951

Check warning on line 63 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIG&open=AaAq8vq5hKBcFfom5EIG&pullRequest=13951

Check warning on line 69 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIM&open=AaAq8vq5hKBcFfom5EIM&pullRequest=13951

Check warning on line 76 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "doReturn".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIR&open=AaAq8vq5hKBcFfom5EIR&pullRequest=13951

Check warning on line 99 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH1&open=AaAq8vl2hKBcFfom5EH1&pullRequest=13951

Check warning on line 83 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "never".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIU&open=AaAq8vq5hKBcFfom5EIU&pullRequest=13951

Check warning on line 119 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH_&open=AaAq8vl2hKBcFfom5EH_&pullRequest=13951

Check warning on line 72 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIO&open=AaAq8vq5hKBcFfom5EIO&pullRequest=13951

Check warning on line 61 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIF&open=AaAq8vq5hKBcFfom5EIF&pullRequest=13951

Check warning on line 107 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH7&open=AaAq8vl2hKBcFfom5EH7&pullRequest=13951

Check warning on line 64 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIH&open=AaAq8vq5hKBcFfom5EIH&pullRequest=13951

Check warning on line 67 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIK&open=AaAq8vq5hKBcFfom5EIK&pullRequest=13951

Check warning on line 113 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH-&open=AaAq8vl2hKBcFfom5EH-&pullRequest=13951

Check warning on line 120 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EIA&open=AaAq8vl2hKBcFfom5EIA&pullRequest=13951

Check warning on line 105 in plugins/host-allocators/random/src/test/java/com/cloud/agent/manager/allocator/impl/RandomAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vl2hKBcFfom5EH5&open=AaAq8vl2hKBcFfom5EH5&pullRequest=13951

Check warning on line 58 in server/src/test/java/com/cloud/agent/manager/allocator/impl/FirstFitAllocatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaAq8vq5hKBcFfom5EIC&open=AaAq8vq5hKBcFfom5EIC&pullRequest=13951