Re: [Xen-devel] osstest standalong complaining about 'logs/standalone'

2016-05-02 Thread Konrad Rzeszutek Wilk
On Mon, May 02, 2016 at 09:21:18PM -0400, Konrad Rzeszutek Wilk wrote:
> This is brand new Jessie install (8.04) and this is what I've for my
> .xen-osstest/config:
> 
> The network is very simple - this 'osstest' is the only host for
> the whole 192.168.110.0 subnet. It has PXE, DHCP, DNS and ntpd running
> and configured.
> 
> Here is what I've for my .xen-osstest/config:
> 
> konrad@g-osstest:~/osstest$ more ~/.xen-osstest/config 
> DnsDomain   dumpdata.com
> NetNameservers  192.168.110.2
> HostProp_DhcpWatchMethod leases dhcp3 /var/lib/dhcp/dhcpd.leases
> AuthorizedKeysFiles
> /home/konrad/.ssh/id_rsa.pub:/home/konrad/.ssh/authorized_keys2
> 
> DebianNonfreeFirmware=''
> 
> TftpPath /srv/tftp/
> TftpPlayDir osstest/
> TftpDiVersion 2015-09-07
> DebianSuite jessie
> 
> WebspaceFile/srv/tftp/public_html/
> WebspaceUrl http://192.168.110.0/public_html/
 ^
This is actually 192.168.110.2.

> WebspaceLog /var/log/apache3/access.log
> DebianMirrorHosthttp://192.168.110.2/debian/
> 
> TestHostg-vmtest
> TestHost_g-vmtest_Ether  00:0F:4B:00:00:86
> TestHost_g-vmtest_NtpServer 192.168.110.2
> TestHost_g-vmtest_Power_Method manual
> 
> I ran the ./standalone-reset and it did its thing.

> 
> After that I tried to run the first job and go:

If I also create an directory 'logs' in the osstest.git directory
this finishes, albeit it actually doesn't do anything.

Should WebspaceFile actually point to /home/konrad/osstest.git/logs ?
(And naturally I also need to modify apache2 alias for 'logs' to point
to this directory?)

The logs don't actually have anything:

konrad@g-osstest:~/osstest$ find logs
logs
logs/standalone
logs/standalone/build-amd64

Ah. Found out partially what was the problem. My /etc/resolv.conf
was pointing to 8.8.8.8 instead of 192.168.110.2 so it did not resolve
g-vmtest.dumpdata.com

Now of to find out where (or who?) creates the pxelinux.cfg/default
file.. 

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


[Xen-devel] osstest standalong complaining about 'logs/standalone'

2016-05-02 Thread Konrad Rzeszutek Wilk
This is brand new Jessie install (8.04) and this is what I've for my
.xen-osstest/config:

The network is very simple - this 'osstest' is the only host for
the whole 192.168.110.0 subnet. It has PXE, DHCP, DNS and ntpd running
and configured.

Here is what I've for my .xen-osstest/config:

konrad@g-osstest:~/osstest$ more ~/.xen-osstest/config 
DnsDomain   dumpdata.com
NetNameservers  192.168.110.2
HostProp_DhcpWatchMethod leases dhcp3 /var/lib/dhcp/dhcpd.leases
AuthorizedKeysFiles
/home/konrad/.ssh/id_rsa.pub:/home/konrad/.ssh/authorized_keys2

DebianNonfreeFirmware=''

TftpPath /srv/tftp/
TftpPlayDir osstest/
TftpDiVersion 2015-09-07
DebianSuite jessie

WebspaceFile/srv/tftp/public_html/
WebspaceUrl http://192.168.110.0/public_html/
WebspaceLog /var/log/apache2/access.log
DebianMirrorHosthttp://192.168.110.2/debian/

TestHostg-vmtest
TestHost_g-vmtest_Ether  00:0F:4B:00:00:86
TestHost_g-vmtest_NtpServer 192.168.110.2
TestHost_g-vmtest_Power_Method manual

I ran the ./standalone-reset and it did its thing.

After that I tried to run the first job and go:

2016-05-03 01:07:06 Z starting standalone.build-amd64 ts-build-check
build-check(1)
2016-05-03 01:07:06 Z standalone.build-amd64 == 1 testid build-check(1) 
==
2016-05-03 01:07:06 Z awaiting standalone.build-amd64 ts-build-check 
2016-05-03 01:07:06 Z standalone.build-amd64 1 status status blocked
2016-05-03 01:07:06 Z finished standalone.build-amd64 ts-build-check blocked 
child process exited abnormally
+ OSSTEST_JOB=build-amd64
+ export OSSTEST_JOB
+ ./ts-build-check
2016-05-03 01:07:06 Z starting standalone.build-amd64
2016-05-03 01:07:06 Z setting arch=amd64
2016-05-03 01:07:06 Z setting build_lvextend_max=50
2016-05-03 01:07:06 Z setting enable_ovmf=true
2016-05-03 01:07:06 Z setting enable_xend=false
2016-05-03 01:07:06 Z setting enable_xsm=false
2016-05-03 01:07:06 Z setting host=g-vmtest
2016-05-03 01:07:06 Z setting 
host_hostflags=share-build-jessie-amd64,arch-amd64,suite-jessie,purpose-build
2016-05-03 01:07:06 Z setting revision_ovmf=
2016-05-03 01:07:06 Z setting revision_qemu=
2016-05-03 01:07:06 Z setting revision_qemuu=
2016-05-03 01:07:06 Z setting revision_seabios=
2016-05-03 01:07:06 Z setting revision_xen=
2016-05-03 01:07:06 Z setting tree_ovmf=
2016-05-03 01:07:06 Z setting 
tree_qemu=git://xenbits.xen.org/qemu-xen-traditional.git
2016-05-03 01:07:06 Z setting tree_qemuu=git://xenbits.xen.org/qemu-xen.git
2016-05-03 01:07:06 Z setting tree_seabios=
2016-05-03 01:07:06 Z setting tree_xen=git://xenbits.xen.org/xen.git
logs/standalone No such file or directory at Osstest.pm line 380.
+ rc=2
+ date -u +%Y-%m-%d %H:%M:%S Z exit status 2
2016-05-03 01:07:06 Z exit status 2
+ exit 2
2016-05-03 01:07:06 Z standalone.build-amd64 check-not-blocked failed:
test script failed

I am not an expert on Perl so I figured I missed some configuration
entry. Or perhaps is osstest.git suppose to be in ${WebspaceUrl} ?

Thanks!

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