Uploaded image for project: 'Crosswalk Project'
  1. Crosswalk Project
  2. XWALK-4549

Regression: intermittent RuntimeClientTest and RuntimeClientEmbeddedTest failures in master




      Pull request #3068 and its respective commit "Refactored shared mode and refined the interface" has introduced a regression that causes a random subset of the RuntimeClient and RuntimeEmbeddedClient tests to fail.

      The failures can be seen here in the builder information, but it only makes sense to look at the failures with the Android x86 builder information, as the latter has been suffering from disk space issues and some builds do not get processed by the machine running the device tests.

      The backtrace generally looks like this:

      E/AndroidRuntime(32124): FATAL EXCEPTION: main
      E/AndroidRuntime(32124): java.lang.NullPointerException
      E/AndroidRuntime(32124):        at org.xwalk.test.util.XWalkRuntimeClientTestGeneric$1.run(XWalkRuntimeClientTestGeneric.java:35)
      E/AndroidRuntime(32124):        at android.app.Instrumentation$SyncRunnable.run(Instrumentation.java:1679)
      E/AndroidRuntime(32124):        at android.os.Handler.handleCallback(Handler.java:756)
      E/AndroidRuntime(32124):        at android.os.Handler.dispatchMessage(Handler.java:101)
      E/AndroidRuntime(32124):        at android.os.Looper.loop(Looper.java:152)
      E/AndroidRuntime(32124):        at android.app.ActivityThread.main(ActivityThread.java:5691)
      E/AndroidRuntime(32124):        at java.lang.reflect.Method.invokeNative(Native Method)
      E/AndroidRuntime(32124):        at java.lang.reflect.Method.invoke(Method.java:511)
      E/AndroidRuntime(32124):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
      E/AndroidRuntime(32124):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
      E/AndroidRuntime(32124):        at dalvik.system.NativeStart.main(Native Method)
      W/ActivityManager( 2175): Error in app org.xwalk.runtime.client.shell running instrumentation ComponentInfo{org.xwalk.runtime.client.test/android.test.InstrumentationTestRunner}:
      W/ActivityManager( 2175):   java.lang.NullPointerException
      W/ActivityManager( 2175):   java.lang.NullPointerException

      Hengzhi Wu did mention something like this in his last comment in that pull request, but I do not see any follow-up to that.

      We need to get this fixed as soon as possible, as otherwise it is difficult to both update our M44 version as well as move to M45 in the future (we need all tests to be passing to verify that the updates to not introduce regressions).


          Issue Links



              • Assignee:
                lincsoon Lin Sun (Inactive)
                rakuco Raphael Kubo da Costa
                Balestrieri, Francesco (Inactive), Halton Huo (Inactive), Hengzhi Wu (Inactive), Olli Raula (Inactive)
              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created: