[Bug 220164] sys/geom/class/gate/ggate_test: geom_gate tests fail when /dev/ggctl is not available

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 20 17:58:39 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220164

            Bug ID: 220164
           Summary: sys/geom/class/gate/ggate_test: geom_gate tests fail
                    when /dev/ggctl is not available
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: freebsd-testing at freebsd.org
          Reporter: gjb at FreeBSD.org

The geom_gate tests do not properly check /dev/ggctl exists after attempting,
and failing, to load geom_gate(4).

Output from one of these tests:

===> sys/geom/class/gate/ggate_test:ggatel_file
Result:     failed: atf-check failed; see the output of the test for details
Start time: 2017-06-20T15:59:39.706844Z
End time:   2017-06-20T15:59:39.776547Z
Duration:   0.070s

Metadata:
    allowed_architectures is empty
    allowed_platforms is empty
    description = ggatel can proxy files
    has_cleanup = true
    is_exclusive = false
    required_configs is empty
    required_disk_space = 0
    required_files is empty
    required_memory = 0
    required_programs = ggatel
    required_user = root
    timeout = 15

Standard output:
Executing command [ ggatel create -u 0 work ]

Standard error:
1+0 records in
1+0 records out
1048576 bytes transferred in 0.007412 secs (141464819 bytes/sec)
1+0 records in
1+0 records out
1048576 bytes transferred in 0.008461 secs (123935133 bytes/sec)
Fail: incorrect exit status: 1, expected: 0
stdout:

stderr:
ggatel: geom_gate module not available!

Files left in work directory after failure: ggate.devs, plainfiles, src, work
ggatec: open(/dev/ggctl): No such file or directory
===> Failed tests
sys/geom/class/gate/ggate_test:ggatel_file  ->  failed: atf-check failed; see
the output of the test for details  [0.070s]
===> Summary
Results read from /root/.kyua/store/results.usr_tests.20170620-155827-682012.db
Test cases: 1 total, 0 skipped, 0 expected failures, 0 broken, 1 failed
Start time: 2017-06-20T15:59:39.706844Z
End time:   2017-06-20T15:59:39.776547Z
Total time: 0.070s

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


More information about the freebsd-testing mailing list