Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2017 17:58:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 220164] sys/geom/class/gate/ggate_test: geom_gate tests fail when /dev/ggctl is not available
Message-ID:  <bug-220164-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220164

            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@freebsd.org
          Reporter: gjb@FreeBSD.org

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

Output from one of these tests:

=3D=3D=3D> 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 =3D ggatel can proxy files
    has_cleanup =3D true
    is_exclusive =3D false
    required_configs is empty
    required_disk_space =3D 0
    required_files is empty
    required_memory =3D 0
    required_programs =3D ggatel
    required_user =3D root
    timeout =3D 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, wo=
rk
ggatec: open(/dev/ggctl): No such file or directory
=3D=3D=3D> Failed tests
sys/geom/class/gate/ggate_test:ggatel_file  ->  failed: atf-check failed; s=
ee
the output of the test for details  [0.070s]
=3D=3D=3D> Summary
Results read from /root/.kyua/store/results.usr_tests.20170620-155827-68201=
2.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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220164-32464>