-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[test] Beam 2.70.0rc1 with Spanner 6.104.0 #3217
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
Conversation
Summary of ChangesHello @Abacn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request performs a comprehensive update of the Apache Beam framework to its Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3217 +/- ##
============================================
+ Coverage 50.84% 50.86% +0.01%
- Complexity 5133 5513 +380
============================================
Files 976 976
Lines 60099 60099
Branches 6574 6574
============================================
+ Hits 30557 30568 +11
+ Misses 27390 27380 -10
+ Partials 2152 2151 -1
🚀 New features to boost your workflow:
|
| <artifactId>google-cloud-spanner</artifactId> | ||
| <version>6.104.0</version> | ||
| <type>test-jar</type> | ||
| <scope>test</scope> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this might be what is breaking unit tests:
2026-01-14T15:29:38.1019565Z [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project googlecloud-to-googlecloud: Compilation failure: Compilation failure:
2026-01-14T15:29:38.1022228Z [ERROR] /home/runner/actions-runner/_work/DataflowTemplates/DataflowTemplates/v2/googlecloud-to-googlecloud/src/test/java/com/google/cloud/teleport/v2/spanner/SpannerTestHelper.java:[20,32] cannot find symbol
2026-01-14T15:29:38.1023717Z [ERROR] symbol: class MockSpannerServiceImpl
2026-01-14T15:29:38.1024284Z [ERROR] location: package com.google.cloud.spanner
2026-01-14T15:29:38.1026128Z [ERROR] /home/runner/actions-runner/_work/DataflowTemplates/DataflowTemplates/v2/googlecloud-to-googlecloud/src/test/java/com/google/cloud/teleport/v2/spanner/SpannerTestHelper.java:[21,55] package com.google.cloud.spanner.MockSpannerServiceImpl does not exist
2026-01-14T15:29:38.1028937Z [ERROR] /home/runner/actions-runner/_work/DataflowTemplates/DataflowTemplates/v2/googlecloud-to-googlecloud/src/test/java/com/google/cloud/teleport/v2/spanner/SpannerTestHelper.java:[48,11] cannot find symbol
2026-01-14T15:29:38.1030465Z [ERROR] symbol: class MockSpannerServiceImpl
2026-01-14T15:29:38.1031174Z [ERROR] location: class com.google.cloud.teleport.v2.spanner.SpannerTestHelper
2026-01-14T15:29:38.1031988Z [ERROR] -> [Help 1]
2026-01-14T15:29:38.1033487Z org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project googlecloud-to-googlecloud: Compilation failure
2026-01-14T15:29:38.1035473Z at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
2026-01-14T15:29:38.1036663Z at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
2026-01-14T15:29:38.1037791Z at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
2026-01-14T15:29:38.1039144Z at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
2026-01-14T15:29:38.1040277Z at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
2026-01-14T15:29:38.1041451Z at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
2026-01-14T15:29:38.1042994Z at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
2026-01-14T15:29:38.1044287Z at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
2026-01-14T15:29:38.1045664Z at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
2026-01-14T15:29:38.1047346Z at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:193)
2026-01-14T15:29:38.1049149Z at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:180)
2026-01-14T15:29:38.1050394Z at java.util.concurrent.FutureTask.run (FutureTask.java:264)
2026-01-14T15:29:38.1051412Z at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:539)
2026-01-14T15:29:38.1052536Z at java.util.concurrent.FutureTask.run (FutureTask.java:264)
2026-01-14T15:29:38.1053521Z at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
2026-01-14T15:29:38.1054621Z at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
2026-01-14T15:29:38.1055411Z at java.lang.Thread.run (Thread.java:840)
2026-01-14T15:29:38.1056211Z Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
2026-01-14T15:29:38.1057541Z at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1212)
2026-01-14T15:29:38.1058827Z at org.apache.maven.plugin.compiler.TestCompilerMojo.execute (TestCompilerMojo.java:199)
2026-01-14T15:29:38.1060206Z at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
2026-01-14T15:29:38.1061519Z at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
2026-01-14T15:29:38.1062842Z at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
2026-01-14T15:29:38.1064107Z at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
2026-01-14T15:29:38.1065251Z at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
2026-01-14T15:29:38.1066377Z at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
2026-01-14T15:29:38.1067493Z at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
2026-01-14T15:29:38.1068782Z at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
2026-01-14T15:29:38.1070132Z at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
2026-01-14T15:29:38.1071516Z at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
2026-01-14T15:29:38.1073335Z at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:193)
2026-01-14T15:29:38.1075081Z at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:180)
2026-01-14T15:29:38.1076313Z at java.util.concurrent.FutureTask.run (FutureTask.java:264)
2026-01-14T15:29:38.1077171Z at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:539)
2026-01-14T15:29:38.1078035Z at java.util.concurrent.FutureTask.run (FutureTask.java:264)
2026-01-14T15:29:38.1078987Z at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
2026-01-14T15:29:38.1080141Z at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
2026-01-14T15:29:38.1081073Z at java.lang.Thread.run (Thread.java:840)
2026-01-14T15:29:38.1081511Z [ERROR]
2026-01-14T15:29:38.1082097Z [ERROR] Re-run Maven using the -X switch to enable full debug logging.
2026-01-14T15:29:38.1082626Z [ERROR]
2026-01-14T15:29:38.1083287Z [ERROR] For more information about the errors and possible solutions, please read the following articles:
2026-01-14T15:29:38.1084318Z [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
2026-01-14T15:29:38.1084953Z [ERROR]
2026-01-14T15:29:38.1085436Z [ERROR] After correcting the problems, you can resume the build with the command
2026-01-14T15:29:38.1086155Z [ERROR] mvn <args> -rf :googlecloud-to-googlecloud
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah you are right, here it also depends using test jar.
Good news is Spanner PR (not affected by this pom change) does succeed: https://github.com/GoogleCloudPlatform/DataflowTemplates/actions/runs/20999239717/job/60366749767?pr=3217
|
Looks good :) |
No description provided.