From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 19 22:15:35 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13F8DFED for ; Thu, 19 Jun 2014 22:15:35 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D577820BD for ; Thu, 19 Jun 2014 22:15:34 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5JMFY7B074222 for ; Thu, 19 Jun 2014 23:15:34 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191191] tests/mdconfig/legacy_test fails if /dev/md0 is already attached to the system Date: Thu, 19 Jun 2014 22:15:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yaneurabeya@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2014 22:15:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191191 --- Comment #1 from yaneurabeya@gmail.com --- Works now with the work I did converting the testcase from prove to ATF: % mdmfs -s 10m 0 /mnt/ % kyua test mdconfig_test:attach_vnode_non_explicit_type -> passed [0.088s] mdconfig_test:attach_vnode_explicit_type -> passed [0.109s] mdconfig_test:attach_vnode_smaller_than_file -> passed [0.118s] mdconfig_test:attach_vnode_larger_than_file -> passed [0.086s] mdconfig_test:attach_vnode_sector_size -> passed [0.093s] mdconfig_test:attach_malloc -> passed [0.098s] mdconfig_test:attach_swap -> passed [0.070s] mdconfig_test:attach_with_specific_unit_number -> passed [0.067s] 8/8 passed (0 failed) Committed action 37 % umount /mnt/ % kyua test mdconfig_test:attach_vnode_non_explicit_type -> passed [0.083s] mdconfig_test:attach_vnode_explicit_type -> passed [0.085s] mdconfig_test:attach_vnode_smaller_than_file -> passed [0.076s] mdconfig_test:attach_vnode_larger_than_file -> passed [0.077s] mdconfig_test:attach_vnode_sector_size -> passed [0.079s] mdconfig_test:attach_malloc -> passed [0.070s] mdconfig_test:attach_swap -> passed [0.069s] mdconfig_test:attach_with_specific_unit_number -> passed [0.064s] 8/8 passed (0 failed) Committed action 38 [root@freebsd-10-x64 /usr/tests/sbin/mdconfig]# mdconfig -l md0 [root@freebsd-10-x64 /usr/tests/sbin/mdconfig]# mdconfig -d -u 0 [root@freebsd-10-x64 /usr/tests/sbin/mdconfig]# kyua test mdconfig_test:attach_vnode_non_explicit_type -> passed [0.087s] mdconfig_test:attach_vnode_explicit_type -> passed [0.077s] mdconfig_test:attach_vnode_smaller_than_file -> passed [0.075s] mdconfig_test:attach_vnode_larger_than_file -> passed [0.075s] mdconfig_test:attach_vnode_sector_size -> passed [0.080s] mdconfig_test:attach_malloc -> passed [0.080s] mdconfig_test:attach_swap -> passed [0.068s] mdconfig_test:attach_with_specific_unit_number -> passed [0.080s] 8/8 passed (0 failed) Committed action 39 % mdconfig -l I removed some of the implied testcases (the querying sections mostly) because it was already covered in the other sections. The commit for this change can be found here: https://github.com/yaneurabeya/freebsd/commit/9cc8adcfad852cadb97637cdeddc462a7b7bf33b -- You are receiving this mail because: You are the assignee for the bug.