Five of the fxpackager unit tests fail when run on macOS 10.12 (Sierra). We are in the process of switching our production build to 10.12.6 in support of the most recent WebKit upgrade.
To reproduce this, run the following on FX 8u-dev:
$ gradle test
...
:fxpackager:test
com.oracle.tools.packager.mac.MacAppBundlerTest > testJRE FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacAppBundlerTest.testJRE(MacAppBundlerTest.java:756)
com.oracle.tools.packager.mac.MacAppBundlerTest > minimumConfig FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacAppBundlerTest.minimumConfig(MacAppBundlerTest.java:526)
com.oracle.tools.packager.mac.MacAppBundlerTest > quarantinedAppTest FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacAppBundlerTest.quarantinedAppTest(MacAppBundlerTest.java:480)
com.oracle.tools.packager.mac.MacPkgBundlerTest > minimumConfig FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacPkgBundlerTest.minimumConfig(MacPkgBundlerTest.java:357)
com.oracle.tools.packager.mac.MacPkgBundlerTest > quarantinedAppTest FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacPkgBundlerTest.quarantinedAppTest(MacPkgBundlerTest.java:308)
To reproduce this, run the following on FX 8u-dev:
$ gradle test
...
:fxpackager:test
com.oracle.tools.packager.mac.MacAppBundlerTest > testJRE FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacAppBundlerTest.testJRE(MacAppBundlerTest.java:756)
com.oracle.tools.packager.mac.MacAppBundlerTest > minimumConfig FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacAppBundlerTest.minimumConfig(MacAppBundlerTest.java:526)
com.oracle.tools.packager.mac.MacAppBundlerTest > quarantinedAppTest FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacAppBundlerTest.quarantinedAppTest(MacAppBundlerTest.java:480)
com.oracle.tools.packager.mac.MacPkgBundlerTest > minimumConfig FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacPkgBundlerTest.minimumConfig(MacPkgBundlerTest.java:357)
com.oracle.tools.packager.mac.MacPkgBundlerTest > quarantinedAppTest FAILED
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNotNull(Assert.java:524)
at org.junit.Assert.assertNotNull(Assert.java:535)
at com.oracle.tools.packager.mac.MacPkgBundlerTest.quarantinedAppTest(MacPkgBundlerTest.java:308)
- relates to
-
JDK-8193554 Disable failing fxpackager tests on macOS until JDK-8193232 is fixed
- Resolved
-
JDK-8195074 Improve signing mechanism on Mac 10.12+
- Resolved