You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Competition Fails Due to Missing file in /app/input/ref/ #1951
I've tried changing it to cpu1.1; however, a new issue seems to have occurred:
[2025-07-30 12:45:53,297: ERROR/ForkPoolWorker-1] Task compute_worker_run[4dcab18f-6560-4cbb-8328-1caa40d524a4] raised unexpected: BadZipFile('File is not a zip file')
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/celery/app/trace.py", line 385, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/celery/app/trace.py", line 650, in __protected_call__
return self.run(*args, **kwargs)
File "/compute_worker.py", line 112, in run_wrapper
run.prepare()
File "/compute_worker.py", line 787, in prepare
zip_file = self._get_bundle(url, path, cache=cache_this_bundle)
File "/compute_worker.py", line 456, in _get_bundle
with ZipFile(bundle_file, 'r') as z:
File "/usr/local/lib/python3.9/zipfile.py", line 1268, in __init__
self._RealGetContents()
File "/usr/local/lib/python3.9/zipfile.py", line 1335, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
I'm now using the same compute worker that was used during the competition (AWS: t3.xlarge) and submitting our dummy submission, which was provided as an example. Getting the following error logs:
[2025-07-31 12:31:18,961: INFO/ForkPoolWorker-1] Destroying submission temp dir: /codabench/tmphvsooa43
[2025-07-31 12:31:19,081: ERROR/ForkPoolWorker-1] Task compute_worker_run[b18ed328-9a7e-41c8-a069-d872fbfff749] raised unexpected: ReadTimeout(ReadTimeoutError("HTTPSConnectionPool(host='www.codabench.org', port=443): Read timed out. (read timeout=150)"))
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.9/http/client.py", line 1377, in getresponse
response.begin()
File "/usr/local/lib/python3.9/http/client.py", line 320, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.9/http/client.py", line 281, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/local/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
File "/usr/local/lib/python3.9/ssl.py", line 1275, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/lib/python3.9/ssl.py", line 1133, inreadreturn self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 637, in urlopen
retries = retries.increment(method, url, error=e, _pool=self,
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 368, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.9/site-packages/urllib3/packages/six.py", line 686, in reraise
raise value
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 597, in urlopen
httplib_response = self._make_request(conn, method, url,
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 306, in _raise_timeout
raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.codabench.org', port=443): Read timed out. (read timeout=150)
The During handling of the above exception, another exception occurred: occurs a couple of times, before:
[2025-07-31 12:46:26,676: WARNING/MainProcess] consumer: Connection to broker lost. Trying to re-establish the connection...
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/celery/worker/consumer/consumer.py", line 318, in start
blueprint.start(self)
File "/usr/local/lib/python3.9/site-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
File "/usr/local/lib/python3.9/site-packages/celery/worker/consumer/consumer.py", line 596, in start
c.loop(*c.loop_args())
File "/usr/local/lib/python3.9/site-packages/celery/worker/loops.py", line 83, in asynloop
next(loop)
File "/usr/local/lib/python3.9/site-packages/kombu/asynchronous/hub.py", line 364, in create_loop
cb(*cbargs)
File "/usr/local/lib/python3.9/site-packages/kombu/transport/base.py", line 238, in on_readable
reader(loop)
File "/usr/local/lib/python3.9/site-packages/kombu/transport/base.py", line 220, in _read
drain_events(timeout=0)
File "/usr/local/lib/python3.9/site-packages/amqp/connection.py", line 508, in drain_events
while not self.blocking_read(timeout):
File "/usr/local/lib/python3.9/site-packages/amqp/connection.py", line 514, in blocking_read
return self.on_inbound_frame(frame)
File "/usr/local/lib/python3.9/site-packages/amqp/method_framing.py", line 55, in on_frame
callback(channel, method_sig, buf, None)
File "/usr/local/lib/python3.9/site-packages/amqp/connection.py", line 520, in on_inbound_method
return self.channels[channel_id].dispatch_method(
File "/usr/local/lib/python3.9/site-packages/amqp/abstract_channel.py", line 145, in dispatch_method
listener(*args)
File "/usr/local/lib/python3.9/site-packages/amqp/connection.py", line 650, in _on_close
raise error_for_code(reply_code, reply_text,
amqp.exceptions.ConnectionForced: (0, 0): (320) CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'
[2025-07-31 12:48:17,421: INFO/MainProcess] Connected to amqp://63a35e45-cb28-4eed-9c2c-af8072bf9d9c:**@www.codabench.org:5672/988f0756-7c60-40e6-9e6b-40d830125d83
[2025-07-31 12:48:17,638: INFO/MainProcess] mingle: searching for neighbors
[2025-07-31 12:48:18,990: INFO/MainProcess] mingle: all alone
Activity
johanneskruse commentedon Jul 26, 2025
This error also occurs when using "Rerun Submission" on previously successful submissions.
ihsaan-ullah commentedon Jul 28, 2025
Hi @johanneskruse
This was a temporary problem which is fixed now. You have to update your worker to use
cpu1.1tag instead oflatest.Let us know if this works for you.
Didayolo commentedon Jul 29, 2025
Indeed, please restart your worker on
codalab/competitions-v2-compute-worker:cpu1.1(orgpu1.1) to fix this problem.Soon we'll fix the
latesttag with #1946.johanneskruse commentedon Jul 30, 2025
Hi. Thanks for the prompt response.
I've tried changing it to
cpu1.1; however, a new issue seems to have occurred:ihsaan-ullah commentedon Jul 31, 2025
Can you try with a new submission and verify first that the zip is ok.
johanneskruse commentedon Jul 31, 2025
I'm now using the same compute worker that was used during the competition (AWS: t3.xlarge) and submitting our dummy submission, which was provided as an example. Getting the following error logs:
The
During handling of the above exception, another exception occurred:occurs a couple of times, before:johanneskruse commentedon Jul 31, 2025
For context. I'm running:
docker stop compute_worker docker rm compute_worker docker pull codalab/competitions-v2-compute-worker:cpu1.1 docker run \ -v /codabench:/codabench \ -v /var/run/docker.sock:/var/run/docker.sock \ -d \ --env-file .env \ --name compute_worker \ --restart unless-stopped \ --log-opt max-size=50m \ --log-opt max-file=3 \ codalab/competitions-v2-compute-worker:cpu1.1Didayolo commentedon Aug 1, 2025
@johanneskruse This issue was closed because of the merging of #1946.
But this probably won't fix your problem. It looks like a configuration related problem, for instance a network or SSL certificate problem.
Did something in particular change from when the competition was working fine?
johanneskruse commentedon Aug 3, 2025
It seems to be working now!
Didayolo commentedon Aug 5, 2025
Glad to hear that.