Skip to content
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

test_multi_match_1 fails #4427

Closed
xtcyclist opened this issue Jul 14, 2022 · 1 comment
Closed

test_multi_match_1 fails #4427

xtcyclist opened this issue Jul 14, 2022 · 1 comment
Labels
severity/minor Severity of bug type/bug Type: something is unexpected
Milestone

Comments

@xtcyclist
Copy link
Contributor

Please check the FAQ documentation before raising an issue

Describe the bug (required)

________________________________________________________________________________________________________________________________ test_multi_match_1 _________________________________________________________________________________________________________________________________
[gw2] linux -- Python 3.8.10 /usr/bin/python3
../../../.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:177: in scenario_wrapper
_execute_scenario(feature, scenario, request, encoding)
../../../.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:143: in _execute_scenario
_execute_step_function(request, scenario, step, step_func)
../../../.local/lib/python3.8/site-packages/pytest_bdd/scenario.py:113: in _execute_step_function
return_value = step_func(**kwargs)
tck/conftest.py:785: in check_plan
assert differ.diff(), differ.err_msg()
E AssertionError: Invalid descriptions, expect: {"vertexProps": [{"tagId": 10, "props": ["name"]}], "edgeProps": [{"props": ["_dst", "_rank", "_type", "_src"], "type": -5}, {"props": ["_dst", "_rank", "_type", "_src"], "type": 5}, {"type": -3, "props": ["_dst", "_rank", "_type", "_src"]}, {"props": ["_dst", "_rank", "_type", "_src"], "type": 3}, {"props": ["_dst", "_rank", "_type", "_src"], "type": -4}, {"props": ["_dst", "_rank", "_type", "_src"], "type": 4}]} vs. resp: {"inputVar": "__Argument_12", "space": "2", "dedup": "true", "limit": "-1", "filter": "", "orderBy": "[]", "src": "id($-.l)", "edgeTypes": "[]", "edgeDirection": "BOTH", "vertexProps": "[{"props":["name"],"tagId":10}]", "edgeProps": "[{"props":["_dst","_rank","_type","_src"],"type":-5},{"props":["_dst","_rank","_type","_src"],"type":5},{"props":["_dst","_rank","_type","_src"],"type":-4},{"props":["_dst","_rank","_type","_src"],"type":4},{"props":["_dst","_rank","_type","_src"],"type":-3},{"props":["_dst","_rank","_type","_src"],"type":3}]", "statProps": "", "exprs": "", "random": "false", "steps": "", "vertex filter": "", "edge filter": "", "if_track_previous_path": "false", "first step filter": ""}
E assert False
E + where False = <bound method PlanDiffer.diff of <tests.common.plan_differ.PlanDiffer object at 0x7fb4b6c8cd00>>()
E + where <bound method PlanDiffer.diff of <tests.common.plan_differ.PlanDiffer object at 0x7fb4b6c8cd00>> = <tests.common.plan_differ.PlanDiffer object at 0x7fb4b6c8cd00>.diff
------------------------------------------------------------------------------------------------------------------------------- Captured stdout call --------------------------------------------------------------------------------------------------------------------------------
{'inputVar': '__Traverse_4', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_0)', 'props': [{'props': ['name'], 'tagId': 9}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{'props': [{'props': ['name'], 'tagId': 9}]}
{'inputVar': '__Traverse_4', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_0)', 'props': [{'props': ['name'], 'tagId': 9}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{}
{'inputVar': '__Dedup_2', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': '$-._vid', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'props': ['name'], 'tagId': 9}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{'vertexProps': [{'props': ['name'], 'tagId': 9}]}
{'inputVar': '__Dedup_2', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': '$-._vid', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'props': ['name'], 'tagId': 9}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{}
{'inputVar': '__Traverse_9', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_1)', 'props': [{'props': ['name'], 'tagId': 9}, {'props': ['name'], 'tagId': 10}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{'props': [{'tagId': 9, 'props': ['name']}, {'tagId': 10, 'props': ['name']}]}
{'inputVar': '__Traverse_9', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_1)', 'props': [{'tagId': 9, 'props': ['name']}, {'tagId': 10, 'props': ['name']}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{}
{'inputVar': '__Argument_7', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'id($-.n)', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'props': ['name'], 'tagId': 9}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{'vertexProps': [{'tagId': 9, 'props': ['name']}]}
{'inputVar': '__Argument_7', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'id($-.n)', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'tagId': 9, 'props': ['name']}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{}
{'inputVar': '__Traverse_4', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_0)', 'props': [{'props': ['name'], 'tagId': 9}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{'props': [{'props': ['name'], 'tagId': 9}]}
{'inputVar': '__Traverse_4', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_0)', 'props': [{'props': ['name'], 'tagId': 9}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{}
{'inputVar': '__Dedup_2', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': '$-._vid', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'props': ['name'], 'tagId': 9}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{'vertexProps': [{'props': ['name'], 'tagId': 9}]}
{'inputVar': '__Dedup_2', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': '$-._vid', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'props': ['name'], 'tagId': 9}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{}
{'inputVar': '__Traverse_9', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_1)', 'props': [{'props': ['name'], 'tagId': 10}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{'props': [{'tagId': 10, 'props': ['name']}]}
{'inputVar': '__Traverse_9', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_1)', 'props': [{'tagId': 10, 'props': ['name']}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{}
{'inputVar': '__Argument_7', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'id($-.n)', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'props': ['name'], 'tagId': 9}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{'vertexProps': [{'tagId': 9, 'props': ['name']}]}
{'inputVar': '__Argument_7', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'id($-.n)', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'tagId': 9, 'props': ['name']}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{}
{'inputVar': '__Traverse_14', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_2)', 'props': [{'props': ['name'], 'tagId': 9}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{'props': [{'tagId': 9, 'props': ['name']}]}
{'inputVar': '__Traverse_14', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'none_direct_dst($-.__VAR_2)', 'props': [{'tagId': 9, 'props': ['name']}], 'exprs': '', 'vertex_filter': '', 'if_track_previous_path': True}
{}
{'inputVar': '__Argument_12', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'id($-.l)', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'props': ['name'], 'tagId': 10}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{'vertexProps': [{'tagId': 10, 'props': ['name']}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'type': -3, 'props': ['_dst', '_rank', '_type', '_src']}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}]}
{'inputVar': '__Argument_12', 'space': 2, 'dedup': True, 'limit': -1, 'filter': '', 'orderBy': [], 'src': 'id($-.l)', 'edgeTypes': [], 'edgeDirection': 'BOTH', 'vertexProps': [{'tagId': 10, 'props': ['name']}], 'edgeProps': [{'props': ['_dst', '_rank', '_type', '_src'], 'type': -5}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 5}, {'type': -3, 'props': ['_dst', '_rank', '_type', '_src']}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 3}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': -4}, {'props': ['_dst', '_rank', '_type', '_src'], 'type': 4}], 'statProps': '', 'exprs': '', 'random': False, 'steps': '', 'vertex filter': '', 'edge filter': '', 'if_track_previous_path': False, 'first step filter': ''}
{'values_changed': {"root['edgeProps'][2]['type']": {'new_value': -3, 'old_value': -4}, "root['edgeProps'][3]['type']": {'new_value': 3, 'old_value': 4}, "root['edgeProps'][4]['type']": {'new_value': -4, 'old_value': -3}, "root['edgeProps'][5]['type']": {'new_value': 4, 'old_value': 3}}}

Your Environments (required)

  • OS: uname -a
  • Compiler: clang-10
  • CPU: lscpu
  • Commit id: 7981108

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

@xtcyclist xtcyclist added the type/bug Type: something is unexpected label Jul 14, 2022
@Sophie-Xie Sophie-Xie added this to the v3.3.0 milestone Jul 18, 2022
@xtcyclist
Copy link
Contributor Author

No real bug. Same issue with #4425 and #4426.

xtcyclist added a commit to xtcyclist/nebula that referenced this issue Jul 18, 2022
… reorder properties in test case to pass the test. no bug found.
xtcyclist added a commit to xtcyclist/nebula that referenced this issue Jul 18, 2022
… reorder properties in test case to pass the test. no bug found.
@jinyingsunny jinyingsunny added the severity/minor Severity of bug label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

3 participants