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

Beam JIRA Bot commented on BEAM-12113:
--------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> Some Dataframe tests are flaky: AttributeError: 'DataFrame' object has no 
> attribute
> -----------------------------------------------------------------------------------
>
>                 Key: BEAM-12113
>                 URL: https://issues.apache.org/jira/browse/BEAM-12113
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Valentyn Tymofieiev
>            Assignee: Brian Hulette
>            Priority: P2
>              Labels: stale-assigned
>
> Sample error:
> {noformat}
> Error Message
> AttributeError: 'DataFrame' object has no attribute 'val'
> Stacktrace
> self = <apache_beam.dataframe.transforms_test.TransformTest 
> testMethod=test_scalar>
>     def test_scalar(self):
>       with expressions.allow_non_parallel_operations():
>         a = pd.Series([1, 2, 6])
>         self.run_scenario(a, lambda a: a.agg(sum))
>         self.run_scenario(a, lambda a: a / a.agg(sum))
>     
>         # Tests scalar being used as an input to a downstream stage.
>         df = pd.DataFrame({'key': ['a', 'a', 'b'], 'val': [1, 2, 6]})
>         self.run_scenario(
> >           df, lambda df: df.groupby('key').sum().val / df.val.agg(sum))
> apache_beam/dataframe/transforms_test.py:173: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> apache_beam/dataframe/transforms_test.py:76: in run_scenario
>     expected = func(input)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> df =   key  val
> 0   a    1
> 1   a    2
> 2   b    6
> >   df, lambda df: df.groupby('key').sum().val / df.val.agg(sum))
> E   AttributeError: 'DataFrame' object has no attribute 'val'
> apache_beam/dataframe/transforms_test.py:173: AttributeError
> {noformat}
> Other tests that failed in the same run 
> (https://ci-beam.apache.org/job/beam_PreCommit_Python_Phrase/2419/):
> apache_beam.dataframe.schemas_test.SchemasTest.test_bytes_proxy_roundtrip
> apache_beam.dataframe.transforms_test.TransformTest.test_groupby_sum_mean



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to