Open fxcoudert opened 3 years ago
Can you try without -X coremidi
?
I'm not sure if I can remove it, as the rest of the test probably needs it (given there's a reference to midiseq
):
source_name = "test_source"
sink_name = "test_sink"
fork do
exec "#{bin}/jackd", "-X", "coremidi", "-d", "dummy"
end
system "#{bin}/jack_wait", "--wait", "--timeout", "10"
fork do
exec "#{bin}/jack_midiseq", source_name, "16000", "0", "60", "8000"
end
midi_sink = IO.popen "#{bin}/jack_midi_dump #{sink_name}"
sleep 1
system "#{bin}/jack_connect #{source_name}:out #{sink_name}:input"
sleep 1
Process.kill "TERM", midi_sink.pid
midi_dump = midi_sink.read
assert_match "90 3c 40", midi_dump
assert_match "80 3c 40", midi_dump
I wouldnt say remove it altogether, just do a test to see if it succeeds. Didnt try the coremidi stuff on the M1+jack2 yet.
Actually, from the code you posted, you dont need it. the midiseq connects to mididump, the coremidi stuff is never used.
Same error without -X coremidi
https://github.com/Homebrew/homebrew-core/pull/68079/checks?check_run_id=1631033361
I am either missing something, or is jackd never started on that test? jackd needs to run first, so that jack_wait can return success.
We see the same issue with jack 1.9.17 https://github.com/Homebrew/homebrew-core/pull/69123
/opt/homebrew/Cellar/jack/1.9.17/bin/jackd -X coremidi -d dummy
jackdmp 1.9.17
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
CoreMIDI driver is opened...
JackCoreMidiDriver::Start - Starting driver.
JackCoreMidiDriver::Start - Enabling physical input ports.
JackCoreMidiDriver::Start - Enabling physical output ports.
JackCoreMidiDriver::Start - Enabling virtual input ports.
JackCoreMidiDriver::Start - Enabling virtual output ports.
JackCoreMidiDriver::Start - Driver started.
After outputting this, jackd
ends with non-zero exit code. How can we debug it further?
I've built jack 1.9.16 with the 3 latest commits for Apple Silicon support applied, as part of Homebrew at https://github.com/Homebrew/homebrew-core/pull/68079
We're seeing the following errors during testing, where we're running:
and in another process:
The errors are:
and then it loops over those last few messages.