Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274171

java/nio/file/Files/probeContentType/Basic.java failed on "Content type" mismatches

    XMLWordPrintable

Details

    • b17
    • x86_64
    • linux_ubuntu

    Backports

      Description

        The following test failed in the JDK18 CI:

        java/nio/file/Files/probeContentType/Basic.java

        Here's a snippet from the log file:

        ----------System.err:(15/900)----------
        Content type: text/x-python; expected: [text/plain, text/x-python-script]
        Content type: application/rar; expected: [application/vnd.rar]
        java.lang.RuntimeException: Test failed!
        at Basic.main(Basic.java:192)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed!
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed!
        ----------rerun:(35/6631)*----------

        Attachments

          Issue Links

            Activity

              People

                jboes Julia Boes (Inactive)
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: