functional mysql tests fail the majority of the time: "Detach replicas before deleting replica source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Expired
|
Undecided
|
Unassigned |
Bug Description
We've been trying to push bot-proposed requirement syncs to trove stable/juno in preparation for a release, but can't seem to get a successful merge. The gate-trove-
Tests fail with the first error at:
2015-04-10 06:48:18.116 | 2015-04-10 06:48:18.104 | Wait until the instance is created and set up as slave.
2015-04-10 06:56:00.459 | 2015-04-10 06:56:00.446 | test_slave_created FAIL
2015-04-10 06:56:00.460 | 2015-04-10 06:56:00.447 | VerifySlave
2015-04-10 06:56:00.461 | 2015-04-10 06:56:00.449 | test_correctly_
2015-04-10 06:56:00.463 | 2015-04-10 06:56:00.450 | test_backup_deleted SKIP: Failure in <function test_slave_created at 0x7fc896dd5b90>
2015-04-10 06:56:00.464 | 2015-04-10 06:56:00.452 | test_slave_
2015-04-10 06:56:00.466 | 2015-04-10 06:56:00.453 | test_create_
2015-04-10 06:56:00.467 | 2015-04-10 06:56:00.455 | test_database_
2015-04-10 06:56:00.469 | 2015-04-10 06:56:00.456 | test_existing_
2015-04-10 06:56:00.470 | 2015-04-10 06:56:00.458 | test_slave_
2015-04-10 06:56:00.472 | 2015-04-10 06:56:00.459 | TestInstanceListing
2015-04-10 06:56:00.474 | 2015-04-10 06:56:00.461 | Test replication information in instance listing.
2015-04-10 06:56:00.475 | 2015-04-10 06:56:00.462 | test_get_
2015-04-10 06:56:00.476 | 2015-04-10 06:56:00.464 | test_get_
2015-04-10 06:56:00.479 | 2015-04-10 06:56:00.466 | DetachReplica
2015-04-10 06:56:00.480 | 2015-04-10 06:56:00.467 | delete_
2015-04-10 06:56:00.482 | 2015-04-10 06:56:00.469 | test_detach_replica SKIP: Failure in <function test_slave_created at 0x7fc896dd5b90>
2015-04-10 06:56:00.483 | 2015-04-10 06:56:00.470 | test_slave_
2015-04-10 06:56:00.484 | 2015-04-10 06:56:00.472 | test_slave_
2015-04-10 06:56:00.486 | 2015-04-10 06:56:00.473 | DeleteSlaveInstance
2015-04-10 06:56:00.487 | 2015-04-10 06:56:00.475 | test_delete_
2015-04-10 06:56:00.489 | 2015-04-10 06:56:00.476 | DeleteInstance
2015-04-10 06:56:00.490 | 2015-04-10 06:56:00.478 | Delete the created instance.
2015-04-10 06:56:00.573 | 2015-04-10 06:56:00.560 | test_delete ERROR
2015-04-10 06:56:00.574 | 2015-04-10 06:56:00.561 | test_volume_
2015-04-10 06:56:00.576 | 2015-04-10 06:56:00.563 | AfterDeleteChecks
2015-04-10 06:56:00.944 | 2015-04-10 06:56:00.931 | test_instance_
2015-04-10 06:56:01.032 | 2015-04-10 06:56:01.019 | test_instance_
2015-04-10 06:56:01.033 | 2015-04-10 06:56:01.021 |
2015-04-10 06:56:01.035 | 2015-04-10 06:56:01.022 | =======
2015-04-10 06:56:01.037 | 2015-04-10 06:56:01.024 | ERROR: proboscis.
2015-04-10 06:56:01.038 | 2015-04-10 06:56:01.026 | -------
2015-04-10 06:56:01.040 | 2015-04-10 06:56:01.027 | Traceback (most recent call last):
2015-04-10 06:56:01.042 | 2015-04-10 06:56:01.029 | File "/usr/local/
2015-04-10 06:56:01.043 | 2015-04-10 06:56:01.030 | compatability.
2015-04-10 06:56:01.044 | 2015-04-10 06:56:01.032 | File "/usr/local/
2015-04-10 06:56:01.046 | 2015-04-10 06:56:01.033 | func()
2015-04-10 06:56:01.047 | 2015-04-10 06:56:01.035 | File "/usr/local/
2015-04-10 06:56:01.049 | 2015-04-10 06:56:01.036 | func(test_
2015-04-10 06:56:01.050 | 2015-04-10 06:56:01.038 | File "/opt/stack/
2015-04-10 06:56:01.052 | 2015-04-10 06:56:01.039 | dbaas.instances
2015-04-10 06:56:01.054 | 2015-04-10 06:56:01.041 | File "/usr/local/
2015-04-10 06:56:01.055 | 2015-04-10 06:56:01.042 | resp, body = self.api.
2015-04-10 06:56:01.057 | 2015-04-10 06:56:01.044 | File "/usr/local/
2015-04-10 06:56:01.058 | 2015-04-10 06:56:01.046 | return self._cs_
2015-04-10 06:56:01.060 | 2015-04-10 06:56:01.047 | File "/usr/local/
2015-04-10 06:56:01.061 | 2015-04-10 06:56:01.049 | return request()
2015-04-10 06:56:01.063 | 2015-04-10 06:56:01.050 | File "/usr/local/
2015-04-10 06:56:01.064 | 2015-04-10 06:56:01.052 | **kwargs)
2015-04-10 06:56:01.066 | 2015-04-10 06:56:01.053 | File "/usr/local/
2015-04-10 06:56:01.067 | 2015-04-10 06:56:01.055 | resp, body = self.request(url, method, **kwargs)
2015-04-10 06:56:01.069 | 2015-04-10 06:56:01.056 | File "/usr/local/
2015-04-10 06:56:01.070 | 2015-04-10 06:56:01.058 | raise exceptions.
2015-04-10 06:56:01.072 | 2015-04-10 06:56:01.059 | Forbidden: Detach replicas before deleting replica source. (HTTP 403)
2015-04-10 06:56:01.073 | 2015-04-10 06:56:01.060 | -------
2015-04-10 06:56:01.075 | 2015-04-10 06:56:01.062 | troveclient.
2015-04-10 06:56:01.076 | 2015-04-10 06:56:01.063 |
2015-04-10 06:56:01.077 | 2015-04-10 06:56:01.065 | troveclient.
2015-04-10 06:56:01.079 | 2015-04-10 06:56:01.066 |
2015-04-10 06:56:01.080 | 2015-04-10 06:56:01.068 | -------
See: https:/
or
At 1h20 min per test run, this makes a failed check+verify almost 3 hours of wasted time. This is currently blocking the 2014.2.3 release at midnight :|
Changed in trove: | |
status: | New → Incomplete |
The issue indicated is a red herring - the test is failing because it can't create a slave - the detach is merely a side effect of the failure.
Unfortunately, the tests are now passing in the indicated changeset and the linked log doesn't appear to be available.