----- Original Message -----
From: "Kamil Paral" <kparal(a)redhat.com>
To: "AutoQA development" <autoqa-devel(a)lists.fedorahosted.org>
Sent: Monday, September 19, 2011 9:58:11 PM
Subject: Re: iso watcher, post-iso-build event, mediakit_sanity test patch for review
> Install TCs/RCs should always be in
>
http://dl.fedoraproject.org/pub/alt/stage/*/Fedora/, and lives in
>
http://dl.fedoraproject.org/pub/alt/stage/*/Live/. Would it be
> enough
> to just
> ignore everything else?
It is doable, but submerging into individual directories is not
optimal, because it is accessible only through HTTP. It's not really
a one-liner. And more code -> more failures. But definitely a way to
go in the worst case.
The lftp also has a --include function, I have tried it, it does not work, I will
continue investigating it.
And James has written a script to download the iso before, I also updated it as the two
stage download script,
That uses the HTML parser libxml2 and find all the uris ends with 'iso', then
download them, That is a possible
solution, but the code is complicated.
We can also mirror all the files at dl.fp.o, but we have to write script to clarify the
categories, such as
DVD, netinst, Live, deltaiso, etc.
Hongqing
> Have you considered trying to get an account on one of the machines
> where the
> files already exist (such as
alt.fedoraproject.org) and doing the
> tests on that
> machine directly, without downloading? I have an account on
> alt.fp.o
> (for making
> delta ISOs) and can do the size and checksum tests. The repoclosure
> and file
> conflicts tests require loop-mounting the ISO, which can be done
> with
> fuse/fuseiso without root privileges (as I've verified on my home
> machine), even
> though the test instructions currently say to do it as root with
> the
> mount
> command. Unfortunately, the fusermount executable in the fuse
> package
> currently
> requires SUID, so it may not be possible for security reasons, but
> you could
> check if there's a workaround. (There ought to be one - the tests
> simply examine
> the contents of the ISO, and there's no good reason root privileges
> should be
> needed at all.)
Well, this is an interesting proposal. The test client could SSH into
the machine, execute the commands and receive the output. This of
course brings the question of authentication (will we copy the SSH
private key to every test client?) and security (infrastructure guys
wouldn't be probably enthusiastic about this). I would rather set up
our machine, that would mirror everything ISO-related and then
execute the tests there. That is also doable today I guess. Just the
mirroring process is not ideal with http-only solution.
Thanks, Andre, for interesting ideas!
_______________________________________________
autoqa-devel mailing list
autoqa-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/autoqa-devel