scheuran / pyroute2 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from svinota/pyroute2
Python netlink library — Linux network setup and monitoring
This project forked from svinota/pyroute2
Python netlink library — Linux network setup and monitoring
======================================================================
ERROR: test_ipdb.TestExplicit.test_create_gretap
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/utils.py", line 19, in test_wrapper
return f(self, *argv, **kwarg)
File "/root/pyroute2/tests/general/test_ipdb.py", line 2570, in test_create_gretap
gre_ttl=16).commit()
File "/root/pyroute2/tests/pyroute2/ipdb/interfaces.py", line 1066, in commit
raise error
CommitException: target gre_oflags is not set
======================================================================
ERROR: test_ipdb.TestExplicit.test_create_ip6gretap
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/utils.py", line 19, in test_wrapper
return f(self, *argv, **kwarg)
File "/root/pyroute2/tests/general/test_ipdb.py", line 2632, in test_create_ip6gretap
ip6gre_ttl=16).commit()
File "/root/pyroute2/tests/pyroute2/ipdb/interfaces.py", line 1066, in commit
raise error
CommitException: target ip6gre_oflags is not set
======================================================================
ERROR: test_ipdb.TestImplicit.test_create_gretap
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/utils.py", line 19, in test_wrapper
return f(self, *argv, **kwarg)
File "/root/pyroute2/tests/general/test_ipdb.py", line 2570, in test_create_gretap
gre_ttl=16).commit()
File "/root/pyroute2/tests/pyroute2/ipdb/interfaces.py", line 1066, in commit
raise error
CommitException: target gre_oflags is not set
======================================================================
ERROR: test_ipdb.TestImplicit.test_create_ip6gretap
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/utils.py", line 19, in test_wrapper
return f(self, *argv, **kwarg)
File "/root/pyroute2/tests/general/test_ipdb.py", line 2632, in test_create_ip6gretap
ip6gre_ttl=16).commit()
File "/root/pyroute2/tests/pyroute2/ipdb/interfaces.py", line 1066, in commit
raise error
CommitException: target ip6gre_oflags is not set
======================================================================
ERROR: test_netns.TestNetNS.test_create_tuntap
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/general/test_netns.py", line 120, in test_create_tuntap
ip.create(ifname=tun, kind='tuntap', mode='tun').commit()
File "/root/pyroute2/tests/pyroute2/ipdb/interfaces.py", line 583, in commit
self.nl.link('add', **request)
File "/root/pyroute2/tests/pyroute2/iproute.py", line 1310, in link
msg_flags=msg_flags)
File "/root/pyroute2/tests/pyroute2/netlink/nlsocket.py", line 825, in nlm_request
return do_try()
File "/root/pyroute2/tests/pyroute2/netlink/nlsocket.py", line 804, in do_try
callback=callback)
File "/root/pyroute2/tests/pyroute2/netlink/nlsocket.py", line 649, in get
raise msg['header']['error']
NetlinkError: (95, 'Operation not supported')
======================================================================
ERROR: test_stress.TestIfs.test_tuntap_fd_leaks
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/general/test_stress.py", line 92, in test_tuntap_fd_leaks
ipr.link("add", ifname=name, kind="tuntap", mode="tun")
File "/root/pyroute2/tests/pyroute2/iproute.py", line 1310, in link
msg_flags=msg_flags)
File "/root/pyroute2/tests/pyroute2/netlink/nlsocket.py", line 825, in nlm_request
return do_try()
File "/root/pyroute2/tests/pyroute2/netlink/nlsocket.py", line 804, in do_try
callback=callback)
File "/root/pyroute2/tests/pyroute2/netlink/nlsocket.py", line 649, in get
raise msg['header']['error']
NetlinkError: (95, 'Operation not supported')
-------------------- >> begin captured logging << --------------------
pyroute2.proxy: ERROR: File "/root/pyroute2/.tox/py27/bin/nosetests", line 11, in <module>
sys.exit(run_exit())
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/core.py", line 121, in __init__
**extra_args)
File "/usr/lib/python2.7/unittest/main.py", line 95, in __init__
self.runTests()
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/core.py", line 207, in runTests
result = self.testRunner.run(self.test)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/core.py", line 62, in run
test(result)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__
return self.run(*arg, **kw)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 224, in run
test(orig)
File "/usr/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 75, in run
test(result)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__
return self.run(*arg, **kw)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 224, in run
test(orig)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 177, in __call__
return self.run(*arg, **kw)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/suite.py", line 224, in run
test(orig)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 45, in __call__
return self.run(*arg, **kwarg)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 133, in run
self.runTest(result)
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 151, in runTest
test(result)
File "/usr/lib/python2.7/unittest/case.py", line 393, in __call__
return self.run(*args, **kwds)
File "/usr/lib/python2.7/unittest/case.py", line 329, in run
testMethod()
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/general/test_stress.py", line 92, in test_tuntap_fd_leaks
ipr.link("add", ifname=name, kind="tuntap", mode="tun")
File "/root/pyroute2/tests/pyroute2/iproute.py", line 1310, in link
msg_flags=msg_flags)
File "/root/pyroute2/tests/pyroute2/netlink/nlsocket.py", line 825, in nlm_request
return do_try()
File "/root/pyroute2/tests/pyroute2/netlink/nlsocket.py", line 801, in do_try
self.put(msg, msg_type, msg_flags, msg_seq=msg_seq)
File "/root/pyroute2/tests/pyroute2/netlink/nlsocket.py", line 561, in put
self.sendto_gate(msg, addr)
File "/root/pyroute2/tests/pyroute2/netlink/rtnl/iprsocket.py", line 55, in _gate
ret = self._sproxy.handle(msg)
File "/root/pyroute2/tests/pyroute2/proxy.py", line 60, in handle
log.error(''.join(traceback.format_stack()))
pyroute2.proxy: ERROR: Traceback (most recent call last):
File "/root/pyroute2/tests/pyroute2/proxy.py", line 41, in handle
ret = plugin(msg, self.nl)
File "/root/pyroute2/tests/pyroute2/netlink/rtnl/ifinfmsg/proxy.py", line 157, in proxy_newlink
return manage_tuntap(msg)
File "/root/pyroute2/tests/pyroute2/netlink/rtnl/ifinfmsg/proxy.py", line 88, in decorated
ret = f(msg)
File "/root/pyroute2/tests/pyroute2/netlink/rtnl/ifinfmsg/proxy.py", line 195, in manage_tuntap
raise NetlinkError(errno.EOPNOTSUPP, 'Arch not supported')
NetlinkError: (95, 'Arch not supported')
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_diag.TestDiag.test_basic
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/general/test_diag.py", line 26, in test_basic
assert sstats_set == pstats_set
AssertionError
======================================================================
FAIL: test_ipdb.TestExplicit.test_global_deps
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/general/test_ipdb.py", line 1902, in test_global_deps
assert self.ip.routes['172.16.179.0/24']['ipdb_scope'] == 'system'
AssertionError
======================================================================
FAIL: test_ipdb.TestImplicit.test_global_deps
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/general/test_ipdb.py", line 1902, in test_global_deps
assert self.ip.routes['172.16.179.0/24']['ipdb_scope'] == 'system'
AssertionError
======================================================================
FAIL: test_nlmsg.TestNl80211.test_iw_info
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/general/test_nlmsg.py", line 78, in test_iw_info
self.load_data(fname='decoder/iw_info_rsp', packets=1)
File "/root/pyroute2/tests/general/test_nlmsg.py", line 59, in load_data
assert prime == pkts[idx]
AssertionError
======================================================================
FAIL: test_nlmsg.TestRtnl.test_addrmsg_ipv4
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/general/test_nlmsg.py", line 67, in test_addrmsg_ipv4
self.load_data(fname='decoder/addrmsg_ipv4', packets=1)
File "/root/pyroute2/tests/general/test_nlmsg.py", line 59, in load_data
assert prime == pkts[idx]
AssertionError
======================================================================
FAIL: test_nlmsg.TestRtnl.test_gre
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/pyroute2/.tox/py27/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/root/pyroute2/tests/general/test_nlmsg.py", line 70, in test_gre
self.load_data(fname='decoder/gre_01', packets=2)
File "/root/pyroute2/tests/general/test_nlmsg.py", line 55, in load_data
assert len(pkts) == len(values) == packets
AssertionError
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.