Bug 1415747

Summary: Error: Could not find log messages in /var/log/messages!
Product: Red Hat Certification Program Reporter: Gonéri Le Bouder <goneri>
Component: redhat-certification-openstackAssignee: Renu Jhamtani <rjhamtan>
Status: CLOSED NOTABUG QA Contact: rhcert qe <rhcert-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0CC: brose, gnichols, hrivero, jweng, mbracho
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-06 09:03:37 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 Gonéri Le Bouder 2017-01-23 16:00:55 UTC
Description of problem:

rhcert-ci command shows up errors and warnings:

sudo rhcert-ci run --key-file /home/stack/key.file --debug high
(...)
default Test.post called on test rhcert/self_check
...Done: return value = PASS.
copying attachments...
checking directory /var/log/rhcert/runs/1/rhcert/self_check 
Skipping output.log
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 128: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 128: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 128: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 128: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 130: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 130: ordinal not in range(128)
Error: Could not find log messages in /var/log/messages!
saveOutput: /var/log/rhcert/runs/1/rhcert/self_check/output.log
Return value was PASS
saved to /var/rhcert/results.xml
(...)
No handlers could be found for logger "tempest.test_discover.plugins"
Non-zero exit code (2) from test listing.
Error: Exception raised in test openstack/cinder:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/rhcert/client/harness.py", line 1055, in runTest
    rv = test.run()
  File "/usr/lib/python2.7/site-packages/rhcert/suites/openstack_cert/common.py", line 473, in run
    description="Check tempest configuration"))
  File "/usr/lib/python2.7/site-packages/rhcert/test.py", line 363, in runSubTest
    result = subtestFunction()
  File "/usr/lib/python2.7/site-packages/rhcert/suites/openstack_cert/common.py", line 307, in pre_run
    return self.core()
  File "/usr/lib/python2.7/site-packages/rhcert/suites/openstack_cert/common.py", line 441, in core
    self.test_data = subunit2json.main(os.path.join(self.temp_dir, 'tempest', '.testrepository','0'))
  File "/usr/lib/python2.7/site-packages/rhcert/suites/openstack_cert/subunit2json.py", line 123, in main
    stream = open(subunit_log_file, 'rb')
IOError: [Errno 2] No such file or directory: '/tmp/tmp6UOE_W_tempest/tempest/.testrepository/0'

copying attachments...
checking directory /var/log/rhcert/runs/1/openstack/cinder 
Skipping output.log
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 128: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 128: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 128: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 128: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 130: ordinal not in range(128)
Warning: Unicode decode error in /var/log/messages
'ascii' codec can't decode byte 0xe2 in position 130: ordinal not in range(128)
Error: Could not find log messages in /var/log/messages!
saveOutput: /var/log/rhcert/runs/1/openstack/cinder/output.log
Warning: could not merge output XML, reading as text file.
no element found: line 35, column 0
Return value was False
saved to /var/rhcert/results.xml
(...)


Version-Release number of selected component (if applicable):

redhat-certification-openstack-4.3-20161220.el7.noarch
redhat-certification-backend-4.3-20161220.el7.noarch
redhat-certification-4.3-20161220.el7.noarch

How reproducible:

Happens all the time.