Mailinglist Archive: opensuse-buildservice (273 mails)

< Previous Next >
[opensuse-buildservice] OBS on 11,1
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Mon, 26 Jan 2009 09:13:29 +0100
  • Message-id: <497D7EB9020000290000DF14@xxxxxxxxxxxxxxxxxxx>
In the weekend we (mainly ScriptRipper, }-Tux-{ and me) were busy making the
'first' install of an OBS-Server running on OSS 11.1. Signing works
(created bnc #469229).

Whereas we discovered some 'issues' that we could identify and solve, we
believed by the end everything looks fine.
It almost does: OBS is running and is correctly building packages.

But now I ran into an issue: (again.. next one to come)
- I can't check in new files anymore.

As soon as I issue a osc ci -m "blabla"
I get the following lines in production_slave.log (/srv/www/obs/frontend/log):

--- start log ---
Processing SourceController#index_package (for ::ffff:127.0.42.2 at 2009-01-26
08:53:37) [GET]
Parameters: {"action"=>"index_package", "project"=>"VideoLAN",
"package"=>"ffmpeg", "controller"=>"source"}
SQL (0.000460) SET SQL_AUTO_IS_NULL=0
AUTH: Basic<And here would be my password... base64.. so OK>
SQL (0.005579) SHOW TABLES
User Columns (0.018492) SHOW FIELDS FROM `users`
User Load (0.021333) SELECT * FROM `users` WHERE (login = '<UserName>')
LIMIT 1
USER found: <UserName>
User <UserName> initialised
User's source backend <:>
SQL (0.001270) SHOW TABLES
DbPackage Columns (0.013361) SHOW FIELDS FROM `db_packages`
DbPackage Load (0.001772) SELECT pack.*
FROM db_packages pack
LEFT OUTER JOIN db_projects pro ON pack.db_project_id = pro.id
WHERE pro.name = BINARY 'VideoLAN' AND pack.name = BINARY 'ffmpeg'

[backend] GET: /source/VideoLAN/ffmpeg?
Sending data
Completed in 0.23076 (4 reqs/sec) | Rendering: 0.00023 (0%) | DB: 0.06227 (26%)
| 200 OK [http://127.0.42.2/source/VideoLAN/ffmpeg]


Processing SourceController#file (for ::ffff:127.0.42.2 at 2009-01-26 08:53:38)
[PUT]
Parameters: {"rev"=>"upload", "action"=>"file", "project"=>"VideoLAN",
"package"=>"ffmpeg", "controller"=>"source",
"file"=>"ffmpeg-0.4.9.tar.bz2"}
checking schema map for controller 'source', action 'file'
schema_file:
schema path not set, skipping validation
AUTH:
no authentication string was sent
Rendering status
errorcode 'unknown' - Authentication required
Rendering status (401)
Completed in 0.04921 (20 reqs/sec) | Rendering: 0.00220 (4%) | DB: 0.00000 (0%)
| 401 Unauthorized
[http://127.0.42.2/source/VideoLAN/ffmpeg/ffmpeg-0.4.9.tar.bz2?rev=upload]
--- end log ---

So action file seems actually not to work here!

First I thought it might be because I patched out the check to run only on
rails 2.0.2 (OSS is shipped with 2.1), so that check back in, replacing
rails 2.1 with 2.0.2 (is provided in the openSUSE:Tools:Devel project, where I
have the entire obs from).

But the output above actually was created finally with rails 2.0.2, the check
not patched out... so rails is not to blame here.

What cought my eye is the line "schema path not set, skipping validation"...
why is there no schema file if that's needed for auth? (but then: I
really have no clue of the code, so this might just be a wrong info in the log
file).

osc gives the following output (just to make it complete here)
--- start log osc ---
Transmitting file data .Traceback (most recent call last):
File "/usr/bin/osc", line 12, in <module>
r = babysitter.run(osccli)
File "/usr/lib64/python2.6/site-packages/osc/babysitter.py", line 40, in run
return prg.main()
File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 256, in main
return self.cmd(args)
File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 279, in cmd
retval = self.onecmd(argv)
File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 395, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib64/python2.6/site-packages/osc/cmdln.py", line 1070, in
_dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib64/python2.6/site-packages/osc/commandline.py", line 1350, in
do_commit
p.commit(msg)
File "/usr/lib64/python2.6/site-packages/osc/core.py", line 751, in commit
self.put_source_file(filename)
File "/usr/lib64/python2.6/site-packages/osc/core.py", line 705, in
put_source_file
http_PUT(u, file = os.path.join(self.dir, n))
File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1495, in http_PUT
def http_PUT(*args, **kwargs): return http_request('PUT', *args,
**kwargs)
File "/usr/lib64/python2.6/site-packages/osc/core.py", line 1479, in
http_request
fd = urllib2.urlopen(req, data=data)
File "/usr/lib64/python2.6/urllib2.py", line 124, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.6/urllib2.py", line 395, in open
response = meth(req, response)
File "/usr/lib64/python2.6/urllib2.py", line 508, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.6/urllib2.py", line 427, in error
result = self._call_chain(*args)
File "/usr/lib64/python2.6/urllib2.py", line 367, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 847, in http_error_401
url, req, headers)
File "/usr/lib64/python2.6/urllib2.py", line 825, in http_error_auth_reqed
return self.retry_http_basic_auth(host, req, realm)
File "/usr/lib64/python2.6/urllib2.py", line 835, in retry_http_basic_auth
return self.parent.open(req)
File "/usr/lib64/python2.6/urllib2.py", line 389, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/urllib2.py", line 407, in _open
'_open', req)
File "/usr/lib64/python2.6/urllib2.py", line 367, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 1139, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.6/urllib2.py", line 1112, in do_open
r = h.getresponse()
File "/usr/lib64/python2.6/httplib.py", line 970, in getresponse
response.begin()
File "/usr/lib64/python2.6/httplib.py", line 390, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.6/httplib.py", line 354, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine
--- end log osc ---

And now: thank you for reading such a loooong mail :) Now I'm looking forward
for your tips on how to solve this one.
I'm sure when we're all done and all issues are resolved, installation of OBS
on 11.1 will be a breaze.

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups