Project

General

Profile

action #81352

[sle][migration][SLE15SP3] investigation on jira https://jira.suse.com/browse/SLE-11501

Added by coolgw 11 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Spike/Research
Target version:
-
Start date:
2020-12-24
Due date:
% Done:

0%

Estimated time:
50.00 h
Difficulty:

Description

This task is used to tracking openldap and 389d moudle test
Output:
A manual check on basic ldap/389d scenario, such as using samba/email client connect with openladp and 389d server.
Then we can try to using tools(in SLE-11501).

History

#1 Updated by coolgw 11 months ago

  • Priority changed from Normal to High

#2 Updated by coolgw 9 months ago

  • Assignee set to coolgw

#3 Updated by coolgw 9 months ago

using branch run demo openqa test.
/usr/share/openqa/script/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/openldap_to_ds389 http://openqa.suse.de/tests/5586127 _GROUP=0 START_AFTER_TEST=""

a strange failed on script_run when execute getent passwd testuser1@ldapdom
https://openqa.suse.de/tests/5593088#step/openldap_to_389ds/59

[2021-03-04T12:47:23.989 CET] [debug] tests/migration/openldap_to_389ds.pm:73 called testapi::script_output
[2021-03-04T12:47:23.990 CET] [debug] <<< testapi::type_string(string="cat - > /tmp/scriptvIpbR.sh;\n", max_interval=250, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2021-03-04T12:47:25.025 CET] [debug] tests/migration/openldap_to_389ds.pm:73 called testapi::script_output
[2021-03-04T12:47:25.025 CET] [debug] <<< testapi::type_string(string="getent passwd testuser1\\@ldapdom\n", max_interval=250, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2021-03-04T12:47:26.164 CET] [debug] tests/migration/openldap_to_389ds.pm:73 called testapi::script_output
[2021-03-04T12:47:26.164 CET] [debug] <<< testapi::send_key(key="ctrl-d", do_wait=0, wait_screen_change=0)
[2021-03-04T12:47:26.499 CET] [debug] tests/migration/openldap_to_389ds.pm:73 called testapi::script_output
[2021-03-04T12:47:26.499 CET] [debug] <<< testapi::type_string(string="(echo vIpbR; bash -eox pipefail /tmp/scriptvIpbR.sh ; echo SCRIPT_FINISHEDvIpbR-\$?-) | tee /dev/ttyS0\n", max_interval=250, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2021-03-04T12:47:30.418 CET] [debug] tests/migration/openldap_to_389ds.pm:73 called testapi::script_output
[2021-03-04T12:47:30.418 CET] [debug] <<< testapi::wait_serial(expect_not_found=0, quiet=undef, buffer_size=undef, regexp="SCRIPT_FINISHEDvIpbR-\d+-", record_output=1, no_regex=0, timeout=90)
[2021-03-04T12:47:31.497 CET] [debug] >>> testapi::wait_serial: SCRIPT_FINISHEDvIpbR-\d+-: ok
[2021-03-04T12:47:31.574 CET] [info] ::: basetest::runtest: # Test died: script failed with : vIpbR
SCRIPT_FINISHEDvIpbR-2-
at /usr/lib/os-autoinst/testapi.pm line 1123.

[2021-03-04T12:47:31.576 CET] [debug] lib/consoletest.pm:52 called opensusebasetest::post_fail_hook -> lib/opensusebasetest.pm:1296 called utils::show_tasks_in_blocked_state -> lib/utils.pm:1436 called testapi::send_key

#5 Updated by coolgw 9 months ago

  • Estimated time changed from 35.00 h to 40.00 h

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/12075

TW:
/usr/share/openqa/script/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/openldap_to_ds389 https://openqa.opensuse.org/tests/1660046 -c '--skip-download --apikey xx--apisecret xx' YAML_SCHEDULE="schedule/migration/openldap_to_389ds.yaml" START_AFTER_TEST=""
Created job #1661923: opensuse-Tumbleweed-DVD-x86_64-Build20210307-apparmor@64bit -> https://openqa.opensuse.org/t1661923

SLE
/usr/share/openqa/script/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/openldap_to_ds389 http://openqa.suse.de/tests/5586127 _GROUP=0 START_AFTER_TEST="" YAML_SCHEDULE="schedule/migration/openldap_to_389ds.yaml"
Created job #5625808: sle-15-SP3-Online-x86_64-Build157.1-apparmor@64bit -> http://openqa.suse.de/t5625808

#7 Updated by coolgw 9 months ago

  • Status changed from New to Resolved
  • Estimated time changed from 40.00 h to 50.00 h

Also available in: Atom PDF