Skip to contentSkip to conversation

autobuild-run update

Buildroot Thomas Petazzoni 2 participants 5 messages Jul 8, 2014 – Jul 11, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

I've pushed a few updates to the autobuild-run script:

autobuild-run: don't try to build XBMC
http://git.buildroot.net/buildroot-test/commit/?id=8a7fc81cd82ce408e6818ad64b8ab6aab83a30c4

autobuild-run: do not build lttng-tools with toolchains affected by PR58854
http://git.buildroot.net/buildroot-test/commit/?id=ec03a70a7428005219e23fd4c837ac80b3988a89

autobuild-run: do not build sdl with toolchains affected by PR60155
http://git.buildroot.net/buildroot-test/commit/?id=9336e1725e586cd6037e7f61d25dfd089f0d13e5

I've updated the script on the Free Electrons build server with those updates. However, while doing so, a few failed builds were generated and are visible in the http://autobuild.buildroot.org output. It looks like the autobuild-run script needs some improvements to handle clean termination of builds. Contributions welcome.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#1 lore raw
Quoted 10 lines · Thomas Petazzoni

Hello,

I've pushed a few updates to the autobuild-run script:

autobuild-run: don't try to build XBMC
http://git.buildroot.net/buildroot-test/commit/?id=8a7fc81cd82ce408e6818ad64b8ab6aab83a30c4

autobuild-run: do not build lttng-tools with toolchains affected by PR58854
http://git.buildroot.net/buildroot-test/commit/?id=ec03a70a7428005219e23fd4c837ac80b3988a89

Quoted 8 lines

autobuild-run: do not build sdl with toolchains affected by PR60155
http://git.buildroot.net/buildroot-test/commit/?id=9336e1725e586cd6037e7f61d25dfd089f0d13e5

I've updated the script on the Free Electrons build server with those updates. However, while doing so, a few failed builds were generated and are visible in the http://autobuild.buildroot.org output. It looks like the autobuild-run script needs some improvements to handle clean termination of builds. Contributions welcome.

Hi Thomas,
thanks for the great work.

I'm trying to use it on a Ubuntu 14.04 but it fails in few seconds with this error:

./autobuild-run --ninstances 2 --njobs 3
WARN: due to the lack of http login/password details, results will not be submitted
WARN: tarballs of results will be kept locally only
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap

    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "./autobuild-run", line 445, in run_instance
    ret = gen_config(instance, njobs, instance_log)
  File "./autobuild-run", line 269, in gen_config
    configs = get_toolchain_configs()
  File "./autobuild-run", line 125, in get_toolchain_configs
    r = urllib2.urlopen(config["url"])

File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap

    self.run()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "./autobuild-run", line 445, in run_instance
    ret = gen_config(instance, njobs, instance_log)
  File "./autobuild-run", line 269, in gen_config
    configs = get_toolchain_configs()
  File "./autobuild-run", line 125, in get_toolchain_configs
    r = urllib2.urlopen(config["url"])

File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

Do you have any idea on how to fix this?

Thanks & BR

Signature · 1 line
Fabio Porcedda
#2 lore raw

Dear Fabio Porcedda,

Quoted 4 lines · Fabio Porcedda

I'm trying to use it on a Ubuntu 14.04 but it fails in few seconds with this error:

./autobuild-run --ninstances 2 --njobs 3

[...]

Quoted 1 line

HTTPError: HTTP Error 404: Not Found

Aah, yes, my bad. I removed the AVR32 toolchain configuration file yesterday, but forgot to remove this toolchain from the csv file that describes all the available toolchain configurations.

This is now fixed, so the script should work again (and the Free Electrons build server should start again doing some builds).

Thanks for the report!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw
In reply to Fabio Porcedda

Dear Fabio Porcedda,

Quoted 4 lines · Fabio Porcedda

I'm trying to use it on a Ubuntu 14.04 but it fails in few seconds with this error:

./autobuild-run --ninstances 2 --njobs 3

[...]

Quoted 1 line

HTTPError: HTTP Error 404: Not Found

Aah, yes, my bad. I removed the AVR32 toolchain configuration file yesterday, but forgot to remove this toolchain from the csv file that describes all the available toolchain configurations.

This is now fixed, so the script should work again (and the Free Electrons build server should start again doing some builds).

Thanks for the report!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw
Quoted 11 lines · Thomas Petazzoni

Dear Fabio Porcedda,

Quoted 4 lines · Fabio Porcedda

I'm trying to use it on a Ubuntu 14.04 but it fails in few seconds with this error:

./autobuild-run --ninstances 2 --njobs 3

[...]

Quoted 8 lines
Quoted 1 line

HTTPError: HTTP Error 404: Not Found

Aah, yes, my bad. I removed the AVR32 toolchain configuration file yesterday, but forgot to remove this toolchain from the csv file that describes all the available toolchain configurations.

This is now fixed, so the script should work again (and the Free Electrons build server should start again doing some builds).

Great, thanks.

BR

Signature · 1 line
Fabio Porcedda