5 * one build `2015.04.13--f14` under test
6 * another build `2015.04.13--f18` that you would like to use to create f18 nodes inside `2015.04.13--f14`
8 general idea is to use this command
10 root@testmaster ~/2015.04.13--f14 # run -g 2015.04.13--f18 ...
12 or in an equivalent manner
14 export bonding=bond212015.04.13--f18
19 * the build to test (f14) must be running
20 * the build to bond with does not need to run but needs to be have run under `../2015.04.13--f18` so that its arg-* files reflect its flavour
24 * rung can be used as a symlink to `TestMain.py`
25 * in this case it is like running `run -G`
27 * plus, `comp-testmaster` offers the convenience function
40 will define the f18 node flavour to the f14 build
42 # creating bonding node
46 will create an additional node in tested myplc.
48 **NOTE** for efficiency the IP and hostname of that node are stored in `arg-bonding-$bonding`
52 as a matter of fact when doing `run -g $bonding` one can invoke most of the usual targets, including for starting the node
54 rung start-node wait-node
58 alias rung='run -g $bonding'
59 bonding=2015.04.13--f21
62 cat arg-bonding-$bonding
71 targets like `nodedistro-f22` can be used to change a node's fcdistro
74 ## testing upgrade (one node)
76 testing a node upgrade; we start from a f20 myplc and upgrade the node to f22
86 run nodedistro-f22 upgrade
88 ### Reinstall - back to square 1
90 run nodedistro-f20 reinstall
92 ### Complete test sequence (containers)
94 A fairly decent test suite in this context is to run this
96 **Subject build is f>=18**
98 run nodedistro-f20 reinstall reboot nodedistro-f22 upgrade reboot reinstall reboot
100 The only thing missing with this is to test bootmanager in the context of a f14 bootCD
102 ### Complete test sequence (mixed vservers+containers)
104 If on the contrary the build under test is a f14, then run instead this; upgrading a f14 node to f>=18 is not supported due to /vservers being an ext3 filesystem
106 run nodedistro-f14 reinstall reboot nodedistro-f22 reinstall reboot upgrade reboot
108 ### Run bootmanager interactively during upgrade
109 To deploy experimental bootmanager code:
111 * Insert breakpoints in the bootmanager code
112 * turn on `BREAKPOINT_MODE = True` in `utils.py`
117 run nodedistro-f22 debug-mode
121 ./BootManager.py upgrade
123 Beware that when running installation in debug mode, some stuff like iirc `vgcreate` wait for 'y' for confirmation