| Summary: | Can't exit disc tests cleanly after start | ||
|---|---|---|---|
| Product: | Red Hat Certification Program | Reporter: | Brian Brock <bbrock> |
| Component: | redhat-certification-hardware | Assignee: | brose |
| Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0 | CC: | brose, gnichols, rlandry |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-23 03:45:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Description of problem: When the cd-rom or dvd test is launched interactively, that test ignores user input to skip the test. Selecting 'n' does not abort the test run attempt, and instead returns with a prompt about which (non-existent) media to test. There is no obvious choice for testing 'none' or '0' devices Your device /dev/sr0 supports cd-rw, cd-r, cd-rom Would you like to test cd-rw media? (y|n) n response: n Please choose the media to be tested: (cd-rw|cd-r|cd-rom) Please enter a response Please choose the media to be tested: (cd-rw|cd-r|cd-rom) none response: none Error: could not determine media type ... Warning: Can not turn off the automount and/or autobrowse for removable media. Your device /dev/sr0 supports dvd-rw, dvd+rw, dvd-r, dvd+r, dvd Would you like to test dvd-rw media? (y|n) n response: n Please choose the media to be tested: (dvd-rw|dvd+rw|dvd-r|dvd+r|dvd) Please enter a response Please choose the media to be tested: (dvd-rw|dvd+rw|dvd-r|dvd+r|dvd) none response: none Error: could not determine media type copying attachments... ... $ hwc print | grep sr0 cdrom sr0 host1/target1:0:0/1:0:0:0/block/sr0 - FAIL bluray sr0 host1/target1:0:0/1:0:0:0/block/sr0 - FAIL dvd sr0 host1/target1:0:0/1:0:0:0/block/sr0 - FAIL Version-Release number of selected component (if applicable): hwcert-client-1.7.0-20131203.el7.noarch How reproducible: consistent Steps to Reproduce: 1. hwcert-backend plan on a system with dvd / cd drive 2. hwcert-backend run -t {cdrom,bluray,dvd} 3. Actual results: can't exit the test early Expected results: Test doesn't prompt for type of media after user enters 'n' to not continue Additional info: