apache / apache/beam

[Bug]: test_sdf_with_check_done_failed throws ValueError in OffsetRestrictionTracker

Open
#23,948 2 comments 0 reactions 0 assignees View on GitHub
bug core flake P2 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What happened?

In Python SDK, [test_sdf_with_check_done_failed](https://github.com/apache/beam/blob/3e8891f59b4457c68a29164634618e89f3dc2e0f/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py#L871) throws ValueError as

```
apache_beam/runners/portability/portable_runner_test.py::PortableRunnerOptimizedWithoutFusion::test_sdf_with_check_done_failed

File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Cron/src/sdks/python/test-suites/tox/py310/build/srcs/sdks/python/apache_beam/io/restriction_trackers.py", line 93, in check_done
raise ValueError(
ValueError: OffsetRestrictionTracker is not done since work in range [0, 6) has not been claimed

```

### Issue Priority

Priority: 2

### Issue Component

Component: sdk-py-core

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.