apache / apache/beam

[Failing Test]: GoogleCloudStorageImpl constructor mismatch in GcsUtil

Open
#35,560 4 comments 0 reactions 2 assignees Claimed by @Abacn View on GitHub
bug failing test java P2 permared pinned tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What happened?

https://github.com/apache/beam/pull/35175 was drafted to check compatibility of the candidate versions of LTS 9. Test failures show that a dependency conflict was encountered related to the `GoogleCloudStorageImpl` class in the `sdks:java:extensions:google-cloud-platform-core` module.

```
> Task :sdks:java:extensions:google-cloud-platform-core:compileJava
/runner/_work/beam/beam/sdks/java/extensions/google-cloud-platform-core/src/main/java/org/apache/beam/sdk/extensions/gcp/util/GcsUtil.java:745: error: constructor GoogleCloudStorageImpl in class GoogleCloudStorageImpl cannot be applied to given types;
return new GoogleCloudStorageImpl(options, storage, credentials);
^
required: GoogleCloudStorageOptions,Credentials,HttpTransport,HttpRequestInitializer,Function,String>
found: GoogleCloudStorageOptions,Storage,Credentials
reason: actual and formal argument lists differ in length
```

This issue needs to be addressed to ensure compatibility with LTS 9 libraries.

### 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 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

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.