Comments (7)
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.
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.
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.
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.
@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.
a3537e3 starts to implement this. It will install Ubuntu.
from op-test.
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)
- Setting the prompt or logging in for the console was not successful, check credentials and review the following for more details
- OpTestUtil.py : failed to setup unique prompt for openbmc system
- OpTestUtil.py : get_login fails due to timeout HOT 1
- run_command timesout if the command takes more time
- Enhance boottorture test to support phyp lpar OS multireboot
- Capture console logs while running optest suites HOT 1
- KDUMP: fail to get login prompt after kdump verify
- DLPAR: enhance test to support multiple pci ids for test
- DLPAR : taking hmc console timesout
- KDUMP: the dump configurations are not removed at the end of tests
- KDUMP: enhance to cover multiple crash kenel sizes
- [Repository] : Re enable Travis CI run
- When we run OpTestEEH via cmd "./op-test -c mihawk.conf --run testcases.OpTestEEH", the result is FAIL.
- After running OpTestPCI Rhel8.4, it shows "ValueError: could not convert string to float: '(ok)'"
- Enhance optest to run multi HMC tests HOT 1
- boot login fail for multiple lpars
- Support for running commands on EBMC HOT 2
- Jobs are getting failed in between HOT 3
- kdump/Fadump testcases failed with console issue after "try_recover:WARNING:" HOT 1
- Facing ipmi login issue for Baremetal OpenBMC system HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from op-test.