[Vserver] Teaser output from Linux::VServer

From: Sam Vilain <sam.vilain_at_catalyst.net.nz>
Date: Thu 23 Feb 2006 - 06:36:21 GMT
Message-ID: <43FD57E5.5010802@catalyst.net.nz>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Just a quick one. Here is the output of a script that comes with
Linux::VServer. See if you can work out what's going on :)

wilber:~/vserver/Linux-VServer# perl scripts/vserver-qemu-test
- --image=../qemu/testing.img --kernel-tree=../linux-2.6 install
vserver-qemu-test: mounting partitions in ../qemu/testing.img to /mnt/qemu
vserver-qemu-test: Setting up ../qemu/testing.img => /dev/loop0
vserver-qemu-test: fsck /dev/loop1
vserver-qemu-test: warning: fsck corrected errors on /dev/loop1
vserver-qemu-test: mounting /dev/loop1 on /mnt/qemu/p1
vserver-qemu-test: fsck /dev/loop2
vserver-qemu-test: warning: failed to fsck/mount partition 2, skipping
vserver-qemu-test: 1 partition(s) in ../qemu/testing.img now mounted.
vserver-qemu-test: Installing . to /mnt/qemu/p1/var/testing/Linux-VServer
vserver-qemu-test: installed 1 module(s).
vserver-qemu-test: installing bootstrap code to
/mnt/qemu/p1/var/testing/runtests.pl
vserver-qemu-test: Installing modules to /mnt/qemu/p1
vserver-qemu-test: unmounting /mnt/qemu/p1
vserver-qemu-test: unlooping /dev/loop1
vserver-qemu-test: unlooping /dev/loop0
wilber:~/vserver/Linux-VServer# perl scripts/vserver-qemu-test
- --image=../qemu/testing.img --kernel-tree=../linux-2.6 test enter verbose
vserver-qemu-test: running `qemu-system-x86_64 -kernel
../linux-2.6/arch/x86_64/boot/bzImage -nographic -append "quiet
console=ttyS0 root=/dev/hda1 _test=enter,verbose
init=/var/testing/runtests.pl " ../qemu/testing.img'
Connected to host network interface: tun0
(qemu) PCI: PIIX3: Enabling Passive Release on 0000:00:01.0
Command line is: quiet console=ttyS0 root=/dev/hda1 _test=enter,verbose
init=/var/testing/runtests.pl
, $1 is: enter,verbose
%args is: verbose 1 enter 1
******************************************************************************
~ Running tests in Linux-VServer
******************************************************************************
t/00-nonprivileged....1..4
ok 1 - use Linux::VServer;
ok 2 - vs_get_version() >= 0 (got 3.1)
ok 3 - vs_version_ok()
ok 4 - vx_get_task_xid(680) >= 0 (got )
ok
t/01-create...........1..3
ok 1 - vx_create returns a non-zero context
ok 2 - vx_create returns a *new* context ID
ok 3 - vx_create migrates current task
ok
t/02-legacy...........1..13
chattr() didn't work on t/tmp/test, and no setattr binary - cannot
contine at blib/lib/Linux/VServer/Legacy.pm line 125.
# Looks like you planned 13 tests but only ran 1.
# Looks like your test died just after 1.
ok 1 - use Linux::VServer::Legacy;
dubious
~ Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-13
~ Failed 12/13 tests, 7.69% okay
t/03-pureperl.........1..5
ok 1 - use Linux::VServer;
ok 2 - :VCI import spec
ok 3 - vs_get_version() >= 0 (got 3.1)
ok 4 - vs_version_ok()
ok 5 - vx_get_task_xid(686) >= 0 (got )
ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-
-------------------------------------------------------------------------------
t/02-legacy.t 255 65280 13 24 184.62% 2-13
Failed 1/4 test scripts, 75.00% okay. 12/25 subtests failed, 52.00% okay.
Press ctrl+d to shutdown
root@(none):/var/testing# exit
'shutting down'
vserver-qemu-test: command completed in 31.3s
- --
Sam Vilain, Catalyst IT (NZ) Ltd.
phone: +64 4 499 2267 PGP ID: 0x66B25843
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD/Vfj/AZAiGayWEMRAndDAJ0Wl8SpnUIdBRbiX6y0hSDvAOQa3gCfROdW
y/eMdPEIMd27R/Loo12S/p4=
=yp+i
-----END PGP SIGNATURE-----
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Feb 23 06:37:56 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 23 Feb 2006 - 06:38:01 GMT by hypermail 2.1.8