-
Notifications
You must be signed in to change notification settings - Fork 360
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
unit test improvement/fixes #2923
Conversation
As the unit tests currently fail due to a change in rawhide(first seen in PR #2922), this provides a good opportunity to validate that the log cat works as intended. 😁 |
rpm-tests failure is https://bugzilla.redhat.com/show_bug.cgi?id=1887969 FTR |
Yes, so we can now see the failure directly in the output, and have a convenient way to link to it: https://github.com/rhinstaller/anaconda/pull/2923/checks?check_run_id=1251662037#step:6:1485 |
pylint hits 2 GiB per process pretty often [1], thus still causing OOM failures [2]. Bump the divisor. [1] pylint-dev/pylint#1495 [2] pylint-dev/pylint#3899 Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
With the variable reorg in commit a452f1b, `CI_TASKS_TEST_ARGS` already contains the volume mount and `--rm`, so it's not necessary any more to repeat it -- in fact, that fails: Error: /anaconda: duplicate mount destination Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
max() was bogus -- we want *both* RAM and number of CPUs to limit the number of jobs, not take whichever is highest. [1] pylint-dev/pylint#1495 [2] pylint-dev/pylint#3899 Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
With the variable reorg in commit a452f1b, `CI_TASKS_TEST_ARGS` already contains the volume mount and `--rm`, so it's not necessary any more to repeat it -- in fact, that fails: Error: /anaconda: duplicate mount destination Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
e6239c5
to
0b812aa
Compare
max() was bogus -- we want *both* RAM and number of CPUs to limit the number of jobs, not take whichever is highest. Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
With the variable reorg in commit a452f1b, `CI_TASKS_TEST_ARGS` already contains the volume mount and `--rm`, so it's not necessary any more to repeat it -- in fact, that fails: Error: /anaconda: duplicate mount destination Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
We want *both* RAM and number of CPUs to limit the number of jobs, not take whichever is highest, and we want *at least* one job. So flip max/min around to actually make sense. Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
With the variable reorg in commit a452f1b, `CI_TASKS_TEST_ARGS` already contains the volume mount and `--rm`, so it's not necessary any more to repeat it -- in fact, that fails: Error: /anaconda: duplicate mount destination Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
pylint hits 2 GiB per process pretty often [1], thus still causing OOM failures [2]. Bump the divisor. [1] pylint-dev/pylint#1495 [2] pylint-dev/pylint#3899 Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
With the variable reorg in commit a452f1b, `CI_TASKS_TEST_ARGS` already contains the volume mount and `--rm`, so it's not necessary any more to repeat it -- in fact, that fails: Error: /anaconda: duplicate mount destination Cherry-picked from master PR rhinstaller#2923 Related: rhbz#1885635
We want *both* RAM and number of CPUs to limit the number of jobs, not take whichever is highest, and we want *at least* one job. So flip max/min around to actually make sense.
pylint hits 2 GiB per process pretty often [1], thus still causing OOM failures [2]. Bump the divisor. [1] pylint-dev/pylint#1495 [2] pylint-dev/pylint#3899
It's more convenient to look at it directly on the workflow run page than downloading and unpacking logs.zip.
0b812aa
to
7534437
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Ported to rhel-8 branch in PR #2920 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to find the correct solution first.
Other than that looks good to me.
7534437
to
34d8bb5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now. Thanks!
With the variable reorg in commit a452f1b, `CI_TASKS_TEST_ARGS` already contains the volume mount and `--rm`, so it's not necessary any more to repeat it -- in fact, that fails: Error: /anaconda: duplicate mount destination
I put back the "Fix ci-tasks container shell instructions" commit as per discussion with @jkonecny12 , and we'll fix the "run single test" separately in #2925. |
No description provided.