Closed lawrence-forooghian closed 1 year ago
➤ Automation for Jira commented:
The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3180
I've pushed the code with the failures to https://github.com/ably/ably-asset-tracking-swift/tree/513-example-of-missing-tests-in-junit-report so we can reproduce this later. It's happening because the tests are causing a nil
implicitly unwrapped optional to be unwrapped, and the test process is crashing. This seems to be an issue in how xcpretty
is converting the xcodebuild
output that's piped in to it. I'll upload an example of this xcodebuild
output later.
OK, here's an example of an xcodebuild
log, and the corresponding .xcresult
bundle. Both from my machine.
For example, see https://github.com/ably/ably-asset-tracking-swift/actions/runs/3679080639/jobs/6235577712; the following tests are failing (and many others):
ChannelModesTests.testShouldCreateOnlyOnePublisherAndOneSubscriberConnection()
PublisherAndSubscriberSystemTests.testSubscriberReceivesAssetConnectionStatusWithBicycleProfile()
PublisherAndSubscriberSystemTests.testSubscriberReceivesAssetConnectionStatusWithCarProfile()
PublisherAndSubscriberSystemTests.testSubscriberReceivesPublisherMessageWithBicycleProfile()
PublisherAndSubscriberSystemTests.testSubscriberReceivesPublisherMessageWithCarProfile()
But none of those appear in the JUnit report uploaded to the test observability server.
Also, the number of tests per upload seems to be varying wildly (see the "Total number of tests" column here).