Note: #1958 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.
commit: 2235305
buildURL: Build Status, Sponge
status: failed
Test output
self =
shared_state = {}
@pytest.fixture(scope="class")
def tear_down_resources(self, shared_state: Dict[str, Any]):
"""Delete every Vertex AI resource created during test"""
yield
# TODO(b/218310362): Add resource deletion system tests
# Bring all Endpoints to the front of the list
# Ensures Models are undeployed first before we attempt deletion
shared_state["resources"].sort(
key=lambda r: 1
if isinstance(r, aiplatform.Endpoint)
or isinstance(r, aiplatform.MatchingEngineIndexEndpoint)
or isinstance(r, aiplatform.Experiment)
else 2
)
E KeyError: 'resources'
tests/system/aiplatform/e2e_base.py:178: KeyError
Note: #1958 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.
commit: 2235305
buildURL: Build Status, Sponge
status: failed
Test output
self = shared_state = {}
E KeyError: 'resources'
tests/system/aiplatform/e2e_base.py:178: KeyError