Skip to content

Revert "[PTF python3 migration] Modify test_advanced_reboot PTF script"#9867

Merged
saiarcot895 merged 1 commit intomasterfrom
revert-9550-test_advanced_reboot_ptf_py3_master
Sep 7, 2023
Merged

Revert "[PTF python3 migration] Modify test_advanced_reboot PTF script"#9867
saiarcot895 merged 1 commit intomasterfrom
revert-9550-test_advanced_reboot_ptf_py3_master

Conversation

@saiarcot895
Copy link
Copy Markdown
Contributor

Reverts #9550, fe0d44d

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'

@saiarcot895 saiarcot895 merged commit 2a6585d into master Sep 7, 2023
@saiarcot895 saiarcot895 deleted the revert-9550-test_advanced_reboot_ptf_py3_master branch September 7, 2023 06:56
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 2024
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.

3 participants