Marked tests known to not work on various platforms #1670
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-19#1670
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ci-slice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello!
These changes should fix PyBitmessage-travis-migrate.
TestProcessConfig
andTestLogger
work as expected only on Ubuntu Xenial. I marked them for skipping on other platforms.Thanks, still some minor issues. If you want I can provide a xenial image. I'm also working on supporting the .travis.yml file directly.
buildbot/PyBitmessage-travis-migrate is not meant to be permanent, it was just a hack to see if it kind of works. It doesn't have a proper environment. I now wrote a shell script that decodes
.travis.yml
directly and runs what's needed. It's not perfect but for the time being it's adequate. That one now finally passed v0.6 head. So the test for xenial probably isn't necessary.BTW: same mess with log and config test cases on Fedora 31: https://travis-ci.org/github/g1itch/PyBitmessage/jobs/734029435
How your travis_bash is doing?
I think it works, at least on systems that have use
apt
. I'll try to setup a xenial image tomorrow and we'll see what the results will be.Looks like same problems on xenial as on bionic: https://buildbot.bitmessage.org/#/builders/15/builds/9/steps/4/logs/stdio
PS: if you register pybitmessage buildbot on github with your repo, it should automatically run the tests on any of your branch whenever you push: https://github.com/apps/pybitmessage-buildbot
PPS: I'm trying to give people the ability to stop/rerun jobs on their own branches, but it's not working yet.
The script doesn't support
TRAVIS_DIST
, so it's skipping it everytime.I did it intentionally. Despite the fact that these defected tests are succeed also on my Gentoo desktop environment, it looks like they also break test suite on your xenial buildbot environment as well as my simple fedora31 container.
This is a temporary solution. Proper fix would probably be rewriting bmconfigparser and extending tests.
For the "xenial_" and "bionic_" workers I now use the official ubuntu cloud images, and just install buildbot and some python and dev packages through cloud-init.
It turns out that travis uses it's own python setup: https://github.com/travis-ci/travis-ci/issues/2231
You can close this, it's superseded by #1683.