[jira] [Commented] (MESOS-6515) Parallel test runner + python3

2016-10-31 Thread Benjamin Bannier (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15622301#comment-15622301
 ] 

Benjamin Bannier commented on MESOS-6515:
-

It looks like our documentation might be lacking here as we almost never 
document that we assume only Python2 (the new cli being the only exception). 
Currently e.g., the getting started guides install Python2 which makes most 
tooling Python work implicitly. We as developers assume a certain runtime, but 
do not educate users on these assumptions.

Re:{{sys.maxsize}}, its value is too big to represent a time delta, but some 
defined max out of {{datetime}} might do the job.

> Parallel test runner + python3
> --
>
> Key: MESOS-6515
> URL: https://issues.apache.org/jira/browse/MESOS-6515
> Project: Mesos
>  Issue Type: Improvement
>  Components: tests
>Reporter: Neil Conway
>  Labels: mesosphere
>
> {noformat}
> [...]
> make[4]: Leaving directory '/home/vagrant/build-mesos-clang/src'
> /home/vagrant/build-mesos-clang/../mesos/support/mesos-gtest-runner.py 
> --sequential=*ROOT_* ./mesos-tests
> Traceback (most recent call last):
>   File 
> "/home/vagrant/build-mesos-clang/../mesos/support/mesos-gtest-runner.py", 
> line 218, in 
> timeout=sys.maxint))
> AttributeError: module 'sys' has no attribute 'maxint'
> $ python --version
> Python 3.5.2
> $ head config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> It was created by mesos configure 1.2.0, which was
> generated by GNU Autoconf 2.69.  Invocation command line was
>   $ ../mesos/configure --disable-python --enable-parallel-test-execution 
> --enable-silent-rules CXX=ccache clang++ CC=ccache clang
> {noformat}



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


[jira] [Commented] (MESOS-6515) Parallel test runner + python3

2016-10-31 Thread Neil Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15622286#comment-15622286
 ] 

Neil Conway commented on MESOS-6515:


This is a test VM in which I don't usually use other {{support/}} scripts. At a 
minimum it would be nice to report an error during {{configure}}, rather than a 
cryptic runtime error.

For this particular problem, using {{sys.maxsize}} instead seems like an easy 
workaround.

> Parallel test runner + python3
> --
>
> Key: MESOS-6515
> URL: https://issues.apache.org/jira/browse/MESOS-6515
> Project: Mesos
>  Issue Type: Improvement
>  Components: tests
>Reporter: Neil Conway
>  Labels: mesosphere
>
> {noformat}
> [...]
> make[4]: Leaving directory '/home/vagrant/build-mesos-clang/src'
> /home/vagrant/build-mesos-clang/../mesos/support/mesos-gtest-runner.py 
> --sequential=*ROOT_* ./mesos-tests
> Traceback (most recent call last):
>   File 
> "/home/vagrant/build-mesos-clang/../mesos/support/mesos-gtest-runner.py", 
> line 218, in 
> timeout=sys.maxint))
> AttributeError: module 'sys' has no attribute 'maxint'
> $ python --version
> Python 3.5.2
> $ head config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> It was created by mesos configure 1.2.0, which was
> generated by GNU Autoconf 2.69.  Invocation command line was
>   $ ../mesos/configure --disable-python --enable-parallel-test-execution 
> --enable-silent-rules CXX=ccache clang++ CC=ccache clang
> {noformat}



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


[jira] [Commented] (MESOS-6515) Parallel test runner + python3

2016-10-31 Thread Benjamin Bannier (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15622265#comment-15622265
 ] 

Benjamin Bannier commented on MESOS-6515:
-

Since we do not support using Python3 for scripts under {{support/}} I wonder 
how any of that infrastructure is useful in your environment. My guess is that 
we likely need to address this in a broader sense.

> Parallel test runner + python3
> --
>
> Key: MESOS-6515
> URL: https://issues.apache.org/jira/browse/MESOS-6515
> Project: Mesos
>  Issue Type: Bug
>  Components: tests
>Reporter: Neil Conway
>Assignee: Benjamin Bannier
>  Labels: mesosphere
>
> {noformat}
> [...]
> make[4]: Leaving directory '/home/vagrant/build-mesos-clang/src'
> /home/vagrant/build-mesos-clang/../mesos/support/mesos-gtest-runner.py 
> --sequential=*ROOT_* ./mesos-tests
> Traceback (most recent call last):
>   File 
> "/home/vagrant/build-mesos-clang/../mesos/support/mesos-gtest-runner.py", 
> line 218, in 
> timeout=sys.maxint))
> AttributeError: module 'sys' has no attribute 'maxint'
> $ python --version
> Python 3.5.2
> $ head config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> It was created by mesos configure 1.2.0, which was
> generated by GNU Autoconf 2.69.  Invocation command line was
>   $ ../mesos/configure --disable-python --enable-parallel-test-execution 
> --enable-silent-rules CXX=ccache clang++ CC=ccache clang
> {noformat}



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