[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#830102: sitesummary: autopkgtest failure



On Fri, Jul 22, 2016 at 12:21:52PM +0200, Wolfgang Schweer wrote:
> On Thu, Jul 21, 2016 at 06:53:10PM -0400, Jeremy Bicha wrote:
> > I then added -y to the two apt lines you posted for them to work, but
> > the test still failed after that point:
>  
> [..]
> 
> > <address>Apache/2.4.18 (Ubuntu) Server at localhost Port 80</address>
> > </body></html>
> > '
> > error: unable to submit to 'http://localhost/cgi-bin/sitesummary-collector.cgi'
> > /var/lib/sitesummary
> > /var/lib/sitesummary/www
> > /var/lib/sitesummary/www/index.html
> > /var/lib/sitesummary/tmpstorage
> > /var/lib/sitesummary/entries
> > error: did not find entry
> 
> This seems to indicate that the directory /var/lib/sitesummary/entries 
> is still empty (no ether-* subdirs, no data to submit).
> 
> IMO sitesummary-client didn't collect any information for some reason 
> and the error message is sort of misleading.

If DNS is working for the host this dir should be generated:
/var/lib/sitesummary/entries/ether-<ip>
else the MAC address would be taken:
/var/lib/sitesummary/entries/ether-<mac>

AFAICT the mac address can't be determined any longer. This might be due 
to changes to perl. Also, the case that now device names other than 
eth0, eth1 etc. might be set should be considered. (Sitesummary.pm uses 
ethX style to determine the MAC if I understand the code correctly.)

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: