Project

General

Profile

Actions

action #42359

closed

[functional][y][sporadic] test fails in gnuhealth_install to write to /dev/ttyS0 "Input/output error" while serial getty seems to restart at the same time?

Added by okurz over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 21
Start date:
2018-10-11
Due date:
2018-12-18
% Done:

0%

Estimated time:
3.00 h
Difficulty:

Description

Observation

openQA test in scenario opensuse-15.1-DVD-x86_64-gnuhealth@64bit fails in
gnuhealth_install
trying to write to /dev/ttyS0 with "Input/output error" while serial getty seems to restart at the same time?
https://openqa.opensuse.org/tests/771001/file/gnuhealth_install-journal.log shows that at the time of the screenshot (20:20 - 20:22) the lines:

Oct 10 20:21:00 susetest su[1851]: pam_unix(su:session): session opened for user root by bernhard(uid=1000)
Oct 10 20:21:01 susetest systemd[1]: serial-getty@ttyS0.service: Service hold-off time over, scheduling restart.
Oct 10 20:21:01 susetest systemd[1]: Stopped Serial Getty on ttyS0.
Oct 10 20:21:01 susetest systemd[1]: Started Serial Getty on ttyS0.

Shouldn't the getty process have been masked in before, e.g. by https://openqa.opensuse.org/tests/770994#step/system_prepare/1 ? Neither the parent job creating the image nor the downstream job call "consoletest_setup" which looks ok just judging about the name because we do not want to run any pure "consoletests" in gnuhealth.

Good reading regarding how it works: http://0pointer.de/blog/projects/serial-console.html

Reproducible

Fails since (at least) Build 315.1 (current job)

Expected result

Last good: 314.2 (or more recent)

Further details

Always latest result in this scenario: latest


Related issues 2 (0 open2 closed)

Related to openQA Tests - action #39575: [functional][u] Split consoletest_setup to smaller parts which serve single purpose per moduleResolvedzluo2018-08-10

Actions
Blocks openQA Tests - action #44186: [functional][u] test fails in kdump_and_crash - Login prompt appeared in serial console output unexpectedlyRejectedokurz2018-11-21

Actions
Actions

Also available in: Atom PDF