You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/06 08:52:10 UTC
[GitHub] [netbeans] vieiro opened a new issue #3716: java/java.lsp.server ConnectionSpecTest improvements
vieiro opened a new issue #3716:
URL: https://github.com/apache/netbeans/issues/3716
### Apache NetBeans version
Apache NetBeans latest daily build
### What happened
ConnectionSpectTest launches a dummy server on port 0, this generates 441 failed connections in a loop in my box. Test fails afterwards.
### How to reproduce
Difficult to reproduce. What I tried: get a fresh clone, set JDK8 on your $PATH/$JAVA_HOME, do an "ant build" and then test the "java/java.lsp.server" module.
```
export OPTS="-Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json -quiet -Dcluster.config=java -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest-unit-sys-prop.ignore.random.failures=true"
echo "OPTS"
ant $OPTS build
ant $OPTS -f java/java.lsp.server test | tee java.lsp.server.test.-log.txt
```
Will try to attach a file if github/issues allows it.
### Did this work correctly in an earlier version?
No
### Operating System
Linux fenix 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux
### JDK
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
### Apache NetBeans packaging
Own source build
### Anything else
_No response_
### Are you willing to submit a pull request?
Yes
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] vieiro commented on issue #3716: java/java.lsp.server ConnectionSpecTest improvements
Posted by GitBox <gi...@apache.org>.
vieiro commented on issue #3716:
URL: https://github.com/apache/netbeans/issues/3716#issuecomment-1059921601
An example of the failed connection in the "while(true)" loop. PR in a minute.
[connection-spect-stacktrace.txt](https://github.com/apache/netbeans/files/8192225/connection-spect-stacktrace.txt)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] vieiro commented on issue #3716: java/java.lsp.server test improvements
Posted by GitBox <gi...@apache.org>.
vieiro commented on issue #3716:
URL: https://github.com/apache/netbeans/issues/3716#issuecomment-1059949794
There's a "java-level" deadlock in one of the java.lsp.server tests:
```
Found one Java-level deadlock:
=============================
"OpenIDE-request-processor-0":
waiting to lock monitor 0x00007f25e4003988 (object 0x00000000feaa40e0, a java.lang.Class),
which is held by "Test Watch Dog: testDidOpenPreservesLines"
"Test Watch Dog: testDidOpenPreservesLines":
waiting to lock monitor 0x00007f25ec01fe78 (object 0x00000000fea93238, a java.lang.Class),
which is held by "Thread-1"
"Thread-1":
waiting to lock monitor 0x00007f25ec0229c8 (object 0x00000000fe987a08, a java.lang.Class),
which is held by "Test Watch Dog: testDidOpenPreservesLines"
```
Attaching a detailed `jstack` file
[jstack-2.txt](https://github.com/apache/netbeans/files/8192490/jstack-2.txt)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] vieiro commented on issue #3716: java/java.lsp.server ConnectionSpecTest improvements
Posted by GitBox <gi...@apache.org>.
vieiro commented on issue #3716:
URL: https://github.com/apache/netbeans/issues/3716#issuecomment-1059925123
PR is https://github.com/apache/netbeans/pull/3717 (still learning how to link issues/PRs).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists