Abacn opened a new issue, #25601:
URL: https://github.com/apache/beam/issues/25601

   ### What happened?
   
   Python PostCommit jdbcio_xlang_it_test failing. Jenkins log does not show 
much message, but running locally the actual error shows:
   ```
   ERROR:apache_beam.utils.subprocess_server:Starting job service with ['java', 
'-jar', 
'/Users/yathu/.apache_beam/cache/jars/composite-jars/9b6e2cb01bd723cbd87a5e71462f25664f165993697afc98e1c64c34bf814f98.jar',
 '50709', 
'--filesToStage=/Users/yathu/dev/virtualenv/py38beam/lib/sdks/java/extensions/schemaio-expansion-service/build/libs/beam-sdks-java-extensions-schemaio-expansion-service-2.47.0-SNAPSHOT.jar,/Users/yathu/.apache_beam/cache/jars/postgresql-42.2.16.jar']
   ERROR:apache_beam.utils.subprocess_server:Error bringing up service
   Traceback (most recent call last):
     File 
"/Users/yathu/dev/virtualenv/py38beam/lib/python3.8/site-packages/apache_beam/utils/subprocess_server.py",
 line 88, in start
       raise RuntimeError(
   RuntimeError: Service failed to start up with error 1
   Traceback (most recent call last):
   ```
   This is because there are two `@AutoService AvroSchemaIOProvider` classes so 
the schemaio expansion service fails to start.
   
   The fix could either be similar to the workaround here: 
https://github.com/apache/beam/blob/011296c14659f80c8ecbeefda79ecc3f1113bd95/sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/io/Providers.java#L45
   
   Or simply remove AvroSchemaIOProvider in core. 
   
   
   ### Issue Failure
   
   Failure: Test is continually failing
   
   ### Issue Priority
   
   Priority: 1 (unhealthy code / failing or flaky postcommit so we cannot be 
sure the product is healthy)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to