Skip to contentSkip to conversation

maintainers: Add myself as a OpenBSD maintainer

PATCH In review Brad Smith 7 participants 13 messages Feb 16, 2018 – Mar 21, 2018

lore
Share & tools
lore

Brad Smith

author
#0 lore raw

PATCH 1/1 maintainers: Add myself as a OpenBSD maintainer

Add myself as an OpenBSD maintainer and add OpenBSD as maintained.

MAINTAINERS +6 -0
index 57358a08e2..86329e274f 100644
@@ -386,6 +386,12 @@ M: Kamil Rytarowski <[email protected]>
 S: Maintained
 K: ^Subject:.*(?i)NetBSD
 
+OPENBSD
+L: [email protected]
+M: Brad Smith <[email protected]>
+S: Maintained
+K: ^Subject:.*(?i)OpenBSD
+
 W32, W64
 L: [email protected]
 M: Stefan Weil <[email protected]>
configure +1 -0
index 913e14839d..850c46ebac 100755
@@ -760,6 +760,7 @@ OpenBSD)
   audio_drv_list="sdl"
   audio_possible_drivers="sdl"
   HOST_VARIANT_DIR="openbsd"
+  supported_os="yes"
 ;;
 Darwin)
   bsd="yes"
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Brad Smith

Add myself as an OpenBSD maintainer and add OpenBSD as maintained.

Would you like to co-maintain with myself a merge-branch for BSD? Right now I send patches through other developers and it does not always work smoothly.

Quoted 31 lines
MAINTAINERS +6 -0
index 57358a08e2..86329e274f 100644
@@ -386,6 +386,12 @@ M: Kamil Rytarowski <[email protected]>
 S: Maintained
 K: ^Subject:.*(?i)NetBSD
 
+OPENBSD
+L: [email protected]
+M: Brad Smith <[email protected]>
+S: Maintained
+K: ^Subject:.*(?i)OpenBSD
+
 W32, W64
 L: [email protected]
 M: Stefan Weil <[email protected]>
configure +1 -0
index 913e14839d..850c46ebac 100755
@@ -760,6 +760,7 @@ OpenBSD)
   audio_drv_list="sdl"
   audio_possible_drivers="sdl"
   HOST_VARIANT_DIR="openbsd"
+  supported_os="yes"
 ;;
 Darwin)
   bsd="yes"
#2 lore raw
In reply to Brad Smith

Hi Brad,

Quoted 10 lines · Brad Smith

Add myself as an OpenBSD maintainer and add OpenBSD as maintained.

MAINTAINERS +0 -0
index 57358a08e2..86329e274f 100644

MAINTAINERS M: Kamil Rytarowski <[email protected]> · line 394

Quoted 9 lines
MAINTAINERS +6 -0
@@ -386,6 +386,12 @@ M: Kamil Rytarowski <[email protected]>
 S: Maintained
 K: ^Subject:.*(?i)NetBSD
 
+OPENBSD
+L: [email protected]
+M: Brad Smith <[email protected]>
+S: Maintained
+K: ^Subject:.*(?i)OpenBSD
+

No problem here,

configure OpenBSD) · line 763

Quoted 12 lines
MAINTAINERS +0 -0
 W32, W64
 L: [email protected]
 M: Stefan Weil <[email protected]>
configure +1 -0
index 913e14839d..850c46ebac 100755
@@ -760,6 +760,7 @@ OpenBSD)
   audio_drv_list="sdl"
   audio_possible_drivers="sdl"
   HOST_VARIANT_DIR="openbsd"
+  supported_os="yes"

But before announcing the host OS being supported again, I'd rather see reproducible build/tests logs, in a (public - if possible) continuous integration system. Else it is hard to notice when it get broken.

configure OpenBSD) · line 766

Quoted 4 lines
configure +0 -0
 ;;
 Darwin)
   bsd="yes"

Regards,

Phil.

#3 lore raw
Quoted 3 lines · Philippe Mathieu-Daudé

But before announcing the host OS being supported again, I'd rather see reproducible build/tests logs, in a (public - if possible) continuous integration system. Else it is hard to notice when it get broken.

I do include OpenBSD in my set of build/tests for merges.

thanks
-- PMM

#4 lore raw
Quoted 6 lines · Peter Maydell
Quoted 3 lines · Philippe Mathieu-Daudé

But before announcing the host OS being supported again, I'd rather see reproducible build/tests logs, in a (public - if possible) continuous integration system. Else it is hard to notice when it get broken.

I do include OpenBSD in my set of build/tests for merges.

There's also "make vm-build-openbsd" for devs who want to test easily in an OpenBSD VM, or investigate brokeness.

Regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
#5 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 4 lines · Philippe Mathieu-Daudé

But before announcing the host OS being supported again, I'd rather see reproducible build/tests logs, in a (public - if possible) continuous integration system. Else it is hard to notice when it get broken.

This is already done for FreeBSD, NetBSD and OpenBSD.

CC Fam who can confirm this.
#6 lore raw
Quoted 7 lines · Kamil Rytarowski
Quoted 4 lines · Philippe Mathieu-Daudé

But before announcing the host OS being supported again, I'd rather see reproducible build/tests logs, in a (public - if possible) continuous integration system. Else it is hard to notice when it get broken.

This is already done for FreeBSD, NetBSD and OpenBSD.

We have the ability to run those, but afaik no CI are using them.

$ make vm-test
vm-test: Test QEMU in preconfigured virtual machines
  vm-build-ubuntu.i386            - Build QEMU in ubuntu i386 VM
  vm-build-freebsd                - Build QEMU in FreeBSD VM
  vm-build-netbsd                 - Build QEMU in NetBSD VM
  vm-build-openbsd                - Build QEMU in OpenBSD VM
Quoted 2 lines
CC Fam who can confirm this.
#7 lore raw
Quoted 10 lines · Philippe Mathieu-Daudé
Quoted 7 lines · Kamil Rytarowski
Quoted 4 lines · Philippe Mathieu-Daudé

But before announcing the host OS being supported again, I'd rather see reproducible build/tests logs, in a (public - if possible) continuous integration system. Else it is hard to notice when it get broken.

This is already done for FreeBSD, NetBSD and OpenBSD.

We have the ability to run those, but afaik no CI are using them.

That's right. I can try enabling them on patchew, but my gut feeling is that these still need to be optimized (especially, enabling persisted ccache like our docker tests, so it is reasonably efficient for our limited resources).

Fam

#8 lore raw

[Qemu-devel] make vm-test [was: [PATCH] maintainers: Add myself as a OpenBSD maintainer]

In reply to Philippe Mathieu-Daudé
Quoted 11 lines · Philippe Mathieu-Daudé
Quoted 7 lines · Kamil Rytarowski
Quoted 4 lines · Philippe Mathieu-Daudé

But before announcing the host OS being supported again, I'd rather see reproducible build/tests logs, in a (public - if possible) continuous integration system. Else it is hard to notice when it get broken.

This is already done for FreeBSD, NetBSD and OpenBSD.

We have the ability to run those, but afaik no CI are using them.

Quoted 10 lines
$ make vm-test
vm-test: Test QEMU in preconfigured virtual machines
   vm-build-ubuntu.i386            - Build QEMU in ubuntu i386 VM
   vm-build-freebsd                - Build QEMU in FreeBSD VM
   vm-build-netbsd                 - Build QEMU in NetBSD VM
   vm-build-openbsd                - Build QEMU in OpenBSD VM
Quoted 2 lines
CC Fam who can confirm this.

Thanks for this; today was my first day trying the various vm-build- targets.

Question: is this expected behavior?

$ make vm-build-ubuntu.i386
    VM-IMAGE ubuntu.i386
...
Image resized.
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Connection to 127.0.0.1 closed by remote host.
...
Cloning into '/home/eblake/qemu/vm-test-VoVkBv.tmp/data-5ba3c.tar.vroot/ui/keycodemapdb'...
sudo: unable to resolve host ubuntu-guest
make[1]: flex: Command not found
...
make[1]: flex: Command not found
Could not access KVM kernel module: No such file or directory
qemu-system-i386: failed to initialize KVM: No such file or directory
qemu-system-i386: Back to tcg accelerator

I'm wondering if the image initialized incorrectly, and as a result can't do as much as it's supposed to do, or runs way slower than it needs to? The command eventually completed with status 0, but failed to find a 32-bit compile error in the rdma code, and the output log does not look like it actually attempted to compile anything in qemu (unless it did compile it, but the logs were not output to stdout/stderr).

make vm-build-freebsd was a lot faster at completing for me (but shows that we still have a lot of clang warnings about address of a packed struct member).

Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
#9 lore raw

Re: [Qemu-devel] make vm-test [was: [PATCH] maintainers: Add myself as a OpenBSD maintainer]

Quoted 57 lines · Eric Blake
Quoted 11 lines · Philippe Mathieu-Daudé
Quoted 7 lines · Kamil Rytarowski
Quoted 4 lines · Philippe Mathieu-Daudé

But before announcing the host OS being supported again, I'd rather see reproducible build/tests logs, in a (public - if possible) continuous integration system. Else it is hard to notice when it get broken.

This is already done for FreeBSD, NetBSD and OpenBSD.

We have the ability to run those, but afaik no CI are using them.

Quoted 10 lines
$ make vm-test
vm-test: Test QEMU in preconfigured virtual machines
   vm-build-ubuntu.i386            - Build QEMU in ubuntu i386 VM
   vm-build-freebsd                - Build QEMU in FreeBSD VM
   vm-build-netbsd                 - Build QEMU in NetBSD VM
   vm-build-openbsd                - Build QEMU in OpenBSD VM
Quoted 2 lines
CC Fam who can confirm this.

Thanks for this; today was my first day trying the various vm-build- targets.

Question: is this expected behavior?

$ make vm-build-ubuntu.i386
    VM-IMAGE ubuntu.i386
...
Image resized.
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Connection to 127.0.0.1 closed by remote host.
...
Cloning into '/home/eblake/qemu/vm-test-VoVkBv.tmp/data-5ba3c.tar.vroot/ui/keycodemapdb'...
sudo: unable to resolve host ubuntu-guest
make[1]: flex: Command not found
...
make[1]: flex: Command not found
Could not access KVM kernel module: No such file or directory
qemu-system-i386: failed to initialize KVM: No such file or directory
qemu-system-i386: Back to tcg accelerator

I'm wondering if the image initialized incorrectly, and as a result can't do as much as it's supposed to do, or runs way slower than it needs to? The command eventually completed with status 0, but failed to find a 32-bit compile error in the rdma code, and the output log does not look like it actually attempted to compile anything in qemu (unless it did compile it, but the logs were not output to stdout/stderr).

Quoted 4 lines

make vm-build-freebsd was a lot faster at completing for me (but shows that we still have a lot of clang warnings about address of a packed struct member).

Was it a clean repo? Did you try "rm -rf ~/.cache/qemu-vm"? This morning the command worked for me from a clean env (on RHEL 7, using a QEMU built from qemu.git), and I didn't see the errors/warnings you pasted. (BTW I don't understand how sudo has anything to do with the dummy host name.)

Fam

#10 lore raw

Re: [Qemu-devel] make vm-test [was: [PATCH] maintainers: Add myself as a OpenBSD maintainer]

Quoted 25 lines · Fam Zheng
Quoted 20 lines

Thanks for this; today was my first day trying the various vm-build- targets.

Question: is this expected behavior?

$ make vm-build-ubuntu.i386
     VM-IMAGE ubuntu.i386
...
Image resized.
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)

I'm wondering if the image initialized incorrectly, and as a result can't do as much as it's supposed to do, or runs way slower than it needs to? The command eventually completed with status 0, but failed to find a 32-bit compile error in the rdma code, and the output log does not look like it actually attempted to compile anything in qemu (unless it did compile it, but the logs were not output to stdout/stderr).

Quoted 4 lines

make vm-build-freebsd was a lot faster at completing for me (but shows that we still have a lot of clang warnings about address of a packed struct member).

Quoted 4 lines

Was it a clean repo? Did you try "rm -rf ~/.cache/qemu-vm"? This morning the command worked for me from a clean env (on RHEL 7, using a QEMU built from qemu.git), and I didn't see the errors/warnings you pasted. (BTW I don't understand how sudo has anything to do with the dummy host name.)

I repeated the test twice this morning after 'rm -rf ~/.cache/qemu-vm', first after 'rm tests/vm/ubuntu.i386.img' in an incremental tree, and second in a fresh git checkout. Here's a full pastebin of the first try (I hit ^C after seeing it look the same as yesterday, even after the fresh redownload that took more than 10 minutes):
https://paste.fedoraproject.org/paste/p8Th7AroLAprGY03ffzGHA

