-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fix master and improve CI #22
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get rid of following annyoing errors during testing: chown: cannot access '/config': No such file or directory chown: cannot access '/certs': No such file or directory chmod: cannot access '/config': No such file or directory chmod: cannot access '/certs': No such file or directory As those dirs doesn't exist in the container, they're being provided as volumes during deployment. Signed-off-by: Petr Štetiar <[email protected]>
Currently we've broken master container but we're not aware about it as current tests are very lame, so lets improve it a bit with some more reliable, extensible solution. Signed-off-by: Petr Štetiar <[email protected]>
openwrt-bot
force-pushed
the
ynezz/fix-master-improve-ci
branch
from
December 22, 2023 09:56
050deea
to
c539e00
Compare
Quite puzzled:
|
Seems to be fixed in buildbot/buildbot@94e2d59 |
openwrt-bot
force-pushed
the
ynezz/fix-master-improve-ci
branch
from
December 22, 2023 10:38
1381d4d
to
d9e1ea9
Compare
Force twisted==22.10.0 which fixes following buildbot master startup issue: Unhandled error in Deferred: Traceback (most recent call last): File "/.../site-packages/buildbot/scripts/create_master.py", line 84, in createDB master = BuildMaster(config['basedir']) File "/.../site-packages/buildbot/master.py", line 102, in __init__ self._services_d = self.create_child_services() File "/.../site-packages/twisted/internet/defer.py", line 2245, in unwindGenerator return _cancellableInlineCallbacks(gen) File "/.../site-packages/twisted/internet/defer.py", line 2157, in _cancellableInlineCallbacks _inlineCallbacks(None, gen, status, _copy_context()) --- <exception caught here> --- File "/.../site-packages/twisted/internet/defer.py", line 1997, in _inlineCallbacks result = context.run(gen.send, result) File "/.../site-packages/buildbot/master.py", line 188, in create_child_services self.www = wwwservice.WWWService() File "/.../site-packages/buildbot/www/service.py", line 196, in __init__ self.apps = get_plugins('www', None, load_now=True) File "/.../site-packages/buildbot/plugins/db.py", line 356, in get_plugins return _DB.add_namespace(namespace, interface, check_extras, load_now) File "/.../site-packages/buildbot/plugins/db.py", line 306, in add_namespace tempo.load() File "/.../site-packages/buildbot/plugins/db.py", line 242, in load self._tree.load() File "/.../site-packages/buildbot/plugins/db.py", line 112, in load child.load() File "/.../site-packages/buildbot/plugins/db.py", line 45, in load self._value = self._loader(self._entry) File "/.../site-packages/buildbot/plugins/db.py", line 214, in _load_entry raise PluginDBError('Requirements are not satisfied ' buildbot.errors.PluginDBError: Requirements are not satisfied for buildbot.www:base: The 'zope-interface>=5' distribution was not found and is required by Twisted References: buildbot/buildbot@94e2d59 Signed-off-by: Petr Štetiar <[email protected]>
openwrt-bot
force-pushed
the
ynezz/fix-master-improve-ci
branch
from
December 22, 2023 10:41
d9e1ea9
to
c81331d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently master is unable to start due to some Twisted dependency hell. I've integrated a workaround which should be reverted once we bump to buildbot >= 3.10
To prevent such regressions again in future I've improved the CI testing with a simple, but extensible
cram
based test suite.Example of the cram test output with current master failure: