Coder Social home page Coder Social logo

Comments (7)

 avatar commented on July 17, 2024 1

Sorry I'm late getting back to this.

So, I think if we had a separate test suite (i.e. --run-suite os-installers), and an option to op-test to designate a victim disk (e.g. --host-victim-disk FOO) then this could work.

I assume we'd need some kind of webserver to host kickstart files and similar? If so, we should probably work out a way to host those files from op-test itself, and that way we could also host the OS installer images too.

from op-test.

 avatar commented on July 17, 2024 1

Thanks so much for your work on this!

I think the next step might be to make a distro-install part of the standard test suite if --scratch-disk is specified, and we do petitboot magic to boot from it, and then run the 'host' test suite in that distro.

I'll close this issue for now and open a new one for that extra feature though.

from op-test.

sathnaga avatar sathnaga commented on July 17, 2024

This would be a good place as we already have the libraries needed to support it and will be useful for
users incase of host deploy.

from op-test.

 avatar commented on July 17, 2024

I've gone on a bit of a spree of not having op-test-framework do any alterations to the machine being tested (at least by default), on the theory that: machines are often shared for development so making changes may not be desirable and that for deployment, better tools are available.

An initial approach would be to add the ability into op-test-framework to select which OS to boot as the OS to do tests with. After that, a next step could be to run the tests in a batch of OSs.

from op-test.

sathnaga avatar sathnaga commented on July 17, 2024

@stewart-ibm Idea is not to change/execute the tests inside the OS, but as initial step having the OS installation as a testcase, I understand there are many opensource tools available for OS installation,
but op-test framework would help us getting all the required libraries for FSP, BMC and OpenBMC systems handy and it is not going to alter any of the current behaviour of the execution or framework modification, it is just going add an additional set of testcases which would eventually enable us installing different host os.
Going forward as you suggested, it can be used to run tests inside that installed OS/available OS in the system if required.

from op-test.

 avatar commented on July 17, 2024

a3537e3 starts to implement this. It will install Ubuntu.

from op-test.

sathnaga avatar sathnaga commented on July 17, 2024

Below commits refactors the Ubuntu install and implements install of RHEL and HostOS
403d141 830a43c c2a96d4 1b581fb 4edece0

and @stewart-ibm @harihare this issue can be closed

from op-test.

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.