Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7534

smokeTestRelease.py on cygwin [Errno 2] No such file or directory:

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.4, 7.0
    • None
    • None
    • Windows, Cygwin, Python

    • New

    Description

      $ python3 -u dev-tools/scripts/smokeTestRelease.py https://dist.apache.org/repos/dist/dev/lucene/lucene-solr-6.3.0-RC2-rev1fe1a54db32b8c27bfae81887cd4d75242090613/
      Revision: 1fe1a54db32b8c27bfae81887cd4d75242090613
      Java 1.8 JAVA_HOME=C:\Program Files\Java\jdk1.8.0_102
      Traceback (most recent call last):
      File "dev-tools/scripts/smokeTestRelease.py", line 1440, in <module>
      main()
      File "dev-tools/scripts/smokeTestRelease.py", line 1377, in main
      c = parse_config()
      File "dev-tools/scripts/smokeTestRelease.py", line 1239, in parse_config
      c.java = make_java_config(parser, c.test_java8)
      File "dev-tools/scripts/smokeTestRelease.py", line 1193, in make_java_config
      run_java8 = _make_runner(java8_home, '1.8')
      File "dev-tools/scripts/smokeTestRelease.py", line 1179, in _make_runner
      java_home = subprocess.check_output('cygpath -u "%s"' % java_home).read().decode('utf-8').strip()
      File "/usr/lib/python3.4/subprocess.py", line 607, in check_output
      with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
      File "/usr/lib/python3.4/subprocess.py", line 859, in _init_
      restore_signals, start_new_session)
      File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
      raise child_exception_type(errno_num, err_msg)
      FileNotFoundError: [Errno 2] No such file or directory: 'cygpath -u "C:
      Program Files\\Java
      jdk1.8.0_102"'

      giving the doc path and args should be either supplied as array of terms or supplied as shell=True

      Attachments

        1. LUCENE-7534.patch
          4 kB
          Mikhail Khludnev
        2. 6.3.0 RC3 smoke passed on cygwin.txt
          55 kB
          Mikhail Khludnev
        3. LUCENE-7534.patch
          3 kB
          Mikhail Khludnev
        4. LUCENE-7534.patch
          3 kB
          Mikhail Khludnev
        5. cloud test fail on smoke test.log
          1.23 MB
          Mikhail Khludnev
        6. LUCENE-7534.patch
          3 kB
          Mikhail Khludnev
        7. fail due to long classpath test.log
          555 kB
          Mikhail Khludnev
        8. LUCENE-7534.patch
          3 kB
          Mikhail Khludnev
        9. LUCENE-7534.patch
          1 kB
          Mikhail Khludnev
        10. LUCENE-7534.patch
          1 kB
          Mikhail Khludnev
        11. LUCENE-7534.patch
          0.8 kB
          Mikhail Khludnev

        Issue Links

          Activity

            People

              mkhl Mikhail Khludnev
              mkhl Mikhail Khludnev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment