All of lore.kernel.org
 help / color / mirror / Atom feed
* OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
@ 2013-10-30 18:57 Dario Faggioli
  2013-10-30 19:09 ` Wei Liu
  0 siblings, 1 reply; 15+ messages in thread
From: Dario Faggioli @ 2013-10-30 18:57 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Campbell, Ian Jackson, Wei Liu


[-- Attachment #1.1: Type: text/plain, Size: 5393 bytes --]

Hi,

I'm trying (again) to setup OSSTest for me in standalone mode (again
because I did it and succeeded once, but it was a while back and I'd
like to restart from scratch).

With the config file pasted at the end of this e-mail I managed to get
past standalone-reset:

dariof@hoopak:~/osstest.git$ ./standalone-reset 
ok.

Also:

dariof@hoopak:~/osstest.git$ ls /usr/groups/netboot//dariof/osstest/
debian-installer/  tmp/

dariof@hoopak:~/osstest.git$ ls /usr/groups/netboot//dariof/osstest/tmp/
ultralisk--initrd.gz

dariof@hoopak:~/osstest.git$ ls /usr/groups/netboot//dariof/osstest/debian-installer/
amd64/  armhf/  i386/

dariof@hoopak:~/osstest.git$ ls /usr/groups/netboot//dariof/osstest/debian-installer/amd64 -l
total 4
drwxr-sr-x 2 dariof xendev 4096 ott 30 18:27 2013-10-30-wheezy/
lrwxrwxrwx 1 dariof xendev   17 ott 30 18:27 current -> 2013-10-30-wheezy/

However, trying to run a ts-host-insall in a way that used to work for
me, here's what I get:

dariof@hoopak:~/osstest.git$ OSSTEST_JOB=test-amd64-amd64-xl ./ts-host-install host=ultralisk arch=amd64
2013-10-30 18:50:47 Z starting standalone.test-amd64-amd64-xl
2013-10-30 18:50:47 Z setting all_hostflags=arch-amd64,arch-xen-amd64,suite-wheezy,purpose-test
2013-10-30 18:50:47 Z setting arch=amd64
2013-10-30 18:50:47 Z setting buildjob=build-amd64
2013-10-30 18:50:47 Z setting debian_arch=amd64
2013-10-30 18:50:47 Z setting debian_kernkind=pvops
2013-10-30 18:50:47 Z setting kernbuildjob=build-amd64-pvops
2013-10-30 18:50:47 Z setting kernkind=pvops
2013-10-30 18:50:47 Z setting toolstack=xl
2013-10-30 18:50:47 Z setting xenbuildjob=build-amd64
2013-10-30 18:50:47 Z host: selected ultralisk <unknown-ether> 10.80.228.103
2013-10-30 18:50:47 Z power: setting 0 for ultralisk
Executing snmpset -v1 -c private 10.80.16.136 .1.3.6.1.4.1.318.1.1.12.3.3.1.1.4.3 i 2
Executing snmpset -v1 -c private 10.80.16.136 .1.3.6.1.4.1.318.1.1.12.3.3.1.1.4.2 i 2

2013-10-30 18:50:50 Z read /home/dariof/.ssh/authorized_keys ok.
2013-10-30 18:50:50 Z read /home/dariof/.ssh/id_dsa.pub absent.
2013-10-30 18:50:50 Z read /home/dariof/.ssh/id_rsa.pub ok.
2013-10-30 18:50:50 Z read id_rsa_osstest.pub ok.
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_authkeys
2013-10-30 18:50:50 Z read overlay-local/etc/ssh/ssh_host_rsa_key.pub ok.
2013-10-30 18:50:50 Z adding host key for ultralisk.uk.xensource.com,ultralisk,10.80.228.103
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_known_hosts
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_overlay.tar
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_overlay-local.tar
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_X2flibX2fpartmanX2finitX2edX2f000override-parted-devices
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_early_command-0
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_X2flibX2fpartmanX2finitX2edX2f25erase-other-disks
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_early_command-1
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_late_command-0
2013-10-30 18:50:50 Z wrote /home/dariof/public_html/osstest/ultralisk_preseed
2013-10-30 18:50:50 Z warning: no firmware cpio found for firmware-bnx2 at /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/firmware-bnx2.cpio.gz
tmp/t.ultralisk.initrd.cpio:	 93.4% -- replaced with tmp/t.ultralisk.initrd.cpio.gz
2013-10-30 18:50:51 Z using initrds: /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/initrd.gz tmp/t.ultralisk.initrd.cpio.gz
cat: /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
cat -- /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/initrd.gz tmp/t.ultralisk.initrd.cpio.gz >/usr/groups/netboot/dariof/osstest/tmp/ultralisk--initrd.gz: 256  at Osstest.pm line 275.

Which is completely understandable, since there is no 'current-wheezy'
dir there. What I miss is from where that directory name comes from and
how to change that to something sensible via config file tweaks or
anything else.

So, what am I missing and/or doing wrong?

I tried to remove any reference to the firmware-bnx2 thing, but nothing
really changed.

Thanks and Regards,
Dario

--
config file:
DnsDomain uk.xensource.com
NetNameservers 10.80.248.2 10.80.16.28 10.80.16.67

DebianNonfreeFirmware firmware-bnx2

#DebianSuite squeeze
DebianSuite wheezy

TestHost ultralisk

HostProp_ultralisk_PowerMethod xenuse
HostProp_ultralisk_Build_Make_Flags -j16
HostFlags_ultralisk need-firmware-deb-firmware-bnx2

HostProp_DhcpWatchMethod leases dhcp3 dhcp.uk.xensource.com:5556

TftpPath /usr/groups/netboot/

DebianMirrorHost debian.uk.xensource.com

DebianPreseed= <<'END'
d-i clock-setup/ntp-server string ntp.uk.xensource.com
END

WebspaceUrl http://dt47.uk.xensource.com/~dariof/
WebspaceLog /var/log/apache2/access.log



-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-30 18:57 OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory Dario Faggioli
@ 2013-10-30 19:09 ` Wei Liu
  2013-10-30 19:19   ` Ben Guthro
  2013-10-30 21:36   ` Dario Faggioli
  0 siblings, 2 replies; 15+ messages in thread
From: Wei Liu @ 2013-10-30 19:09 UTC (permalink / raw)
  To: Dario Faggioli; +Cc: Ian Campbell, Ian Jackson, Wei Liu, xen-devel

I think Ben had the same problem but he worked around it. There's no
current-wheezy directory, only current.

TBH I didn't encounter this when I played with OSSTest so I presume
somehting changed.

On Wed, Oct 30, 2013 at 07:57:26PM +0100, Dario Faggioli wrote:
> 2013-10-30 18:50:50 Z warning: no firmware cpio found for firmware-bnx2 at /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/firmware-bnx2.cpio.gz

Here, the "current-wheezy" thing.

> tmp/t.ultralisk.initrd.cpio:	 93.4% -- replaced with tmp/t.ultralisk.initrd.cpio.gz
> 2013-10-30 18:50:51 Z using initrds: /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/initrd.gz tmp/t.ultralisk.initrd.cpio.gz

Ditto.

> cat: /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
> cat -- /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/initrd.gz tmp/t.ultralisk.initrd.cpio.gz >/usr/groups/netboot/dariof/osstest/tmp/ultralisk--initrd.gz: 256  at Osstest.pm line 275.
> 
> Which is completely understandable, since there is no 'current-wheezy'
> dir there. What I miss is from where that directory name comes from and
> how to change that to something sensible via config file tweaks or
> anything else.
> 

setup_pxeboot_firstboot in ts-host-install, IIRC.

And this is the "bad" commit ;-)

 commit ef3a6f2162ced5cfeb08b437315b69ad1ddbc5ed
 Author: Ian Campbell <ian.campbell@citrix.com>
 Date:   Mon Sep 23 10:14:02 2013 +0100

  Add -$suite suffix to TftpDiVersion in code
         
  The suite differs by $arch but the config file arrangements
  only allow for a single TftpDiVersion setting.

> So, what am I missing and/or doing wrong?
> 
> I tried to remove any reference to the firmware-bnx2 thing, but nothing
> really changed.
> 
> Thanks and Regards,
> Dario
> 
> --
> config file:
> DnsDomain uk.xensource.com
> NetNameservers 10.80.248.2 10.80.16.28 10.80.16.67
> 
> DebianNonfreeFirmware firmware-bnx2
> 
> #DebianSuite squeeze
> DebianSuite wheezy
> 
> TestHost ultralisk
> 
> HostProp_ultralisk_PowerMethod xenuse
> HostProp_ultralisk_Build_Make_Flags -j16
> HostFlags_ultralisk need-firmware-deb-firmware-bnx2
> 
> HostProp_DhcpWatchMethod leases dhcp3 dhcp.uk.xensource.com:5556
> 
> TftpPath /usr/groups/netboot/
> 
> DebianMirrorHost debian.uk.xensource.com
> 
> DebianPreseed= <<'END'
> d-i clock-setup/ntp-server string ntp.uk.xensource.com
> END
> 
> WebspaceUrl http://dt47.uk.xensource.com/~dariof/

BTW you do know you're using my devbox, right? ;-)

Wei.

> WebspaceLog /var/log/apache2/access.log
> 
> 
> 
> -- 
> <<This happens because I choose it to happen!>> (Raistlin Majere)
> -----------------------------------------------------------------
> Dario Faggioli, Ph.D, http://about.me/dario.faggioli
> Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
> 

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-30 19:09 ` Wei Liu
@ 2013-10-30 19:19   ` Ben Guthro
  2013-10-30 21:39     ` Dario Faggioli
  2013-10-31  9:45     ` Ian Campbell
  2013-10-30 21:36   ` Dario Faggioli
  1 sibling, 2 replies; 15+ messages in thread
From: Ben Guthro @ 2013-10-30 19:19 UTC (permalink / raw)
  To: Wei Liu; +Cc: Ian Campbell, Dario Faggioli, Ian Jackson, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 3760 bytes --]

On Wed, Oct 30, 2013 at 3:09 PM, Wei Liu <wei.liu2@citrix.com> wrote:

> I think Ben had the same problem but he worked around it. There's no
> current-wheezy directory, only current.
>
>
See my patch attached to this message:
http://markmail.org/message/sa2bp6n6zm334xo3

Specifically, this hunk:

--- a/ts-host-install
+++ b/ts-host-install
@@ -122,7 +122,7 @@ END
 sub setup_pxeboot_firstboot($) {
     my ($ps_url) = @_;

-    my $d_i=
$c{TftpDiBase}.'/'.$r{arch}.'/'.$c{TftpDiVersion}.'-'.$ho->{Suite};
+    my $d_i= $c{TftpDiBase}.'/'.$r{arch}.'/'.$c{TftpDiVersion};

     my @installcmdline= qw(vga=normal);
     push @installcmdline, di_installcmdline_core($ho, $ps_url, %xopts);



TBH I didn't encounter this when I played with OSSTest so I presume
> somehting changed.
>
> On Wed, Oct 30, 2013 at 07:57:26PM +0100, Dario Faggioli wrote:
> > 2013-10-30 18:50:50 Z warning: no firmware cpio found for firmware-bnx2
> at
> /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/firmware-bnx2.cpio.gz
>
> Here, the "current-wheezy" thing.
>
> > tmp/t.ultralisk.initrd.cpio:   93.4% -- replaced with
> tmp/t.ultralisk.initrd.cpio.gz
> > 2013-10-30 18:50:51 Z using initrds:
> /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/initrd.gz
> tmp/t.ultralisk.initrd.cpio.gz
>
> Ditto.
>
> > cat:
> /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/initrd.gz:
> No such file or directory
> > cat --
> /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy/initrd.gz
> tmp/t.ultralisk.initrd.cpio.gz
> >/usr/groups/netboot/dariof/osstest/tmp/ultralisk--initrd.gz: 256  at
> Osstest.pm line 275.
> >
> > Which is completely understandable, since there is no 'current-wheezy'
> > dir there. What I miss is from where that directory name comes from and
> > how to change that to something sensible via config file tweaks or
> > anything else.
> >
>
> setup_pxeboot_firstboot in ts-host-install, IIRC.
>
> And this is the "bad" commit ;-)
>
>  commit ef3a6f2162ced5cfeb08b437315b69ad1ddbc5ed
>  Author: Ian Campbell <ian.campbell@citrix.com>
>  Date:   Mon Sep 23 10:14:02 2013 +0100
>
>   Add -$suite suffix to TftpDiVersion in code
>
>   The suite differs by $arch but the config file arrangements
>   only allow for a single TftpDiVersion setting.
>
> > So, what am I missing and/or doing wrong?
> >
> > I tried to remove any reference to the firmware-bnx2 thing, but nothing
> > really changed.
> >
> > Thanks and Regards,
> > Dario
> >
> > --
> > config file:
> > DnsDomain uk.xensource.com
> > NetNameservers 10.80.248.2 10.80.16.28 10.80.16.67
> >
> > DebianNonfreeFirmware firmware-bnx2
> >
> > #DebianSuite squeeze
> > DebianSuite wheezy
> >
> > TestHost ultralisk
> >
> > HostProp_ultralisk_PowerMethod xenuse
> > HostProp_ultralisk_Build_Make_Flags -j16
> > HostFlags_ultralisk need-firmware-deb-firmware-bnx2
> >
> > HostProp_DhcpWatchMethod leases dhcp3 dhcp.uk.xensource.com:5556
> >
> > TftpPath /usr/groups/netboot/
> >
> > DebianMirrorHost debian.uk.xensource.com
> >
> > DebianPreseed= <<'END'
> > d-i clock-setup/ntp-server string ntp.uk.xensource.com
> > END
> >
> > WebspaceUrl http://dt47.uk.xensource.com/~dariof/
>
> BTW you do know you're using my devbox, right? ;-)
>
> Wei.
>
> > WebspaceLog /var/log/apache2/access.log
> >
> >
> >
> > --
> > <<This happens because I choose it to happen!>> (Raistlin Majere)
> > -----------------------------------------------------------------
> > Dario Faggioli, Ph.D, http://about.me/dario.faggioli
> > Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
> >
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>

[-- Attachment #1.2: Type: text/html, Size: 5818 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-30 19:09 ` Wei Liu
  2013-10-30 19:19   ` Ben Guthro
@ 2013-10-30 21:36   ` Dario Faggioli
  2013-10-31  9:48     ` Wei Liu
  1 sibling, 1 reply; 15+ messages in thread
From: Dario Faggioli @ 2013-10-30 21:36 UTC (permalink / raw)
  To: Wei Liu; +Cc: Ian Campbell, Ian Jackson, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1750 bytes --]

On mer, 2013-10-30 at 19:09 +0000, Wei Liu wrote:
> I think Ben had the same problem but he worked around it. There's no
> current-wheezy directory, only current.
> 
Right. I noticed that. What I was missing was where and how the wrong
string was being put together.

> TBH I didn't encounter this when I played with OSSTest so I presume
> somehting changed.
> 
Yep, I figured (that's why you were on Cc! :-P).

> > --
> > config file:
> > DnsDomain uk.xensource.com
> > NetNameservers 10.80.248.2 10.80.16.28 10.80.16.67
> > 
> > DebianNonfreeFirmware firmware-bnx2
> > 
> > #DebianSuite squeeze
> > DebianSuite wheezy
> > 
> > TestHost ultralisk
> > 
> > HostProp_ultralisk_PowerMethod xenuse
> > HostProp_ultralisk_Build_Make_Flags -j16
> > HostFlags_ultralisk need-firmware-deb-firmware-bnx2
> > 
> > HostProp_DhcpWatchMethod leases dhcp3 dhcp.uk.xensource.com:5556
> > 
> > TftpPath /usr/groups/netboot/
> > 
> > DebianMirrorHost debian.uk.xensource.com
> > 
> > DebianPreseed= <<'END'
> > d-i clock-setup/ntp-server string ntp.uk.xensource.com
> > END
> > 
> > WebspaceUrl http://dt47.uk.xensource.com/~dariof/
> 
> BTW you do know you're using my devbox, right? ;-)
> 
Well, if you did not want that to happen, you shouldn't have shared your
config file! :-P No, of course I'm kidding, I'll change this, I just
happened to forget changing this since it is actually (thanks to NIS, I
think) working. :-)

Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-30 19:19   ` Ben Guthro
@ 2013-10-30 21:39     ` Dario Faggioli
  2013-10-31  9:45     ` Ian Campbell
  1 sibling, 0 replies; 15+ messages in thread
From: Dario Faggioli @ 2013-10-30 21:39 UTC (permalink / raw)
  To: Ben Guthro; +Cc: Ian Campbell, Ian Jackson, Wei Liu, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1189 bytes --]

On mer, 2013-10-30 at 15:19 -0400, Ben Guthro wrote:


> On Wed, Oct 30, 2013 at 3:09 PM, Wei Liu <wei.liu2@citrix.com> wrote:
>         I think Ben had the same problem but he worked around it.
>         There's no
>         current-wheezy directory, only current.
>         
> 
> 
> See my patch attached to this message:
> http://markmail.org/message/sa2bp6n6zm334xo3
> 
Oh, ok, thanks! I missed your e-mail since mailman kicked me out of
xen-devel last Friday, and I just figured it out today (was on vacation
Mon and Tue)! :-/

> Specifically, this hunk:
> 
> 
> --- a/ts-host-install
> +++ b/ts-host-install
> @@ -122,7 +122,7 @@ END
>  sub setup_pxeboot_firstboot($) {
>      my ($ps_url) = @_;
> 
> 
> -    my $d_i=
> $c{TftpDiBase}.'/'.$r{arch}.'/'.$c{TftpDiVersion}.'-'.$ho->{Suite};
> +    my $d_i= $c{TftpDiBase}.'/'.$r{arch}.'/'.$c{TftpDiVersion};
> 
Got it. Thanks again,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-30 19:19   ` Ben Guthro
  2013-10-30 21:39     ` Dario Faggioli
@ 2013-10-31  9:45     ` Ian Campbell
  2013-10-31 11:53       ` Ian Jackson
  1 sibling, 1 reply; 15+ messages in thread
From: Ian Campbell @ 2013-10-31  9:45 UTC (permalink / raw)
  To: Ben Guthro; +Cc: Ian Jackson, Dario Faggioli, Wei Liu, xen-devel

On Wed, 2013-10-30 at 15:19 -0400, Ben Guthro wrote:
> 
> 
> 
> On Wed, Oct 30, 2013 at 3:09 PM, Wei Liu <wei.liu2@citrix.com> wrote:
>         I think Ben had the same problem but he worked around it.
>         There's no
>         current-wheezy directory, only current.
>         
> 
> 
> See my patch attached to this message:
> http://markmail.org/message/sa2bp6n6zm334xo3

Gah, sorry about this, I could have sworn that I had sent out the
following but it looks like I hadn't. I think this solves it in a
different way to yours, or maybe they are complimentary. I'll let Ian
decide which combination he prefers...

Ian.


>From 7e26739811e763e8290643b60cc4f004a9f6cfa5 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ian.campbell@citrix.com>
Date: Mon, 14 Oct 2013 10:32:20 +0100
Subject: [PATCH] standalone-reset: Add -$suite to current symlink

Required after ef3a6f2162ce "Add -$suite suffix to TftpDiVersion in code"
---
 standalone-reset |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/standalone-reset b/standalone-reset
index 621de59..039dfea 100755
--- a/standalone-reset
+++ b/standalone-reset
@@ -100,8 +100,8 @@ else
 			echo "** need to generate d-i with firmware for $arch"
 			div=`./mg-debian-installer-update \
 					$suite $arch $firmware`
-			rm -f "$tftp/$dibase/$arch/current"
-			ln -s $div "$tftp/$dibase/$arch/current"
+			rm -f "$tftp/$dibase/$arch/current-$suite"
+			ln -s $div "$tftp/$dibase/$arch/current-$suite"
 		done
 	fi
 fi
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-30 21:36   ` Dario Faggioli
@ 2013-10-31  9:48     ` Wei Liu
  0 siblings, 0 replies; 15+ messages in thread
From: Wei Liu @ 2013-10-31  9:48 UTC (permalink / raw)
  To: Dario Faggioli; +Cc: Ian Campbell, Ian Jackson, Wei Liu, xen-devel

On Wed, Oct 30, 2013 at 10:36:02PM +0100, Dario Faggioli wrote:
[...]
> Well, if you did not want that to happen, you shouldn't have shared your
> config file! :-P No, of course I'm kidding, I'll change this, I just
> happened to forget changing this since it is actually (thanks to NIS, I
> think) working. :-)
> 

