Jan Kaluza
1c16c78cf9
Try to continue batch build only when there are some components to build
2017-03-17 18:55:54 +01:00
Jan Kaluza
163ee311de
Expire the build object to force its refresh from database
2017-03-17 18:50:25 +01:00
Jan Kaluža
25340aecd9
Merge #445 Fix the process_paused_module_builds in poller.
2017-03-17 15:14:25 +00:00
Jan Kaluza
3318f48fc3
Fix the process_paused_module_builds in poller
2017-03-17 15:57:52 +01:00
Jan Kaluža
27e4c3868a
Merge #444 Mark module build as failed if one of the components fail
2017-03-17 14:20:31 +00:00
Jan Kaluza
5aa6360595
Mark module build as failed if one of the components fail
2017-03-17 15:14:41 +01:00
Jan Kaluza
10811e41dc
Do not tag packages which belong to -build tag to final tag.
2017-03-17 14:41:11 +01:00
Jan Kaluza
97706324a7
Fix the module fail when num_consecutive_builds limit is met and tagging issue when all the builds are reused in a single batch
2017-03-15 11:55:55 +01:00
Jan Kaluža
4afe8e2c5f
Merge #413 Fix #409 - Remove koji_tag_inherit_from and whitelist all the components we are going to build instead.
2017-03-14 16:22:38 +00:00
Ralph Bean
3874da7538
Supply component NVR if we know it in the poller.
...
The poller used to only look for failed or cancelled builds. In those
cases, there is no way to know the NVR associated with the task.
Now that we also handle completed builds in the poller, we should pass
along the NVR from the koji build.
2017-03-14 11:33:22 -04:00
Jan Kaluža
8bf10c8183
Merge #422 Fix #421 - Build next component immediatelly after the previous component build is finished.
2017-03-14 12:03:32 +00:00
Jan Kaluza
298bf63120
Fix #409 - Remove koji_tag_inherit_from and whitelist all the components we are going to build instead.
2017-03-14 11:28:47 +01:00
Jan Kaluza
0543e2c9ca
Fix #421 - Build next component immediatelly after the previous component build is finished.
2017-03-14 08:36:30 +01:00
Ralph Bean
be0ca4ed33
Sometimes (with base-runtime) this can take a long time...
2017-03-13 16:08:09 -04:00
Jan Kaluza
f18925c677
Use compact dist-tag by using DEFAULT_DIST_TAG_PREFIX and first 8 characters of sha1 hash of module name/stream/version.
2017-03-13 16:49:56 +01:00
Ralph Bean
135bd96d7f
Merge #410 Recover from errors with completed builds.
2017-03-10 17:49:11 +00:00
Ralph Bean
c4b0f618c6
Recover from errors with completed builds.
...
The base-runtime build from today had two of its 180 builds that
succeeded, but MBS failed to notice (due to an unhealthy way that I
killed it and restarted it earlier in the day). The result was that the
component builds were done, but the module stayed stuck in the build
state even though its work was over.
This change alters the poller (which checks for builds that failed in
the buildSRPMFromSCM step which doesn't emit a message for our
consumer), to additionally check for builds that succeeded but which we
didn't notice.
2017-03-07 21:18:10 -05:00
Jakub Kadlčík
2312efce45
Not use PDC for copr builder
2017-03-07 00:43:22 +01:00
Ralph Bean
c0cf9da84d
Demote these log statements.
2017-03-03 12:44:29 -05:00
Ralph Bean
5e3ea846f3
Merge #398 Ignore koji messages with a null task id
2017-03-03 15:04:42 +00:00
Ralph Bean
34f779785c
Don't handle koji messages with null task_id values.
...
Otherwise, we query for null==null in our DB and chaos ensues.
2017-03-03 09:53:12 -05:00
Jan Kaluza
cc204e6b62
Fix logging in poller.
2017-03-03 13:16:44 +01:00
Ralph Bean
f12d6e0394
Don't validate internal messages.
...
These fail the validate check every time (because they're not real
messages; they're not signed).
2017-03-03 06:44:12 -05:00
Ralph Bean
0822df7a30
Better logging here.
2017-03-03 06:25:54 -05:00
Filip Valder
35335a2b23
Merge #389 Fix #386 - Retry until we get build containing xmd data
2017-03-03 11:10:39 +00:00
Filip Valder
689c671551
Retry until we get build containing xmd data.
2017-03-03 11:23:00 +01:00
Jan Kaluza
6d74f32462
Remove 'module_' prefix from the disttag in module-build-macros.
2017-03-03 11:22:58 +01:00
Ralph Bean
c57d52ee56
Simplify this.
2017-03-02 14:30:05 -05:00
Ralph Bean
e9c9097755
Assign further_work either way.
2017-03-02 14:17:22 -05:00
Filip Valder
b738e0201b
error->warn
2017-03-02 15:50:52 +01:00
Filip Valder
7b63710608
gracefully fail module build if there's an error while processing message handler
2017-03-02 15:39:03 +01:00
Ralph Bean
92990c94a2
Make this a little more quiet.
...
Otherwise, it logs for *every single koji build* that comes across the
bus. Too noisy to see what the MBS is actually doing.
2017-03-01 16:12:35 -05:00
Filip Valder
6b343896dd
s/rida/mbs/
2017-02-28 17:59:02 +01:00
Matt Prahl
385045d778
Reuse components from previous module builds
2017-02-21 14:22:30 -05:00
Jan Kaluza
6a0e8d0b2e
Do not start new batch when component is built when there is already some in progress.
2017-02-20 13:51:10 +01:00
Ralph Bean
6eaf8d7863
Demote this log statement. Way too noisy in production.
2017-02-15 15:43:38 -05:00
Ralph Bean
d093c5eef3
Default needed for this to make sense.
2017-02-02 03:30:25 -05:00
Ralph Bean
e082ff1289
Careful with msg_id here too.
2017-02-01 11:07:21 -05:00
Ralph Bean
78bd24b62a
Be careful with attribute access here.
...
I hit a traceback where msg was NoneType and therefore didn't have a
`msg_id` attribute, I therefore wasn't able to see the real exception
that got me there in the first place.
2017-01-31 12:37:50 -05:00
Filip Valder
abf37e98e1
in_memory messaging -> fallback to '*' topics
2017-01-12 19:57:34 +01:00
Filip Valder
34ef9ce5fd
Add support for message topic prefixes + explicit services/categories (incl. code lints)
2017-01-12 19:30:34 +01:00
Jan Kaluza
dda47acab7
Fix #276 - Use PDC to resolve buildroot components instead of MBS database
2017-01-10 14:29:54 +01:00
Jan Kaluza
23802418af
Fix tag_artifacts with concurrent build threshold, do not send repo-done in Mock backend after each build, but just after the tag_artifacts call.
2017-01-06 11:04:54 +01:00
Jan Kaluza
ab567803e8
Fix #41 - Tag builds only in the end of the badge to not regen repository all the time.
2017-01-05 15:24:46 +01:00
Jan Kaluza
174e657379
MBSConsumer: Handle initial messages in right order, override validate for non-fedmsg messaging backends.
2016-12-19 12:47:57 +01:00
Ralph Bean
3bf952cda6
Tell moksha to just listen to /dev/null for local builds.
2016-12-15 16:27:17 -05:00
Ralph Bean
775819e87c
Bugfix to shutdown and restart for the test suite.
2016-12-15 16:27:17 -05:00
Ralph Bean
9d3b85426d
Bring back the in-memory messaging backend.
2016-12-15 16:27:17 -05:00
Ralph Bean
21a902ab5e
Some debugging on the stop_condition.
2016-12-15 16:27:16 -05:00
Ralph Bean
b2cf02080d
A few bugfixes.
2016-12-15 16:27:16 -05:00