-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem on MaxUsersTest #302
Comments
I have the same problem. |
Hello @damencho Are you working on this project ? It seems we have a blocker unresolved issue here. Thank you in advance ! |
I never solved this issue.. Ive installed the new torture version and now MaxUsersTest is in the default exclude list.... |
Same here. Only 3 participants works. When torture try to add the 4th participant, it crashes. More information bellow: Apache Maven Version
Java version
Command executed: mvn test -Djitsi-meet.instance.url="https://meet.example.com" -Djitsi-meet.tests.toRun="MaxUsersTest" Output:
|
Ok, i've just tried something... and it worked!
I couldn’t find any documentation here and, like I said before, I’m not a developer. So, there’s probably a way to change its values via the command line, as a parameter for the Maven run command. |
There is no point of having this configurable ... as this needs to be changed and server side.
This is a manual test, where you modify server to allow max of 3 people, you restart prosody and then run the test. |
And I think we have not ran this test in a while, so maybe its broken. I will take a note and will delete it when I have time. |
I think we’re not on the same page. What I’m talking about is the need to run a heavier test by adding more than 3 simultaneous users during the Jitsi Meet Torture tests. I didn’t know that server-side changes were necessary. And I believe there’s no need for that. The error we showed was from Jitsi Meet Torture, not from the server. Also, my comment was that I couldn’t find any other way to change the value from 3 to another number without manually editing the file. That’s all. The tests are running fine |
So you seem to misunderstood what does this test do then. This tests this functionality: https://github.com/jitsi/jitsi-meet/blob/master/resources/prosody-plugins/mod_muc_max_occupants.lua |
Ok. Got it. But my intention was to use Jitsi Meet Torture to stress test my server, lol. And i think that some users above has the same intention. |
Search the forum for jitsi-meet-load-test, how to enable that and you will need a selenium grid with many machines and you can use then the script: https://github.com/jitsi/jitsi-meet-torture/blob/master/scripts/malleus.sh |
Use the forum to ask questions and look for help. |
I run ;
mvn test -Djitsi-meet.instance.url="https://xxxxxxxl" -Djitsi-meet.tests.toRun="MaxUsersTest"
I see the first 3 participants joining but then....
[11] Closing web.participant4
[11] TestFailure:
org.openqa.selenium.InvalidArgumentException: invalid argument
(Session info: chrome=84.0.4147.125)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'Spiderman', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-112-generic', java.version: '1.8.0_265'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 84.0.4147.125, chrome: {chromedriverVersion: 84.0.4147.30 (48b3e868b4cc0..., userDataDir: /tmp/.com.google.Chrome.RvjFQk}, goog:chromeOptions: {debuggerAddress: localhost:41297}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:virtualAuthenticators: true}
Session ID: 85bc31cbc39ab30687a250854e2d048a
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:277)
at org.jitsi.meet.test.web.WebParticipant.doJoinConference(WebParticipant.java:140)
at org.jitsi.meet.test.base.Participant.joinConference(Participant.java:152)
at org.jitsi.meet.test.base.Participant.joinConference(Participant.java:122)
at org.jitsi.meet.test.MaxUsersTest.enterWithMaxParticipantsAndCheckDialog(MaxUsersTest.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:571)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:979)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
org.openqa.selenium.NoSuchSessionException: Session ID is null. Using WebDriver after calling quit()?
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'Spiderman', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-112-generic', java.version: '1.8.0_265'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:125)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:609)
at org.openqa.selenium.remote.RemoteWebDriver.getScreenshotAs(RemoteWebDriver.java:295)
at org.jitsi.meet.test.base.Participant.takeScreenshot(Participant.java:472)
at org.jitsi.meet.test.base.FailureListener.lambda$takeScreenshots$0(FailureListener.java:257)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.jitsi.meet.test.base.FailureListener.takeScreenshots(FailureListener.java:256)
at org.jitsi.meet.test.base.FailureListener.onTestFailure(FailureListener.java:198)
at org.testng.internal.TestListenerHelper.runTestListeners(TestListenerHelper.java:67)
at org.testng.internal.Invoker.runTestListeners(Invoker.java:1379)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:624)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:707)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:979)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[11] End enterWithMaxParticipantsAndCheckDialog.
[11] Closing web.participant1
[11] Closing web.participant2
[11] Closing web.participant4
[ERROR] Tests run: 319, Failures: 1, Errors: 0, Skipped: 318, Time elapsed: 14.453 s <<< FAILURE! - in TestSuite
[ERROR] enterWithMaxParticipantsAndCheckDialog(org.jitsi.meet.test.MaxUsersTest) Time elapsed: 2.308 s <<< FAILURE!
org.openqa.selenium.InvalidArgumentException:
invalid argument
(Session info: chrome=84.0.4147.125)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'Spiderman', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-112-generic', java.version: '1.8.0_265'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 84.0.4147.125, chrome: {chromedriverVersion: 84.0.4147.30 (48b3e868b4cc0..., userDataDir: /tmp/.com.google.Chrome.RvjFQk}, goog:chromeOptions: {debuggerAddress: localhost:41297}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:virtualAuthenticators: true}
Session ID: 85bc31cbc39ab30687a250854e2d048a
at org.jitsi.meet.test.MaxUsersTest.enterWithMaxParticipantsAndCheckDialog(MaxUsersTest.java:92)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] MaxUsersTest.enterWithMaxParticipantsAndCheckDialog:92 » InvalidArgument inval...
[INFO]
[ERROR] Tests run: 319, Failures: 1, Errors: 0, Skipped: 318
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.504 s
[INFO] Finished at: 2020-08-13T18:06:20+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20:test (default-test) on project jitsi-meet-torture: There are test failures.
[ERROR]
[ERROR] Please refer to /home/jsmadeu/jitsi/jitsi-meet-torture/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].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
Please can you tell me what is happening=?
I see that when participant4 start it start without the domain see..
[26] ChromeDriver created for:486 ms.
[11] Started chrome driver for prefix: web.participant2
[11] web.participant2 is opening URL: **https://XXXXXXX/**torture602401#config.testing.testMode=true&config.disableNS=true&config.disableAEC=true&config.analytics.disabled=true&config.prejoinPageEnabled=false&interfaceConfig.SHOW_CHROME_EXTENSION_BANNER=false&config.disable1On1Mode=true&config.alwaysVisibleToolbar=true&config.p2p.useStunTurn=false&config.p2p.enabled=false&config.requireDisplayName=false&config.gatherStats=true&config.pcStatsInterval=1500&config.debug=true&config.enableTalkWhileMuted=false&config.callStatsID=false&interfaceConfig.DISABLE_FOCUS_INDICATOR=true
[11] web.participant2 lib-jitsi-meet version: development sessionID: 4da39329f270ec43c9a39cbb3b522b85
[11] Start enterWithMaxParticipantsAndCheckDialog.
[11] No participant type specified for prefix: web.participant4, will use Chrome...
Starting ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}) on port 7345
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Aug 13, 2020 7:59:33 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
[33] ChromeDriver created for:822 ms.
[11] Started chrome driver for prefix: web.participant4
[11] web.participant4 is opening URL: null/torture602401#config.testing.testMode=true&config.disableNS=true&config.disableAEC=true&config.analytics.disabled=true&config.prejoinPageEnabled=false&interfaceConfig.SHOW_CHROME_EXTENSION_BANNER=false&config.disable1On1Mode=true&config.alwaysVisibleToolbar=true&config.p2p.useStunTurn=false&config.p2p.enabled=false&config.requireDisplayName=false&config.gatherStats=true&config.pcStatsInterval=1500&config.debug=true&config.enableTalkWhileMuted=false&config.callStatsID=false&interfaceConfig.DISABLE_FOCUS_INDICATOR=true
[11] Closing web.participant4
[11] TestFailure:
org.openqa.selenium.InvalidArgumentException: invalid argument
The text was updated successfully, but these errors were encountered: