ec2test passes successfully without running any tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Māris Fogels |
Bug Description
ec2 passes without running any tests and without failing!
The error happens because the utilities/ec2 script imports _pythonpath.py from the local branch directory. Even if you run the 'ec2' command from via a symlink, if you run it in the local branch, it will actually pick up the *local* _pythonpath, and start running the older, local copy of ec2test: call it v1. When your branch is copied up to ec2, test_on_merge will check out a fresh copy of devel, and then merge your branch into it. That merge updates your Makefile to the latest version: v2. The ec2 runner then calls the v2 Makefile with your v1 remote.py: fail. The detailed test log will say SUCCESS with a single message:
"make: Nothing to be done for `ec2_check'."
This bug affects people who have the 'ec2' command linked to 'lp-branches/
As a workaround, you can:
a) merge 'devel' into your branch
b) run the 'utilities/ec2' script from within the branch you are currently testing.
Related branches
- Gary Poster (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedMakefile (+1/-1)
- Māris Fogels (community): Approve
-
Diff: 31 lines (+1/-13)2 files modifiedsetup.py (+1/-0)
utilities/ec2 (+0/-13)
Changed in launchpad-foundations: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
Fixed in stable r10978 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 10978>