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

SONARKT-418 Migrate UnnecessaryImportsCheck to kotlin-analysis-api #552

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

(WIP)

8c3e4b0
Select commit
Loading
Failed to load commit list.
Draft

SONARKT-418 Migrate UnnecessaryImportsCheck to kotlin-analysis-api #552

(WIP)
8c3e4b0
Select commit
Loading
Failed to load commit list.
Cirrus CI / build_win failed Feb 13, 2025 in 7m 23s

Task Summary

Instruction build failed in 05:34

Details

✅ 00:04 clone
✅ 01:33 gradle
✅ 00:01 create_gradle_directory
❌ 05:34 build

VoidShouldBeUnitCheckTest > with k2 semantics() SKIPPED

Gradle Test Executor 5 finished executing tests.

> Task :sonar-kotlin-checks:test

287 tests completed, 4 failed, 25 skipped
Finished generating test XML results (0.05 secs) into: C:\Windows\SystemTemp\cirrus-ci-build\sonar-kotlin-checks\build\test-results\test
Generating HTML test report...
Finished generating test html results (0.076 secs) into: C:\Windows\SystemTemp\cirrus-ci-build\sonar-kotlin-checks\build\reports\tests\test

> Task :sonar-kotlin-checks:test FAILED
Resolve mutations for :sonar-kotlin-checks:jacocoTestReport (Thread[Execution worker Thread 10,5,main]) started.
:sonar-kotlin-checks:jacocoTestReport (Thread[Execution worker Thread 10,5,main]) started.

> Task :sonar-kotlin-checks:jacocoTestReport
Build cache key for task ':sonar-kotlin-checks:jacocoTestReport' is 2f4d2c711d8afeb1f992c247bb859714
Task ':sonar-kotlin-checks:jacocoTestReport' is not up-to-date because:
  No history is available.
[ant:jacocoReport] Loading execution data file C:\Windows\SystemTemp\cirrus-ci-build\sonar-kotlin-checks\build\jacoco\test.exec
[ant:jacocoReport] Writing bundle 'sonar-kotlin-checks' with 301 classes
Stored cache entry for task ':sonar-kotlin-checks:jacocoTestReport' with cache key 2f4d2c711d8afeb1f992c247bb859714
Resolve mutations for :sonar-kotlin-external-linters:jacocoTestReport (Thread[Execution worker Thread 10,5,main]) started.
:sonar-kotlin-external-linters:jacocoTestReport (Thread[Execution worker Thread 10,5,main]) started.

> Task :sonar-kotlin-external-linters:jacocoTestReport
Build cache key for task ':sonar-kotlin-external-linters:jacocoTestReport' is 708e3d40f0bb37b4e8898309714b688a
Task ':sonar-kotlin-external-linters:jacocoTestReport' is not up-to-date because:
  No history is available.
[ant:jacocoReport] Loading execution data file C:\Windows\SystemTemp\cirrus-ci-build\sonar-kotlin-external-linters\build\jacoco\test.exec
[ant:jacocoReport] Writing bundle 'sonar-kotlin-external-linters' with 23 classes
Stored cache entry for task ':sonar-kotlin-external-linters:jacocoTestReport' with cache key 708e3d40f0bb37b4e8898309714b688a
Resolve mutations for :sonar-kotlin-gradle:jacocoTestReport (Thread[Execution worker Thread 10,5,main]) started.
:sonar-kotlin-gradle:jacocoTestReport (Thread[Execution worker Thread 10,5,main]) started.

> Task :sonar-kotlin-gradle:jacocoTestReport
Build cache key for task ':sonar-kotlin-gradle:jacocoTestReport' is 0e166bf0eaa19ca941f1b3ca890f951e
Task ':sonar-kotlin-gradle:jacocoTestReport' is not up-to-date because:
  No history is available.
[ant:jacocoReport] Loading execution data file C:\Windows\SystemTemp\cirrus-ci-build\sonar-kotlin-gradle\build\jacoco\test.exec
[ant:jacocoReport] Writing bundle 'sonar-kotlin-gradle' with 20 classes
Stored cache entry for task ':sonar-kotlin-gradle:jacocoTestReport' with cache key 0e166bf0eaa19ca941f1b3ca890f951e

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sonar-kotlin-checks:test'.
> There were failing tests. See the report at: file:///C:/Windows/SystemTemp/cirrus-ci-build/sonar-kotlin-checks/build/reports/tests/test/index.html

BUILD FAILED in 5m 32s
129 actionable tasks: 109 executed, 10 from cache, 10 up-to-date
Watched directory hierarchies: [C:\Windows\SystemTemp\cirrus-ci-build]

Publishing build scan...
https://develocity.sonar.build/s/yevbigyjdqh62