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

Bug#830102: sitesummary: autopkgtest failure



On Thu, Jul 21, 2016 at 5:20 PM, Petter Reinholdtsen <pere@hungry.com> wrote:
> This proposed patch should solve the problem.

I tried testing this locally with autopkgtest --schroot sid-amd64, but I got
test-server-client   SKIP Test requires container-level isolation but
testbed does not provide that

Ok, then I read `man autopkgtest-qemu` and ran
autopkgtest-buildvm-ubuntu-cloud -v -a amd64
autopkgtest --qemu ~/autopkgtest-yakkety-amd64.img (or wherever you
store the image)

I then added -y to the two apt lines you posted for them to work, but
the test still failed after that point:


Setting up sitesummary (0.1.22) ...
apache2_invoke: Enable module cgi.load
apache2_invoke: Enable configuration sitesummary.conf
Failed to upload, answer 'HTTP/1.1 500 Internal Server Error
Date: Thu, 21 Jul 2016 22:18:23 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Length: 607
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
 webmaster@localhost to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<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
info: terminating script
autopkgtest [18:18:24]: test test-server-client: -----------------------]
autopkgtest [18:18:25]: test test-server-client:  - - - - - - - - - -
results - - - - - - - - - -
test-server-client   FAIL non-zero exit status 1
autopkgtest [18:18:25]: test test-server-client:  - - - - - - - - - -
stderr - - - - - - - - - -

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

autopkgtest [18:18:26]: @@@@@@@@@@@@@@@@@@@@ summary
test-server-client   FAIL non-zero exit status 1
qemu-system-x86_64: terminating on signal 15 from pid 22000


Thanks,
Jeremy


Reply to: