RFR: JMC-6115 Use Jemmy builds from Maven Central
Joshua Matsuoka
jmatsuok at redhat.com
Mon Nov 5 15:24:34 UTC 2018
Hi Patrick,
I've done some investigating and found that there are 4 UI tests that are
problematic on OpenJDK.
ControlRecordingsTest - Tries to perform various operations on a recording
from the JVM Browser, fails since we don't have flight recorder in OpenJDK8
JFRWizardTest - Tries to test various options from the JFR recording
wizard. The wizard is started from the JVM browser so it fails for the same
reasons as the previous test
TemplateManagerTest - Requires the JVM browser to have JFR functionality,
same as above.
DiagnosticCommandsTabTest - Expects JFR diagnostic commands to be present
in the list of options. They aren't there in OpenJDK8.
After disabling them I'm able to run all of the rest of the UI Tests
successfully. I'll be working on a patch similar to the one for JMC-6118.
Cheers,
- Josh
On Sun, Nov 4, 2018 at 10:16 AM, Patrick Reinhart <patrick at reini.net> wrote:
>
> Am 01.11.18 um 15:56 schrieb Jie Kang:
> > Hi,
> > Is there any update on this?
> >
> > I've attached the patch again to this e-mail; this was the initial
> e-mail:
> >
> >> Please find attached an alternative patch that addresses JMC-6115. It
> >> adds a step in the maven phase to download the Jemmy libraries from
> >> Maven Central. The pom file is also converted to all tabs. Let me know
> >> what you think!
>
> Just updated my code again and re-run the builds and now only the
> UI-Tests fail with OracleJDK 1.8.0_181
>
>
> mvn verify -P uitests -Dspotbugs.skip=true
>
> [...]
>
> [INFO] org.openjdk.jmc.test.jemmy ......................... SUCCESS [
> 0.228 s]
> [INFO] org.openjdk.jmc.browser.uitest 1.0.0-SNAPSHOT ...... FAILURE [
> 40.646 s]
> [INFO] org.openjdk.jmc.console.jconsole.uitest 1.0.0-SNAPSHOT SKIPPED
> [INFO] org.openjdk.jmc.console.persistence.uitest 1.0.0-SNAPSHOT SKIPPED
> [INFO] org.openjdk.jmc.console.uitest 1.0.0-SNAPSHOT ...... SKIPPED
> [INFO] org.openjdk.jmc.flightrecorder.uitest 1.0.0-SNAPSHOT SKIPPED
> [INFO] org.openjdk.jmc.rcp.application.uitest 1.0.0-SNAPSHOT SKIPPED
> [INFO] missioncontrol.releng .............................. SKIPPED
> [INFO] platform-definitions ............................... SKIPPED
> [INFO] platform-definition-oxygen ......................... SKIPPED
> [INFO] platform-definition-photon 7.0.0-SNAPSHOT .......... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 03:15 min
> [INFO] Finished at: 2018-11-04T10:06:32+01:00
> [INFO]
> ------------------------------------------------------------------------
>
> Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
> 2018-06-17T20:33:14+02:00)
> Maven home: /opt/apache-maven-3.5.4
> Java version: 1.8.0_181, vendor: Oracle Corporation, runtime:
> /usr/java/jdk1.8.0_181/jre
> Default locale: de_CH, platform encoding: UTF-8
>
> OS name: "linux", version: "4.18.16-300.fc29.x86_64", arch: "amd64",
> family: "unix"
>
> -Patrick
>
> Did anyone run this tests successfully?
>
>
>
>
More information about the jmc-dev
mailing list