Skip to content

flaky test: TestTableOperations.test_drop_table #5293

@Xuanwo

Description

@Xuanwo

This test seems unstable:

_____________________ TestTableOperations.test_drop_table ______________________

self = <test_namespace_rest.TestTableOperations object at 0xff56ae5655b0>
rest_namespace = RestNamespace(RestNamespace { endpoint: "http://127.0.0.1:5798/", delimiter: "$" })

    def test_drop_table(self, rest_namespace):
        """Test dropping a table."""
        # Create parent namespace
        create_ns_req = CreateNamespaceRequest(id=["workspace"])
>       rest_namespace.create_namespace(create_ns_req)

python/tests/test_namespace_rest.py:260: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = RestNamespace(RestNamespace { endpoint: "http://127.0.0.1:5798/", delimiter: "$" })
request = CreateNamespaceRequest(id=['workspace'], mode=None, properties=None)

    def create_namespace(
        self, request: CreateNamespaceRequest
    ) -> CreateNamespaceResponse:
>       response_dict = self._inner.create_namespace(request.model_dump())
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       RuntimeError: Namespace error: Response error: ResponseContent { status: 500, content: "{\"error\":{\"message\":\"Failed to get latest version: Not found: tmp/tmpuaghetk4/__manifest/_versions, /home/runner/work/lance/lance/rust/lance-table/src/io/commit.rs:355:23\",\"type\":\"InternalServerError\"}}", entity: Some(UnknownValue(Object {"error": Object {"message": String("Failed to get latest version: Not found: tmp/tmpuaghetk4/__manifest/_versions, /home/runner/work/lance/lance/rust/lance-table/src/io/commit.rs:355:23"), "type": String("InternalServerError")}})) }, /home/runner/work/lance/lance/rust/lance-namespace-impls/src/rest.rs:279:23

/opt/hostedtoolcache/Python/3.13.9/arm64/lib/python3.13/site-packages/lance/namespace.py:246: RuntimeError

More details could be found at https://github.com/lance-format/lance/actions/runs/19513077571/job/55857663028

Metadata

Metadata

Assignees

Labels

ciGithub Action or Test issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions