HiHow is the commit going to be autosubmitted in Gerrit 3.7.0,
there is no autosubmitted plugin support
Is there a suggested way how this is implemented in 3.7?
I see a "Ready to submit" banner and see submit butwould like the change to be submitted automatically like autosubmitted used to do inGerrit 2.14
Please let me knowThanksPranab
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/0d892c26-f83e-456b-b21e-3e04d2c3aee5n%40googlegroups.com.
[2023-01-27T09:04:39.948-08:00] [main] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 2047m
[2023-01-27T09:04:40.411-08:00] [main] WARN com.google.gerrit.server.project.PeriodicProjectListCacheWarmer : project_list cache warmer is disabled
[2023-01-27T09:04:40.414-08:00] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Removing stale plugin file: plugin_autosubmitter_230127_1704_5694505494225624988.jar
[2023-01-27T09:04:40.415-08:00] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loading plugins from /mnt/store/gerrit/plugins
[2023-01-27T09:04:40.499-08:00] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin admin-console, version 9d913d71a4
Please let me know
thanks
Pranab
and curious to know how others are addressing thisDoes everyone clicks on Submit manually after the submit requirements are met?
This is a Huge automation blocker and breaking change/blocking issue for developers ,and automation/toolsraising questions and concerns on migration to 3.7.0
Certainly would love to be able to contribute but I don't have Java coding knowledge,and most release engineering teams don't.So what may seem trivial is a like a challenge to me and the team :(SincerelyPranab
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/c16032b3-43c6-4a41-8b39-8fbe96eeacf2n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/d1d5482d-6a49-4fb9-abd9-5681287d4108n%40googlegroups.com.
An error occurred
Error 409 (Conflict): change is merged
Endpoint: /changes/*~*/revisions/current/mergeable
DISMISS
error_log has the following lines around the time of commit
[2023-02-01T16:45:50.302-08:00] [HTTP POST /changes/wifi-ci~65618/revisions/1/review (pranab_panda from 17.11.146.136)] INFO com.googlesource.gerrit.plugins.hooks.HookFactory : hooks.changeMergedHook resolved to /mnt/store/gerrit/hooks/change-merged [CONTEXT PLUGIN="autosubmitter" PLUGIN="gerrit" SUBMISSION_ID="65618-1675298750027-bab7d819" project="wifi-ci" request="REST /changes/*/revisions/*/review" ]
[2023-02-01T16:45:50.307-08:00] [HTTP POST /changes/wifi-ci~65618/revisions/1/review (pranab_panda from 17.11.146.136)] WARN com.google.gerrit.server.plugincontext.PluginContext : Failure in class com.google.gerrit.server.events.EventBroker of plugin gerrit [CONTEXT PLUGIN="gerrit" project="wifi-ci" request="REST /changes/*/revisions/*/review" ]
com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) [Guice/NullInjectedIntoNonNullable]: null returned by binding at PluginGuiceEnvironment$2.configure(PluginGuiceEnvironment.java:551) (installed by: PluginGuiceEnvironment$1 -> PluginGuiceEnvironment$2)
but the 1st parameter instanceId of GitRepoUpdateListener.<init>(GitRepoUpdateListener.java:39) is not @Nullable
at PluginGuiceEnvironment$2.configure(PluginGuiceEnvironment.java:551)
\_ installed by: PluginGuiceEnvironment$1 -> PluginGuiceEnvironment$2
at GitRepoUpdateListener.<init>(GitRepoUpdateListener.java:39)
\_ for 1st parameter instanceId
while locating GitRepoUpdateListener
while locating EventListener annotated with @UniqueAnnotations$Internal(value=218)
Learn more:
https://github.com/google/guice/wiki/NULL_INJECTED_INTO_NON_NULLABLE
1 error
======================
Full classname legend:
======================
EventListener: "com.google.gerrit.server.events.EventListener"
GitRepoUpdateListener: "com.googlesource.gerrit.plugins.gitrepometrics.GitRepoUpdateListener"
PluginGuiceEnvironment$1: "com.google.gerrit.server.plugins.PluginGuiceEnvironment$1"
PluginGuiceEnvironment$2: "com.google.gerrit.server.plugins.PluginGuiceEnvironment$2"
UniqueAnnotations$Internal: "com.google.inject.internal.UniqueAnnotations$Internal"
========================
End of classname legend:
========================
at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251)
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103)
at com.google.gerrit.extensions.registration.Extension.get(Extension.java:59)
at com.google.gerrit.server.plugincontext.PluginContext.runLogExceptions(PluginContext.java:208)
at com.google.gerrit.server.plugincontext.PluginSetContext.lambda$runEach$1(PluginSetContext.java:148)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at com.google.gerrit.server.plugincontext.PluginSetContext.runEach(PluginSetContext.java:148)
at com.google.gerrit.server.events.EventBroker.fireEventForUnrestrictedListeners(EventBroker.java:110)
at com.google.gerrit.server.events.EventBroker.fireEvent(EventBroker.java:121)
at com.google.gerrit.server.events.EventBroker.postEvent(EventBroker.java:90)
at com.google.gerrit.server.events.StreamEventsApiListener.lambda$onCommentAdded$15(StreamEventsApiListener.java:404)
at com.google.gerrit.server.plugincontext.PluginContext.runLogExceptions(PluginContext.java:214)
at com.google.gerrit.server.plugincontext.PluginItemContext.run(PluginItemContext.java:131)
at com.google.gerrit.server.events.StreamEventsApiListener.onCommentAdded(StreamEventsApiListener.java:404)
at com.google.gerrit.server.extensions.events.CommentAdded.lambda$fire$0(CommentAdded.java:74)
-Pranab