I don't think this has to do with twisted. The test is failing in a
simple python-only unittest on unpacking Ethernet. What version of
python are you compiling against?
I had installed Twisted 8.2.0 version.
Is there any problem with Twisted dependency?
---------- Forwarded message ----------
From: [email protected]
Date: Jun 22, 2009 10:52am
Subject: Re: Re: [nox-dev] NOX core full version installation problem.
To: Martin Casado <[email protected]>
CC: [email protected]
> Hi Martin,
>
> I had redirected `make check` output to a file.
> So, from there i could see that nox.test is failed.
> can you please figure out the problem ?
>
>
> make[3]: Entering directory
`/home/ravi/openflow/NOX/Full_version/nox-0.5.0~full~beta/src'
> NOX 0.5.0~full~beta (nox_core), compiled Jun 19 2009 17:42:44
> Compiled with OpenFlow 0x97 (exp)
> ^[[?1034h
> 0% 10 20 30 40 50 60 70 80 90 100%
> |----|----|----|----|----|----|----|----|----|----|
> Running 74 test cases...
> ***********tests.cc(220): fatal error in
"nox.netapps.tests.pyunittests.ethernet_parse_test.testEthernet":
Traceback: : unpack requires a string argument of length 2
>
/usr/lib/python2.5/site-packages/twisted/internet/defer.py:186:addCallbacks
>
/usr/lib/python2.5/site-packages/twisted/internet/defer.py:328:_runCallbacks
>
/usr/lib/python2.5/site-packages/twisted/trial/unittest.py:826:deferTestMethod
> /usr/lib/python2.5/site-packages/twisted/trial/unittest.py:752:_run
> --- ---
>
/usr/lib/python2.5/site-packages/twisted/internet/defer.py:106:maybeDeferred
>
/usr/lib/python2.5/site-packages/twisted/internet/utils.py:191:runWithWarningsSuppressed
> ./nox/netapps/tests/pyunittests/ethernet_parse_test.py:55:testEthernet
> ./nox/lib/packet/ethernet.py:68:__init__
> ./nox/lib/packet/ethernet.py:78:parse
> /usr/lib/python2.5/struct.py:87:unpack
>
> *tests.cc(220): fatal error in
"nox.netapps.tests.pyunittests.ethernet_parse_test.testEthernetConstruct":
Traceback: : unpack requires a string argument of length 2
>
/usr/lib/python2.5/site-packages/twisted/internet/defer.py:186:addCallbacks
>
/usr/lib/python2.5/site-packages/twisted/internet/defer.py:328:_runCallbacks
>
/usr/lib/python2.5/site-packages/twisted/trial/unittest.py:826:deferTestMethod
> /usr/lib/python2.5/site-packages/twisted/trial/unittest.py:752:_run
> --- ---
>
/usr/lib/python2.5/site-packages/twisted/internet/defer.py:106:maybeDeferred
>
/usr/lib/python2.5/site-packages/twisted/internet/utils.py:191:runWithWarningsSuppressed
>
./nox/netapps/tests/pyunittests/ethernet_parse_test.py:73:testEthernetConstruct
> ./nox/lib/packet/ethernet.py:68:__init__
> ./nox/lib/packet/ethernet.py:78:parse
> /usr/lib/python2.5/struct.py:87:unpack
>
> **FAIL: nox.test
> ====================================
> 1 of 1 tests failed
> Please report to [email protected]
> ====================================
> make[3]: Leaving directory
`/home/ravi/openflow/NOX/Full_version/nox-0.5.0~full~beta/src'
> make[2]: Leaving directory
`/home/ravi/openflow/NOX/Full_version/nox-0.5.0~full~beta/src'
> make[1]: Leaving directory
`/home/ravi/openflow/NOX/Full_version/nox-0.5.0~full~beta/src'
>
>
> -Ravi
>
>
>
> On Jun 19, 2009 8:19pm, Martin Casado [email protected]> wrote:
> > Wow, that's a heck of a stack trace. Do you know which test is
failing?
> >
> >
> > Thanks Martin.
> >
> > when i used upgraded gcc the 'make' was successfull.
> >
> >
> >
> > But the 'make check is failing, could you please trace out the error.
> >
> > I am not even understanding what the error is.
> >
> > Please find the below error message:
> >
> >
> >
> >
> >
> >
--
Martin Casado
CTO, Nicira Networks
650-776-1457 (m)
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org