Test Report

Test Suite: pytest

Duration257.466 sec
Test Cases26
Failures1

Results Index


Test Results


Test Class: 03-single-hop-ipv6-icmp.test_spec03
test_task01[nodes0]
03-single-hop-ipv6-icmp.test_spec03
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
03-single-hop-ipv6-icmp/test_spec03.py:24: Ran successfully, just testing the asyncio bug

test_task02[nodes0]
03-single-hop-ipv6-icmp.test_spec03
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
03-single-hop-ipv6-icmp/test_spec03.py:44: Ran successfully, just testing the asyncio bug

test_task03[nodes0]
03-single-hop-ipv6-icmp.test_spec03
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
03-single-hop-ipv6-icmp/test_spec03.py:68: Ran successfully, just testing the asyncio bug

test_task04[nodes0]
03-single-hop-ipv6-icmp.test_spec03
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
03-single-hop-ipv6-icmp/test_spec03.py:92: Ran successfully, just testing the asyncio bug

test_task05[nodes0]
03-single-hop-ipv6-icmp.test_spec03
Time Taken: 108.525s

Failed: AssertionError: assert False + where False = <bound method GNRCPktbufStatsResults.is_empty of {'first_byte': 1449245728, 'last_byte': 1449253920, 'size': 8192, 'last_byte_used': 8040, 'first_unused': {'start': 1449247344, 'next': 1449248880, 'size': 1472}}>() + where <bound method GNRCPktbufStatsResults.is_empty of {'first_byte': 1449245728, 'last_byte': 1449253920, 'size': 8192, 'last_byte_used': 8040, 'first_unused': {'start': 1449247344, 'next': 1449248880, 'size': 1472}}> = {'first_byte': 1449245728, 'last_byte': 1449253920, 'size': 8192, 'last_byte_used': 8040, 'first_unused': {'start': 1449247344, 'next': 1449248880, 'size': 1472}}.is_empty + where {'first_byte': 1449245728, 'last_byte': 1449253920, 'size': 8192, 'last_byte_used': 8040, 'first_unused': {'start': 1449247344, 'next': 1449248880, 'size': 1472}} = pktbuf(<test_spec03.Shell object at 0x7f8a818a85d0>)
nodes = [<test_spec03.Shell object at 0x7f8a818a85d0>, <test_spec03.Shell object at 0x7f8a81738dd0>, <test_spec03.Shell object...ct at 0x7f8a8174d050>, <test_spec03.Shell object at 0x7f8a8173e410>, <test_spec03.Shell object at 0x7f8a8173ef90>, ...]
riot_ctrl = <function riot_ctrl.<locals>.ctrl at 0x7f8a8177e9e0>

    @pytest.mark.skipif(not bridged(["tap{}".format(i)
                                     for i in range(TASK05_NODES)]),
                        reason="tap0 to tap10 are not bridged")
    @pytest.mark.parametrize('nodes',
                             [pytest.param(['native'] * TASK05_NODES)],
                             indirect=['nodes'])
    def test_task05(nodes, riot_ctrl):
        nodes = [
            riot_ctrl(i, APP, Shell, port='tap{}'.format(i))
            for i in range(len(nodes))
        ]
    
        async def finish_task05(pinger, future):
            await future
            print(pinger.riotctrl.env.get("PORT"), "done")
    
        _, pinged_addr = lladdr(nodes[0].ifconfig_list())
        assert pinged_addr.startswith("fe80::")
    
        futures = []
        for pinger in nodes[1:]:
            out = pinger.ping6(pinged_addr,
                               count=100000, interval=0, packet_size=1452,
                               async_=True)
            futures.append(finish_task05(pinger, out))
        wait_for_futures(futures)
    
        time.sleep(60)
        for node in nodes:
            # add print to know which node's packet buffer is not empty on error
            print("check pktbuf on", node.riotctrl.env.get("PORT"))
>           assert pktbuf(node).is_empty()
E           AssertionError: assert False
E            +  where False = <bound method GNRCPktbufStatsResults.is_empty of {'first_byte': 1449245728, 'last_byte': 1449253920, 'size': 8192, 'last_byte_used': 8040, 'first_unused': {'start': 1449247344, 'next': 1449248880, 'size': 1472}}>()
E            +    where <bound method GNRCPktbufStatsResults.is_empty of {'first_byte': 1449245728, 'last_byte': 1449253920, 'size': 8192, 'last_byte_used': 8040, 'first_unused': {'start': 1449247344, 'next': 1449248880, 'size': 1472}}> = {'first_byte': 1449245728, 'last_byte': 1449253920, 'size': 8192, 'last_byte_used': 8040, 'first_unused': {'start': 1449247344, 'next': 1449248880, 'size': 1472}}.is_empty
E            +      where {'first_byte': 1449245728, 'last_byte': 1449253920, 'size': 8192, 'last_byte_used': 8040, 'first_unused': {'start': 1449247344, 'next': 1449248880, 'size': 1472}} = pktbuf(<test_spec03.Shell object at 0x7f8a818a85d0>)

03-single-hop-ipv6-icmp/test_spec03.py:155: AssertionError

test_task06[nodes0]
03-single-hop-ipv6-icmp.test_spec03
Time Taken: 0.001s

Skipped: Ran successfully, just testing the asyncio bug
03-single-hop-ipv6-icmp/test_spec03.py:158: Ran successfully, just testing the asyncio bug


Test Class: 04-single-hop-6lowpan-icmp.test_spec04
test_task01[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
04-single-hop-6lowpan-icmp/test_spec04.py:21: Ran successfully, just testing the asyncio bug

test_task02[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
04-single-hop-6lowpan-icmp/test_spec04.py:47: Ran successfully, just testing the asyncio bug

test_task03[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
04-single-hop-6lowpan-icmp/test_spec04.py:72: Ran successfully, just testing the asyncio bug

test_task04[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 0.001s

Skipped: Ran successfully, just testing the asyncio bug
04-single-hop-6lowpan-icmp/test_spec04.py:98: Ran successfully, just testing the asyncio bug

test_task05[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
04-single-hop-6lowpan-icmp/test_spec04.py:124: Ran successfully, just testing the asyncio bug

test_task06[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
04-single-hop-6lowpan-icmp/test_spec04.py:148: Ran successfully, just testing the asyncio bug

test_task07[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
04-single-hop-6lowpan-icmp/test_spec04.py:173: Ran successfully, just testing the asyncio bug

test_task08[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
04-single-hop-6lowpan-icmp/test_spec04.py:198: Ran successfully, just testing the asyncio bug

test_task09[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 147.905s

test_task10[nodes0]
04-single-hop-6lowpan-icmp.test_spec04
Time Taken: 0.0s

Skipped: Ran successfully, just testing the asyncio bug
04-single-hop-6lowpan-icmp/test_spec04.py:262: Ran successfully, just testing the asyncio bug