Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build not triggered #3563

Closed
pohmelie opened this issue Aug 29, 2017 · 3 comments
Closed

Build not triggered #3563

pohmelie opened this issue Aug 29, 2017 · 3 comments

Comments

@pohmelie
Copy link

Config with multiple schedulers does not trigger build. If I remove one scheduler, then build triggered. But for two schedulers no build triggered.

from buildbot.plugins import worker, changes, schedulers, util, steps


REPO = "git@git.int.kronshtadt.ru:ktrs-sdc/test-python-buildbot.git"
c = BuildmasterConfig = {}
c["workers"] = [worker.LocalWorker("worker", max_builds=1)]
c["protocols"] = {"pb": {"port": 9989}}
c["change_source"] = [changes.GitPoller(repourl=REPO, branches=["master"], pollInterval=10)]
c["schedulers"] = [
    schedulers.AnyBranchScheduler(name="s1", builderNames=["builder"], properties=dict(foo="bar")),
    schedulers.AnyBranchScheduler(name="s2", builderNames=["builder"], properties=dict(foo="foo")),
]
factory = util.BuildFactory([steps.ShellCommand(name="test", command=["echo", "test"])])
c["builders"] = [util.BuilderConfig(name="builder", workernames=["worker"], factory=factory)]
c["services"] = []
c["title"] = "Test buildbot"
c["buildbotURL"] = "http://localhost:8010/"
c["www"] = dict(port=8010, plugins=dict(waterfall_view={}, console_view={}, grid_view={}))
c["db"] = dict(db_url="sqlite:///state.sqlite")
2017-08-29 14:59:31+0300 [-] gitpoller: processing changes from "git@git.int.kronshtadt.ru:ktrs-sdc/test-python-buildbot.git"
2017-08-29 14:59:41+0300 [-] gitpoller: processing changes from "git@git.int.kronshtadt.ru:ktrs-sdc/test-python-buildbot.git"
2017-08-29 14:59:41+0300 [-] gitpoller: processing 1 changes: ['20e32aca133787a9abfa91896d27bfd30249c7d7'] from "git@git.int.kronshtadt.ru:ktrs-sdc/test-python-buildbot.git" branch "master"
2017-08-29 14:59:41+0300 [-] added change with revision 20e32aca133787a9abfa91896d27bfd30249c7d7 to database
2017-08-29 14:59:42+0300 [-] added buildset 1 to database
2017-08-29 14:59:42+0300 [-] added buildset 2 to database
2017-08-29 14:59:51+0300 [-] gitpoller: processing changes from "git@git.int.kronshtadt.ru:ktrs-sdc/test-python-buildbot.git"
@seankelly
Copy link
Member

It does list two buildsets being added. When you delete one of the schedulers, is only one buildset added then?

@pohmelie
Copy link
Author

@seankelly, yes.

@p12tic
Copy link
Member

p12tic commented Jul 28, 2021

This bug is very likely to be a duplicate of #4642 which has been fixed in #6152. I'm thus closing the issue.

If the problem is still present after Buildbot v3.3 with #6152 is released, please open another issue as the cause is likely to be different.

Thanks a lot for reporting the bug.

@p12tic p12tic closed this as completed Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants