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

SLI-1586 Sanitize preprocessorDefines before giving it to the analyzer #1160

Merged
merged 2 commits into from
Sep 12, 2024

Prefer var

0857b5a
Select commit
Loading
Failed to load commit list.
Merged

SLI-1586 Sanitize preprocessorDefines before giving it to the analyzer #1160

Prefer var
0857b5a
Select commit
Loading
Failed to load commit list.
Cirrus CI / qa CIRRUS_AWS_ACCOUNT:275878209202 CIRRUS_AWS_ACCOUNT:275878209202 IDEA_VERSION:RD-2024.1.4 JDK_VERSION:17 JDK_VERSION:17 QA_CATEGORY:Rider2024 succeeded Sep 12, 2024 in 18m 34s

Task Summary

Task successfully finished!

Details

✅ 00:00 clone
✅ 00:01 set_orchestrator_home
✅ 00:01 mkdir_orchestrator_home
✅ 00:11 orchestrator
✅ 00:00 clionKey
✅ 00:00 golandKey
✅ 00:00 datagripKey
✅ 00:00 ideaKey
✅ 00:00 phpstormKey
✅ 00:00 pycharmKey
✅ 00:00 riderKey
✅ 00:00 rubymineKey
✅ 00:00 webstormKey
✅ 00:13 gradle
✅ 00:00 xvfb
✅ 00:00 prepare
✅ 06:46 wait_ide
✅ 00:00 recording
✅ 10:44 run_its
✅ 00:01 cleanup_gradle
✅ 00:01 stop_recording
✅ 00:01 display_log
✅ 00:00 test_recording
✅ 00:00 log
✔️ 00:00 xvfb_log
✔️ 00:00 reports
✔️ 00:00 junit
✔️ 00:00 slack_notification
✅ 00:00 Upload 'orchestrator' cache
✅ 00:00 Upload 'gradle' cache

Annotations

Check failure on line 51 in RepeatUtils.kt

See this annotation in the file changed.

@cirrus-ci cirrus-ci / qa CIRRUS_AWS_ACCOUNT:275878209202 CIRRUS_AWS_ACCOUNT:275878209202 IDEA_VERSION:RD-2024.1.4 JDK_VERSION:17 JDK_VERSION:17 QA_CATEGORY:Rider2024

RepeatUtils.kt#L51

org.sonarlint.intellij.its.tests.flavor.RiderTests.should_analyze_complex_csharp()
Raw output
com.intellij.remoterobot.utils.WaitForConditionTimeoutException: Exceeded timeout (PT30S) for condition function  
	at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor(RepeatUtils.kt:51)
	at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor(RepeatUtils.kt:33)
	at com.intellij.remoterobot.utils.RepeatUtilsKt.waitFor$default(RepeatUtils.kt:26)
	at org.sonarlint.intellij.its.tests.domain.CurrentFileTabTests$Companion$verifyCurrentFileTabContainsMessages$1$1$1$2.invoke(CurrentFileTabTests.kt:119)
	at org.sonarlint.intellij.its.tests.domain.CurrentFileTabTests$Companion$verifyCurrentFileTabContainsMessages$1$1$1$2.invoke(CurrentFileTabTests.kt:116)
	at org.sonarlint.intellij.its.fixtures.tool.window.ToolWindowFixture.content(ToolWindowFixture.kt:57)
	at org.sonarlint.intellij.its.tests.domain.CurrentFileTabTests$Companion$verifyCurrentFileTabContainsMessages$1$1$1.invoke(CurrentFileTabTests.kt:116)
	at org.sonarlint.intellij.its.tests.domain.CurrentFileTabTests$Companion$verifyCurrentFileTabContainsMessages$1$1$1.invoke(CurrentFileTabTests.kt:113)
	at org.sonarlint.intellij.its.fixtures.tool.window.ToolWindowFixtureKt$toolWindow$2.invoke(ToolWindowFixture.kt:40)
	at org.sonarlint.intellij.its.fixtures.tool.window.ToolWindowFixtureKt$toolWindow$2.invoke(ToolWindowFixture.kt:37)
	at com.intellij.remoterobot.stepsProcessing.StepWorkerKt.step(StepWorker.kt:23)
	at org.sonarlint.intellij.its.fixtures.tool.window.ToolWindowFixtureKt.toolWindow(ToolWindowFixture.kt:37)
	at org.sonarlint.intellij.its.tests.domain.CurrentFileTabTests$Companion$verifyCurrentFileTabContainsMessages$1$1.invoke(CurrentFileTabTests.kt:113)
	at org.sonarlint.intellij.its.tests.domain.CurrentFileTabTests$Companion$verifyCurrentFileTabContainsMessages$1$1.invoke(CurrentFileTabTests.kt:112)
	at org.sonarlint.intellij.its.fixtures.IdeaFrameKt.idea(IdeaFrame.kt:35)
	at org.sonarlint.intellij.its.fixtures.IdeaFrameKt.idea$default(IdeaFrame.kt:34)
	at org.sonarlint.intellij.its.tests.domain.CurrentFileTabTests$Companion.verifyCurrentFileTabContainsMessages(CurrentFileTabTests.kt:112)
	at org.sonarlint.intellij.its.tests.flavor.RiderTests$should_analyze_complex_csharp$1.invoke(RiderTests.kt:52)
	at org.sonarlint.intellij.its.tests.flavor.RiderTests$should_analyze_complex_csharp$1.invoke(RiderTests.kt:47)
	at org.sonarlint.intellij.its.BaseUiTest.uiTest(BaseUiTest.kt:109)
	at org.sonarlint.intellij.its.tests.flavor.RiderTests.should_analyze_complex_csharp(RiderTests.kt:47)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:124)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:99)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:63)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:92)
	at jdk.proxy1/jdk.proxy1.$Proxy4.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:198)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:130)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:101)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:61)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:122)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)