Start testing: Aug 23 05:50 CEST ---------------------------------------------------------- 2/2 Testing: facter smoke 2/2 Test: facter smoke Command: "/var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12_build/bin/facter" Directory: /var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12_build "facter smoke" start time: Aug 23 05:50 CEST Output: ---------------------------------------------------------- disks => { nvme0n1 => { model => "Amazon Elastic Block Store", size => "8.00 GiB", size_bytes => 8589934592 }, nvme1n1 => { model => "Amazon Elastic Block Store", size => "100.00 GiB", size_bytes => 107374182400 } } dmi => { bios => { release_date => "10/16/2017", vendor => "Amazon EC2", version => "1.0" }, board => { asset_tag => "i-01f507d0cd20034fa", manufacturer => "Amazon EC2" }, chassis => { asset_tag => "Amazon EC2", type => "Other" }, manufacturer => "Amazon EC2", product => { name => "m5.4xlarge" } } facterversion => 3.14.12 filesystems => ext2,ext3,ext4,squashfs,vfat fips_enabled => false identity => { gid => 250, group => "portage", privileged => false, uid => 250, user => "portage" } is_virtual => true kernel => Linux kernelmajversion => 5.4 kernelrelease => 5.4.0-1021-aws kernelversion => 5.4.0 load_averages => { 15m => 3, 1m => 10.89, 5m => 5.69 } memory => { system => { available => "59.33 GiB", available_bytes => 63703121920, capacity => "3.34%", total => "61.38 GiB", total_bytes => 65904599040, used => "2.05 GiB", used_bytes => 2201477120 } } mountpoints => { /dev => { available => "30.69 GiB", available_bytes => 32948088832, capacity => "0%", device => "devtmpfs", filesystem => "devtmpfs", options => [ "rw", "relatime", "size=32175868k", "nr_inodes=8043967", "mode=755" ], size => "30.69 GiB", size_bytes => 32948088832, used => "0 bytes", used_bytes => 0 }, /dev/pts => { available => "0 bytes", available_bytes => 0, capacity => "100%", device => "devpts", filesystem => "devpts", options => [ "rw", "nosuid", "noexec", "relatime", "gid=5", "mode=620", "ptmxmode=000" ], size => "0 bytes", size_bytes => 0, used => "0 bytes", used_bytes => 0 }, /dev/shm => { available => "30.68 GiB", available_bytes => 32946069504, capacity => "0.02%", device => "tmpfs", filesystem => "tmpfs", options => [ "rw", "nosuid", "nodev" ], size => "30.69 GiB", size_bytes => 32952299520, used => "5.94 MiB", used_bytes => 6230016 }, /usr/portage => { available => "34.19 GiB", available_bytes => 36707323904, capacity => "63.21%", device => "/dev/nvme1n1p1", filesystem => "ext4", options => [ "rw", "relatime" ], size => "97.93 GiB", size_bytes => 105150078976, used => "58.73 GiB", used_bytes => 63057375232 } } networking => { fqdn => "localhost", hostname => "localhost", interfaces => { lo => { bindings => [ { address => "127.0.0.1", netmask => "255.0.0.0", network => "127.0.0.0" }, { address => "10.0.0.1", netmask => "255.0.0.0", network => "10.0.0.0" } ], bindings6 => [ { address => "fd::1", netmask => "ff00::", network => "::" }, { address => "::1", netmask => "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", network => "::1" } ], ip => "10.0.0.1", ip6 => "fd::1", mtu => 65536, netmask => "255.0.0.0", netmask6 => "ff00::", network => "10.0.0.0", network6 => "::", scope6 => "global" } }, ip => "10.0.0.1", ip6 => "fd::1", mtu => 65536, netmask => "255.0.0.0", netmask6 => "ff00::", network => "10.0.0.0", network6 => "::", primary => "lo", scope6 => "global" } os => { architecture => "amd64", family => "Gentoo", hardware => "x86_64", name => "Gentoo", release => { full => "2.7", major => "2", minor => "7" }, selinux => { enabled => false } } partitions => { /dev/loop0 => { backing_file => "/var/lib/snapd/snaps/amazon-ssm-agent_1566.snap", size => "17.98 MiB", size_bytes => 18857984 }, /dev/loop1 => { backing_file => "/var/lib/snapd/snaps/amazon-ssm-agent_2012.snap", size => "28.09 MiB", size_bytes => 29454336 }, /dev/loop2 => { backing_file => "/var/lib/snapd/snaps/core_9665.snap", size => "96.98 MiB", size_bytes => 101695488 }, /dev/loop3 => { backing_file => "/var/lib/snapd/snaps/core18_1885.snap", size => "55.32 MiB", size_bytes => 58007552 }, /dev/loop4 => { backing_file => "/var/lib/snapd/snaps/core_9804.snap", size => "96.63 MiB", size_bytes => 101318656 }, /dev/loop5 => { backing_file => "/var/lib/snapd/snaps/lxd_16926.snap", size => "70.60 MiB", size_bytes => 74031104 }, /dev/loop7 => { backing_file => "/var/lib/snapd/snaps/core18_1880.snap", size => "54.96 MiB", size_bytes => 57626624 }, /dev/loop8 => { backing_file => "/var/lib/snapd/snaps/lxd_16889.snap", size => "70.59 MiB", size_bytes => 74022912 }, /dev/nvme0n1p1 => { size => "8.00 GiB", size_bytes => 8588869120 }, /dev/nvme1n1p1 => { mount => "/usr/portage", size => "100.00 GiB", size_bytes => 107372085248 } } path => /usr/lib/portage/python3.7/ebuild-helpers/xattr:/usr/lib/portage/python3.7/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin processors => { count => 16, isa => "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", models => [ "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz", "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz" ], physicalcount => 1 } ruby => { platform => "x86_64-linux", sitedir => "/usr/lib64/ruby/site_ruby/2.5.0", version => "2.5.8" } system_uptime => { days => 10, hours => 252, seconds => 908811, uptime => "10 days" } timezone => CEST virtual => kvm Test time = 0.10 sec ---------------------------------------------------------- Test Passed. "facter smoke" end time: Aug 23 05:50 CEST "facter smoke" time elapsed: 00:00:00 ---------------------------------------------------------- 1/2 Testing: libfacter tests 1/2 Test: libfacter tests Command: "/var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12_build/bin/libfacter_test" Directory: /var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12_build "libfacter tests" start time: Aug 23 05:50 CEST Output: ---------------------------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libfacter_test is a Catch v1.10.0 host application. Run with -? for options ------------------------------------------------------------------------------- Scenario: using a double fact value When: serialized to YAML Then: it should have the same value ------------------------------------------------------------------------------- /var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12/lib/tests/facts/double_value.cc:27 ............................................................................... /var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12/lib/tests/facts/double_value.cc:30: FAILED: REQUIRE( string(emitter.c_str()) == "42.4242" ) with expansion: "42.424199999999999" == "42.4242" ------------------------------------------------------------------------------- Scenario: using the filesystem resolver When: populating facts Then: non-tmpfs mounts should exist ------------------------------------------------------------------------------- /var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12/lib/tests/facts/linux/filesystem_resolver.cc:37 ............................................................................... /var/tmp/portage/dev-ruby/facter-3.14.12/work/facter-3.14.12/lib/tests/facts/linux/filesystem_resolver.cc:38: FAILED: REQUIRE( facts.query("mountpoints./") ) with expansion: NULL =============================================================================== test cases: 73 | 71 passed | 2 failed assertions: 10614 | 10612 passed | 2 failed Test time = 1.49 sec ---------------------------------------------------------- Test Failed. "libfacter tests" end time: Aug 23 05:50 CEST "libfacter tests" time elapsed: 00:00:01 ---------------------------------------------------------- End testing: Aug 23 05:50 CEST