[
https://issues.apache.org/jira/browse/BEAM-6877?focusedWorklogId=261952&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-261952
]
ASF GitHub Bot logged work on BEAM-6877:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Jun/19 01:30
Start Date: 18/Jun/19 01:30
Worklog Time Spent: 10m
Work Description: tvalentyn commented on issue #8856: [BEAM-6877] Fix
trivial_inference for Python 3.x
URL: https://github.com/apache/beam/pull/8856#issuecomment-502909801
I saw a similar error in a different postcommit run in another streaming
test:
```
11:12:57
======================================================================
11:12:57 FAIL: test_streaming_data_only
(apache_beam.io.gcp.pubsub_integration_test.PubSubIntegrationTest)
...
11:12:57 but: Expected 2 messages. Got 0 messages. Diffs (item, count):
11:12:57 Expected but not in actual: dict_items([('data001-seen', 1),
('data002-seen', 1)])
11:12:57 Unexpected: dict_items([])
```
so perhaps streaming WC is a red herring - you could try to reproduce the
error by triggering the test locally.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 261952)
Time Spent: 3h 40m (was: 3.5h)
> TypeHints Py3 Error: Type inference tests fail on Python 3.6 due to bytecode
> changes
> ------------------------------------------------------------------------------------
>
> Key: BEAM-6877
> URL: https://issues.apache.org/jira/browse/BEAM-6877
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-py-core
> Reporter: Robbe
> Assignee: Udi Meiri
> Priority: Major
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> Type inference doesn't work on Python 3.6 due to [bytecode to wordcode
> changes|https://docs.python.org/3/whatsnew/3.6.html#cpython-bytecode-changes].
> Type inference always returns Any on Python 3.6, so this is not critical.
> Affected tests are:
> *transforms.ptransform_test*:
> - test_combine_properly_pipeline_type_checks_using_decorator
> - test_mean_globally_pipeline_checking_satisfied
> - test_mean_globally_runtime_checking_satisfied
> - test_count_globally_pipeline_type_checking_satisfied
> - test_count_globally_runtime_type_checking_satisfied
> - test_pardo_type_inference
> - test_pipeline_inference
> - test_inferred_bad_kv_type
> *typehints.trivial_inference_test*:
> - all tests in TrivialInferenceTest
> *io.gcp.pubsub_test.TestReadFromPubSubOverride*:
> * test_expand_with_other_options
> * test_expand_with_subscription
> * test_expand_with_topic
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)