Skip to content

behave test will hang on the third node #1935

@liangxin1300

Description

@liangxin1300
# behave bootstrap_sbd_normal.feature 
USING RUNNER: behave.runner:Runner
@sbd
Feature: crmsh bootstrap sbd management # bootstrap_sbd_normal.feature:2
  Tag @clean means need to stop cluster service if the service is available
  @clean
  Scenario: Configure diskless sbd(bsc#1181907)                                           # bootstrap_sbd_normal.feature:7
    Given Cluster service is "stopped" on "sle16-1"                                       # steps/step_implementation.py:45 0.046s
    Given Cluster service is "stopped" on "sle16-2"                                       # steps/step_implementation.py:45 0.042s
    When Run "crm cluster init -S -y" on "sle16-1"                                        # steps/step_implementation.py:109 29.595s
    Then Expected "Diskless SBD requires cluster with three or more nodes." in stderr     # steps/step_implementation.py:170 0.000s
    Then Cluster service is "started" on "sle16-1"                                        # steps/step_implementation.py:237 0.038s
    And Service "sbd" is "started" on "sle16-1"                                           # steps/step_implementation.py:242 0.034s
    When Run "crm cluster join -c sle16-1 -y" on "sle16-2"                                # steps/step_implementation.py:109
    When Run "crm cluster join -c sle16-1 -y" on "sle16-2"                                # steps/step_implementation.py:109 29.681s
    Then Expected "Diskless SBD requires cluster with three or more nodes." in stderr     # steps/step_implementation.py:170 0.000s
    Then Cluster service is "started" on "sle16-2"                                        # steps/step_implementation.py:237 0.039s
    And Service "sbd" is "started" on "sle16-2"                                           # steps/step_implementation.py:242 0.035s
    When Run "crm cluster join -c sle16-1 -y" on "sle16-3"                                # steps/step_implementation.py:109

As stated in the title, the behave test hangs on the third node (the same hang occurs regardless of whether sle16-2 or sle16-3 is the third node). In reality, crmsh has already completed the join process on the third node.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions