Description of problem: Trying to add a test machine to a certification. Select the machine from the list results in the message unsuppored command "" in the web UI. The results file is empty and there is no option to start any test. Version-Release number of selected component (if applicable): redhat-certification-5.11-20180423.el7.noarch How reproducible: Always. Steps to Reproduce: 1. Add machine in the configuration menu of the UI 2. Switch to the certification and select "setup testing" 3. Try to add the machine with the web ui Actual results: Web UI reports unsuppored command "" (busy) Expected results: Machine is added and I can start tests Additional info: RHEL 7.5 on the SUT.
What is shown on the web UI's configuration page for this SUT? Could you try removing the system and re-registering it on that page?
Removed the system and added it again: Registered Systems System IP Address Type Status localhost.localdomain 192.168.2.144 FUJITSU CELSIUS CELSIUS M770 Command "register" succeeded Switched to certification and "Testing" System is still assinged here and I see: localhost.localdomain (192.168.2.144) Command "register" succeeded (busy) (busy) remains, even after reloading the "testing" page. Removed system here and in the configuration. Next try: adding system in the configuration and then "add test system" from the certification/Testing tab. Web UI reports: ocalhost.localdomain (192.168.2.144) Unsupported command "" (busy) Still can't get to the point where I could start a test.
Could you attach /var/log/rhcert/RedHatCertDaemon.log from the SUT?
Created attachment 1431302 [details] RedHatCertDaemon.log from SUT Found that line that said Microservice at https://access.redhat.com/hydra/rest/cwe/ is not accessible: ('Connection aborted.', error(111, 'Connection refused')) and then added the proxy settings to /etc/rhcert.xml But result is still the same, always get "unsupported command" even when the proxy on the sut is set.
Could you try registering the SUT from the command line on the SUT? > rhcert-cli register
Tried that, but doesn't help. Still get "unsupported command" when trying to add the registgered system to the certification. Is there any dependency on the RHEL version that the server is using? SUT is RHEL 7.5, server is still at RHEL 7.4
No, either should work. Could you try running the rhcertd SUT client in the foreground: >rhcertd daemon --debug high Then on the Testing page for the certification, use the Add Test System button to add the system. Also, what certification packages are on the SUT: > rpm -qa | fgrep redhat-certification Thanks!
After running rhcertd in the forground I see this on my terminal: [root@m770-linux ~]# rhcertd daemon --debug high Searching /usr/lib/python2.7/site-packages/rhcert/suites... sys.path: ['/usr/bin', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages', u'/usr/lib/python2.7/site-packages/rhcert/suites'] importing suite rhcert as module importing suite hwcert as module Skipping class <class 'rhcert.test.Test'> - constructor takes 2 args Skipping class <class 'rhcert.test.UnitTest'> - constructor takes 5 args Skipping class <class 'rhcert.suites.hwcert.hwcert.hardwareTest.HardwareTest'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.audio.audio.AudioTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.battery.battery.BatteryTest'> Skipping class <class 'rhcert.suites.hwcert.hwcert.opticalDiskTest.OpticalDiskTest'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.bluray.bluray.BluRayTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.cdrom.cdrom.CDRomTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.core.core.CoreTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.cpuscaling.cpuscaling.CPUScalingTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.dvd.dvd.DVDTest'> Skipping class <class 'rhcert.suites.hwcert.hwcert.usbTest.USBTestBase'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.expresscard.expresscard.ExpressCardTest'> Skipping class <class 'rhcert.suites.hwcert.hwcert.fvtest.FvTest'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.fv_core.fv_core.FvCoreTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.fv_memory.fv_memory.FvMemoryTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.infiniband.infiniband.InfinibandTest'> Instantiated test class <class 'rhcert.suites.rhcert.selfcheck.SelfCheck'> Skipping class <class 'rhcert.suites.rhcert.platform.KernelTest'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.info.info.InfoTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.lid.lid.LidTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.memory.memory.MemoryTest'> Skipping class <class 'rhcert.suites.hwcert.hwcert.networkTest.NetworkTest'> - constructor takes 2 args Skipping class <class 'rhcert.suites.hwcert.hwcert.ethernet.EthernetTest'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.network.network.Ethernet100MegTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.network.network.Ethernet1GigTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.network.network.Ethernet10GigTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.network.network.Ethernet20GigTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.network.network.Ethernet25GigTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.network.network.Ethernet40GigTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.network.network.Ethernet50GigTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.network.network.Ethernet100GigTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.profiler.profiler.ProfilerTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.realtime.realtime.Realtime'> Instantiated test class <class 'rhcert.suites.hwcert.tests.reboot.reboot.RebootTest'> Skipping class <class 'rhcert.suites.hwcert.hwcert.storageTest.StorageTest'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.storage.storage.StorageSATATest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.storage.storage.StorageSASTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.storage.storage.DefaultStorageTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.suspend.suspend.SuspendTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.sosreport.sosreport.SosReportTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.tape.tape.TapeTest'> Skipping class <class 'rhcert.suites.hwcert.tests.usb.usb.USBTest'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.usb.usb.USB2Test'> Instantiated test class <class 'rhcert.suites.hwcert.tests.usb.usb.USB3Test'> Instantiated test class <class 'rhcert.suites.hwcert.tests.video.video.VideoTest'> Skipping class <class 'rhcert.suites.hwcert.tests.wlan.wlan.WLanTest'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.wlan.wlan.WirelessGTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.wlan.wlan.WirelessNTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.wlan.wlan.WirelessACTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.kdump.kdump.KDumpTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.fingerprintreader.fingerprintreader.FingerprintReaderTest'> Skipping class <class 'rhcert.suites.hwcert.tests.rdmaConnection.rdmaConnection.RdmaConnectionTest'> - constructor takes 2 args Instantiated test class <class 'rhcert.suites.hwcert.tests.rdmaConnection.rdmaConnection.InfinibandConnectionTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.rdmaConnection.rdmaConnection.OmnipathConnectionTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.rdmaConnection.rdmaConnection.RoCEConnectionTest'> Instantiated test class <class 'rhcert.suites.hwcert.tests.rdmaConnection.rdmaConnection.IWarpConnectionTest'> Starting RedHatCertDaemon at 2018-05-09 09:12:07 The rhcert daemon is NOT running Starting daemon Setting RedHatCertDaemon pid to 19277 Checking for continuation ready checking for tasks got a job <?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href="/rhcert/css/task.css" type="text/css"?><rhcert-task rhcert-release="20180423" rhcert-version="5.11"><property name="mode">auto</property><property name="debug">off</property><property name="serverIP">192.168.2.3</property></rhcert-task> "<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href="/rhcert/css/task.css" type="text/css"?><rhcert-task rhcert-release="20180423" rhcert-version="5.11"><property name="mode">auto</property><property name="debug">off</property><property name="serverIP">192.168.2.3</property></rhcert-task>" running xml running task: <?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href="/rhcert/css/task.css" type="text/css"?><rhcert-task rhcert-release="20180423" rhcert-version="5.11"><property name="mode">auto</property><property name="debug">off</property><property name="serverIP">192.168.2.3</property></rhcert-task> checking for tasks --------------------8<---------------- rpm -qa | fgrep redhat-certification on the SUT produces this: redhat-certification-5.11-20180423.el7.noarch redhat-certification-backend-5.11-20180423.el7.noarch redhat-certification-hardware-5.11-20180418.1.el7.noarch
Could you do the following - on the configuration page of the LTS, check the Enable Debug checkbox - re-try setting the SUT to do testing on the certification - attach /var/log/httpd/error_log Thanks!
Created attachment 1433882 [details] /var/log/httpd/error_log Last attempt to add the machine to the test started at timestamp [Wed May 09 14:04:03.864546].
When you're selecting the host to test, is there multiple hosts on the list? Are you clicking the radio button if there's only one? Could attempt to add the host the the certification and attach screenshots of the list of hosts to select, and the resulting screen with the error? Also, please attach both the logs from the SUT: /var/log/rhcert/RedHatCertDaemon.log /var/log/rhcert/RedHatCertificationListener.log Thanks!
Created attachment 1437843 [details] Log from 2018-05-17
Created attachment 1437844 [details] Log from 2018-05-17 Reduced this to the entries of just today May 17, otherwise it would be 145 MB...
Created attachment 1437846 [details] Screnshot from registered systems There is just the SUT and nothing more
Created attachment 1437847 [details] Screenshot from add test system dialog Selected the one and only radio button and will no press the "TEST" button.
Created attachment 1437848 [details] Screenshot with the error message resulting screen shows Unsupported command ""
I've been unable to reproduce this bug. We've released an update to the packages (version 5.12), could you update both LTS and SUT and re-try?
Installed version 5.12 on both LTS and SUT (reinstalled SUT from scratch with the new packages), but problem is still there. After adding the machine all I get is Unsupported command ""
Tried to setup a complete new test server from scratch to see if the problem is still there. Yes, even on a new installation we still have the same problem.
Additional info: If I use "Certifications" / "Testing" / "Add machine" I experience the problem. If I create a Sandbox for RHEL 7.5 hardware testing I can assign the machine to this sandbox and don't see that problem. Machine registers, creates a test plan and performs tests. But as soon as I use a certification from the online catalog I have this problem. BTW: Can you reproduce that on your site? Is there a way to do the tests in the sandbox and then assign those results to an online certification from the catalog?
Some new developments with this bug. Opened a case https://access.redhat.com/support/cases/#/case/02116616 and this is the news: Next episode in that drama. Since also version 5.13 doesn't help I got desperate and I opened the test suite user guide to see if I'm doing something wrong. 7.3. ADD A PRODUCT TO THE LTS FROM THE RED HAT CERTIFICATION CATALOG says "3. Click the New Certification button." I thought. "WTF, I already have one" but nethertheless I did it. Yeah, got asked the usual questions and ended up in an empty certification without any test plan. But guess what... Now registering a sytem and adding it to this cert for testing works without any problem at all. So now I have two certifications: ID = 3481531 new, no test plan, but adding the system works ID = 3421161 old, testplan provided by the reviewers, but adding the system doesn't work So I start thinking the root cause of the problem is not in the software but in the data that is stored in the old cert.