Yes, thanks to NIS it is working. But I have plan to setup my own NIS
soon because the shared NFS / NIS are way too slow. I just don't want
your controller mysteriously stops working and you spend several days
trying to figure out that problem. ;-)

Wei.

> Thanks and Regards,
> Dario
> 
> -- 
> <<This happens because I choose it to happen!>> (Raistlin Majere)
> -----------------------------------------------------------------
> Dario Faggioli, Ph.D, http://about.me/dario.faggioli
> Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
> 

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-31  9:45     ` Ian Campbell
@ 2013-10-31 11:53       ` Ian Jackson
  2013-10-31 12:48         ` Ben Guthro
  2013-11-01  9:21         ` Dario Faggioli
  0 siblings, 2 replies; 15+ messages in thread
From: Ian Jackson @ 2013-10-31 11:53 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Dario Faggioli, Wei Liu, Ben Guthro, xen-devel

Ian Campbell writes ("Re: [Xen-devel] OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory"):
> Gah, sorry about this, I could have sworn that I had sent out the
> following but it looks like I hadn't. I think this solves it in a
> different way to yours, or maybe they are complimentary. I'll let Ian
> decide which combination he prefers...

I think this one is correct.  There's a lot of other stuff in Ben's
patch which I need to disentangle etc.

> Subject: [PATCH] standalone-reset: Add -$suite to current symlink

