mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Improved logs (#2272)
This commit is contained in:
parent
69542c9999
commit
ae815b20d2
@ -51,7 +51,9 @@ class SWEBenchSSHBox(DockerSSHBox):
|
||||
assert exit_code == 0, f'Failed to set SWE_INSTANCE_ID in ~/.bashrc: {output}'
|
||||
|
||||
logger.info('Sourcing swe_entry.sh to set up environment variables')
|
||||
# larger timeout for SWEBench init to account for long-running installations (e.g., require compilation)
|
||||
logger.info(
|
||||
'Initialization of SWEBench may take approximately 10 minutes due to long-running installations, such as those requiring compilation.'
|
||||
)
|
||||
exit_code, output = self.execute('source /swe_util/swe_entry.sh', timeout=600)
|
||||
logger.info('exit code: %d', exit_code)
|
||||
logger.info(output)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user