File size: 11,524 Bytes
22aabd8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[22:27:19 INFO    __main__] loading task: /home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/task-09.json
[22:27:19 INFO    __main__] software_dir = /home/lihaoyang/code/Engiworld/task/task-v/solvespace
[22:27:19 INFO    __main__] task_dir     = /home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09
[22:27:19 DEBUG   __main__] resolved local_path: task-09/init_file/seed_ss_gui_09_step_profile.dxf -> /home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/init_file/seed_ss_gui_09_step_profile.dxf
[22:27:19 DEBUG   __main__] resolved local_path: task-09/eval.py -> /home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/eval.py
[22:27:19 INFO    __main__] all 2 local_path(s) verified
[22:27:19 DEBUG   __main__] resolved task config:
{
  "id": "v-solvespace-task-09-ubuntu",
  "snapshot": "SolveSpace3.0.rc2repack1-3",
  "instruction": "Open/import the input DXF file(s) from the Desktop path(s): /home/user/Desktop/seed_ss_gui_09_step_profile.dxf. Generate a three-step plate. Total width is 150 and total height is 70. From left to right, the top heights are 70, 50, and 30, with segment widths 40, 50, and 60. The bottom edge is one complete horizontal line. Add one diameter 8 hole at the center of the left high step. Export exactly one DXF deliverable named /home/user/Desktop/final_ss_gui_09.dxf.",
  "source": "https://solvespace.readthedocs.io/en/latest/groups/sketch.html ; https://solvespace.readthedocs.io/en/latest/groups.html",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "/home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/init_file/seed_ss_gui_09_step_profile.dxf",
            "path": "/home/user/Desktop/seed_ss_gui_09_step_profile.dxf"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "solvespace"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "solvespace"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "/home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/eval.py",
              "path": "/home/user/Desktop/eval.py"
            }
          ]
        }
      }
    ],
    "func": "exact_match",
    "result": {
      "type": "vm_command_line",
      "command": "python /home/user/Desktop/eval.py",
      "shell": "true"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "expected": "True\n"
      }
    }
  },
  "proxy": false,
  "fixed_ip": false,
  "possibility_of_env_change": "low"
}
[22:27:27 INFO    __main__] constructing DesktopEnv(provider_name='msh-sandbox', action_space='pyautogui', headless=False)
[22:27:28 INFO    __main__] env.reset() — 2 setup step(s)
[22:27:29 INFO    logging] Resetting environment...
[22:27:29 INFO    logging] Starting emulator with snapshot 'SolveSpace3.0.rc2repack1-3'...
[22:27:29 INFO    logging] Allocating sandbox image=osworld:engiworld-SolveSpace3.0.rc2repack1-3 ttl=1800s
[22:27:30 DEBUG   logging] Using selector: EpollSelector
[22:27:30 DEBUG   agentgym.utils.aiohttp_middleware] Request 72935469-f4bc-4d6a-8d68-087df4456261 POST https://agent-office.msh.team/api/v1/office/session/create {"image":"osworld:engiworld-SolveSpace3.0.rc2repack1-3","spec":"default","ttl":1800,"configs":null,"group":"20260501222728-6d83"}
[22:27:30 ERROR   agentgym.utils.aiohttp_middleware] Response 72935469-f4bc-4d6a-8d68-087df4456261 429 POST https://agent-office.msh.team/api/v1/office/session/create 0.34s
[22:27:30 DEBUG   agentgym.utils.aiohttp_middleware] Request attempt 1/3 POST https://agent-office.msh.team/api/v1/office/session/create failed: 429 {"code":429,"msg":"None","data":null}
[22:27:30 DEBUG   agentgym.utils.aiohttp_middleware] Retrying POST https://agent-office.msh.team/api/v1/office/session/create attempt 0/3
[22:27:41 DEBUG   agentgym.utils.aiohttp_middleware] Request 055af843-3b1b-48aa-b6ba-9e08f449c8dc POST https://agent-office.msh.team/api/v1/office/session/create {"image":"osworld:engiworld-SolveSpace3.0.rc2repack1-3","spec":"default","ttl":1800,"configs":null,"group":"20260501222728-6d83"}
[22:28:22 DEBUG   agentgym.utils.aiohttp_middleware] Response 055af843-3b1b-48aa-b6ba-9e08f449c8dc 200 POST https://agent-office.msh.team/api/v1/office/session/create 40.36s {"code":200,"msg":"请求成功","data":{"id":"2050220620986486784","image":"osworld:engiworld-SolveSpace3.0.rc2repack1-3","spec":"default","name":null,"endpoints":{"cdp":"http://10.56.51.164:9222","vlc":"http://10.56.51.164:8080/requests/status.xml","vnc":"http://10.56.51.164:8006","novnc":"http://10.56.51.164:5910/vnc.html","osworld":"http://10.56.51.164:5000"},"ttl":1800,"configs":null,"group":"20260501222728-6d83","ip":"10.56.51.164","urn":"trn:ecs:cn-beijing-c:2100421654:instance/i-yel93dperkwh2ypbgwa5","created_at":"2026-05-01 14:27:41","paused":false,"expires_at":"2026-05-01 14:58:22"}}
[22:28:22 DEBUG   agentgym.sandbox.session] Session 2050220620986486784 created in 51.67s
[22:28:22 DEBUG   agentgym.utils.network] 开始检查 http://10.56.51.164:5000 (10.56.51.164, 5000) 是否就绪
[22:28:37 DEBUG   agentgym.utils.network] 检查 10.56.51.164:5000 失败: ConnectionRefusedError [Errno 111] Connect call failed ('10.56.51.164', 5000)
[22:28:37 INFO    agentgym.sandbox.session] Sandbox osworld:engiworld-SolveSpace3.0.rc2repack1-3@2050220620986486784 waiting for ready with timeout 600s and interval 1s
[22:28:38 DEBUG   agentgym.utils.network] 开始检查 http://10.56.51.164:5000 (10.56.51.164, 5000) 是否就绪
[22:28:38 INFO    agentgym.sandbox.session] Sandbox osworld:engiworld-SolveSpace3.0.rc2repack1-3@2050220620986486784 is ready
[22:28:38 DEBUG   agentgym.sandbox.session] Sandbox osworld:engiworld-SolveSpace3.0.rc2repack1-3@2050220620986486784 ready in 16.40s
[22:28:38 INFO    logging] Sandbox ready id=2050220620986486784 osworld=http://10.56.51.164:5000 cdp=http://10.56.51.164:9222
[22:28:38 INFO    logging] Setting up environment...
[22:28:38 INFO    logging] try to connect http://10.56.51.164:5000
[22:28:39 INFO    logging] Executing setup step 1/2: _upload_file_setup
[22:28:39 DEBUG   logging] Setup parameters: {'files': [{'local_path': '/home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/init_file/seed_ss_gui_09_step_profile.dxf', 'path': '/home/user/Desktop/seed_ss_gui_09_step_profile.dxf'}]}
[22:28:39 INFO    logging] Uploading seed_ss_gui_09_step_profile.dxf (36850 bytes) to VM at /home/user/Desktop/seed_ss_gui_09_step_profile.dxf (attempt 1/3)
[22:28:39 DEBUG   logging] REQUEST ADDRESS: http://10.56.51.164:5000/setup/upload
[22:28:39 DEBUG   logging] multipart/form-data; boundary=c781c5eda231445792ffed51e1a5409b
[22:28:39 INFO    logging] File uploaded successfully: /home/user/Desktop/seed_ss_gui_09_step_profile.dxf
[22:28:39 DEBUG   logging] Upload response: File Uploaded
[22:28:39 INFO    logging] SETUP COMPLETED: _upload_file_setup({'files': [{'local_path': '/home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/init_file/seed_ss_gui_09_step_profile.dxf', 'path': '/home/user/Desktop/seed_ss_gui_09_step_profile.dxf'}]})
[22:28:39 INFO    logging] Executing setup step 2/2: _launch_setup
[22:28:39 DEBUG   logging] Setup parameters: {'command': ['solvespace']}
[22:28:39 INFO    logging] REQUEST ADDRESS: http://10.56.51.164:5000/setup/launch
[22:28:39 INFO    logging] Command executed successfully: solvespace launched successfully
[22:28:39 INFO    logging] SETUP COMPLETED: _launch_setup({'command': ['solvespace']})
[22:28:39 INFO    logging] Environment setup complete.
[22:28:39 INFO    logging] Got screenshot successfully
[22:28:39 SUCCESS __main__] env.reset() done — obs keys: ['screenshot', 'accessibility_tree', 'terminal', 'instruction']
[22:28:39 INFO    __main__] recording desktop for 60.0s -> /home/lihaoyang/code/Engiworld/logs/batch-20260501-222716/task-v/solvespace/task-09/init.mp4
[22:28:39 INFO    logging] Recording started successfully
[22:29:40 INFO    logging] Recording stopped successfully
[22:29:40 SUCCESS __main__] init recording saved: /home/lihaoyang/code/Engiworld/logs/batch-20260501-222716/task-v/solvespace/task-09/init.mp4 (1,257,560 bytes)
[22:29:40 INFO    __main__] pre-filling 1 ground-truth file(s) to /home/user/Desktop/
[22:29:40 DEBUG   __main__]   + final_ss_gui_09.dxf
[22:29:40 INFO    logging] try to connect http://10.56.51.164:5000
[22:29:40 INFO    logging] Executing setup step 1/1: _upload_file_setup
[22:29:40 DEBUG   logging] Setup parameters: {'files': [{'local_path': '/home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/ground_truth/final_ss_gui_09.dxf', 'path': '/home/user/Desktop/final_ss_gui_09.dxf'}]}
[22:29:40 INFO    logging] Uploading final_ss_gui_09.dxf (36850 bytes) to VM at /home/user/Desktop/final_ss_gui_09.dxf (attempt 1/3)
[22:29:40 DEBUG   logging] REQUEST ADDRESS: http://10.56.51.164:5000/setup/upload
[22:29:40 DEBUG   logging] multipart/form-data; boundary=7cf732c65580463e8c412cc94f9f0547
[22:29:40 INFO    logging] File uploaded successfully: /home/user/Desktop/final_ss_gui_09.dxf
[22:29:40 DEBUG   logging] Upload response: File Uploaded
[22:29:40 INFO    logging] SETUP COMPLETED: _upload_file_setup({'files': [{'local_path': '/home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/ground_truth/final_ss_gui_09.dxf', 'path': '/home/user/Desktop/final_ss_gui_09.dxf'}]})
[22:29:40 INFO    __main__] env.evaluate() — running postconfig + metric
[22:29:40 INFO    logging] try to connect http://10.56.51.164:5000
[22:29:40 INFO    logging] Executing setup step 1/1: _upload_file_setup
[22:29:40 DEBUG   logging] Setup parameters: {'files': [{'local_path': '/home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/eval.py', 'path': '/home/user/Desktop/eval.py'}]}
[22:29:40 INFO    logging] Uploading eval.py (2550 bytes) to VM at /home/user/Desktop/eval.py (attempt 1/3)
[22:29:40 DEBUG   logging] REQUEST ADDRESS: http://10.56.51.164:5000/setup/upload
[22:29:40 DEBUG   logging] multipart/form-data; boundary=38185fee46984b4895cabe64f82b29a3
[22:29:40 INFO    logging] File uploaded successfully: /home/user/Desktop/eval.py
[22:29:40 DEBUG   logging] Upload response: File Uploaded
[22:29:40 INFO    logging] SETUP COMPLETED: _upload_file_setup({'files': [{'local_path': '/home/lihaoyang/code/Engiworld/task/task-v/solvespace/task-09/eval.py', 'path': '/home/user/Desktop/eval.py'}]})
[22:29:40 DEBUG   logging] {'error': '', 'output': 'True\n', 'returncode': 0, 'status': 'success'}
[22:29:40 DEBUG   logging] True
 True

[22:29:40 SUCCESS __main__] evaluator score = 1.0
[22:29:40 INFO    __main__] env.close()
[22:29:40 DEBUG   logging] Using selector: EpollSelector
[22:29:40 DEBUG   agentgym.utils.aiohttp_middleware] Request a3cf6ba7-2351-47f2-b874-c3444860d23b POST https://agent-office.msh.team/api/v1/office/session/delete {"id":"2050220620986486784"}
[22:29:41 DEBUG   agentgym.utils.aiohttp_middleware] Response a3cf6ba7-2351-47f2-b874-c3444860d23b 200 POST https://agent-office.msh.team/api/v1/office/session/delete 0.06s {"code":200,"msg":"请求成功","data":{}}
[22:29:41 DEBUG   agentgym.sandbox.api] Deleted session 2050220620986486784 in 0.06s, start time: 2026-05-01 22:29:40
[22:29:41 DEBUG   agentgym.sandbox.session] Sandbox osworld:engiworld-SolveSpace3.0.rc2repack1-3@2050220620986486784 exited
[22:29:41 INFO    logging] Released sandbox id=