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

Run python script '/home/runner/work/skupper-router/skupper-router/skupper-router/src/schema_c.py':ModuleNotFoundError: No module named 'skupper_router.management.entity' #1350

Open
jiridanek opened this issue Dec 29, 2023 · 3 comments

Comments

@jiridanek
Copy link
Contributor

Traceback (most recent call last):
  File "/__w/skupper-router/skupper-router/skupper-router/build/tests/run.py", line 144, in <module>
Run python script '/home/runner/work/skupper-router/skupper-router/skupper-router/src/schema_c.py':ModuleNotFoundError: No module named 'skupper_router.management.entity'
    run_path(sys.argv[0], run_name="__main__")
  File "/__w/skupper-router/skupper-router/skupper-router/build/tests/run.py", line 127, in run_path
    runpy.run_path(file_path, run_name=run_name)
  File "/usr/lib64/python3.9/runpy.py", line 288, in run_path
    return _run_module_code(code, init_globals, run_name,
  File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code
/usr/bin/gcc -O2 -g  -flto -fno-fat-lto-objects -Wl,--export-dynamic -rdynamic "CMakeFiles/test-sender.dir/test-sender.c.o" -o test-sender  -Wl,-rpath,/__w/skupper-router/skupper-router/install/lib64 /__w/skupper-router/skupper-router/install/lib64/libqpid-proton.so.11.17.0 
    _run_code(code, mod_globals, init_globals,
  File "/usr/lib64/python3.9/runpy.py", line [87](https://github.com/skupperproject/skupper-router/actions/runs/7355390523/job/20023930486?pr=1348#step:27:88), in _run_code
    exec(code, run_globals)
  File "/home/runner/work/skupper-router/skupper-router/skupper-router/src/schema_c.py", line 24, in <module>
    from skupper_router_internal.management.schema import EnumType
  File "/home/runner/work/skupper-router/skupper-router/skupper-router/python/skupper_router_internal/management/schema.py", line 32, in <module>
    from skupper_router.management.entity import EntityBase
ModuleNotFoundError: No module named 'skupper_router.management.entity'

https://github.com/skupperproject/skupper-router/actions/runs/7355390523/job/20023930486?pr=1348#step:27:85

@jiridanek
Copy link
Contributor Author

This happens at random during build. It seems a flaky issue.

@jiridanek
Copy link
Contributor Author

    raise ValueError("Failed to load data file skrouter.json")

https://github.com/skupperproject/skupper-router/actions/runs/7358938236/job/20032947714?pr=1358#step:27:99

@jiridanek
Copy link
Contributor Author

Looks like an issue with parallel builds, something runs too soon before the files are in place?

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

No branches or pull requests

1 participant