jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: buildbot failure in on jmeter-nightly
Date Thu, 09 Feb 2017 12:43:13 GMT
On 9 February 2017 at 07:32, Philippe Mouawad
<philippe.mouawad@gmail.com> wrote:
> Hi,
> Anybody has an idea why this one is randomly failing on nightly builds, I
> had sent an email about Tests based on duration.:
>
>      [java] java.lang.AssertionError: Expected delay of approx 500
> expected:<500.0> but was:<398.0>

The test tries to check if the calculated delay is correct.

If the build machine is busy, then the sleep(500) may take longer in
which case the calculated delay should be shorter.
SInce the test aims at 1 per second, the delay should be 1000 - elapsed.
The test currently assumes elapsed is 500.

I'll push a fix.

>      [java]     at org.junit.Assert.fail(Assert.java:88)
>      [java]     at org.junit.Assert.failNotEquals(Assert.java:834)
>      [java]     at org.junit.Assert.assertEquals(Assert.java:575)
>      [java]     at
> org.apache.jmeter.timers.ConstantThroughputTimerTest.testTimer1(ConstantThroughputTimerTest.java:42)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:498)
>      [java]     at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>      [java]     at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>      [java]     at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>      [java]     at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>      [java]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>      [java]     at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>      [java]     at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>      [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>      [java]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>      [java]     at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>      [java]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>      [java]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>      [java]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>      [java]     at org.junit.runners.Suite.runChild(Suite.java:128)
>      [java]     at org.junit.runners.Suite.runChild(Suite.java:27)
>      [java]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>      [java]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>      [java]     at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>      [java]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>      [java]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>      [java]     at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>      [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
>      [java]     at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
>      [java]     at org.apache.jorphan.test.AllTests.main(AllTests.java:222)
>      [java]
>      [java] FAILURES!!!
>      [java] Tests run: 2686,  Failures: 1
>
>
> On Thu, Feb 2, 2017 at 3:34 AM, <buildbot@apache.org> wrote:
>
>> The Buildbot has detected a new failure on builder jmeter-nightly while
>> building . Full details are available at:
>>     https://ci.apache.org/builders/jmeter-nightly/builds/572
>>
>> Buildbot URL: https://ci.apache.org/
>>
>> Buildslave for this Build: bb_slave1_ubuntu
>>
>> Build Reason: The Nightly scheduler named 'jmeterNightly' triggered this
>> build
>> Build Source Stamp: [branch jmeter/trunk] HEAD
>> Blamelist:
>>
>> BUILD FAILED: failed shell_5
>>
>> Sincerely,
>>  -The Buildbot
>>
>>
>>
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.

Mime
View raw message