GithubHelp home page GithubHelp logo

Comments (8)

cevich avatar cevich commented on July 22, 2024

@edsantiago is there an easy way around using the magic module? I didn't look closely, what is it used/needed for?

from autotest-docker.

edsantiago avatar edsantiago commented on July 22, 2024

Sigh. I hate Atomic. I hate it so, so much.

No, there's no way around using libmagic other than completely rewriting the test.

from autotest-docker.

cevich avatar cevich commented on July 22, 2024

Lol, it's beauty lies in it's utter simplicity....let's see...

from autotest-docker.

cevich avatar cevich commented on July 22, 2024

I think there are two things needing fixing here:

1.  ADEPT must make sure the python-magic package is installed
2. The test should throw a TestNAError instead of an import error

Alternate idea:

objdump does exist on atomic. Could figure a way to utils.run() that and check. IMHO, there is value to making sure debug symbols are in docker on atomic (we can't predict where it will need to be debugged).

Another idea: Have the test build a docker image that does the checking.

from autotest-docker.

cevich avatar cevich commented on July 22, 2024

This will help also cevich/ADEPT#56

from autotest-docker.

edsantiago avatar edsantiago commented on July 22, 2024

/me hopes RHEL Atomic has the 'file' command. See pr 639. (Is there a way to attach a PR to this issue?)

from autotest-docker.

cevich avatar cevich commented on July 22, 2024

Thanks Ed.

from autotest-docker.

edsantiago avatar edsantiago commented on July 22, 2024

Thanks for reporting & testing!

from autotest-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.