Skip to content

[Failing Test]: AttributeError for MaybeReshuffle in Python SDK #33854

@apraga

Description

@apraga

What happened?

When packaging apache beam 2.62 in nix ( NixOS/nixpkgs#379201 ), around 70 tests fail with a single error AttributeError: 'MaybeReshuffle' object has no attribute 'side_inputs'.

The list is below. Thanks for your help

apache_beam/examples/snippets/transforms/aggregation/approximatequantiles_test.py
apache_beam/examples/snippets/transforms/aggregation/approximateunique_test.py
apache_beam/examples/snippets/transforms/aggregation/batchelements_test.py
apache_beam/examples/snippets/transforms/aggregation/cogroupbykey_test.py
apache_beam/examples/snippets/transforms/aggregation/combineglobally_test.py
apache_beam/examples/snippets/transforms/aggregation/combineperkey_test.py
apache_beam/examples/snippets/transforms/aggregation/combinevalues_test.py
apache_beam/examples/snippets/transforms/aggregation/count_test.py
apache_beam/examples/snippets/transforms/aggregation/distinct_test.py
apache_beam/examples/snippets/transforms/aggregation/groupbykey_test.py
apache_beam/examples/snippets/transforms/aggregation/groupintobatches_test.py
apache_beam/examples/snippets/transforms/aggregation/latest_test.py
apache_beam/examples/snippets/transforms/aggregation/max_test.py
apache_beam/examples/snippets/transforms/aggregation/mean_test.py
apache_beam/examples/snippets/transforms/aggregation/min_test.py
apache_beam/examples/snippets/transforms/aggregation/sample_test.py
apache_beam/examples/snippets/transforms/aggregation/sum_test.py
apache_beam/examples/snippets/transforms/aggregation/tolist_test.py
apache_beam/examples/snippets/transforms/aggregation/top_test.py
apache_beam/examples/snippets/transforms/elementwise/filter_test.py
apache_beam/examples/snippets/transforms/elementwise/flatmap_test.py
apache_beam/examples/snippets/transforms/elementwise/keys_test.py
apache_beam/examples/snippets/transforms/elementwise/kvswap_test.py
apache_beam/examples/snippets/transforms/elementwise/map_test.py
apache_beam/examples/snippets/transforms/elementwise/pardo_test.py
apache_beam/examples/snippets/transforms/elementwise/partition_test.py
apache_beam/examples/snippets/transforms/elementwise/regex_test.py
apache_beam/examples/snippets/transforms/elementwise/tostring_test.py
apache_beam/examples/snippets/transforms/elementwise/values_test.py
apache_beam/examples/snippets/transforms/elementwise/withtimestamps_test.py
apache_beam/examples/snippets/transforms/other/create_test.py
apache_beam/examples/snippets/transforms/other/flatten_test.py
apache_beam/examples/snippets/transforms/other/window_test.py
apache_beam/examples/snippets/util_test.py
apache_beam/io/avroio_test.py
apache_beam/io/concat_source_test.py
apache_beam/io/filebasedsink_test.py
apache_beam/io/filebasedsource_test.py
apache_beam/io/fileio_test.py
apache_beam/io/mongodbio_test.py
apache_beam/io/parquetio_test.py
apache_beam/io/sources_test.py
apache_beam/io/textio_test.py
apache_beam/io/tfrecordio_test.py
apache_beam/metrics/metric_test.py
apache_beam/ml/inference/base_test.py
apache_beam/ml/inference/sklearn_inference_test.py
apache_beam/ml/inference/utils_test.py
apache_beam/ml/rag/chunking/base_test.py
apache_beam/pipeline_test.py
apache_beam/runners/direct/direct_runner_test.py
apache_beam/runners/direct/sdf_direct_runner_test.py
apache_beam/runners/interactive/interactive_beam_test.py
apache_beam/runners/interactive/interactive_runner_test.py
apache_beam/runners/interactive/non_interactive_runner_test.py
apache_beam/runners/interactive/recording_manager_test.py
apache_beam/runners/portability/fn_api_runner/translations_test.py
apache_beam/runners/portability/fn_api_runner/trigger_manager_test.py
apache_beam/runners/portability/stager_test.py
apache_beam/testing/synthetic_pipeline_test.py
apache_beam/testing/test_stream_test.py
apache_beam/testing/util_test.py
apache_beam/transforms/combiners_test.py
apache_beam/transforms/core_test.py
apache_beam/transforms/create_test.py
apache_beam/transforms/deduplicate_test.py
apache_beam/transforms/periodicsequence_test.py
apache_beam/transforms/ptransform_test.py
apache_beam/transforms/sideinputs_test.py
apache_beam/transforms/stats_test.py
apache_beam/transforms/transforms_keyword_only_args_test.py
apache_beam/transforms/trigger_test.py
apache_beam/transforms/userstate_test.py
apache_beam/transforms/util_test.py
apache_beam/transforms/write_ptransform_test.py

Issue Failure

Failure: Test is flaky

Issue Priority

Priority: 1 (unhealthy code / failing or flaky postcommit so we cannot be sure the product is healthy)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions