Project

General

Profile

Bug #45246

mgr/dashboard: test failure "test_selftest_cluster_log (tasks.mgr.test_module_selftest.TestModuleSelftest)"

Added by Laura Paduano 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/qa
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

This failure appeared in Jenkins while testing PR https://github.com/ceph/ceph/pull/34680.
- https://jenkins.ceph.com/job/ceph-dashboard-pr-backend/743/consoleFull

2020-04-24 04:08:56,152.152 INFO:__main__:Running ['./bin/ceph', 'mgr', 'module', 'disable', 'selftest']
2020-04-24 04:08:57,175.175 INFO:__main__:Running ['ps', 'ww', '-u1108']
2020-04-24 04:08:57,205.205 INFO:__main__:No match for mgr x
2020-04-24 04:08:57,206.206 INFO:__main__:Running ['./bin/./ceph-mgr', '-i', 'x']
2020-04-24 04:08:57,341.341 INFO:__main__:Running ['ps', 'ww', '-u1108']
2020-04-24 04:08:57,370.370 INFO:__main__:No match for mgr y
2020-04-24 04:08:57,371.371 INFO:__main__:Running ['./bin/./ceph-mgr', '-i', 'y']
2020-04-24 04:08:57,503.503 INFO:__main__:Running ['ps', 'ww', '-u1108']
2020-04-24 04:08:57,529.529 INFO:__main__:No match for mgr z
2020-04-24 04:08:57,530.530 INFO:__main__:Running ['./bin/./ceph-mgr', '-i', 'z']
2020-04-24 04:08:57,660.660 INFO:__main__:Running ['./bin/ceph', 'mgr', 'dump', '--format=json-pretty']
2020-04-24 04:09:03,267.267 INFO:__main__:Running ['./bin/ceph', 'mgr', 'dump', '--format=json-pretty']
2020-04-24 04:09:03,890.890 INFO:__main__:Running ['./bin/ceph', 'mgr', 'dump', '--format=json-pretty']
2020-04-24 04:09:04,539.539 INFO:__main__:Running ['./bin/ceph', 'mgr', 'dump', '--format=json-pretty']
2020-04-24 04:09:05,172.172 INFO:__main__:Running ['./bin/ceph', 'mgr', 'module', 'ls']
2020-04-24 04:09:05,780.780 INFO:__main__:Running ['./bin/ceph', 'mgr', 'dump', '--format=json-pretty']
2020-04-24 04:09:06,406.406 INFO:__main__:Running ['./bin/ceph', 'mgr', 'metadata']
2020-04-24 04:09:07,004.004 INFO:tasks.mgr.mgr_test_case:Loading Mgr module selftest ...
2020-04-24 04:09:07,005.005 INFO:__main__:Running ['./bin/ceph', 'mgr', 'module', 'enable', 'selftest', '--force']
2020-04-24 04:09:08,509.509 INFO:__main__:Running ['./bin/ceph', 'mgr', 'dump', '--format=json-pretty']
2020-04-24 04:09:14,171.171 INFO:__main__:Running ['./bin/ceph', 'mgr', 'dump', '--format=json-pretty']
2020-04-24 04:09:14,820.820 INFO:tasks.mgr.mgr_test_case:Restarted after module load (new active x/26137)
2020-04-24 04:09:14,822.822 INFO:__main__:Running ['./bin/ceph', '-w']
2020-04-24 04:09:14,827.827 INFO:__main__:Running ['./bin/ceph', 'mgr', 'self-test', 'cluster-log', 'cluster', 'info', 'foo bar info']
2020-04-24 04:09:15,472.472 INFO:__main__:Running ['./bin/ceph', 'log', 'Ended test tasks.mgr.test_module_selftest.TestModuleSelftest.test_selftest_cluster_log']
2020-04-24 04:09:16,709.709 INFO:__main__:test_selftest_cluster_log (tasks.mgr.test_module_selftest.TestModuleSelftest) ... ERROR
2020-04-24 04:09:16,709.709 INFO:__main__:Stopped test: test_selftest_cluster_log (tasks.mgr.test_module_selftest.TestModuleSelftest) in 26.651564s
2020-04-24 04:09:16,710.710 INFO:__main__:
2020-04-24 04:09:16,710.710 INFO:__main__:======================================================================
2020-04-24 04:09:16,710.710 INFO:__main__:ERROR: test_selftest_cluster_log (tasks.mgr.test_module_selftest.TestModuleSelftest)
2020-04-24 04:09:16,710.710 INFO:__main__:----------------------------------------------------------------------
2020-04-24 04:09:16,711.711 INFO:__main__:Traceback (most recent call last):
2020-04-24 04:09:16,711.711 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/mgr/test_module_selftest.py", line 321, in test_selftest_cluster_log
2020-04-24 04:09:16,711.711 INFO:__main__:    priority, message)
2020-04-24 04:09:16,711.711 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/ceph_test_case.py", line 111, in __exit__
2020-04-24 04:09:16,711.711 INFO:__main__:    if self.match():
2020-04-24 04:09:16,711.711 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/ceph_test_case.py", line 99, in match
2020-04-24 04:09:16,711.711 INFO:__main__:    found = expected_pattern in self.watcher_process.stdout.getvalue()
2020-04-24 04:09:16,711.711 INFO:__main__:TypeError: a bytes-like object is required, not 'str'
2020-04-24 04:09:16,711.711 INFO:__main__:
2020-04-24 04:09:16,712.712 INFO:__main__:----------------------------------------------------------------------
2020-04-24 04:09:16,712.712 INFO:__main__:Ran 266 tests in 3407.885s
2020-04-24 04:09:16,712.712 INFO:__main__:
2020-04-24 04:09:16,712.712 INFO:__main__:FAILED (errors=1)
2020-04-24 04:09:16,712.712 INFO:__main__:
2020-04-24 04:09:16,712.712 INFO:__main__:======================================================================
2020-04-24 04:09:16,712.712 INFO:__main__:ERROR: test_selftest_cluster_log (tasks.mgr.test_module_selftest.TestModuleSelftest)
2020-04-24 04:09:16,712.712 INFO:__main__:----------------------------------------------------------------------
2020-04-24 04:09:16,713.713 INFO:__main__:Traceback (most recent call last):
2020-04-24 04:09:16,713.713 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/mgr/test_module_selftest.py", line 321, in test_selftest_cluster_log
2020-04-24 04:09:16,713.713 INFO:__main__:    priority, message)
2020-04-24 04:09:16,713.713 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/ceph_test_case.py", line 111, in __exit__
2020-04-24 04:09:16,713.713 INFO:__main__:    if self.match():
2020-04-24 04:09:16,713.713 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/ceph_test_case.py", line 99, in match
2020-04-24 04:09:16,713.713 INFO:__main__:    found = expected_pattern in self.watcher_process.stdout.getvalue()
2020-04-24 04:09:16,713.713 INFO:__main__:TypeError: a bytes-like object is required, not 'str'

Related issues

Copied to mgr - Backport #45280: octopus: mgr/dashboard: test failure "test_selftest_cluster_log (tasks.mgr.test_module_selftest.TestModuleSelftest)" Resolved

History

#1 Updated by Laura Paduano 9 months ago

  • Description updated (diff)

#2 Updated by Laura Paduano 9 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Alfonso Martínez
  • Pull request ID set to 34680

#3 Updated by Kefu Chai 9 months ago

  • Status changed from Fix Under Review to Resolved
  • Assignee changed from Alfonso Martínez to Kefu Chai
  • Pull request ID changed from 34680 to 34752

#4 Updated by Laura Paduano 9 months ago

  • Status changed from Resolved to Pending Backport
  • Backport set to octopus

#5 Updated by Laura Paduano 9 months ago

  • Copied to Backport #45280: octopus: mgr/dashboard: test failure "test_selftest_cluster_log (tasks.mgr.test_module_selftest.TestModuleSelftest)" added

#6 Updated by Lenz Grimmer 9 months ago

  • Status changed from Pending Backport to Resolved
  • Target version set to v16.0.0

Also available in: Atom PDF