Skip to content

CI run failing on windows due to an unmount error? #147

Closed

Description

@phoeenniixx

Hi Team,
We are facing some issues in our CI on Windows runners after the 0.4.1 update. Found out that if we move to the prev ver of this package (0.4.0), it works perfectly again.
Error

INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\_pytest\main.py", line 330, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\_pytest\main.py", line 384, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_hooks.py", line 512, in __call__
INTERNALERROR>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_callers.py", line 167, in _multicall
INTERNALERROR>     raise exception
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_callers.py", line 139, in _multicall
INTERNALERROR>     teardown.throw(exception)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\_pytest\logging.py", line 816, in pytest_runtestloop
INTERNALERROR>     return (yield)  # Run all the tests.
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_callers.py", line 139, in _multicall
INTERNALERROR>     teardown.throw(exception)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\_pytest\terminal.py", line 708, in pytest_runtestloop
INTERNALERROR>     result = yield
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_callers.py", line 139, in _multicall
INTERNALERROR>     teardown.throw(exception)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pytest_cov\plugin.py", line 348, in pytest_runtestloop
INTERNALERROR>     result = yield
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_callers.py", line 121, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\_pytest\main.py", line 408, in pytest_runtestloop
INTERNALERROR>     item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_hooks.py", line 512, in __call__
INTERNALERROR>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_callers.py", line 167, in _multicall
INTERNALERROR>     raise exception
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_callers.py", line 152, in _multicall
INTERNALERROR>     teardown.send(result)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\_pytest\warnings.py", line 87, in pytest_runtest_protocol
INTERNALERROR>     with catch_warnings_for_item(
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\contextlib.py", line 142, in __exit__
INTERNALERROR>     next(self.gen)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\_pytest\warnings.py", line 64, in catch_warnings_for_item
INTERNALERROR>     ihook.pytest_warning_recorded.call_historic(
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_hooks.py", line 534, in call_historic
INTERNALERROR>     res = self._hookexec(self.name, self._hookimpls.copy(), kwargs, False)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_manager.py", line 120, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_callers.py", line 167, in _multicall
INTERNALERROR>     raise exception
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pluggy\_callers.py", line 121, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\pytest_github_actions_annotate_failures\plugin.py", line 112, in pytest_warning_recorded
INTERNALERROR>     compute_path(os.path.relpath(warning_message.filename)),
INTERNALERROR>   File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\ntpath.py", line 747, in relpath
INTERNALERROR>     raise ValueError("path is on mount %r, start on mount %r" % (
INTERNALERROR> ValueError: path is on mount 'C:', start on mount 'D:'

======================= 136 passed, 1 warning in 23.45s =======================

Link for the runs: https://github.com/sktime/pytorch-forecasting/actions/runs/27813591683/job/82309367199

Can anyone please help us in this?
For now, we have added an upper bound, but I think this is a bug?

Activity

  1. edgarrmondragon commented on Jun 19, 2026

    @edgarrmondragon
    Collaborator

    Thanks for the report @phoeenniixx!

    I suspect badb1c5 (#138). I'll take a look.

  2. phoeenniixx commented on Jun 19, 2026

    @phoeenniixx
    Author

    Thanks a lot @edgarrmondragon !!

  3. LOCEANlloydizard commented on Jun 19, 2026

    @LOCEANlloydizard

    Hi all, we're having the same issue but the failure only occurs on the Windows Python 3.13 CI job (windows-latest / windows-2025-vs2026). The same workflow passes on Windows Python 3.11 and 3.12. The traceback ends with the same:

    File "...pytest_github_actions_annotate_failures/plugin.py", line 112, in pytest_warning_recorded
        compute_path(os.path.relpath(warning_message.filename))
    ValueError: path is on mount 'C:', start on mount 'D:'
    

    Thanks for the fix @edgarrmondragon !

  4. edgarrmondragon commented on Jun 19, 2026

    @edgarrmondragon
    Collaborator
  5. added
    bug
    on Jun 19, 2026
  6. LOCEANlloydizard commented on Jun 19, 2026

    @LOCEANlloydizard

    Yes, it passes CI now for us. All good, thanks for the quick fix! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions