#392: Check whether compose_tree needs updating for F17 compose changes (treebuilder) ----------------------+----------------------------------------------------- Reporter: adamwill | Owner: tflink Type: task | Status: new Priority: major | Milestone: 0.8.0 Component: tests | Keywords: ----------------------+----------------------------------------------------- I don't really grok the details, but I know there have been some changes to the image compose process post-F16, involving a new branch of lorax called treebuilder:
https://fedoraproject.org/wiki/Anaconda/Features/Lorax-TreeBuilder
wwoods has a guide up at:
https://fedoraproject.org/wiki/User:Wwoods/Building_images_with_treebuilder
We should check the impact of this change on AutoQA. immediately, does the compose_tree script need updating?
#392: Check whether compose_tree needs updating for F17 compose changes (treebuilder) ----------------------+--------------------- Reporter: adamwill | Owner: tflink Type: task | Status: new Priority: major | Milestone: 0.8.0 Component: tests | Resolution: Keywords: | Blocked By: Blocking: | ----------------------+---------------------
Comment (by kparal):
compose_tree doesn't seem to work for f17 repos (it works for f16 repos): {{{ 13:27:30 DEBUG| [stdout] INFO: mock.py version 1.1.21 starting... 13:27:30 DEBUG| [stdout] State Changed: init plugins 13:27:30 DEBUG| [stdout] INFO: selinux disabled 13:27:30 DEBUG| [stdout] State Changed: start 13:27:30 DEBUG| [stdout] State Changed: lock buildroot 13:27:30 DEBUG| [stdout] Mock Version: 1.1.21 13:27:30 DEBUG| [stdout] INFO: Mock Version: 1.1.21 13:27:30 DEBUG| [stdout] INFO: copying /tmp/compose_tree-setup-YCIAI2.sh to /var/lib/mock/fedora-17-x86_64/root/tmp/setup.sh 13:27:30 DEBUG| [stdout] State Changed: unlock buildroot 13:27:30 DEBUG| [stdout] State Changed: end 13:27:31 DEBUG| [stdout] INFO: mock.py version 1.1.21 starting... 13:27:31 DEBUG| [stdout] State Changed: init plugins 13:27:31 DEBUG| [stdout] INFO: selinux disabled 13:27:31 DEBUG| [stdout] State Changed: start 13:27:31 DEBUG| [stdout] INFO: Running in chroot: bash /tmp/setup.sh 13:27:31 DEBUG| [stdout] State Changed: lock buildroot 13:27:31 DEBUG| [stdout] Mock Version: 1.1.21 13:27:31 DEBUG| [stdout] INFO: Mock Version: 1.1.21 13:27:31 DEBUG| [stdout] State Changed: chroot 13:27:31 DEBUG| [stdout] Traceback (most recent call last): 13:27:31 DEBUG| [stdout] File "/usr/sbin/mock", line 520, in <module> 13:27:31 DEBUG| [stdout] def do_buildsrpm(config_opts, chroot, options, args): 13:27:31 DEBUG| [stdout] File "/usr/sbin/mock", line 768, in main 13:27:31 DEBUG| [stdout] chroot.chroot(args, options) 13:27:31 DEBUG| [stdout] File "/usr/lib/python2.7/site- packages/mockbuild/backend.py", line 712, in chroot 13:27:31 DEBUG| [stdout] self.doChroot(args, shell=shell, cwd=options.cwd, printOutput=True) 13:27:31 DEBUG| [stdout] File "/usr/lib/python2.7/site- packages/mockbuild/backend.py", line 489, in doChroot 13:27:31 DEBUG| [stdout] printOutput=printOutput, *args, **kargs) 13:27:31 DEBUG| [stdout] File "<peak.util.decorators.rewrap wrapping mockbuild.util.do at 0x018B1AA0>", line 3, in do 13:27:31 DEBUG| [stdout] File "/usr/lib/python2.7/site- packages/mockbuild/trace_decorator.py", line 70, in trace 13:27:31 DEBUG| [stdout] result = func(*args, **kw) 13:27:31 DEBUG| [stdout] File "/usr/lib/python2.7/site- packages/mockbuild/util.py", line 316, in do 13:27:31 DEBUG| [stdout] preexec_fn = preexec, 13:27:31 DEBUG| [stdout] File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__ 13:27:31 DEBUG| [stdout] errread, errwrite) 13:27:31 DEBUG| [stdout] File "/usr/lib64/python2.7/subprocess.py", line 1228, in _execute_child 13:27:31 DEBUG| [stdout] raise child_exception 13:27:31 DEBUG| [stdout] OSError: [Errno 2] No such file or directory }}}
Tim, did you have time to have a look at it?
#392: Check whether compose_tree needs updating for F17 compose changes (treebuilder) ----------------------+--------------------- Reporter: adamwill | Owner: tflink Type: task | Status: new Priority: major | Milestone: 0.8.0 Component: tests | Resolution: Keywords: | Blocked By: Blocking: | ----------------------+---------------------
Comment (by tflink):
Replying to [comment:1 kparal]:
Tim, did you have time to have a look at it?
Yeah, I'll take a look at it. It worked for me on F17 last week, so I'm not sure what broke since then.
Reworking some of compose_tree has been on my wishlist for a while, though. It's way too easy to miss the error messages if it can't find a package and end up with a boot.iso that isn't using all of the packages you want it to use.
#392: Check whether compose_tree needs updating for F17 compose changes (treebuilder) ----------------------+---------------------- Reporter: adamwill | Owner: tflink Type: task | Status: closed Priority: major | Milestone: 0.8.0 Component: tests | Resolution: wontfix Keywords: | Blocked By: Blocking: | ----------------------+---------------------- Changes (by kparal):
* status: new => closed * resolution: => wontfix
Comment:
We removed compose_tree from master. I'll close this ticket and we can discuss this issue outside of autoqa trac.
autoqa-devel@lists.fedorahosted.org