Some recipe builds have NULL date_started but non-NULL date_finished
Bug #612899 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Aaron Bentley |
Bug Description
This causes further build requests of the same recipe to OOPS when it tries to calculate the build eta.
Related branches
lp://qastaging/~abentley/launchpad/build-duration
- Edwin Grubbs (community): Approve (code)
- Stuart Bishop (community): Approve (db)
- Robert Collins: Pending (db) requested
-
Diff: 231 lines (+43/-20)9 files modifieddatabase/sampledata/current-dev.sql (+9/-1)
database/sampledata/current.sql (+9/-1)
database/schema/patch-2207-75-0.sql (+9/-0)
lib/lp/buildmaster/tests/test_buildfarmjob.py (+1/-0)
lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+4/-2)
lib/lp/code/model/tests/test_sourcepackagerecipebuild.py (+3/-1)
lib/lp/soyuz/doc/binarypackagebuild.txt (+3/-1)
lib/lp/soyuz/stories/soyuz/xx-builds-pages.txt (+4/-4)
lib/lp/soyuz/tests/test_binarypackagebuild.py (+1/-10)
tags: | added: recipe |
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → Critical |
summary: |
- Recipe builds leave date_stated as null but date_finished as set in - build_farm_job + Some recipe builds have NULL date_started but non-NULL date_finished |
Changed in launchpad-code: | |
status: | Triaged → In Progress |
assignee: | nobody → Aaron Bentley (abentley) |
milestone: | none → 10.08 |
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
So far, our best evidence is that there is a bug in the migration script.
The attached SQL query shows the fragment of the migration script that is intended to calculate start_date producing NULL instead.