[ 
https://issues.apache.org/jira/browse/LUCENE-7534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15650827#comment-15650827
 ] 

Mikhail Khludnev edited comment on LUCENE-7534 at 11/9/16 12:44 PM:
--------------------------------------------------------------------

ok. solr test passed. I've got an old new PITA. cygwin x permission strike back 
again when solr.cmd tries to spawn solr with example (sadly SolrCli swallow the 
problem message , see below). Only solr-..-src.tgz ?? suffer from it so far. 
-What's an idea? can archive bring x premission or- smoke script should chmod 
it? 
{code}
  unpack solr-6.3.0-src.tgz...
.....
Starting up Solr on port 8983 using command:
C:\cygwin64\tmp\s\unpack\solr-6.3.0\solr\bin\solr.cmd start -p 8983 -s 
"C:\cygwin64\tmp\s\unpack\solr-6.3.0\solr\example\techproducts\solr"

-559038737 org.apache.commons.exec.ExecuteException: Execution failed (Exit 
value: -559038737. Caused by java.io.IOException: Cannot run program 
"C:\cygwin64\tmp\s\unpack\solr-6.3.0\solr\bin\solr.cmd" (in directory "."): 
CreateProcess error=5, Access is denied)
Checking status of Solr at http://localhost:8983/solr ...

ERROR: Did not see Solr at http://localhost:8983/solr come online within 30

{code} 


was (Author: mkhludnev):
ok. solr test passed. I've got a old new PITA. cygwin x permission strike back 
again when solr.cmd tries to spawn solr with example (sadly SolrCli swallow the 
problem message , see below). Only solr-..-src.tgz ?? suffer from it so far. 
What's an idea? can archive bring x premission or smoke script should chmod it? 
{code}
  unpack solr-6.3.0-src.tgz...
.....
Starting up Solr on port 8983 using command:
C:\cygwin64\tmp\s\unpack\solr-6.3.0\solr\bin\solr.cmd start -p 8983 -s 
"C:\cygwin64\tmp\s\unpack\solr-6.3.0\solr\example\techproducts\solr"

-559038737 org.apache.commons.exec.ExecuteException: Execution failed (Exit 
value: -559038737. Caused by java.io.IOException: Cannot run program 
"C:\cygwin64\tmp\s\unpack\solr-6.3.0\solr\bin\solr.cmd" (in directory "."): 
CreateProcess error=5, Access is denied)
Checking status of Solr at http://localhost:8983/solr ...

ERROR: Did not see Solr at http://localhost:8983/solr come online within 30

{code} 

> smokeTestRelease.py on cygwin [Errno 2] No such file or directory: 
> -------------------------------------------------------------------
>
>                 Key: LUCENE-7534
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7534
>             Project: Lucene - Core
>          Issue Type: Bug
>         Environment: Windows, Cygwin, Python
>            Reporter: Mikhail Khludnev
>         Attachments: LUCENE-7534.patch, LUCENE-7534.patch, LUCENE-7534.patch, 
> LUCENE-7534.patch, LUCENE-7534.patch, cloud test fail on smoke test.log, fail 
> due to long classpath test.log
>
>
> {quote}
> $ 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"'
> {quote}
> giving [the doc|https://docs.python.org/3.4/library/subprocess.html] path and 
> args should be either supplied as array of terms or supplied as {{shell=True}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to