Closed ederenn closed 5 years ago
it seems to mount the original location of the scene file directly into docker:
path_root
is set to main_scene_dir
https://github.com/golemfactory/golem/blob/d81005cdfeea28c3ba2f4a94f17f8c925a3766ba/apps/blender/task/blenderrendertask.py#L395
then path_root
is used to mount as /golem/resources
https://github.com/golemfactory/golem/blob/d81005cdfeea28c3ba2f4a94f17f8c925a3766ba/golem/verificator/blender_verifier.py#L77
while it used to be properly inside the work_dir: https://github.com/golemfactory/golem/pull/3844/files#diff-187d6b2b5c0334f8119154f3d302c14cL141
I came to the same conclusion as @maaktweluit. Only subdirectories of "golem\default\mainnet\ComputerRes"
can be mounted.
@Wiezzel thanks for the formatting fix, was wondering how that worked, now i know :)
found one more thing when checking the golem\default\mainnet\ComputerRes\<subtask_id>
folder.
It contains a resources\<subtask_id>
file with the size of the blender file, maybe it can/should use this for verification
It looks like someone was trying to introduce the following optimization:
Let's avoid copying resources before sending them to provider and just pack them to the ZIP in place.
However, it does not work when it comes to the verification process. A verificator assumes that resources are copied to ComputerRes
.
Issue was resolved by copying needed resources to ComputerRes
but, in the future, we need to resolve that in another way. From the other hand, mounting user directories directly to virtualmachine / docker filesystem seems to be not reasonable.
Thanks @prekucki for your help
Description
Golem Version: 0.19.2+dev518.gd81005c
Golem-Messages version (leave empty if unsure): 3.4.0
Electron version (if used): 0.20
OS [e.g. Windows 10 Pro]: Windows 10 Pro
Branch (if launched from source): develop
Mainnet/Testnet: mainnet
Description of the issue:
When requesting on Windows machine Golem is not accepting results of verification. Every subtask ends in failure.
Actual result:
Golem won't finish any task.
Screenshots:
If applicable, add screenshots to help explain your problem.
Steps To Reproduce
Expected behavior
Subtasks should be passing verification
Logs and any additional context
from
golem.log
:Proposed Solution?
(Optional: What could be a solution for that issue)