#7865 test_topology_TestTopologyOptions:test_add_remove_segment nightly failure in fed28 and fed29
Closed: fixed a year ago by fcami. Opened a year ago by frenaud.

The test ipatests.test_integration.test_topology.TestTopologyOptions started to fail in test_add_remove_segment since a few days.
On fedora28 last successful run was Wed Feb 13 2019, first failure Fri Feb 15 2019.
On fedora29 last successful run was Tue Feb 12 2019, first failure Thu Feb 14 2019.

The test scenario is the following:

  • install master
  • install replica1 (can see master/replica1 segment)
  • install replica2 from master, create a segment from replica1 to replica2 in order to make a ring topology (master/replica1 master/replica2 and replica1/replica2 segments)
  • remove master/replica2 segment (cmd run on master): we now have a line topology master <--> replica1 <-->replica2
  • wait for replication update on replica1
  • run ipa topologysegment-find on replica1 to make sure that the config has been propagated

This step is failing as we still see master/replica2 segment.

To be checked: the test is calling wait_for_replication on replica1, but the segment deletion is done on master. wait_for_replication should probably be executed on master, the doc comment of the method states:

Note that this waits for updates originating on this host, not those coming from other hosts

Metadata Update from @frenaud:
- Issue assigned to frenaud

a year ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2841

a year ago


  • cb14883 tests: fix failure in test_topology_TestTopologyOptions:test_add_remove_segment

Metadata Update from @fcami:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

a year ago


  • 521435d tests: fix failure in test_topology_TestTopologyOptions:test_add_remove_segment


  • 0cc732e tests: fix failure in test_topology_TestTopologyOptions:test_add_remove_segment

Login to comment on this ticket.