-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: two context scenario #127
Conversation
gherkin outptut============================= test session starts ============================== collecting ... collected 48 itemsFeature: Mindwm Lifecycle Management Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test <Record n=<Node element_id='1' labels=frozenset({'Host'}) properties={'hostname': 'tablet', 'atime': 0, 'traceparent': '00-7df92f3577b34da6a3ce930d0e0e4734-4e7e7866f2645d58-01', 'type': 'org.mindwm.v1.graph.node.host'}>> Feature: MindWM io context function test Feature: MindWM io context function test Subscribed to topic '>' Feature: MindWM kafka_cdc function test Feature: MindWM kafka_cdc function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Subscribed to topic '>' Feature: MindWM two hosts one user function test Subscribed to topic '>' Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Subscribed to topic '>' Feature: MindWM two users one context function test Subscribed to topic '>' Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: Context Resource Readiness Verification =================================== FAILURES =================================== self = <pytest_bdd.runner.ScenarioRunner object at 0x70b114a3f9e0>
.venv/lib/python3.12/site-packages/pytest_bdd/runner.py:181: .venv/lib/python3.12/site-packages/pytest_bdd/plugin.py:350: in pytest_bdd_match_step_definition_to_step self = StepHandler.Matcher(config=<_pytest.config.Config object at 0x70b118536510>, feature=Feature(gherkin_document=GherkinD...ures=[], liberal=None, id=NOTHING, Definition__cache={})}, parent=None)), step_type_context=<Type.context: 'Context'>)
E pytest_bdd.steps.StepHandler.Matcher.MatchNotFoundError: all nodes in Kubernetes are ready .venv/lib/python3.12/site-packages/pytest_bdd/steps.py:295: MatchNotFoundError The above exception was the direct cause of the following exception: self = <pytest_bdd.runner.ScenarioRunner object at 0x70b114a3f9e0>
.venv/lib/python3.12/site-packages/pytest_bdd/runner.py:37: .venv/lib/python3.12/site-packages/pytest_bdd/runner.py:59: in pytest_bdd_run_scenario self = <pytest_bdd.runner.ScenarioRunner object at 0x70b114a3f9e0>
E pytest_bdd.exceptions.StepDefinitionNotFoundError: Step definition is not found: "all nodes in Kubernetes are ready". Step keyword: "And". Line 6 in scenario "Create Contexts and Verify All Related Resources Are in Ready State" in the feature "file:features/8_two_contexts.feature" .venv/lib/python3.12/site-packages/pytest_bdd/runner.py:189: StepDefinitionNotFoundError |
gherkin outptut============================= test session starts ============================== collecting ... collected 50 itemsFeature: Mindwm Lifecycle Management Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM io context function test =================================== FAILURES =================================== self = <pytest_bdd.runner.ScenarioRunner object at 0x749056f76660>
.venv/lib/python3.12/site-packages/pytest_bdd/runner.py:181: .venv/lib/python3.12/site-packages/pytest_bdd/plugin.py:350: in pytest_bdd_match_step_definition_to_step self = StepHandler.Matcher(config=<_pytest.config.Config object at 0x74905b5fec00>, feature=Feature(gherkin_document=GherkinD...ures=[], liberal=None, id=NOTHING, Definition__cache={})}, parent=None)), step_type_context=<Type.outcome: 'Outcome'>)
E pytest_bdd.steps.StepHandler.Matcher.MatchNotFoundError: following knative services are in in a ready state in the "context-red" namespace .venv/lib/python3.12/site-packages/pytest_bdd/steps.py:295: MatchNotFoundError The above exception was the direct cause of the following exception: self = <pytest_bdd.runner.ScenarioRunner object at 0x749056f76660>
.venv/lib/python3.12/site-packages/pytest_bdd/runner.py:37: .venv/lib/python3.12/site-packages/pytest_bdd/runner.py:59: in pytest_bdd_run_scenario self = <pytest_bdd.runner.ScenarioRunner object at 0x749056f76660>
E pytest_bdd.exceptions.StepDefinitionNotFoundError: Step definition is not found: "following knative services are in in a ready state in the "context-red" namespace". Step keyword: "Then". Line 12 in scenario "io context red" in the feature "file:features/4_mindwm_io_context.feature" .venv/lib/python3.12/site-packages/pytest_bdd/runner.py:189: StepDefinitionNotFoundError |
gherkin outptut============================= test session starts ============================== collecting ... collected 50 itemsFeature: Mindwm Lifecycle Management Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test <Record n=<Node element_id='1' labels=frozenset({'Host'}) properties={'hostname': 'tablet', 'atime': 0, 'traceparent': '00-7df92f3577b34da6a3ce930d0e0e4734-2fe145db26c92fb2-01', 'type': 'org.mindwm.v1.graph.node.host'}>> Feature: MindWM io context function test Feature: MindWM io context function test Subscribed to topic '>' Feature: MindWM kafka_cdc function test Feature: MindWM kafka_cdc function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Subscribed to topic '>' Feature: MindWM two hosts one user function test Subscribed to topic '>' Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two hosts one user function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Subscribed to topic '>' Feature: MindWM two users one context function test Subscribed to topic '>' Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: MindWM two users one context function test Feature: Context Resource Readiness and Cleanup Verification Feature: Context Resource Readiness and Cleanup Verification Feature: Context Resource Readiness and Cleanup Verification Feature: Context Resource Readiness and Cleanup Verification ================= 50 passed, 72 warnings in 2189.89s (0:36:29) ================= |
gherkin outptut============================= test session starts ============================== collecting ... collected 50 itemsFeature: Mindwm Lifecycle Management Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture =================================== FAILURES =================================== self = <pytest_bdd.runner.ScenarioRunner object at 0x79ca21e2e660>
.venv/lib/python3.12/site-packages/pytest_bdd/runner.py:37: .venv/lib/python3.12/site-packages/pytest_bdd/runner.py:59: in pytest_bdd_run_scenario condition = <Condition (name: helm release has status and info, met: False)>
E TimeoutError: timed out (600s) while waiting for condition <Condition (name: helm release has status and info, met: False)> .venv/lib/python3.12/site-packages/kubetest/utils.py:130: TimeoutError |
gherkin outptut============================= test session starts ============================== collecting ... collected 50 itemsFeature: Mindwm Lifecycle Management Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources 'kind': 'NatsJetStreamChannel', Feature: MindWM Custom kubernetes resources =================================== FAILURES =================================== self = <pytest_bdd.runner.ScenarioRunner object at 0x7df54ce0fad0>
.venv/lib/python3.12/site-packages/pytest_bdd/runner.py:37: .venv/lib/python3.12/site-packages/pytest_bdd/runner.py:59: in pytest_bdd_run_scenario kube = <kubetest.client.TestClient object at 0x7df54aeb98b0>
E AssertionError: assert 'Unknown' == 'True' conftest.py:387: AssertionError
|
gherkin outptut============================= test session starts ============================== collecting ... collected 50 itemsFeature: Mindwm Lifecycle Management Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: Mindwm event driven architecture Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom Resource Definition Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources 'kind': 'NatsJetStreamChannel', Feature: MindWM Custom kubernetes resources Feature: MindWM Custom kubernetes resources 'kind': 'NatsJetStreamChannel', Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test Feature: MindWM Ping-pong EDA test =================================== FAILURES =================================== self = <pytest_bdd.runner.ScenarioRunner object at 0x730a6ddbb230>
.venv/lib/python3.12/site-packages/pytest_bdd/runner.py:37: .venv/lib/python3.12/site-packages/pytest_bdd/runner.py:59: in pytest_bdd_run_scenario step = PickleStep(argument=PickleStepArgument(doc_string=None, data_table=PickleTable(rows=[PickleTableRow(cells=[PickleTable...atcher')])])), ast_node_ids=['352', '355'], id='415', type=<Type.outcome: 'Outcome'>, text='the trace should contains')
E AssertionError: Scope span unknown_service not found in trace data conftest.py:435: AssertionError |
No description provided.