I'm going to commit this.

Ian.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-31 11:53       ` Ian Jackson
@ 2013-10-31 12:48         ` Ben Guthro
  2013-10-31 13:00           ` Ian Campbell
  2013-11-01  9:21         ` Dario Faggioli
  1 sibling, 1 reply; 15+ messages in thread
From: Ben Guthro @ 2013-10-31 12:48 UTC (permalink / raw)
  To: Ian Jackson; +Cc: Ian Campbell, Dario Faggioli, Wei Liu, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1635 bytes --]

On Thu, Oct 31, 2013 at 7:53 AM, Ian Jackson <Ian.Jackson@eu.citrix.com>wrote:

> Ian Campbell writes ("Re: [Xen-devel] OSSTest:
> .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file
> or directory"):
> > Gah, sorry about this, I could have sworn that I had sent out the
> > following but it looks like I hadn't. I think this solves it in a
> > different way to yours, or maybe they are complimentary. I'll let Ian
> > decide which combination he prefers...
>
> I think this one is correct.  There's a lot of other stuff in Ben's
> patch which I need to disentangle etc.
>

Agreed. I suspected mine was not the "right way" to fix this

As for the other things in the patch - yes, I apologize for not breaking
them all out into separate patches.

There are basically a few things I fixed, that are all tangled up in that
patch (other than the above hack)

1. Ensure dirs exist when doing the mkdir, or standalone-reset may fail

ensure_dir () { if test -d "$1"; then return; fi - mkdir "$1" + mkdir -p
"$1" }

2. armfh mirror was returning 404, failing setup
This is the addition of the DebianArches stuff to the config file, Osstest.pm,
and standalone-reset.
This allows you to confine your setup (and install files) to only those
architectures you are interested in.

There may be other places in the code that does a similar loop to
standalone-reset,
that also needs adjustment - I was focused on just getting bootstrapped.

3. Add ts-host-suspend job, plus new package dependency for pm-suspend


>
> > Subject: [PATCH] standalone-reset: Add -$suite to current symlink
>
> I'm going to commit this.
>
> Ian.
>

[-- Attachment #1.2: Type: text/html, Size: 4395 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-31 12:48         ` Ben Guthro
@ 2013-10-31 13:00           ` Ian Campbell
  2013-10-31 13:13             ` Ian Campbell
  0 siblings, 1 reply; 15+ messages in thread
From: Ian Campbell @ 2013-10-31 13:00 UTC (permalink / raw)
  To: Ben Guthro; +Cc: Wei Liu, Dario Faggioli, Ian Jackson, xen-devel

On Thu, 2013-10-31 at 08:48 -0400, Ben Guthro wrote:
> 2. armfh mirror was returning 404, failing setup This is the addition
> of the DebianArches stuff to the config file, Osstest.pm, and
> standalone-reset. This allows you to confine your setup (and install
> files) to only those architectures you are interested in. 

I think this is my error when I added the ARM stuff. armhf is only
available from Wheezy (Debian 7.0) onwards while osstest defaults to
Squeeze (Debian 6.0). Obviously I had a local config override to Wheezy
while I worked on this.

I thought I had considered and fixed the case I expect you are hitting
-- obviously not though because neither standalone-reset nor
mg-debian-installer-update shows any sign of it...

I'll have a look.

Ian.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-31 13:00           ` Ian Campbell
@ 2013-10-31 13:13             ` Ian Campbell
  2013-10-31 13:56               ` Ben Guthro
  0 siblings, 1 reply; 15+ messages in thread
From: Ian Campbell @ 2013-10-31 13:13 UTC (permalink / raw)
  To: Ben Guthro; +Cc: Ian Jackson, Dario Faggioli, Wei Liu, xen-devel

On Thu, 2013-10-31 at 13:00 +0000, Ian Campbell wrote:
> I'll have a look.

This perhaps?

8>-------------------

>From 68fdc338e6f37ede4170e725cb50a51758b716ed Mon Sep 17 00:00:00 2001
From: Ian Campbell <ian.campbell@citrix.com>
Date: Thu, 31 Oct 2013 13:12:34 +0000
Subject: [PATCH] mg-debian-installer-update: restrict armhf to Wheezy+

---
 mg-debian-installer-update |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/mg-debian-installer-update b/mg-debian-installer-update
index c0b547f..452a2ad 100755
--- a/mg-debian-installer-update
+++ b/mg-debian-installer-update
@@ -32,12 +32,16 @@ fail () { echo >&2 "$0: $1"; exit 1; }
 site=http://ftp.debian.org/debian/
 sbase=$site/dists/$suite
 
-case $arch in
-    i386|amd64)
+case ${suite}_${arch} in
+    *_i386|*_amd64)
         src=$sbase/main/installer-$arch/current/images/netboot/debian-installer/$arch
         files='initrd.gz linux'
         ;;
-    armhf)
+    lenny_armhf|squeeze_armhf)
+        # No such thing.
+        exit 0
+        ;;
+    *_armhf)
         # Use the vexpress image, we are going to bash in our own
         # kernel+modules anyway.
         src=$sbase/main/installer-$arch/current/images/vexpress/netboot
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-31 13:13             ` Ian Campbell
@ 2013-10-31 13:56               ` Ben Guthro
  2013-10-31 14:15                 ` Ian Jackson
  0 siblings, 1 reply; 15+ messages in thread
From: Ben Guthro @ 2013-10-31 13:56 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Ian Jackson, Dario Faggioli, Wei Liu, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1601 bytes --]

On Thu, Oct 31, 2013 at 9:13 AM, Ian Campbell <Ian.Campbell@citrix.com>wrote:

> On Thu, 2013-10-31 at 13:00 +0000, Ian Campbell wrote:
> > I'll have a look.
>
> This perhaps?
>

It looks reasonable, and should solve the underlying 404 problem that I ran
into - but still means that if you really only care about x86_64, you are
mirroring a bunch of stuff you'll never use.

Ben



>
> 8>-------------------
>
> From 68fdc338e6f37ede4170e725cb50a51758b716ed Mon Sep 17 00:00:00 2001
> From: Ian Campbell <ian.campbell@citrix.com>
> Date: Thu, 31 Oct 2013 13:12:34 +0000
> Subject: [PATCH] mg-debian-installer-update: restrict armhf to Wheezy+
>
> ---
>  mg-debian-installer-update |   10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/mg-debian-installer-update b/mg-debian-installer-update
> index c0b547f..452a2ad 100755
> --- a/mg-debian-installer-update
> +++ b/mg-debian-installer-update
> @@ -32,12 +32,16 @@ fail () { echo >&2 "$0: $1"; exit 1; }
>  site=http://ftp.debian.org/debian/
>  sbase=$site/dists/$suite
>
> -case $arch in
> -    i386|amd64)
> +case ${suite}_${arch} in
> +    *_i386|*_amd64)
>
>  src=$sbase/main/installer-$arch/current/images/netboot/debian-installer/$arch
>          files='initrd.gz linux'
>          ;;
> -    armhf)
> +    lenny_armhf|squeeze_armhf)
> +        # No such thing.
> +        exit 0
> +        ;;
> +    *_armhf)
>          # Use the vexpress image, we are going to bash in our own
>          # kernel+modules anyway.
>          src=$sbase/main/installer-$arch/current/images/vexpress/netboot
> --
> 1.7.10.4
>
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2469 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-31 13:56               ` Ben Guthro
@ 2013-10-31 14:15                 ` Ian Jackson
  2013-10-31 14:22                   ` Ben Guthro
  0 siblings, 1 reply; 15+ messages in thread
From: Ian Jackson @ 2013-10-31 14:15 UTC (permalink / raw)
  To: Ben Guthro; +Cc: Dario Faggioli, Wei Liu, Ian Campbell, xen-devel

Ben Guthro writes ("Re: [Xen-devel] OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory"):
> 
> On Thu, Oct 31, 2013 at 9:13 AM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> 
>     On Thu, 2013-10-31 at 13:00 +0000, Ian Campbell wrote:
>     > I'll have a look.
> 
>     This perhaps?
> 
> 
> It looks reasonable, and should solve the underlying 404 problem that I ran
> into - but still means that if you really only care about x86_64, you are
> mirroring a bunch of stuff you'll never use.

These installer files are fairly small, aren't they ?

Ian.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-31 14:15                 ` Ian Jackson
@ 2013-10-31 14:22                   ` Ben Guthro
  0 siblings, 0 replies; 15+ messages in thread
From: Ben Guthro @ 2013-10-31 14:22 UTC (permalink / raw)
  To: Ian Jackson; +Cc: Dario Faggioli, Wei Liu, Ian Campbell, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 779 bytes --]

On Thu, Oct 31, 2013 at 10:15 AM, Ian Jackson <Ian.Jackson@eu.citrix.com>wrote:

> Ben Guthro writes ("Re: [Xen-devel] OSSTest:
> .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file
> or directory"):
> >
> > On Thu, Oct 31, 2013 at 9:13 AM, Ian Campbell <Ian.Campbell@citrix.com>
> wrote:
> >
> >     On Thu, 2013-10-31 at 13:00 +0000, Ian Campbell wrote:
> >     > I'll have a look.
> >
> >     This perhaps?
> >
> >
> > It looks reasonable, and should solve the underlying 404 problem that I
> ran
> > into - but still means that if you really only care about x86_64, you are
> > mirroring a bunch of stuff you'll never use.
>
> These installer files are fairly small, aren't they ?
>

Yes, I suppose it is an unnecessary optimization.

Ben



>
> Ian.
>

[-- Attachment #1.2: Type: text/html, Size: 1515 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory
  2013-10-31 11:53       ` Ian Jackson
  2013-10-31 12:48         ` Ben Guthro
@ 2013-11-01  9:21         ` Dario Faggioli
  1 sibling, 0 replies; 15+ messages in thread
