Skip to content

Instantly share code, notes, and snippets.

@squeaky-pl
Created September 15, 2015 13:42
Show Gist options
  • Save squeaky-pl/9cc10930a3714c9c6336 to your computer and use it in GitHub Desktop.
Save squeaky-pl/9cc10930a3714c9c6336 to your computer and use it in GitHub Desktop.
cd greentest && GEVENT_RESOLVER=thread python testrunner.py --config ../known_failures.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__GreenletExit.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test___example_servers.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__all__.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__api.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__GreenletExit.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__api_timeout.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__all__.py
................../data/venv/lib/python3.5/site-packages/gevent/builtins.py:5: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
IncompleteImplWarning: gevent.builtins.ArithmeticError
IncompleteImplWarning: gevent.builtins.AssertionError
IncompleteImplWarning: gevent.builtins.AttributeError
IncompleteImplWarning: gevent.builtins.BaseException
IncompleteImplWarning: gevent.builtins.BlockingIOError
IncompleteImplWarning: gevent.builtins.BrokenPipeError
IncompleteImplWarning: gevent.builtins.BufferError
IncompleteImplWarning: gevent.builtins.BytesWarning
IncompleteImplWarning: gevent.builtins.ChildProcessError
IncompleteImplWarning: gevent.builtins.ConnectionAbortedError
IncompleteImplWarning: gevent.builtins.ConnectionError
IncompleteImplWarning: gevent.builtins.ConnectionRefusedError
IncompleteImplWarning: gevent.builtins.ConnectionResetError
IncompleteImplWarning: gevent.builtins.DeprecationWarning
IncompleteImplWarning: gevent.builtins.EOFError
IncompleteImplWarning: gevent.builtins.Ellipsis
IncompleteImplWarning: gevent.builtins.EnvironmentError
IncompleteImplWarning: gevent.builtins.Exception
IncompleteImplWarning: gevent.builtins.False
IncompleteImplWarning: gevent.builtins.FileExistsError
IncompleteImplWarning: gevent.builtins.FileNotFoundError
IncompleteImplWarning: gevent.builtins.FloatingPointError
IncompleteImplWarning: gevent.builtins.FutureWarning
IncompleteImplWarning: gevent.builtins.GeneratorExit
IncompleteImplWarning: gevent.builtins.IOError
IncompleteImplWarning: gevent.builtins.ImportError
IncompleteImplWarning: gevent.builtins.ImportWarning
IncompleteImplWarning: gevent.builtins.IndentationError
IncompleteImplWarning: gevent.builtins.IndexError
IncompleteImplWarning: gevent.builtins.InterruptedError
IncompleteImplWarning: gevent.builtins.IsADirectoryError
IncompleteImplWarning: gevent.builtins.KeyError
IncompleteImplWarning: gevent.builtins.KeyboardInterrupt
IncompleteImplWarning: gevent.builtins.LookupError
IncompleteImplWarning: gevent.builtins.MemoryError
IncompleteImplWarning: gevent.builtins.NameError
IncompleteImplWarning: gevent.builtins.None
IncompleteImplWarning: gevent.builtins.NotADirectoryError
IncompleteImplWarning: gevent.builtins.NotImplemented
IncompleteImplWarning: gevent.builtins.NotImplementedError
IncompleteImplWarning: gevent.builtins.OSError
IncompleteImplWarning: gevent.builtins.OverflowError
IncompleteImplWarning: gevent.builtins.PendingDeprecationWarning
IncompleteImplWarning: gevent.builtins.PermissionError
IncompleteImplWarning: gevent.builtins.ProcessLookupError
IncompleteImplWarning: gevent.builtins.RecursionError
IncompleteImplWarning: gevent.builtins.ReferenceError
IncompleteImplWarning: gevent.builtins.ResourceWarning
IncompleteImplWarning: gevent.builtins.RuntimeError
IncompleteImplWarning: gevent.builtins.RuntimeWarning
IncompleteImplWarning: gevent.builtins.StopAsyncIteration
IncompleteImplWarning: gevent.builtins.StopIteration
IncompleteImplWarning: gevent.builtins.SyntaxError
IncompleteImplWarning: gevent.builtins.SyntaxWarning
IncompleteImplWarning: gevent.builtins.SystemError
IncompleteImplWarning: gevent.builtins.SystemExit
IncompleteImplWarning: gevent.builtins.TabError
IncompleteImplWarning: gevent.builtins.TimeoutError
IncompleteImplWarning: gevent.builtins.True
IncompleteImplWarning: gevent.builtins.TypeError
IncompleteImplWarning: gevent.builtins.UnboundLocalError
IncompleteImplWarning: gevent.builtins.UnicodeDecodeError
IncompleteImplWarning: gevent.builtins.UnicodeEncodeError
IncompleteImplWarning: gevent.builtins.UnicodeError
IncompleteImplWarning: gevent.builtins.UnicodeTranslateError
IncompleteImplWarning: gevent.builtins.UnicodeWarning
IncompleteImplWarning: gevent.builtins.UserWarning
IncompleteImplWarning: gevent.builtins.ValueError
IncompleteImplWarning: gevent.builtins.Warning
IncompleteImplWarning: gevent.builtins.ZeroDivisionError
IncompleteImplWarning: gevent.builtins.abs
IncompleteImplWarning: gevent.builtins.all
IncompleteImplWarning: gevent.builtins.any
IncompleteImplWarning: gevent.builtins.ascii
IncompleteImplWarning: gevent.builtins.bin
IncompleteImplWarning: gevent.builtins.bool
IncompleteImplWarning: gevent.builtins.bytearray
IncompleteImplWarning: gevent.builtins.bytes
IncompleteImplWarning: gevent.builtins.callable
IncompleteImplWarning: gevent.builtins.chr
IncompleteImplWarning: gevent.builtins.classmethod
IncompleteImplWarning: gevent.builtins.compile
IncompleteImplWarning: gevent.builtins.complex
IncompleteImplWarning: gevent.builtins.copyright
IncompleteImplWarning: gevent.builtins.credits
IncompleteImplWarning: gevent.builtins.delattr
IncompleteImplWarning: gevent.builtins.dict
IncompleteImplWarning: gevent.builtins.dir
IncompleteImplWarning: gevent.builtins.divmod
IncompleteImplWarning: gevent.builtins.enumerate
IncompleteImplWarning: gevent.builtins.eval
IncompleteImplWarning: gevent.builtins.exec
IncompleteImplWarning: gevent.builtins.exit
IncompleteImplWarning: gevent.builtins.filter
IncompleteImplWarning: gevent.builtins.float
IncompleteImplWarning: gevent.builtins.format
IncompleteImplWarning: gevent.builtins.frozenset
IncompleteImplWarning: gevent.builtins.getattr
IncompleteImplWarning: gevent.builtins.globals
IncompleteImplWarning: gevent.builtins.hasattr
IncompleteImplWarning: gevent.builtins.hash
IncompleteImplWarning: gevent.builtins.help
IncompleteImplWarning: gevent.builtins.hex
IncompleteImplWarning: gevent.builtins.id
IncompleteImplWarning: gevent.builtins.input
IncompleteImplWarning: gevent.builtins.int
IncompleteImplWarning: gevent.builtins.isinstance
IncompleteImplWarning: gevent.builtins.issubclass
IncompleteImplWarning: gevent.builtins.iter
IncompleteImplWarning: gevent.builtins.len
IncompleteImplWarning: gevent.builtins.license
IncompleteImplWarning: gevent.builtins.list
IncompleteImplWarning: gevent.builtins.locals
IncompleteImplWarning: gevent.builtins.map
IncompleteImplWarning: gevent.builtins.max
IncompleteImplWarning: gevent.builtins.memoryview
IncompleteImplWarning: gevent.builtins.min
IncompleteImplWarning: gevent.builtins.next
IncompleteImplWarning: gevent.builtins.object
IncompleteImplWarning: gevent.builtins.oct
IncompleteImplWarning: gevent.builtins.open
IncompleteImplWarning: gevent.builtins.ord
IncompleteImplWarning: gevent.builtins.pow
IncompleteImplWarning: gevent.builtins.print
IncompleteImplWarning: gevent.builtins.property
IncompleteImplWarning: gevent.builtins.quit
IncompleteImplWarning: gevent.builtins.range
IncompleteImplWarning: gevent.builtins.repr
IncompleteImplWarning: gevent.builtins.reversed
IncompleteImplWarning: gevent.builtins.round
IncompleteImplWarning: gevent.builtins.set
IncompleteImplWarning: gevent.builtins.setattr
IncompleteImplWarning: gevent.builtins.slice
IncompleteImplWarning: gevent.builtins.sorted
IncompleteImplWarning: gevent.builtins.staticmethod
IncompleteImplWarning: gevent.builtins.str
IncompleteImplWarning: gevent.builtins.sum
IncompleteImplWarning: gevent.builtins.super
IncompleteImplWarning: gevent.builtins.tuple
IncompleteImplWarning: gevent.builtins.type
IncompleteImplWarning: gevent.builtins.vars
IncompleteImplWarning: gevent.builtins.zip
..<string>:1: DeprecationWarning: gevent.coros has been renamed to gevent.lock
........IncompleteImplWarning: gevent.os.altsep
IncompleteImplWarning: gevent.os.curdir
IncompleteImplWarning: gevent.os.pardir
IncompleteImplWarning: gevent.os.sep
IncompleteImplWarning: gevent.os.pathsep
IncompleteImplWarning: gevent.os.linesep
IncompleteImplWarning: gevent.os.defpath
IncompleteImplWarning: gevent.os.name
IncompleteImplWarning: gevent.os.path
IncompleteImplWarning: gevent.os.devnull
IncompleteImplWarning: gevent.os.SEEK_SET
IncompleteImplWarning: gevent.os.SEEK_CUR
IncompleteImplWarning: gevent.os.SEEK_END
IncompleteImplWarning: gevent.os.fsencode
IncompleteImplWarning: gevent.os.fsdecode
IncompleteImplWarning: gevent.os.get_exec_path
IncompleteImplWarning: gevent.os.fdopen
IncompleteImplWarning: gevent.os.popen
IncompleteImplWarning: gevent.os.extsep
IncompleteImplWarning: gevent.os._exit
IncompleteImplWarning: gevent.os.CLD_CONTINUED
IncompleteImplWarning: gevent.os.CLD_DUMPED
IncompleteImplWarning: gevent.os.CLD_EXITED
IncompleteImplWarning: gevent.os.CLD_TRAPPED
IncompleteImplWarning: gevent.os.EX_CANTCREAT
IncompleteImplWarning: gevent.os.EX_CONFIG
IncompleteImplWarning: gevent.os.EX_DATAERR
IncompleteImplWarning: gevent.os.EX_IOERR
IncompleteImplWarning: gevent.os.EX_NOHOST
IncompleteImplWarning: gevent.os.EX_NOINPUT
IncompleteImplWarning: gevent.os.EX_NOPERM
IncompleteImplWarning: gevent.os.EX_NOUSER
IncompleteImplWarning: gevent.os.EX_OK
IncompleteImplWarning: gevent.os.EX_OSERR
IncompleteImplWarning: gevent.os.EX_OSFILE
IncompleteImplWarning: gevent.os.EX_PROTOCOL
IncompleteImplWarning: gevent.os.EX_SOFTWARE
IncompleteImplWarning: gevent.os.EX_TEMPFAIL
IncompleteImplWarning: gevent.os.EX_UNAVAILABLE
IncompleteImplWarning: gevent.os.EX_USAGE
IncompleteImplWarning: gevent.os.F_LOCK
IncompleteImplWarning: gevent.os.F_OK
IncompleteImplWarning: gevent.os.F_TEST
IncompleteImplWarning: gevent.os.F_TLOCK
IncompleteImplWarning: gevent.os.F_ULOCK
IncompleteImplWarning: gevent.os.NGROUPS_MAX
IncompleteImplWarning: gevent.os.O_ACCMODE
IncompleteImplWarning: gevent.os.O_APPEND
IncompleteImplWarning: gevent.os.O_ASYNC
IncompleteImplWarning: gevent.os.O_CLOEXEC
IncompleteImplWarning: gevent.os.O_CREAT
IncompleteImplWarning: gevent.os.O_DIRECT
IncompleteImplWarning: gevent.os.O_DIRECTORY
IncompleteImplWarning: gevent.os.O_DSYNC
IncompleteImplWarning: gevent.os.O_EXCL
IncompleteImplWarning: gevent.os.O_EXEC
IncompleteImplWarning: gevent.os.O_LARGEFILE
IncompleteImplWarning: gevent.os.O_NDELAY
IncompleteImplWarning: gevent.os.O_NOATIME
IncompleteImplWarning: gevent.os.O_NOCTTY
IncompleteImplWarning: gevent.os.O_NOFOLLOW
IncompleteImplWarning: gevent.os.O_NONBLOCK
IncompleteImplWarning: gevent.os.O_PATH
IncompleteImplWarning: gevent.os.O_RDONLY
IncompleteImplWarning: gevent.os.O_RDWR
IncompleteImplWarning: gevent.os.O_RSYNC
IncompleteImplWarning: gevent.os.O_SEARCH
IncompleteImplWarning: gevent.os.O_SYNC
IncompleteImplWarning: gevent.os.O_TMPFILE
IncompleteImplWarning: gevent.os.O_TRUNC
IncompleteImplWarning: gevent.os.O_WRONLY
IncompleteImplWarning: gevent.os.POSIX_FADV_DONTNEED
IncompleteImplWarning: gevent.os.POSIX_FADV_NOREUSE
IncompleteImplWarning: gevent.os.POSIX_FADV_NORMAL
IncompleteImplWarning: gevent.os.POSIX_FADV_RANDOM
IncompleteImplWarning: gevent.os.POSIX_FADV_SEQUENTIAL
IncompleteImplWarning: gevent.os.POSIX_FADV_WILLNEED
IncompleteImplWarning: gevent.os.PRIO_PGRP
IncompleteImplWarning: gevent.os.PRIO_PROCESS
IncompleteImplWarning: gevent.os.PRIO_USER
IncompleteImplWarning: gevent.os.P_ALL
IncompleteImplWarning: gevent.os.P_PGID
IncompleteImplWarning: gevent.os.P_PID
IncompleteImplWarning: gevent.os.RTLD_GLOBAL
IncompleteImplWarning: gevent.os.RTLD_LAZY
IncompleteImplWarning: gevent.os.RTLD_LOCAL
IncompleteImplWarning: gevent.os.RTLD_NODELETE
IncompleteImplWarning: gevent.os.RTLD_NOLOAD
IncompleteImplWarning: gevent.os.RTLD_NOW
IncompleteImplWarning: gevent.os.R_OK
IncompleteImplWarning: gevent.os.SCHED_BATCH
IncompleteImplWarning: gevent.os.SCHED_FIFO
IncompleteImplWarning: gevent.os.SCHED_IDLE
IncompleteImplWarning: gevent.os.SCHED_OTHER
IncompleteImplWarning: gevent.os.SCHED_RESET_ON_FORK
IncompleteImplWarning: gevent.os.SCHED_RR
IncompleteImplWarning: gevent.os.ST_APPEND
IncompleteImplWarning: gevent.os.ST_MANDLOCK
IncompleteImplWarning: gevent.os.ST_NOATIME
IncompleteImplWarning: gevent.os.ST_NODEV
IncompleteImplWarning: gevent.os.ST_NODIRATIME
IncompleteImplWarning: gevent.os.ST_NOEXEC
IncompleteImplWarning: gevent.os.ST_NOSUID
IncompleteImplWarning: gevent.os.ST_RDONLY
IncompleteImplWarning: gevent.os.ST_SYNCHRONOUS
IncompleteImplWarning: gevent.os.ST_WRITE
IncompleteImplWarning: gevent.os.TMP_MAX
IncompleteImplWarning: gevent.os.WCONTINUED
IncompleteImplWarning: gevent.os.WCOREDUMP
IncompleteImplWarning: gevent.os.WEXITED
IncompleteImplWarning: gevent.os.WEXITSTATUS
IncompleteImplWarning: gevent.os.WIFCONTINUED
IncompleteImplWarning: gevent.os.WIFEXITED
IncompleteImplWarning: gevent.os.WIFSIGNALED
IncompleteImplWarning: gevent.os.WIFSTOPPED
IncompleteImplWarning: gevent.os.WNOHANG
IncompleteImplWarning: gevent.os.WNOWAIT
IncompleteImplWarning: gevent.os.WSTOPPED
IncompleteImplWarning: gevent.os.WSTOPSIG
IncompleteImplWarning: gevent.os.WTERMSIG
IncompleteImplWarning: gevent.os.WUNTRACED
IncompleteImplWarning: gevent.os.W_OK
IncompleteImplWarning: gevent.os.X_OK
IncompleteImplWarning: gevent.os.abort
IncompleteImplWarning: gevent.os.access
IncompleteImplWarning: gevent.os.chdir
IncompleteImplWarning: gevent.os.chmod
IncompleteImplWarning: gevent.os.chown
IncompleteImplWarning: gevent.os.chroot
IncompleteImplWarning: gevent.os.close
IncompleteImplWarning: gevent.os.closerange
IncompleteImplWarning: gevent.os.confstr
IncompleteImplWarning: gevent.os.confstr_names
IncompleteImplWarning: gevent.os.cpu_count
IncompleteImplWarning: gevent.os.ctermid
IncompleteImplWarning: gevent.os.device_encoding
IncompleteImplWarning: gevent.os.dup
IncompleteImplWarning: gevent.os.dup2
IncompleteImplWarning: gevent.os.environ
IncompleteImplWarning: gevent.os.error
IncompleteImplWarning: gevent.os.execv
IncompleteImplWarning: gevent.os.execve
IncompleteImplWarning: gevent.os.fchdir
IncompleteImplWarning: gevent.os.fchmod
IncompleteImplWarning: gevent.os.fchown
IncompleteImplWarning: gevent.os.fdatasync
IncompleteImplWarning: gevent.os.forkpty
IncompleteImplWarning: gevent.os.fpathconf
IncompleteImplWarning: gevent.os.fstat
IncompleteImplWarning: gevent.os.fstatvfs
IncompleteImplWarning: gevent.os.fsync
IncompleteImplWarning: gevent.os.ftruncate
IncompleteImplWarning: gevent.os.get_blocking
IncompleteImplWarning: gevent.os.get_inheritable
IncompleteImplWarning: gevent.os.get_terminal_size
IncompleteImplWarning: gevent.os.getcwd
IncompleteImplWarning: gevent.os.getcwdb
IncompleteImplWarning: gevent.os.getegid
IncompleteImplWarning: gevent.os.geteuid
IncompleteImplWarning: gevent.os.getgid
IncompleteImplWarning: gevent.os.getgrouplist
IncompleteImplWarning: gevent.os.getgroups
IncompleteImplWarning: gevent.os.getloadavg
IncompleteImplWarning: gevent.os.getlogin
IncompleteImplWarning: gevent.os.getpgid
IncompleteImplWarning: gevent.os.getpgrp
IncompleteImplWarning: gevent.os.getpid
IncompleteImplWarning: gevent.os.getppid
IncompleteImplWarning: gevent.os.getpriority
IncompleteImplWarning: gevent.os.getresgid
IncompleteImplWarning: gevent.os.getresuid
IncompleteImplWarning: gevent.os.getsid
IncompleteImplWarning: gevent.os.getuid
IncompleteImplWarning: gevent.os.initgroups
IncompleteImplWarning: gevent.os.isatty
IncompleteImplWarning: gevent.os.kill
IncompleteImplWarning: gevent.os.killpg
IncompleteImplWarning: gevent.os.lchmod
IncompleteImplWarning: gevent.os.lchown
IncompleteImplWarning: gevent.os.link
IncompleteImplWarning: gevent.os.listdir
IncompleteImplWarning: gevent.os.lockf
IncompleteImplWarning: gevent.os.lseek
IncompleteImplWarning: gevent.os.lstat
IncompleteImplWarning: gevent.os.major
IncompleteImplWarning: gevent.os.makedev
IncompleteImplWarning: gevent.os.minor
IncompleteImplWarning: gevent.os.mkdir
IncompleteImplWarning: gevent.os.mkfifo
IncompleteImplWarning: gevent.os.mknod
IncompleteImplWarning: gevent.os.nice
IncompleteImplWarning: gevent.os.open
IncompleteImplWarning: gevent.os.openpty
IncompleteImplWarning: gevent.os.pathconf
IncompleteImplWarning: gevent.os.pathconf_names
IncompleteImplWarning: gevent.os.pipe
IncompleteImplWarning: gevent.os.pipe2
IncompleteImplWarning: gevent.os.posix_fadvise
IncompleteImplWarning: gevent.os.posix_fallocate
IncompleteImplWarning: gevent.os.pread
IncompleteImplWarning: gevent.os.putenv
IncompleteImplWarning: gevent.os.pwrite
IncompleteImplWarning: gevent.os.read
IncompleteImplWarning: gevent.os.readlink
IncompleteImplWarning: gevent.os.readv
IncompleteImplWarning: gevent.os.remove
IncompleteImplWarning: gevent.os.rename
IncompleteImplWarning: gevent.os.replace
IncompleteImplWarning: gevent.os.rmdir
IncompleteImplWarning: gevent.os.scandir
IncompleteImplWarning: gevent.os.sched_get_priority_max
IncompleteImplWarning: gevent.os.sched_get_priority_min
IncompleteImplWarning: gevent.os.sched_getaffinity
IncompleteImplWarning: gevent.os.sched_getparam
IncompleteImplWarning: gevent.os.sched_getscheduler
IncompleteImplWarning: gevent.os.sched_param
IncompleteImplWarning: gevent.os.sched_rr_get_interval
IncompleteImplWarning: gevent.os.sched_setaffinity
IncompleteImplWarning: gevent.os.sched_setparam
IncompleteImplWarning: gevent.os.sched_setscheduler
IncompleteImplWarning: gevent.os.sched_yield
IncompleteImplWarning: gevent.os.sendfile
IncompleteImplWarning: gevent.os.set_blocking
IncompleteImplWarning: gevent.os.set_inheritable
IncompleteImplWarning: gevent.os.setegid
IncompleteImplWarning: gevent.os.seteuid
IncompleteImplWarning: gevent.os.setgid
IncompleteImplWarning: gevent.os.setgroups
IncompleteImplWarning: gevent.os.setpgid
IncompleteImplWarning: gevent.os.setpgrp
IncompleteImplWarning: gevent.os.setpriority
IncompleteImplWarning: gevent.os.setregid
IncompleteImplWarning: gevent.os.setresgid
IncompleteImplWarning: gevent.os.setresuid
IncompleteImplWarning: gevent.os.setreuid
IncompleteImplWarning: gevent.os.setsid
IncompleteImplWarning: gevent.os.setuid
IncompleteImplWarning: gevent.os.stat
IncompleteImplWarning: gevent.os.stat_float_times
IncompleteImplWarning: gevent.os.stat_result
IncompleteImplWarning: gevent.os.statvfs
IncompleteImplWarning: gevent.os.statvfs_result
IncompleteImplWarning: gevent.os.strerror
IncompleteImplWarning: gevent.os.symlink
IncompleteImplWarning: gevent.os.sync
IncompleteImplWarning: gevent.os.sysconf
IncompleteImplWarning: gevent.os.sysconf_names
IncompleteImplWarning: gevent.os.system
IncompleteImplWarning: gevent.os.tcgetpgrp
IncompleteImplWarning: gevent.os.tcsetpgrp
IncompleteImplWarning: gevent.os.terminal_size
IncompleteImplWarning: gevent.os.times
IncompleteImplWarning: gevent.os.times_result
IncompleteImplWarning: gevent.os.truncate
IncompleteImplWarning: gevent.os.ttyname
IncompleteImplWarning: gevent.os.umask
IncompleteImplWarning: gevent.os.uname
IncompleteImplWarning: gevent.os.uname_result
IncompleteImplWarning: gevent.os.unlink
IncompleteImplWarning: gevent.os.unsetenv
IncompleteImplWarning: gevent.os.urandom
IncompleteImplWarning: gevent.os.utime
IncompleteImplWarning: gevent.os.wait
IncompleteImplWarning: gevent.os.wait3
IncompleteImplWarning: gevent.os.wait4
IncompleteImplWarning: gevent.os.waitid
IncompleteImplWarning: gevent.os.waitid_result
IncompleteImplWarning: gevent.os.write
IncompleteImplWarning: gevent.os.writev
IncompleteImplWarning: gevent.os.makedirs
IncompleteImplWarning: gevent.os.removedirs
IncompleteImplWarning: gevent.os.renames
IncompleteImplWarning: gevent.os.walk
IncompleteImplWarning: gevent.os.fwalk
IncompleteImplWarning: gevent.os.execl
IncompleteImplWarning: gevent.os.execle
IncompleteImplWarning: gevent.os.execlp
IncompleteImplWarning: gevent.os.execlpe
IncompleteImplWarning: gevent.os.execvp
IncompleteImplWarning: gevent.os.execvpe
IncompleteImplWarning: gevent.os.getenv
IncompleteImplWarning: gevent.os.supports_bytes_environ
IncompleteImplWarning: gevent.os.environb
IncompleteImplWarning: gevent.os.getenvb
IncompleteImplWarning: gevent.os.P_WAIT
IncompleteImplWarning: gevent.os.P_NOWAIT
IncompleteImplWarning: gevent.os.P_NOWAITO
IncompleteImplWarning: gevent.os.spawnv
IncompleteImplWarning: gevent.os.spawnve
IncompleteImplWarning: gevent.os.spawnvp
IncompleteImplWarning: gevent.os.spawnvpe
IncompleteImplWarning: gevent.os.spawnl
IncompleteImplWarning: gevent.os.spawnle
IncompleteImplWarning: gevent.os.spawnlp
IncompleteImplWarning: gevent.os.spawnlpe
.....IncompleteImplWarning: gevent.select.EPOLLERR
IncompleteImplWarning: gevent.select.EPOLLET
IncompleteImplWarning: gevent.select.EPOLLHUP
IncompleteImplWarning: gevent.select.EPOLLIN
IncompleteImplWarning: gevent.select.EPOLLMSG
IncompleteImplWarning: gevent.select.EPOLLONESHOT
IncompleteImplWarning: gevent.select.EPOLLOUT
IncompleteImplWarning: gevent.select.EPOLLPRI
IncompleteImplWarning: gevent.select.EPOLLRDBAND
IncompleteImplWarning: gevent.select.EPOLLRDNORM
IncompleteImplWarning: gevent.select.EPOLLWRBAND
IncompleteImplWarning: gevent.select.EPOLLWRNORM
IncompleteImplWarning: gevent.select.EPOLL_CLOEXEC
IncompleteImplWarning: gevent.select.PIPE_BUF
IncompleteImplWarning: gevent.select.POLLERR
IncompleteImplWarning: gevent.select.POLLHUP
IncompleteImplWarning: gevent.select.POLLMSG
IncompleteImplWarning: gevent.select.POLLNVAL
IncompleteImplWarning: gevent.select.POLLPRI
IncompleteImplWarning: gevent.select.POLLRDBAND
IncompleteImplWarning: gevent.select.POLLRDNORM
IncompleteImplWarning: gevent.select.POLLWRBAND
IncompleteImplWarning: gevent.select.POLLWRNORM
IncompleteImplWarning: gevent.select.epoll
..IncompleteImplWarning: gevent.signal.Handlers
IncompleteImplWarning: gevent.signal.ITIMER_PROF
IncompleteImplWarning: gevent.signal.ITIMER_REAL
IncompleteImplWarning: gevent.signal.ITIMER_VIRTUAL
IncompleteImplWarning: gevent.signal.ItimerError
IncompleteImplWarning: gevent.signal.NSIG
IncompleteImplWarning: gevent.signal.SIGABRT
IncompleteImplWarning: gevent.signal.SIGALRM
IncompleteImplWarning: gevent.signal.SIGBUS
IncompleteImplWarning: gevent.signal.SIGCHLD
IncompleteImplWarning: gevent.signal.SIGCONT
IncompleteImplWarning: gevent.signal.SIGFPE
IncompleteImplWarning: gevent.signal.SIGHUP
IncompleteImplWarning: gevent.signal.SIGILL
IncompleteImplWarning: gevent.signal.SIGINT
IncompleteImplWarning: gevent.signal.SIGIO
IncompleteImplWarning: gevent.signal.SIGIOT
IncompleteImplWarning: gevent.signal.SIGKILL
IncompleteImplWarning: gevent.signal.SIGPIPE
IncompleteImplWarning: gevent.signal.SIGPOLL
IncompleteImplWarning: gevent.signal.SIGPROF
IncompleteImplWarning: gevent.signal.SIGPWR
IncompleteImplWarning: gevent.signal.SIGQUIT
IncompleteImplWarning: gevent.signal.SIGRTMAX
IncompleteImplWarning: gevent.signal.SIGRTMIN
IncompleteImplWarning: gevent.signal.SIGSEGV
IncompleteImplWarning: gevent.signal.SIGSTOP
IncompleteImplWarning: gevent.signal.SIGSYS
IncompleteImplWarning: gevent.signal.SIGTERM
IncompleteImplWarning: gevent.signal.SIGTRAP
IncompleteImplWarning: gevent.signal.SIGTSTP
IncompleteImplWarning: gevent.signal.SIGTTIN
IncompleteImplWarning: gevent.signal.SIGTTOU
IncompleteImplWarning: gevent.signal.SIGURG
IncompleteImplWarning: gevent.signal.SIGUSR1
IncompleteImplWarning: gevent.signal.SIGUSR2
IncompleteImplWarning: gevent.signal.SIGVTALRM
IncompleteImplWarning: gevent.signal.SIGWINCH
IncompleteImplWarning: gevent.signal.SIGXCPU
IncompleteImplWarning: gevent.signal.SIGXFSZ
IncompleteImplWarning: gevent.signal.SIG_BLOCK
IncompleteImplWarning: gevent.signal.SIG_DFL
IncompleteImplWarning: gevent.signal.SIG_IGN
IncompleteImplWarning: gevent.signal.SIG_SETMASK
IncompleteImplWarning: gevent.signal.SIG_UNBLOCK
IncompleteImplWarning: gevent.signal.Sigmasks
IncompleteImplWarning: gevent.signal.Signals
IncompleteImplWarning: gevent.signal.alarm
IncompleteImplWarning: gevent.signal.default_int_handler
IncompleteImplWarning: gevent.signal.getitimer
IncompleteImplWarning: gevent.signal.pause
IncompleteImplWarning: gevent.signal.pthread_kill
IncompleteImplWarning: gevent.signal.pthread_sigmask
IncompleteImplWarning: gevent.signal.set_wakeup_fd
IncompleteImplWarning: gevent.signal.setitimer
IncompleteImplWarning: gevent.signal.siginterrupt
IncompleteImplWarning: gevent.signal.sigpending
IncompleteImplWarning: gevent.signal.sigtimedwait
IncompleteImplWarning: gevent.signal.sigwait
IncompleteImplWarning: gevent.signal.sigwaitinfo
IncompleteImplWarning: gevent.signal.struct_siginfo
.IncompleteImplWarning: gevent.socket.CAPI
..F.IncompleteImplWarning: gevent.threading.active_count
IncompleteImplWarning: gevent.threading.Condition
IncompleteImplWarning: gevent.threading.current_thread
IncompleteImplWarning: gevent.threading.enumerate
IncompleteImplWarning: gevent.threading.Event
IncompleteImplWarning: gevent.threading.Lock
IncompleteImplWarning: gevent.threading.RLock
IncompleteImplWarning: gevent.threading.Semaphore
IncompleteImplWarning: gevent.threading.BoundedSemaphore
IncompleteImplWarning: gevent.threading.Thread
IncompleteImplWarning: gevent.threading.Barrier
IncompleteImplWarning: gevent.threading.Timer
IncompleteImplWarning: gevent.threading.ThreadError
IncompleteImplWarning: gevent.threading.setprofile
IncompleteImplWarning: gevent.threading.settrace
IncompleteImplWarning: gevent.threading.local
IncompleteImplWarning: gevent.threading.stack_size
......
======================================================================
FAIL: test_subprocess (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "<string>", line 1, in test_subprocess
File "test__all__.py", line 190, in _test
self.check_completeness()
File "test__all__.py", line 150, in check_completeness
raise AssertionError(msg)
AssertionError: The following items
in <module 'subprocess' from '/usr/lib/python3.5/subprocess.py'>.__all__
are missing from <module 'gevent.subprocess' from '/data/venv/lib/python3.5/site-packages/gevent/subprocess.py'>:
['run', 'SubprocessError', 'CompletedProcess']
----------------------------------------------------------------------
Ran 46 tests in 0.120s
FAILED (failures=1)
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test__all__.py [code 1] [took 0.3s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__ares_host_result.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__api.py
........
----------------------------------------------------------------------
Ran 8 tests in 0.198s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__api.py [took 0.3s]
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__ares_host_result.py
....
----------------------------------------------------------------------
Ran 4 tests in 0.001s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__ares_host_result.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__backdoor.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core.py
.......
----------------------------------------------------------------------
Ran 7 tests in 0.001s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_async.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__backdoor.py
.....
----------------------------------------------------------------------
Ran 5 tests in 0.106s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__backdoor.py [took 0.2s]
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_async.py
Watcher <async at 0x7fc128aab528> reacted after 0.000344 seconds
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_async.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_callback.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_fork.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_callback.py [took 0.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_loop_run.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_fork.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_stat.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__api_timeout.py
...
----------------------------------------------------------------------
Ran 3 tests in 0.708s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__api_timeout.py [took 0.8s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_timer.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_timer.py [took 0.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_watcher.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_watcher.py
.
----------------------------------------------------------------------
Ran 1 test in 0.012s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_watcher.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__destroy.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__destroy.py
<Hub at 0x7f9592472cc0 destroyed> <loop at 0x7f9591a8f6a8 destroyed>
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__destroy.py [took 0.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__doctests.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_loop_run.py
must exit immediatelly...
...and once more...
..done
must exit after 0.5 seconds.
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_loop_run.py [took 0.5s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__environ.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__environ.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__event.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__doctests.py
/data/venv/lib/python3.5/site-packages/gevent
gevent.event (from /data/venv/lib/python3.5/site-packages/gevent/event.py): 1 tests
gevent.hub (from /data/venv/lib/python3.5/site-packages/gevent/hub.py): 1 tests
gevent.local (from /data/venv/lib/python3.5/site-packages/gevent/local.py): 1 tests
gevent.queue (from /data/venv/lib/python3.5/site-packages/gevent/queue.py): 1 tests
gevent.subprocess (from /data/venv/lib/python3.5/site-packages/gevent/subprocess.py): 1 tests
gevent.timeout (from /data/venv/lib/python3.5/site-packages/gevent/timeout.py): 2 tests
Total: 7 tests in 6 modules
AsyncResult (gevent.event)
Doctest: gevent.event.AsyncResult ... Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "<doctest gevent.event.AsyncResult[8]>", line 1, in <lambda>
gevent.spawn(lambda : 1/0).link(result)
ZeroDivisionError: division by zero
<Greenlet at 0x7fbef4d85048: <function <lambda> at 0x7fbef4d86bf8>> failed with ZeroDivisionError
ok
Waiter (gevent.hub)
Doctest: gevent.hub.Waiter ... ok
local (gevent)
Doctest: gevent.local ... ok
queue (gevent)
Doctest: gevent.queue ... ok
check_output (gevent.subprocess)
Doctest: gevent.subprocess.check_output ... FAIL
Timeout (gevent.timeout)
Doctest: gevent.timeout.Timeout ... ok
__str__ (gevent.timeout.Timeout)
Doctest: gevent.timeout.Timeout.__str__ ... ok
======================================================================
FAIL: check_output (gevent.subprocess)
Doctest: gevent.subprocess.check_output
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.5/doctest.py", line 2189, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for gevent.subprocess.check_output
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 176, in check_output
----------------------------------------------------------------------
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 186, in gevent.subprocess.check_output
Failed example:
check_output(["ls", "-1", "/dev/null"])
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest gevent.subprocess.check_output[0]>", line 1, in <module>
check_output(["ls", "-1", "/dev/null"])
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 221, in check_output
with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
----------------------------------------------------------------------
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 193, in gevent.subprocess.check_output
Failed example:
check_output(["/bin/sh", "-c",
"ls -l non_existent_file ; exit 0"],
stderr=STDOUT)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest gevent.subprocess.check_output[1]>", line 3, in <module>
stderr=STDOUT)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 221, in check_output
with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
----------------------------------------------------------------------
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 203, in gevent.subprocess.check_output
Failed example:
check_output(["sed", "-e", "s/foo/bar/"],
input=b"when in the course of fooman events\n")
Exception raised:
Traceback (most recent call last):
File "/usr/lib/python3.5/doctest.py", line 1320, in __run
compileflags, 1), test.globs)
File "<doctest gevent.subprocess.check_output[2]>", line 2, in <module>
input=b"when in the course of fooman events\n")
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 221, in check_output
with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
----------------------------------------------------------------------
Ran 7 tests in 0.427s
FAILED (failures=1)
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__doctests.py [took 0.6s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_echoserver.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_stat.py
Watcher <stat at 0x7fc0ea395980> reacted after 0.0009 seconds (write)
Watcher <stat at 0x7fc0ea395980> reacted after 0.0008 seconds (unlink)
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__core_stat.py [took 1.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_portforwarder.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_portforwarder.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u portforwarder.py 127.0.0.1:10011 127.0.0.1:10012
E
======================================================================
ERROR: test (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/util.py", line 234, in test
with self.running_server():
File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
return next(self.gen)
File "/data/gevent-test/gevent-master/greentest/util.py", line 226, in running_server
with self.start() as popen:
File "/data/gevent-test/gevent-master/greentest/util.py", line 219, in start
return start([sys.executable, '-u', self.server] + self.args, cwd=self.cwd)
File "/data/gevent-test/gevent-master/greentest/util.py", line 140, in start
popen = Popen(command, preexec_fn=preexec_fn, env=env, **kwargs)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
----------------------------------------------------------------------
Ran 1 test in 0.004s
FAILED (errors=1)
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_portforwarder.py [code 1] [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_udp_client.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_udp_client.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u udp_client.py Test_udp_client
E
======================================================================
ERROR: test (__main__.Test_udp_client)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__example_udp_client.py", line 20, in test
run([sys.executable, '-u', 'udp_client.py', 'Test_udp_client'], timeout=10, cwd='../examples/')
File "/data/gevent-test/gevent-master/greentest/util.py", line 180, in run
popen = start(command, **kwargs)
File "/data/gevent-test/gevent-master/greentest/util.py", line 140, in start
popen = Popen(command, preexec_fn=preexec_fn, env=env, **kwargs)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
----------------------------------------------------------------------
Ran 1 test in 0.004s
FAILED (errors=1)
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_udp_client.py [code 1] [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_udp_server.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__event.py
.......................
----------------------------------------------------------------------
Ran 23 tests in 1.161s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__event.py [took 1.2s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__exc_info.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__exc_info.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.113s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__exc_info.py [took 0.2s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__execmodules.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__execmodules.py
..........<string>:5: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
.test__execmodules.py:17: DeprecationWarning: gevent.coros has been renamed to gevent.lock
six.exec_(src, {})
..........................
----------------------------------------------------------------------
Ran 37 tests in 0.116s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__execmodules.py [took 0.2s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__fileobject.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__fileobject.py
......
----------------------------------------------------------------------
Ran 6 tests in 0.002s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__fileobject.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__getaddrinfo_import.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__getaddrinfo_import.py [took 0.3s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenio.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenio.py
./usr/lib/python3.5/socket.py:642: ResourceWarning: unclosed <socket object, fd=7, family=2, type=2049, proto=0>
self._sock = None
.
----------------------------------------------------------------------
Ran 2 tests in 0.008s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenio.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenlet.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_echoserver.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u echoserver.py
Starting echo server on port 16000
New connection from 127.0.0.1:44905
New connection from 127.0.0.1:44906
echoed b'hello\r\n'
echoed b'world\r\n'
client disconnected
client disconnected
.
----------------------------------------------------------------------
Ran 1 test in 3.612s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_echoserver.py [took 3.7s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenletset.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_udp_server.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u udp_server.py
Receiving datagrams on :9000
127.0.0.1: got b'Test udp_server'
.
----------------------------------------------------------------------
Ran 1 test in 3.505s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_udp_server.py [took 3.6s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenness.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenness.py
127.0.0.1 - - [15/Sep/2015 13:40:08] code 501, message Unsupported method ('GET')
127.0.0.1 - - [15/Sep/2015 13:40:08] "GET / HTTP/1.1" 501 -
.
----------------------------------------------------------------------
Ran 1 test in 0.009s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenness.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__hub.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenlet.py
.................................................
----------------------------------------------------------------------
Ran 49 tests in 2.444s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenlet.py [took 2.5s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__import_blocking_in_greenlet.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__import_blocking_in_greenlet.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue230.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue230.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue302monkey.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue302monkey.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue330.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue330.py [took 0.0s]
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__hub.py
/data/gevent-test/gevent-master/greentest/greentest.py:88: ResourceWarning: unclosed <socket object, fd=5, family=2, type=2049, proto=0>
return method(self, *args, **kwargs)
........
----------------------------------------------------------------------
Ran 8 tests in 0.606s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__hub.py [took 0.7s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue467.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue6.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue467.py
Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "test__issue467.py", line 13, in worker
raise ValueError(i)
ValueError: 2
<Greenlet at 0x7fec605d8e88: worker(2)> failed with ValueError
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue467.py [took 0.1s]
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue6.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue600.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue607.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue600.py
Traceback (most recent call last):
File "test__issue600.py", line 41, in <module>
test_invoke()
File "test__issue600.py", line 17, in test_invoke
p = Popen("true", stdout=PIPE, stderr=PIPE)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue600.py [code 1] [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue639.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue607.py
...
----------------------------------------------------------------------
Ran 3 tests in 0.019s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue607.py [took 0.1s]
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue639.py [took 0.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issues461_471.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__joinall.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenletset.py
........
----------------------------------------------------------------------
Ran 8 tests in 1.542s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__greenletset.py [took 1.6s]
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__joinall.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__local.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__loop_callback.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__loop_callback.py [took 0.0s]
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issues461_471.py
KeyboardInterrupt
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issues461_471.py [took 0.2s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__makefile_ref.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__memleak.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__local.py
...
----------------------------------------------------------------------
Ran 3 tests in 0.002s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__local.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__memleak.py
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__memleak.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey_builtins_future.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey.py [took 0.1s]
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__makefile_ref.py
E/usr/lib/python3.5/unittest/case.py:625: ResourceWarning: unclosed <socket object, fd=3, family=2, type=2049, proto=0>
outcome.errors.clear()
Etest__makefile_ref.py:308: ResourceWarning: unclosed <socket object, fd=6, family=2, type=2049, proto=0>
ssl.wrap_socket(connector)
E/usr/lib/python3.5/unittest/case.py:625: ResourceWarning: unclosed <socket object, fd=7, family=2, type=2049, proto=0>
outcome.errors.clear()
test__makefile_ref.py:338: ResourceWarning: unclosed <socket object, fd=6, family=2, type=2049, proto=0>
ssl.wrap_socket(connector)
Etest__makefile_ref.py:282: ResourceWarning: unclosed <socket object, fd=6, family=2, type=2049, proto=0>
ssl.wrap_socket(connector)
Etest__makefile_ref.py:372: ResourceWarning: unclosed <socket object, fd=6, family=2, type=2049, proto=0>
ssl.wrap_socket(connector)
EEEEEE/usr/lib/python3.5/socket.py:642: ResourceWarning: unclosed <socket object, fd=7, family=2, type=2049, proto=0>
self._sock = None
/usr/lib/python3.5/unittest/case.py:625: ResourceWarning: unclosed <socket object, fd=6, family=2, type=2049, proto=0>
outcome.errors.clear()
EEE
======================================================================
ERROR: test_makefile1 (__main__.TestSSL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 243, in test_makefile1
self.assert_open(s, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_makefile2 (__main__.TestSSL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 259, in test_makefile2
self.assert_open(s, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_server_makefile1 (__main__.TestSSL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 317, in test_server_makefile1
self.assert_open(client_socket, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_server_makefile2 (__main__.TestSSL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 347, in test_server_makefile2
self.assert_open(client_socket, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_server_simple (__main__.TestSSL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 291, in test_server_simple
self.assert_open(client_socket, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_serverssl_makefile1 (__main__.TestSSL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 380, in test_serverssl_makefile1
self.assert_open(client_socket, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_serverssl_makefile2 (__main__.TestSSL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 414, in test_serverssl_makefile2
self.assert_open(client_socket, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_simple_close (__main__.TestSSL)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 232, in test_simple_close
self.assert_open(s, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_makefile1 (__main__.TestSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 110, in test_makefile1
self.assert_open(s, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_makefile2 (__main__.TestSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 129, in test_makefile2
self.assert_open(s)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_server_makefile1 (__main__.TestSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 182, in test_server_makefile1
self.assert_open(client_socket, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_server_makefile2 (__main__.TestSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 215, in test_server_makefile2
self.assert_open(client_socket, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_server_simple (__main__.TestSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 157, in test_server_simple
self.assert_open(client_socket, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
======================================================================
ERROR: test_simple_close (__main__.TestSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test__makefile_ref.py", line 102, in test_simple_close
self.assert_open(s, fileno)
File "test__makefile_ref.py", line 76, in assert_open
self.assert_fd_open(fileno)
File "test__makefile_ref.py", line 57, in assert_fd_open
open_files = get_open_files()
File "test__makefile_ref.py", line 31, in get_open_files
command, pid, user, fd = split[:4]
ValueError: not enough values to unpack (expected 4, got 3)
----------------------------------------------------------------------
Ran 14 tests in 0.052s
FAILED (errors=14)
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test__makefile_ref.py [code 1] [took 0.2s]
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey_builtins_future.py [took 0.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey_logging.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey_multiple_imports.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey_sigchld.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey_logging.py [took 0.1s]
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey_multiple_imports.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__nondefaultloop.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__order.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__nondefaultloop.py [took 0.1s]
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__order.py
.....
----------------------------------------------------------------------
Ran 5 tests in 0.008s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__order.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__os.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__pool.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey_sigchld.py
Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "test__monkey_sigchld.py", line 20, in handle_sigchld
raise TypeError("This should be ignored but printed")
TypeError: This should be ignored but printed
<Greenlet at 0x7f13a5123178: handle_sigchld(<Signals.SIGCHLD: 17>, None)> failed with TypeError
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__monkey_sigchld.py [took 0.4s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__pywsgi.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__pywsgi.py
<gevent._socket3.socket object, fd=7, family=2, type=2049, proto=0>: Invalid request: invalid literal for int() with base 10: 'abc'
.<gevent._socket3.socket object, fd=7, family=2, type=2049, proto=0>: Invalid Content-Length: -100
.............Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/pywsgi.py", line 661, in handle_one_response
self.run_application()
File "/data/venv/lib/python3.5/site-packages/gevent/pywsgi.py", line 648, in run_application
self.process_result()
File "/data/venv/lib/python3.5/site-packages/gevent/pywsgi.py", line 639, in process_result
self.write(data)
File "/data/venv/lib/python3.5/site-packages/gevent/pywsgi.py", line 544, in write
raise AssertionError('The %s response must have no body' % self.code)
AssertionError: The 304 response must have no body
{'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_CONNECTION': 'close',
'HTTP_HOST': 'localhost',
'PATH_INFO': '/',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_PORT': '56685',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '44341',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'gevent/1.1 Python/3.5',
'wsgi.errors': <gevent.pywsgi.LoggingLogAdapter object at 0x7f9dd24a09b0>,
'wsgi.input': <gevent.pywsgi.Input object at 0x7f9dd29b7828>,
'wsgi.multiprocess': False,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)} failed with AssertionError
.................Failed to parse chunk size: b''
Response.read failed to read the body:
<Response status_line='HTTP/1.1 200 OK\r\n' headers={'Transfer-Encoding': 'chunked', 'Date': 'Tue, 15 Sep 2015 13:40:10 GMT', 'Content-Type': 'text/plain'} body=None chunks=False>
Traceback (most recent call last):
File "test__pywsgi.py", line 182, in read
self.chunks = list(iread_chunks(fd))
File "test__pywsgi.py", line 98, in iread_chunks
chunk_size = int(chunk_size, 16)
ValueError: invalid literal for int() with base 16: b''
......test__pywsgi.py:876: DeprecationWarning: Please use assertTrue instead.
self.assert_(garbage == b"", "got garbage: %r" % garbage)
.test__pywsgi.py:483: DeprecationWarning: cgi.parse_qs is deprecated, use urllib.parse.parse_qs instead
a = cgi.parse_qs(body).get('a', [1])[0]
..........................127.0.0.1 - - [2015-09-15 13:40:10] "GET / HTTP/1.1" 200 75 0.000057
/data/venv/lib/python3.5/site-packages/gevent/_socket3.py:173: ResourceWarning: unclosed <socket object, fd=6, family=2, type=2049, proto=6>
for c in mode:
/data/venv/lib/python3.5/site-packages/gevent/_socket3.py:173: ResourceWarning: unclosed <socket object, fd=7, family=2, type=2049, proto=6>
for c in mode:
<gevent._socket3.socket object, fd=9, family=2, type=2049, proto=0>: Invalid request: b'<policy-file-XXXuest/>'
....Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/pywsgi.py", line 661, in handle_one_response
self.run_application()
File "/data/venv/lib/python3.5/site-packages/gevent/pywsgi.py", line 647, in run_application
self.result = self.application(self.environ, self.start_response)
File "test__pywsgi.py", line 941, in application
write('body')
File "/data/venv/lib/python3.5/site-packages/gevent/pywsgi.py", line 544, in write
raise AssertionError('The %s response must have no body' % self.code)
AssertionError: The 304 response must have no body
{'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_CONNECTION': 'close',
'HTTP_HOST': 'localhost',
'PATH_INFO': '/',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_PORT': '36128',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '44573',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'gevent/1.1 Python/3.5',
'wsgi.errors': <gevent.pywsgi.LoggingLogAdapter object at 0x7f9dd2a07f98>,
'wsgi.input': <gevent.pywsgi.Input object at 0x7f9dd247b828>,
'wsgi.multiprocess': False,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)} failed with AssertionError
....
----------------------------------------------------------------------
Ran 72 tests in 0.577s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__pywsgi.py [took 0.7s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__queue.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__queue.py
./data/venv/lib/python3.5/site-packages/gevent/queue.py:412: DeprecationWarning: Queue(0) now equivalent to Queue(None); if you want a channel, use Channel
Queue.__init__(self, maxsize, items)
...................................................Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "/data/venv/lib/python3.5/site-packages/gevent/queue.py", line 309, in peek
self.getters.remove(waiter)
ValueError: deque.remove(x): x not in deque
<Greenlet at 0x7fe17069bdf0: <bound method Queue.peek of <Queue at 0x7fe16fda72e8 queue=deque([1])>>> failed with ValueError
E.......
======================================================================
ERROR: test_peek_multi_greenlet (__main__.TestQueue)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__queue.py", line 36, in test_peek_multi_greenlet
g.join()
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 482, in join
result = self.parent.switch()
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 348, in switch
return _original_Hub.switch(self, *args)
File "/data/venv/lib/python3.5/site-packages/gevent/hub.py", line 535, in switch
return greenlet.switch(self)
ValueError: deque.remove(x): x not in deque
----------------------------------------------------------------------
Ran 60 tests in 0.690s
FAILED (errors=1)
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test__queue.py [code 1] [took 0.8s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__real_greenlet.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__real_greenlet.py
Your greenlet version: 0.4.9
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__real_greenlet.py [took 0.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__refcount.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__os.py
..
----------------------------------------------------------------------
Ran 2 tests in 2.035s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__os.py [took 2.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__refcount_core.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__refcount_core.py [took 0.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__select.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__refcount.py
/data/venv/lib/python3.5/site-packages/gevent/greenlet.py:522: ResourceWarning: unclosed <socket object, fd=7, family=2, type=2049, proto=0>
result = self._run(*self.args, **self.kwargs)
/data/venv/lib/python3.5/site-packages/gevent/greenlet.py:522: ResourceWarning: unclosed <socket object, fd=6, family=2, type=2049, proto=0>
result = self._run(*self.args, **self.kwargs)
..
----------------------------------------------------------------------
Ran 2 tests in 0.804s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__refcount.py [took 0.9s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__semaphore.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__semaphore.py
...
----------------------------------------------------------------------
Ran 3 tests in 0.012s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__semaphore.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__server.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__select.py
....../data/gevent-test/gevent-master/greentest/greentest.py:88: ResourceWarning: unclosed <socket object, fd=5, family=2, type=2049, proto=0>
return method(self, *args, **kwargs)
..
----------------------------------------------------------------------
Ran 8 tests in 0.607s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__select.py [took 0.7s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__server_pywsgi.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__server.py
.................Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "/data/venv/lib/python3.5/site-packages/gevent/baseserver.py", line 153, in _close_when_done
return handle(*args)
File "test__server.py", line 29, in handle
data = client_socket.recv(1)
File "/data/venv/lib/python3.5/site-packages/gevent/_socket3.py", line 281, in recv
return _socket.socket.recv(self._sock, *args)
ConnectionResetError: [Errno 104] Connection reset by peer
<Greenlet at 0x7f51f89fd3d8: _close_when_done(<gevent._socket3.socket [closed] object, fd=-1, f, ('127.0.0.1', 53439))> failed with ConnectionResetError
Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "/data/venv/lib/python3.5/site-packages/gevent/baseserver.py", line 153, in _close_when_done
return handle(*args)
File "test__server.py", line 29, in handle
data = client_socket.recv(1)
File "/data/venv/lib/python3.5/site-packages/gevent/_socket3.py", line 281, in recv
return _socket.socket.recv(self._sock, *args)
ConnectionResetError: [Errno 104] Connection reset by peer
<Greenlet at 0x7f51f89fdaf8: _close_when_done(<gevent._socket3.socket [closed] object, fd=-1, f, ('127.0.0.1', 53440))> failed with ConnectionResetError
...................
----------------------------------------------------------------------
Ran 36 tests in 1.571s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__server.py [took 1.7s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__signal.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__server_pywsgi.py
127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000077
127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000067
...127.0.0.1 - - [2015-09-15 13:40:13] "GET / HTTP/1.0" 500 161 0.000081
.127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000066
.127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000063
.127.0.0.1 - - [2015-09-15 13:40:13] "GET / HTTP/1.0" 000 - 0.000006
.127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000138
127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000096
..127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000068
127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000060
.127.0.0.1 - - [2015-09-15 13:40:13] "GET / HTTP/1.0" 200 98 0.000070
127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000050
127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000057
.127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000052
127.0.0.1 - - [2015-09-15 13:40:13] "GET /ping HTTP/1.0" 200 98 0.000082
...127.0.0.1 - - [2015-09-15 13:40:13] "GET / HTTP/1.0" 500 161 0.000072
.127.0.0.1 - - [2015-09-15 13:40:14] "GET /short HTTP/1.0" 200 94 0.501099
127.0.0.1 - - [2015-09-15 13:40:14] "GET /ping HTTP/1.0" 200 98 0.000080
127.0.0.1 - - [2015-09-15 13:40:14] "GET /ping HTTP/1.0" 200 98 0.000053
127.0.0.1 - - [2015-09-15 13:40:14] "GET /ping HTTP/1.0" 200 98 0.000074
127.0.0.1 - - [2015-09-15 13:40:14] "GET /ping HTTP/1.0" 200 98 0.000052
127.0.0.1 - - [2015-09-15 13:40:15] "GET /long HTTP/1.0" 500 161 1.502809
.127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000068
.127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000063
.127.0.0.1 - - [2015-09-15 13:40:15] "GET / HTTP/1.0" 000 - 0.000005
.127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000057
127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000051
..127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000062
127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000050
.127.0.0.1 - - [2015-09-15 13:40:15] "GET / HTTP/1.0" 200 98 0.000093
127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000058
127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000065
.127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000071
127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000058
...127.0.0.1 - - [2015-09-15 13:40:15] "GET / HTTP/1.0" 500 161 0.000083
.127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000075
.127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000064
.127.0.0.1 - - [2015-09-15 13:40:15] "GET / HTTP/1.0" 000 - 0.000006
.127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000066
127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000060
..127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000063
127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000050
.127.0.0.1 - - [2015-09-15 13:40:15] "GET / HTTP/1.0" 200 98 0.000092
127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000059
127.0.0.1 - - [2015-09-15 13:40:15] "GET /ping HTTP/1.0" 200 98 0.000057
.
----------------------------------------------------------------------
Ran 34 tests in 2.311s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__server_pywsgi.py [took 2.4s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__sleep0.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__sleep0.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__signal.py
Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/hub.py", line 235, in handle
self.handler(*self.args, **self.kwargs)
File "test__signal.py", line 11, in raise_Expected
raise Expected('TestSignal')
Expected: TestSignal
Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/hub.py", line 235, in handle
self.handler(*self.args, **self.kwargs)
File "test__signal.py", line 11, in raise_Expected
raise Expected('TestSignal')
Expected: TestSignal
.
----------------------------------------------------------------------
Ran 1 test in 2.002s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__signal.py [took 2.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_close.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_close.py
Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "/data/venv/lib/python3.5/site-packages/gevent/_socket3.py", line 285, in recv
self._wait(self._read_event)
File "/data/venv/lib/python3.5/site-packages/gevent/_socket3.py", line 126, in _wait
self.hub.wait(watcher)
File "/data/venv/lib/python3.5/site-packages/gevent/hub.py", line 556, in wait
result = waiter.get()
File "/data/venv/lib/python3.5/site-packages/gevent/hub.py", line 797, in get
return self.hub.switch()
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 348, in switch
return _original_Hub.switch(self, *args)
File "/data/venv/lib/python3.5/site-packages/gevent/hub.py", line 535, in switch
return greenlet.switch(self)
OSError: [Errno 9] File descriptor was closed in another greenlet
<Greenlet at 0x7f795ee423d8: <bound method socket.recv of <gevent._socket3.socket [closed] object, fd=-1, family=2, type=1, proto=0>>(25)> failed with OSError
..
----------------------------------------------------------------------
Ran 2 tests in 0.021s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_close.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_dns.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket.py
../data/gevent-test/gevent-master/greentest/greentest.py:202: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=2050, proto=0, laddr=('0.0.0.0', 0)>
return method(self, *args, **kwargs)
........
----------------------------------------------------------------------
Ran 10 tests in 1.774s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket.py [took 1.9s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_dns6.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test___example_servers.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u webproxy.py
Serving on :8088...
127.0.0.1 - - [2015-09-15 13:40:05] "GET / HTTP/1.1" 200 475 0.000134
http://www.google.com: 200 OK
127.0.0.1 - - [2015-09-15 13:40:05] "GET /http://www.google.com HTTP/1.1" 200 21819 0.203272
..+ GEVENT_RESOLVER=thread /data/venv/bin/python -u wsgiserver.py
Serving on 8088...
127.0.0.1 - - [2015-09-15 13:40:09] "GET / HTTP/1.1" 200 119 0.000089
127.0.0.1 - - [2015-09-15 13:40:09] "GET /xxx HTTP/1.1" 404 126 0.000076
.Checking blocking
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u wsgiserver.py
Serving on 8088...
127.0.0.1 - - [2015-09-15 13:40:12] "GET / HTTP/1.1" 200 119 0.000088
127.0.0.1 - - [2015-09-15 13:40:12] "GET / HTTP/1.1" 200 119 0.000081
127.0.0.1 - - [2015-09-15 13:40:12] "GET /xxx HTTP/1.0" 404 145 0.000062
.+ GEVENT_RESOLVER=thread /data/venv/bin/python -u wsgiserver_ssl.py
Serving on https://127.0.0.1:8443
127.0.0.1 - - [2015-09-15 13:40:16] "GET / HTTP/1.1" 200 119 0.000080
127.0.0.1 - - [2015-09-15 13:40:16] "GET /xxx HTTP/1.1" 404 126 0.000063
.Checking blocking
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u wsgiserver_ssl.py
Serving on https://127.0.0.1:8443
127.0.0.1 - - [2015-09-15 13:40:19] "GET / HTTP/1.1" 200 119 0.000075
127.0.0.1 - - [2015-09-15 13:40:19] "GET / HTTP/1.1" 200 119 0.000067
127.0.0.1 - - [2015-09-15 13:40:19] "GET /xxx HTTP/1.0" 404 145 0.000093
.
----------------------------------------------------------------------
Ran 6 tests in 17.796s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test___example_servers.py [took 18.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_errors.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_errors.py
/data/gevent-test/gevent-master/greentest/greentest.py:88: ResourceWarning: unclosed <socket object, fd=5, family=2, type=2049, proto=0>
return method(self, *args, **kwargs)
.
----------------------------------------------------------------------
Ran 1 test in 0.006s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_errors.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_ex.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_ex.py
./data/gevent-test/gevent-master/greentest/greentest.py:88: ResourceWarning: unclosed <socket object, fd=5, family=2, type=2049, proto=0>
return method(self, *args, **kwargs)
.
----------------------------------------------------------------------
Ran 2 tests in 0.001s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_ex.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_send_memoryview.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_send_memoryview.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_ssl.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_ssl.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_timeout.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_timeout.py
test__socket_timeout.py:18: ResourceWarning: unclosed <socket object, fd=7, family=2, type=2049, proto=0>
del self.acceptor
.
----------------------------------------------------------------------
Ran 1 test in 0.107s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_timeout.py [took 0.2s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socketpair.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socketpair.py
/usr/lib/python3.5/unittest/case.py:597: ResourceWarning: unclosed <socket object, fd=4, family=1, type=2049, proto=0>
testMethod()
./usr/lib/python3.5/unittest/case.py:597: ResourceWarning: unclosed <socket object, fd=3, family=1, type=2049, proto=0>
testMethod()
.
----------------------------------------------------------------------
Ran 2 tests in 0.001s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socketpair.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__ssl.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_dns.py
Resolver: <gevent.resolver_thread.Resolver at 0x7fb7369db9b0 pool=<ThreadPool at 0x7fb7369db940 0/0/10>>
socket:getaddrinfo('1.2.3.4', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '1.2.3.4', ('1.2.3.4', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '1.2.3.4', ('1.2.3.4', 80))] 0.12ms
gevent.stdlibcommon:getaddrinfo('1.2.3.4', 'http')
-=> returned [(2, 1, 6, '1.2.3.4', ('1.2.3.4', 80)), (2, 2, 17, '1.2.3.4', ('1.2.3.4', 80))] 0.32ms
.
WARNING: quite slow: gevent:gethostbyaddr('1.2.3.4',) took 31ms versus 14ms stdlib
....
socket:getaddrinfo('127.0.0.1', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '127.0.0.1', ('127.0.0.1', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '127.0.0.1', ('127.0.0.1', 80))] 0.08ms
gevent.stdlibcommon:getaddrinfo('127.0.0.1', 'http')
-=> returned [(2, 1, 6, '127.0.0.1', ('127.0.0.1', 80)), (2, 2, 17, '127.0.0.1', ('127.0.0.1', 80))] 0.19ms
...............
WARNING: quite slow: gevent:getaddrinfo('<broadcast>', 'http') took 32ms versus 7ms stdlib
.....
socket:getaddrinfo('127.0.0.1', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '127.0.0.1', ('127.0.0.1', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '127.0.0.1', ('127.0.0.1', 80))] 0.11ms
gevent.stdlibcommon:getaddrinfo('127.0.0.1', 'http')
-=> returned [(2, 1, 6, '127.0.0.1', ('127.0.0.1', 80)), (2, 2, 17, '127.0.0.1', ('127.0.0.1', 80))] 0.17ms
.....
socket:getaddrinfo('172.17.0.117', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '172.17.0.117', ('172.17.0.117', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '172.17.0.117', ('172.17.0.117', 80))] 0.08ms
gevent.stdlibcommon:getaddrinfo('172.17.0.117', 'http')
-=> returned [(2, 1, 6, '172.17.0.117', ('172.17.0.117', 80)), (2, 2, 17, '172.17.0.117', ('172.17.0.117', 80))] 0.19ms
.....
socket:getaddrinfo('172.17.0.31', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '172.17.0.31', ('172.17.0.31', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '172.17.0.31', ('172.17.0.31', 80))] 0.08ms
gevent.stdlibcommon:getaddrinfo('172.17.0.31', 'http')
-=> returned [(2, 1, 6, '172.17.0.31', ('172.17.0.31', 80)), (2, 2, 17, '172.17.0.31', ('172.17.0.31', 80))] 0.15ms
.....
socket:getaddrinfo('172.17.0.32', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '172.17.0.32', ('172.17.0.32', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '172.17.0.32', ('172.17.0.32', 80))] 0.09ms
gevent.stdlibcommon:getaddrinfo('172.17.0.32', 'http')
-=> returned [(2, 1, 6, '172.17.0.32', ('172.17.0.32', 80)), (2, 2, 17, '172.17.0.32', ('172.17.0.32', 80))] 0.14ms
.....
socket:getaddrinfo('172.17.0.39', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '172.17.0.39', ('172.17.0.39', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '172.17.0.39', ('172.17.0.39', 80))] 0.09ms
gevent.stdlibcommon:getaddrinfo('172.17.0.39', 'http')
-=> returned [(2, 1, 6, '172.17.0.39', ('172.17.0.39', 80)), (2, 2, 17, '172.17.0.39', ('172.17.0.39', 80))] 0.16ms
.....
socket:getaddrinfo('172.17.0.41', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '172.17.0.41', ('172.17.0.41', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '172.17.0.41', ('172.17.0.41', 80))] 0.13ms
gevent.stdlibcommon:getaddrinfo('172.17.0.41', 'http')
-=> returned [(2, 1, 6, '172.17.0.41', ('172.17.0.41', 80)), (2, 2, 17, '172.17.0.41', ('172.17.0.41', 80))] 0.23ms
.....
socket:getaddrinfo('172.17.0.43', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '172.17.0.43', ('172.17.0.43', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '172.17.0.43', ('172.17.0.43', 80))] 0.09ms
gevent.stdlibcommon:getaddrinfo('172.17.0.43', 'http')
-=> returned [(2, 1, 6, '172.17.0.43', ('172.17.0.43', 80)), (2, 2, 17, '172.17.0.43', ('172.17.0.43', 80))] 0.20ms
.....
socket:getaddrinfo('172.17.0.44', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '172.17.0.44', ('172.17.0.44', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '172.17.0.44', ('172.17.0.44', 80))] 0.10ms
gevent.stdlibcommon:getaddrinfo('172.17.0.44', 'http')
-=> returned [(2, 1, 6, '172.17.0.44', ('172.17.0.44', 80)), (2, 2, 17, '172.17.0.44', ('172.17.0.44', 80))] 0.17ms
.....
socket:getaddrinfo('f273ce6db8e5', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'f273ce6db8e5', ('172.17.0.117', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'f273ce6db8e5', ('172.17.0.117', 80))] 0.10ms
gevent.stdlibcommon:getaddrinfo('f273ce6db8e5', 'http')
-=> returned [(2, 1, 6, 'f273ce6db8e5', ('172.17.0.117', 80)), (2, 2, 17, 'f273ce6db8e5', ('172.17.0.117', 80))] 0.17ms
.....
socket:getaddrinfo('localhost', 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'localhost', ('::1', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'localhost', ('::1', 80, 0, 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'localhost', ('127.0.0.1', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'localhost', ('127.0.0.1', 80))] 0.16ms
gevent.stdlibcommon:getaddrinfo('localhost', 'http')
-=> returned [(10, 1, 6, 'localhost', ('::1', 80, 0, 0)), (10, 2, 17, 'localhost', ('::1', 80, 0, 0)), (2, 1, 6, 'localhost', ('127.0.0.1', 80)), (2, 2, 17, 'localhost', ('127.0.0.1', 80))] 0.19ms
.....
socket:getaddrinfo('rsh-batch', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'rsh-batch', ('172.17.0.43', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'rsh-batch', ('172.17.0.43', 80))] 0.06ms
gevent.stdlibcommon:getaddrinfo('rsh-batch', 'http')
-=> returned [(2, 1, 6, 'rsh-batch', ('172.17.0.43', 80)), (2, 2, 17, 'rsh-batch', ('172.17.0.43', 80))] 0.13ms
.....
socket:getaddrinfo('rsh-celery', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'rsh-celery', ('172.17.0.41', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'rsh-celery', ('172.17.0.41', 80))] 0.06ms
gevent.stdlibcommon:getaddrinfo('rsh-celery', 'http')
-=> returned [(2, 1, 6, 'rsh-celery', ('172.17.0.41', 80)), (2, 2, 17, 'rsh-celery', ('172.17.0.41', 80))] 0.13ms
.....
socket:getaddrinfo('rsh-celery.bridge', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'rsh-celery.bridge', ('172.17.0.41', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'rsh-celery.bridge', ('172.17.0.41', 80))] 0.28ms
gevent.stdlibcommon:getaddrinfo('rsh-celery.bridge', 'http')
-=> returned [(2, 1, 6, 'rsh-celery.bridge', ('172.17.0.41', 80)), (2, 2, 17, 'rsh-celery.bridge', ('172.17.0.41', 80))] 0.18ms
.....
socket:getaddrinfo('rsh-celerybeat.bridge', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'rsh-celerybeat.bridge', ('172.17.0.32', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'rsh-celerybeat.bridge', ('172.17.0.32', 80))] 0.06ms
gevent.stdlibcommon:getaddrinfo('rsh-celerybeat.bridge', 'http')
-=> returned [(2, 1, 6, 'rsh-celerybeat.bridge', ('172.17.0.32', 80)), (2, 2, 17, 'rsh-celerybeat.bridge', ('172.17.0.32', 80))] 0.16ms
.....
socket:getaddrinfo('rsh-nginx.bridge', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'rsh-nginx.bridge', ('172.17.0.44', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'rsh-nginx.bridge', ('172.17.0.44', 80))] 0.06ms
gevent.stdlibcommon:getaddrinfo('rsh-nginx.bridge', 'http')
-=> returned [(2, 1, 6, 'rsh-nginx.bridge', ('172.17.0.44', 80)), (2, 2, 17, 'rsh-nginx.bridge', ('172.17.0.44', 80))] 0.15ms
.....
socket:getaddrinfo('rsh-postgresql.bridge', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'rsh-postgresql.bridge', ('172.17.0.39', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'rsh-postgresql.bridge', ('172.17.0.39', 80))] 0.06ms
gevent.stdlibcommon:getaddrinfo('rsh-postgresql.bridge', 'http')
-=> returned [(2, 1, 6, 'rsh-postgresql.bridge', ('172.17.0.39', 80)), (2, 2, 17, 'rsh-postgresql.bridge', ('172.17.0.39', 80))] 0.13ms
.....
socket:getaddrinfo('rsh-redis', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'rsh-redis', ('172.17.0.31', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'rsh-redis', ('172.17.0.31', 80))] 0.07ms
gevent.stdlibcommon:getaddrinfo('rsh-redis', 'http')
-=> returned [(2, 1, 6, 'rsh-redis', ('172.17.0.31', 80)), (2, 2, 17, 'rsh-redis', ('172.17.0.31', 80))] 0.13ms
.....
socket:getaddrinfo('sad_bartik', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'sad_bartik', ('172.17.0.117', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'sad_bartik', ('172.17.0.117', 80))] 0.06ms
gevent.stdlibcommon:getaddrinfo('sad_bartik', 'http')
-=> returned [(2, 1, 6, 'sad_bartik', ('172.17.0.117', 80)), (2, 2, 17, 'sad_bartik', ('172.17.0.117', 80))] 0.11ms
.........
socket:getaddrinfo('www.gevent.org', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 80))] 9.81ms
gevent.stdlibcommon:getaddrinfo('www.gevent.org', 'http')
-=> returned [(2, 1, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 80)), (2, 2, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 80))] 8.52ms
..
WARNING: quite slow: gevent:gethostbyaddr('162.209.114.75',) took 31ms versus 10ms stdlib
...
socket:getaddrinfo('f273ce6db8e5', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'f273ce6db8e5', ('172.17.0.117', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'f273ce6db8e5', ('172.17.0.117', 80))] 0.08ms
gevent.stdlibcommon:getaddrinfo('f273ce6db8e5', 'http')
-=> returned [(2, 1, 6, 'f273ce6db8e5', ('172.17.0.117', 80)), (2, 2, 17, 'f273ce6db8e5', ('172.17.0.117', 80))] 0.19ms
.....
socket:getaddrinfo(b'xn--d1abbgf6aiiy.xn--p1ai', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'xn--d1abbgf6aiiy.xn--p1ai', ('195.208.24.108', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'xn--d1abbgf6aiiy.xn--p1ai', ('195.208.24.108', 80))] 148.69ms
gevent.stdlibcommon:getaddrinfo(b'xn--d1abbgf6aiiy.xn--p1ai', 'http')
-=> returned [(2, 1, 6, 'xn--d1abbgf6aiiy.xn--p1ai', ('195.208.24.108', 80)), (2, 2, 17, 'xn--d1abbgf6aiiy.xn--p1ai', ('195.208.24.108', 80))] 7.22ms
..
WARNING: quite slow: gevent:gethostbyaddr('195.208.24.108',) took 202ms versus 9ms stdlib
..Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: must be str, not bytes
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function getnameinfo>) failed with TypeError
.
socket:getaddrinfo('президент.рф', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'xn--d1abbgf6aiiy.xn--p1ai', ('195.208.24.108', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'xn--d1abbgf6aiiy.xn--p1ai', ('195.208.24.108', 80))] 8.23ms
gevent.stdlibcommon:getaddrinfo('президент.рф', 'http')
-=> returned [(2, 1, 6, 'xn--d1abbgf6aiiy.xn--p1ai', ('195.208.24.108', 80)), (2, 2, 17, 'xn--d1abbgf6aiiy.xn--p1ai', ('195.208.24.108', 80))] 10.31ms
........Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: an integer is required (got type NoneType)
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function getnameinfo>) failed with TypeError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: an integer is required (got type str)
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function getnameinfo>) failed with TypeError
..
socket:getaddrinfo('ip6-localhost', 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'localhost', ('::1', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'localhost', ('::1', 80, 0, 0))] 0.08ms
gevent.stdlibcommon:getaddrinfo('ip6-localhost', 'http')
-=> returned [(10, 1, 6, 'localhost', ('::1', 80, 0, 0)), (10, 2, 17, 'localhost', ('::1', 80, 0, 0))] 0.18ms
...
WARNING: quite slow: gevent:gethostbyname_ex('ip6-localhost',) took 33ms versus 8ms stdlib
..
socket:getaddrinfo('localhost', 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'localhost', ('::1', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'localhost', ('::1', 80, 0, 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'localhost', ('127.0.0.1', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'localhost', ('127.0.0.1', 80))] 0.11ms
gevent.stdlibcommon:getaddrinfo('localhost', 'http')
-=> returned [(10, 1, 6, 'localhost', ('::1', 80, 0, 0)), (10, 2, 17, 'localhost', ('::1', 80, 0, 0)), (2, 1, 6, 'localhost', ('127.0.0.1', 80)), (2, 2, 17, 'localhost', ('127.0.0.1', 80))] 0.16ms
..........Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: getaddrinfo() argument 1 must be string or None
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function getaddrinfo>) failed with TypeError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: Can't convert 'int' object to str implicitly
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function gethostbyaddr>) failed with TypeError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: Can't convert 'int' object to str implicitly
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function gethostbyname>) failed with TypeError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: Can't convert 'int' object to str implicitly
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function gethostbyname_ex>) failed with TypeError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: must be str, not int
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function getnameinfo>) failed with TypeError
.
socket:getaddrinfo(None, 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::1', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('::1', 80, 0, 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('127.0.0.1', 80))] 0.09ms
gevent.stdlibcommon:getaddrinfo(None, 'http')
-=> returned [(10, 1, 6, '', ('::1', 80, 0, 0)), (10, 2, 17, '', ('::1', 80, 0, 0)), (2, 1, 6, '', ('127.0.0.1', 80)), (2, 2, 17, '', ('127.0.0.1', 80))] 0.18ms
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: Can't convert 'NoneType' object to str implicitly
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function gethostbyaddr>) failed with TypeError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: Can't convert 'NoneType' object to str implicitly
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function gethostbyname>) failed with TypeError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: Can't convert 'NoneType' object to str implicitly
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function gethostbyname_ex>) failed with TypeError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: must be str, not None
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function getnameinfo>) failed with TypeError
.
socket:getaddrinfo('www.gevent.org', 52, <AddressFamily.AF_UNSPEC: 0>, <SocketKind.SOCK_STREAM: 1>, 0, 0)
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 52))] 121.24ms
gevent.stdlibcommon:getaddrinfo('www.gevent.org', 52, <AddressFamily.AF_UNSPEC: 0>, <SocketKind.SOCK_STREAM: 1>, 0, 0)
-=> returned [(2, 1, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 52))] 10.63ms
.
socket:getaddrinfo('www.gevent.org', 53, <AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17)
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 53))] 9.81ms
gevent.stdlibcommon:getaddrinfo('www.gevent.org', 53, <AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17)
-=> returned [(2, 2, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 53))] 8.34ms
.
socket:getaddrinfo('google.com', 'http', <AddressFamily.AF_INET6: 10>)
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'google.com', ('2a00:1450:4003:808::200e', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'google.com', ('2a00:1450:4003:808::200e', 80, 0, 0))] 124.36ms
gevent.stdlibcommon:getaddrinfo('google.com', 'http', <AddressFamily.AF_INET6: 10>)
-=> returned [(10, 1, 6, 'google.com', ('2a00:1450:4003:808::200e', 80, 0, 0)), (10, 2, 17, 'google.com', ('2a00:1450:4003:808::200e', 80, 0, 0))] 13.58ms
.
socket:getaddrinfo('www.gevent.org', 0)
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 0))] 11.16ms
gevent.stdlibcommon:getaddrinfo('www.gevent.org', 0)
-=> returned [(2, 1, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 0)), (2, 2, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 0))] 120.72ms
WARNING: quite slow: gevent:getaddrinfo('www.gevent.org', 0) took 120ms versus 11ms stdlib
.
socket:getaddrinfo('www.gevent.org', 80)
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 80))] 31.55ms
gevent.stdlibcommon:getaddrinfo('www.gevent.org', 80)
-=> returned [(2, 1, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 80)), (2, 2, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 80))] 13.84ms
.
socket:getaddrinfo('www.gevent.org', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 80))] 127.37ms
gevent.stdlibcommon:getaddrinfo('www.gevent.org', 'http')
-=> returned [(2, 1, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 80)), (2, 2, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 80))] 9.36ms
.
socket:getaddrinfo('www.gevent.org', '80')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 80))] 123.89ms
gevent.stdlibcommon:getaddrinfo('www.gevent.org', '80')
-=> returned [(2, 1, 6, 'python-gevent.readthedocs.org', ('162.209.114.75', 80)), (2, 2, 17, 'python-gevent.readthedocs.org', ('162.209.114.75', 80))] 14.01ms
..
WARNING: quite slow: gevent:getaddrinfo('myhost.mytld', 53) took 175ms versus 161ms stdlib
......Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/threadpool.py", line 203, in _worker
value = func(*args, **kwargs)
TypeError: an integer is required (got type str)
(<ThreadPool at 0x7fb7369db940 0/1/10>, <built-in function getnameinfo>) failed with TypeError
......
----------------------------------------------------------------------
Ran 190 tests in 4.452s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_dns.py [took 4.6s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_dns6.py
Resolver: <gevent.resolver_thread.Resolver at 0x7f142341dd30 pool=<ThreadPool at 0x7f1423440550 0/0/10>>
socket:getaddrinfo('aaaa.test-ipv6.com', 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 14.01ms
gevent.stdlibcommon:getaddrinfo('aaaa.test-ipv6.com', 'http')
-=> returned [(10, 1, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (10, 2, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 178.08ms
WARNING: quite slow: gevent:getaddrinfo('aaaa.test-ipv6.com', 'http') took 178ms versus 14ms stdlib
..
WARNING: quite slow: gevent:gethostbyname('aaaa.test-ipv6.com',) took 22ms versus 8ms stdlib
...
socket:getaddrinfo('aaaa.test-ipv6.com', 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 9.37ms
gevent.stdlibcommon:getaddrinfo('aaaa.test-ipv6.com', 'http')
-=> returned [(10, 1, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (10, 2, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 9.80ms
.
WARNING: quite slow: gevent:getaddrinfo('aaaa.test-ipv6.com', None, <AddressFamily.AF_INET: 2>) took 182ms versus 8ms stdlib
.
socket:getaddrinfo('aaaa.test-ipv6.com', None, <AddressFamily.AF_INET6: 10>)
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0))] 5.44ms
gevent.stdlibcommon:getaddrinfo('aaaa.test-ipv6.com', None, <AddressFamily.AF_INET6: 10>)
-=> returned [(10, 1, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0)), (10, 2, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0))] 9.31ms
.
socket:getaddrinfo('aaaa.test-ipv6.com', None, <AddressFamily.AF_UNSPEC: 0>)
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0))] 11.24ms
gevent.stdlibcommon:getaddrinfo('aaaa.test-ipv6.com', None, <AddressFamily.AF_UNSPEC: 0>)
-=> returned [(10, 1, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0)), (10, 2, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0))] 8.48ms
.
socket:getaddrinfo('aaaa.test-ipv6.com', 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 8.79ms
gevent.stdlibcommon:getaddrinfo('aaaa.test-ipv6.com', 'http')
-=> returned [(10, 1, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (10, 2, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 10.44ms
.....
socket:getaddrinfo('ds.test-ipv6.com', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'ds.test-ipv6.com', ('216.218.228.119', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ds.test-ipv6.com', ('216.218.228.119', 80)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'ds.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ds.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 177.95ms
gevent.stdlibcommon:getaddrinfo('ds.test-ipv6.com', 'http')
-=> returned [(2, 1, 6, 'ds.test-ipv6.com', ('216.218.228.119', 80)), (2, 2, 17, 'ds.test-ipv6.com', ('216.218.228.119', 80)), (10, 1, 6, 'ds.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (10, 2, 17, 'ds.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 8.80ms
...
WARNING: quite slow: gevent:gethostbyname_ex('ds.test-ipv6.com',) took 41ms versus 19ms stdlib
..
socket:getaddrinfo('ds.test-ipv6.com', 'http')
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'ds.test-ipv6.com', ('216.218.228.119', 80)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ds.test-ipv6.com', ('216.218.228.119', 80)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'ds.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ds.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 117.59ms
gevent.stdlibcommon:getaddrinfo('ds.test-ipv6.com', 'http')
-=> returned [(2, 1, 6, 'ds.test-ipv6.com', ('216.218.228.119', 80)), (2, 2, 17, 'ds.test-ipv6.com', ('216.218.228.119', 80)), (10, 1, 6, 'ds.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (10, 2, 17, 'ds.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 6.96ms
.
socket:getaddrinfo('ds.test-ipv6.com', None, <AddressFamily.AF_INET: 2>)
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'ds.test-ipv6.com', ('216.218.228.119', 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ds.test-ipv6.com', ('216.218.228.119', 0))] 9.96ms
gevent.stdlibcommon:getaddrinfo('ds.test-ipv6.com', None, <AddressFamily.AF_INET: 2>)
-=> returned [(2, 1, 6, 'ds.test-ipv6.com', ('216.218.228.119', 0)), (2, 2, 17, 'ds.test-ipv6.com', ('216.218.228.119', 0))] 11.62ms
.
socket:getaddrinfo('ds.test-ipv6.com', None, <AddressFamily.AF_INET6: 10>)
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'ds.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ds.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0))] 116.44ms
gevent.stdlibcommon:getaddrinfo('ds.test-ipv6.com', None, <AddressFamily.AF_INET6: 10>)
-=> returned [(10, 1, 6, 'ds.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0)), (10, 2, 17, 'ds.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0))] 9.86ms
.
socket:getaddrinfo('ds.test-ipv6.com', None, <AddressFamily.AF_UNSPEC: 0>)
-=> returned [(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, 'ds.test-ipv6.com', ('216.218.228.119', 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ds.test-ipv6.com', ('216.218.228.119', 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'ds.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ds.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0))] 8.96ms
gevent.stdlibcommon:getaddrinfo('ds.test-ipv6.com', None, <AddressFamily.AF_UNSPEC: 0>)
-=> returned [(2, 1, 6, 'ds.test-ipv6.com', ('216.218.228.119', 0)), (2, 2, 17, 'ds.test-ipv6.com', ('216.218.228.119', 0)), (10, 1, 6, 'ds.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0)), (10, 2, 17, 'ds.test-ipv6.com', ('2001:470:1:18::119', 0, 0, 0))] 12.90ms
.
socket:getaddrinfo('aaaa.test-ipv6.com', 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 6.56ms
gevent.stdlibcommon:getaddrinfo('aaaa.test-ipv6.com', 'http')
-=> returned [(10, 1, 6, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0)), (10, 2, 17, 'aaaa.test-ipv6.com', ('2001:470:1:18::119', 80, 0, 0))] 123.18ms
WARNING: quite slow: gevent:getaddrinfo('aaaa.test-ipv6.com', 'http') took 123ms versus 6ms stdlib
.
WARNING: quite slow: gevent:gethostbyaddr('aaaa.test-ipv6.com',) took 130ms versus 14ms stdlib
....
socket:getaddrinfo('ipv6.google.com', 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 80, 0, 0))] 123.87ms
gevent.stdlibcommon:getaddrinfo('ipv6.google.com', 'http')
-=> returned [(10, 1, 6, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 80, 0, 0)), (10, 2, 17, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 80, 0, 0))] 145.61ms
WARNING: quite slow: gevent:getaddrinfo('ipv6.google.com', 'http') took 145ms versus 123ms stdlib
.
WARNING: quite slow: gevent:gethostbyaddr('ipv6.google.com',) took 191ms versus 160ms stdlib
....
socket:getaddrinfo('ipv6.google.com', 'http')
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 80, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 80, 0, 0))] 149.85ms
gevent.stdlibcommon:getaddrinfo('ipv6.google.com', 'http')
-=> returned [(10, 1, 6, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 80, 0, 0)), (10, 2, 17, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 80, 0, 0))] 145.34ms
..
socket:getaddrinfo('ipv6.google.com', None, <AddressFamily.AF_INET6: 10>)
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 0, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 0, 0, 0))] 10.65ms
gevent.stdlibcommon:getaddrinfo('ipv6.google.com', None, <AddressFamily.AF_INET6: 10>)
-=> returned [(10, 1, 6, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 0, 0, 0)), (10, 2, 17, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 0, 0, 0))] 9.63ms
.
socket:getaddrinfo('ipv6.google.com', None, <AddressFamily.AF_UNSPEC: 0>)
-=> returned [(<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_STREAM: 1>, 6, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 0, 0, 0)), (<AddressFamily.AF_INET6: 10>, <SocketKind.SOCK_DGRAM: 2>, 17, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 0, 0, 0))] 121.91ms
gevent.stdlibcommon:getaddrinfo('ipv6.google.com', None, <AddressFamily.AF_UNSPEC: 0>)
-=> returned [(10, 1, 6, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 0, 0, 0)), (10, 2, 17, 'ipv6.l.google.com', ('2a00:1450:4003:808::200e', 0, 0, 0))] 5.45ms
.
----------------------------------------------------------------------
Ran 37 tests in 3.893s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_dns6.py [took 4.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess_interrupted.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess.py
EEEEEEE.EEE
======================================================================
ERROR: test_check_output_keyword_error (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 172, in test_check_output_keyword_error
subprocess.check_output([sys.executable, '-c', 'import sys; sys.exit(44)'])
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 221, in check_output
with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_child_exception (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 42, in test_child_exception
subprocess.Popen(['*']).wait()
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_communicate (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 67, in test_communicate
stderr=subprocess.PIPE)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_exit (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 32, in test_exit
popen = subprocess.Popen([sys.executable, '-c', 'import sys; sys.exit(10)'])
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_issue148 (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 163, in test_issue148
subprocess.Popen('this_name_must_not_exist')
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_leak (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 51, in test_leak
stdout=subprocess.PIPE)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_nonblock_removed (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 144, in test_nonblock_removed
p = subprocess.Popen(['grep', 'text'], stdin=stdin)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_universal1 (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 91, in test_universal1
bufsize=1)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_universal2 (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 124, in test_universal2
bufsize=1)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_wait (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 213, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 202, in wrapped
return method(self, *args, **kwargs)
File "/data/gevent-test/gevent-master/greentest/greentest.py", line 88, in wrapped
return method(self, *args, **kwargs)
File "test__subprocess.py", line 36, in test_wait
popen = subprocess.Popen([sys.executable, '-c', 'import sys; sys.exit(11)'])
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
----------------------------------------------------------------------
Ran 11 tests in 0.106s
FAILED (errors=10)
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess.py [code 1] [took 0.2s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess_poll.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess_poll.py
Traceback (most recent call last):
File "test__subprocess_poll.py", line 7, in <module>
popen = Popen([sys.executable, '-c', 'pass'])
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess_poll.py [code 1] [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__systemerror.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__systemerror.py
Traceback (most recent call last):
File "test__systemerror.py", line 8, in raise_
raise ex
Exception: regular exception must not kill the program
<callback at 0x7f99747de710 args=(Exception('regular exception must not kill the program',),)> failed with Exception
.Traceback (most recent call last):
File "test__systemerror.py", line 8, in raise_
raise ex
KeyboardInterrupt
<callback at 0x7f99747de668 args=(<class 'KeyboardInterrupt'>,)> failed with KeyboardInterrupt
..Traceback (most recent call last):
File "test__systemerror.py", line 8, in raise_
raise ex
SystemError: should be re-raised and caught
<callback at 0x7f99747de2e8 args=(SystemError('should be re-raised and caught',),)> failed with SystemError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "test__systemerror.py", line 8, in raise_
raise ex
Exception: regular exception must not kill the program
<Greenlet at 0x7f9974c23898: raise_(Exception('regular exception must not kill the pro)> failed with Exception
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "test__systemerror.py", line 8, in raise_
raise ex
KeyboardInterrupt
<Greenlet at 0x7f9973cfd638: raise_(<class 'KeyboardInterrupt'>)> failed with KeyboardInterrupt
..Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "test__systemerror.py", line 8, in raise_
raise ex
SystemError: should be re-raised and caught
<Greenlet at 0x7f9973cfd6d0: raise_(SystemError('should be re-raised and caught',))> failed with SystemError
.
----------------------------------------------------------------------
Ran 8 tests in 0.024s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__systemerror.py [took 0.1s]
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess_interrupted.py [took 0.4s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_before_monkey.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_before_monkey.py
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_before_monkey.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_holding_lock_while_monkey.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_holding_lock_while_monkey.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_patched_local.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading.py
.
----------------------------------------------------------------------
Ran 1 test in 0.201s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading.py [took 0.3s]
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_patched_local.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_vs_settrace.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__timeout.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__ssl.py
/data/gevent-test/gevent-master/greentest/greentest.py:202: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=2050, proto=0, laddr=('0.0.0.0', 0)>
return method(self, *args, **kwargs)
........
----------------------------------------------------------------------
Ran 8 tests in 1.537s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__ssl.py [took 1.7s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test_ares_timeout.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__timeout.py
......
----------------------------------------------------------------------
Ran 6 tests in 0.075s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__timeout.py [took 0.2s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test_close_backend_fd.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test_close_backend_fd.py
0. Testing 'epoll': <Hub at 0x7fa1ea397898 epoll pending=0 ref=0 fileno=3>
SystemError: (libev) epoll_wait: Bad file descriptor
The error is expected: (libev) epoll_wait: Bad file descriptor
0. 'poll' lacks fileno()
0. 'select' lacks fileno()
1. Testing 'epoll': <Hub at 0x7fa1ea397df0 epoll pending=0 ref=0 fileno=3>
SystemError: (libev) epoll_wait: Bad file descriptor
The error is expected: (libev) epoll_wait: Bad file descriptor
1. 'poll' lacks fileno()
1. 'select' lacks fileno()
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test_close_backend_fd.py [took 0.1s]
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_vs_settrace.py
..thread started....finishing..test__threading_vs_settrace.py:73: DeprecationWarning: Please use assertFalse instead.
self.failIf(rc == 2, "interpreter was blocked")
test__threading_vs_settrace.py:74: DeprecationWarning: Please use assertTrue instead.
self.failUnless(rc == 0, "Unexpected error")
...finishing....
----------------------------------------------------------------------
Ran 3 tests in 0.180s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threading_vs_settrace.py [took 0.3s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test_hub_join.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test_hub_join_timeout.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test_hub_join.py [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test_issue112.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test_issue112.py [took 0.0s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test_queue.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test_queue.py
test_queue_join (__main__.QueueTest) ... ok
test_queue_task_done (__main__.QueueTest) ... ok
test_queue_task_done_with_items (__main__.QueueTest) ... ok
test_simple_queue (__main__.QueueTest) ... ok
test_queue_join (__main__.LifoQueueTest) ... ok
test_queue_task_done (__main__.LifoQueueTest) ... ok
test_queue_task_done_with_items (__main__.LifoQueueTest) ... ok
test_simple_queue (__main__.LifoQueueTest) ... ok
test_queue_join (__main__.PriorityQueueTest) ... ok
test_queue_task_done (__main__.PriorityQueueTest) ... ok
test_queue_task_done_with_items (__main__.PriorityQueueTest) ... ok
test_simple_queue (__main__.PriorityQueueTest) ... ok
test_failing_queue (__main__.FailingQueueTest) ... ok
----------------------------------------------------------------------
Ran 13 tests in 0.474s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test_queue.py [took 0.6s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test_threading_2.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test_ares_timeout.py
/data/venv/lib/python3.5/site-packages/gevent/__init__.py
(b'\xdc\xa8\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00\x03www\x06google\x03com\x00\x00\x01\x00\x01', ('127.0.0.1', 53696))
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test_ares_timeout.py [took 1.1s]
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test_hub_join_timeout.py [took 1.3s]
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test_threading_2.py
test_acquire_contended (__main__.LockTests) ... ok
test_acquire_destroy (__main__.LockTests) ... ok
test_acquire_release (__main__.LockTests) ... ok
test_constructor (__main__.LockTests) ... ok
test_different_thread (__main__.LockTests) ... ok
test_reacquire (__main__.LockTests) ... ok
test_thread_leak (__main__.LockTests) ... ok
test_try_acquire (__main__.LockTests) ... ok
test_try_acquire_contended (__main__.LockTests) ... ok
test_with (__main__.LockTests) ... ok
test__is_owned (__main__.RLockTests) ... ok
test_acquire_contended (__main__.RLockTests) ... ok
test_acquire_destroy (__main__.RLockTests) ... ok
test_acquire_release (__main__.RLockTests) ... ok
test_constructor (__main__.RLockTests) ... ok
test_different_thread (__main__.RLockTests) ... ok
test_reacquire (__main__.RLockTests) ... ok
test_release_unacquired (__main__.RLockTests) ... ok
test_thread_leak (__main__.RLockTests) ... ok
test_try_acquire (__main__.RLockTests) ... ok
test_try_acquire_contended (__main__.RLockTests) ... ok
test_with (__main__.RLockTests) ... ok
test_is_set (__main__.EventTests) ... ok
test_notify (__main__.EventTests) ... ok
test_timeout (__main__.EventTests) ... ok
test__is_owned (__main__.ConditionAsRLockTests) ... ok
test_acquire_contended (__main__.ConditionAsRLockTests) ... ok
test_acquire_destroy (__main__.ConditionAsRLockTests) ... ok
test_acquire_release (__main__.ConditionAsRLockTests) ... ok
test_constructor (__main__.ConditionAsRLockTests) ... ok
test_different_thread (__main__.ConditionAsRLockTests) ... ok
test_reacquire (__main__.ConditionAsRLockTests) ... ok
test_release_unacquired (__main__.ConditionAsRLockTests) ... ok
test_thread_leak (__main__.ConditionAsRLockTests) ... ok
test_try_acquire (__main__.ConditionAsRLockTests) ... ok
test_try_acquire_contended (__main__.ConditionAsRLockTests) ... ok
test_with (__main__.ConditionAsRLockTests) ... ok
test_acquire (__main__.ConditionTests) ... ok
test_notify (__main__.ConditionTests) ... ok
test_timeout (__main__.ConditionTests) ... ok
test_unacquired_notify (__main__.ConditionTests) ... ok
test_unacquired_wait (__main__.ConditionTests) ... ok
test_acquire (__main__.SemaphoreTests) ... ok
test_acquire_contended (__main__.SemaphoreTests) ... ok
test_acquire_destroy (__main__.SemaphoreTests) ... ok
test_constructor (__main__.SemaphoreTests) ... ok
test_default_value (__main__.SemaphoreTests) ... ok
test_release_unacquired (__main__.SemaphoreTests) ... ok
test_try_acquire (__main__.SemaphoreTests) ... ok
test_try_acquire_contended (__main__.SemaphoreTests) ... ok
test_with (__main__.SemaphoreTests) ... ok
test_acquire (__main__.BoundedSemaphoreTests) ... ok
test_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
test_acquire_destroy (__main__.BoundedSemaphoreTests) ... ok
test_constructor (__main__.BoundedSemaphoreTests) ... ok
test_default_value (__main__.BoundedSemaphoreTests) ... ok
test_release_unacquired (__main__.BoundedSemaphoreTests) ... ok
test_try_acquire (__main__.BoundedSemaphoreTests) ... ok
test_try_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
test_with (__main__.BoundedSemaphoreTests) ... ok
test_enumerate_after_join (__main__.ThreadTests) ... ok
test_finalize_runnning_thread (__main__.ThreadTests) ... ERROR
test_foreign_thread (__main__.ThreadTests) ... ok
test_ident_of_no_threading_threads (__main__.ThreadTests) ... ok
test_join_nondaemon_on_shutdown (__main__.ThreadTests) ... ERROR
test_limbo_cleanup (__main__.ThreadTests) ... ok
test_no_refcycle_through_target (__main__.ThreadTests) ... ok
test_various_ops (__main__.ThreadTests) ... task <thread 0> will run for 33.8 usec
1 tasks are running
task <thread 1> will run for 78.1 usec
2 tasks are running
task <thread 2> will run for 48.1 usec
3 tasks are running
task <thread 3> will run for 79.7 usec
task <thread 4> will run for 96.0 usec
task <thread 5> will run for 75.9 usec
task <thread 6> will run for 91.4 usec
task <thread 7> will run for 7.6 usec
task <thread 8> will run for 54.3 usec
task <thread 9> will run for 10.0 usec
waiting for all tasks to complete
task <thread 0> done
<thread 0> is finished. 2 tasks are running
task <thread 1> done
<thread 1> is finished. 1 tasks are running
task <thread 2> done
<thread 2> is finished. 0 tasks are running
1 tasks are running
2 tasks are running
3 tasks are running
task <thread 3> done
<thread 3> is finished. 2 tasks are running
task <thread 4> done
<thread 4> is finished. 1 tasks are running
task <thread 5> done
<thread 5> is finished. 0 tasks are running
1 tasks are running
2 tasks are running
3 tasks are running
task <thread 7> done
<thread 7> is finished. 2 tasks are running
task <thread 6> done
<thread 6> is finished. 1 tasks are running
task <thread 8> done
<thread 8> is finished. 0 tasks are running
1 tasks are running
task <thread 9> done
<thread 9> is finished. 0 tasks are running
all tasks done
ok
test_various_ops_large_stack (__main__.ThreadTests) ... with 1MB thread stack size...
task <thread 0> will run for 87.0 usec
1 tasks are running
task <thread 1> will run for 21.7 usec
2 tasks are running
task <thread 2> will run for 42.3 usec
3 tasks are running
task <thread 3> will run for 75.0 usec
task <thread 4> will run for 1.0 usec
task <thread 5> will run for 54.5 usec
task <thread 6> will run for 31.2 usec
task <thread 7> will run for 77.9 usec
task <thread 8> will run for 44.6 usec
task <thread 9> will run for 49.8 usec
waiting for all tasks to complete
task <thread 0> done
<thread 0> is finished. 2 tasks are running
task <thread 1> done
<thread 1> is finished. 1 tasks are running
task <thread 2> done
<thread 2> is finished. 0 tasks are running
1 tasks are running
2 tasks are running
3 tasks are running
task <thread 4> done
<thread 4> is finished. 2 tasks are running
task <thread 3> done
<thread 3> is finished. 1 tasks are running
task <thread 5> done
<thread 5> is finished. 0 tasks are running
1 tasks are running
2 tasks are running
3 tasks are running
task <thread 6> done
<thread 6> is finished. 2 tasks are running
task <thread 8> done
<thread 8> is finished. 1 tasks are running
task <thread 7> done
<thread 7> is finished. 0 tasks are running
1 tasks are running
task <thread 9> done
<thread 9> is finished. 0 tasks are running
all tasks done
ok
test_various_ops_small_stack (__main__.ThreadTests) ... with 256kB thread stack size...
task <thread 0> will run for 89.8 usec
1 tasks are running
task <thread 1> will run for 31.6 usec
2 tasks are running
task <thread 2> will run for 19.1 usec
3 tasks are running
task <thread 3> will run for 74.1 usec
task <thread 4> will run for 70.6 usec
task <thread 5> will run for 54.7 usec
task <thread 6> will run for 80.7 usec
task <thread 7> will run for 3.9 usec
task <thread 8> will run for 4.4 usec
task <thread 9> will run for 59.9 usec
waiting for all tasks to complete
task <thread 0> done
<thread 0> is finished. 2 tasks are running
task <thread 1> done
<thread 1> is finished. 1 tasks are running
task <thread 2> done
<thread 2> is finished. 0 tasks are running
1 tasks are running
2 tasks are running
3 tasks are running
task <thread 3> done
<thread 3> is finished. 2 tasks are running
task <thread 4> done
<thread 4> is finished. 1 tasks are running
task <thread 5> done
<thread 5> is finished. 0 tasks are running
1 tasks are running
2 tasks are running
3 tasks are running
task <thread 7> done
<thread 7> is finished. 2 tasks are running
task <thread 8> done
<thread 8> is finished. 1 tasks are running
task <thread 6> done
<thread 6> is finished. 0 tasks are running
1 tasks are running
task <thread 9> done
<thread 9> is finished. 0 tasks are running
all tasks done
ok
test_1_join_on_shutdown (__main__.ThreadJoinOnShutdown) ... ERROR
test_2_join_in_forked_process (__main__.ThreadJoinOnShutdown) ... ERROR
test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown) ... ERROR
test_daemonize_active_thread (__main__.ThreadingExceptionTests) ... ok
test_joining_current_thread (__main__.ThreadingExceptionTests) ... ok
test_joining_inactive_thread (__main__.ThreadingExceptionTests) ... ok
test_start_thread_again (__main__.ThreadingExceptionTests) ... ok
======================================================================
ERROR: test_finalize_runnning_thread (__main__.ThreadTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_threading_2.py", line 335, in test_finalize_runnning_thread
""" % setup_4])
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 138, in call
with Popen(*popenargs, **kwargs) as p:
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_join_nondaemon_on_shutdown (__main__.ThreadTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_threading_2.py", line 358, in test_join_nondaemon_on_shutdown
stderr=subprocess.PIPE)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_1_join_on_shutdown (__main__.ThreadJoinOnShutdown)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_threading_2.py", line 449, in test_1_join_on_shutdown
self._run_and_join(script)
File "test_threading_2.py", line 432, in _run_and_join
p = subprocess.Popen([sys.executable, "-c", script], stdout=subprocess.PIPE)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_2_join_in_forked_process (__main__.ThreadJoinOnShutdown)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_threading_2.py", line 467, in test_2_join_in_forked_process
self._run_and_join(script)
File "test_threading_2.py", line 432, in _run_and_join
p = subprocess.Popen([sys.executable, "-c", script], stdout=subprocess.PIPE)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
======================================================================
ERROR: test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_threading_2.py", line 499, in test_3_join_in_forked_from_thread
self._run_and_join(script)
File "test_threading_2.py", line 432, in _run_and_join
p = subprocess.Popen([sys.executable, "-c", script], stdout=subprocess.PIPE)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
----------------------------------------------------------------------
Ran 77 tests in 1.142s
FAILED (errors=5)
Traceback (most recent call last):
File "test_threading_2.py", line 563, in <module>
main()
File "test_threading_2.py", line 559, in main
ThreadingExceptionTests,
File "/usr/lib/python3.5/test/support/__init__.py", line 1809, in run_unittest
_run_suite(suite)
File "/usr/lib/python3.5/test/support/__init__.py", line 1784, in _run_suite
raise TestFailed(err)
test.support.TestFailed: multiple errors occurred
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test_threading_2.py [code 1] [took 1.3s]
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__pool.py
...........Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "test__pool.py", line 510, in divide_by
return 1.0 / x
ZeroDivisionError: float division by zero
<Greenlet at 0x7faa8f5da470: divide_by(0)> failed with ZeroDivisionError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "test__pool.py", line 510, in divide_by
return 1.0 / x
ZeroDivisionError: float division by zero
<Greenlet at 0x7faa8f5da470: divide_by(0)> failed with ZeroDivisionError
.Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "test__pool.py", line 510, in divide_by
return 1.0 / x
ZeroDivisionError: float division by zero
<Greenlet at 0x7faa8f5da470: divide_by(0)> failed with ZeroDivisionError
...............................................................................................
----------------------------------------------------------------------
Ran 108 tests in 25.598s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__pool.py [took 25.7s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__examples.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__examples.py
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u concurrent_download.py
Starting http://www.google.com
Starting http://www.yandex.ru
Starting http://www.python.org
http://www.google.com: 19764 bytes: b'<!doctype html><html itemscope="" itemtype="http:/'
Traceback (most recent call last):
File "/usr/lib/python3.5/urllib/request.py", line 1240, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.5/http/client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.5/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/usr/lib/python3.5/http/client.py", line 1079, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.5/http/client.py", line 911, in _send_output
self.send(msg)
File "/usr/lib/python3.5/http/client.py", line 854, in send
self.connect()
File "/usr/lib/python3.5/http/client.py", line 1237, in connect
server_hostname=server_hostname)
File "/data/venv/lib/python3.5/site-packages/gevent/_ssl3.py", line 55, in wrap_socket
_context=self)
File "/data/venv/lib/python3.5/site-packages/gevent/_ssl3.py", line 145, in __init__
raise x
File "/data/venv/lib/python3.5/site-packages/gevent/_ssl3.py", line 141, in __init__
self.do_handshake()
File "/data/venv/lib/python3.5/site-packages/gevent/_ssl3.py", line 362, in do_handshake
return self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:646)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/venv/lib/python3.5/site-packages/gevent/greenlet.py", line 522, in run
result = self._run(*self.args, **self.kwargs)
File "concurrent_download.py", line 25, in print_head
data = urlopen(url).read()
File "/usr/lib/python3.5/urllib/request.py", line 162, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.5/urllib/request.py", line 471, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 581, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 503, in error
result = self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 443, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 686, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python3.5/urllib/request.py", line 465, in open
response = self._open(req, data)
File "/usr/lib/python3.5/urllib/request.py", line 483, in _open
'_open', req)
File "/usr/lib/python3.5/urllib/request.py", line 443, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 1283, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.5/urllib/request.py", line 1242, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:646)>
<Greenlet at 0x7fe6b27e1800: print_head('http://www.python.org')> failed with URLError
http://www.yandex.ru: 57917 bytes: b'<!DOCTYPE html><html class="i-ua_js_no i-ua_css_st'
- GEVENT_RESOLVER=thread /data/venv/bin/python -u concurrent_download.py [took 0.7s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u dns_mass_resolve.py
19.com = 64.38.232.180
12.com = 185.53.177.6
18.com = 64.38.232.185
17.com = 123.56.91.195
16.com = 64.38.232.180
14.com = 98.124.199.1
23.com = 198.148.92.59
25.com = 184.168.221.8
20.com = 50.63.202.21
26.com = 119.254.108.115
29.com = 219.85.50.164
24.com = 41.86.110.143
27.com = 162.219.162.50
13.com failed with [Errno -4] Non-recoverable error
21.com = 69.64.147.243
28.com = 182.18.63.244
10.com = 118.163.171.210
15.com = 70.39.84.251
36.com failed with [Errno -4] Non-recoverable error
38.com = 117.78.6.171
32.com = 198.148.92.59
40.com = 9.9.9.9
41.com = 24.23.249.172
35.com = 210.75.241.83
37.com = 14.18.237.125
42.com = 161.58.175.23
44.com = 184.105.178.88
43.com = 198.12.15.244
47.com = 82.98.86.164
45.com failed with [Errno -2] Name does not resolve
39.com failed with [Errno -4] Non-recoverable error
22.com = 121.41.62.81
51.com = 101.251.233.202
46.com failed with [Errno -4] Non-recoverable error
53.com = 216.82.178.20
33.com failed with [Errno -4] Non-recoverable error
48.com failed with [Errno -4] Non-recoverable error
55.com = 116.213.178.133
49.com = 104.149.159.16
58.com = 211.151.111.93
57.com = 38.144.7.35
56.com = 180.153.21.176
finished within 2 seconds: 42/1000
- GEVENT_RESOLVER=thread /data/venv/bin/python -u dns_mass_resolve.py [took 2.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u processes.py
Traceback (most recent call last):
File "processes.py", line 8, in <module>
p1 = subprocess.Popen(['uname'], stdout=subprocess.PIPE)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 415, in __init__
restore_signals, start_new_session)
File "/data/venv/lib/python3.5/site-packages/gevent/subprocess.py", line 1100, in _execute_child
raise child_exception
NameError: name 'MAXFD' is not defined
! GEVENT_RESOLVER=thread /data/venv/bin/python -u processes.py [code 1] [took 0.1s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u threadpool.py
Running "time.sleep(1)" 4 times with 3 threads. Should take about 2 seconds: 2.002s
- GEVENT_RESOLVER=thread /data/venv/bin/python -u threadpool.py [took 2.0s]
! Failed examples:
! - processes.py
! GEVENT_RESOLVER=thread /data/venv/bin/python -u test__examples.py [code 1] [took 4.9s]
+ GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threadpool.py
| GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threadpool.py
..................................................................
----------------------------------------------------------------------
Ran 66 tests in 11.262s
OK
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threadpool.py [took 11.3s]
Longest-running tests:
25.7 seconds: GEVENT_RESOLVER=thread /data/venv/bin/python -u test__pool.py
18.0 seconds: GEVENT_RESOLVER=thread /data/venv/bin/python -u test___example_servers.py
11.3 seconds: GEVENT_RESOLVER=thread /data/venv/bin/python -u test__threadpool.py
4.9 seconds: GEVENT_RESOLVER=thread /data/venv/bin/python -u test__examples.py
4.6 seconds: GEVENT_RESOLVER=thread /data/venv/bin/python -u test__socket_dns.py
10/97 tests failed in 00:50
10/97 unexpected failures
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__all__.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess_poll.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__makefile_ref.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__subprocess.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_portforwarder.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__example_udp_client.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__issue600.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__queue.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test_threading_2.py
- GEVENT_RESOLVER=thread /data/venv/bin/python -u test__examples.py
thread pool size: 4
Makefile:70: recipe for target 'fulltoxtest' failed
make: *** [fulltoxtest] Error 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment