Open Bug 1379489 Opened 7 years ago Updated 2 years ago

Intermittent failures in TestHistory.testRandomThreading2

Categories

(Firefox for iOS :: Build & Test, enhancement, P3)

Other
iOS
enhancement

Tracking

()

Tracking Status
fxios + ---

People

(Reporter: st3fan, Unassigned)

Details

(Whiteboard: [MobileCore])

We need to find out why this test is randomly failing. Right now when builds fail for this test, we just do another build until it is green. That is not a good situation.

If this is not a good test, we should remove it or replace it with something better.
Updated the summary: this is about testRandomThreading2.

Stack trace of the crash:

0	libswiftCore​.dylib	
function signature specialization <preserving fragile attribute, Arg[1] = Exploded> of Swift._assertionFailure (Swift.StaticString, Swift.String, file : Swift.StaticString, line : Swift.UInt, flags : Swift.UInt32) -> Swift.Never
	
1	org​.mozilla​.Storage	BrowserDB.swift ​Line ​107
Storage.BrowserDB.prepareSchema () -> () + 577
	
2	org​.mozilla​.Storage	BrowserDB.swift ​Line ​98
Storage.BrowserDB.init (filename : Swift.String, secretKey : Swift.Optional<Swift.String>, files : Storage.FileAccessor, leaveClosed : Swift.Bool) -> Storage.BrowserDB + 2446
	
3	org​.mozilla​.Storage	
Storage.BrowserDB.__allocating_init (filename : Swift.String, secretKey : Swift.Optional<Swift.String>, files : Storage.FileAccessor, leaveClosed : Swift.Bool) -> Storage.BrowserDB
	
4	org​.mozilla​.ios​.ClientTests	
MockProfile.swift ​ Line 117
ClientTests.MockProfile.init () -> ClientTests.MockProfile + 3203
	
5	org​.mozilla​.ios​.ClientTests	
ClientTests.MockProfile.__allocating_init () -> ClientTests.MockProfile
	
6	org​.mozilla​.ios​.ClientTests	
ProfileTest.swift ​ Line 18
ClientTests.ProfileTest.withTestProfile ((Client.Profile) -> ()) -> () + 67
	
7	org​.mozilla​.ios​.ClientTests	
TestHistory.swift ​ Line 168
ClientTests.TestHistory.testRandomThreading2 () -> () + 156
	
8	org​.mozilla​.ios​.ClientTests	
@objc ClientTests.TestHistory.testRandomThreading2 () -> ()


Also at https://dashboard.buddybuild.com/apps/57bf25c0f096bc01001e21e0/build/59624f93ce135d00017945bb/test/8db359ea-ada6-4226-bb2f-3367f990f3da/0e36fb11-f33a-4d0d-af70-f2c71929a540#tests
Summary: Intermittent failures in TestHistory.testRandomThreading → Intermittent failures in TestHistory.testRandomThreading2
Priority: -- → P3
Whiteboard: [MobileCore]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.