From: Dario Faggioli @ 2013-11-01  9:21 UTC (permalink / raw)
  To: Ian Jackson; +Cc: Ian Campbell, Wei Liu, Ben Guthro, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1122 bytes --]

On gio, 2013-10-31 at 11:53 +0000, Ian Jackson wrote:
> Ian Campbell writes ("Re: [Xen-devel] OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory"):
> > Gah, sorry about this, I could have sworn that I had sent out the
> > following but it looks like I hadn't. I think this solves it in a
> > different way to yours, or maybe they are complimentary. I'll let Ian
> > decide which combination he prefers...
> 
> I think this one is correct.  There's a lot of other stuff in Ben's
> patch which I need to disentangle etc.
> 
> > Subject: [PATCH] standalone-reset: Add -$suite to current symlink
> 
> I'm going to commit this.
> 
FTR, with this applied it is working for me, and I'm now able to run
OSSTest's jobs (apart from networking weirdness in the Cambridge lab
network :-P).

Thanks,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-11-01  9:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-30 18:57 OSSTest: .../osstest/debian-installer/amd64/current-wheezy/initrd.gz: No such file or directory Dario Faggioli
2013-10-30 19:09 ` Wei Liu
2013-10-30 19:19   ` Ben Guthro
2013-10-30 21:39     ` Dario Faggioli
2013-10-31  9:45     ` Ian Campbell
2013-10-31 11:53       ` Ian Jackson
2013-10-31 12:48         ` Ben Guthro
2013-10-31 13:00           ` Ian Campbell
2013-10-31 13:13             ` Ian Campbell
2013-10-31 13:56               ` Ben Guthro
2013-10-31 14:15                 ` Ian Jackson
2013-10-31 14:22                   ` Ben Guthro
2013-11-01  9:21         ` Dario Faggioli
2013-10-30 21:36   ` Dario Faggioli
2013-10-31  9:48     ` Wei Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.