Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-24022

test failures in base: org.jboss.tools.common.test.CommonAllTests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.5.0.AM1
    • 4.5.0.AM1
    • common, foundation
    • None

    Description

      Some failing tests:

      02:31:17 testGetEnvironment(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0.111 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
      02:31:17 	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
      02:31:17 	at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:34)
      02:31:17 	at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:118)
      02:31:17 	at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:80)
      02:31:17 	at org.eclipse.swt.widgets.Display.<clinit>(Display.java:140)
      02:31:17 	at org.jboss.tools.common.CommonPlugin.start(CommonPlugin.java:45)
      02:31:17 	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
      02:31:17 	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
      02:31:17 	at java.security.AccessController.doPrivileged(Native Method)
      02:31:17 	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
      02:31:17 	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
      02:31:17 	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:933)
      02:31:17 	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
      02:31:17 	at org.eclipse.osgi.container.Module.doStart(Module.java:581)
      02:31:17 	at org.eclipse.osgi.container.Module.start(Module.java:449)
      02:31:17 	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:468)
      02:31:17 	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:103)
      02:31:17 	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
      02:31:17 	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:359)
      02:31:17 	at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:386)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:378)
      02:31:17 	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
      02:31:17 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testGetEnvironment(CommonPluginTest.java:34)
      02:31:17 
      02:31:17 testLogInfoString(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testLogInfoString(CommonPluginTest.java:104)
      02:31:17 
      02:31:17 testLogErrorString(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testLogErrorString(CommonPluginTest.java:62)
      02:31:17 
      02:31:17 testLogInfoStringThrowable(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0.001 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testLogInfoStringThrowable(CommonPluginTest.java:97)
      02:31:17 
      02:31:17 testGetPluginLog(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testGetPluginLog(CommonPluginTest.java:48)
      02:31:17 
      02:31:17 testLogErrorStringThrowable(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0.001 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testLogErrorStringThrowable(CommonPluginTest.java:55)
      02:31:17 
      02:31:17 testLogWarningStringThrowable(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testLogWarningStringThrowable(CommonPluginTest.java:76)
      02:31:17 
      02:31:17 testLogWarningString(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testLogWarningString(CommonPluginTest.java:83)
      02:31:17 
      02:31:17 testLogWarningThrowable(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testLogWarningThrowable(CommonPluginTest.java:90)
      02:31:17 
      02:31:17 testGetDefault(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testGetDefault(CommonPluginTest.java:41)
      02:31:17 
      02:31:17 testGetInstance(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testGetInstance(CommonPluginTest.java:27)
      02:31:17 
      02:31:17 testLogErrorThrowable(org.jboss.tools.common.test.CommonPluginTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/CommonPlugin
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testLogErrorThrowable(CommonPluginTest.java:69)
      02:31:17 

      More:

      02:31:17 testMessagesInitialization(org.jboss.tools.common.test.MessagesTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/Messages
      02:31:17 	at org.jboss.tools.common.test.MessagesTest.testMessagesInitialization(MessagesTest.java:19)
      02:31:17 Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.jboss.tools.common (202).
      02:31:17 	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:112)
      02:31:17 	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
      02:31:17 	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:359)
      02:31:17 	at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:386)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:378)
      02:31:17 	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
      02:31:17 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testGetEnvironment(CommonPluginTest.java:34)

      More:

      02:31:17 testMethodNotImplementedExceptionString(org.jboss.tools.common.test.MethodNotImplementedExceptionTest)  Time elapsed: 0 sec  <<< ERROR!
      02:31:17 java.lang.NoClassDefFoundError: org/jboss/tools/common/MethodNotImplementedException
      02:31:17 	at org.jboss.tools.common.test.MethodNotImplementedExceptionTest.testMethodNotImplementedExceptionString(MethodNotImplementedExceptionTest.java:37)
      02:31:17 Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.jboss.tools.common (202).
      02:31:17 	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:112)
      02:31:17 	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
      02:31:17 	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:359)
      02:31:17 	at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:386)
      02:31:17 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:378)
      02:31:17 	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
      02:31:17 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      02:31:17 	at org.jboss.tools.common.test.CommonPluginTest.testGetEnvironment(CommonPluginTest.java:34)

      Seems the problem is caused by this:

      02:31:17 Caused by: org.osgi.framework.BundleException: 
      Exception in org.jboss.tools.common.CommonPlugin.start() 
      of bundle org.jboss.tools.common.
      

      and this:

      02:31:17 Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
      02:31:17 	/mnt/hudson_workspace/workspace/jbosstools-base_master/sources/common/tests/org.jboss.tools.common.test/target/work/configuration/org.eclipse.osgi/215/0/.cp/libswt-pi-gtk-4735.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /mnt/hudson_workspace/workspace/jbosstools-base_master/sources/common/tests/org.jboss.tools.common.test/target/work/configuration/org.eclipse.osgi/215/0/.cp/libswt-pi-gtk-4735.so)
      02:31:17 	no swt-pi-gtk in java.library.path
      02:31:17 	/qa/services/hudson/.swt/lib/linux/x86_64/libswt-pi-gtk-4735.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /qa/services/hudson/.swt/lib/linux/x86_64/libswt-pi-gtk-4735.so)
      02:31:17 	Can't load library: /home/hudson/.swt/lib/linux/x86_64/libswt-pi-gtk.so

      Attachments

        Issue Links

          Activity

            People

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: