Bitten Upgrade Failure

16 September 2009
10:35

By cmlenz as Text only

1 Add filename column to log table to save where log files are stored.
2 Done.
3 Migrates logs that are stored in the bitten_log_messages table into
4 files.
5 Done.
6 Recreates the bitten_rule table with an integer id column rather than
7 a text one.
8 Done.
9 Adds a unique index on (config, platform, rev) to the bitten_build
10 table. Also drops the old index on bitten_build that serves no real
11 purpose anymore.
12
13 Config Name, Revision, Platform :: [<list of build ids>]
14 --------------------------------------------------------
15 trunk, 625, 2 :: [1411, 1417]
16 trunk, 721, 1 :: [1689, 1713]
17 trunk, 732, 2 :: [1740, 1734]
18 trunk, 654, 1 :: [1484, 1488]
19 trunk, 624, 1 :: [1412, 1418]
20 trunk, 601, 2 :: [1361, 1355]
21 trunk, 681, 1 :: [1570, 1564]
22 trunk, 701, 1 :: [1649, 1635]
23 trunk, 690, 2 :: [1595, 1603]
24 trunk, 717, 2 :: [1698, 1722]
25 trunk, 631, 1 :: [1428, 1434]
26 trunk, 668, 1 :: [1524, 1530]
27 trunk, 671, 1 :: [1546, 1538]
28 trunk, 626, 1 :: [1408, 1414]
29 trunk, 731, 2 :: [1742, 1736]
30 trunk, 704, 2 :: [1644, 1630]
31 trunk, 723, 1 :: [1685, 1709]
32 trunk, 720, 1 :: [1715, 1691]
33 trunk, 724, 1 :: [1683, 1707]
34 trunk, 665, 2 :: [1505, 1511]
35 trunk, 679, 2 :: [1575, 1569]
36 trunk, 730, 1 :: [1723, 1727]
37 trunk, 707, 2 :: [1624, 1638]
38 trunk, 663, 1 :: [1508, 1514]
39 trunk, 713, 2 :: [1668, 1664]
40 trunk, 719, 1 :: [1693, 1717]
41 trunk, 674, 1 :: [1532, 1540]
42 trunk, 680, 2 :: [1567, 1573]
43 trunk, 728, 1 :: [1675, 1699]
44 trunk, 670, 2 :: [1521, 1527]
45 trunk, 676, 2 :: [1561, 1553]
46 trunk, 705, 1 :: [1641, 1627]
47 trunk, 675, 1 :: [1562, 1554]
48 trunk, 664, 1 :: [1512, 1506]
49 trunk, 693, 1 :: [1606, 1608]
50 trunk, 632, 2 :: [1427, 1433]
51 trunk, 678, 2 :: [1549, 1557]
52 trunk, 655, 1 :: [1482, 1486]
53 trunk, 718, 1 :: [1695, 1719]
54 trunk, 703, 1 :: [1645, 1631]
55 trunk, 630, 2 :: [1431, 1437]
56 trunk, 673, 1 :: [1534, 1542]
57 trunk, 729, 1 :: [1729, 1725]
58 trunk, 677, 1 :: [1558, 1550]
59 trunk, 722, 1 :: [1687, 1711]
60 trunk, 756, 2 :: [1782, 1784]
61 trunk, 702, 1 :: [1633, 1647]
62 trunk, 706, 2 :: [1626, 1640]
63 trunk, 546, 1 :: [1248, 1250]
64 trunk, 672, 1 :: [1544, 1536]
65 trunk, 714, 1 :: [1661, 1665]
66 trunk, 602, 2 :: [1353, 1359]
67 trunk, 600, 1 :: [1356, 1362]
68 trunk, 640, 1 :: [1452, 1454]
69 trunk, 733, 2 :: [1738, 1732]
70 trunk, 725, 2 :: [1682, 1706]
71 trunk, 715, 1 :: [1670, 1669]
72 trunk, 726, 2 :: [1680, 1704]
73 trunk, 692, 1 :: [1590, 1598]
74 trunk, 615, 1 :: [1388, 1390]
75 trunk, 689, 2 :: [1597, 1605]
76 trunk, 691, 2 :: [1601, 1593]
77 trunk, 669, 2 :: [1529, 1523]
78 trunk, 717, 1 :: [1721, 1697]
79 trunk, 681, 2 :: [1571, 1565]
80 trunk, 701, 2 :: [1650, 1636]
81 trunk, 690, 1 :: [1594, 1602]
82 trunk, 732, 1 :: [1739, 1733]
83 trunk, 654, 2 :: [1489, 1485]
84 trunk, 624, 2 :: [1413, 1419]
85 trunk, 601, 1 :: [1360, 1354]
86 trunk, 625, 1 :: [1410, 1416]
87 trunk, 721, 2 :: [1714, 1690]
88 trunk, 727, 1 :: [1677, 1701]
89 trunk, 675, 2 :: [1563, 1555]
90 trunk, 664, 2 :: [1507, 1513]
91 trunk, 632, 1 :: [1426, 1432]
92 trunk, 674, 2 :: [1533, 1541]
93 trunk, 680, 1 :: [1572, 1566]
94 trunk, 728, 2 :: [1676, 1700]
95 trunk, 670, 1 :: [1520, 1526]
96 trunk, 676, 1 :: [1552, 1560]
97 trunk, 705, 2 :: [1628, 1642]
98 trunk, 713, 1 :: [1663, 1667]
99 trunk, 719, 2 :: [1694, 1718]
100 trunk, 730, 2 :: [1728, 1724]
101 trunk, 707, 1 :: [1623, 1637]
102 trunk, 663, 2 :: [1515, 1509]
103 trunk, 724, 2 :: [1684, 1708]
104 trunk, 665, 1 :: [1510, 1504]
105 trunk, 679, 1 :: [1574, 1568]
106 trunk, 720, 2 :: [1692, 1716]
107 trunk, 731, 1 :: [1741, 1735]
108 trunk, 704, 1 :: [1629, 1643]
109 trunk, 723, 2 :: [1686, 1710]
110 trunk, 631, 2 :: [1429, 1435]
111 trunk, 668, 2 :: [1531, 1525]
112 trunk, 671, 2 :: [1539, 1547]
113 trunk, 626, 2 :: [1409, 1415]
114 trunk, 600, 2 :: [1357, 1363]
115 trunk, 640, 2 :: [1453, 1455]
116 trunk, 714, 2 :: [1666, 1662]
117 trunk, 602, 1 :: [1352, 1358]
118 trunk, 756, 1 :: [1781, 1783]
119 trunk, 702, 2 :: [1634, 1648]
120 trunk, 706, 1 :: [1625, 1639]
121 trunk, 546, 2 :: [1251, 1249]
122 trunk, 672, 2 :: [1545, 1537]
123 trunk, 722, 2 :: [1688, 1712]
124 trunk, 729, 2 :: [1726, 1730]
125 trunk, 677, 2 :: [1551, 1559]
126 trunk, 703, 2 :: [1632, 1646]
127 trunk, 630, 1 :: [1430, 1436]
128 trunk, 673, 2 :: [1535, 1543]
129 trunk, 655, 2 :: [1483, 1487]
130 trunk, 718, 2 :: [1696, 1720]
131 trunk, 678, 1 :: [1548, 1556]
132 trunk, 669, 1 :: [1528, 1522]
133 trunk, 691, 1 :: [1600, 1592]
134 trunk, 692, 2 :: [1591, 1599]
135 trunk, 615, 2 :: [1391, 1389]
136 trunk, 689, 1 :: [1596, 1604]
137 trunk, 715, 2 :: [1671, 1672]
138 trunk, 726, 1 :: [1679, 1703]
139 trunk, 725, 1 :: [1681, 1705]
140 trunk, 733, 1 :: [1731, 1737]
141 trunk, 727, 2 :: [1678, 1702]
142 --------------------------------------------------------
143
144 Duplicate builds found. You can remove the builds you don't want to
145 keep by using this one-line command:
146
147 $ python -c "from bitten.model import Build; from trac.env import Environment; Build.fetch(Environment('/var/trac/bitten'), <buildid>).delete()"
148
149 ...where <buildid> is the id of the build to remove.
150
151 Upgrades cannot be performed until conflicts are resolved.
152 The upgrade script will now exit with an error:

Download Raw Source

Comments

No comments so far.