[Bug 1680577] Re: Autopkgtest fails on s390x due to long PATH in test config

Balint Reczey balint.reczey at canonical.com
Mon May 15 13:47:57 UTC 2017


> How would that impact running multiple different instances of
> autopkgtest locally given keeping the data after a run? Not having the
> name of the package for which a run seems to make things more confusing:
> you'd need to track which temporary directory was used for which run, or
> go dig in the debian/control file.

Yes, this would be a bit harder to tell which dir holds a given package,
but "grep Source: ...path.../*/debian/control" is not that complicated.

> Seems like the right location here for gains really is to shorten the
> test harness' directory; from say 'autopkgtest-virt-lxc' to just 'lxc'?
> The same logic appears to seemlessly apply to other harnesses; like
> qemu. We have the potential to gain as much as 17 characters here,
> without sacrificing in clarity of what things where used for in /tmp.

The maximal gain is much more, the package names and versions can get
really long:

 udd=> select max(length(source)) , max(length(source_version)) from packages; 
  max | max 
 -----+-----
   56 |  69
 (1 row)

I think it would be reasonable to cut from the test harness directory, too, but
xnox liked this approach better.

> Also, have you discussed this with upstream / directly with pitti?
>

I initiated the discussion in the Debian bug, but got little response so far.
Note that pitti is looking for help with the package:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846328


** Bug watch added: Debian Bug tracker #846328
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846328

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1680577

Title:
  Autopkgtest fails on s390x due to long PATH in test config

Status in autopkgtest package in Ubuntu:
  Confirmed
Status in autopkgtest package in Debian:
  New

Bug description:
  ...
  2017-03-29T08:40:18.627231Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
  2017-03-29T08:40:18.627257Z 0 [ERROR] The socket file path is too long (> 107): /data/adttmp/autopkgtest-virt-lxc.shared.y4ui3net/downtmp/build.R3s/libdbd-mysql-perl-4.041/t/testdb/mysql.sock
  2017-03-29T08:40:18.627267Z 0 [ERROR] Aborting

  2017-03-29T08:40:18.627278Z 0 [Note] Binlog end
  2017-03-29T08:40:18.627315Z 0 [Note] Shutting down plugin 'ngram'
  2017-03-29T08:40:18.627328Z 0 [Note] Shutting down plugin 'partition'
  2017-03-29T08:40:18.627337Z 0 [Note] Shutting down plugin 'BLACKHOLE'
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1680577/+subscriptions



More information about the foundations-bugs mailing list