XCTest: Cannot figure out crash reason from data in .xcresult

Originator:vytis.s.lt
Number:rdar://46309887 Date Originated:28-Nov-2018 04:53 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 10.0
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
We have a test that crashes when running on CI but not on local machine. Looking at .xcresult bundle we could not figure out a reason.

Steps to Reproduce:
1. Look at StandardOutputAndStandardError.txt -> It only says “Restarting after unexpected exit or crash”, no reason given.
2. Looking at the .crash in Attachments -> almost empty apart from the header
3. Cannot open .logarchive with Console.app (Version 1.0 2.0.52)

Expected Results:
1. .xcresult bundle should provide logs and crash reports with enough detail to figure out why tests crash

Actual Results:
1. It has not enough information

Version:
Xcode 10.0

Notes:
It seems that logs do not provide enough information to figure out what was the reason of the crash. Attaching the .xcresult bundle.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!