Closed stefaniapedrazzi closed 1 year ago
It seems there are issues with the version of the installed pytorch. But checking the logs, the expected version seems to be installed:
2023-05-02T08:45:22.1287225Z Collecting torch==1.9.0 (from opendr-toolkit-engine)
2023-05-02T08:45:22.1361857Z Downloading torch-1.9.0-cp38-cp38-manylinux1_x86_64.whl (831.4 MB)
All the failing tests are reporting error related to it. Here are some examples of the test errors:
RuntimeError: Legacy torch==2.0.0+cu117 detected, some modules may not work properly. torch>=1.4.0,<2.0.0 is required. You can use pip or conda to upgrade
AttributeError: module 'torch' has no attribute '_six'
TypeError: export() got an unexpected keyword argument 'enable_onnx_checker'
This is very weird, especially given that this runs on CI without GPU (the specific torch version has been compiled against cu117, which shouldn't be installed in any case). I suspect that there is a recent update (either in our codebase or in a dependency) that brought this as a dependency. I will try to check asap.
I think should be ok now. The way ROS starts in CI is a bit strange (through mobile_manipulations
, but since it affects only CI and it works we can perhaps keep it as it is for now). I have added test_release
flag to also check the generated packages.
The test wheel failures are probably due to not bumping the version tag and pulling the existing (already broken) packages from pip repo. After merging, we can start a new release with increased version number and check there if we have any other failure.
It seems the manipulation_test is still failing. We can comment it for now, merge this PR, and then debug it in a separate PR so that at least we can restore the tests.
The test-sources (macos-10.15) test is hanging in all the branches (including the scheduled tests). It seems that the macos-10.15 image has been deprecated one year ago and completely removed recently.
I tried to simply upgrade the version in this PR. If it shouldn't work I would merge this PR as-is and fix it in a separate branch.
The test-sources is now passing both on ubuntu and macos-11.
@passalis could you please change the merge requirements and replace the test-sources (macos-10.15)
with the new test-sources (macos-11)
?
@tsampazk oops, I change the test_suite_develop just after your approval
The test-sources is now passing both on ubuntu and macos-11.
@passalis could you please change the merge requirements and replace the
test-sources (macos-10.15)
with the newtest-sources (macos-11)
?
Done. Thanks!
macos-10.15
tomacos-11