Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2017 18:29:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 220165] usr.sbin/makefs/makefs_ffs_tests: o_flag_version_1 and o_flag_version_2 tests fail if /etc/fstab is nonexistent
Message-ID:  <bug-220165-32464@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 220165
           Summary: usr.sbin/makefs/makefs_ffs_tests: o_flag_version_1 and
                    o_flag_version_2 tests fail if /etc/fstab is
                    nonexistent
           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

Sample output of o_flag_version_1 within a chroot(8) with no /etc/fstab
present:

=3D=3D=3D> usr.sbin/makefs/makefs_ffs_tests:o_flag_version_1
Result:     failed: atf-check failed; see the output of the test for details
Start time: 2017-06-20T16:14:52.040579Z
End time:   2017-06-20T16:14:52.367176Z
Duration:   0.327s

Metadata:
    allowed_architectures is empty
    allowed_platforms is empty
    description is empty
    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 is empty
    required_user is empty
    timeout =3D 300

Standard output:
Executing command [ mkdir -m 0777 -p /tmp/kyua.6rKiWR/781/work/mnt ]
Executing command [ mkdir -m 0777 -p /tmp/kyua.6rKiWR/781/work/inputs ]
Executing command [ mkdir -m 0755 -p a/b/1 ]
Executing command [ ln -s a/b c ]
Executing command [ touch d ]
Executing command [ ln d e ]
Executing command [ touch .f ]
Executing command [ mkdir .g ]
Executing command [ dd if=3D/dev/zero of=3Di count=3D1000 bs=3D1 ]
Executing command [ touch klmn ]
Executing command [ touch opqr ]
Executing command [ touch stuv ]
Executing command [ install -m 0755 /dev/null wxyz ]
Executing command [ touch 0b00000001 ]
Executing command [ touch 0b00000010 ]
Executing command [ touch 0b00000011 ]
Executing command [ touch 0b00000100 ]
Executing command [ touch 0b00000101 ]
Executing command [ touch 0b00000110 ]
Executing command [ touch 0b00000111 ]
Executing command [ touch 0b00001000 ]
Executing command [ touch 0b00001001 ]
Executing command [ touch 0b00001010 ]
Executing command [ touch 0b00001011 ]
Executing command [ touch 0b00001100 ]
Executing command [ touch 0b00001101 ]
Executing command [ touch 0b00001110 ]
Executing command [ dd if=3D/dev/zero of=3D1.file bs=3D1 count=3D1 oseek=3D=
1 conv=3Dsparse
]
Executing command [ dd if=3D/dev/zero of=3D512.file bs=3D1 count=3D1 oseek=
=3D512
conv=3Dsparse ]
Executing command [ dd if=3D/dev/zero of=3D2048.file bs=3D1 count=3D1 oseek=
=3D2048
conv=3Dsparse ]
Executing command [ dd if=3D/dev/zero of=3D10240.file bs=3D1 count=3D1 osee=
k=3D10240
conv=3Dsparse ]
Executing command [ dd if=3D/dev/zero of=3D524288.file bs=3D1 count=3D1 ose=
ek=3D524288
conv=3Dsparse ]
Executing command [ makefs -t ffs -M 1m -o version=3D1
/tmp/kyua.6rKiWR/781/work/test.img /tmp/kyua.6rKiWR/781/work/inputs ]
Executing command [ mdconfig -a -f /tmp/kyua.6rKiWR/781/work/test.img ]
Executing command [ mount /dev/md0 /tmp/kyua.6rKiWR/781/work/mnt ]
Executing command [ dumpfs /tmp/kyua.6rKiWR/781/work/mnt ]

Standard error:
Fail: stderr not empty
--- /dev/null   2017-06-20 16:14:42.000000000 +0000
+++ /tmp/kyua.6rKiWR/781/work/check.7DQl1P/stderr       2017-06-20
16:14:52.355087000 +0000
@@ -0,0 +1 @@
+fstab: /etc/fstab:0: No such file or directory
Files left in work directory after failure: inputs, md.output, mnt, test.img
=3D=3D=3D> Failed tests
usr.sbin/makefs/makefs_ffs_tests:o_flag_version_1  ->  failed: atf-check
failed; see the output of the test for details  [0.327s]
=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-20T16:14:52.040579Z
End time:   2017-06-20T16:14:52.367176Z
Total time: 0.327s

--=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-220165-32464>