Last modified: 2013-06-10 16:16:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51388, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49388 - Gerrit no longer reporting to bugzilla
Gerrit no longer reporting to bugzilla
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-10 10:30 UTC by christian
Modified: 2013-06-10 16:16 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description christian 2013-06-10 10:30:26 UTC
Gerrit does no longer report new changes to the associated bug in bugzilla.

Example: Gerrit's change 67642
https://gerrit.wikimedia.org/r/#/c/67642/
does not contain a link to bug 49370 although the commit message of the change's first patch set references bug 49370.
Comment 1 christian 2013-06-10 10:36:53 UTC
As least the plugin's documentation page
https://gerrit.wikimedia.org/r/plugins/hooks-bugzilla/Documentation/config.html
is not accessible, it seems the hooks-bugzilla plugin is not running.

Chad, could you check whether the hooks-bugzilla plugin is loaded?

(Or did the plugin get installed under a name dufferent from "hooks-bugzilla"?)
Comment 2 Chad H. 2013-06-10 11:38:22 UTC
The plugin isn't loaded :\

[2013-06-10 00:19:31,567] WARN  com.google.gerrit.server.plugins.PluginLoader : Cannot load plugin hooks-bugzilla
java.lang.NoClassDefFoundError: com/google/gerrit/server/data/ChangeAttribute
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2454)
        at java.lang.Class.getDeclaredMethods(Class.java:1810)
        at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:662)
        at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:356)
        at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:151)
        at com.google.inject.internal.InjectorImpl.getInternalDependencies(InjectorImpl.java:585)
        at com.google.inject.internal.InjectorImpl.cleanup(InjectorImpl.java:543)
        at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:529)
        at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:847)
        at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:772)
        at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:761)
        at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:256)
        at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:205)
        at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:853)
        at com.google.inject.internal.FactoryProxy.notify(FactoryProxy.java:46)
        at com.google.inject.internal.ProcessedBindingData.runCreationListeners(ProcessedBindingData.java:50)
        at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:133)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
        at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:217)
        at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:224)
        at com.google.gerrit.server.plugins.Plugin.start(Plugin.java:186)
        at com.google.gerrit.server.plugins.PluginLoader.runPlugin(PluginLoader.java:364)
        at com.google.gerrit.server.plugins.PluginLoader.rescan(PluginLoader.java:340)
        at com.google.gerrit.server.plugins.PluginLoader.start(PluginLoader.java:253)
        at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:74)
        at com.google.gerrit.pgm.Daemon.run(Daemon.java:190)
        at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:168)
        at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:92)
        at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:50)
        at Main.main(Main.java:25)
Caused by: java.lang.ClassNotFoundException: com.google.gerrit.server.data.ChangeAttribute
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 36 more
Comment 3 christian 2013-06-10 16:02:06 UTC
Looks like we downgraded gerrit further than our installed
hooks-bugzilla allowed [1].

I packaged a hooks-bugzilla for:
  hooks-its: 318bc39f872d242743f1ac86a260e7f6d2d3eccb
  hooks-bugzilla: 6b74f0440e7c2c7d1668da8563d9adb51d76f9c9 (current mast$
  j2bugzilla: 232:4b5e8748e856
, and (to not cram larger binary files to bugzilla) sent it to ^demon.

[1] The problematic commit is hook-its'
  e3e159590cea305be408f2749a3fe30ec7897970
: Follow gerrit's move of Attribute classes to data package
Comment 4 Chad H. 2013-06-10 16:16:23 UTC
Rolled back to older hooks-bugzilla.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links