SeattleTestbed / docs

Documentation for Seattle Testbed (scroll down for README)
MIT License
40 stars 164 forks source link

Test failures on fresh install #40

Closed heatherm closed 6 years ago

heatherm commented 6 years ago

I've cloned + built the the project, but am seeing errors when running the suggested tests. This is the output for the Affix component when running python utf.py -a from ~/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR on fresh install:

Note : I'm running this with Python 2.7.11 :: Anaconda 4.0.0 (x86_64).

Some of the errors I see have issues already opened: https://github.com/SeattleTestbed/affix/issues/69, so I wonder if the tests are a good source of information about correct setup?

Please advise.

TEST_TARGET_DIR [master] $ python utf.py -a
Testing module: affix
    Running: ut_affix_canihear_advertise_emptyresponse.r2py     [ PASS ]
    Running: ut_affix_canihear_advertise_error.r2py             [ PASS ]
    Running: ut_affix_coord-nat_multiple_conn_tcp.r2py          [ PASS ]
    Running: ut_affix_coord-nat_simple_udp.r2py                 [ PASS ]
    Running: ut_affix_coordination-nat.r2py                     [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 133, in execute_namespace_until_completion
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "ut_affix_coordination-nat.r2py", line 53, in <module>
  "coordinationaffix.r2py", line 200, in openconnection
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1382, in openconnection
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1232, in _timed_conn_initialize

User traceback:
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "ut_affix_coordination-nat.r2py", line 53, in <module>
  "coordinationaffix.r2py", line 200, in openconnection

Exception (with class 'exception_hierarchy.ConnectionRefusedError'): The connection was refused!
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................

..............................Expected..............................
Test Passed

--------------------------------------------------------------------------------
    Running: ut_affix_coordination-noop.r2py                    [ PASS ]
    Running: ut_affix_logging_tryallmethods.r2py                [ PASS ]
    Running: ut_affix_makemehear_works.r2py                     [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func
  "ut_repyv2api_tcpconnectiontest.r2py", line 87, in launch_server
  "coordinationaffix.r2py", line 91, in listenforconnection
  "makemehearaffix.r2py", line 132, in listenforconnection

User traceback:
  "ut_repyv2api_tcpconnectiontest.r2py", line 87, in launch_server
  "coordinationaffix.r2py", line 91, in listenforconnection
  "makemehearaffix.r2py", line 132, in listenforconnection

Exception (with class 'exception_hierarchy.AddressBindingError'): MakeMeHearAffix: Error looking up or contacting canihear servers. Exception encountered: CanIHearError('Did not find any servers advertising canihear',)
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
    Running: ut_affix_namingandresolveraffix-works.r2py         [ PASS ]
    Running: ut_affix_natforwarder_exceedclientlimit.r2py       [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 133, in execute_namespace_until_completion
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "ut_affix_natforwarder_exceedclientlimit.r2py", line 57, in <module>
  "tcprelayaffix.r2py", line 168, in openconnection

User traceback:
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "ut_affix_natforwarder_exceedclientlimit.r2py", line 57, in <module>
  "tcprelayaffix.r2py", line 168, in openconnection

Exception (with class 'exception_hierarchy.TimeoutError'): Connection timed out while negotiating connection with the forwarder '192.168.0.4:12345'.
---

..............................Expected..............................
Unable to connect to any NAT Forwarder.

--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................
[1538233218.3811] INFO: Started TCP NAT Forwarder listener on '192.168.0.4' port '12345'
[1538233231.1602] INFO: Incoming connection from '192.168.0.4:63100'
[1538233231.1605] INFO: Got connection from 192.168.0.4:63100
[1538233231.1962] DEBUG: 192.168.0.4:63100 said REGISTER_NAT_SERVER,192.168.0.4:63100
[1538233231.1968] INFO: Server '192.168.0.4:63100' at 192.168.0.4:63100 requesting to register
[1538233231.1971] DEBUG: Registered server 192.168.0.4:63100
[1538233231.2022] INFO: Registered server '192.168.0.4:63100' at 192.168.0.4:63100 successfully. 18 server slots remain.
First conn
[1538233239.1085] INFO: Incoming connection from '192.168.0.4:63101'
[1538233239.1086] INFO: Got connection from 192.168.0.4:63101
[1538233239.1091] DEBUG: 192.168.0.4:63101 said INITCONN_CLIENT,192.168.0.4:63100
[1538233239.1092] INFO: Received a request from client '192.168.0.4:63101' to connect to a server.
[1538233239.1095] INFO: Incoming TCP connection request from '192.168.0.4:63101' for server '192.168.0.4:63100'

..............................Expected..............................
0 server slots remain.
Max servers reached.

--------------------------------------------------------------------------------
    Running: ut_affix_natforwarder_exceedserverlimit.r2py       [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func
  "ut_affix_natforwarder_exceedserverlimit.r2py", line 123, in tcp_forwarder_listener
  "ut_affix_natforwarder_exceedserverlimit.r2py", line 612, in logmsg

User traceback:
  "ut_affix_natforwarder_exceedserverlimit.r2py", line 123, in tcp_forwarder_listener
  "ut_affix_natforwarder_exceedserverlimit.r2py", line 612, in logmsg

Exception (with type 'exceptions.AttributeError'): ImportedModule instance has no attribute 'time_seconds_from_1900_to_1970'
---

..............................Expected..............................
Unable to connect to any NAT Forwarder.

--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................
Setting up NAT forwarder.
NAT forwarder started.

..............................Expected..............................
0 server slots remain.
Max servers reached.

--------------------------------------------------------------------------------
    Running: ut_affix_natforwarder_serversocketcloseduringsetup.r2py [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func
  "ut_affix_natforwarder_serversocketcloseduringsetup.r2py", line 118, in tcp_forwarder_listener
  "ut_affix_natforwarder_serversocketcloseduringsetup.r2py", line 607, in logmsg

User traceback:
  "ut_affix_natforwarder_serversocketcloseduringsetup.r2py", line 118, in tcp_forwarder_listener
  "ut_affix_natforwarder_serversocketcloseduringsetup.r2py", line 607, in logmsg

Exception (with type 'exceptions.AttributeError'): ImportedModule instance has no attribute 'time_seconds_from_1900_to_1970'
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
    Running: ut_affix_natforwarder_subsequentsessions.r2py      [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func
  "ut_repyv2api_tcpconnectiontest.r2py", line 87, in launch_server
  "tcprelayaffix.r2py", line 216, in listenforconnection

User traceback:
  "ut_repyv2api_tcpconnectiontest.r2py", line 87, in launch_server
  "tcprelayaffix.r2py", line 216, in listenforconnection

Exception (with class 'exception_hierarchy.AddressBindingError'): AddressBindingError('Could not find any usable source port in the range [63115] on IP address 192.168.0.4.',)
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
    Running: ut_affix_noop.r2py                                 [ PASS ]
    Running: ut_affix_openconnectioncoordinationaffix.r2py      [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func
  "ut_repyv2api_tcpconnectiontest.r2py", line 57, in connect_and_send_message
  "coordinationaffix.r2py", line 200, in openconnection
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1382, in openconnection
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1232, in _timed_conn_initialize

User traceback:
  "ut_repyv2api_tcpconnectiontest.r2py", line 57, in connect_and_send_message
  "coordinationaffix.r2py", line 200, in openconnection

Exception (with class 'exception_hierarchy.ConnectionRefusedError'): The connection was refused!
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
    Running: ut_affix_simple-coordination.r2py                  [ PASS ]
    Running: ut_affix_simple-natpunch.r2py                      [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func
  "ut_affix_simple-natpunch.r2py", line 27, in server
  "tcprelayaffix.r2py", line 216, in listenforconnection

User traceback:
  "ut_affix_simple-natpunch.r2py", line 27, in server
  "tcprelayaffix.r2py", line 216, in listenforconnection

Exception (with class 'exception_hierarchy.AddressBindingError'): AddressBindingError("Unable to connect to any NAT Forwarder (['128.223.8.113:63161']) using localip/actual_ip:localport 192.168.0.4/192.168.0.4:12345",)
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
    Running: ut_affix_simple-noop.r2py                          [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 133, in execute_namespace_until_completion
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "ut_affix_simple-noop.r2py", line 52, in <module>
  "baseaffix.r2py", line 207, in openconnection
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1382, in openconnection
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1247, in _timed_conn_initialize

User traceback:
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "ut_affix_simple-noop.r2py", line 52, in <module>
  "baseaffix.r2py", line 207, in openconnection

Exception (with class 'exception_hierarchy.TimeoutError'): Timed-out connecting to the remote host!
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................

..............................Expected..............................
Test Passed

--------------------------------------------------------------------------------
Testing module: affixframework
    Running: ut_affixframework_build-empty-stack.r2py           [ PASS ]
    Running: ut_affixframework_create_affix_bad_arg.r2py        [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 133, in execute_namespace_until_completion
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "ut_affixframework_create_affix_bad_arg.r2py", line 4, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

User traceback:
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "ut_affixframework_create_affix_bad_arg.r2py", line 4, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................

..............................Expected..............................
PASS

--------------------------------------------------------------------------------
    Running: ut_affixframework_create_invalid_affix.r2py        [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 133, in execute_namespace_until_completion
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "ut_affixframework_create_invalid_affix.r2py", line 4, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

User traceback:
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "ut_affixframework_create_invalid_affix.r2py", line 4, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................

..............................Expected..............................
PASS

--------------------------------------------------------------------------------
    Running: ut_affixframework_createaffix.r2py                 [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 133, in execute_namespace_until_completion
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "ut_affixframework_createaffix.r2py", line 7, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

User traceback:
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "ut_affixframework_createaffix.r2py", line 7, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................

..............................Expected..............................
PASS

--------------------------------------------------------------------------------
    Running: ut_affixframework_push_affix.r2py                  [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 133, in execute_namespace_until_completion
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "ut_affixframework_push_affix.r2py", line 13, in <module>

User traceback:
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "ut_affixframework_push_affix.r2py", line 13, in <module>

Exception (with type 'exceptions.TypeError'): __init__() takes exactly 2 arguments (1 given)
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................

..............................Expected..............................
PASS

--------------------------------------------------------------------------------
    Running: ut_affixframework_register_affix.r2py              [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 133, in execute_namespace_until_completion
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "ut_affixframework_register_affix.r2py", line 7, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

User traceback:
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "ut_affixframework_register_affix.r2py", line 7, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................

..............................Expected..............................
PASS

--------------------------------------------------------------------------------
    Running: ut_affixframework_register_parallel_affix.r2py     [ FAIL ]
--------------------------------------------------------------------------------
Standard error :
..............................Produced..............................
---
Uncaught exception!
---
Following is a full traceback, and a user traceback.
The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback:
  "repy.py", line 133, in execute_namespace_until_completion
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate
  "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run
  "ut_affixframework_register_parallel_affix.r2py", line 7, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

User traceback:
  "dylink.r2py", line 544, in <module>
  "dylink.r2py", line 405, in dylink_dispatch
  "dylink.r2py", line 518, in evaluate
  "ut_affixframework_register_parallel_affix.r2py", line 7, in <module>
  "dylink.r2py", line 433, in _dy_import_module
  "dylink.r2py", line 325, in dylink_import_module
  "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!
---

..............................Expected..............................
None
--------------------------------------------------------------------------------
Standard out :
..............................Produced..............................

..............................Expected..............................
PASS

--------------------------------------------------------------------------------
Testing module: repyv2api
    Running: ut_repyv2api_tcpconnectiontest.r2py                [ PASS ]
JustinCappos commented 6 years ago

The Affix code is an experimental feature that we never really got working in production as we would have liked. Some of the tests may fail on your system.

Can you say more about what you are interested in using it for?

FYI: The Seattle codebase still should work, but the project is retired. https://ssl.engineering.nyu.edu/blog/2018-06-26-SeattleRetire So we're not actively adding features and are minimally supporting our deployed infrastructure.

On Sat, Sep 29, 2018 at 11:37 AM Heather notifications@github.com wrote:

I've cloned + built the the project, but am seeing errors when running the suggested tests. This is the output for the Affix component when running python utf.py -a from ~/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR on fresh install:

Note : I'm running this with Python 2.7.11 :: Anaconda 4.0.0 (x86_64).

Some of the errors I see have issues already opened: SeattleTestbed/affix#69 https://github.com/SeattleTestbed/affix/issues/69, so I wonder if the tests are a good source of information about correct setup?

Please advise.

TEST_TARGET_DIR [master] $ python utf.py -a Testing module: affix Running: ut_affix_canihear_advertise_emptyresponse.r2py [ PASS ] Running: ut_affix_canihear_advertise_error.r2py [ PASS ] Running: ut_affix_coord-nat_multiple_conn_tcp.r2py [ PASS ] Running: ut_affix_coord-nat_simple_udp.r2py [ PASS ] Running: ut_affix_coordination-nat.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "repy.py", line 133, in execute_namespace_until_completion "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "ut_affix_coordination-nat.r2py", line 53, in "coordinationaffix.r2py", line 200, in openconnection "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1382, in openconnection "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1232, in _timed_conn_initialize

User traceback: "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "ut_affix_coordination-nat.r2py", line 53, in "coordinationaffix.r2py", line 200, in openconnection

Exception (with class 'exception_hierarchy.ConnectionRefusedError'): The connection was refused!

..............................Expected.............................. None

Standard out : ..............................Produced..............................

..............................Expected.............................. Test Passed


Running: ut_affix_coordination-noop.r2py [ PASS ] Running: ut_affix_logging_tryallmethods.r2py [ PASS ] Running: ut_affix_makemehear_works.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func "ut_repyv2api_tcpconnectiontest.r2py", line 87, in launch_server "coordinationaffix.r2py", line 91, in listenforconnection "makemehearaffix.r2py", line 132, in listenforconnection

User traceback: "ut_repyv2api_tcpconnectiontest.r2py", line 87, in launch_server "coordinationaffix.r2py", line 91, in listenforconnection "makemehearaffix.r2py", line 132, in listenforconnection

Exception (with class 'exception_hierarchy.AddressBindingError'): MakeMeHearAffix: Error looking up or contacting canihear servers. Exception encountered: CanIHearError('Did not find any servers advertising canihear',)

..............................Expected.............................. None

Running: ut_affix_namingandresolveraffix-works.r2py [ PASS ] Running: ut_affix_natforwarder_exceedclientlimit.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "repy.py", line 133, in execute_namespace_until_completion "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "ut_affix_natforwarder_exceedclientlimit.r2py", line 57, in "tcprelayaffix.r2py", line 168, in openconnection

User traceback: "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "ut_affix_natforwarder_exceedclientlimit.r2py", line 57, in "tcprelayaffix.r2py", line 168, in openconnection

Exception (with class 'exception_hierarchy.TimeoutError'): Connection timed out while negotiating connection with the forwarder '192.168.0.4:12345'.

..............................Expected.............................. Unable to connect to any NAT Forwarder.


Standard out : ..............................Produced.............................. [1538233218.3811] INFO: Started TCP NAT Forwarder listener on '192.168.0.4' port '12345' [1538233231.1602] INFO: Incoming connection from '192.168.0.4:63100' [1538233231.1605] INFO: Got connection from 192.168.0.4:63100 [1538233231.1962] DEBUG: 192.168.0.4:63100 said REGISTER_NAT_SERVER,192.168.0.4:63100 [1538233231.1968] INFO: Server '192.168.0.4:63100' at 192.168.0.4:63100 requesting to register [1538233231.1971] DEBUG: Registered server 192.168.0.4:63100 [1538233231.2022] INFO: Registered server '192.168.0.4:63100' at 192.168.0.4:63100 successfully. 18 server slots remain. First conn [1538233239.1085] INFO: Incoming connection from '192.168.0.4:63101' [1538233239.1086] INFO: Got connection from 192.168.0.4:63101 [1538233239.1091] DEBUG: 192.168.0.4:63101 said INITCONN_CLIENT,192.168.0.4:63100 [1538233239.1092] INFO: Received a request from client '192.168.0.4:63101' to connect to a server. [1538233239.1095] INFO: Incoming TCP connection request from '192.168.0.4:63101' for server '192.168.0.4:63100'

..............................Expected.............................. 0 server slots remain. Max servers reached.


Running: ut_affix_natforwarder_exceedserverlimit.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func "ut_affix_natforwarder_exceedserverlimit.r2py", line 123, in tcp_forwarder_listener "ut_affix_natforwarder_exceedserverlimit.r2py", line 612, in logmsg

User traceback: "ut_affix_natforwarder_exceedserverlimit.r2py", line 123, in tcp_forwarder_listener "ut_affix_natforwarder_exceedserverlimit.r2py", line 612, in logmsg

Exception (with type 'exceptions.AttributeError'): ImportedModule instance has no attribute 'time_seconds_from_1900_to_1970'

..............................Expected.............................. Unable to connect to any NAT Forwarder.


Standard out : ..............................Produced.............................. Setting up NAT forwarder. NAT forwarder started.

..............................Expected.............................. 0 server slots remain. Max servers reached.


Running: ut_affix_natforwarder_serversocketcloseduringsetup.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func "ut_affix_natforwarder_serversocketcloseduringsetup.r2py", line 118, in tcp_forwarder_listener "ut_affix_natforwarder_serversocketcloseduringsetup.r2py", line 607, in logmsg

User traceback: "ut_affix_natforwarder_serversocketcloseduringsetup.r2py", line 118, in tcp_forwarder_listener "ut_affix_natforwarder_serversocketcloseduringsetup.r2py", line 607, in logmsg

Exception (with type 'exceptions.AttributeError'): ImportedModule instance has no attribute 'time_seconds_from_1900_to_1970'

..............................Expected.............................. None

Running: ut_affix_natforwarder_subsequentsessions.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func "ut_repyv2api_tcpconnectiontest.r2py", line 87, in launch_server "tcprelayaffix.r2py", line 216, in listenforconnection

User traceback: "ut_repyv2api_tcpconnectiontest.r2py", line 87, in launch_server "tcprelayaffix.r2py", line 216, in listenforconnection

Exception (with class 'exception_hierarchy.AddressBindingError'): AddressBindingError('Could not find any usable source port in the range [63115] on IP address 192.168.0.4.',)

..............................Expected.............................. None

Running: ut_affix_noop.r2py [ PASS ] Running: ut_affix_openconnectioncoordinationaffix.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func "ut_repyv2api_tcpconnectiontest.r2py", line 57, in connect_and_send_message "coordinationaffix.r2py", line 200, in openconnection "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1382, in openconnection "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1232, in _timed_conn_initialize

User traceback: "ut_repyv2api_tcpconnectiontest.r2py", line 57, in connect_and_send_message "coordinationaffix.r2py", line 200, in openconnection

Exception (with class 'exception_hierarchy.ConnectionRefusedError'): The connection was refused!

..............................Expected.............................. None

Running: ut_affix_simple-coordination.r2py [ PASS ] Running: ut_affix_simple-natpunch.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emultimer.py", line 113, in wrapped_func "ut_affix_simple-natpunch.r2py", line 27, in server "tcprelayaffix.r2py", line 216, in listenforconnection

User traceback: "ut_affix_simple-natpunch.r2py", line 27, in server "tcprelayaffix.r2py", line 216, in listenforconnection

Exception (with class 'exception_hierarchy.AddressBindingError'): AddressBindingError("Unable to connect to any NAT Forwarder (['128.223.8.113:63161']) using localip/actual_ip:localport 192.168.0.4/192.168.0.4:12345",)

..............................Expected.............................. None

Running: ut_affix_simple-noop.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "repy.py", line 133, in execute_namespace_until_completion "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "ut_affix_simple-noop.r2py", line 52, in "baseaffix.r2py", line 207, in openconnection "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1382, in openconnection "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/emulcomm.py", line 1247, in _timed_conn_initialize

User traceback: "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "ut_affix_simple-noop.r2py", line 52, in "baseaffix.r2py", line 207, in openconnection

Exception (with class 'exception_hierarchy.TimeoutError'): Timed-out connecting to the remote host!

..............................Expected.............................. None

Standard out : ..............................Produced..............................

..............................Expected.............................. Test Passed


Testing module: affixframework Running: ut_affixframework_build-empty-stack.r2py [ PASS ] Running: ut_affixframework_create_affix_bad_arg.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "repy.py", line 133, in execute_namespace_until_completion "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "ut_affixframework_create_affix_bad_arg.r2py", line 4, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

User traceback: "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "ut_affixframework_create_affix_bad_arg.r2py", line 4, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!

..............................Expected.............................. None

Standard out : ..............................Produced..............................

..............................Expected.............................. PASS


Running: ut_affixframework_create_invalid_affix.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "repy.py", line 133, in execute_namespace_until_completion "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "ut_affixframework_create_invalid_affix.r2py", line 4, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

User traceback: "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "ut_affixframework_create_invalid_affix.r2py", line 4, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!

..............................Expected.............................. None

Standard out : ..............................Produced..............................

..............................Expected.............................. PASS


Running: ut_affixframework_createaffix.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "repy.py", line 133, in execute_namespace_until_completion "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "ut_affixframework_createaffix.r2py", line 7, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

User traceback: "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "ut_affixframework_createaffix.r2py", line 7, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!

..............................Expected.............................. None

Standard out : ..............................Produced..............................

..............................Expected.............................. PASS


Running: ut_affixframework_push_affix.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "repy.py", line 133, in execute_namespace_until_completion "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "ut_affixframework_push_affix.r2py", line 13, in

User traceback: "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "ut_affixframework_push_affix.r2py", line 13, in

Exception (with type 'exceptions.TypeError'): init() takes exactly 2 arguments (1 given)

..............................Expected.............................. None

Standard out : ..............................Produced..............................

..............................Expected.............................. PASS


Running: ut_affixframework_register_affix.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "repy.py", line 133, in execute_namespace_until_completion "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "ut_affixframework_register_affix.r2py", line 7, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

User traceback: "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "ut_affixframework_register_affix.r2py", line 7, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!

..............................Expected.............................. None

Standard out : ..............................Produced..............................

..............................Expected.............................. PASS


Running: ut_affixframework_register_parallel_affix.r2py [ FAIL ]

Standard error : ..............................Produced..............................

Uncaught exception!

Following is a full traceback, and a user traceback. The user traceback excludes non-user modules. The most recent call is displayed last.

Full debugging traceback: "repy.py", line 133, in execute_namespace_until_completion "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 957, in __do_func_call "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/namespace.py", line 1219, in wrapped_function "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/virtual_namespace.py", line 116, in evaluate "/Users/person/Code/infosec/repy_v2/DEPENDENCIES/affix/scripts/TEST_TARGET_DIR/safe.py", line 610, in safe_run "ut_affixframework_register_parallel_affix.r2py", line 7, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

User traceback: "dylink.r2py", line 544, in "dylink.r2py", line 405, in dylink_dispatch "dylink.r2py", line 518, in evaluate "ut_affixframework_register_parallel_affix.r2py", line 7, in "dylink.r2py", line 433, in _dy_import_module "dylink.r2py", line 325, in dylink_import_module "dylink.r2py", line 135, in _dy_module_code

Exception (with class '.RepyImportError'): Failed to locate the module! Module: 'affixmisc.r2py' Cannot openfile non-existent file "affixmisc.r2py" without creating it!

..............................Expected.............................. None

Standard out : ..............................Produced..............................

..............................Expected.............................. PASS


Testing module: repyv2api Running: ut_repyv2api_tcpconnectiontest.r2py [ PASS ]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SeattleTestbed/docs/issues/40, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0XDyO3Gjqgg8R-pGFnPi8D0V3u_D8fks5uf5OjgaJpZM4XAjsm .

heatherm commented 6 years ago

Gotit. Thanks so much for the quick response!

I’m going through setup for a class assignment: https://github.com/SeattleTestbed/docs/blob/master/EducationalAssignments/ABStoragePartOne.md

Initial part of those instructions links to running the tests I was having problems with. Is that assignment one that is still considered valid to try and complete, or did the assignments deprecate with the project?

JustinCappos commented 6 years ago

Okay, thanks! The assignments that use the sandbox are still legitimate and used. It's more that the networked aspects of the testbed (like Affix) are not fully supported and working on the latest OSes.

On Sat, Sep 29, 2018 at 1:28 PM Heather notifications@github.com wrote:

Gotit. Thanks so much for the quick response!

I’m going through setup for a class assignment: https://github.com/SeattleTestbed/docs/blob/master/EducationalAssignments/ABStoragePartOne.md

Initial part of those instructions links to running the tests I was having problems with. Is that assignment one that is still considered valid to try and complete, or did the assignments deprecate with the project?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SeattleTestbed/docs/issues/40#issuecomment-425661951, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0XD6CzMb6jI3jo802dJReuKEb3_Y16ks5uf63agaJpZM4XAjsm .

heatherm commented 6 years ago

Thanks again. Closing.