Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-848

"XNIO001001: No XNIO provider found" by some tests running with security manager

    Details

      Description

      Some tests in wildfly-core fails due to "XNIO001001: No XNIO provider found" while run with security manager enabled.

      mvn test -Dtest=SuspendResumeTestCase -Dsecurity.manager -DtestLogToFile=false
      
      10:27:16,814 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.test-undertow-server: org.jboss.msc.service.StartException in service jboss.test-undertow-server: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.IllegalArgumentException: XNIO001001: No XNIO provider found
      	at org.xnio.Xnio.doGetInstance(Xnio.java:238)
      	at org.xnio.Xnio.getInstance(Xnio.java:181)
      	at io.undertow.Undertow.start(Undertow.java:97)
      	at org.wildfly.test.suspendresumeendpoint.TestUndertowService.start(TestUndertowService.java:94)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      	... 3 more
      
      10:27:16,816 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "web-suspend.jar")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.test-undertow-server" => "org.jboss.msc.service.StartException in service jboss.test-undertow-server: Failed to start service
          Caused by: java.lang.IllegalArgumentException: XNIO001001: No XNIO provider found"}}
      10:27:16,817 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0021: Deploy of deployment "web-suspend.jar" was rolled back with the following failure message: 
      {"WFLYCTL0080: Failed services" => {"jboss.test-undertow-server" => "org.jboss.msc.service.StartException in service jboss.test-undertow-server: Failed to start service
          Caused by: java.lang.IllegalArgumentException: XNIO001001: No XNIO provider found"}}
      

      Affected tests found so far:

      • org.wildfly.core.test.standalone.suspend.web.SuspendResumeTestCase
      • org.jboss.as.test.integration.domain.suspendresume.DomainGracefulShutdownTestCase
      • org.jboss.as.test.integration.domain.suspendresume.DomainSuspendResumeTestCase

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iweiss Ingo Weiss
                  Reporter:
                  pkremens Petr Kremensky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 days
                    2d
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days
                    2d