Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5672 0.17.0: test suite is failing
  3. THRIFT-5681

TestSocket.py: TypeError: sequence item 0: expected str instance, NoneType found

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Python - Library
    • None

    Description

      Traceback (most recent call last):
        File "/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/test/py/RunClientServer.py", line 323, in <module>
          sys.exit(main())
        File "/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/test/py/RunClientServer.py", line 302, in main
          runScriptTest(options.libdir, options.gen_base, genpydir, script)
        File "/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/test/py/RunClientServer.py", line 94, in runScriptTest
          env = setup_pypath(libdir, os.path.join(genbase, genpydir))
        File "/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/test/py/RunClientServer.py", line 87, in setup_pypath
          env['PYTHONPATH'] = os.pathsep.join(dirs)
      TypeError: sequence item 0: expected str instance, NoneType found
      97% tests passed, 13 tests failed out of 384Total Test time (real) = 185.78 secThe following tests FAILED:
              347 - SecurityTest (Failed)
              348 - SecurityFromBufferTest (Failed)
              355 - testapplicationexception (SIGTRAP)
              361 - testfdtransport (SIGTRAP)
              370 - testthriftfdreadcheck (SIGTRAP)
              376 - PythonTestSSLSocket (Failed)
              377 - PythonThriftJson (Failed)
              378 - PythonThriftTransport (Failed)
              379 - PythonThriftTBinaryProtocol (Failed)
              380 - PythonThriftTZlibTransport (Failed)
              381 - PythonThriftProtocol (Failed)
              382 - PythonThriftTNonblockingServer (Failed)
              384 - python_test (Failed)
      Errors while running CTest
      make: *** [Makefile:94: test] Error 8
      make: Leaving directory '/home/tkloczko/rpmbuild/BUILD/thrift-0.17.0/x86_64-redhat-linux-gnu'
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: