[opensuse-factory] how to access in an openQA test the asset iso ?
Hello there, Is there a way in an already started openQA test to access the asset iso file already downloaded in /var/lib/openqa/factory/iso of openQA server? I noticed the presence of autoinst_url in apitest.pm I already using autoinst_url with two different input strings, but both failed to download with 404 error as detailed below. * "/$isoname" as parm: http://9.101.18.90/tests/27850 === my $isoname=basename(get_var('ISO')); assert_script_run("curl -f " . autoinst_url("/$isoname") . " -o /hd/fedora_image.iso", 360); === $ curl -f http://10.0.2.2:20013/ewBX4HG4hzB5aj1W/Fedora-Server-dvd-ppc64le-30-20190402... -o /hd/fedora_image.iso curl: (22) The requested URL returned error: 404 Not Found === * "/asset/iso/$isoname" as parm: === my $isoname=basename(get_var('ISO')); assert_script_run("curl -f " . autoinst_url("/asset/iso/$isoname") . " -o /hd/fedora_image.iso", 360); === $ curl -f http://10.0.2.2:20013/nw7c1mNIRFz8F2sl/asset/iso/Fedora-Server-dvd-ppc64le-3... -o /hd/fedora_image.iso curl: (22) The requested URL returned error: 404 Not Found === -- Michel Normand -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 03.04.19 um 14:36 schrieb Normand:
Hello there, Is there a way in an already started openQA test to access the asset iso file already downloaded in /var/lib/openqa/factory/iso of openQA server?
I noticed the presence of autoinst_url in apitest.pm I already using autoinst_url with two different input strings, but both failed to download with 404 error as detailed below.
The autoinst_url points to the locally running isotovideo, which provides a /data route to fetch things fom tests. There is no way to download the ISO from it. Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Normand
-
Stephan Kulow