RuntimeTools / SwiftMetrics

Swift Application Metrics instruments the Swift runtime for performance monitoring, providing the monitoring data programatically via an API or visually with an Eclipse Client.
https://developer.ibm.com/swift/monitoring-diagnostics/application-metrics-for-swift/
Other
154 stars 49 forks source link

Failing test on Ubuntu 16.04 (xenial) #220

Open ianpartridge opened 5 years ago

ianpartridge commented 5 years ago

Example: https://travis-ci.org/RuntimeTools/SwiftMetrics/jobs/524976223

Test Case 'CoreSwiftMetricsTests.SwiftMetricsMemory' started at 2019-04-26 14:32:43.817
[Fri Apr 26 14:32:43 2019] com.ibm.diagnostics.healthcenter.loader INFO: Swift Application Metrics
/home/travis/build/RuntimeTools/SwiftMetrics/Tests/CoreSwiftMetricsTests/CoreSwiftMetricsTests.swift:136: error: CoreSwiftMetricsTests.SwiftMetricsMemory : Asynchronous wait failed - Exceeded timeout of 10.0 seconds, with unfulfilled expectations: Expect a Memory event
/home/travis/build/RuntimeTools/SwiftMetrics/Tests/CoreSwiftMetricsTests/CoreSwiftMetricsTests.swift:137: error: CoreSwiftMetricsTests.SwiftMetricsMemory : XCTAssertNil failed: "XCTestError(_nsError: The operation could not be completed)" - 
Test Case 'CoreSwiftMetricsTests.SwiftMetricsMemory' failed (10.008 seconds)

For now, I've disabled testing on 16.04 but we need to get it working (and 18.04) as 14.04 is ancient history.