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

Leap: Set LTP_TAINT_EXPECTED for LTP tests + missing setup on Tumbleweed #508

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

pevik
Copy link
Contributor

@pevik pevik commented Aug 22, 2024

Leap: Set LTP_TAINT_EXPECTED for LTP tests

Only Leap 15.5 and 15.6 jobs are active, therefore ignore older Leap.

It's needed for It's needed for LTP runtests: commands, syscalls,
kernel_misc (kernel_misc don't run on Leap).

Leap has SLES kernel, therefore taint flags are different from
Tumbleweed, which has mainline stable kernel (Unsupported module was
loaded 0x80000000 is added).

For all tests on o3 only 0x80003000 is needed:

  • Out of tree module was loaded (0x1000, 1 << 12)
  • Unsigned module was loaded (0x2000, 1 << 13)
  • Unsupported module was loaded (2147483648, 0x80000000, 1 << 31)

but we set: 0x80013801

  • Proprietary module was loaded (1, 0x1, 1 << 0)
  • Workaround for platform firmware bug (2048, 0x800, 1 << 11)
  • Out of tree module was loaded (4096, 0x1000, 1 << 12)
  • Unsigned module was loaded (8192, 0x2000, 1 << 13)
  • Externally supported module was loaded or auxiliary taint (65536, 0x10000, 1 << 16)
  • Unsupported module was loaded (2147483648, 0x80000000, 1 << 31)

The additional modules might be needed in the future for PPC/s390x drivers
(so far it's needed only for SLES, but that may change).

  • Add 2x missing setup on Tumbleweed (fix of previous commit)

pevik added 2 commits August 22, 2024 18:32
Fixme: a68add8 ("LTP: set LTP_TAINT_EXPECTED")
Signed-off-by: Petr Vorel <[email protected]>
Only Leap 15.5 and 15.6 jobs are active, therefore ignore older Leap.

It's needed for It's needed for LTP runtests: commands, syscalls,
kernel_misc (kernel_misc don't run on Leap).

Leap has SLES kernel, therefore taint flags are different from
Tumbleweed, which has mainline stable kernel (Unsupported module was
loaded 0x80000000 is added).

For all tests on o3 only 0x80003000 is needed:

* Out of tree module was loaded (0x1000, 1 << 12)
* Unsigned module was loaded (0x2000, 1 << 13)
* Unsupported module was loaded (2147483648, 0x80000000, 1 << 31)

but we set: 0x80013801

* Proprietary module was loaded (1, 0x1, 1 << 0)
* Workaround for platform firmware bug (2048, 0x800, 1 << 11)
* Out of tree module was loaded (4096, 0x1000, 1 << 12)
* Unsigned module was loaded (8192, 0x2000, 1 << 13)
* Externally supported module was loaded or auxiliary taint (65536, 0x10000, 1 << 16)
* Unsupported module was loaded (2147483648, 0x80000000, 1 << 31)

The additional modules might be needed in the future for PPC/s390x drivers
(so far it's needed only for SLES, but that may change).

Signed-off-by: Petr Vorel <[email protected]>
@pevik pevik requested a review from mdoucha August 22, 2024 16:33
@pevik
Copy link
Contributor Author

pevik commented Aug 22, 2024

After merging this I will do cleanup values in https://openqa.opensuse.org/admin/test_suites.

Copy link
Contributor

@Avinesh Avinesh left a comment

Choose a reason for hiding this comment

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

LGTM

@pevik pevik merged commit 7d7bc83 into os-autoinst:master Aug 22, 2024
3 checks passed
@pevik
Copy link
Contributor Author

pevik commented Aug 22, 2024

I removed whole LTP_TAINT_EXPECTED setup from https://openqa.opensuse.org/admin/test_suites.

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

Successfully merging this pull request may close these issues.

2 participants