jibri icon indicating copy to clipboard operation
jibri copied to clipboard

Fix groupId for statemachine dependency

Open nodeg opened this issue 4 years ago • 27 comments

The jibri package cannot be build with maven anymore:

$ mvn dependency\:analyze
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------------< org.jitsi:jibri >---------------------------
[INFO] Building jibri 8.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] >>> maven-dependency-plugin:2.8:analyze (default-cli) > test-compile @ jibri >>>
Downloading from jitpack.io: https://jitpack.io/com/github/tinder/statemachine/0.2.0/statemachine-0.2.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.013 s
[INFO] Finished at: 2020-07-20T13:11:58+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jibri: Could not resolve dependencies for project org.jitsi:jibri:jar:8.0-SNAPSHOT: Failed to collect dependencies at com.github.tinder:statemachine:jar:0.2.0: Failed to read artifact descriptor for com.github.tinder:statemachine:jar:0.2.0: Could not transfer artifact com.github.tinder:statemachine:pom:0.2.0 from/to jitpack.io (https://jitpack.io): NullPointerException -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

According to the mvn repository the groupId in the jibri POM file is wrong. This commit fixes the groupId and the package can be build again.

nodeg avatar Jul 20 '20 11:07 nodeg

Hi, thanks for your contribution! If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

jitsi-jenkins avatar Jul 20 '20 11:07 jitsi-jenkins

Can you please check whether a CLA was already signed by @SUSE?

nodeg avatar Jul 20 '20 12:07 nodeg

Hmm, weird...I just cleared my maven cache but it still resolves it (with the old groupId) fine.

bbaldino avatar Jul 20 '20 16:07 bbaldino

That is indeed weird. My collegues an I tested it on 4 different machines and we all got the same error.

nodeg avatar Jul 21 '20 06:07 nodeg

I am one of the four colleagues @nodeg mentioned. If you look at their jitpack.io repo you will see that the current version is v0.2.0 so I guess that if you adjust the version correctly this will resolve on jitpack or if you force maven to use maven central.

Link to central: https://search.maven.org/artifact/com.tinder.statemachine/statemachine/0.2.0/jar Link to jitpack.io: https://jitpack.io/com/github/tinder/statemachine/v0.2.0/

SchoolGuy avatar Jul 29 '20 15:07 SchoolGuy

Since in your pom.xml you have jitpack enabled we won't find it if maven decides to go to jitpack instead of maven central.

SchoolGuy avatar Jul 29 '20 15:07 SchoolGuy

Here is an explanation why we are not able to resolve this: https://developer.jboss.org/message/576851

SchoolGuy avatar Jul 29 '20 15:07 SchoolGuy

So to summarize. Either fix the version or accept this PR to fix the groupId

SchoolGuy avatar Jul 29 '20 15:07 SchoolGuy

I read that thread, but trying to understand why it's working for me and not you. What maven version are you using?

bbaldino avatar Jul 29 '20 22:07 bbaldino

Can you please check whether a CLA was already signed by @SUSE?

Didn't find anything for SUSE.

bbaldino avatar Jul 29 '20 22:07 bbaldino

What maven version are you using?

$ mvn --version
Apache Maven 3.6.3 (SUSE 3.6.3-lp152.2.31)
Maven home: /usr/share/maven
Java version: 11.0.7, vendor: Oracle Corporation, runtime: /usr/lib64/jvm/java-11-openjdk-11
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.3.18-lp152.26-default", arch: "amd64", family: "unix"

nodeg avatar Jul 30 '20 06:07 nodeg

Things are getting weird... I just found out that on jitpack apparently there now is a version 0.2.0. This was definitely not there the last time I checked.

https://jitpack.io/com/github/tinder/statemachine/0.2.0/

When you look at Jitpack you also see that this is not a release but rather a build. I don't know how it did get there since there is no tag for it in the repository publicly. Jitpack does support private tags with published build results but I doubt currently that this is the case. I would vote that this PR is merged because then we are using Maven Central which does behave a lot better in my eyes then Jitpack.

SchoolGuy avatar Jul 30 '20 17:07 SchoolGuy

Here is an explanation why we are not able to resolve this: https://developer.jboss.org/message/576851

Regarding why this thread is relevant: I read through it and to keep it short it isn't relevant it all. My thought yesterday evening was that maven takes the groupId of one repo and the version from the other and then is confused but since that isn't working I would like to make apologies for the confusion I caused.

The problem that Jitpack apparently has non stable versions appearing and disappearing still sadly stays and should be up for discussion.

SchoolGuy avatar Jul 30 '20 18:07 SchoolGuy

Weird...ok, I was on maven version 3.6.0 and just upgraded to 3.6.3, but don't see the issue (possibly because that version is now in jitpack, as you said). But yeah, we can get this merged. Can you sign the CLA?

bbaldino avatar Jul 30 '20 18:07 bbaldino

@bbaldino I will check at work who is responsible for saying that we sign as SUSE, otherwise I would say that @nodeg will sign it personally tomorrow.

SchoolGuy avatar Jul 30 '20 18:07 SchoolGuy

~~I am still waiting for a response of our legal team.~~ Our legal team will sign the CLA and I myself have signed the individual CLA, too.

nodeg avatar Aug 03 '20 12:08 nodeg

@nodeg has this continued to be a problem for you guys? We still haven't been seeing any issues related to it.

bbaldino avatar Apr 01 '21 21:04 bbaldino

Without rebasing this works now:

$ mvn dependency\:analyze
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------------< org.jitsi:jibri >---------------------------
[INFO] Building jibri 8.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] >>> maven-dependency-plugin:2.8:analyze (default-cli) > test-compile @ jibri >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jibri ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/dom/git/work/jitsi-jibri/src/main/resources
[INFO] 
[INFO] --- kotlin-maven-plugin:1.3.71:compile (compile) @ jibri ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (java-compile) @ jibri ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jibri ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] 
[INFO] --- kotlin-maven-plugin:1.3.71:test-compile (test-compile) @ jibri ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (java-test-compile) @ jibri ---
[INFO] No sources to compile
[INFO] 
[INFO] <<< maven-dependency-plugin:2.8:analyze (default-cli) < test-compile @ jibri <<<
[INFO] 
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ jibri ---
[WARNING] Used undeclared dependencies found:
[WARNING]    io.ktor:ktor-server-host-common:jar:1.3.1:compile
[WARNING]    org.jetbrains.kotlinx:kotlinx-coroutines-core:jar:1.3.3:compile
[WARNING]    io.ktor:ktor-client-core-jvm:jar:1.3.1:compile
[WARNING]    org.seleniumhq.selenium:selenium-chrome-driver:jar:3.12.0:compile
[WARNING]    org.seleniumhq.selenium:selenium-api:jar:3.12.0:compile
[WARNING]    io.kotest:kotest-core-jvm:jar:4.1.1:test
[WARNING]    io.ktor:ktor-client-json-jvm:jar:1.3.1:compile
[WARNING]    org.seleniumhq.selenium:selenium-remote-driver:jar:3.12.0:compile
[WARNING]    io.ktor:ktor-utils-jvm:jar:1.3.1:compile
[WARNING]    org.jxmpp:jxmpp-jid:jar:0.6.2:compile
[WARNING]    io.ktor:ktor-http-jvm:jar:1.3.1:compile
[WARNING]    io.kotest:kotest-assertions-shared-jvm:jar:4.1.1:test
[WARNING]    io.mockk:mockk-dsl-jvm:jar:1.10.0:test
[WARNING]    io.kotest:kotest-common-jvm:jar:4.1.1:test
[WARNING]    com.fasterxml.jackson.core:jackson-databind:jar:2.9.5:compile
[WARNING]    org.jetbrains:annotations:jar:13.0:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.jetbrains.kotlin:kotlin-reflect:jar:1.3.71:compile
[WARNING]    org.seleniumhq.selenium:selenium-java:jar:3.12.0:compile
[WARNING]    com.google.guava:guava:jar:23.0:compile
[WARNING]    com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.9.5:compile
[WARNING]    org.eclipse.jetty:jetty-server:jar:9.4.15.v20190215:compile
[WARNING]    org.eclipse.jetty:jetty-servlet:jar:9.4.15.v20190215:compile
[WARNING]    org.igniterealtime.smack:smack-tcp:jar:4.2.4-47d17fc:compile
[WARNING]    org.igniterealtime.smack:smack-java7:jar:4.2.4-47d17fc:compile
[WARNING]    org.jitsi:jitsi-util:jar:2.13.df50add:compile
[WARNING]    io.kotest:kotest-runner-junit5-jvm:jar:4.1.1:test
[WARNING]    io.kotest:kotest-runner-console-jvm:jar:4.1.1:test
[WARNING]    net.bytebuddy:byte-buddy:jar:1.10.0:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  22.363 s
[INFO] Finished at: 2021-04-06T10:37:32+02:00
[INFO] ------------------------------------------------------------------------
mvn dependency\:analyze  93.28s user 1.13s system 404% cpu 23.350 total

After a rebase to the latest commit (c558c1c) I got another error:

$ mvn dependency\:analyze
(...)
[INFO] Changes detected - recompiling the module!                                                                                                                             
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!                                                                    
[INFO] Compiling 1 source file to /home/dom/git/work/jitsi-jibri/target/classes                                                                                               
[INFO]                                                                                                                                                                        
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jibri ---                                                                                       
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] 
[INFO] --- kotlin-maven-plugin:1.4.31:test-compile (test-compile) @ jibri ---
[ERROR] /home/dom/git/work/jitsi-jibri/src/test/kotlin/org/jitsi/jibri/util/JibriSubprocessTest.kt: (49, 26) Overload resolution ambiguity: 
public fun LoggingUtils.Companion.setTestOutputLogger(outputLogger: (ProcessWrapper, java.util.logging.Logger) -> Future<Boolean>): Unit defined in org.jitsi.jibri.helpers
public fun LoggingUtils.Companion.setTestOutputLogger(outputLogger: (ProcessWrapper, org.jitsi.utils.logging2.Logger) -> Future<Boolean>): Unit defined in org.jitsi.jibri.hel
pers in file Helpers.kt
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:41 min
[INFO] Finished at: 2021-04-06T10:41:44+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.4.31:test-compile (test-compile) on project jibri: Compilation failure
[ERROR] /home/dom/git/work/jitsi-jibri/src/test/kotlin/org/jitsi/jibri/util/JibriSubprocessTest.kt:[49,26] Overload resolution ambiguity: 
[ERROR] public fun LoggingUtils.Companion.setTestOutputLogger(outputLogger: (ProcessWrapper, java.util.logging.Logger) -> Future<Boolean>): Unit defined in org.jitsi.jibri.he
lpers
[ERROR] public fun LoggingUtils.Companion.setTestOutputLogger(outputLogger: (ProcessWrapper, org.jitsi.utils.logging2.Logger) -> Future<Boolean>): Unit defined in org.jitsi.j
ibri.helpers in file Helpers.kt
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
mvn dependency\:analyze  93.04s user 4.22s system 95% cpu 1:42.34 total

nodeg avatar Apr 06 '21 08:04 nodeg

@nodeg can you try a mvn clean test after rebasing.

bbaldino avatar Apr 07 '21 03:04 bbaldino

$ mvn clean test         
[INFO] Scanning for projects...
(...)
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
~~~ Kotest Configuration ~~~
-> Parallelization factor: 1
-> Concurrent specs: null
-> Global concurrent tests: 1
-> Dispatcher affinity: true
-> Default test timeout: 600000ms
-> Default test order: Sequential
-> Default isolation mode: SingleInstance
-> Global soft assertions: false
-> Write spec failure file: false
-> Fail on ignored tests: false
-> Spec execution order: SpecExecutionOrder
-> Include test scope affixes: null
-> Remove test name whitespace: false
-> Append tags to test names: false
-> Extensions
  - io.kotest.engine.extensions.SystemPropertyTagExtension
  - io.kotest.core.extensions.RuntimeTagExtension
  - io.kotest.engine.extensions.RuntimeTagExpressionExtension
-> Listeners
  - io.kotest.extensions.junitxml.JunitXmlReporter
  - class io.kotest.engine.config.LoadConfigFromClasspathKt$toDetectedConfig$beforeAfterAllListener$1

[INFO] Running org.jitsi.jibri.service.AppDataTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.658 s - in org.jitsi.jibri.service.AppDataTest
[INFO] Running org.jitsi.jibri.CallUrlInfoTest
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 s - in org.jitsi.jibri.CallUrlInfoTest
[INFO] Running org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.ExceptionInInitializerError
        at org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest.<init>(EmptyCallStatusCheckTest.kt:114)
        ... 16 more
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process
        at net.bytebuddy.agent.ByteBuddyAgent.installExternal(ByteBuddyAgent.java:675)
        at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:606)
        at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:586)
        at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:538)
        at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:515)
        at io.mockk.proxy.jvm.JvmMockKAgentFactory.initInstrumentation(JvmMockKAgentFactory.kt:134)
        at io.mockk.proxy.jvm.JvmMockKAgentFactory.init(JvmMockKAgentFactory.kt:34)
        at io.mockk.impl.JvmMockKGateway.<init>(JvmMockKGateway.kt:46)
        at io.mockk.impl.JvmMockKGateway.<clinit>(JvmMockKGateway.kt:172)
        ... 17 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.ExceptionInInitializerError
        at org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest.<init>(EmptyCallStatusCheckTest.kt:114)
        ... 16 more
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process
        at net.bytebuddy.agent.ByteBuddyAgent.installExternal(ByteBuddyAgent.java:675)
        at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:606)
        at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:586)
        at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:538)
        at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:515)
        at io.mockk.proxy.jvm.JvmMockKAgentFactory.initInstrumentation(JvmMockKAgentFactory.kt:134)
        at io.mockk.proxy.jvm.JvmMockKAgentFactory.init(JvmMockKAgentFactory.kt:34)
        at io.mockk.impl.JvmMockKGateway.<init>(JvmMockKGateway.kt:46)
        at io.mockk.impl.JvmMockKGateway.<clinit>(JvmMockKGateway.kt:172)
        ... 17 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.472 s <<< FAILURE! - in org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest
[ERROR] org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest  Time elapsed: 0.001 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest
        at org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest.<init>(EmptyCallStatusCheckTest.kt:114)
Caused by: java.lang.IllegalStateException: Could not self-attach to current VM using external process
        at org.jitsi.jibri.selenium.status_checks.EmptyCallStatusCheckTest.<init>(EmptyCallStatusCheckTest.kt:114)

[INFO] Running org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest.<init>(FfmpegCapturerTest.kt:198)
        ... 16 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest.<init>(FfmpegCapturerTest.kt:198)
        ... 16 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.012 s <<< FAILURE! - in org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest
[ERROR] org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest  Time elapsed: 0 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest
        at org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest.<init>(FfmpegCapturerTest.kt:198)

[INFO] Running org.jitsi.jibri.sink.impl.FileSinkTest
[ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.105 s <<< FAILURE! - in org.jitsi.jibri.sink.impl.FileSinkTest
[ERROR] org.jitsi.jibri.sink.impl.FileSinkTest  Time elapsed: 0.003 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway

[INFO] Running org.jitsi.jibri.util.FileUtilsKtTest
[ERROR] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.044 s <<< FAILURE! - in org.jitsi.jibri.util.FileUtilsKtTest
[ERROR] org.jitsi.jibri.util.FileUtilsKtTest  Time elapsed: 0.004 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.capture.ffmpeg.FfmpegCapturerTest
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway

[INFO] Running org.jitsi.jibri.api.http.HttpApiTest
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.api.http.HttpApiTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.api.http.HttpApiTest.<init>(HttpApiTest.kt:180)
        ... 16 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.api.http.HttpApiTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.api.http.HttpApiTest.<init>(HttpApiTest.kt:180)
        ... 16 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.009 s <<< FAILURE! - in org.jitsi.jibri.api.http.HttpApiTest
[ERROR] org.jitsi.jibri.api.http.HttpApiTest  Time elapsed: 0 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.api.http.HttpApiTest
        at org.jitsi.jibri.api.http.HttpApiTest.<init>(HttpApiTest.kt:180)

[INFO] Running org.jitsi.jibri.api.http.internal.InternalHttpApiTest
Apr 07, 2021 8:53:52 AM org.jitsi.utils.logging2.LoggerImpl log
INFO: Jibri gracefully shutting down
Apr 07, 2021 8:53:52 AM org.jitsi.utils.logging2.LoggerImpl log
INFO: Config file changed
Apr 07, 2021 8:53:52 AM org.jitsi.utils.logging2.LoggerImpl log
INFO: Jibri is forcefully shutting down
[ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.679 s <<< FAILURE! - in org.jitsi.jibri.api.http.internal.InternalHttpApiTest
[ERROR] org.jitsi.jibri.api.http.internal.InternalHttpApiTest  Time elapsed: 0.106 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.api.http.HttpApiTest
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway

[INFO] Running org.jitsi.jibri.util.JibriSubprocessTest
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.JibriSubprocessTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.util.JibriSubprocessTest.<init>(JibriSubprocessTest.kt:117)
        ... 16 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.JibriSubprocessTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.util.JibriSubprocessTest.<init>(JibriSubprocessTest.kt:117)
        ... 16 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.009 s <<< FAILURE! - in org.jitsi.jibri.util.JibriSubprocessTest
[ERROR] org.jitsi.jibri.util.JibriSubprocessTest  Time elapsed: 0.001 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.JibriSubprocessTest
        at org.jitsi.jibri.util.JibriSubprocessTest.<init>(JibriSubprocessTest.kt:117)

[INFO] Running org.jitsi.jibri.util.LoggingUtilsKtTest
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.LoggingUtilsKtTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.util.LoggingUtilsKtTest.<init>(LoggingUtilsKtTest.kt:96)
        ... 16 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.LoggingUtilsKtTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.util.LoggingUtilsKtTest.<init>(LoggingUtilsKtTest.kt:96)
        ... 16 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.01 s <<< FAILURE! - in org.jitsi.jibri.util.LoggingUtilsKtTest
[ERROR] org.jitsi.jibri.util.LoggingUtilsKtTest  Time elapsed: 0 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.LoggingUtilsKtTest
        at org.jitsi.jibri.util.LoggingUtilsKtTest.<init>(LoggingUtilsKtTest.kt:96)

[INFO] Running org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest.<init>(MediaReceivedStatusCheckTest.kt:116)
        ... 16 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest.<init>(MediaReceivedStatusCheckTest.kt:116)
        ... 16 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.011 s <<< FAILURE! - in org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest
[ERROR] org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest  Time elapsed: 0 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest
        at org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest.<init>(MediaReceivedStatusCheckTest.kt:116)

[INFO] Running org.jitsi.jibri.capture.ffmpeg.executor.OutputParserTest
[ERROR] Tests run: 16, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.055 s <<< FAILURE! - in org.jitsi.jibri.capture.ffmpeg.executor.OutputParserTest
[ERROR] org.jitsi.jibri.capture.ffmpeg.executor.OutputParserTest  Time elapsed: 0.005 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.selenium.status_checks.MediaReceivedStatusCheckTest
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway

[INFO] Running org.jitsi.jibri.util.ProcessWrapperTest
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.ProcessWrapperTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.util.ProcessWrapperTest.<init>(ProcessWrapperTest.kt:209)
        ... 16 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.ProcessWrapperTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.util.ProcessWrapperTest.<init>(ProcessWrapperTest.kt:209)
        ... 16 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.01 s <<< FAILURE! - in org.jitsi.jibri.util.ProcessWrapperTest
[ERROR] org.jitsi.jibri.util.ProcessWrapperTest  Time elapsed: 0 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.ProcessWrapperTest
        at org.jitsi.jibri.util.ProcessWrapperTest.<init>(ProcessWrapperTest.kt:209)

[INFO] Running org.jitsi.jibri.util.RefreshingPropertyTest
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.RefreshingPropertyTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.util.RefreshingPropertyTest$1.invoke(RefreshingPropertyTest.kt:74)
        at org.jitsi.jibri.util.RefreshingPropertyTest$1.invoke(RefreshingPropertyTest.kt:27)
        at io.kotest.core.spec.style.ShouldSpec.<init>(shouldSpec.kt:36)
        at org.jitsi.jibri.util.RefreshingPropertyTest.<init>(RefreshingPropertyTest.kt:27)
        ... 16 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.RefreshingPropertyTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.util.RefreshingPropertyTest$1.invoke(RefreshingPropertyTest.kt:74)
        at org.jitsi.jibri.util.RefreshingPropertyTest$1.invoke(RefreshingPropertyTest.kt:27)
        at io.kotest.core.spec.style.ShouldSpec.<init>(shouldSpec.kt:36)
        at org.jitsi.jibri.util.RefreshingPropertyTest.<init>(RefreshingPropertyTest.kt:27)
        ... 16 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.011 s <<< FAILURE! - in org.jitsi.jibri.util.RefreshingPropertyTest
[ERROR] org.jitsi.jibri.util.RefreshingPropertyTest  Time elapsed: 0 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.RefreshingPropertyTest
        at org.jitsi.jibri.util.RefreshingPropertyTest.<init>(RefreshingPropertyTest.kt:27)

[INFO] Running org.jitsi.jibri.selenium.SeleniumStateMachineTest
[ERROR] Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.059 s <<< FAILURE! - in org.jitsi.jibri.selenium.SeleniumStateMachineTest
[ERROR] org.jitsi.jibri.selenium.SeleniumStateMachineTest  Time elapsed: 0.005 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.RefreshingPropertyTest
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway

[INFO] Running org.jitsi.jibri.util.TailLogicTest
[ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.035 s <<< FAILURE! - in org.jitsi.jibri.util.TailLogicTest
[ERROR] org.jitsi.jibri.util.TailLogicTest  Time elapsed: 0.003 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.RefreshingPropertyTest
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway

[INFO] Running org.jitsi.jibri.util.TeeLogicTest
[ERROR] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.029 s <<< FAILURE! - in org.jitsi.jibri.util.TeeLogicTest
[ERROR] org.jitsi.jibri.util.TeeLogicTest  Time elapsed: 0.002 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.RefreshingPropertyTest
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway

[INFO] Running org.jitsi.jibri.util.TeeTest
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.01 s <<< FAILURE! - in org.jitsi.jibri.util.TeeTest
[ERROR] org.jitsi.jibri.util.TeeTest  Time elapsed: 0.002 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.util.RefreshingPropertyTest
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway

[INFO] Running org.jitsi.jibri.webhooks.v1.WebhookClientTest
Apr 07, 2021 8:53:53 AM org.jitsi.utils.logging2.LoggerImpl log
INFO: got jwtConfig: {}

Apr 07, 2021 8:53:53 AM org.jitsi.utils.logging2.LoggerImpl log
INFO: Unable to create JwtInfo: com.typesafe.config.ConfigException$Missing: reference.conf @ file:/home/dom/git/work/jitsi-jibri/target/classes/reference.conf: 59: No configuration setting found for key 'signing-key-path'
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.webhooks.v1.WebhookClientTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.webhooks.v1.WebhookClientTest$1.invoke(WebhookClientTest.kt:193)
        at org.jitsi.jibri.webhooks.v1.WebhookClientTest$1.invoke(WebhookClientTest.kt:50)
        at io.kotest.core.spec.style.ShouldSpec.<init>(shouldSpec.kt:36)
        at org.jitsi.jibri.webhooks.v1.WebhookClientTest.<init>(WebhookClientTest.kt:50)
        ... 16 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.webhooks.v1.WebhookClientTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.webhooks.v1.WebhookClientTest$1.invoke(WebhookClientTest.kt:193)
        at org.jitsi.jibri.webhooks.v1.WebhookClientTest$1.invoke(WebhookClientTest.kt:50)
        at io.kotest.core.spec.style.ShouldSpec.<init>(shouldSpec.kt:36)
        at org.jitsi.jibri.webhooks.v1.WebhookClientTest.<init>(WebhookClientTest.kt:50)
        ... 16 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.078 s <<< FAILURE! - in org.jitsi.jibri.webhooks.v1.WebhookClientTest
[ERROR] org.jitsi.jibri.webhooks.v1.WebhookClientTest  Time elapsed: 0 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.webhooks.v1.WebhookClientTest
        at org.jitsi.jibri.webhooks.v1.WebhookClientTest.<init>(WebhookClientTest.kt:50)

[INFO] Running org.jitsi.jibri.api.xmpp.XmppApiTest
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.api.xmpp.XmppApiTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.api.xmpp.XmppApiTest.<init>(XmppApiTest.kt:232)
        ... 16 more
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.api.xmpp.XmppApiTest
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:37)
        at io.kotest.engine.spec.InstantiateSpecKt.createAndInitializeSpec(instantiateSpec.kt:22)
        at io.kotest.engine.spec.SpecExecutor.createInstance(SpecExecutor.kt:53)
        at io.kotest.engine.spec.SpecExecutor.execute(SpecExecutor.kt:40)
        at io.kotest.engine.launchers.DefaultSpecLauncher$sequential$$inlined$forEach$lambda$1$1.invokeSuspend(DefaultSpecLauncher.kt:56)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Constructor.call(CallerImpl.kt:41)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
        at io.kotest.engine.spec.InstantiateSpecKt.javaReflectNewInstance(instantiateSpec.kt:35)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway
        at org.jitsi.jibri.api.xmpp.XmppApiTest.<init>(XmppApiTest.kt:232)
        ... 16 more
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 0.009 s <<< FAILURE! - in org.jitsi.jibri.api.xmpp.XmppApiTest
[ERROR] org.jitsi.jibri.api.xmpp.XmppApiTest  Time elapsed: 0 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.api.xmpp.XmppApiTest
        at org.jitsi.jibri.api.xmpp.XmppApiTest.<init>(XmppApiTest.kt:232)

[INFO] Running org.jitsi.jibri.util.XmppUtilsTest
[ERROR] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.029 s <<< FAILURE! - in org.jitsi.jibri.util.XmppUtilsTest
[ERROR] org.jitsi.jibri.util.XmppUtilsTest  Time elapsed: 0.002 s  <<< ERROR!
io.kotest.core.SpecInstantiationException: Could not create instance of class org.jitsi.jibri.api.xmpp.XmppApiTest
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.mockk.impl.JvmMockKGateway

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   HttpApiTest » SpecInstantiation Could not create instance of class org.jitsi.j...
[ERROR]   InternalHttpApiTest » SpecInstantiation Could not create instance of class org...
[ERROR]   XmppApiTest » SpecInstantiation Could not create instance of class org.jitsi.j...
[ERROR]   FfmpegCapturerTest » SpecInstantiation Could not create instance of class org....
[ERROR]   OutputParserTest » SpecInstantiation Could not create instance of class org.ji...
[ERROR]   SeleniumStateMachineTest » SpecInstantiation Could not create instance of clas...
[ERROR]   EmptyCallStatusCheckTest » SpecInstantiation Could not create instance of clas...
[ERROR]   MediaReceivedStatusCheckTest » SpecInstantiation Could not create instance of ...
[ERROR]   FileSinkTest » SpecInstantiation Could not create instance of class org.jitsi....
[ERROR]   FileUtilsKtTest » SpecInstantiation Could not create instance of class org.jit...
[ERROR]   JibriSubprocessTest » SpecInstantiation Could not create instance of class org...
[ERROR]   LoggingUtilsKtTest » SpecInstantiation Could not create instance of class org....
[ERROR]   ProcessWrapperTest » SpecInstantiation Could not create instance of class org....
[ERROR]   RefreshingPropertyTest » SpecInstantiation Could not create instance of class ...
[ERROR]   TailLogicTest » SpecInstantiation Could not create instance of class org.jitsi...
[ERROR]   TeeLogicTest » SpecInstantiation Could not create instance of class org.jitsi....
[ERROR]   TeeTest » SpecInstantiation Could not create instance of class org.jitsi.jibri...
[ERROR]   XmppUtilsTest » SpecInstantiation Could not create instance of class org.jitsi...
[ERROR]   WebhookClientTest » SpecInstantiation Could not create instance of class org.j...
[INFO] 
[ERROR] Tests run: 110, Failures: 0, Errors: 19, Skipped: 10
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  34.254 s
[INFO] Finished at: 2021-04-07T08:53:53+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project jibri: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/dom/git/work/jitsi-jibri/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
mvn clean test  141.85s user 3.18s system 410% cpu 35.358 total

nodeg avatar Apr 07 '21 06:04 nodeg

Weird, we're not seeing any of those issues. What java version are you using?

bbaldino avatar Apr 10 '21 01:04 bbaldino

$ java --version                                                                                     
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-suse-2.1-x8664)
OpenJDK 64-Bit Server VM (build 11.0.10+9-suse-2.1-x8664, mixed mode)

nodeg avatar Apr 12 '21 06:04 nodeg

So I tried this today again and it works apparently:

[13:28:11] enno@localhost /home/enno/Sources/IntelliJ-Projects/jibri (0) 
> mvn dependency:analyze
...
[INFO] --- maven-compiler-plugin:3.8.1:compile (java-compile) @ jibri ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /home/enno/Sources/IntelliJ-Projects/jibri/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jibri ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] 
[INFO] --- kotlin-maven-plugin:1.4.31:test-compile (test-compile) @ jibri ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (java-test-compile) @ jibri ---
[INFO] No sources to compile
[INFO] 
[INFO] <<< maven-dependency-plugin:2.8:analyze (default-cli) < test-compile @ jibri <<<
[INFO] 
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:analyze (default-cli) @ jibri ---
[WARNING] Used undeclared dependencies found:
[WARNING]    org.jetbrains.kotlinx:kotlinx-coroutines-core:jar:1.4.2-native-mt:compile
[WARNING]    io.kotest:kotest-framework-api-jvm:jar:4.4.3:test
[WARNING]    io.kotest:kotest-common-jvm:jar:4.4.3:test
[WARNING]    io.ktor:ktor-utils-jvm:jar:1.5.2:compile
[WARNING]    org.seleniumhq.selenium:selenium-chrome-driver:jar:3.12.0:compile
[WARNING]    io.kotest:kotest-assertions-api-jvm:jar:4.4.3:test
[WARNING]    io.ktor:ktor-client-json-jvm:jar:1.5.2:compile
[WARNING]    org.bouncycastle:bcpkix-jdk15on:jar:1.54:compile
[WARNING]    io.ktor:ktor-client-core-jvm:jar:1.5.2:compile
[WARNING]    org.seleniumhq.selenium:selenium-api:jar:3.12.0:compile
[WARNING]    org.igniterealtime.smack:smack-core:jar:4.2.4-47d17fc:compile
[WARNING]    io.ktor:ktor-http-jvm:jar:1.5.2:compile
[WARNING]    org.seleniumhq.selenium:selenium-remote-driver:jar:3.12.0:compile
[WARNING]    org.jxmpp:jxmpp-jid:jar:0.6.2:compile
[WARNING]    io.mockk:mockk-dsl-jvm:jar:1.10.0:test
[WARNING]    io.kotest:kotest-assertions-shared-jvm:jar:4.4.3:test
[WARNING]    org.igniterealtime.smack:smack-extensions:jar:4.2.4-47d17fc:compile
[WARNING]    io.ktor:ktor-server-host-common:jar:1.5.2:compile
[WARNING]    com.fasterxml.jackson.core:jackson-databind:jar:2.9.5:compile
[WARNING]    org.jetbrains:annotations:jar:13.0:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.jetbrains.kotlin:kotlin-reflect:jar:1.4.31:compile
[WARNING]    org.seleniumhq.selenium:selenium-java:jar:3.12.0:compile
[WARNING]    com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.9.5:compile
[WARNING]    org.eclipse.jetty:jetty-util:jar:9.4.24.v20191120:compile
[WARNING]    org.jitsi:jitsi-util:jar:2.13.df50add:compile
[WARNING]    io.kotest:kotest-runner-junit5-jvm:jar:4.4.3:test
[WARNING]    org.jdom:jdom2:jar:2.0.6:test
[WARNING]    net.bytebuddy:byte-buddy:jar:1.10.0:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:27 min
[INFO] Finished at: 2021-04-12T13:27:37+02:00
[INFO] ------------------------------------------------------------------------

