Mailinglist Archive: opensuse-buildservice (95 mails)

< Previous Next >
[opensuse-buildservice] Buildinfo timeout issue on api.o.o
Hi,

when posting a "larger" file to the _buildinfo route on api.o.o
I get a strange timeout error:

marcus@linux:~> dd if=/dev/zero of=./foo bs=1 count=250K
256000+0 records in
256000+0 records out
256000 bytes (256 kB) copied, 0.444089 s, 576 kB/s
marcus@linux:~> curl -u Marcus_H -H "Content-Type: application/octet-stream" \
-X POST -T foo \
https://api.opensuse.org/build/openSUSE:Tools/FOO/BAR/_repository/_buildinfo
Enter host password for user 'Marcus_H':
<status code="timeout_error">
<summary>Timeout::Error</summary>
</status>
marcus@linux:~>

A "smaller" file works as expected:

marcus@linux:~> dd if=/dev/zero of=./foo bs=1 count=50K
51200+0 records in
51200+0 records out
51200 bytes (51 kB) copied, 0.0936674 s, 547 kB/s
marcus@linux:~> curl -u Marcus_H -H "Content-Type: application/octet-stream" \
-X POST -T foo \
https://api.opensuse.org/build/openSUSE:Tools/FOO/BAR/_repository/_buildinfo
Enter host password for user 'Marcus_H':
<status code="not_found">
<summary>&lt;status code="404"&gt;
&lt;summary&gt;project 'openSUSE:Tools' has no repository
'FOO'&lt;/summary&gt;
&lt;details&gt;404 project 'openSUSE:Tools' has no repository
'FOO'&lt;/details&gt;
&lt;/status&gt;
</summary>
</status>
marcus@linux:~>

I suspect there occurs an error when the api tries to contact the srcserver,
but the Timeout::Error hides the actual exception (see
Suse::Backend.put_or_post in lib/opensuse/backend.rb).
Currently, I'm not able to reproduce this with a local instance (using
git master).

Any ideas?


Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups