Bug 576685 - Fix flaky test Bug_303953Test.testBuildAfterSourcefileDelete
Summary: Fix flaky test Bug_303953Test.testBuildAfterSourcefileDelete
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: Next   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 499777
  Show dependency tree
 
Reported: 2021-10-17 21:29 EDT by Jonah Graham CLA
Modified: 2021-10-17 21:29 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonah Graham CLA 2021-10-17 21:29:40 EDT
Bug_303953Test.testBuildAfterSourcefileDelete is failing again (at least once recently). Bug 575508 was a recent attempt to fix it, which handled some of the cases, but there seem to be issues still.

If we see it unstable too many times I'll mark it as flaky again.


Regression
org.eclipse.cdt.managedbuilder.core.regressions.Bug_303953Test.testBuildAfterSourcefileDelete

Failing for the past 1 build (Since #3783 )
Took 1.2 sec.
Error Message
Resource Changed Delta
Verifying delta for /
Verifying delta for /helloworldC
Verifying delta for /helloworldC/.settings
 Missing expected change
  Actual kind: <ADDED>
  Actual change flags: <0>
Verifying delta for /helloworldC/.settings/language.settings.xml
 Missing expected change
  Actual kind: <ADDED>
  Actual change flags: <0>
Resource Changed Delta
Verifying delta for /
Verifying delta for /helloworldC
Verifying delta for /helloworldC/Debug
Verifying delta for /helloworldC/Debug/helloworldC
Verifying delta for /helloworldC/Debug/makefile
Verifying delta for /helloworldC/Debug/objects.mk
Verifying delta for /helloworldC/Debug/sources.mk
Verifying delta for /helloworldC/Debug/src
Verifying delta for /helloworldC/Debug/src/helloworldC.d
Verifying delta for /helloworldC/Debug/src/helloworldC.o
Verifying delta for /helloworldC/Debug/src/subdir.mk
Checking expectations for /
 Ignored
Checking expectations for /helloworldC
 Ignored
 ==> expected: <true> but was: <false>
Stacktrace
org.opentest4j.AssertionFailedError: 
Resource Changed Delta
Verifying delta for /
Verifying delta for /helloworldC
Verifying delta for /helloworldC/.settings
	Missing expected change
		Actual kind: <ADDED>
		Actual change flags: <0>
Verifying delta for /helloworldC/.settings/language.settings.xml
	Missing expected change
		Actual kind: <ADDED>
		Actual change flags: <0>
Resource Changed Delta
Verifying delta for /
Verifying delta for /helloworldC
Verifying delta for /helloworldC/Debug
Verifying delta for /helloworldC/Debug/helloworldC
Verifying delta for /helloworldC/Debug/makefile
Verifying delta for /helloworldC/Debug/objects.mk
Verifying delta for /helloworldC/Debug/sources.mk
Verifying delta for /helloworldC/Debug/src
Verifying delta for /helloworldC/Debug/src/helloworldC.d
Verifying delta for /helloworldC/Debug/src/helloworldC.o
Verifying delta for /helloworldC/Debug/src/subdir.mk
Checking expectations for /
	Ignored
Checking expectations for /helloworldC
	Ignored
 ==> expected: <true> but was: <false>
	at org.eclipse.cdt.managedbuilder.core.regressions.Bug_303953Test.testBuildAfterSourcefileDelete(Bug_303953Test.java:56)