This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.
commit: 2842389
buildURL: Build Status, Sponge
status: failed
Test output
self =
shared_state = {'resources': [
resource name: projects/580378083368/locations/us-central1/studies/3820615320851]}
@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)
else 2
)
for resource in shared_state["resources"]:
try:
if isinstance(
resource,
(
aiplatform.Endpoint,
aiplatform.Featurestore,
aiplatform.MatchingEngineIndexEndpoint,
),
):
# For endpoint, undeploy model then delete endpoint
# For featurestore, force delete its entity_types and features with the featurestore
resource.delete(force=True)
elif isinstance(resource, aiplatform.Experiment):
resource.delete(delete_backing_tensorboard_runs=True)
else:
resource.delete()
except exceptions.GoogleAPIError as e:
logging.error(f"Could not delete resource: {resource} due to: {e}")
# When an Experiment has a backing_tensorboard, the Experiment needs to be deleted first
# This is used by the autologging tests
for resource in shared_state["tensorboard"]:
E KeyError: 'tensorboard'
tests/system/aiplatform/e2e_base.py:207: KeyError
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the
flakybot: quietlabel andI will stop commenting.
commit: 2842389
buildURL: Build Status, Sponge
status: failed
Test output
self = shared_state = {'resources': [ resource name: projects/580378083368/locations/us-central1/studies/3820615320851]}
E KeyError: 'tensorboard'
tests/system/aiplatform/e2e_base.py:207: KeyError