Subject: | Test sysinfo.t failed on s390x |
The test sysinfo.t failed on architecture s390x with following error:
# Failed test 'no warnings'
# at /usr/share/perl5/vendor_perl/Test/Builder.pm line 135.
# There were 3 warning(s)
# Previous test 9 'buildvm-s390x-05.s390.fedoraproject.org'
# Argument "" isn't numeric in sprintf at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Linux.pm line 247.
# at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Linux.pm line 247.
# System::Info::Linux::linux_generic(System::Info::Linux=HASH(0x2aa46873f18)) called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Linux.pm line 34
# System::Info::Linux::prepare_sysinfo(System::Info::Linux=HASH(0x2aa46873f18)) called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Base.pm line 38
# System::Info::Base::new("System::Info::Linux") called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info.pm line 75
# System::Info::new("System::Info") called at t/sysinfo.t line 28
#
# ----------
# Previous test 15 'buildvm-s390x-05.s390.fedoraproject.org'
# Argument "" isn't numeric in sprintf at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Linux.pm line 247.
# at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Linux.pm line 247.
# System::Info::Linux::linux_generic(System::Info::Linux=HASH(0x2aa468824e0)) called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Linux.pm line 34
# System::Info::Linux::prepare_sysinfo(System::Info::Linux=HASH(0x2aa468824e0)) called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Base.pm line 38
# System::Info::Base::new("System::Info::Linux") called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info.pm line 75
# System::Info::new("System::Info") called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info.pm line 90
# System::Info::sysinfo() called at t/sysinfo.t line 43
#
# ----------
# Previous test 17 'sysinfo: buildvm-s390x-05.s390.fedoraproject.org linux - 4.10.8-200.fc25.s390x [Fedora 27 (Rawhide)] s390x'
# Argument "" isn't numeric in sprintf at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Linux.pm line 247.
# at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Linux.pm line 247.
# System::Info::Linux::linux_generic(System::Info::Linux=HASH(0x2aa46873f18)) called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Linux.pm line 34
# System::Info::Linux::prepare_sysinfo(System::Info::Linux=HASH(0x2aa46873f18)) called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info/Base.pm line 38
# System::Info::Base::new("System::Info::Linux") called at /builddir/build/BUILD/System-Info-0.055/blib/lib/System/Info.pm line 75
# System::Info::new("System::Info") called at t/sysinfo.t line 50
#
# Looks like you failed 1 test of 57.
t/sysinfo.t ........
Dubious, test returned 1 (wstat 256, 0x100)
The function 'Test::Smoke::SysInfo::Base::linux_generic()' does not work for getting information about s390x CPU.
More information about system where the test failed:
# uname -a
Linux buildvm-s390x-10.s390.fedoraproject.org 4.10.8-200.fc25.s390x #1 SMP Tue Apr 11 01:02:03 UTC 2017 s390x s390x s390x GNU/Linux
# cat /proc/cpuinfo
vendor_id : IBM/S390
# processors : 2
bogomips per cpu: 2913.00
max thread id : 0
features : esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te sie
cache0 : level=1 type=Data scope=Private size=96K line_size=256 associativity=6
cache1 : level=1 type=Instruction scope=Private size=64K line_size=256 associativity=4
cache2 : level=2 type=Data scope=Private size=1024K line_size=256 associativity=8
cache3 : level=2 type=Instruction scope=Private size=1024K line_size=256 associativity=8
cache4 : level=3 type=Unified scope=Shared size=49152K line_size=256 associativity=12
cache5 : level=4 type=Unified scope=Shared size=393216K line_size=256 associativity=24
processor 0: version = FF, identification = 35C047, machine = 2827
processor 1: version = FF, identification = 35C047, machine = 2827
cpu number : 0
cpu MHz dynamic : 5504
cpu MHz static : 5504
cpu number : 1
cpu MHz dynamic : 5504
cpu MHz static : 5504