[csw-maintainers] Issue with csw-upload-pkg

Dagobert Michelsen dam at opencsw.org
Wed Jan 2 00:14:43 CET 2013


Hi folks,

I updated some packages today and when I tried to upload the last batch
I got the following error:

> dam at login [login]:/home/dam/staging/build-01.Jan.2013 > ls -la
> Gesamt 86446
> drwxr-xr-x   2 dam      csw           20 Jan  2 00:09 .
> drwxr-xr-x  86 dam      csw           86 Jan  1 18:12 ..
> -rw-r--r--   1 dam      csw      1009928 Jan  2 00:05 libicu_dev-50.1.1,REV=2013.01.01-SunOS5.10-i386-CSW.pkg.gz
> -rw-r--r--   1 dam      csw      1023677 Jan  1 23:01 libicu_dev-50.1.1,REV=2013.01.01-SunOS5.10-sparc-CSW.pkg.gz
> -rw-r--r--   1 dam      csw      16727883 Jan  2 00:05 libicudata50-50.1.1,REV=2013.01.01-SunOS5.10-i386-CSW.pkg.gz
> -rw-r--r--   1 dam      csw      17048399 Jan  1 23:01 libicudata50-50.1.1,REV=2013.01.01-SunOS5.10-sparc-CSW.pkg.gz
> -rw-r--r--   1 dam      csw      1982427 Jan  2 00:05 libicui18n50-50.1.1,REV=2013.01.01-SunOS5.10-i386-CSW.pkg.gz
> -rw-r--r--   1 dam      csw      2131179 Jan  1 23:01 libicui18n50-50.1.1,REV=2013.01.01-SunOS5.10-sparc-CSW.pkg.gz
> -rw-r--r--   1 dam      csw        57344 Jan  2 00:05 libicuio50-50.1.1,REV=2013.01.01-SunOS5.10-i386-CSW.pkg.gz
> -rw-r--r--   1 dam      csw        59727 Jan  1 23:02 libicuio50-50.1.1,REV=2013.01.01-SunOS5.10-sparc-CSW.pkg.gz
> -rw-r--r--   1 dam      csw       246501 Jan  2 00:05 libicule50-50.1.1,REV=2013.01.01-SunOS5.10-i386-CSW.pkg.gz
> -rw-r--r--   1 dam      csw       251937 Jan  1 23:02 libicule50-50.1.1,REV=2013.01.01-SunOS5.10-sparc-CSW.pkg.gz
> -rw-r--r--   1 dam      csw        54018 Jan  2 00:05 libiculx50-50.1.1,REV=2013.01.01-SunOS5.10-i386-CSW.pkg.gz
> -rw-r--r--   1 dam      csw        54123 Jan  1 23:02 libiculx50-50.1.1,REV=2013.01.01-SunOS5.10-sparc-CSW.pkg.gz
> -rw-r--r--   1 dam      csw        68756 Jan  2 00:06 libicutest50-50.1.1,REV=2013.01.01-SunOS5.10-i386-CSW.pkg.gz
> -rw-r--r--   1 dam      csw        67703 Jan  1 23:02 libicutest50-50.1.1,REV=2013.01.01-SunOS5.10-sparc-CSW.pkg.gz
> -rw-r--r--   1 dam      csw       180706 Jan  2 00:06 libicutu50-50.1.1,REV=2013.01.01-SunOS5.10-i386-CSW.pkg.gz
> -rw-r--r--   1 dam      csw       181053 Jan  1 23:02 libicutu50-50.1.1,REV=2013.01.01-SunOS5.10-sparc-CSW.pkg.gz
> -rw-r--r--   1 dam      csw      1366266 Jan  2 00:06 libicuuc50-50.1.1,REV=2013.01.01-SunOS5.10-i386-CSW.pkg.gz
> -rw-r--r--   1 dam      csw      1538088 Jan  1 23:02 libicuuc50-50.1.1,REV=2013.01.01-SunOS5.10-sparc-CSW.pkg.gz
> dam at login [login]:/home/dam/staging/build-01.Jan.2013 > csw-upload-pkg *
> Processing 18 file(s). Please wait.
> Traceback (most recent call last):
>   File "/home/dam/bin/csw-upload-pkg", line 513, in <module>
>     uploader.Upload()
>   File "/home/dam/bin/csw-upload-pkg", line 175, in Upload
>     filename, self.catrel, arch, osrel, md5_sum)
>   File "/home/dam/bin/csw-upload-pkg", line 244, in _MatchSrv4ToCatalogs
>     catrel, arch, osrel, catalogname)
>   File "/home/dam/mgar/gar/v2/lib/python/rest.py", line 105, in Srv4ByCatalogAndCatalogname
>     data = urllib2.urlopen(url).read()
>   File "/opt/csw/lib/python/urllib2.py", line 126, in urlopen
>     return _opener.open(url, data, timeout)
>   File "/opt/csw/lib/python/urllib2.py", line 397, in open
>     response = meth(req, response)
>   File "/opt/csw/lib/python/urllib2.py", line 510, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "/opt/csw/lib/python/urllib2.py", line 435, in error
>     return self._call_chain(*args)
>   File "/opt/csw/lib/python/urllib2.py", line 369, in _call_chain
>     result = func(*args)
>   File "/opt/csw/lib/python/urllib2.py", line 518, in http_error_default
>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> urllib2.HTTPError: HTTP Error 404: Not Found
> zsh: 28186 exit 1     csw-upload-pkg *
> dam at login [login]:/home/dam/staging/build-01.Jan.2013 > 

I find it really strange that a 404 is thrown, although I uploaded other
packages fine a couple of seconds ago. This is in buildfarm.opencsw.org-access_log:

> 213.178.77.178 - - [02/Jan/2013:00:12:58 +0100] "GET /pkgdb/rest/srv4/a8e22e75d4336b0f088619b458ed2f4e/ HTTP/1.1" 200 708
> 213.178.77.178 - - [02/Jan/2013:00:12:58 +0100] "GET /releases/srv4/a8e22e75d4336b0f088619b458ed2f4e/ HTTP/1.1" 401 401
> 213.178.77.178 - dam [02/Jan/2013:00:12:58 +0100] "GET /releases/srv4/a8e22e75d4336b0f088619b458ed2f4e/ HTTP/1.1" 200 270
> 213.178.77.178 - - [02/Jan/2013:00:12:59 +0100] "GET /pkgdb/rest/catalogs/unstable/i386/SunOS5.10/catalognames/libicu_dev/ HTTP/1.1" 200 704
> 213.178.77.178 - - [02/Jan/2013:00:12:59 +0100] "GET /pkgdb/rest/catalogs/unstable/i386/SunOS5.11/catalognames/libicu_dev/ HTTP/1.1" 200 704
> 213.178.77.178 - - [02/Jan/2013:00:13:00 +0100] "GET /pkgdb/rest/srv4/ac9958340e110bcd3fea87467703c1d3/ HTTP/1.1" 200 712
> 213.178.77.178 - - [02/Jan/2013:00:13:00 +0100] "GET /releases/srv4/ac9958340e110bcd3fea87467703c1d3/ HTTP/1.1" 401 401
> 213.178.77.178 - dam [02/Jan/2013:00:13:00 +0100] "GET /releases/srv4/ac9958340e110bcd3fea87467703c1d3/ HTTP/1.1" 200 272
> 213.178.77.178 - - [02/Jan/2013:00:13:00 +0100] "GET /pkgdb/rest/catalogs/unstable/sparc/SunOS5.10/catalognames/libicu_dev/ HTTP/1.1" 200 708
> 213.178.77.178 - - [02/Jan/2013:00:13:01 +0100] "GET /pkgdb/rest/catalogs/unstable/sparc/SunOS5.11/catalognames/libicu_dev/ HTTP/1.1" 200 708
> 213.178.77.178 - - [02/Jan/2013:00:13:02 +0100] "GET /pkgdb/rest/srv4/790f8f04e74fbca37e1d9eb581f34a45/ HTTP/1.1" 200 717
> 213.178.77.178 - - [02/Jan/2013:00:13:02 +0100] "GET /releases/srv4/790f8f04e74fbca37e1d9eb581f34a45/ HTTP/1.1" 401 401
> 213.178.77.178 - dam [02/Jan/2013:00:13:02 +0100] "GET /releases/srv4/790f8f04e74fbca37e1d9eb581f34a45/ HTTP/1.1" 200 276
> 213.178.77.178 - - [02/Jan/2013:00:13:02 +0100] "GET /pkgdb/rest/catalogs/unstable/i386/SunOS5.10/catalognames/libicudata50/ HTTP/1.1" 404 9

So it tries to look up the package which is not there, because libicudata50 is a new
catalogname not in the catalog yet. Maciej, do you have an idea?


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list