Cool. Interesting find. --Colin
On Wed, May 3, 2017 at 12:19 PM, Diego Jesus Granados Lopez < [email protected]> wrote: > Colin, Brady, > > > > Got the root cause for this, that being a bizarre coincidence of random > test input generation in all the Unicode space + regexp processing in > JUnitTest framework for that input. The error is triggered randomly (when > the generated input string contains certain characters in the Unicode > private / unassigned ranges). Error frequency (Montecarlo-based) is > something like 0.2%. > > > > Example of a randomly-generated input which triggers the error: > > 豃롢쭻ㆹ뛈⊨曜쨮ﻗ㸥㽘‱ȯᏮ趑孎窏瀎ﴨ籜킭ਿ鱕ⶱꨪ킒㙛㈇菛砜ͥ಄떹涣䲈鹴Ꮮꍡ⤬涷茗㨶噓悌쀀䪁唋၅殑鷼篽Ἕ䴩欥⁖덓㫬郊襉捋咇淞嬀稛뛤 > 㙨𪺲譆䩯ꀳ࿌㤙쏜ꅩ䣔ꚓ厽쾍,ㄝ鹍ꪽ띏녍巅銫燀鉑쿝ừ区髣䒖浶﹋魿嘦㡄ỷ툔谣瑩糧꼟㐂Ⰿ謾鐳Ĭ몹卋Ꞝ뾯ڈ㌎ᤰࠒⱛ孪ퟔ䠎ઁ쥅廆鉸 > 𛆸 > > (The learning for me here is that maybe we should stop playing God with > test input generation XD) > > > > I will create a bug + submit a fix (filtering test input in that ranges) > ASAP for all the active branches. > > > > BR, > > Diego > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Brady Allen Johnson > *Sent:* miércoles, 03 de mayo de 2017 16:42 > *To:* [email protected]; [email protected]; > [email protected] > *Subject:* Re: [sfc-dev] NPE in SfcOpenflowUtilsTest in failnever job #5 > > > > > > Colin, > > > > Thanks for the heads-up. We're looking into it. > > > > Regards, > > > > Brady > > > > -----Original Message----- > > *From*: Colin Dixon <[email protected] > <colin%20dixon%20%[email protected]%3e>> > > *To*: [email protected] <[email protected] > <%[email protected]%22%20%[email protected]%3e>>, > [email protected] <[email protected] > <%[email protected]%22%20%[email protected]%3e>>, > Brady Allen Johnson <[email protected] > <brady%20allen%20johnson%20%[email protected]%3e>> > > *Subject*: NPE in SfcOpenflowUtilsTest in failnever job #5 > > *Date*: Tue, 2 May 2017 13:41:51 -0400 > > > > It's the first time I've seen it, but it probably means it can happen > randomly. > > > > See here: > > https://jenkins.opendaylight.org/releng/view/autorelease/ > job/autorelease-release-failnever-carbon/5/ > > > > Exception trace below. > > > > Cheers, > > --Colin > > > > > > 20:58:48 ------------------------------------------------------- > > 20:58:48 T E S T S > > 20:58:48 ------------------------------------------------------- > > 20:58:48 Running org.opendaylight.sfc.util.openflow.SfcOpenflowUtilsTest > > 20:58:48 Tests run: 53, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 0.364 sec <<< FAILURE! - in org.opendaylight.sfc.util. > openflow.SfcOpenflowUtilsTest > > 20:58:48 org.opendaylight.sfc.util.openflow.SfcOpenflowUtilsTest Time > elapsed: 0.03 sec <<< ERROR! > > 20:58:48 java.lang.NullPointerException > > 20:58:48 at junitparams.internal.ParameterisedTestMethodRunner. > findChildForParams(ParameterisedTestMethodRunner.java:66) > > 20:58:48 at junitparams.internal.ParameterisedTestMethodRunner. > runTestMethod(ParameterisedTestMethodRunner.java:40) > > 20:58:48 at junitparams.internal.ParameterisedTestClassRunner. > runParameterisedTest(ParameterisedTestClassRunner.java:143) > > 20:58:48 at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner. > java:393) > > 20:58:48 at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner. > java:371) > > 20:58:48 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > > 20:58:48 at org.junit.runners.ParentRunner$1.schedule( > ParentRunner.java:63) > > 20:58:48 at org.junit.runners.ParentRunner.runChildren( > ParentRunner.java:236) > > 20:58:48 at org.junit.runners.ParentRunner.access$000( > ParentRunner.java:53) > > 20:58:48 at org.junit.runners.ParentRunner$2.evaluate( > ParentRunner.java:229) > > 20:58:48 at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > > 20:58:48 at org.apache.maven.surefire.junit4.JUnit4Provider.execute( > JUnit4Provider.java:283) > > 20:58:48 at org.apache.maven.surefire.junit4.JUnit4Provider. > executeWithRerun(JUnit4Provider.java:173) > > 20:58:48 at org.apache.maven.surefire.junit4.JUnit4Provider. > executeTestSet(JUnit4Provider.java:153) > > 20:58:48 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke( > JUnit4Provider.java:128) > > 20:58:48 at org.apache.maven.surefire.booter.ForkedBooter. > invokeProviderInSameClassLoader(ForkedBooter.java:203) > > 20:58:48 at org.apache.maven.surefire.booter.ForkedBooter. > runSuitesInProcess(ForkedBooter.java:155) > > 20:58:48 at org.apache.maven.surefire.booter.ForkedBooter.main( > ForkedBooter.java:103) > > >
_______________________________________________ sfc-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/sfc-dev
