You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "kirklund (GitHub)" <gi...@apache.org> on 2019/02/25 21:57:43 UTC

[GitHub] [geode] kirklund opened pull request #3233: Create and use InternalCacheFactory

NOT READY FOR REVIEW

[ Full content available at: https://github.com/apache/geode/pull/3233 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund commented on issue #3233: Create and use InternalCacheFactory

Posted by "kirklund (GitHub)" <gi...@apache.org>.
DistributedTestOpen failures. RegionManagementDunitTest seems unrelated. ReconnectDUnitTest fails because ds-quorum-checker was not successfully removed from the DistributionConfigImpl properties.
```
org.apache.geode.management.internal.rest.RegionManagementDunitTest > noNameInConfig FAILED
    java.lang.AssertionError: [Post /regions, response body: 
    {
      "memberStatuses" : { },
      "persistenceStatus" : {
        "success" : false,
        "message" : "Name of the region has to be specified."
      },
      "realizedOnAllOrNone" : true,
      "persisted" : false,
      "successful" : false
    }
    ] 
    Expecting:
     <400>
    to be in:
     <[500]>
        at org.apache.geode.test.junit.rules.HttpResponseAssert.hasStatusCode(HttpResponseAssert.java:67)
        at org.apache.geode.management.internal.rest.RegionManagementDunitTest.noNameInConfig(RegionManagementDunitTest.java:152)
```
```
org.apache.geode.cache30.ReconnectDUnitTest > testReconnectCollidesWithApplication FAILED
    org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.cache30.ReconnectDUnitTest$8.call in VM 1 running on Host 3c5538152540 with 4 VMs
        at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:579)
        at org.apache.geode.test.dunit.VM.invoke(VM.java:431)
        at org.apache.geode.cache30.ReconnectDUnitTest.doTestReconnectOnForcedDisconnect(ReconnectDUnitTest.java:390)
        at org.apache.geode.cache30.ReconnectDUnitTest.testReconnectCollidesWithApplication(ReconnectDUnitTest.java:309)

        Caused by:
        org.apache.geode.distributed.DistributedSystemDisconnectedException: Reconnect attempts terminated due to exception, caused by java.lang.IllegalArgumentException: Unknown configuration attribute name ds-quorum-checker. Valid attribute names are: 
```

[ Full content available at: https://github.com/apache/geode/pull/3233 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund commented on issue #3233: Create and use InternalCacheFactory

Posted by "kirklund (GitHub)" <gi...@apache.org>.
DistributedTestOpen failures:

ReconnectDUnitTest fails because ds-quorum-checker was not successfully removed from the DistributionConfigImpl properties:
```
org.apache.geode.cache30.ReconnectDUnitTest > testReconnectCollidesWithApplication FAILED
    org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.cache30.ReconnectDUnitTest$8.call in VM 1 running on Host 3c5538152540 with 4 VMs
        at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:579)
        at org.apache.geode.test.dunit.VM.invoke(VM.java:431)
        at org.apache.geode.cache30.ReconnectDUnitTest.doTestReconnectOnForcedDisconnect(ReconnectDUnitTest.java:390)
        at org.apache.geode.cache30.ReconnectDUnitTest.testReconnectCollidesWithApplication(ReconnectDUnitTest.java:309)

        Caused by:
        org.apache.geode.distributed.DistributedSystemDisconnectedException: Reconnect attempts terminated due to exception, caused by java.lang.IllegalArgumentException: Unknown configuration attribute name ds-quorum-checker. Valid attribute names are: 
...
            at org.apache.geode.distributed.internal.InternalDistributedSystem.waitUntilReconnected(InternalDistributedSystem.java:2987)
            at org.apache.geode.cache30.ReconnectDUnitTest$8.call(ReconnectDUnitTest.java:410)

```
RegionManagementDunitTest seems unrelated:
```
org.apache.geode.management.internal.rest.RegionManagementDunitTest > noNameInConfig FAILED
    java.lang.AssertionError: [Post /regions, response body: 
    {
      "memberStatuses" : { },
      "persistenceStatus" : {
        "success" : false,
        "message" : "Name of the region has to be specified."
      },
      "realizedOnAllOrNone" : true,
      "persisted" : false,
      "successful" : false
    }
    ] 
    Expecting:
     <400>
    to be in:
     <[500]>
        at org.apache.geode.test.junit.rules.HttpResponseAssert.hasStatusCode(HttpResponseAssert.java:67)
        at org.apache.geode.management.internal.rest.RegionManagementDunitTest.noNameInConfig(RegionManagementDunitTest.java:152)
```


[ Full content available at: https://github.com/apache/geode/pull/3233 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund commented on issue #3233: Create and use InternalCacheFactory

Posted by "kirklund (GitHub)" <gi...@apache.org>.
Precheckin failures have been fixed. I'm now cleaning up ReconnectDUnitTest due to flakiness encountered by precheckin for this PR. After writing additional InternalCacheFactory tests, I'll resubmit as a new PR.

[ Full content available at: https://github.com/apache/geode/pull/3233 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund commented on issue #3233: Create and use InternalCacheFactory

Posted by "kirklund (GitHub)" <gi...@apache.org>.
DistributedTestOpen failures:

ReconnectDUnitTest fails because ds-quorum-checker was not successfully removed from the DistributionConfigImpl properties:
```
org.apache.geode.cache30.ReconnectDUnitTest > testReconnectCollidesWithApplication FAILED
    org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.cache30.ReconnectDUnitTest$8.call in VM 1 running on Host 3c5538152540 with 4 VMs
        at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:579)
        at org.apache.geode.test.dunit.VM.invoke(VM.java:431)
        at org.apache.geode.cache30.ReconnectDUnitTest.doTestReconnectOnForcedDisconnect(ReconnectDUnitTest.java:390)
        at org.apache.geode.cache30.ReconnectDUnitTest.testReconnectCollidesWithApplication(ReconnectDUnitTest.java:309)

        Caused by:
        org.apache.geode.distributed.DistributedSystemDisconnectedException: Reconnect attempts terminated due to exception, caused by java.lang.IllegalArgumentException: Unknown configuration attribute name ds-quorum-checker. Valid attribute names are: 
```
RegionManagementDunitTest seems unrelated:
```
org.apache.geode.management.internal.rest.RegionManagementDunitTest > noNameInConfig FAILED
    java.lang.AssertionError: [Post /regions, response body: 
    {
      "memberStatuses" : { },
      "persistenceStatus" : {
        "success" : false,
        "message" : "Name of the region has to be specified."
      },
      "realizedOnAllOrNone" : true,
      "persisted" : false,
      "successful" : false
    }
    ] 
    Expecting:
     <400>
    to be in:
     <[500]>
        at org.apache.geode.test.junit.rules.HttpResponseAssert.hasStatusCode(HttpResponseAssert.java:67)
        at org.apache.geode.management.internal.rest.RegionManagementDunitTest.noNameInConfig(RegionManagementDunitTest.java:152)
```


[ Full content available at: https://github.com/apache/geode/pull/3233 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund closed pull request #3233: Create and use InternalCacheFactory

Posted by "kirklund (GitHub)" <gi...@apache.org>.
[ pull request closed by kirklund ]

[ Full content available at: https://github.com/apache/geode/pull/3233 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org