Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2015 04:00:55 +0800
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        jenkins-admin@FreeBSD.org, freebsd-current@FreeBSD.org
Subject:   Re: FreeBSD_HEAD-tests - Build #1704 - Still Unstable
Message-ID:  <20151117200055.GA55478@FreeBSD.cs.nctu.edu.tw>
In-Reply-To: <20151117193427.GA76612@ivaldir.etoilebsd.net>
References:  <1510276266.43.1447770841201.JavaMail.jenkins@jenkins-9.freebsd.org> <512656898.45.1447781806402.JavaMail.jenkins@jenkins-9.freebsd.org> <20151117193427.GA76612@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 17, 2015 at 20:34:29 +0100, Baptiste Daroussin wrote:
> On Tue, Nov 17, 2015 at 05:36:45PM +0000, jenkins-admin@FreeBSD.org wrote:
> > FreeBSD_HEAD-tests - Build #1704 - Still Unstable:
> >=20
> > Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1=
704/
> > Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/170=
4/changes
> > Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD-tests/1704=
/console
> >=20
> > Change summaries:
> >=20
> > No changes
> >=20
> >=20
> > The failed test cases:
> >=20
> > 1 tests failed.
> > FAILED:  test-report.xml.<init>
> >=20
> > Error Message:
> >=20
> Can someone fix that? or at least show which test is giving unicode in the
> output?

Just did a quick look into this:

https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests/1704/testReport/test-rep=
ort/xml/_init_/

"""
org.dom4j.DocumentException: Error on line 52159 of document file:///builds=
/FreeBSD_HEAD-tests/test-report.xml : An invalid XML character (Unicode: 0x=
1) was found in the element content of the document. Nested exception: An i=
nvalid XML character (Unicode: 0x1) was found in the element content of the=
 document.
"""

And this is the case output contains invalid XML character:

"""
<testcase classname=3D"lib.libcrypt.crypt_test" name=3D"crypt_salts" time=
=3D"0.044">
<failure message=3D"Test case was expecting a failure but none were raised"=
/>
<system-err>Test case metadata
------------------

allowed_architectures is empty
allowed_platforms is empty
description =3D crypt(3) salt consistency checks
has_cleanup =3D false
required_configs is empty
required_disk_space =3D 0
required_files is empty
required_memory =3D 0
required_programs is empty
required_user is empty
timeout =3D 300

Original stderr
---------------

*** Expected check failure: Old-style/bad inputs fail on FreeBSD: /builds/F=
reeBSD_HEAD/contrib/netbsd-tests/lib/libcrypt/t_crypt.c:140: Test 22 ^A^BUZ=
oIyj/Hy/c !=3D ^A^Bwyd0KZo65Jo

*** Expected check failure: Old-style/bad inputs fail on FreeBSD: /builds/F=
reeBSD_HEAD/contrib/netbsd-tests/lib/libcrypt/t_crypt.c:140: Test 23 a_Av8a=
wQ0AsR6 !=3D a_C10Dk/ExaG.

*** Expected check failure: Old-style/bad inputs fail on FreeBSD: /builds/F=
reeBSD_HEAD/contrib/netbsd-tests/lib/libcrypt/t_crypt.c:140: Test 24 ~=E2=
=96=92UZoIyj/Hy/c !=3D ~=E2=96=92.5OTsRVjwLo

</system-err>
</testcase>
"""

There is an issue and a PR for kyua for this:

https://github.com/jmmv/kyua/issues/136
https://github.com/jmmv/kyua/pull/148

Escape these characters is a way, or we might make our test cases always
produce printable characters in outputs, however that might be
impossible (who knows when test fails would happen?).  Or, don't know if
there is a method to embedded these bytes into a valid XML.



Li-Wen

--=20
Li-Wen Hsu <lwhsu@FreeBSD.org>
http://lwhsu.org

--TB36FDmn/VVEgNH/
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJWS4d2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMDdENTNGNjUyMTUzMzVCNzA5NDNGODQ2
NzI3RTc3Qzg4NjJCNjU2AAoJEGcn53yIYrZWOmQP/igRzks4RgM7fVsEDztBdlub
EBrLHUsNqmpv/vCs2CyJGB9vYwofXM2Hrqe2r4AU3/yoNtvbWQ3zueruu0ukUvIf
Mz9WurzADxLAV05hl5I1xHl0tkKz7nHWKwymk0nMXP8tmh8bASD+H/9VtBmKhWjg
aTnigHBGsbED09uKdtgerbhXygxijq4b3UBlxAJWEEFoMJCSlGv3LRS04qojcIBn
k3PmSjJQgFqXBmUHHNumdG+QJ0Gn5FP/f874fdXWRhhQLGc4d22qdZ6bQa28k/CS
pEiSxZrKKKAZGOaGLCksltmjma1fofu8USAUOs/vzcchueBiEn8Y9r9OWE0dabhp
0hSguQ8Ne0rkiikWiU03I3XuyHNuAdSRq+UQZLcilQa4hu11cN0k3mN1AWlzmQQ+
6SHWgTJ6T7I4Xy7fBrpYaE6OutbkFUQbdzXGnBF+0i1Ez21cyzPihgc22PNEc3zW
Uq3ks0bw7bSdydblZD2tmyhLjmwnusSoSAu4HXX/xsNfDPGmUAhsd/v98IQXHv1w
A9kxX+RMAeZ1aaZ9RE10Q51wQDnm26q7/Q3gHe9xO5Ozj68kd76b2JN8hBQmDLr0
hzOQuPTW/8koNX001SE6tlS6BtQ7QqRdk27/O/NSOUr9SMhHz8E/ijaiELl0EVf1
CLHuoTU5NHOLxXDI1lw3
=WPYx
-----END PGP SIGNATURE-----

--TB36FDmn/VVEgNH/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151117200055.GA55478>