[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [osstest test] 60149: regressions - FAIL
On Fri, 2015-07-31 at 10:47 +0100, Ian Campbell wrote: > 2015-07-30 23:02:32 Z runvar store: > > redhat_cfgpath=/etc/xen/redhat.guest.osstest.cfg > > 2015-07-30 23:02:32 Z executing scp ... /home/logs/logs/60149/test > > -amd64 > > -i386-qemuu-rhel6hvm-amd/pinot1--redhat.guest.osstest.cfg > > root@xxxxxxxxxxxxx:/etc/xen/redhat.guest.osstest.cfg > > 2015-07-30 23:02:33 Z executing ssh ... root@xxxxxxxxxxxxx > > (echo > > xenvnc; echo xenvnc) | vncpasswd redhat.vncpw > > 2015-07-30 23:02:33 Z executing ssh ... root@xxxxxxxxxxxxx readlink > > /dev/pinot1/redhat.guest.osstest-disk > > 2015-07-30 23:02:33 Z executing ssh ... root@xxxxxxxxxxxxx lvdisplay - > > -colon /dev/pinot1/redhat.guest.osstest-disk > > Can't call method "create" on unblessed reference at > > Osstest/TestSupport.pm line 1436. > > I can't explain this one yet. > > Calling a method on an undefined value results in a different message, > "Can't call method "create" on an undefined value", so somehow > toolstack($ho) is an actual reference, but an unblessed one. I haven't > figured out how that can have happened yet. $ cat t.pl #!/usr/bin/perl -w use strict; my $foo = {}; my $baz = $foo->{Bar}->{Name} =~ m/123/ ? "A" : "B"; print "$baz\n"; $foo->{Bar}->create(); $ ./t.pl Use of uninitialized value in pattern match (m//) at /home/ianc/t.pl line 7. B Can't call method "create" on unblessed reference at /home/ianc/t.pl line 10. Whereas with: my $baz = $foo->{Bar} =~ m/123/ ? "A" : "B"; the error is: Can't call method "create" on an undefined value at /home/ianc/t.pl line 10. IOW something about: $foo->{Bar}->{Name} =~ m/123/ ? "A" : "B"; causes $foo->{Bar} to be initialised. IOW I think the fix to more_prepareguest_hvm is going to fix this too. I'll fold that in, drop the patch which does make test and force push to osstest's pretest, then I'll kill the current flight. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |