Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The PostCommit XVR Samza job is flaky #30601

Open
github-actions bot opened this issue Mar 11, 2024 · 7 comments
Open

The PostCommit XVR Samza job is flaky #30601

github-actions bot opened this issue Mar 11, 2024 · 7 comments

Comments

@github-actions
Copy link
Contributor

The PostCommit XVR Samza is failing over 50% of the time
Please visit https://github.com/apache/beam/actions/workflows/beam_PostCommit_XVR_Samza.yml?query=is%3Afailure+branch%3Amaster to see the logs.

Copy link
Contributor Author

Reopening since the workflow is still flaky

@Abacn Abacn closed this as completed May 21, 2024
@github-actions github-actions bot reopened this May 26, 2024
Copy link
Contributor Author

Reopening since the workflow is still flaky

@Abacn
Copy link
Contributor

Abacn commented May 26, 2024

looks like thus time the breakage is due to python3.12 support:

File "/tmp/bootstrap_beam_venv7899546459285591331.py", line 33, in
from pkg_resources import parse_version
ModuleNotFoundError: No module named 'pkg_resources'

@Abacn
Copy link
Contributor

Abacn commented Jun 3, 2024

The error is found elsewhere: ManimCommunity/manim#3585 and is said to due to https://peps.python.org/pep-0668/ .

@Abacn Abacn closed this as completed Jun 4, 2024
@github-actions github-actions bot reopened this Nov 24, 2024
Copy link
Contributor Author

Reopening since the workflow is still flaky

@Abacn
Copy link
Contributor

Abacn commented Nov 25, 2024

Single test failing - test_zetasql_generate_data. This is due to zetasql version bump #32902 . Samza test can only run on Java8, while newer zetasql does not support Java8

apache_beam.utils.subprocess_server:subprocess_server.py:213 Exception in thread "grpc-default-executor-0" java.lang.NoSuchMethodError: java.util.Map.entry(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry;
    at com.google.zetasql.Type.<clinit>(Type.java:55)
    at com.google.zetasql.TypeFactory$1.apply(TypeFactory.java:123)
    at com.google.zetasql.TypeFactory$1.apply(TypeFactory.java:120)
  	at com.google.common.collect.Maps.toMap(Maps.java:1277)
    at com.google.common.collect.Maps.toMap(Maps.java:1255)
 	at com.google.zetasql.TypeFactory.<clinit>(TypeFactory.java:118)
 	at com.google.zetasql.AllowedHintsAndOptions.addDefaultAnonymizationOptions(AllowedHintsAndOptions.java:564)
 	at com.google.zetasql.AllowedHintsAndOptions.<init>(AllowedHintsAndOptions.java:107)
 	at com.google.zetasql.AnalyzerOptions.<init>(AnalyzerOptions.java:59)
 	at org.apache.beam.sdk.extensions.sql.zetasql.SqlAnalyzer.baseAnalyzerOptions(SqlAnalyzer.java:138)

@Abacn
Copy link
Contributor

Abacn commented Nov 25, 2024

Map.entry is an API for Java 9+

https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html#entry(K,V)

Update: opened #33213 for fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants