Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test flow_table_0 rerun on April 14 on GitLab CI #234

Open
viniarck opened this issue Apr 14, 2023 · 0 comments
Open

test flow_table_0 rerun on April 14 on GitLab CI #234

viniarck opened this issue Apr 14, 2023 · 0 comments
Labels
priority_low Low priority

Comments

@viniarck
Copy link
Member

For the record flow_table_0 had a rerun last night, although it passed in the next attempt.

It's worth analyzing this later on.

rerun: 0
tests/test_e2e_20_flow_manager.py::TestE2EFlowManager::test_070_flow_table_0: 2023-04-14,06:01:41.190601 - 2023-04-14,06:01:55.931930
self = <tests.test_e2e_20_flow_manager.TestE2EFlowManager object at 0x7feaee1a9ca0>
    def test_070_flow_table_0(self):
>       self.flow_table_0()
tests/test_e2e_20_flow_manager.py:930: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <tests.test_e2e_20_flow_manager.TestE2EFlowManager object at 0x7feaee1a9ca0>
restart_kytos = False
    def flow_table_0(self, restart_kytos=False):
        """Tests if, after adding a flow in another
        table outside kytos, the flow is removed."""
    
        s1 = self.net.net.get('s1')
        s1.dpctl('add-flow', 'table=0,in_port=1,actions=output:2')
    
        if restart_kytos:
            # restart controller keeping configuration
            self.net.start_controller(enable_all=True)
            self.net.wait_switches_connect()
        else:
            self.net.reconnect_switches()
    
        time.sleep(10)
    
        s1 = self.net.net.get('s1')
        flows_s1 = s1.dpctl('dump-flows')
>       assert len(flows_s1.split('\r\n ')) == BASIC_FLOWS, flows_s1
E       AssertionError:  cookie=0xac00000000000001, duration=25.521s, table=0, n_packets=0, n_bytes=0, priority=50000,dl_src=ee:ee:ee:ee:ee:03 actions=CONTROLLER:65535
E          cookie=0xac00000000000001, duration=25.474s, table=0, n_packets=0, n_bytes=0, priority=50000,dl_src=ee:ee:ee:ee:ee:02 actions=CONTROLLER:65535
E          cookie=0x0, duration=14.715s, table=0, n_packets=0, n_bytes=0, in_port="s1-eth1" actions=output:"s1-eth2"
E          cookie=0xab00000000000001, duration=13.703s, table=0, n_packets=17, n_bytes=714, priority=1000,dl_vlan=3799,dl_type=0x88cc actions=CONTROLLER:65535
E         
E       assert 4 == 3
E        +  where 4 = len([' cookie=0xac00000000000001, duration=25.521s, table=0, n_packets=0, n_bytes=0, priority=50000,dl_src=ee:ee:ee:ee:ee:...n=13.703s, table=0, n_packets=17, n_bytes=714, priority=1000,dl_vlan=3799,dl_type=0x88cc actions=CONTROLLER:65535\r\n'])
E        +    where [' cookie=0xac00000000000001, duration=25.521s, table=0, n_packets=0, n_bytes=0, priority=50000,dl_src=ee:ee:ee:ee:ee:...n=13.703s, table=0, n_packets=17, n_bytes=714, priority=1000,dl_vlan=3799,dl_type=0x88cc actions=CONTROLLER:65535\r\n'] = <built-in method split of str object at 0x7feadc013910>('\r\n ')
E        +      where <built-in method split of str object at 0x7feadc013910> = ' cookie=0xac00000000000001, duration=25.521s, table=0, n_packets=0, n_bytes=0, priority=50000,dl_src=ee:ee:ee:ee:ee:0...on=13.703s, table=0, n_packets=17, n_bytes=714, priority=1000,dl_vlan=3799,dl_type=0x88cc actions=CONTROLLER:65535\r\n'.split
tests/test_e2e_20_flow_manager.py:927: AssertionError
=========================== rerun test summary info ============================
RERUN tests/test_e2e_20_flow_manager.py::TestE2EFlowManager::test_070_flow_table_0
= 205 passed, 6 skipped, 11 xfailed, 5 xpassed, 799 warnings, 1 rerun in 11317.01s (3:08:37) =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority_low Low priority
Projects
None yet
Development

No branches or pull requests

1 participant