I found that Ubuntu python-netaddr was not installed on my machine. After installing it (version 0.7.5) the test still failed. I then upgraded it using pip to version 0.7.10, but still the test fails.
-----Original Message----- From: Isaku Yamahata [mailto:[email protected]] Sent: Tuesday, June 11, 2013 12:52 AM To: Oren Spector Cc: [email protected] Subject: Re: [Ryu-devel] AssertionError test failed Which version of netaddr are you using? On Mon, Jun 10, 2013 at 03:59:44PM +0300, Oren Spector wrote: > Hi, > > > > I cloned a fresh copy of Ryu from github and when I ran the > run_tests.sh script the AssertionError test failed. I remember that > last week all the tests passed OK, so some recent change in the repository probably caused the issue. > > > > Oren > > > > ====================================================================== > > FAIL: Failure: AssertionError () > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/usr/local/lib/python2.7/dist-packages/nose/loader.py", line > 413, in loadTestsFromName > > addr.filename, addr.module) > > File "/usr/local/lib/python2.7/dist-packages/nose/importer.py", line > 47, in importFromPath > > return self.importFromDir(dir_path, fqname) > > File "/usr/local/lib/python2.7/dist-packages/nose/importer.py", line > 94, in importFromDir > > mod = load_module(part_fqname, fh, filename, desc) > > File "/home/oliver/tmp/ryu/ryu/tests/unit/packet/test_vrrp.py", line > 38, in <module> > > class Test_vrrpv2(unittest.TestCase): > > File "/home/oliver/tmp/ryu/ryu/tests/unit/packet/test_vrrp.py", line > 52, in > Test_vrrpv2 > > [ip_address]) > > File "/home/oliver/tmp/ryu/ryu/lib/packet/vrrp.py", line 440, in > create > > auth_data=VRRP_AUTH_DATA) > > File "/home/oliver/tmp/ryu/ryu/lib/packet/vrrp.py", line 308, in > create_version > > auth_type=auth_type, auth_data=auth_data) > > File "/home/oliver/tmp/ryu/ryu/lib/packet/vrrp.py", line 272, in > __init__ > > self._is_ipv6 = is_ipv6(self.ip_addresses[0]) > > File "/home/oliver/tmp/ryu/ryu/lib/packet/vrrp.py", line 172, in > is_ipv6 > > assert type(ip_address) == str > > AssertionError > > > > ---------------------------------------------------------------------- > > Ran 1272 tests in 11.588s > > > > FAILED (failures=1) > > ---------------------------------------------------------------------- > -------- How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations 2. > Dashboards that offer high-level views of enterprise services 3. A > single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel -- yamahata ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