The results are the same; debconf is somehow unable to connect to the guest, and as a result, the guest is not properly initialized with the additional packages it needs, and then everything else about the image is broken.

Then on the second try, I got a dreaded message about my /home being nearly full, (having multiple .img files in two different build directories pushed me over limits), and it died a much harder death due to ENOSPC. Let me resize my /home and retry (thankfully I still have some disk space free to throw at the problem), and I'll report back if that makes a difference.

Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
#11 lore raw

Re: [Qemu-devel] make vm-test [was: [PATCH] maintainers: Add myself as a OpenBSD maintainer]

Quoted 42 lines · Eric Blake
Quoted 25 lines · Fam Zheng
Quoted 20 lines

Thanks for this; today was my first day trying the various vm-build- targets.

Question: is this expected behavior?

$ make vm-build-ubuntu.i386
     VM-IMAGE ubuntu.i386
...
Image resized.
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)

I'm wondering if the image initialized incorrectly, and as a result can't do as much as it's supposed to do, or runs way slower than it needs to? The command eventually completed with status 0, but failed to find a 32-bit compile error in the rdma code, and the output log does not look like it actually attempted to compile anything in qemu (unless it did compile it, but the logs were not output to stdout/stderr).

Quoted 4 lines

make vm-build-freebsd was a lot faster at completing for me (but shows that we still have a lot of clang warnings about address of a packed struct member).

Quoted 4 lines

Was it a clean repo? Did you try "rm -rf ~/.cache/qemu-vm"? This morning the command worked for me from a clean env (on RHEL 7, using a QEMU built from qemu.git), and I didn't see the errors/warnings you pasted. (BTW I don't understand how sudo has anything to do with the dummy host name.)

I repeated the test twice this morning after 'rm -rf ~/.cache/qemu-vm', first after 'rm tests/vm/ubuntu.i386.img' in an incremental tree, and second in a fresh git checkout. Here's a full pastebin of the first try (I hit ^C after seeing it look the same as yesterday, even after the fresh redownload that took more than 10 minutes):
https://paste.fedoraproject.org/paste/p8Th7AroLAprGY03ffzGHA

The results are the same; debconf is somehow unable to connect to the guest, and as a result, the guest is not properly initialized with the additional packages it needs, and then everything else about the image is broken.

Quoted 5 lines

Then on the second try, I got a dreaded message about my /home being nearly full, (having multiple .img files in two different build directories pushed me over limits), and it died a much harder death due to ENOSPC. Let me resize my /home and retry (thankfully I still have some disk space free to throw at the problem), and I'll report back if that makes a difference.

Now I see the problem. I always use V=1 so stdout is different for the spawned commands (qemu and ssh) in the script. I will send a patch tomorrow. Thanks!

Fam

#12 lore raw
In reply to Brad Smith
Quoted 27 lines · Brad Smith

Add myself as an OpenBSD maintainer and add OpenBSD as maintained.

MAINTAINERS +6 -0
index 57358a08e2..86329e274f 100644
@@ -386,6 +386,12 @@ M: Kamil Rytarowski <[email protected]>
 S: Maintained
 K: ^Subject:.*(?i)NetBSD
 
+OPENBSD
+L: [email protected]
+M: Brad Smith <[email protected]>
+S: Maintained
+K: ^Subject:.*(?i)OpenBSD
+
 W32, W64
 L: [email protected]
 M: Stefan Weil <[email protected]>
configure +0 -0
index 913e14839d..850c46ebac 100755

configure OpenBSD) · line 766

Quoted 7 lines
configure +1 -0
@@ -760,6 +760,7 @@ OpenBSD)
   audio_drv_list="sdl"
   audio_possible_drivers="sdl"
   HOST_VARIANT_DIR="openbsd"
+  supported_os="yes"
 ;;
 Darwin)
   bsd="yes"

Thanks for agreeing to help us with the BSD host maintenance. I've applied this patch to master. If you and Kamil want to maintain a subtree for doing pull requests for BSD host patches that's fine with me; otherwise we can continue to ad-hoc apply patches through whatever route is simplest.

thanks
-- PMM