On 02/05/2018 18.59, Paride Legovini wrote:
> I'm trying to run reprotest on a i386 sbuild chroot from an amd64
> system.
The fact that I'm trying to build for a different arch is actually not
relevant: I'm getting the "Terminated" signal even when building for
amd64. Now I'm on a slower Internet connection, and reprotest dies while
downloading the build dependencies. The termination seems to be
independent from what is actually being done in the chroot; in fact it
seems to always happen about two minutes after reprotest is started.

The output showing the problem is attached.

Paride
Get:64 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 gettext 
amd64 0.19.8.1-6 [1302 kB]                                                  
[2/5399]
Get:65 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 
intltool-debian all 0.35.0+20060710.4 [26.3 kB]                                 
            
Get:66 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 po-debconf 
all 1.0.20 [247 kB]                                                             
 
37% [66 po-debconf 2325 B/247 kB 1%]                                            
                                                             392 kB/s 2min 
12s$: Caught signal ‘Terminated’: terminating immediately
Get:67 http://cdn-fastly.deb.debian.org/debian unstable/main amd64 debhelper 
all 11.2.1 [1013 kB]                                                            
 
37% [67 debhelper 801 B/1013 kB 0%]                                             
                                                             392 kB/s 2min 
11s$raceback (most recent call last):
  File "/usr/lib/python3/dist-packages/reprotest/lib/adt_testbed.py", line 461, 
in execute                                                                    
    (out, err) = proc.communicate()
  File "/usr/lib/python3.6/subprocess.py", line 835, in communicate
    self.wait()
  File "/usr/lib/python3.6/subprocess.py", line 1457, in wait
    (pid, sts) = self._try_wait(0)
  File "/usr/lib/python3.6/subprocess.py", line 1404, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
  File "/usr/lib/python3/dist-packages/reprotest/lib/VirtSubproc.py", line 64, 
in alarm_handler                                                               
    raise Timeout()
reprotest.lib.VirtSubproc.Timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 831, in run
    return 0 if check_func(*check_args) else 1
  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 394, in 
check_auto                                                                      
  
    dist_x0 = proc.send(("control", var_x0))
  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 329, in 
corun_builds                                                                    
  
    bctx.run_build(testbed, build, os.environ, artifact_pattern, 
testbed_build_pre, no_clean_on_error)                                           
             
  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 200, in 
run_build                                                                       
  
    (self.testbed_src, artifact_pattern, testbed_build_pre or "true")])
  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 61, in 
check_exec2                                                                     
   
    xenv=xenv, kind=kind)
  File "/usr/lib/python3/dist-packages/reprotest/lib/adt_testbed.py", line 480, 
in execute                                                                    
    self.bomb(msg)
  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 70, in bomb
    raise _type(m)
reprotest.lib.adtlog.TestbedFailure: timed out on command "sh -ec cd 
"/tmp/reprotest.jYLvAo/build-control/" && rm -rf ./*.deb && apt-get -y 
--no-install-recom$ends build-dep ./"flif_0.3-1.dsc"" (kind: short)

Reply via email to