[Box Backup] httpserver: PASSED - yet fails ?

Matt Brown matt at mbrown.co.uk
Tue Oct 20 09:44:41 BST 2009


Hi all,

Sorry not been around for a while ....  I am trying to build a 0.11RC5  
package for my PPA ... however I always seem to fail on the httpserver  
tests ... everything else is fine ...

make[1]: Entering directory `/tmp/buildd/boxbackup-0.11~rc5/test/ 
httpserver'
make[2]: Entering directory `/tmp/buildd/boxbackup-0.11~rc5/lib/ 
httpserver'
   [CXX]     HTTPQueryDecoder.cpp
   [CXX]     HTTPRequest.cpp
   [CXX]     HTTPResponse.cpp
   [CXX]     HTTPServer.cpp
   [CXX]     S3Client.cpp
   [CXX]     S3Simulator.cpp
   [CXX]     autogen_HTTPException.cpp
   [CXX]     cdecode.cpp
   [CXX]     cencode.cpp
   [AR]      ../../debug/lib/httpserver/httpserver.a
   [RANLIB]  ../../debug/lib/httpserver/httpserver.a
make[2]: Leaving directory `/tmp/buildd/boxbackup-0.11~rc5/lib/ 
httpserver'
   [CXX]     _main.cpp
   [CXX]     testhttpserver.cpp
   [LINK]    ../../debug/test/httpserver/test
cp _t ../../debug/test/httpserver/t
chmod u+x ../../debug/test/httpserver/t
cp _t-gdb ../../debug/test/httpserver/t-gdb
chmod u+x ../../debug/test/httpserver/t-gdb
make[1]: Leaving directory `/tmp/buildd/boxbackup-0.11~rc5/test/ 
httpserver'
TEST: test/httpserver
Killing any running daemons...
Removing old test files...
chmod: cannot access `testfiles': No such file or directory
Copying new test files...
GET request...
POST request...
HEAD request...
Redirected GET request...
Cookie tests...
ERROR:   Failed to write to socket: Broken pipe (32)
NOTICE:  Running test httpserver in debug mode...
Starting server: ./test server testfiles/httpserver.conf
Waiting for server to start:  done.
Waiting for server to die (pid 14832): . done.
WARNING: Failed to open file: testfiles/nonexist: No such file or  
directory (2)
WARNING: Exception thrown: CommonException(OSFileOpenError) at  
FileStream.cpp(123)
Starting server: ./test s3server testfiles/s3simulator.conf
Waiting for server to start:  done.
Waiting for server to die (pid 14841): . done.
PASSED
--------
common: PASSED
crypto: PASSED
compress: PASSED
raidfile: PASSED
basicserver: PASSED
backupstore: PASSED
backupstorefix: PASSED
backupstorepatch: PASSED
backupdiff: PASSED
bbackupd: PASSED
httpserver: PASSED
  fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
	rm -f debian/boxbackup-server.substvars
	rm -f debian/boxbackup-server.*.debhelper
	rm -rf debian/boxbackup-server/
	rm -f debian/boxbackup-client.substvars
	rm -f debian/boxbackup-client.*.debhelper
	rm -rf debian/boxbackup-client/
	find .  \( \( -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o -name core -o \( -path '*/.deps/*' -a -name '*.P'  
\) \
		\) -exec rm -f {} \; \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
dh_installdirs
	install -d debian/boxbackup-server
	install -d debian/boxbackup-server/usr/sbin debian/boxbackup-server/ 
etc/boxbackup debian/boxbackup-server/etc/boxbackup/bbstored debian/ 
boxbackup-server/etc/logcheck/ignore.d.workstation debian/boxbackup- 
server/etc/logcheck/ignore.d.server
	install -d debian/boxbackup-client
	install -d debian/boxbackup-client/usr/sbin debian/boxbackup-client/ 
var/lib/bbackupd debian/boxbackup-client/etc/boxbackup debian/ 
boxbackup-client/etc/boxbackup/bbackupd
mkdir -p /tmp/buildd/boxbackup-0.11~rc5/debian/tmp/etc/logcheck/ 
ignore.d.workstation
mkdir -p /tmp/buildd/boxbackup-0.11~rc5/debian/tmp/etc/logcheck/ 
ignore.d.server
install -m 644 debian/boxbackup-server.logcheck.ignore /tmp/buildd/ 
boxbackup-0.11~rc5/debian/tmp/etc/logcheck/ignore.d.workstation/ 
boxbackup-server
install -m 644 debian/boxbackup-server.logcheck.ignore /tmp/buildd/ 
boxbackup-0.11~rc5/debian/tmp/etc/logcheck/ignore.d.server/boxbackup- 
server
dh_install
	cp -a ./parcels/boxbackup-0.11rc2-backup-server-linux-gnu/ 
bbstoreaccounts debian/boxbackup-server//usr/sbin//
cp: cannot stat `./parcels/boxbackup-0.11rc2-backup-server-linux-gnu/ 
bbstoreaccounts': No such file or directory
dh_install: command returned error code 256
make: *** [install] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error  
exit status 2
pbuilder: Failed autobuilding of package


Any clues as to why ?

I am attempting the build under Ubuntu Hardy AMD64 ...

Regards

Matt Brown


More information about the boxbackup mailing list