Extension classes with multiple base classes aren't merged correctly.
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Autopilot |
High
|
Unassigned | ||
| | autopilot (Ubuntu) |
Undecided
|
Unassigned | ||
| | Vivid |
Undecided
|
Unassigned | ||
Bug Description
Related to this bug: lp:1376996 where the fix for that introduced other issues for existing application test cases this code needs to be fixed so this aforementioned bug is fixed completely.
The actual bug is that the extension classes aren't applied in the call to `_try_custom_
base + tuple(set(
)
But this introduced other errors and at that point the quick fix was no longer quick.
[Impact]
* It is possible that a test authors tests fail intermittently due to the base classes of a cpo not being resolved correctly and thus added methods etc. are not available (resulting in an attribute failure).
* justification: Ensures that test author tests for applications have a decreased likelihood of failing
* This fix improves the handling of the what is expected when using a custom proxy object and is stricter in what it allows.
[Test Case]
* To reproduce this bug:
- Install the current python3-autopilot (apt-get install python3-autopilot python-
- run this test (using the following command):
$ python3 -m autopilot.run run autopilot.
[Regression Potential]
* Changes to the existing core app autopilot tests have been landed, otherwise there would be a potential regression where tests start failing with an exception [1].
[1] ValueError with the message starting: "base_class: {passed} does not appear to be the actual base CPO class."
* This change has been tested against the existing core app tests (Using a jenkins job similar to the smokeeng dash board) where all the tests are run. The results are inspected.
Related branches
| description: | updated |
| Christopher Lee (veebers) wrote : | #1 |
| summary: |
- Handling of extension classes and bases classes needs revamped + Extension classes with multiple base classes aren't merged correctly. |
| Changed in autopilot: | |
| status: | Confirmed → Fix Released |
| description: | updated |
Hello Christopher, or anyone else affected,
Accepted autopilot into vivid-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in autopilot (Ubuntu Vivid): | |
| status: | New → Fix Committed |
| tags: | added: verification-needed |
| tags: |
added: verification-done removed: verification-needed |
| Chris J Arges (arges) wrote : Update Released | #3 |
The verification of the Stable Release Update for autopilot has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package autopilot - 1.5.1+15.
---------------
autopilot (1.5.1+
[ CI Train Bot ]
* New rebuild forced.
[ Christopher Lee, Federico Gimenez, Leo Arias, Richard Huddie, Vincent Ladeuil ]
* Bug fixes for logging (debug level now -vv) and application of CPO
bases for proxy objects. (LP: #1425721, #1376996, #1420949)
-- CI Train Bot <email address hidden> Fri, 22 May 2015 16:54:03 +0000
| Changed in autopilot (Ubuntu Vivid): | |
| status: | Fix Committed → Fix Released |
| Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package autopilot - 1.5.1+15.
---------------
autopilot (1.5.1+
[ Christopher Lee ]
* Bug fixes including updated dependencies.
[ Ken VanDine ]
* Bug fixes including updated dependencies.
-- CI Train Bot <email address hidden> Thu, 23 Jul 2015 14:39:21 +0000
| Changed in autopilot (Ubuntu): | |
| status: | New → Fix Released |

[Impact]
* It is possible that a test authors tests fail intermittently due to the base classes of a cpo not being resolved correctly and thus added methods etc. are not available (resulting in an attribute failure).
* justification: Ensures that test author tests for applications have a decreased likelihood of failing
* This fix improves the handling of the what is expected when using a custom proxy object and is stricter in what it allows.
[Test Case]
* To reproduce this bug: windowmocker) tests.functiona l.test_ introspection_ features. IntrospectionFe atureTests. test_customised _proxy_ classes_ have_extension_ classes
- Install the current python3-autopilot (apt-get install python3-autopilot python-
- run this test (using the following command):
$ python3 -m autopilot.run run autopilot.
[Regression Potential]
* Changes to the existing core app autopilot tests have been landed, otherwise there would be a potential regression where tests start failing with an exception [1].
[1] ValueError with the message starting: "base_class: {passed} does not appear to be the actual base CPO class."
* This change has been tested against the existing core app tests (Using a jenkins job similar to the smokeeng dash board) where all the tests are run. The results are inspected.