Source: datalad
Version: 0.12.6-1
Severity: serious
Justification: FTBFS (when it built before)

During archive-wide test rebuilding of an IPv6-only environment (which
appears on some normal buildds)[1] we noticed that this package fails:

ERROR: datalad.interface.tests.test_add_archive_content.test_add_archive_content
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/tests/utils.py", 
line 1200, in newfunc
    raise exc_info[1]
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/tests/utils.py", 
line 1172, in newfunc
    ret = func(*args, **kwargs)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/tests/utils.py", 
line 559, in newfunc
    return t(*(arg + (d,)), **kw)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/tests/utils.py", 
line 671, in newfunc
    return tfunc(*(args + (path, url)), **kwargs)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/tests/utils.py", 
line 732, in newfunc
    return t(*(arg + (filename,)), **kw)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/interface/tests/test_add_archive_content.py",
 line 186, in test_add_archive_content
    repo.add_urls([opj(url, '1.tar.gz')], options=["--pathdepth", "-1"])
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/support/annexrepo.py",
 line 1967, in add_urls
    self._run_annex_command('addurl', annex_options=options + urls,
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/support/annexrepo.py",
 line 1003, in _run_annex_command
    return self._run_command_files_split(
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/support/gitrepo.py",
 line 1930, in _run_command_files_split
    out_, err_ = func(
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/cmd.py", 
line 718, in run
    out, err = super(GitRunner, self).run(
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_datalad/build/datalad/cmd.py", 
line 544, in run
    raise CommandError(str(cmd), msg, status, out[0], out[1])
datalad.support.exceptions.CommandError: CommandError: command '['git-annex', 
'addurl', '-c', 'annex.dotfiles=true', '--pathdepth', '-1', 
'http://127.0.0.1:36559/1.tar.gz']' failed with exitcode 1
Failed to run ['git-annex', 'addurl', '-c', 'annex.dotfiles=true', 
'--pathdepth', '-1', 'http://127.0.0.1:36559/1.tar.gz'] under 
'/tmp/datalad_temp_test_add_archive_content59pn23bs'. Exit code=1.

The full log is available at 
http://perl.debian.net/rebuild-logs/sid-v6only/datalad_0.12.6-1/datalad_0.12.6-1_amd64-2020-06-28T06:56:47Z.build

One way to replicate this environment is like so:

  # unshare -n
  # ip li set lo up
  # ip li add dummy0 type dummy
  # ip li set dummy0 up

Cheers
Dominic

[1] this test showed approximately 100 packages in the archive failing,
but nearly all of them were due to the behaviour of libio-socket-ip-perl,
so will be fixed centrally. I'm filing bugs about the small number of
unrelated cases.

Reply via email to