Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5169

"XNIO001001: No XNIO provider found" by some tests in main TS with security manager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Beta1
    • None
    • Test Suite
    • None

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

      Affected tests found so far:

      • org.jboss.as.test.integration.ejb.mdb.MDBTestCase#testSuspendResumeWithMDB
      • org.jboss.as.test.integration.ejb.mdb.deliveryactive.MDBTestCase#testDeliveryActiveWithAnnotation
      • org.jboss.as.test.integration.ejb.mdb.deliveryactive.MDBTestCase#testDeliveryActiveWithDeploymentDescriptor
      • org.jboss.as.test.integration.batch.chunk.ChunkPartitionTestCase#testSuspend
      • org.jboss.as.test.integration.batch.deployment.JobControlTestCase#testStart
      • org.jboss.as.test.integration.ee.concurrent.EEConcurrentManagementTestCase#testContextServiceManagement
      • org.jboss.as.test.integration.ee.concurrent.EEConcurrentManagementTestCase#testManagedThreadFactoryManagement
      • org.jboss.as.test.integration.ee.concurrent.EEConcurrentManagementTestCase#testManagedExecutorServiceManagement
      • org.jboss.as.test.integration.ee.concurrent.EEConcurrentManagementTestCase#testManagedScheduledExecutorServiceManagement
      • org.jboss.as.test.integration.ejb.timerservice.suspend.TimerServiceSuspendTestCase#testIntervalTimersDoNotBackUp
      • org.jboss.as.test.integration.ejb.timerservice.suspend.TimerServiceSuspendTestCase#testSingleActionTimerWhenSuspended
      • org.jboss.as.test.integration.ejb.timerservice.suspend.TimerServiceSuspendTestCase#testSuspendWithIntervalTimer
      • org.jboss.as.test.integration.jca.capacitypolicies.DatasourceCapacityPoliciesTestCase#testNonDefaultDecrementerAndIncrementer
      • org.jboss.as.test.integration.jca.capacitypolicies.ResourceAdapterCapacityPoliciesTestCase#testNonDefaultDecrementerAndIncrementer
      • org.jboss.as.test.integration.jca.capacitypolicies.XADatasourceCapacityPoliciesTestCase#testNonDefaultDecrementerAndIncrementer

      Steps to reporoduce MDBTestCase

      1. ./integration-tests.sh -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIP_1 -Dnode1=$MYTESTIP_2 -DfailIfNoTests=false -Dsecurity.manager -Dts.basic -Dts.noSmoke -Dtest=MDBTestCase

      Actual results:

      Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.394 sec <<< FAILURE! - in org.jboss.as.test.integration.ejb.mdb.MDBTestCase
      testSuspendResumeWithMDB(org.jboss.as.test.integration.ejb.mdb.MDBTestCase)  Time elapsed: 0.19 sec  <<< ERROR!
      java.io.IOException: java.lang.IllegalArgumentException: XNIO001001: No XNIO provider found
      	at org.xnio.Xnio.doGetInstance(Xnio.java:238)
      	at org.xnio.Xnio.getInstance(Xnio.java:193)
      	at org.jboss.remoting3.Remoting.createEndpoint(Remoting.java:112)
      	at org.jboss.as.controller.client.impl.RemotingModelControllerClient.getOrCreateChannel(RemotingModelControllerClient.java:122)
      	at org.jboss.as.controller.client.impl.RemotingModelControllerClient$1.getChannel(RemotingModelControllerClient.java:65)
      	at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:147)
      	at org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:122)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:263)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:168)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
      	at org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:75)
      	at org.jboss.as.test.integration.ejb.mdb.MDBTestCase.testSuspendResumeWithMDB(MDBTestCase.java:173)
      

            istudens@redhat.com Ivo Studensky
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: