Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra coverage for tcsh shell #8924

Merged
merged 1 commit into from
Nov 15, 2019
Merged

Conversation

srlemke
Copy link
Contributor

@srlemke srlemke commented Nov 14, 2019

Copy link
Member

@okurz okurz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You seem to have a lot of verification runs. Why you would need that for every single SLE version I don't know but I suggest to have one for openSUSE TW which should be considered by default for verification because it should be considered always the most recent.

tests/console/shells.pm Outdated Show resolved Hide resolved
tests/console/shells.pm Outdated Show resolved Hide resolved
@srlemke
Copy link
Contributor Author

srlemke commented Nov 14, 2019

Sorry saw to comment about opensuse TW only now.
Here is a run of TW: http://deathstar.suse.cz/tests/2065

I could not find out why it fails there, the fail is not introduced by this change. (but I will not have problems to fix it if we find the pb).

-- Also make sure the test runs on all supported products is a requirement by maintenance.

@okurz
Copy link
Member

okurz commented Nov 14, 2019

Sorry saw to comment about opensuse TW only now.
Here is a run of TW: http://deathstar.suse.cz/tests/2065

I could not find out why it fails there, the fail is not introduced by this change. (but I will not have problems to fix it if we find the pb).

I am not sure what test you used as template to trigger yours based on but it fails in http://deathstar.suse.cz/tests/2065#step/shells/17 because the permissions to access the serial device have not been adjusted. This is normally done as part of setup in a dedicated test module. You can of course also just boot a qcow image with Tumbleweed where this part had been done as part of the according installation test as well.

@srlemke
Copy link
Contributor Author

srlemke commented Nov 14, 2019

yeah, that's the case as it passes fine on opensuse openqa.
Will clone a Tumbleweed and attach result here once it finishes.

@okurz okurz merged commit 64900a3 into os-autoinst:master Nov 15, 2019
@michelmno
Copy link
Contributor

test is failing for leap15.2 ppc64le pas per https://openqa.opensuse.org/tests/1085853#step/shells/20
The failing line is:

validate_script_output 'grep -c tux:x:1001:100::/home/tux:/usr/bin/tcsh /tmp/tcsh', sub { /1/ };

may be interesting do add a post_fail_hook to report /tmp/tcsh for investigation.

@srlemke
Copy link
Contributor Author

srlemke commented Nov 15, 2019

This grep needs an improvement, it currently matches a user ID 1001, but if the system has more users 1001 will be no match already.
I will also change user tux to something like tcsh_user to be less generic :)

Thanks for pointing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants