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