From owner-freebsd-testing@FreeBSD.ORG Fri May 30 22:03:38 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8661EEFF for ; Fri, 30 May 2014 22:03:38 +0000 (UTC) Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44369252E for ; Fri, 30 May 2014 22:03:37 +0000 (UTC) Received: by mail-qg0-f43.google.com with SMTP id 63so7118723qgz.16 for ; Fri, 30 May 2014 15:03:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=gXZ27SRstshbA5ivl6v+3Tc9f2QYXqkFxQTiSG1zuPE=; b=IejpiHKd9VC2XSRFSjDnQkDDy4UEqDy89plIa/AWjt848kW7drXOlP52dbgDG0RH8e 8jnfzwdxT+hp/e1idAqMfFxTIs8UtiZeltXFVlQ+0Px9xfcRahYjodbci7qgZDU/IKOJ gOWpBDh/VYeGVZPjx99OwolEi/wiwhsFws+c77QVTyqtwRNnvKcAeBSTePAT5EGtxZCu 635gqOZyli+g7Ms1MnTzeSRABQNttUoIex230DwEX9YpKC4VQKUuv7L6NOdDyTmpI16v eUlDtu96GMZtnfBIkmYDYZAJGg9uHzHBB49Ljl2NglH94TN92bmeKa4o33/J9uIteP7F 13rw== X-Gm-Message-State: ALoCoQmfUuzmRLXDPdmKxFK1MsI+XFgbx084cxltbhKdVLOrplT5T7bRyOkglEpeedXkPMoe77hV X-Received: by 10.224.167.70 with SMTP id p6mr25053360qay.48.1401487416873; Fri, 30 May 2014 15:03:36 -0700 (PDT) MIME-Version: 1.0 Sender: jmmv@meroh.net Received: by 10.96.83.99 with HTTP; Fri, 30 May 2014 15:03:16 -0700 (PDT) X-Originating-IP: [2620:0:1003:1007:6c82:fc01:5943:b916] In-Reply-To: References: From: Julio Merino Date: Fri, 30 May 2014 18:03:16 -0400 X-Google-Sender-Auth: d7dW4jbphNWudwzres31tYVZa-4 Message-ID: Subject: Re: Generating Kyua test result output in JUnit XML format for Jenkins integration? To: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-testing@freebsd.org" , "jenkins-admin@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2014 22:03:38 -0000 On Sat, May 17, 2014 at 11:21 PM, Craig Rodrigues wrote: > Hi, > > At BSDCan 2014, I sat with Julio Merino and helped him get set up with > Jenkins. Julio then did some hacking on Kyua so that it could generate > JUnit XML output. Julio then imported this JUnit XML test output in > Jenkins. If you look at slides 26-27 of Julio's BSDCan presentation: > > http://goo.gl/1SCfgv > > you can see the Kyua test results appear in the native Jenkins test result > UI. This is very promising work. For me, proving that Jenkins and Kyua > could be integrated was worth the entire trip of going to BSDCan. Thanks > Julio! It was great to meet you and see you hack! Same thing! As you probably read in my BSDCan report[1] and my post about Kyua[2], it was very good to learn about and play with Jenkins. FYI, I have just pushed a much-improved version of the JUnit report generation code to GitHub[3]. The new "report-junit" command generates XML reports that can be read by Jenkins and they should include all of the details also available in all other report types. Let's get this running in the FreeBSD Jenkins setup! 1: http://julipedia.meroh.net/2014/05/bsdcan-2014-summary.html 2: http://julipedia.meroh.net/2014/05/refocusing-kyua-maybe.html 3: https://github.com/jmmv/kyua/commits/master/kyua-cli