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

Re: [Xen-devel] [xen-unstable test] 19710: regressions - FAIL



On Wed, 2013-09-18 at 04:38 +0100, xen.org wrote:
> flight 19710 xen-unstable real [real]
> http://www.chiark.greenend.org.uk/~xensrcts/logs/19710/
> 
> Regressions :-(
> 
> Tests which did not succeed and are blocking,
> including tests which could not be run:
>  test-amd64-amd64-pv           9 guest-start               fail REGR. vs. 
> 19708

        2013-09-17 23:02:00 Z executing ssh ... root@xxxxxxxxxxxx xm create 
/etc/xen/debian.guest.osstest.cfg
        WARNING: xend/xm is deprecated.
        
        xend is deprecated and scheduled for removal. Please migrate to another
        toolstack ASAP.
        
        See http://wiki.xen.org/wiki/Choice_of_Toolstacks for information on
        other alternatives, including xl which is designed to be a drop in
        replacement for xm (http://wiki.xen.org/wiki/XL).
        
        Using config file "/etc/xen/debian.guest.osstest.cfg".
        Started domain debian.guest.osstest (id=1)
        2013-09-17 23:02:03 Z executing ssh ... root@xxxxxxxxxxxx xm list
        WARNING: xend/xm is deprecated. ? at Osstest/TestSupport.pm line 1393.
        + rc=255
        
Obviously these messages shouldn't go to stdout...

8<---------------------------------

From 6ca0706d4871724a2758098c08ee5c05679d85b5 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Wed, 18 Sep 2013 21:27:19 +0100
Subject: [PATCH] tools: print xm deprecation warning to stderr

To avoid confusing anything which is parsing the output.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 tools/python/xen/xm/xm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/python/xen/xm/xm b/tools/python/xen/xm/xm
index 458f219..6a3f545 100755
--- a/tools/python/xen/xm/xm
+++ b/tools/python/xen/xm/xm
@@ -4,10 +4,10 @@ import sys, os.path
 
 from xen.xm import main
 
-print("WARNING: xend/xm is deprecated.")
+print >>sys.stderr, ("WARNING: xend/xm is deprecated.")
 
 if not os.path.exists("/tmp/xm-deprecation-long-warning"):
-    print("""
+    print >>sys.stderr, ("""
 xend is deprecated and scheduled for removal. Please migrate to another
 toolstack ASAP.
 
-- 
1.8.3.2




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.