Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6774

SyntaxError: invalid syntax diagnostics/collect_diagnostics.py

    XMLWordPrintableJSON

Details

    • ghx-label-9

    Description

      23:50:47 ERROR unittests/test_command.py
      23:50:47 ==================================== ERRORS ====================================
      23:50:47 __________________ ERROR collecting unittests/test_command.py __________________
      23:50:47 ../infra/python/env/lib/python2.6/site-packages/_pytest/python.py:611: in _importtestmodule
      23:50:47     mod = self.fspath.pyimport(ensuresyspath=importmode)
      23:50:47 ../infra/python/env/lib/python2.6/site-packages/py/_path/local.py:662: in pyimport
      23:50:47     __import__(modname)
      23:50:47 ../infra/python/env/lib/python2.6/site-packages/_pytest/assertion/rewrite.py:171: in load_module
      23:50:47     py.builtin.exec_(co, mod.__dict__)
      23:50:47 unittests/test_command.py:27: in <module>
      23:50:47     from collect_diagnostics import Command
      23:50:47 E     File "/data/jenkins/workspace/impala-asf-master-core/repos/Impala/bin/diagnostics/collect_diagnostics.py", line 405
      23:50:47 E       with open(profile_path, "rb") as in_file,\
      23:50:47 E                                               ^
      23:50:47 E   SyntaxError: invalid syntax
      23:50:47 == 1728 passed, 51 skipped, 37 xfailed, 1 xpassed, 1 error in 8249.59 seconds ==
      23:50:47 ============================= test session starts ==============================
      

      Attachments

        Activity

          People

            bharathv Bharath Vissapragada
            kwho Michael Ho
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: