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

Windows CIs failing (again) #2585

Open
pramodk opened this issue Oct 19, 2023 · 1 comment
Open

Windows CIs failing (again) #2585

pramodk opened this issue Oct 19, 2023 · 1 comment
Labels
bug CI Continuous Integration windows

Comments

@pramodk
Copy link
Member

pramodk commented Oct 19, 2023

Context

As seen in the recent PRs, the windows CI is failing: https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17845811066?pr=2584

Overview of the CI issue

On Windows CI: lib/dllcrt2.o: lseek: Bad file descriptor is coming back!

test_rxd (neuron.tests.test_rxd.RxDTestCase.test_rxd) ... ld: error: C:/nrn_test/mingw/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../lib/dllcrt2.o: lseek: Bad file descriptor
[634](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:635)
NEURON: Python Callback failed [hoccommand_exec]:
[635](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:636)
Traceback (most recent call last):
[636](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:637)
  File "C:\nrn_test\lib\python\neuron\rxd\rxd.py", line 1878, in _init
[637](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:638)
    initializer._do_init()
[638](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:639)
  File "C:\nrn_test\lib\python\neuron\rxd\initializer.py", line 58, in _do_init
[639](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:640)
    rxd._init()
[640](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:641)
  File "C:\nrn_test\lib\python\neuron\rxd\rxd.py", line 1901, in _init
[641](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:642)
    _compile_reactions()
[642](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:643)
  File "C:\nrn_test\lib\python\neuron\rxd\rxd.py", line 1515, in _compile_reactions
[643](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:644)
    _cxx_compile(fxn_string),
[644](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:645)
    ^^^^^^^^^^^^^^^^^^^^^^^^
[645](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:646)
  File "C:\nrn_test\lib\python\neuron\rxd\rxd.py", line 546, in _cxx_compile
[646](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:647)
    dll = ctypes.cdll[f"{os.path.abspath(filename)}.so"]
[647](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:648)
          ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[648](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:649)
  File "C:\Python311\Lib\ctypes\__init__.py", line 451, in __getitem__
[649](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:650)
    return getattr(self, name)
[650](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:651)
           ^^^^^^^^^^^^^^^^^^^
[651](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:652)
  File "C:\Python311\Lib\ctypes\__init__.py", line 446, in __getattr__
[652](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:653)
    dll = self._dlltype(name)
[653](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:654)
          ^^^^^^^^^^^^^^^^^^^
[654](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:655)
  File "C:\Python311\Lib\ctypes\__init__.py", line 376, in __init__
[655](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:656)
    self._handle = _dlopen(self._name, mode)
[656](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:657)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[657](https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17840995579?pr=2584#step:11:658)
FileNotFoundError: Could not find module 'D:\a\nrn\nrn\rxddll4599bdd0-6e13-11ee-b74a-000d3a1a8b68.so' (or one of its dependencies). Try using the full path with constructor syntax.

Last time we saw the same and we made changes in #2546.

the CI that succeeded : https://github.com/neuronsimulator/nrn/actions/runs/6550320862/job/17789170483

  Current runner version: '2.310.2'
  Runner  Image: windows-2022
  Version: 20231002.1.0
  Included Software: https://github.com/actions/runner-images/blob/win22/20231002.1/images/win/Windows2022-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20231002.1

And failing one

Current runner version: '2.310.2'
Runner Image
  Image: windows-2022
  Version: 20231016.1.0
  Included Software: https://github.com/actions/runner-images/blob/win22/20231016.1/images/win/Windows2022-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20231016.1

Expected result/behavior

CI should pass!

CI Logs

Working (2 days ago): https://github.com/neuronsimulator/nrn/actions/runs/6550320862/job/17789170483
Failing : https://github.com/neuronsimulator/nrn/actions/runs/6567740016/job/17845811066?pr=2584

@pramodk pramodk added bug CI Continuous Integration windows labels Oct 19, 2023
pramodk added a commit that referenced this issue Oct 29, 2023
- This reverts commit ff55f81  (#2546)
- See #2585 : check if newer image has solved issues seen in #2585
pramodk added a commit that referenced this issue Oct 29, 2023
- This reverts commit ff55f81  (#2546)
- See #2585 : check if newer image has solved issues seen in #2585
ramcdougal pushed a commit that referenced this issue Oct 31, 2023
* Windows CI: Avoid downgrading mingw in CI

- This reverts commit ff55f81  (#2546)
- See #2585 : check if newer image has solved issues seen in #2585

* disable running rxd tests
@JCGoran
Copy link
Contributor

JCGoran commented Feb 8, 2024

Also a blocker for the 8.2.4 release (#2700): https://github.com/neuronsimulator/nrn/actions/runs/7815469643/job/21320399721

JCGoran added a commit that referenced this issue Feb 8, 2024
@heerener heerener mentioned this issue Feb 8, 2024
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug CI Continuous Integration windows
Projects
None yet
Development

No branches or pull requests

2 participants