Broken test case for IPA standy extension
Bug #1326849 reported by
Alexander Gordeev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Ghe Rivero |
Bug Description
abnormaly slowest test found:
extensions.
what I see when I take a closer look why it took so long for me (but not for gating check):
1) It really requests the url from http://
2) It really tries to create a file in /tmp. But on my machien it always gets "[Errno 13] Permission denied: '/tmp/fake_id'"
3) This exception is totally ignored because result command_status didn't checked.
tags: |
added: agent removed: ironic-python-agent |
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ironic: | |
assignee: | nobody → Ghe Rivero (ghe.rivero) |
Changed in ironic: | |
status: | In Progress → Fix Committed |
Changed in ironic: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
A quick test in my system, passes it really quickly, 0.036... but the test is bogus:
Inside _cache_image
- blockdev is not found in the path (/sbin in a debian system)
- Even if we add the path, needs to be run with root privileges to get some useful information
- If it gets useful information, needs to write the image to the disk, so you can say goodbay to all your data :)
And if any of those things fails, the test will pass because there isn't any assert in the test.