Bug 1888323
| Summary: | Rebase to v9 upstream release | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | jstephen |
| Component: | tlog | Assignee: | jstephen |
| Status: | CLOSED ERRATA | QA Contact: | Scott Poore <spoore> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.4 | CC: | jstephen, nikolai.kondrashov, sssd-qe |
| Target Milestone: | rc | Keywords: | Rebase |
| Target Release: | 8.4 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | sync-to-jira tested | ||
| Fixed In Version: | v9-2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 15:24:35 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: | |
| Embargoed: | |||
|
Description
jstephen
2020-10-14 14:52:08 UTC
Changelog:
Add libutempter support
Require journal match filter
Add file reader match functionality
Restore cursor visibility and color attributes on tlog-play exit
Add "time" real clock timestamp message field
Various upstream CI improvements
Verified Version :: tlog-9-2.el8.x86_64 Results :: ######################## Test case: ################################# :: [ 17:11:47 ] :: [ BEGIN ] :: Running './tlitest-run --junit-xml=/var/tmp/tmp.NcB4kYR5fC/junit.xml ' =============================================================================================== test session starts =============================================================================================== platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/libexec/platform-python cachedir: ../../.pytest_cache rootdir: /var/tmp/tmp.NcB4kYR5fC/tlog, inifile: collected 50 items ../../lib/tlitest/test_env_config.py::TestTlogRecSession::test_conf_file_var PASSED [ 2%] ../../lib/tlitest/test_env_config.py::TestTlogRecSession::test_conf_text_var PASSED [ 4%] ../../lib/tlitest/test_env_config.py::TestTlogRecSession::test_conf_shell_var PASSED [ 6%] ../../lib/tlitest/test_env_config.py::TestTlogRec::test_conf_file_var PASSED [ 8%] ../../lib/tlitest/test_env_config.py::TestTlogRec::test_conf_text_var PASSED [ 10%] ../../lib/tlitest/test_env_config.py::TestTlogRec::test_conf_shell_var PASSED [ 12%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlay::test_play_from_file PASSED [ 14%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlay::test_play_from_journal PASSED [ 16%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlay::test_play_output_file PASSED [ 18%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlay::test_play_at_speed_x2 PASSED [ 20%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlay::test_play_at_goto_points PASSED [ 22%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlay::test_play_follow_running_session PASSED [ 24%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlayControl::test_play_key_ctl_goto_end PASSED [ 26%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlayControl::test_play_key_ctl_next_packet PASSED [ 28%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlayControl::test_play_key_ctl_double_speed PASSED [ 30%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlayControl::test_play_key_ctl_quit PASSED [ 32%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlayControl::test_play_key_ctl_halve_speed PASSED [ 34%] ../../lib/tlitest/test_tlog_play.py::TestTlogPlayControl::test_play_from_file_match PASSED [ 36%] ../../lib/tlitest/test_tlog_play_remote.py::TestTlogPlayRemote::test_play_remote_good_session PASSED [ 38%] ../../lib/tlitest/test_tlog_play_remote.py::TestTlogPlayRemote::test_play_remote_bad_timing PASSED [ 40%] ../../lib/tlitest/test_tlog_play_remote.py::TestTlogPlayRemote::test_play_remote_missing_entry PASSED [ 42%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_command_to_file PASSED [ 44%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_command_to_journal PASSED [ 46%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_command_to_syslog PASSED [ 48%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_interactive_session PASSED [ 50%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_binary_output PASSED [ 52%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_diff_char_sets PASSED [ 54%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_fast_input PASSED [ 56%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_as_unprivileged_user PASSED [ 58%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_as_admin_user PASSED [ 60%] ../../lib/tlitest/test_tlog_rec.py::TestTlogRec::test_record_from_different_hostnames PASSED [ 62%] ../../lib/tlitest/test_tlog_rec_perf_opts.py::TestTlogRecPerformanceOptions::test_record_fast_input_with_latency PASSED [ 64%] ../../lib/tlitest/test_tlog_rec_perf_opts.py::TestTlogRecPerformanceOptions::test_record_fast_input_with_payload PASSED [ 66%] ../../lib/tlitest/test_tlog_rec_perf_opts.py::TestTlogRecPerformanceOptions::test_record_fast_input_with_limit_rate PASSED [ 68%] ../../lib/tlitest/test_tlog_rec_perf_opts.py::TestTlogRecPerformanceOptions::test_record_fast_input_with_limit_burst PASSED [ 70%] ../../lib/tlitest/test_tlog_rec_perf_opts.py::TestTlogRecPerformanceOptions::test_record_fast_input_with_limit_action_drop PASSED [ 72%] ../../lib/tlitest/test_tlog_rec_perf_opts.py::TestTlogRecPerformanceOptions::test_record_fast_input_with_limit_action_delay PASSED [ 74%] ../../lib/tlitest/test_tlog_rec_perf_opts.py::TestTlogRecPerformanceOptions::test_record_fast_input_with_limit_action_pass PASSED [ 76%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_to_file PASSED [ 78%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_to_journal PASSED [ 80%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_to_syslog PASSED [ 82%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_fast_input_with_latency PASSED [ 84%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_fast_input_with_payload PASSED [ 86%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_fast_input_with_limit_rate PASSED [ 88%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_fast_input_with_limit_burst PASSED [ 90%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_fast_input_with_limit_action_drop PASSED [ 92%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_fast_input_with_limit_action_delay PASSED [ 94%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_fast_input_with_limit_action_pass PASSED [ 96%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_with_different_shell PASSED [ 98%] ../../lib/tlitest/test_tlog_rec_session.py::TestTlogRecSession::test_session_record_pipe_io_stdin PASSED [100%] ------------------------------------------------------------------------------ generated xml file: /var/tmp/tmp.NcB4kYR5fC/junit.xml ------------------------------------------------------------------------------ =========================================================================================== 50 passed in 682.97 seconds =========================================================================================== :: [ 17:23:10 ] :: [ PASS ] :: Command './tlitest-run --junit-xml=/var/tmp/tmp.NcB4kYR5fC/junit.xml ' (Expected 0, got 0) ######################## Test case: ################################# bz1788968-Ansible-in-pipeline-mode-fails-with-tlog-enabled :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:04:48 ] :: [ BEGIN ] :: Running 'echo -e "print('hello world') " | ssh -i ~/.ssh/id_bz1788968 -o StrictHostKeyChecking=no bz1788968@localhost python3' ATTENTION! Your session is being recorded! hello world :: [ 17:04:48 ] :: [ PASS ] :: Command 'echo -e "print('hello world') " | ssh -i ~/.ssh/id_bz1788968 -o StrictHostKeyChecking=no bz1788968@localhost python3' (Expected 0, got 0) :: [ 17:04:48 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.HAHg1DzS' should contain 'hello world' :: [ 17:04:48 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.HAHg1DzS' should contain 'ATTENTION! Your session is being recorded!' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Test) ######################## Test case: ################################# bz1804920-BZ-tlog-prevents-logins-if-it-can-t-determine :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:04:30 ] :: [ BEGIN ] :: Running 'expect ssh.exp bz1804920 localhost bz1804920' spawn ssh -o StrictHostKeyChecking=no bz1804920@localhost Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts. bz1804920@localhost's password: Activate the web console with: systemctl enable --now cockpit.socket This system is not registered to Red Hat Insights. See https://cloud.redhat.com/ To register this system, run: insights-client --register Host FQDN resolution failure Falling back to empty hostname value ATTENTION! Your session is being recorded! [bz1804920@ci-vm-10-0-103-203 ~]$ exit logout Connection to localhost closed. :: [ 17:04:30 ] :: [ PASS ] :: Command 'expect ssh.exp bz1804920 localhost bz1804920' (Expected 0, got 0) :: [ 17:04:30 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.i06vxiDL' should contain 'ATTENTION! Your session is being recorded!' :: [ 17:04:30 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.i06vxiDL' should not contain 'Failed retrieving host FQDN' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Test) 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 (tlog bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1766 |