All,

I am a new NOX/OpenFlow user with what I hope are simple build and execution
questions:

1. Following the build and installation instructions in noxrepo.org's manual
results in a large number of 'make check' and './nox_core tests' errors.  I
have tried building with the git files on two different machines running
Ubuntu and Xubuntu 9.04 with the same results.  These are clean installs of
X/Ubuntu and as far as I can tell all of the dependencies listed are
installed and up to date with the Ubuntu repositories.  I have attached the
'./nox_core tests' output, but most of the errors are of the following form:

*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in
"nox.netapps.tests.pyunittests.storage_test.testAddthenPutWrongTable":
Unable to import twisted.trial.reporter.

All of these errors seem to mention Twisted, but I have ver. 8.2.0-2 of
python-twisted installed.  I have tried running the installation commands
and 'make check' from root without any changes.  Any ideas as to where I am
going wrong?  I can provide more debug output if necessary.

2. Despite the above errors, I am able to connect my NOX controller to an
external OpenFlow switch using './nox_core -i -v ptcp:6633 pyswitch.'
However, the monitorsui and switchstatsws modules mentioned in the 'Setting
Up a Virtual Testing Environment' tutorial return 'description not found'
errors.  Could these issues be related to the 'make check' errors, and what
are these modules used for?

3. Although I can use nox_core to run a learning switch (pyswitch) on my
OpenFlow box, I have yet to come across the ability to modify the flow table
or manually add rules or entries as discussed in the OpenFlow whitepaper.
Is there a specific NOX module that provides that ability, perhaps through
the webserver functionality?

Thank you very much for any and all assistance you can provide.  I look
forward to exploring the full potential of NOX/OpenFlow!

Regards,
Bradley Collins
Clemson University
r...@eib319-embed-pc:/home/eib319/nox/noxcore/build/src# ./nox_core tests
NOX 0.5.0~full~beta (nox_core), compiled Jun 19 2009 16:46:18
Compiled with OpenFlow 0x97 (exp)
00001|sqlite3-impl|WARN:Transactional storage file not given in the command 
line; defaulting to 'testing.sqlite'

0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
Running 74 test cases...
***ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testAddthenDrop": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testAddthenPut": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testAddthenPutWrongTable": Unable 
to import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testAddthenPutthenGet": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testAddthenPutthenGetNextUsingIndex":
 Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testAddthenPutthenGetNextAll": 
Unable to import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testAddthenPutthenGetDoubleIndexCheck":
 Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testMultiIndex": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testMultiIndexModify": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testRemoveMultipleRows": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testGetRemoveSequence": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_test.testCreateSchemaCheck": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.ethernet_parse_test.testEthernet": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.ethernet_parse_test.testEthernetConstruct": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.properties_test.store_and_load": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.directorymanager_test.testDirectoryManagement": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.directorymanager_test.testAuthentication": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.directorymanager_test.testPrincipals": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.directorymanager_test.testGroups": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.dhcp_parse_test.fullDHCPPacket": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.webservice_test.run_test": Unable to import 
twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.vlan_parse_test.testVlan": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.vlan_parse_test.testVlanARP": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.vlan_parse_test.testVlanRemove": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.vlan_parse_test.testVlanAdd": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.transactional_storage_test.testCreateGet": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.transactional_storage_test.testPutGetModifyGetRemove":
 Unable to import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.transactional_storage_test.testTransactions": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.transactional_storage_test.testCreateSchemaCheck":
 Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testEnsureTableExists": 
Unable to import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testPutRecord": Unable 
to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testPutNoDup": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testPutAll": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testPutAllNoDup": Unable 
to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testGetAll": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testRemoveAll": Unable 
to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testModify": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testEnsureTableExistsCached":
 Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testPutRecordCached": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testPutNoDupCached": 
Unable to import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testPutAllCached": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testGetAllCached": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testRemoveAllCached": 
Unable to import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testModifyCached": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.storage_table_util_test.testSearchUnindexed": 
Unable to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.controller_test.testPost_cb": Unable to import 
twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.controller_test.testPost_cb_tv": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.tcp_parse_test.testTCP": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.tcp_parse_test.fullTCPPacket": Unable to import 
twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.mod_test.testImport": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.mod_test.testAttributes": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.udp_parse_test.fullUDPPacket": Unable to import 
twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.lldp_parse_test.testLLDP": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.lldp_parse_test.testLLDPConstruct": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.lldp_parse_test.testLLDPConstruct2": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.dns_parse_test.test_dns_1": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.dns_parse_test.test_dns_2": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.bs_link_test.start": Unable to import 
twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.componentws_test.check_version": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.componentws_test.check_uptime": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.componentws_test.check_components": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.routing_test.post_events": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.ipv4_parse_test.testIPv4": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.ipv4_parse_test.testIPv4Construct": Unable to 
import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.ipv4_parse_test.testIPv4Edge": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.util_parse_test.testUtils": Unable to import 
twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.icmp_parse_test.testICMPEcho": Unable to import 
twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.icmp_parse_test.testICMPEchoConstruct": Unable 
to import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.icmp_parse_test.testICMPUnreach": Unable to 
import twisted.trial.reporter.
*ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.icmp_parse_test.testICMPUnreachConstruct": 
Unable to import twisted.trial.reporter.
ImportError: Import by filename is not supported.
../../../../../src/nox/netapps/tests/tests.cc(115): fatal error in 
"nox.netapps.tests.pyunittests.eap_parse_test.testEAPOL": Unable to import 
twisted.trial.reporter.
*

Test suite "NOX" failed with:
  25 assertions out of 96 passed
  71 assertions out of 96 failed
  3 test cases out of 74 passed
  71 test cases out of 74 failed
  71 test cases out of 74 aborted
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to