Skip to content

FAILED: only once through test_swim_shouldNotifyClusterAboutUnreachableNode_whenUnreachableDiscoveredByOtherNode #597

@ktoso

Description

@ktoso

A bit weird one, happened once locally:

Test Case '-[DistributedActorsTests.SWIMShellClusteredTests test_swim_shouldNotifyClusterAboutUnreachableNode_whenUnreachableDiscoveredByOtherNode]' started.
handshakeCompleted.makeAccept() === HandshakeAccept(version: Version(0.0.1, reserved:0), from: sact://first:[email protected]:9001, origin: sact://second:[email protected]:9002)
handshakeCompleted.makeAccept() === HandshakeAccept(version: Version(0.0.1, reserved:0), from: sact://third:[email protected]:9003, origin: sact://second:[email protected]:9002)
                         accept === HandshakeAccept(version: Version(0.0.1, reserved:0), from: sact://second:[email protected]:9002, origin: sact://first:[email protected]:9001)
                         accept === HandshakeAccept(version: Version(0.0.1, reserved:0), from: sact://second:[email protected]:9002, origin: sact://third:[email protected]:9003)
/Users/ktoso/code/actors/Tests/DistributedActorsTests/Cluster/SWIM/SWIMShellClusteredTests.swift:675: error: -[DistributedActorsTests.SWIMShellClusteredTests test_swim_shouldNotifyClusterAboutUnreachableNode_whenUnreachableDiscoveredByOtherNode] : XCTAssertEqual failed: ("sact://[email protected]:9001") is not equal to ("sact://[email protected]:9002") -
        change.member.node.shouldEqual(uniqueNode)
                          ^~~~~~~~~~~~
error: [sact://[email protected]:9001] does not equal expected: [sact://[email protected]:9002]

/Users/ktoso/code/actors/Sources/DistributedActorsTestKit/TestProbes.swift:232: error: -[DistributedActorsTests.SWIMShellClusteredTests test_swim_shouldNotifyClusterAboutUnreachableNode_whenUnreachableDiscoveredByOtherNode] : failed: caught error: "error(message: "\n        let messages = try eventStreamProbe.fishFor(Cluster.ReachabilityChange.self, within: .seconds(10)) { event in\n                                             \u{1B}[0;31m^~~~~~\nerror: No messages DistributedActors.Cluster.ReachabilityChange caught within 10s! Last message observed was: [snapshot(Membership(count: 3, leader: [Member(sact://[email protected]:9001, status: joining, reachability: reachable)], members: [Member(sact://second:[email protected]:9002, status: joining, reachability: reachable), Member(sact://third:[email protected]:9003, status: joining, reachability: reachable), Member(sact://first:[email protected]:9001, status: joining, reachability: reachable)]))].\u{1B}[0;0m")"
------------------------------------- ActorSystem(first, sact://[email protected]:9001) ------------------------------------------------
========================================================================================================================
------------------------------------- ActorSystem(second, sact://[email protected]:9002) ------------------------------------------------
========================================================================================================================
------------------------------------- ActorSystem(third, sact://[email protected]:9003) ------------------------------------------------
========================================================================================================================
Test Case '-[DistributedActorsTests.SWIMShellClusteredTests test_swim_shouldNotifyClusterAboutUnreachableNode_whenUnreachableDiscoveredByOtherNode]' failed (15.569 seconds).
Test Suite 'SWIMShellClusteredTests' failed at 2020-04-29 12:02:45.262.
	 Executed 1 test, with 2 failures (1 unexpected) in 15.569 (15.569) seconds
Test Suite 'swift-distributed-actorsPackageTests.xctest' failed at 2020-04-29 12:02:45.262.
	 Executed 1 test, with 2 failures (1 unexpected) in 15.569 (15.570) seconds
Test Suite 'Selected tests' failed at 2020-04-29 12:02:45.262.
	 Executed 1 test, with 2 failures (1 unexpected) in 15.569 (15.570) seconds

Metadata

Metadata

Assignees

Labels

failed 💥Failed tickets are CI or benchmarking failures, should be investigated as soon as possiblet:cluster:allt:cluster:swim

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions