jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: JMeter Windows #1494
Date Sat, 28 Sep 2019 20:45:13 GMT
See <https://builds.apache.org/job/JMeter%20Windows/1494/display/redirect?page=changes>

Changes:

[sitnikov.vladimir] Close StringFromFile after testing so Windows could remove temporary

------------------------------------------
[...truncated 153.58 KB...]


> Task :src:core:check
> Task :src:core:assemble

> Task :src:components:test

Gradle Test Executor 12 STANDARD_OUT
    Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter Windows\src\components\..\..\.
    Initializing Properties: ../.././bin/jmeter.properties

Gradle Test Executor 12 STANDARD_ERROR
    Sep 28, 2019 1:43:31 PM java.util.prefs.WindowsPreferences <init>
    WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002.
Windows RegCreateKeyEx(...) returned error code 5.

Gradle Test Executor 12 STANDARD_OUT
    JMeterVersion=5.2.0-SNAPSHOT 18cd156
    java.version=1.8.0_152
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vendor=Oracle Corporation
    java.home=F:\jenkins\tools\java\latest1.8\jre
    file.encoding=windows-1252
    default encoding=windows-1252
    user.home=C:\Users\jenkins
    user.dir=F:\jenkins\jenkins-slave\workspace\JMeter Windows\src\components
    user.language=en
    user.region=null
    user.country=US
    user.variant=
    Locale=en_US
    java.class.version=52.0
    java.awt.headless=
    os.name=Windows Server 2016
    os.version=10.0
    os.arch=amd64

> Task :src:components:check
> Task :src:components:testJar UP-TO-DATE
> Task :src:protocol:http:compileTestJava UP-TO-DATE
> Task :src:protocol:http:compileTestGroovy
> Task :src:protocol:http:testClasses
> Task :src:protocol:http:testJar UP-TO-DATE
> Task :src:protocol:http:checkstyleTest
> Task :src:protocol:http:spotbugsTest SKIPPED
> Task :src:functions:compileTestJava
> Task :src:functions:compileTestGroovy
> Task :src:functions:testClasses
> Task :src:functions:testJar
> Task :src:dist-check:compileTestJava UP-TO-DATE
> Task :src:functions:checkstyleTest
> Task :src:functions:spotbugsTest SKIPPED
> Task :src:dist-check:compileTestGroovy
> Task :src:dist-check:testClasses

> Task :src:protocol:http:test

Gradle Test Executor 16 STANDARD_OUT
    Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter Windows\src\protocol\http\..\..\..\.
    Initializing Properties: ../../.././bin/jmeter.properties

Gradle Test Executor 16 STANDARD_ERROR
    Sep 28, 2019 1:43:48 PM java.util.prefs.WindowsPreferences <init>
    WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002.
Windows RegCreateKeyEx(...) returned error code 5.

Gradle Test Executor 16 STANDARD_OUT
    JMeterVersion=5.2.0-SNAPSHOT 18cd156
    java.version=1.8.0_152
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vendor=Oracle Corporation
    java.home=F:\jenkins\tools\java\latest1.8\jre
    file.encoding=windows-1252
    default encoding=windows-1252
    user.home=C:\Users\jenkins
    user.dir=F:\jenkins\jenkins-slave\workspace\JMeter Windows\src\protocol\http
    user.language=en
    user.region=null
    user.country=US
    user.variant=
    Locale=en_US
    java.class.version=52.0
    java.awt.headless=
    os.name=Windows Server 2016
    os.version=10.0
    os.arch=amd64

> Task :src:dist-check:checkstyleTest
> Task :src:dist-check:spotbugsTest SKIPPED

> Task :src:functions:test

Gradle Test Executor 17 STANDARD_OUT
    Setting JMeterHome: F:\jenkins\jenkins-slave\workspace\JMeter Windows\src\functions\..\..\.
    Initializing Properties: ../.././bin/jmeter.properties

Gradle Test Executor 17 STANDARD_ERROR
    Sep 28, 2019 1:43:50 PM java.util.prefs.WindowsPreferences <init>
    WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002.
Windows RegCreateKeyEx(...) returned error code 5.

Gradle Test Executor 17 STANDARD_OUT
    JMeterVersion=5.2.0-SNAPSHOT 18cd156
    java.version=1.8.0_152
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vendor=Oracle Corporation
    java.home=F:\jenkins\tools\java\latest1.8\jre
    file.encoding=windows-1252
    default encoding=windows-1252
    user.home=C:\Users\jenkins
    user.dir=F:\jenkins\jenkins-slave\workspace\JMeter Windows\src\functions
    user.language=en
    user.region=null
    user.country=US
    user.variant=
    Locale=en_US
    java.class.version=52.0
    java.awt.headless=
    os.name=Windows Server 2016
    os.version=10.0
    os.arch=amd64

> Task :src:functions:check

> Task :src:protocol:http:test

org.apache.jmeter.protocol.http.sampler.ParallelResourcesAndIpSource > test(String, WireMockServer,
JMeterVariables)[1] FAILED
    org.opentest4j.AssertionFailedError: expected: <url: http://wiremock/index.html
    response: OK
    data.size: 85
    data: <html><body><img src='image1.png'><img src='image2.png'><img
src='image3.png'></body>
    - url: http://wiremock/image1.png
      response: OK
      data.size: 8
      data: content1
    - url: http://wiremock/image2.png
      response: OK
      data.size: 8
      data: content2
    - url: http://wiremock/image3.png
      response: OK
      data.size: 8
      data: content3
    - url: http://wiremock/index.html
      response: OK
      data.size: 85
      data: <html><body><img src='image1.png'><img src='image2.png'><img
src='image3.png'></body>
    > but was: <url: http://wiremock/index.html
    response: OK
    data.size: 85
    data: <html><body><img src='image1.png'><img src='image2.png'><img
src='image3.png'></body>
    - url: http://wiremock/image1.png
      response: OK
      data.size: 8
      data: content1
    - url: http://wiremock/image2.png
      response: OK
      data.size: 8
      data: content2
    - url: http://wiremock/image3.png
      response: OK
      data.size: 8
      data: content3
    - url: http://wiremock/index.html
      response: OK
      data.size: 85
      data: <html><body><img src='image1.png'><img src='image2.png'><img
src='image3.png'></body>
    >
        at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
        at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
        at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
        at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
        at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1124)
        at org.apache.jmeter.protocol.http.sampler.ParallelResourcesAndIpSource.test(ParallelResourcesAndIpSource.java:109)

org.apache.jmeter.protocol.http.sampler.ParallelResourcesAndIpSource > test(String, WireMockServer,
JMeterVariables)[2] FAILED
    org.opentest4j.AssertionFailedError: expected: <url: http://wiremock/index.html
    response: OK
    data.size: 85
    data: <html><body><img src='image1.png'><img src='image2.png'><img
src='image3.png'></body>
    - url: http://wiremock/image1.png
      response: OK
      data.size: 8
      data: content1
    - url: http://wiremock/image2.png
      response: OK
      data.size: 8
      data: content2
    - url: http://wiremock/image3.png
      response: OK
      data.size: 8
      data: content3
    - url: http://wiremock/index.html
      response: OK
      data.size: 85
      data: <html><body><img src='image1.png'><img src='image2.png'><img
src='image3.png'></body>
    > but was: <url: http://wiremock/index.html
    response: OK
    data.size: 85
    data: <html><body><img src='image1.png'><img src='image2.png'><img
src='image3.png'></body>
    - url: http://wiremock/image1.png
      response: OK
      data.size: 8
      data: content1
    - url: http://wiremock/image2.png
      response: OK
      data.size: 8
      data: content2
    - url: http://wiremock/image3.png
      response: OK
      data.size: 8
      data: content3
    - url: http://wiremock/index.html
      response: OK
      data.size: 85
      data: <html><body><img src='image1.png'><img src='image2.png'><img
src='image3.png'></body>
    >
        at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
        at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
        at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
        at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
        at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1124)
        at org.apache.jmeter.protocol.http.sampler.ParallelResourcesAndIpSource.test(ParallelResourcesAndIpSource.java:109)

608 tests completed, 2 failed, 3 skipped

> Task :src:protocol:http:test FAILED

> Task :src:dist:javadocAggregate
9 warnings
checksum-dependency elapsed time: 5062ms, configurations processed: 407 (add -PchecksumTimingsPrint
to print detailed timings)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':src:protocol:http:test'.
> There were failing tests. See the report at: file:///F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/src/protocol/http/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to
get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.6.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 39s
214 actionable tasks: 104 executed, 110 up-to-date
Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows
RegCreateKeyEx(...) returned error code 5.
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

Mime
View raw message