Openflow 1.3 version script failing with BSN

Bug #1454504 reported by jayachandran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openvswitch (Ubuntu)
Expired
Low
Unassigned

Bug Description

I have executed github openflow 1.3 scripts with Openvswitch and got the below error as openvswitch not accepting the message (OFPBRC_EPERM)

======================================================================
FAIL: bsn_gentable.SetBucketsSizeError
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/oftest/tests-1.3/bsn_gentable.py", line 657, in runTest
    self.assertEquals(error.code, ofp.OFPBRC_EPERM)
AssertionError: 3 != 5

Scripts:
class EntryStatsFragmented(BaseGenTableTest):
    """
    Test retrieving entry stats in mutiple replies
    """
    def runTest(self):
        # Add a bunch of entries
        # Enough for 3 stats replies
        for i in range(0, 4095):
            self.do_add(vlan_vid=i, ipv4=0x12345678, mac=(0, 1, 2, 3, 4, 5))

        do_barrier(self.controller)
        verify_no_errors(self.controller)

        entries = self.do_entry_stats()
        seen = set()
        for entry in entries:
            key = tlv_dict(entry.key)
            vlan_vid = key[ofp.bsn_tlv.vlan_vid]
            self.assertNotIn(vlan_vid, seen)
            seen.add(vlan_vid)

        self.assertEquals(seen, set(range(0, 4095)))

Also , bsn_gentable scripts all are failing due to “error.err_type, error.code” .PFA errors.

Thanks
Jay

Revision history for this message
James Page (james-page) wrote :

Hi

Thanks for taking the time to report this bug.

I'm assuming your testing with:

  https://github.com/floodlight/oftest

it would be helpful to fully understand you installation in terms of openvswitch and openflow controller setup - so we can attempt to reproduce your issue.

Thanks!

Changed in openvswitch (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openvswitch (Ubuntu) because there has been no activity for 60 days.]

Changed in openvswitch (Ubuntu):
status: Incomplete → Expired
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.