5654: regressions - FAIL
xen.org
Acked-by Stefano Stabellini Acked-by Stefano Stabellini Acked-by Stefano Stabellini Acked-by Stefano Stabellini Acked-by Stefano Stabellini Acked-by Acked-by Stefano Stabellini Acked-by Stefano Stabelliniflight 5654 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/5654/
Regressions :-(
Tests which did not succeed and are blocking:
build-amd64-oldkern 4 xen-build fail REGR. vs. 5640 build-amd64 4 xen-build fail REGR. vs. 5640 build-i386-oldkern 4 xen-build fail REGR. vs. 5640 build-i386 4 xen-build fail REGR. vs. 5640
Tests which did not succeed, but are not blocking, including regressions (tests previously passed) regarded as allowable:
test-amd64-amd64-pair 1 xen-build-check(1) blocked n/a test-amd64-amd64-pv 1 xen-build-check(1) blocked n/a test-amd64-amd64-win 1 xen-build-check(1) blocked n/a test-amd64-amd64-xl-win 1 xen-build-check(1) blocked n/a test-amd64-amd64-xl 1 xen-build-check(1) blocked n/a test-amd64-i386-pair 1 xen-build-check(1) blocked n/a test-amd64-i386-pv 1 xen-build-check(1) blocked n/a test-amd64-i386-rhel6hvm-amd 1 xen-build-check(1) blocked n/a test-amd64-i386-rhel6hvm-intel 1 xen-build-check(1) blocked n/a test-amd64-i386-win-vcpus1 1 xen-build-check(1) blocked n/a test-amd64-i386-win 1 xen-build-check(1) blocked n/a test-amd64-i386-xl-credit2 1 xen-build-check(1) blocked n/a test-amd64-i386-xl-multivcpu 1 xen-build-check(1) blocked n/a test-amd64-i386-xl-win-vcpus1 1 xen-build-check(1) blocked n/a test-amd64-i386-xl 1 xen-build-check(1) blocked n/a test-amd64-xcpkern-i386-pair 1 xen-build-check(1) blocked n/a test-amd64-xcpkern-i386-pv 1 xen-build-check(1) blocked n/a test-amd64-xcpkern-i386-rhel6hvm-amd 1 xen-build-check(1) blocked n/a test-amd64-xcpkern-i386-rhel6hvm-intel 1 xen-build-check(1) blocked n/a test-amd64-xcpkern-i386-win 1 xen-build-check(1) blocked n/a test-amd64-xcpkern-i386-xl-credit2 1 xen-build-check(1) blocked n/a test-amd64-xcpkern-i386-xl-multivcpu 1 xen-build-check(1) blocked n/a test-amd64-xcpkern-i386-xl-win 1 xen-build-check(1) blocked n/a test-amd64-xcpkern-i386-xl 1 xen-build-check(1) blocked n/a test-i386-i386-pair 1 xen-build-check(1) blocked n/a test-i386-i386-pv 1 xen-build-check(1) blocked n/a test-i386-i386-win 1 xen-build-check(1) blocked n/a test-i386-i386-xl-win 1 xen-build-check(1) blocked n/a test-i386-i386-xl 1 xen-build-check(1) blocked n/a test-i386-xcpkern-i386-pair 1 xen-build-check(1) blocked n/a test-i386-xcpkern-i386-pv 1 xen-build-check(1) blocked n/a test-i386-xcpkern-i386-win 1 xen-build-check(1) blocked n/a test-i386-xcpkern-i386-xl 1 xen-build-check(1) blocked n/a
version targeted for testing:
xen 544b103b4d97
baseline version:
xen 4bdb78db22b6
------------------------------------------------------------
People who touched revisions under test:
Allen Kay <[email protected]>
Andre Przywara <[email protected]>
Ian Jackson <[email protected]> Stefano Stabellini <[email protected]>
------------------------------------------------------------
jobs:
build-i386-xcpkern pass build-amd64 fail build-i386 fail build-amd64-oldkern fail build-i386-oldkern fail build-amd64-pvops pass build-i386-pvops pass test-amd64-amd64-xl blocked test-amd64-i386-xl blocked test-i386-i386-xl blocked test-amd64-xcpkern-i386-xl blocked test-i386-xcpkern-i386-xl blocked test-amd64-i386-rhel6hvm-amd blocked test-amd64-xcpkern-i386-rhel6hvm-amd blocked test-amd64-i386-xl-credit2 blocked test-amd64-xcpkern-i386-xl-credit2 blocked test-amd64-i386-rhel6hvm-intel blocked test-amd64-xcpkern-i386-rhel6hvm-intel blocked test-amd64-i386-xl-multivcpu blocked test-amd64-xcpkern-i386-xl-multivcpu blocked test-amd64-amd64-pair blocked test-amd64-i386-pair blocked test-i386-i386-pair blocked test-amd64-xcpkern-i386-pair blocked test-i386-xcpkern-i386-pair blocked test-amd64-amd64-pv blocked test-amd64-i386-pv blocked test-i386-i386-pv blocked test-amd64-xcpkern-i386-pv blocked test-i386-xcpkern-i386-pv blocked test-amd64-i386-win-vcpus1 blocked test-amd64-i386-xl-win-vcpus1 blocked test-amd64-amd64-win blocked test-amd64-i386-win blocked test-i386-i386-win blocked test-amd64-xcpkern-i386-win blocked test-i386-xcpkern-i386-win blocked test-amd64-amd64-xl-win blocked test-i386-i386-xl-win blocked test-amd64-xcpkern-i386-xl-win blocked
------------------------------------------------------------
sg-report-flight on woking.cam.xci-test.com
logs: /home/xc_osstest/logs
images: /home/xc_osstest/images
Logs, config files, etc. are available at
http://www.chiark.greenend.org.uk/~xensrcts/logs
Test harness code can be found at
http://xenbits.xensource.com/gitweb?p=osstest.git;a=summary
Not pushing.
------------------------------------------------------------
changeset: 22870:544b103b4d97 tag: tip user: Ian Jackson <[email protected]> date: Fri Feb 04 18:47:39 2011 +0000
libxl: vncviewer: make autopass work properly
The file we write the vnc password to must be rewound back to the beginning, or the vnc viewer will simply get EOF.
When the syscalls for communicating the password to the vnc client fail, bomb out with an error messsage rather than blundering on (and probably producing a spurious password prompt).
Following this patch, xl vncviewer --autopass works, provided the qemu patch for writing the password to xenstore has also been applied.
changeset: 22869:c77353cb2ebb user: Ian Jackson <[email protected]> date: Fri Feb 04 18:47:20 2011 +0000
libxl: vncviewer: unconditionally read listen port address and password
The /local/domain/DOMID/device/vfb/0/backend path is irrelevant. libxl does not create it, so the branch would never be taken.
Instead, simply read the target paths of interest.
changeset: 22868:3cd9f9db5c21 user: Ian Jackson <[email protected]> date: Fri Feb 04 18:46:22 2011 +0000
libxl: vncviewer: fix use-after-free
This bug can prevent xl vncviewer from working at all.
changeset: 22867:f4d29a2c45ca user: Ian Jackson <[email protected]> date: Fri Feb 04 18:46:00 2011 +0000
libxl: actually print an error when execve (in libxl__exec) fails
The header comment says libxl__exec logs errors. So it should do so.
changeset: 22866:ed9ef3b07d2a user: Ian Jackson <[email protected]> date: Fri Feb 04 18:45:26 2011 +0000
libxl: SECURITY: always honour request for vnc password
qemu only sets a password on its vnc display if the value for the -vnc option has the ",password" modifier. The code for constructing qemu-dm options was broken and only added this modifier for one of the cases.
Unfortunately there does not appear to be any code for passing the vnc password to upstream qemu (ie, in the case where libxl_build_device_model_args_new is called). To avoid accidentally running the domain without a password, check for this situation and fail an assertion. This will have to be revisited after 4.1.
changeset: 22865:25d7e5e2ceea user: Ian Jackson <[email protected]> date: Fri Feb 04 18:43:53 2011 +0000
QEMU_TAG update
changeset: 22864:d5863e86c05b user: Stefano Stabellini <[email protected]> date: Fri Feb 04 18:29:55 2011 +0000
libxl: fix console autoconnect with pygrub, by invoking xenconsole twice
When using pygrub we have to connect to the console twice: once at the beginning to connect to pygrub and a second time after creating the pv console to connect to the guest's console.
changeset: 22863:6399079b44f3 user: Stefano Stabellini <[email protected]> date: Fri Feb 04 17:41:37 2011 +0000
Update list of VT-D maintainers.
changeset: 22862:068b3f19ef9a user: Andre Przywara <[email protected]> date: Fri Feb 04 17:32:39 2011 +0000
xl: fix broken xl vcpu-list output (tool hangs on large machines)
The algorithm for printing the CPU affinity in a condensed way looks for a set bit in a zero-byte:
for (i = 0; !(pcpumap & 1); ++i, pcpumap >>= 1)
Looking at the code I found that it is entirely broken if more than 8 CPUs are used. Beside that endless loop issue the output is totally bogus except for the "any CPU" case, which is handled explicitly earlier. I tried to fix it, but the whole approach does not work if the outer loops actually iterates (executing more than once).
This fix reimplements the whole algorithm in a clean (though not much optimized way). It survived some unit-testing.
changeset: 22861:4bdb78db22b6 user: Allen Kay <[email protected]> date: Wed Feb 02 17:06:36 2011 +0000
libxl: pass gfx_passthru parameter to QEMU
Pass gfx_passthru parameter to QEMU. Keep it boolean for now as QEMU does not expect any other integer value.
(qemu changes not included)
Quoted 10 lines · xen.org
flight 5654 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/5654/Regressions :-(
Tests which did not succeed and are blocking:
build-amd64-oldkern 4 xen-build fail REGR. vs. 5640 build-amd64 4 xen-build fail REGR. vs. 5640 build-i386-oldkern 4 xen-build fail REGR. vs. 5640 build-i386 4 xen-build fail REGR. vs. 5640
CC i386-stubdom/piix4acpi.o/home/osstest/build.5654.build-amd64/xen-unstable/stubdom/ioemu/hw/piix4acpi.c:272: error: expected ')' before '?' token /home/osstest/build.5654.build-amd64/xen-unstable/stubdom/ioemu/hw/piix4acpi.c:277: error: conflicting types for 'set_bit' /home/osstest/build.5654.build-amd64/xen-unstable/stubdom/../extras/mini-os/include/x86/mini-os/os.h:396: error: previous definition of 'set_bit' was here /home/osstest/build.5654.build-amd64/xen-unstable/stubdom/ioemu/hw/piix4acpi.c:282: error: conflicting types for 'clear_bit' /home/osstest/build.5654.build-amd64/xen-unstable/stubdom/../extras/mini-os/include/x86/mini-os/os.h:414: error: previous definition of 'clear_bit' was here /home/osstest/build.5654.build-amd64/xen-unstable/stubdom/ioemu/hw/piix4acpi.c: In function 'gpe_sts_write':
Plus a bunch of followup warnings.
Seems to be caused by ad7d28519de7cdc604efefac5c22fe9f88040586 which adds an extra #include "qemu_socket.h" to qemu-common.h.
The following seems like the simplest fix. It successfully builds x86_32 and x86_64 stubdom.
A much more thorough sweep of what minios exposes to applications would be nice but I think that is likely to be a big task, especially for this point in the release.
Ian.
8<------------------
minios: do not export {test,set,clear}_bit etc to applications
Fixes ioemu stubdom build:
CC i386-stubdom/piix4acpi.o
[...]/stubdom/ioemu/hw/piix4acpi.c:272: error: expected ')' before '?' token [...]/stubdom/ioemu/hw/piix4acpi.c:277: error: conflicting types for 'set_bit' [...]/stubdom/../extras/mini-os/include/x86/mini-os/os.h:396: error: previous definition of 'set_bit' was here [...]/stubdom/ioemu/hw/piix4acpi.c:282: error: conflicting types for 'clear_bit' [...]/stubdom/../extras/mini-os/include/x86/mini-os/os.h:414: error: previous definition of 'clear_bit' was here [...]/stubdom/ioemu/hw/piix4acpi.c: In function 'gpe_sts_write':
extras/mini-os/include/x86/os.h +2 -1
@@ -164,6 +164,7 @@ typedef struct { volatile int counter; }/************************** i386 *******************************/ +#ifdef __INSIDE_MINIOS__#if defined (__i386__)#define xchg (ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr))))
@@ -451,7 +452,7 @@ static __inline__ unsigned long __ffs(un#else /* ifdef __x86_64__ */ #error "Unsupported architecture"#endif - +#endif /* ifdef __INSIDE_MINIOS */ /********************* common i386 and x86_64 ****************************/ struct __synch_xchg_dummy {unsigned long a[100 ]; };
Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 5654: regressions - FAIL"):
Quoted 1 line
/home/osstest/build.5654.build-amd64/xen-unstable/stubdom/ioemu/hw/piix4acpi.c:272: error: expected ')' before '?' token
...
Quoted 1 line
Plus a bunch of followup warnings.
Urgh.
Quoted 6 lines
The following seems like the simplest fix. It successfully builds
x86_32andx86_64stubdom.A much more thorough sweep of what minios exposes to applications would be nice but I think that is likely to be a big task, especially for this point in the release.
Yes. Thanks for finding this. I've applied your patch.
Ian.