Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7649

upgrade tests fail when v1.11 is added to geode-old-versions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • membership
    • None

    Description

      With v1.11 being released we are adding it as an old-version for upgrade tests. This is failing when a locator is rolled from v1.11 to develop (v1.12).

      org.apache.geode.cache.wan.WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo > CreateGatewaySenderMixedSiteOneCurrentSiteTwo[from_v1.11.0] FAILED
          org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.cache.wan.WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo$$Lambda$200/0x0000000840855440.call in VM 0 running on Host 7ab3b8a613a7 with 7 VMs
              at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:610)
              at org.apache.geode.test.dunit.VM.invoke(VM.java:462)
              at org.apache.geode.cache.wan.WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo.CreateGatewaySenderMixedSiteOneCurrentSiteTwo(WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo.java:92)
      
              Caused by:
              java.lang.IllegalStateException: Unable to recover previous membership view from /home/geode/geode/geode-wan/build/upgradeTest38/dunit/vm0/locator28263view.dat
                  at org.apache.geode.distributed.internal.membership.gms.locator.GMSLocator.recoverFromFile(GMSLocator.java:482)
                  at org.apache.geode.distributed.internal.membership.gms.locator.GMSLocator.recover(GMSLocator.java:397)
                  at org.apache.geode.distributed.internal.membership.gms.locator.GMSLocator.init(GMSLocator.java:181)
                  at org.apache.geode.distributed.internal.membership.adapter.GMSLocatorAdapter.init(GMSLocatorAdapter.java:108)
                  at org.apache.geode.distributed.internal.PrimaryHandler.init(PrimaryHandler.java:61)
                  at org.apache.geode.distributed.internal.tcpserver.TcpServer.start(TcpServer.java:172)
                  at org.apache.geode.distributed.internal.InternalLocator.startTcpServer(InternalLocator.java:563)
                  at org.apache.geode.distributed.internal.InternalLocator.startPeerLocation(InternalLocator.java:620)
                  at org.apache.geode.distributed.internal.InternalLocator.startLocator(InternalLocator.java:375)
                  at org.apache.geode.distributed.internal.InternalLocator.startLocator(InternalLocator.java:330)
                  at org.apache.geode.distributed.Locator.startLocator(Locator.java:253)
                  at org.apache.geode.distributed.Locator.startLocatorAndDS(Locator.java:140)
                  at org.apache.geode.cache.wan.WANRollingUpgradeDUnitTest.startLocatorWithJmxManager(WANRollingUpgradeDUnitTest.java:115)
                  at org.apache.geode.cache.wan.WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo.lambda$CreateGatewaySenderMixedSiteOneCurrentSiteTwo$e0147a59$1(WANRollingUpgradeCreateGatewaySenderMixedSiteOneCurrentSiteTwo.java:92)
      
                  Caused by:
                  java.io.StreamCorruptedException: invalid type code: 02
                      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2973)
                      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:3007)
                      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:3079)
                      at java.io.ObjectInputStream.read(ObjectInputStream.java:913)
                      at java.io.DataInputStream.readByte(DataInputStream.java:270)
                      at org.apache.geode.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:2556)
                      at org.apache.geode.DataSerializer.readObject(DataSerializer.java:2864)
                      at org.apache.geode.internal.InternalDataSerializer$1.readObject(InternalDataSerializer.java:304)
                      at org.apache.geode.distributed.internal.membership.gms.locator.GMSLocator.recoverFromFile(GMSLocator.java:458)
                      ... 13 more
      

      Attachments

        Issue Links

          Activity

            People

              echobravo Ernest Burghardt
              bschuchardt Bruce J Schuchardt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h