Mailinglist Archive: opensuse-bugs (4883 mails)

< Previous Next >
[Bug 656281] New: some source files are damaged after checkout
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 29 Nov 2010 14:53:10 +0000
  • Message-id: <bug-656281-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

https://bugzilla.novell.com/show_bug.cgi?id=656281

https://bugzilla.novell.com/show_bug.cgi?id=656281#c0


Summary: some source files are damaged after checkout
Classification: Internal Novell Products
Product: openSUSE Build Service
Version: 2.0
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Critical
Priority: P5 - None
Component: osc
AssignedTo: adrian@xxxxxxxxxx
ReportedBy: lpechacek@xxxxxxxxxx
QAContact: adrian@xxxxxxxxxx
CC: mcihar@xxxxxxxxxx, ptesarik@xxxxxxxxxx,
mvancura@xxxxxxxxxx, dsterba@xxxxxxxxxx,
mhocko@xxxxxxxxxx
Found By: L3
Blocker: ---


Some source files have zero size after checkout from internal build service.
The occurrence of this error is random.

You can reproduce with:
for i in $(seq 1 25)
do echo $i------------------
osc -HA https://api.suse.de co -r1 PTF:2282 kernel-source
echo $?
mv -v PTF:2282 PTF:2282-$i
done

and then find zero-sized files with:
find PTF\:2282* -exec test -f {} -a \! -s {} \; -print

The osc -H debug log shows the following in the failure case
GET
https://api.suse.de/source/PTF:2282/kernel-source/linux-2.6.32.tar.bz2?rev=df97383ac5ca6710d7a881a9c42c7f23
send: 'GET
https://api.suse.de/source/PTF:2282/kernel-source/linux-2.6.32.tar.bz2?rev=df97383ac5ca6710d7a881a9c42c7f23
HTTP/1.1\r\nAccept-Encoding: identity\r\
nHost: api.suse.de\r\nCookie: IPCZQX018ef15359=000038016720c83f0e19f601;
ZNPCQ002-apide=V001ec3960db\r\nConnection: close\r\nUser-agent:
osc/0.125.5\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Opensuse-Apiversion: 2.1.0
header: Content-Transfer-Encoding: binary
header: X-Runtime: 4424
header: Content-Disposition: attachment
header: Cache-Control: private
header: Date: Mon, 29 Nov 2010 14:23:49 GMT
header: Server: lighttpd/1.5.0
header: Content-Type: application/octet-stream
header: Connection: close
header: Content-Length:
header: Via: 1.1 ICS_SERVER (iChain 2.3.419)
A PTF:2282/kernel-source/linux-2.6.32.tar.bz2

Please note the missing numeric value in the Content-Length field. Osc exit
code is zero in the failure case, making the breakage mostly silent. Frequency
of the above breakage is 1-5 times per test run.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >