You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by Colm O hEigeartaigh <co...@apache.org> on 2018/10/22 10:55:58 UTC

Python docs build error

Hi all,

The following command: ./gradlew :beam-sdks-python:docs gives me the
following error:

/home/coheig/src/apache/beam/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py:docstring
of
apache_beam.io.flink.flink_streaming_impulse_source.FlinkStreamingImpulseSource.from_runner_api_parameter:11:
WARNING: Unexpected indentation.
Command exited with non-zero status 1
42.81user 4.02system 0:16.27elapsed 287%CPU (0avgtext+0avgdata
141036maxresident)k
0inputs+47792outputs (0major+727274minor)pagefaults 0swaps
ERROR: InvocationError for command '/usr/bin/time
/home/coheig/src/apache/beam/sdks/python/scripts/generate_pydoc.sh' (exited
with code 1)
___________________________________ summary
____________________________________
ERROR:   docs: commands failed

> Task :beam-sdks-python:docs FAILED

FAILURE: Build failed with an exception.

Am I missing something or is there an issue here?

Thanks,

Colm.


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: Python docs build error

Posted by Maximilian Michels <mx...@apache.org>.
It looks like now the build is broken on Jenkins but runs fine on MacOs.

There is some inconsistency in how `:pylint27` runs across the two 
platforms.

Broken build: 
https://builds.apache.org/job/beam_Release_Gradle_NightlySnapshot/216/

On 22.10.18 19:01, Ruoyun Huang wrote:
> To Colm's question.
> 
> We observed this issue as well and had discussions in a separate thread 
> <https://issues.apache.org/jira/browse/BEAM-5793>, with Scott and Micah.
> 
> This issue was only reproduced on certain Linux environment.  MacOS does 
> not have this error.  We also specifically ran the test on Jenkins, but 
> could not reproduce it either.
> 
> On Mon, Oct 22, 2018 at 7:49 AM Colm O hEigeartaigh <coheigea@apache.org 
> <ma...@apache.org>> wrote:
> 
>     Great, thanks! Out of curiosity, did the jenkins job for the initial
>     PR not detect the build failure?
> 
>     Colm.
> 
>     On Mon, Oct 22, 2018 at 2:29 PM Maximilian Michels <mxm@apache.org
>     <ma...@apache.org>> wrote:
> 
>         Correction for the footnote:
> 
>         [1] https://github.com/apache/beam/pull/6637
> 
>         On 22.10.18 15:24, Maximilian Michels wrote:
>          > Hi Colm,
>          >
>          > This [1] got merged recently and broke the "docs" target which
>          > apparently is not part of our Python PreCommit tests.
>          >
>          > See the following PR for a fix:
>         https://github.com/apache/beam/pull/6774
>          >
>          > Best,
>          > Max
>          >
>          > [1] https://github.com/apache/beam/pull/6737
>          >
>          > On 22.10.18 12:55, Colm O hEigeartaigh wrote:
>          >> Hi all,
>          >>
>          >> The following command: ./gradlew :beam-sdks-python:docs
>         gives me the
>          >> following error:
>          >>
>          >>
>         /home/coheig/src/apache/beam/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py:docstring
> 
>          >> of
>          >>
>         apache_beam.io.flink.flink_streaming_impulse_source.FlinkStreamingImpulseSource.from_runner_api_parameter:11:
> 
>          >> WARNING: Unexpected indentation.
>          >> Command exited with non-zero status 1
>          >> 42.81user 4.02system 0:16.27elapsed 287%CPU (0avgtext+0avgdata
>          >> 141036maxresident)k
>          >> 0inputs+47792outputs (0major+727274minor)pagefaults 0swaps
>          >> ERROR: InvocationError for command '/usr/bin/time
>          >>
>         /home/coheig/src/apache/beam/sdks/python/scripts/generate_pydoc.sh'
>          >> (exited with code 1)
>          >> ___________________________________ summary
>          >> ____________________________________
>          >> ERROR:   docs: commands failed
>          >>
>          >>  > Task :beam-sdks-python:docs FAILED
>          >>
>          >> FAILURE: Build failed with an exception.
>          >>
>          >> Am I missing something or is there an issue here?
>          >>
>          >> Thanks,
>          >>
>          >> Colm.
>          >>
>          >>
>          >> --
>          >> Colm O hEigeartaigh
>          >>
>          >> Talend Community Coder
>          >> http://coders.talend.com
> 
> 
> 
>     -- 
>     Colm O hEigeartaigh
> 
>     Talend Community Coder
>     http://coders.talend.com
> 
> 
> 
> -- 
> ================
> Ruoyun  Huang
> 

Re: Python docs build error

Posted by Ruoyun Huang <ru...@google.com>.
To Colm's question.

We observed this issue as well and had discussions in a separate thread
<https://issues.apache.org/jira/browse/BEAM-5793>, with Scott and Micah.

This issue was only reproduced on certain Linux environment.  MacOS does
not have this error.  We also specifically ran the test on Jenkins, but
could not reproduce it either.


On Mon, Oct 22, 2018 at 7:49 AM Colm O hEigeartaigh <co...@apache.org>
wrote:

> Great, thanks! Out of curiosity, did the jenkins job for the initial PR
> not detect the build failure?
>
> Colm.
>
> On Mon, Oct 22, 2018 at 2:29 PM Maximilian Michels <mx...@apache.org> wrote:
>
>> Correction for the footnote:
>>
>> [1] https://github.com/apache/beam/pull/6637
>>
>> On 22.10.18 15:24, Maximilian Michels wrote:
>> > Hi Colm,
>> >
>> > This [1] got merged recently and broke the "docs" target which
>> > apparently is not part of our Python PreCommit tests.
>> >
>> > See the following PR for a fix:
>> https://github.com/apache/beam/pull/6774
>> >
>> > Best,
>> > Max
>> >
>> > [1] https://github.com/apache/beam/pull/6737
>> >
>> > On 22.10.18 12:55, Colm O hEigeartaigh wrote:
>> >> Hi all,
>> >>
>> >> The following command: ./gradlew :beam-sdks-python:docs gives me the
>> >> following error:
>> >>
>> >>
>> /home/coheig/src/apache/beam/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py:docstring
>>
>> >> of
>> >>
>> apache_beam.io.flink.flink_streaming_impulse_source.FlinkStreamingImpulseSource.from_runner_api_parameter:11:
>>
>> >> WARNING: Unexpected indentation.
>> >> Command exited with non-zero status 1
>> >> 42.81user 4.02system 0:16.27elapsed 287%CPU (0avgtext+0avgdata
>> >> 141036maxresident)k
>> >> 0inputs+47792outputs (0major+727274minor)pagefaults 0swaps
>> >> ERROR: InvocationError for command '/usr/bin/time
>> >> /home/coheig/src/apache/beam/sdks/python/scripts/generate_pydoc.sh'
>> >> (exited with code 1)
>> >> ___________________________________ summary
>> >> ____________________________________
>> >> ERROR:   docs: commands failed
>> >>
>> >>  > Task :beam-sdks-python:docs FAILED
>> >>
>> >> FAILURE: Build failed with an exception.
>> >>
>> >> Am I missing something or is there an issue here?
>> >>
>> >> Thanks,
>> >>
>> >> Colm.
>> >>
>> >>
>> >> --
>> >> Colm O hEigeartaigh
>> >>
>> >> Talend Community Coder
>> >> http://coders.talend.com
>>
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
>


-- 
================
Ruoyun  Huang

Re: Python docs build error

Posted by Colm O hEigeartaigh <co...@apache.org>.
Great, thanks! Out of curiosity, did the jenkins job for the initial PR not
detect the build failure?

Colm.

On Mon, Oct 22, 2018 at 2:29 PM Maximilian Michels <mx...@apache.org> wrote:

> Correction for the footnote:
>
> [1] https://github.com/apache/beam/pull/6637
>
> On 22.10.18 15:24, Maximilian Michels wrote:
> > Hi Colm,
> >
> > This [1] got merged recently and broke the "docs" target which
> > apparently is not part of our Python PreCommit tests.
> >
> > See the following PR for a fix: https://github.com/apache/beam/pull/6774
> >
> > Best,
> > Max
> >
> > [1] https://github.com/apache/beam/pull/6737
> >
> > On 22.10.18 12:55, Colm O hEigeartaigh wrote:
> >> Hi all,
> >>
> >> The following command: ./gradlew :beam-sdks-python:docs gives me the
> >> following error:
> >>
> >>
> /home/coheig/src/apache/beam/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py:docstring
>
> >> of
> >>
> apache_beam.io.flink.flink_streaming_impulse_source.FlinkStreamingImpulseSource.from_runner_api_parameter:11:
>
> >> WARNING: Unexpected indentation.
> >> Command exited with non-zero status 1
> >> 42.81user 4.02system 0:16.27elapsed 287%CPU (0avgtext+0avgdata
> >> 141036maxresident)k
> >> 0inputs+47792outputs (0major+727274minor)pagefaults 0swaps
> >> ERROR: InvocationError for command '/usr/bin/time
> >> /home/coheig/src/apache/beam/sdks/python/scripts/generate_pydoc.sh'
> >> (exited with code 1)
> >> ___________________________________ summary
> >> ____________________________________
> >> ERROR:   docs: commands failed
> >>
> >>  > Task :beam-sdks-python:docs FAILED
> >>
> >> FAILURE: Build failed with an exception.
> >>
> >> Am I missing something or is there an issue here?
> >>
> >> Thanks,
> >>
> >> Colm.
> >>
> >>
> >> --
> >> Colm O hEigeartaigh
> >>
> >> Talend Community Coder
> >> http://coders.talend.com
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: Python docs build error

Posted by Maximilian Michels <mx...@apache.org>.
Correction for the footnote:

[1] https://github.com/apache/beam/pull/6637

On 22.10.18 15:24, Maximilian Michels wrote:
> Hi Colm,
> 
> This [1] got merged recently and broke the "docs" target which 
> apparently is not part of our Python PreCommit tests.
> 
> See the following PR for a fix: https://github.com/apache/beam/pull/6774
> 
> Best,
> Max
> 
> [1] https://github.com/apache/beam/pull/6737
> 
> On 22.10.18 12:55, Colm O hEigeartaigh wrote:
>> Hi all,
>>
>> The following command: ./gradlew :beam-sdks-python:docs gives me the 
>> following error:
>>
>> /home/coheig/src/apache/beam/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py:docstring 
>> of 
>> apache_beam.io.flink.flink_streaming_impulse_source.FlinkStreamingImpulseSource.from_runner_api_parameter:11: 
>> WARNING: Unexpected indentation.
>> Command exited with non-zero status 1
>> 42.81user 4.02system 0:16.27elapsed 287%CPU (0avgtext+0avgdata 
>> 141036maxresident)k
>> 0inputs+47792outputs (0major+727274minor)pagefaults 0swaps
>> ERROR: InvocationError for command '/usr/bin/time 
>> /home/coheig/src/apache/beam/sdks/python/scripts/generate_pydoc.sh' 
>> (exited with code 1)
>> ___________________________________ summary 
>> ____________________________________
>> ERROR:   docs: commands failed
>>
>>  > Task :beam-sdks-python:docs FAILED
>>
>> FAILURE: Build failed with an exception.
>>
>> Am I missing something or is there an issue here?
>>
>> Thanks,
>>
>> Colm.
>>
>>
>> -- 
>> Colm O hEigeartaigh
>>
>> Talend Community Coder
>> http://coders.talend.com

Re: Python docs build error

Posted by Maximilian Michels <mx...@apache.org>.
Hi Colm,

This [1] got merged recently and broke the "docs" target which 
apparently is not part of our Python PreCommit tests.

See the following PR for a fix: https://github.com/apache/beam/pull/6774

Best,
Max

[1] https://github.com/apache/beam/pull/6737

On 22.10.18 12:55, Colm O hEigeartaigh wrote:
> Hi all,
> 
> The following command: ./gradlew :beam-sdks-python:docs gives me the 
> following error:
> 
> /home/coheig/src/apache/beam/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py:docstring 
> of 
> apache_beam.io.flink.flink_streaming_impulse_source.FlinkStreamingImpulseSource.from_runner_api_parameter:11: 
> WARNING: Unexpected indentation.
> Command exited with non-zero status 1
> 42.81user 4.02system 0:16.27elapsed 287%CPU (0avgtext+0avgdata 
> 141036maxresident)k
> 0inputs+47792outputs (0major+727274minor)pagefaults 0swaps
> ERROR: InvocationError for command '/usr/bin/time 
> /home/coheig/src/apache/beam/sdks/python/scripts/generate_pydoc.sh' 
> (exited with code 1)
> ___________________________________ summary 
> ____________________________________
> ERROR:   docs: commands failed
> 
>  > Task :beam-sdks-python:docs FAILED
> 
> FAILURE: Build failed with an exception.
> 
> Am I missing something or is there an issue here?
> 
> Thanks,
> 
> Colm.
> 
> 
> -- 
> Colm O hEigeartaigh
> 
> Talend Community Coder
> http://coders.talend.com