[FT] Error in "test_arp_spoof_doesnt_block_ipv6"

Bug #2003196 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
New
High
Rodolfo Alonso
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/870967

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by "Rodolfo Alonso <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/870967
Reason: This is not solving the issue reported

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/871101

tags: added: functional-tests
Changed in neutron:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/871101
Committed: https://opendev.org/openstack/neutron/commit/f235ce8791ab31bac598a3ebb40fb48cf2e4d1ab
Submitter: "Zuul (22348)"
Branch: master

commit f235ce8791ab31bac598a3ebb40fb48cf2e4d1ab
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Jan 18 22:06:21 2023 +0100

    Add new debugging logs for ``ARPSpoofTestCase``

    In case of error, the class ``ARPSpoofTestCase`` now provides the IPv6
    and IPv4 neigh list of the source and destination ports.

    This patch also adds a retry branch on the ``assert_ping`` method. If
    enabled, if the first ping command fails, the method will try to execute
    it again.

    Related-Bug: #2003196
    Change-Id: I4d1a6c799004339489fe35b44b7682f8f744560b

Revision history for this message
yatin (yatinkarel) wrote :
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello:

Checking the log [1], all configuration seems to be correct: the isolated OVS bridge, the network namespaces, the OF rules, the ports and the IP addresses.

The only issue I see is that the OF rules related to the ICMPv6 packages (NA, table=24) are not matched (n_packets=0). That means the ping sent from port source (2000::1) to port destination (2000::2) didn't reach the second one (at least the ND package that should trigger the NA from the destination port).

A possible optimization could be to specify, in the "ping" command, the interface to be used.

If this issue persists, we can also try installing ndisc6 (https://www.remlab.net/ndisc6/) and add extra debug logs.

Regards.

[1]https://3e47488f5ba579f9e43a-ef216d720cde863031e2791348aab89c.ssl.cf1.rackcdn.com/periodic/opendev.org/openstack/neutron/master/neutron-functional-with-oslo-master/d0183c5/testr_results.html

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/928791

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by "Rodolfo Alonso <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/924335

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/928791
Committed: https://opendev.org/openstack/neutron/commit/291dfe95243ef91dae0a4d64292e06213ad56125
Submitter: "Zuul (22348)"
Branch: master

commit 291dfe95243ef91dae0a4d64292e06213ad56125
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Sep 7 20:36:30 2024 +0000

    Add source interface in "ping" command in ``ARPSpoofTestCase``

    All ``ARPSpoofTestCase`` tests now define the source device (using
    the IP address) to be used to execute the "ping" command.

    Related-Bug: #2003196
    Change-Id: Iace245b013e10eec323c0b58bf5cdf5ee9236338

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.