Hi Gregor,
Thank you very much for this report. I'm not doing anything fancy with the CPUs and I wouldn't expect the TSX extensions to be a problem. One thing I suspect is a bug around how the number 2**64 is represented in the Perl module. That may not be the most likely cause of this issue, but it is the easiest thing to check. Can you tell me if you have tested this module successfully on any systems without TSX extensions that had exactly 64 cpus? More than 64 cpus?
Thanks,
Marty O'Brien
On Sat Nov 12 15:32:55 2016, GREGOA wrote:
Show quoted text> We have the following bug reported to the Debian package of
> Sys-CpuAffinity (
https://bugs.debian.org/844141):
>
> Please note the remark about a CPU with TSX extensions at the bottom.
>
> It doesn't seem to be a bug in the packaging, so you may want to take
> a look. Thanks!
>
> ------8<-----------8<-----------8<-----------8<-----------8<-----
>
> Source: libsys-cpuaffinity-perl
> Version: 1.10-1
> Severity: serious
> Tags: stretch sid
> User: debian-qa@lists.debian.org
> Usertags: qa-ftbfs-20161111 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on
> amd64.
>
> Relevant part (hopefully):
> >
...
Show quoted text> > # Failed test 'bind to all processors successful
> > 18446744073709551615 == 18446744073709551616-1'
> > # at t/10-exercise.t line 53.
> >
> > # Failed test 'setAffinity(-1) binds to all processors'
> > # at t/10-exercise.t line 83.
> > result: -1 3 ESRCH
> > result: -1 3 ESRCH
> > Sys::CpuAffinity: invalid mask 0 in call to setAffinty
> > at t/10-exercise.t line 94.
> > Sys::CpuAffinity: mask 18446744073709551616 is not valid for system
> > with 64 processors.
> > at t/10-exercise.t line 95.
> > # Looks like you failed 2 tests of 14.
> > t/10-exercise.t ......
> > 1..14
...
Show quoted text>
> This failure happens on a CPU with TSX extensions available, but is
> not
> reproducible on a machine without them. For context, I recommend
> reading the
> thread starting at
https://lists.debian.org/debian-
> devel/2016/11/msg00210.html
>
> The node used is an Amazon EC2 VM with 64 cores. /proc/cpuinfo says:
> model : 79
> model name : Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
> stepping : 1
>
> A list of current common problems and possible solutions is available
> at
>
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to
> contribute!
>
> About the archive rebuild: The rebuild was done on EC2 VM instances
> from
> Amazon Web Services, using a clean, minimal and up-to-date chroot.
> Every
> failed build was retried once to eliminate random failures.
>
> ------8<-----------8<-----------8<-----------8<-----------8<-----
>
>
> Thanks for considering,
> gregor herrmann,
> Debian Perl Group