[Bug 283812] sys/geom/class/eli/attach_test:attach_multiple_fails broken in FBSD 14.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Jan 2025 07:01:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283812

            Bug ID: 283812
           Summary: sys/geom/class/eli/attach_test:attach_multiple_fails
                    broken in FBSD 14.1
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: tests
          Assignee: testing@FreeBSD.org
          Reporter: hareshx.sankar.raj@intel.com

One of the kyua test in sys/kern/ktls_test attach_test:attach_multiple_fails
broken in FBSD 14.1

The test is not present in previous OS version and also no present in the FBSD
15 latest.

Is the attach_multiple_fails obsolete and error expected in FreeBSD 14.1?
Do we know why is this test not included in latest versions?

Steps to reproduce:
1. pkg install kyua
2. sysctl kern.ipc.tls.enable=1
3. cd /usr/tests
4. kyua test sys/kern/ktls_test

Test log:

kyua test sys/geom/class/eli
sys/geom/class/eli/attach_test:attach_d  ->  passed  [2.187s]
sys/geom/class/eli/attach_test:attach_multiple  ->  passed  [0.102s]
sys/geom/class/eli/attach_test:attach_multiple_fails  ->  broken: Premature
exit; test case exited with code 1  [0.010s]
sys/geom/class/eli/attach_test:attach_r  ->  passed  [0.049s]
sys/geom/class/eli/attach_test:nokey  ->  passed  [0.027s]
sys/geom/class/eli/configure_test:configure_b_B  ->  passed  [0.123s]
sys/geom/class/eli/delkey_test:delkey  ->  passed  [0.184s]
sys/geom/class/eli/delkey_test:delkey_readonly  ->  passed  [0.050s]
sys/geom/class/eli/detach_test:detach_l  ->  passed  [2.194s]
sys/geom/class/eli/init_test:init  ->  passed  [1.896s]
sys/geom/class/eli/init_test:init_B  ->  passed  [0.119s]
sys/geom/class/eli/init_test:init_J  ->  passed  [76.325s]
sys/geom/class/eli/init_test:init_a  ->  passed  [65.335s]
sys/geom/class/eli/init_test:init_alias  ->  passed  [0.312s]
sys/geom/class/eli/init_test:init_i_P  ->  passed  [0.020s]
sys/geom/class/eli/init_test:nokey  ->  passed  [0.017s]
sys/geom/class/eli/integrity_test:copy  ->  passed  [79.068s]
sys/geom/class/eli/integrity_test:data  ->  passed  [35.097s]
sys/geom/class/eli/integrity_test:hmac  ->  passed  [35.165s]
sys/geom/class/eli/kill_test:kill  ->  passed  [1.234s]
sys/geom/class/eli/kill_test:kill_readonly  ->  passed  [0.083s]
sys/geom/class/eli/misc_test:physpath  ->  passed  [0.084s]
sys/geom/class/eli/misc_test:preserve_disk_props  ->  skipped: Required
configuration property 'disks' not defined  [0.001s]
sys/geom/class/eli/misc_test:preserve_props  ->  passed  [0.036s]
sys/geom/class/eli/misc_test:unaligned_io  ->  passed  [2.465s]
sys/geom/class/eli/onetime_test:onetime  ->  passed  [1.997s]
sys/geom/class/eli/onetime_test:onetime_a  ->  passed  [56.679s]
sys/geom/class/eli/onetime_test:onetime_d  ->  passed  [2.173s]
sys/geom/class/eli/onetime_test:onetime_null  ->  passed  [0.052s]
sys/geom/class/eli/online_resize_test:online_resize  ->  passed  [13.291s]
sys/geom/class/eli/pbkdf2_test:hmactest  ->  passed  [2.398s]
sys/geom/class/eli/reentrancy_test:init  ->  passed  [145.118s]
sys/geom/class/eli/resize_test:resize  ->  passed  [0.233s]
sys/geom/class/eli/setkey_test:nokey  ->  passed  [0.060s]
sys/geom/class/eli/setkey_test:setkey  ->  passed  [0.253s]
sys/geom/class/eli/setkey_test:setkey_passphrase  ->  passed  [22.677s]
sys/geom/class/eli/setkey_test:setkey_readonly  ->  passed  [0.048s]

Results file id is usr_tests.20241220-072320-723405
Results saved to /root/.kyua/store/results.usr_tests.20241220-072320-723405.db

36/37 passed (1 failed)

Kyua report:

kyua report --results-filter broken --results-file /usr/tests --verbose
===> Execution context
Current directory: /usr/tests
Environment variables:
    BLOCKSIZE=K
    ENV=/root/.shrc
    HOME=/root
    LANG=C.UTF-8
    LOGNAME=root
    MAIL=/var/mail/root
    MM_CHARSET=UTF-8
    OLDPWD=/root
    PAGER=less
    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
    PWD=/usr/tests
    SHELL=/bin/sh
    SSH_CLIENT=10.237.218.207 34342 22
    SSH_CONNECTION=10.237.218.207 34342 10.237.223.88 22
    SSH_TTY=/dev/pts/0
    TERM=xterm
    USER=root
===> sys/geom/class/eli/attach_test:attach_multiple_fails
Result:     broken: Premature exit; test case exited with code 1
Start time: 2024-12-20T07:23:23.141838Z
End time:   2024-12-20T07:23:23.151614Z
Duration:   0.010s

Metadata:
    allowed_architectures is empty
    allowed_platforms is empty
    description = test multiple failed attach of geli provider
    has_cleanup = false
    is_exclusive = false
    required_configs is empty
    required_disk_space = 0
    required_files is empty
    required_memory = 0
    required_programs is empty
    required_user = root
    timeout = 300

Standard error:
usage: mdconfig -a -t type [-n] [-o [no]option] ... [-f file]
                [-s size] [-S sectorsize] [-u unit] [-L label]
                [-x sectors/track] [-y heads/cylinder]
       mdconfig -d -u unit [-o [no]force]
       mdconfig -r -u unit -s size [-o [no]force]
       mdconfig -l [-v] [-n] [-f file] [-u unit]
       mdconfig file
                type = {malloc, vnode, swap}
                option = {cache, cluster, compress, force,
                          mustdealloc, readonly, reserve, ro,
                          verify}
                size = %d (512 byte blocks), %db (B),
                       %dk (kB), %dm (MB), %dg (GB),
                       %dt (TB), or %dp (PB)
===> Broken tests
sys/geom/class/eli/attach_test:attach_multiple_fails  ->  broken: Premature
exit; test case exited with code 1  [0.010s]
===> Summary
Results read from /root/.kyua/store/results.usr_tests.20241220-072320-723405.db
Test cases: 37 total, 1 skipped, 0 expected failures, 1 broken, 0 failed
Start time: 2024-12-20T07:23:20.796158Z
End time:   2024-12-20T07:32:28.953260Z
Total time: 547.161s

-- 
You are receiving this mail because:
You are the assignee for the bug.