Skip to content

Revert "[202305][PTF python3 migration] Modify test_advanced_reboot PTF script (#9550)"#9868

Merged
yxieca merged 1 commit into202305from
revert-9819-ptf-py3-advanced-reboot-202305
Sep 8, 2023
Merged

Revert "[202305][PTF python3 migration] Modify test_advanced_reboot PTF script (#9550)"#9868
yxieca merged 1 commit into202305from
revert-9819-ptf-py3-advanced-reboot-202305

Conversation

@saiarcot895
Copy link
Contributor

Reverts #9819, e014b56

This is causing a breakage when running on physical testbeds, due to (at least) the following error:

Exception in thread Thread-7:
Traceback (most recent call last):
  File \"/usr/lib/python3.7/threading.py\", line 917, in _bootstrap_inner
    self.run()
  File \"/usr/lib/python3.7/threading.py\", line 865, in run
    self._target(*self._args, **self._kwargs)
  File \"ptftests/py3/advanced-reboot.py\", line 1664, in send_in_background
    'not (arp and ether src {}) and not tcp'.format(self.test_params['dut_mac']))
  File \"ptftests/py3/advanced-reboot.py\", line 1648, in apply_filter_all_ports
    scapyall.attach_filter(port.socket, filter_expression)
AttributeError: module 'scapy.all' has no attribute 'attach_filter'

@yxieca yxieca merged commit 6dc95de into 202305 Sep 8, 2023
@yxieca yxieca deleted the revert-9819-ptf-py3-advanced-reboot-202305 branch September 8, 2023 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants