Ticket #1069 (assigned defect)

Opened 7 years ago

Last modified 6 years ago

some network tests fail on Linux...

Reported by: justinc Owned by: varungarg
Priority: major Milestone:
Component: repyV2 Version: 0.1t
Severity: Medium Keywords:
Cc: justinc, monzum Blocking:
Blocked By:

Description

Some of the network tests fail when run with the rest of the module. When run individually, they pass for me.

justinc@nara:~/test2> python utf.py -m repyv2api
Testing module: repyv2api
	Running: ut_repyv2api_connectionsendwillnotblock.py         [ PASS ]
	Running: ut_repyv2api_fileclosereleasesresource.py          [ PASS ]
	Running: ut_repyv2api_openconnectionresourceforbidden.py    [ PASS ]
	Running: ut_repyv2api_listenforconn-resources.py            [ PASS ]
	Running: ut_repyv2api_sendmessage5ktest.py                  [ PASS ]
	Running: ut_repyv2api_listenforconn-badport.py              [ PASS ]
	Running: ut_repyv2api_filereadatbasictest.py                [ PASS ]
	Running: ut_repyv2api_openconnectionwithbadlocalip.py       [ PASS ]
	Running: ut_repyv2api_listenforconn-addrbinding.py          [ PASS ]
	Running: ut_repyv2api_openconnectiontimeout.py              [ PASS ]
	Running: ut_repyv2api_listencloselisten2.py                 [ 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 190, in main
  "/home/justinc/test2/virtual_namespace.py", line 113, in evaluate
  "/home/justinc/test2/safe.py", line 508, in safe_run
  "ut_repyv2api_listencloselisten2.py", line 17, in <module>
  "/home/justinc/test2/namespace.py", line 1206, in wrapped_function
  "/home/justinc/test2/emulcomm.py", line 1304, in openconnection
  "/home/justinc/test2/emulcomm.py", line 1170, in _timed_conn_initialize

User traceback:
  "ut_repyv2api_listencloselisten2.py", line 17, in <module>

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

..............................Expected..............................
None
--------------------------------------------------------------------------------
	Running: ut_repyv2api_getthreadnamebasictest.py             [ PASS ]
	Running: ut_repyv2api_createlockblocks.py                   [ PASS ]
	Running: ut_repyv2api_filewriteatperformsresourceaccounting.py [ PASS ]
	Running: ut_repyv2api_exitallstopsanotherthread.py          [ PASS ]
	Running: ut_repyv2api_filereadatperformsresourceaccounting.py [ PASS ]
	Running: ut_repyv2api_openfileconsumesfilehandles.py        [ PASS ]
	Running: ut_repyv2api_listenclosesend.py                    [ PASS ]
	Running: ut_repyv2api_fileclosemakesothercallsfail.py       [ PASS ]
	Running: ut_repyv2api_filecloseconcurrecy.py                [ PASS ]
	Running: ut_repyv2api_filewriteatsanitychecksargs.py        [ PASS ]
	Running: ut_repyv2api_virtualnamespace-eval.py              [ PASS ]
	Running: ut_repyv2api_createthreadissane.py                 [ PASS ]
	Running: ut_repyv2api_openfileperformsresourceaccounting.py [ PASS ]
	Running: ut_repyv2api_listenformessage-reopening.py         [ PASS ]
	Running: ut_repyv2api_connectionrecvwouldblock.py           [ PASS ]
	Running: ut_repyv2api_openfileduplicatefilefails.py         [ PASS ]
	Running: ut_repyv2api_listenformessage-exceptions.py        [ PASS ]
	Running: ut_repyv2api_filereadatpastendoffile.py            [ PASS ]
	Running: ut_repyv2api_filereadatsanitychecksargs.py         [ PASS ]
	Running: ut_repyv2api_listenforconn-cleanup.py              [ PASS ]
	Running: ut_repyv2api_createlocknonblocking.py              [ PASS ]
	Running: ut_repyv2api_virtualnamespace-init.py              [ PASS ]
	Running: ut_repyv2api_sleepbasictest.py                     [ PASS ]
	Running: ut_repyv2api_listfilesbasictest.py                 [ PASS ]
	Running: ut_repyv2api_listenforconn-args.py                 [ PASS ]
	Running: ut_repyv2api_createthreadhasresourcecontrols.py    [ PASS ]
	Running: ut_repyv2api_filewriteatbasictest.py               [ PASS ]
	Running: ut_repyv2api_connectionrecvremoteclose.py          [ PASS ]
	Running: ut_repyv2api_connectionsendremoteclose.py          [ PASS ]
	Running: ut_repyv2api_connectionduplicateclose.py           [ PASS ]
	Running: ut_repyv2api_openconnectionsanitychecksargs.py     [ PASS ]
	Running: ut_repyv2api_openconnectionfailswithoutlisten.py   [ PASS ]
	Running: ut_repyv2api_listenformessage-distinctfromtcp.py   [ PASS ]
	Running: ut_repyv2api_openfilesanitychecksargs.py           [ PASS ]
	Running: ut_repyv2api_unicodedisallowed.py                  [ PASS ]
	Running: ut_repyv2api_getlasterrorworks.py                  [ PASS ]
	Running: ut_repyv2api_virtualnamespacecontextsafety.py      [ PASS ]
	Running: ut_repyv2api_sendmessagecheckstypes.py             [ PASS ]
	Running: ut_repyv2api_randombytesissane.py                  [ PASS ]
	Running: ut_repyv2api_initialusevaluesaresane.py            [ PASS ]
	Running: ut_repyv2api_sendmessage-exceptions.py             [ PASS ]
	Running: ut_repyv2api_getresourcedataisvalid.py             [ PASS ]
	Running: ut_repyv2api_openconnectionduplicatetuple.py       [ PASS ]
	Running: ut_repyv2api_connectionserversendblocks.py         [ 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 190, in main
  "/home/justinc/test2/virtual_namespace.py", line 113, in evaluate
  "/home/justinc/test2/safe.py", line 508, in safe_run
  "ut_repyv2api_connectionserversendblocks.py", line 15, in <module>
  "/home/justinc/test2/namespace.py", line 1206, in wrapped_function
  "/home/justinc/test2/emulcomm.py", line 1304, in openconnection
  "/home/justinc/test2/emulcomm.py", line 1170, in _timed_conn_initialize

User traceback:
  "ut_repyv2api_connectionserversendblocks.py", line 15, in <module>

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

..............................Expected..............................
None
--------------------------------------------------------------------------------
	Running: ut_repyv2api_listfilesperformsresourceaccounting.py [ PASS ]
	Running: ut_repyv2api_listencloselisten.py                  [ PASS ]
	Running: ut_repyv2api_tcpserver_wouldblock.py               [ PASS ]
	Running: ut_repyv2api_exitallstopscurrentthread.py          [ PASS ]
	Running: ut_repyv2api_removefileperformsresourceaccounting.py [ PASS ]
	Running: ut_repyv2api_multipleopenconnections2.py           [ PASS ]
	Running: ut_repyv2api_listenforconn-dup.py                  [ PASS ]
	Running: ut_repyv2api_connectionsendwilleventuallyblock.py  [ PASS ]
	Running: ut_repyv2api_nannyupdatesresourceconsumption.py    [ PASS ]
	Running: ut_repyv2api_connectionrecvlocalclose.py           [ PASS ]
	Running: ut_repyv2api_connectionsendlocalclose.py           [ PASS ]
	Running: ut_repyv2api_randombytesisresourcelimited.py       [ PASS ]
	Running: ut_repyv2api_stoptimesaresane.py                   [ PASS ]
	Running: ut_repyv2api_openconnectionalreadyalistening.py    [ PASS ]
	Running: ut_repyv2api_sendmessagebasictest.py               [ PASS ]
	Running: ut_repyv2api_removefileissane.py                   [ PASS ]
	Running: ut_repyv2api_multipleopenconnections.py            [ PASS ]

Change History

Changed 6 years ago by vijay

  • owner changed from vijay to varungarg
  • status changed from new to assigned
Note: See TracTickets for help on using tickets.