Bug 1415747 - Error: Could not find log messages in /var/log/messages!
Summary: Error: Could not find log messages in /var/log/messages!
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Certification Program
Classification: Red Hat
Component: redhat-certification-openstack
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Renu Jhamtani
QA Contact: rhcert qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-23 16:00 UTC by Gonéri Le Bouder
Modified: 2020-02-06 09:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 09:03:37 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.