raiden-network / raiden

Raiden Network
https://developer.raiden.network
Other
1.84k stars 378 forks source link

BF1 Error in request_count while asserting PFS history #5421

Closed agatsoh closed 4 years ago

agatsoh commented 4 years ago

Problem Definition

{
  "task": "<AssertPFSHistoryTask: {'source': 3, 'target': 0, 'request_count': 11}>",
  "event": "Task errored",
  "logger": "scenario_player.tasks.base",
  "level": "error",
  "timestamp": "2019-12-03 04:25:57.990825",
  "exception": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/base.py\", line 74, in __call__\n    return self._run(*args, **kwargs)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/api_base.py\", line 70, in _run\n    return self._process_response(response_dict)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/services.py\", line 216, in _process_response\n    f\"Expected request_count {exp_request_count} but got {actual_request_count}\"\nscenario_player.exceptions.legacy.ScenarioAssertionError: Expected request_count 11 but got 10"
}

what does the exception say:

  1. Expected request_count 11 but got 10

  2. Error while asserting PFS History

- assert_pfs_history: {source: 3, target: 0, request_count: 11}

bf1_basic_functionality_2019_12_03.tar.gz

Dominik1999 commented 4 years ago

whaat? How is this possible?

agatsoh commented 4 years ago
{
  "task": "<AssertPFSHistoryTask: {'source': 3, 'request_count': 1, 'target': 0, 'routes_count': 0}>",
  "event": "Task errored",
  "logger": "scenario_player.tasks.base",
  "level": "error",
  "timestamp": "2019-12-03 02:05:22.405534",
  "exception": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/base.py\", line 74, in __call__\n    return self._run(*args, **kwargs)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/api_base.py\", line 70, in _run\n    return self._process_response(response_dict)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/services.py\", line 216, in _process_response\n    f\"Expected request_count {exp_request_count} but got {actual_request_count}\"\nscenario_player.exceptions.legacy.ScenarioAssertionError: Expected request_count 1 but got 0"
}

Expected request_count 1 but got 0

{source: 3, request_count: 1, target: 0, routes_count: 0}

- assert_pfs_history:
    source: 3
    request_count: 1
    target: 0
    routes_count: 0

pfs2_simple_no_path_2019_12_03.tar.gz

agatsoh commented 4 years ago
{
  "task": "<AssertPFSHistoryTask: {'source': 3, 'target': 0, 'request_count': 1}>",
  "event": "Task errored",
  "logger": "scenario_player.tasks.base",
  "level": "error",
  "timestamp": "2019-12-03 02:45:43.802655",
  "exception": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/base.py\", line 74, in __call__\n    return self._run(*args, **kwargs)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/api_base.py\", line 70, in _run\n    return self._process_response(response_dict)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/services.py\", line 216, in _process_response\n    f\"Expected request_count {exp_request_count} but got {actual_request_count}\"\nscenario_player.exceptions.legacy.ScenarioAssertionError: Expected request_count 1 but got 0"
}
  1. Expected request_count 1 but got 0

  2. Fails at

- assert_pfs_history: {source: 3, target: 0, request_count: 1}

line 59

pfs6_simple_path_rewards_2019_12_03.tar.gz

agatsoh commented 4 years ago

On 4th December 2019 PFS2 again fails at AssertPFSHistoryTask.

{
  "task": "<AssertPFSHistoryTask: {'source': 3, 'request_count': 1, 'target': 0, 'routes_count': 0}>",
  "event": "Task errored",
  "logger": "scenario_player.tasks.base",
  "level": "error",
  "timestamp": "2019-12-04 02:09:14.936122",
  "exception": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/base.py\", line 74, in __call__\n    return self._run(*args, **kwargs)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/api_base.py\", line 70, in _run\n    return self._process_response(response_dict)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/services.py\", line 216, in _process_response\n    f\"Expected request_count {exp_request_count} but got {actual_request_count}\"\nscenario_player.exceptions.legacy.ScenarioAssertionError: Expected request_count 1 but got 0"
}
  1. Expected request_count 1 but got 0

  2. Fails at

- assert_pfs_history:
    source: 3
    request_count: 1
    target: 0
    routes_count: 0

pfs2_simple_no_path_2019_12_04.tar.gz

Dominik1999 commented 4 years ago

so happened 5 times in the last 2 days

agatsoh commented 4 years ago

On 4th December 2019 PFS4 fails in AssertPFSHistoryTask

{
  "task": "<AssertPFSHistoryTask: {'source': 3, 'target': 0, 'request_count': 1}>",
  "event": "Task errored",
  "logger": "scenario_player.tasks.base",
  "level": "error",
  "timestamp": "2019-12-04 02:50:13.839531",
  "exception": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/base.py\", line 74, in __call__\n    return self._run(*args, **kwargs)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/api_base.py\", line 70, in _run\n    return self._process_response(response_dict)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/services.py\", line 216, in _process_response\n    f\"Expected request_count {exp_request_count} but got {actual_request_count}\"\nscenario_player.exceptions.legacy.ScenarioAssertionError: Expected request_count 1 but got 0"
}
  1. Expected request_count 1 but got 0

  2. Fails at - assert_pfs_history: {source: 3, target: 0, request_count: 1}

line 59

pfs6_simple_path_rewards_2019_12_04.tar.gz

agatsoh commented 4 years ago

On 4th December 2019 BF1 fails at AssertPFSHistoryTask

{
  "task": "<AssertPFSHistoryTask: {'source': 3, 'target': 0, 'request_count': 11}>",
  "event": "Task errored",
  "logger": "scenario_player.tasks.base",
  "level": "error",
  "timestamp": "2019-12-04 04:34:08.266080",
  "exception": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/base.py\", line 74, in __call__\n    return self._run(*args, **kwargs)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/api_base.py\", line 70, in _run\n    return self._process_response(response_dict)\n  File \"/usr/local/lib/python3.7/site-packages/scenario_player/tasks/services.py\", line 216, in _process_response\n    f\"Expected request_count {exp_request_count} but got {actual_request_count}\"\nscenario_player.exceptions.legacy.ScenarioAssertionError: Expected request_count 11 but got 10"
}
  1. Expected request_count 11 but got 10

  2. Fails at - assert_pfs_history: {source: 3, target: 0, request_count: 11} line 126

bf1_basic_functionality_2019_12_04.tar.gz