<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:14:11 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[BGPCEP-814] BmpMockDispatcherTest</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-814</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;&lt;b&gt;Console Logs:&lt;/b&gt;&lt;br/&gt;
 &lt;b&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/autorelease-release-fluorine/149&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/autorelease-release-fluorine/149&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt; &lt;b&gt;Jenkins Build:&lt;/b&gt;&lt;br/&gt;
 &lt;b&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/autorelease-release-fluorine/149/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/autorelease-release-fluorine/149/&lt;/a&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;01:58:17&lt;/b&gt; testCreateClient(org.opendaylight.protocol.bmp.mock.BmpMockDispatcherTest)&#160; Time elapsed: 31.072 sec&#160; &amp;lt;&amp;lt;&amp;lt; FAILURE!&lt;b&gt;01:58:17&lt;/b&gt; java.lang.AssertionError*01:58:17* &#160;&#160;&#160;&#160;&#160; at org.junit.Assert.fail(Assert.java:86)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.Assert.assertTrue(Assert.java:41)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.Assert.assertTrue(Assert.java:52)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.opendaylight.protocol.bmp.mock.BmpMockDispatcherTest.lambda$testCreateClient$2(BmpMockDispatcherTest.java:78)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.opendaylight.protocol.util.CheckUtil.checkEquals(CheckUtil.java:138)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.opendaylight.protocol.util.CheckUtil.checkEquals(CheckUtil.java:130)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.opendaylight.protocol.bmp.mock.BmpMockDispatcherTest.testCreateClient(BmpMockDispatcherTest.java:78)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:498)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.junit.runners.ParentRunner.run(ParentRunner.java:309)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)&lt;b&gt;01:58:17&lt;/b&gt; &#160;&#160;&#160;&#160;&#160; at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)&lt;/p&gt;</description>
                <environment></environment>
        <key id="30348">BGPCEP-814</key>
            <summary>BmpMockDispatcherTest</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="matej.perina">Matej Perina</assignee>
                                    <reporter username="cdgasparini">Claudio David Gasparini</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Jul 2018 11:03:27 +0000</created>
                <updated>Thu, 26 Jul 2018 09:02:58 +0000</updated>
                            <resolved>Thu, 26 Jul 2018 09:02:58 +0000</resolved>
                                                    <fixVersion>Fluorine</fixVersion>
                                    <component>BMP</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="64076" author="mperina@cisco.com" created="Wed, 18 Jul 2018 12:16:12 +0000"  >&lt;p&gt;made hundred runs... all successfull... marking as false positive fail&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/attachment/14764/14764_test.txt&quot; title=&quot;test.txt attached to BGPCEP-814&quot;&gt;test.txt&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.opendaylight.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="64082" author="cdgasparini" created="Wed, 18 Jul 2018 13:15:22 +0000"  >&lt;p&gt;answer to email from community, you might need some test under sandbox, ask Adam what are his recommendations to go from here.&lt;/p&gt;</comment>
                            <comment id="64118" author="mperina@cisco.com" created="Thu, 19 Jul 2018 14:21:57 +0000"  >&lt;p&gt;try to replicate in snadbox&lt;/p&gt;</comment>
                            <comment id="64119" author="mperina@cisco.com" created="Thu, 19 Jul 2018 14:24:32 +0000"  >&lt;p&gt;bash command to run test hundred times from maven:&lt;/p&gt;

&lt;p&gt;for i in {1..100}; do mvn test -pl :bgp-bmp-mock -Dtest=BmpMockDispatcherTest; done&lt;/p&gt;</comment>
                            <comment id="64132" author="zxiiro" created="Fri, 20 Jul 2018 00:54:02 +0000"  >&lt;p&gt;I hit this issue in my own local build (see logs below). &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=matej.perina&quot; class=&quot;user-hover&quot; rel=&quot;matej.perina&quot;&gt;matej.perina&lt;/a&gt; I think testing against a single module run won&apos;t help you reproduce we really need to rebuild the entirety of bgpcep.&lt;/p&gt;

&lt;p&gt;What additional logging can I grab for you to help troubleshoot?&lt;/p&gt;


&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[INFO] ------------------------------------------------------------------------
[INFO] Building bgp-bmp-impl 0.10.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ bgp-bmp-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven) @ bgp-bmp-impl ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-banned-dependencies) @ bgp-bmp-impl ---
[INFO] 
[INFO] --- git-commit-id-plugin:2.2.4:revision (get-git-infos) @ bgp-bmp-impl ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.1:prepare-agent (pre-unit-test) @ bgp-bmp-impl ---
[INFO] argLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/home/zxiiro/git/odl/bgpcep/bmp/bmp-impl/target/code-coverage/jacoco.exec,excludes=**/gen/**:**/generated-sources/**:**/generated-test-sources/**:**/yang-gen/**:**/yang-gen-config/**:**/yang-gen-sal/**:**/yang-gen-code/**:**/pax/**
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (check-license) @ bgp-bmp-impl ---
[INFO] Starting audit...
Audit done.
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (default) @ bgp-bmp-impl ---
[INFO] Starting audit...
Audit done.
[INFO] 
[INFO] &amp;gt;&amp;gt;&amp;gt; maven-pmd-plugin:3.8:cpd-check (cpd) &amp;gt; :cpd @ bgp-bmp-impl &amp;gt;&amp;gt;&amp;gt;
[INFO] 
[INFO] --- maven-pmd-plugin:3.8:cpd (cpd) @ bgp-bmp-impl ---
[INFO] 
[INFO] &amp;lt;&amp;lt;&amp;lt; maven-pmd-plugin:3.8:cpd-check (cpd) &amp;lt; :cpd @ bgp-bmp-impl &amp;lt;&amp;lt;&amp;lt;
[INFO] 
[INFO] 
[INFO] --- maven-pmd-plugin:3.8:cpd-check (cpd) @ bgp-bmp-impl ---
[INFO] 
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.2:unpack (unpack-license) @ bgp-bmp-impl ---
[INFO] Configured Artifact: org.opendaylight.odlparent:odl-license:3.1.2:jar
[INFO] Unpacking /tmp/r/org/opendaylight/odlparent/odl-license/3.1.2/odl-license-3.1.2.jar to /home/zxiiro/git/odl/bgpcep/bmp/bmp-impl/target/classes with includes &quot;&quot; and excludes &quot;META-INF/**&quot;
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ bgp-bmp-impl ---
[INFO] Using &apos;UTF-8&apos; encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ bgp-bmp-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to /home/zxiiro/git/odl/bgpcep/bmp/bmp-impl/target/classes
[INFO] /home/zxiiro/git/odl/bgpcep/bmp/bmp-impl/src/main/java/org/opendaylight/protocol/bmp/impl/config/BmpDeployerImpl.java: /home/zxiiro/git/odl/bgpcep/bmp/bmp-impl/src/main/java/org/opendaylight/protocol/bmp/impl/config/BmpDeployerImpl.java uses unchecked or unsafe operations.
[INFO] /home/zxiiro/git/odl/bgpcep/bmp/bmp-impl/src/main/java/org/opendaylight/protocol/bmp/impl/config/BmpDeployerImpl.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] &amp;gt;&amp;gt;&amp;gt; findbugs-maven-plugin:3.0.5:check (analyze-compile) &amp;gt; :findbugs @ bgp-bmp-impl &amp;gt;&amp;gt;&amp;gt;
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.5:findbugs (findbugs) @ bgp-bmp-impl ---
[INFO] Fork Value is true
[INFO] Done FindBugs Analysis....
[INFO] 
[INFO] &amp;lt;&amp;lt;&amp;lt; findbugs-maven-plugin:3.0.5:check (analyze-compile) &amp;lt; :findbugs @ bgp-bmp-impl &amp;lt;&amp;lt;&amp;lt;
[INFO] 
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.5:check (analyze-compile) @ bgp-bmp-impl ---
[INFO] BugInstance size is 0
[INFO] Error size is 0
[INFO] No errors/warnings found
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ bgp-bmp-impl ---
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ bgp-bmp-impl ---
[INFO] Using &apos;UTF-8&apos; encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/zxiiro/git/odl/bgpcep/bmp/bmp-impl/src/test/resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ bgp-bmp-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /home/zxiiro/git/odl/bgpcep/bmp/bmp-impl/target/test-classes
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (move-autowire-test) @ bgp-bmp-impl ---
[INFO] Executing tasks

main:
     [echo] Moving autowire.xml to org/opendaylight/blueprint
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ bgp-bmp-impl ---
[INFO] Surefire report directory: /home/zxiiro/git/odl/bgpcep/bmp/bmp-impl/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.opendaylight.protocol.bmp.impl.app.BmpMonitorImplTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.869 sec - in org.opendaylight.protocol.bmp.impl.app.BmpMonitorImplTest
Running org.opendaylight.protocol.bmp.impl.session.BmpDispatcherImplTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.245 sec &amp;lt;&amp;lt;&amp;lt; FAILURE! - in org.opendaylight.protocol.bmp.impl.session.BmpDispatcherImplTest
testCreateServer(org.opendaylight.protocol.bmp.impl.session.BmpDispatcherImplTest)  Time elapsed: 1.228 sec  &amp;lt;&amp;lt;&amp;lt; ERROR!
com.google.common.base.VerifyException
        at com.google.common.base.Verify.verify(Verify.java:99)
        at org.opendaylight.protocol.util.CheckUtil.waitFutureSuccess(CheckUtil.java:42)
        at org.opendaylight.protocol.bmp.impl.session.BmpDispatcherImplTest.testCreateServer(BmpDispatcherImplTest.java:90)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Running org.opendaylight.protocol.bmp.impl.session.BmpSessionImplTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.783 sec - in org.opendaylight.protocol.bmp.impl.session.BmpSessionImplTest

Results :

Tests in error: 
  BmpDispatcherImplTest.testCreateServer:90 &#187; Verify

Tests run: 8, Failures: 0, Errors: 1, Skipped: 0

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="64133" author="zxiiro" created="Fri, 20 Jul 2018 01:10:27 +0000"  >&lt;p&gt;I wrote the following script to run bgpcep builds in an infinite loop and collect the stdout log on error. To use it &quot;cd&quot; to the bgpcep directory and run the script.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;#!/bin/bash
logdir=/tmp/buildlogs
mkdir -p &quot;$logdir&quot;
while true; do
    rm -rf /tmp/r/org/opendaylight
    mvn clean install --show-version --batch-mode -Djenkins \
        -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
        -Dmaven.repo.local=/tmp/r \
        -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r \
        -P!karaf \
        -Pignore-lispflowmapping-integrationtest \
        -Dsft.heap.max=4g \
        -Dskip.karaf.featureTest=true | tee /tmp/log

    if grep &apos;BUILD FAILURE&apos; /tmp/log; then
        logfile=$(mktemp --tmpdir=&quot;$logdir&quot; --suffix=.log build-XXXXXXXX)
        logfile_name=$(basename $logfile)
        mv &quot;/tmp/log&quot; &quot;$logfile&quot;
        surefire_dir=$(grep &apos;\[ERROR\] Please refer to&apos; &quot;$logfile&quot; | awk &apos;{print $5}&apos;)
        if [ ! -z &quot;$surefire_dir&quot; ]; then
            zip -jr &quot;$logdir/${logfile_name}.zip&quot; &quot;$surefire_dir&quot;
        fi
    fi
done
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="64134" author="zxiiro" created="Fri, 20 Jul 2018 01:46:28 +0000"  >&lt;p&gt;Just remembered mvn doesn&apos;t return an error code when it fails &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&lt;del&gt;I&apos;ll tweak the script.&lt;/del&gt;&lt;/p&gt;

&lt;p&gt;Edit: Script updated to parse the logs.&lt;/p&gt;</comment>
                            <comment id="64135" author="cdgasparini" created="Fri, 20 Jul 2018 07:54:18 +0000"  >&lt;p&gt;Hi Thanh, thank you for your help.&lt;/p&gt;

&lt;p&gt;I pushed a possible fix for this issue, could you please give it a try, and check if you are able to still reproduce the issue.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks and regards,&lt;/p&gt;</comment>
                            <comment id="64139" author="zxiiro" created="Fri, 20 Jul 2018 14:09:51 +0000"  >&lt;p&gt;Hi Claudio,&lt;/p&gt;

&lt;p&gt;I&apos;ve pulled down the patch and will run at in Rackspace as well as my 2 laptops continuously for the weekend and report back.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Thanh&lt;/p&gt;</comment>
                            <comment id="64145" author="zxiiro" created="Sat, 21 Jul 2018 14:45:57 +0000"  >&lt;p&gt; &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/attachment/14786/14786_bgpcep-logs-with-patch-74267.zip&quot; title=&quot;bgpcep-logs-with-patch-74267.zip attached to BGPCEP-814&quot;&gt;bgpcep-logs-with-patch-74267.zip&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.opendaylight.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;I wrote a writeup here &lt;a href=&quot;https://lists.opendaylight.org/pipermail/bgpcep-dev/2018-July/001372.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/bgpcep-dev/2018-July/001372.html&lt;/a&gt; but I&apos;ll repeat some of it here too.&lt;/p&gt;

&lt;p&gt;I ran bgpcep builds with patch 74267 for 24 hrs on 3 different systems and found that I was only able to reproduce the issue on a 4 core system. It seems like running the tests on an 8 core machine does not reproduce the issue. I guess the moc tests in bgpcep may be heavily threaded and requires 8 cores to succeed?&lt;/p&gt;

&lt;p&gt;The easy solution here would be throw more money and resources at the builder and bump autorelease builds to an 8 core machine but I do want to stress that back in Rackspace we used to use a 2 core machine to build autorelease and since moving to Vexxhost we bumped it up to 4 cores so already double what was originally available in the past.&lt;/p&gt;</comment>
                            <comment id="64267" author="mperina@cisco.com" created="Thu, 26 Jul 2018 08:50:32 +0000"  >&lt;p&gt;I was finally able to reproduce the issue with the script. Meantime there was another patch from claudio and one more autorelease fail which uncovered problem with syncing server and client creation within test. After applying these two patches I wasn&apos;t able to replicate the issue again.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/74272/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/74272/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/74390/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/74390/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="64268" author="mperina@cisco.com" created="Thu, 26 Jul 2018 09:02:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/74272/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/74272/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/74390/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/74390/&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;solves the issue&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14786" name="bgpcep-logs-with-patch-74267.zip" size="1424519" author="zxiiro" created="Sat, 21 Jul 2018 14:41:42 +0000"/>
                            <attachment id="14785" name="org.opendaylight.protocol.bmp.impl.app.BmpMonitorImplTest-output.txt" size="24408" author="zxiiro" created="Fri, 20 Jul 2018 02:53:41 +0000"/>
                            <attachment id="14764" name="test.txt" size="717350" author="matej.perina" created="Wed, 18 Jul 2018 12:07:22 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03gvj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>