This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-1.0
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-1.0 by this push:
new 0340734ff9 [CI] Fix Test gvfs with clould storage ran error (#9044)
0340734ff9 is described below
commit 0340734ff91616fc8209139edf6d36b1ec2f00c7
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 10 09:34:19 2025 -0800
[CI] Fix Test gvfs with clould storage ran error (#9044)
### What changes were proposed in this pull request?
Fix Test gvfs with S3 and GCS IT issue in Github action.
### Why are the changes needed?
#9034
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
Test on personal workflow
https://github.com/danhuawang/gravitino-test/actions/runs/19139519221/job/54700607820
<img width="894" height="766" alt="image"
src="https://github.com/user-attachments/assets/f6a728b7-a4ae-4026-b4d6-2eb15be9785f"
/>
<img width="1124" height="779" alt="image"
src="https://github.com/user-attachments/assets/e82576a1-d936-414a-909b-cb2d93db6f35"
/>
<img width="1113" height="628" alt="image"
src="https://github.com/user-attachments/assets/c21ae3ae-307a-4e62-8262-6597101f5225"
/>
Co-authored-by: Danhua Wang <[email protected]>
---
clients/client-python/tests/integration/test_gvfs_with_gcs.py | 1 +
.../client-python/tests/integration/test_gvfs_with_gcs_credential.py | 1 +
clients/client-python/tests/integration/test_gvfs_with_s3.py | 1 +
clients/client-python/tests/integration/test_gvfs_with_s3_credential.py | 1 +
.../integration/test/GravitinoVirtualFileSystemGCSCredentialIT.java | 2 +-
5 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/clients/client-python/tests/integration/test_gvfs_with_gcs.py
b/clients/client-python/tests/integration/test_gvfs_with_gcs.py
index e2d1bfa0d8..3f7b353e40 100644
--- a/clients/client-python/tests/integration/test_gvfs_with_gcs.py
+++ b/clients/client-python/tests/integration/test_gvfs_with_gcs.py
@@ -52,6 +52,7 @@ class TestGvfsWithGCS(TestGvfsWithHDFS):
key_file = os.environ.get("GCS_SERVICE_ACCOUNT_JSON_PATH")
bucket_name = os.environ.get("GCS_BUCKET_NAME")
metalake_name: str = "TestGvfsWithGCS_metalake" + str(randint(1, 10000))
+ catalog_name: str = "test_gvfs_catalog" + str(randint(1, 10000))
def setUp(self):
self.options = {
diff --git
a/clients/client-python/tests/integration/test_gvfs_with_gcs_credential.py
b/clients/client-python/tests/integration/test_gvfs_with_gcs_credential.py
index ca60b1a72a..046dc5fe8c 100644
--- a/clients/client-python/tests/integration/test_gvfs_with_gcs_credential.py
+++ b/clients/client-python/tests/integration/test_gvfs_with_gcs_credential.py
@@ -46,6 +46,7 @@ class TestGvfsWithGCSCredential(TestGvfsWithGCS):
key_file = os.environ.get("GCS_SERVICE_ACCOUNT_JSON_PATH_FOR_CREDENTIAL")
bucket_name = os.environ.get("GCS_BUCKET_NAME_FOR_CREDENTIAL")
metalake_name: str = "TestGvfsWithGCSCredential_metalake" + str(randint(1,
10000))
+ catalog_name: str = "test_gvfs_catalog" + str(randint(1, 10000))
def setUp(self):
self.options = {
diff --git a/clients/client-python/tests/integration/test_gvfs_with_s3.py
b/clients/client-python/tests/integration/test_gvfs_with_s3.py
index 3cc97bd344..91bce125c7 100644
--- a/clients/client-python/tests/integration/test_gvfs_with_s3.py
+++ b/clients/client-python/tests/integration/test_gvfs_with_s3.py
@@ -56,6 +56,7 @@ class TestGvfsWithS3(TestGvfsWithHDFS):
bucket_name = os.environ.get("S3_BUCKET_NAME")
metalake_name: str = "TestGvfsWithS3_metalake" + str(randint(1, 10000))
+ catalog_name: str = "test_gvfs_catalog" + str(randint(1, 10000))
def setUp(self):
self.options = {
diff --git
a/clients/client-python/tests/integration/test_gvfs_with_s3_credential.py
b/clients/client-python/tests/integration/test_gvfs_with_s3_credential.py
index 2eb86ef8ad..6841493d83 100644
--- a/clients/client-python/tests/integration/test_gvfs_with_s3_credential.py
+++ b/clients/client-python/tests/integration/test_gvfs_with_s3_credential.py
@@ -59,6 +59,7 @@ class TestGvfsWithS3Credential(TestGvfsWithS3):
s3_role_arn = os.environ.get("S3_STS_ROLE_ARN")
metalake_name: str = "TestGvfsWithS3Credential_metalake" + str(randint(1,
10000))
+ catalog_name: str = "test_gvfs_catalog" + str(randint(1, 10000))
def setUp(self):
self.options = {
diff --git
a/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemGCSCredentialIT.java
b/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemGCSCredentialIT.java
index 0e8cced875..fcf523feae 100644
---
a/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemGCSCredentialIT.java
+++
b/clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/integration/test/GravitinoVirtualFileSystemGCSCredentialIT.java
@@ -136,7 +136,7 @@ public class GravitinoVirtualFileSystemGCSCredentialIT
extends GravitinoVirtualF
}
protected String genStorageLocation(String fileset) {
- return String.format("gs://%s/dir1/dir2/%s/", BUCKET_NAME, fileset);
+ return String.format("gs://%s/dir1/dir2/%s", BUCKET_NAME, fileset);
}
@Disabled(