-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
Test suite failures on Windows GitHub runner #4539
Comments
Copying over some comments from the PR: The The
|
More comments: Some packaging tests fail with:
... even though the packaging tool itself sets that. The tar-xz test fails because the identified tar doesn't know about xz format. Possibly another case of too generously detecting something. |
The
|
The interactive tests almost all (26/28) fail waiting for a file to appear - it's always the result of calling the
This may be because the path has been munged by a DOS-style 8.3 transformation (there's another set of issues of this type)... the test runner username is actually runneradmin and the resulting home directory becomes something different. |
Looks like the transformation is done by Windows itself. I created a throwaway account with the same name as the problem one, runneradmin. With that, not even getting Python involved, we see this in the environment settings:
And in Python, However, knowing that's where it comes from doesn't leave me any wiser as to the reason for things failing. |
I've actually found one real bug. Most of the tests are not failing in my VM using the same user ID. But in the test framework we have this function (abridged a bit for brevity): def tempdir_re(self, *args):
"""Returns a regular expression to match a scons-time
temporary directory."""
tempdir = tempfile.gettempdir()
try:
realpath = os.path.realpath
except AttributeError:
pass
else:
tempdir = realpath(tempdir) The problem with this is, if the tempdir has a Windows-squashed path, |
The |
For informational purposes, this runner is described in Two of the scons-time failures have now been eliminated (and taken out of the excludelist file) via merged #4542. |
PR #4538 proposed adding a Windows runner on GitHub since we've lost, without reasonable explanation, the AppVeyor builds (supposedly due to the test failing too often, but it fails due to AppVeyor's own failure to properly update a test image - Visual Studio "license expired" problem).
Some surprises in trying to move the test run over... a bunch of unexpected failures, some rather mysterious. In the initial merge, a skip list has been added, but we'd like to get rid of that as much as possible.
The text was updated successfully, but these errors were encountered: