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

test_extract fails on isolated VM #35

Open
jayvdb opened this issue Nov 19, 2020 · 3 comments
Open

test_extract fails on isolated VM #35

jayvdb opened this issue Nov 19, 2020 · 3 comments

Comments

@jayvdb
Copy link

jayvdb commented Nov 19, 2020

When I run test_extract on a rpmbuild isolated VM, i.e. no network, the test fails.

It would be good if these tests used test data that is included in the PyPI sdist, or even test data which can be generated on the VM before the tests.

@johnandersen777
Copy link
Collaborator

What kind of tools are available on this VM? I lean toward generating them and and rpmbuild VM sounds like a good place to build test rpms. Could you provide an example of how to build an rpm or a pointer to some documentation using tools / a tool within the VM? If so then I can take this the rest of the way and generate some RPMs as test files.

@jayvdb
Copy link
Author

jayvdb commented Nov 20, 2020

Anything that is already packaged for Fedora or openSUSE. Or I can create new packages for new tools you want to use, no problems.

Easiest way is to add a .spec as test data, and use rpmbuild.

@johnandersen777
Copy link
Collaborator

@jayvdb Sorry I've been really strapped for time, do you think you could script the creation of those packages? That's what I was thinking of doing is building them within the setUpClass method of the extraction tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants