[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16947898#comment-16947898 ] Kyle Weaver commented on BEAM-8286: --- Thanks for the link Ahmet – it lets us be more confident that this is indeed fixed. Closing > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Assignee: Kyle Weaver >Priority: Major > Fix For: Not applicable > > Time Spent: 1.5h > Remaining Estimate: 0h > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16943272#comment-16943272 ] Ahmet Altay commented on BEAM-8286: --- Can we close this, the last PR seemingly resolved the issue? btw, for completion, the list of new sub documentation links: https://github.com/googleapis/google-cloud-python/issues/9386#issuecomment-537649044 > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Assignee: Kyle Weaver >Priority: Major > Fix For: Not applicable > > Time Spent: 1.5h > Remaining Estimate: 0h > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16943060#comment-16943060 ] Ahmet Altay commented on BEAM-8286: --- Filed a new issue: https://github.com/googleapis/google-cloud-python/issues/9386 I agree with [~ibzib] that it might be better to remove intersphinx references. We cannot guarantee that they will be not broken in the future. > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > Fix For: Not applicable > > Time Spent: 1.5h > Remaining Estimate: 0h > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933891#comment-16933891 ] Chamikara Jayalath commented on BEAM-8286: -- Seems like Kyle's PR fixed the failure. Closing. > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933796#comment-16933796 ] Udi Meiri commented on BEAM-8286: - [~ibzib] Running {code} tox -e docs {code} should do the right thing WRT package versions. > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933788#comment-16933788 ] Kyle Weaver commented on BEAM-8286: --- Aha, it works if we use [https://google-cloud-python.readthedocs.io/en/stable/|https://google-cloud-python.readthedocs.io/en/latest/,] > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933778#comment-16933778 ] Kyle Weaver commented on BEAM-8286: --- Whoops, looks like all the other (not cloud-python) related errors were because I was using a newer version of sphinx than the one we have pinned in tox.ini. So it probably is all cloud-python related. > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933757#comment-16933757 ] Kyle Weaver commented on BEAM-8286: --- If I substitute the broken link with [https://google-cloud-python.readthedocs.io/en/latest/,] it eliminates the first warning, but not the others. I'm not sure they're related. > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933751#comment-16933751 ] Robert Bradshaw commented on BEAM-8286: --- Was there a release/version bump of any of the doc building tools we use recently? > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933748#comment-16933748 ] Chamikara Jayalath commented on BEAM-8286: -- Hmm, looking at another Gradle build I see only followning warnings. WARNING: intersphinx inventory 'https://googleapis.github.io/google-cloud-python/latest/objects.inv' not fetchable due to : 404 Client Error: Not Found for url: https://googleapis.github.io/google-cloud-python/latest/objects.inv /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Phrase/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/gcp/datastore/v1new/helper.py:docstring of apache_beam.io.gcp.datastore.v1new.helper.write_mutations:: WARNING: py:class reference target not found: google.cloud.datastore.batch.Batch /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Phrase/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/gcp/datastore/v1new/types.py:docstring of apache_beam.io.gcp.datastore.v1new.types.Key:: WARNING: py:class reference target not found: google.cloud.datastore.key.Key /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Phrase/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/gcp/datastore/v1new/types.py:docstring of apache_beam.io.gcp.datastore.v1new.types.Key.to_client_key:1: WARNING: py:class reference target not found: google.cloud.datastore.key.Key /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Phrase/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/gcp/datastore/v1new/types.py:docstring of apache_beam.io.gcp.datastore.v1new.types.Entity.set_properties:: WARNING: py:class reference target not found: google.cloud.datastore.entity.Entity /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Phrase/src/sdks/python/test-suites/tox/py2/build/srcs/sdks/python/apache_beam/io/gcp/datastore/v1new/types.py:docstring of apache_beam.io.gcp.datastore.v1new.types.Entity.to_client_entity:1: WARNING: py:class reference target not found: google.cloud.datastore.entity.Entity All these warnings are related to datastore. First one is interesting since that link does not seem to be actually available. Looking at a passing "sdks:python:test-suites:tox:py2:docs'" I don't see any warning. > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933742#comment-16933742 ] Kyle Weaver commented on BEAM-8286: --- Ah, I see we fail on warnings. Well, there are plenty of those. [https://github.com/apache/beam/blob/master/sdks/python/scripts/generate_pydoc.sh#L224] > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933739#comment-16933739 ] Kyle Weaver commented on BEAM-8286: --- A couple possible causes: WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://googleapis.github.io/google-cloud-python/latest/objects.inv' not fetchable due to : 404 Client Error: Not Found for url: [https://googleapis.github.io/google-cloud-python/latest/objects.inv] Then a bunch of warnings like this: $USER/go/src/github.com/apache/beam/sdks/python/apache_beam/io/avroio.py:docstring of apache_beam.io.avroio.ReadFromAvro.display_data:6: WARNING: py:class reference target not found: DisplayDataItem The last one is most suspicious bc the file name is missing: :1: WARNING: py:class reference target not found: apache_beam.typehints.typehints.WindowedTypeConstraint > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (BEAM-8286) Python precommit (:sdks:python:test-suites:tox:py2:docs) failing
[ https://issues.apache.org/jira/browse/BEAM-8286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933732#comment-16933732 ] Chamikara Jayalath commented on BEAM-8286: -- This seems to be the first PR for which pre-commit failed: [https://github.com/apache/beam/pull/9611] But I'm not sure if it's related. cc: [~udim] > Python precommit (:sdks:python:test-suites:tox:py2:docs) failing > > > Key: BEAM-8286 > URL: https://issues.apache.org/jira/browse/BEAM-8286 > Project: Beam > Issue Type: Bug > Components: test-failures >Reporter: Kyle Weaver >Priority: Major > > Example failure: > [https://builds.apache.org/job/beam_PreCommit_Python_Commit/8638/console] > 17:29:13 * What went wrong: > 17:29:13 Execution failed for task ':sdks:python:test-suites:tox:py2:docs'. > 17:29:13 > Process 'command 'sh'' finished with non-zero exit value 1 > Fails on my local machine (on head) as well. Can't determine exact cause. > ERROR: InvocationError for command /usr/bin/time scripts/generate_pydoc.sh > (exited with code 1) > -- This message was sent by Atlassian Jira (v8.3.4#803005)