To be honest I didn't change anything. Maybe my setup is now "optimal" enough to not fail but I agree that the dependency tree could be optimized in a way that we are more reliant on Maven Central. I consider repositories like your Github one or Jitpack.io good for a quick development test but for production things, I have more faith in Maven Central then Jitpack.io things.

EDIT: This is just my personal opinion, may be wrong or weird but I just wanted to give it to protocol.

SchoolGuy avatar Apr 12 '21 11:04 SchoolGuy

I am on 204354dc060cea694cde6ffe9903f3c180487a56 right now and mvn dependency:analyze works, too but mvn clean test still fails as shown above.

nodeg avatar Apr 12 '21 11:04 nodeg

I can confirm that this doesn't work. But I have totally different failures. Full output see https://gist.github.com/SchoolGuy/8faf4fcbdcf8d64f95a6baee9e9e2de5

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   CallUrlInfoTest » NullPointer Can not set a null value for an Attribute
[ERROR]   HttpApiTest » NullPointer Can not set a null value for an Attribute
[ERROR]   InternalHttpApiTest » NullPointer Can not set a null value for an Attribute
[ERROR]   XmppApiTest » NullPointer Can not set a null value for an Attribute
[ERROR]   FfmpegCapturerTest » NullPointer Can not set a null value for an Attribute
[ERROR]   OutputParserTest » NullPointer Can not set a null value for an Attribute
[ERROR]   SeleniumStateMachineTest » NullPointer Can not set a null value for an Attribu...
[ERROR]   EmptyCallStatusCheckTest » NullPointer Can not set a null value for an Attribu...
[ERROR]   MediaReceivedStatusCheckTest » NullPointer Can not set a null value for an Att...
[ERROR]   AppDataTest » NullPointer Can not set a null value for an Attribute
[ERROR]   FileSinkTest » NullPointer Can not set a null value for an Attribute
[ERROR]   FileUtilsKtTest » NullPointer Can not set a null value for an Attribute
[ERROR]   JibriSubprocessTest » NullPointer Can not set a null value for an Attribute
[ERROR]   LoggingUtilsKtTest » NullPointer Can not set a null value for an Attribute
[ERROR]   ProcessWrapperTest » NullPointer Can not set a null value for an Attribute
[ERROR]   RefreshingPropertyTest » NullPointer Can not set a null value for an Attribute
[ERROR]   TailLogicTest » NullPointer Can not set a null value for an Attribute
[ERROR]   TeeLogicTest » NullPointer Can not set a null value for an Attribute
[ERROR]   TeeTest » NullPointer Can not set a null value for an Attribute
[ERROR]   XmppUtilsTest » NullPointer Can not set a null value for an Attribute
[ERROR]   WebhookClientTest » NullPointer Can not set a null value for an Attribute
[INFO] 
[ERROR] Tests run: 266, Failures: 0, Errors: 21, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  36.231 s
[INFO] Finished at: 2021-04-12T13:43:09+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project jibri: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/enno/Sources/IntelliJ-Projects/jibri/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Above see my results. I guess those are normal test failures and not dependency problems as this PR tries to solve? 🤔

SchoolGuy avatar Apr 12 '21 11:04 SchoolGuy

Well we still only technically support java 8, so that might be the problem. I can do mvn clean verify just fine on master on my machine, even after wiping out the maven cache so not sure what else might be causing those issues. I'd try the Java version change first.

bbaldino avatar Apr 13 '21 21:04 bbaldino

@bbaldino I hope you are aware that the Oracle Java 8 is EOL and Debian doesn't support Java 8 neither. Redhat will end support at 2026 and SUSE will also not support it indefinitely. Thus what is missing to support a non EOL Java version?

SchoolGuy avatar Apr 14 '21 05:04 SchoolGuy