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

Target Debian 12 for testing #5197

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Target Debian 12 for testing #5197

wants to merge 2 commits into from

Conversation

mthalman
Copy link
Member

Related to the discussion at dotnet/dotnet-buildtools-prereqs-docker#1276. I want to see if using the Debian 12 Helix image works.

@mikem8361
Copy link
Member

FYI, Debian isn't test on in the CI jobs only in the daily full builds.

@mthalman
Copy link
Member Author

FYI, Debian isn't test on in the CI jobs only in the daily full builds.

Yeah, I've temporarily enabled it to run here.

@mthalman
Copy link
Member Author

mthalman commented Feb 6, 2025

@mikem8361 - I made a custom image to add a missing lldb package. But the tests are timing out. It seems to be in SOS.UnitTests. Do you know of any other dependency/configuration that might be missing to cause it to timeout?

@mikem8361
Copy link
Member

It looks like the tests can't find lldb. It is installed in a non-standard place or with a version in the name we don't look for (i.e. lldb-18). eng\build.sh has the logic used to find the binary.

@mthalman
Copy link
Member Author

mthalman commented Feb 6, 2025

It looks like the tests can't find lldb. It is installed in a non-standard place or with a version in the name we don't look for (i.e. lldb-18). eng\build.sh has the logic used to find the binary.

If you're looking at the results in the Tests tab, that's from the first run. I did a rerun after fixing the image to include lldb and ran into the timeout. So I think the lldb issue is fixed as there are passing tests showing up in the log output. But it never completes the SOS tests.

@mikem8361
Copy link
Member

Looks like this version of lldb-14 has some python script problem. I've seen this before but don't remember any solutions. The tests use a python script wrapper that runs the command and captures the error if the command fails. I have a old branch with a C++ lldb extension replacement, but never got it to work correctly.

        STDERROR: 00:00.058: Traceback (most recent call last):
        STDERROR: 00:00.058:   File "<string>", line 1, in <module>
        STDERROR: 00:00.058: ModuleNotFoundError: No module named 'lldb'
        00:00.066: (lldb) settings set target.disable-aslr false
        00:00.066: (lldb) settings set interpreter.prompt-on-quit false
        00:00.066: (lldb) command script import /__w/1/s/src/SOS/SOS.UnitTests/Scripts/lldbhelper.py
        STDERROR: 00:00.066: Traceback (most recent call last):
        STDERROR: 00:00.066:   File "<string>", line 1, in <module>
        STDERROR: 00:00.066: NameError: name 'run_one_line' is not defined
        STDERROR: 00:00.066: Traceback (most recent call last):
        STDERROR: 00:00.066:   File "<string>", line 1, in <module>
        STDERROR: 00:00.066: NameError: name 'run_one_line' is not defined
        STDERROR: 00:00.066: Traceback (most recent call last):
        STDERROR: 00:00.066:   File "<string>", line 1, in <module>
        STDERROR: 00:00.066: NameError: name 'run_one_line' is not defined
        STDERROR: 00:00.066: Traceback (most recent call last):
        STDERROR: 00:00.066:   File "<string>", line 1, in <module>
        STDERROR: 00:00.066: NameError: name 'run_one_line' is not defined
        STDERROR: 00:00.066: Traceback (most recent call last):
        STDERROR: 00:00.066:   File "<string>", line 1, in <module>
        STDERROR: 00:00.066: NameError: name 'run_one_line' is not defined
        STDERROR: 00:00.066: Traceback (most recent call last):
        STDERROR: 00:00.066:   File "<string>", line 1, in <module>
        STDERROR: 00:00.066: NameError: name 'run_one_line' is not defined
        STDERROR: 00:00.076: Traceback (most recent call last):
        STDERROR: 00:00.076:   File "<string>", line 1, in <module>
        STDERROR: 00:00.076: NameError: name 'lldb' is not defined
        STDERROR: 00:00.076: error: module importing failed: Traceback (most recent call last):
        STDERROR: 00:00.076:   File "<string>", line 1, in <module>
        STDERROR: 00:00.076:   File "/__w/1/s/src/SOS/SOS.UnitTests/Scripts/lldbhelper.py", line 1, in <module>
        STDERROR: 00:00.076:     import lldb
        STDERROR: 00:00.076: ModuleNotFoundError: No module named 'lldb'

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