Description of problem: An error message "Memory Error" displayed on RHEL6.5-X86 when test the Emulex 40G CNA card Nic function(UMC enable). Version-Release number of selected component (if applicable): hwcert-client-1.6.5.2-20140611 How reproducible: Test the NIC function of the Emulex 40G CNA card with UMC enable Actual results: An error message "Memory Error" displayed on RHEL6.5-X86. Expected results: The test should pass. Additional info: The NIC function of the Emulex 40G CNA card with UMC enable can be passed on RHEL6.5-X64 and RHEL7.
Created attachment 920441 [details] log
Created attachment 920442 [details] error screenshot
Created attachment 920443 [details] test process
Please attach the test results with the memory error, either a log, or /var/hwcert/results.xml Thanks!
Created attachment 923080 [details] result.xml
/var/hwcert/results.xml has been submitted. Please help to check and solve the issue as soon as possible. Thanks!
Please run the memory test and attach the results. You can use: >hwcert-backend run --test memory --debug high Thanks! - Greg
Also, I'm not sure how the trace-back was produced. Does it happen if only one of the interfaces is tested, ala: >hwcert-backend run --device eth3 --debug high
Created attachment 926273 [details] memory-log
Created attachment 926276 [details] memory-result.xml
Created attachment 926277 [details] 40g-nic-log
Created attachment 926279 [details] 40g-nic-result.xml
Test only one of the interfaces, it would happen. The test process interruptted when "Subtest: HTTP -HTTP file transfer test" displayed. And then use the command "hwcert-backend print", it displayed "Error: hwcert is already running(lock file /var/lock/subsys/hwcert found)" . The phenomenon also appeared with the UMC function disabled.
What is the size of the file /var/www/html/httptest.file after the test runs?
The size of the file /var/www/html/httptest.file is 625.0MB after the test runs .
Hi Greg, For this bug, we have below 2 items to double confirm, I would be appreciate if you coulg give the feedback ASAP, thanks in advance. 1. As this bug does not occur on RHEL 6.5 x64 and RHEL 7 x64, we want to know if it is due to rhel 6.5 cert tool? 2. We need to know if it can be resolved before 08/29 once it is a tool issue? As this bug will be block our Grantly system to be on the market on schedule. Thanks, Amy
I suspect that the size of the encoded test file (around 845MB) is pushing i386 process memory limits. Could you try editing the file /usr/share/hwcert/lib/hwcert/newtworkTest.py, line 328: count = self.interfaceSpeed/8 change it to: count = 2000 And rerun the test. This should cut the size of the tranfered file down to 340MB or so. Thanks!
Created attachment 929260 [details] patch limiting http transfer file size on i386
Hi After editing the file /usr/share/hwcert/lib/hwcert/newtworkTest.py, the NIC test can pass, but the info failed for the editing, please update the test suite as soon as possible. As this issue will be block our Grantly system to be on the market on schedule. Thanks
Hi, After editing the file /usr/share/hwcert/lib/hwcert/newtworkTest.py, the NIC test can pass, but the "info test" failed for editing .py file, please help to solve the problem and update the test suite as soon as possible. As this issue will block our Grantly system to be on the market on schedule.
After modifying count = 2000 , the result has passed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1197.html