Skip to content
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

htmlSanityCheck hangs on Windows 10(with Git Bash) - but works on Linux (Ubuntu 20.04.2 LTS) #290

Open
Rosi2143 opened this issue May 17, 2021 · 6 comments
Labels
triage Issue needs to be checked for validity (and be closed/timed out after some time).

Comments

@Rosi2143
Copy link
Contributor

When I run gradle generateLinkCheck -d it gets stuck with below trace.

Windows: Gradle 6.6.1, Git Bash v2.28
2021-05-17T16:18:44.631+0200 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] Redirected from https://__DELETED__>/confluence/display/__DELETED__>/__DELETED__> to https://__DELETED__>/pkmsvouchfor?RB-SSO&https://__DELETED__>/confluence/display/__DELETED__>/__DELETED__> 2021-05-17T16:18:44.632+0200 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@4af964cd5 pairs: {CONNECT __DELETED__>:443 HTTP/1.1: null}{User-Agent: Java/1.8.0_271}{Host: __DELETED__>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive} 2021-05-17T16:18:44.647+0200 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@4a837b6f1 pairs: {null: HTTP/1.1 200 Connection established} 2021-05-17T16:18:44.683+0200 [DEBUG] [jdk.event.security] TLSHandshake: __DELETED__>:3128, TLSv1.2, TLS_RSA_WITH_AES_128_GCM_SHA256, 234351206 2021-05-17T16:18:44.683+0200 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@5c4a0c066 pairs: {HEAD /pkmsvouchfor?RB-SSO&https://__DELETED__>/confluence/display/__DELETED__>/__DELETED__> HTTP/1.1: null}{Referer: https://aim42.org}{User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0}{Host: __DELETED__>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive} 2021-05-17T16:18:44.694+0200 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@4a837b6f9 pairs: {null: HTTP/1.1 401 Unauthorized}{content-length: 8561}{content-type: text/html}{date: Mon, 17 May 2021 14:18:44 GMT}{p3p: CP="NON CUR OTPi OUR NOR UNI"}{www-authenticate: Negotiate}{cache-control: no-store}{pragma: no-cache}{Set-Cookie: PD-S-SESSION-ID=1_2_0_Ffcp6HxDUvT86BZR2zgJ-XRjp5cMK8OseBvmOV7m2Om5iCfM; Path=/; Secure} 2021-05-17T16:18:44.695+0200 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@418cb47a5 pairs: {CONNECT __DELETED__>:443 HTTP/1.1: null}{User-Agent: Java/1.8.0_271}{Host: __DELETED__>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive} 2021-05-17T16:18:44.711+0200 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@1005e7271 pairs: {null: HTTP/1.1 200 Connection established} 2021-05-17T16:18:45.842+0200 [LIFECYCLE] [org.gradle.cache.internal.DefaultFileLockManager] 2021-05-17T16:18:45.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:18:45.843+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:18:45.843+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:18:45.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:18:45.846+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:18:45.846+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:18:55.840+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:18:55.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:18:55.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:18:55.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:18:55.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:18:55.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:05.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:05.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:05.846+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:05.849+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:05.849+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:05.850+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:15.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:15.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:15.843+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:15.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:15.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:15.846+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:25.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:25.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:25.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:25.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:25.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:25.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:35.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:35.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:35.841+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:35.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:35.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:35.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:45.844+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:45.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:45.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:45.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T16:19:45.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T16:19:45.845+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T16:19:55.842+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.

Linux: Gradle 6.6.1
2021-05-17T14:31:42.814+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@465759989 pairs: {null: HTTP/1.1 302 Moved Temporarily}{content-length: 4723}{content-type: text/html}{date: Mon, 17 May 2021 14:31:42 GMT}{location: https://__DELETED__>/pkmsvouchfor?RB-SSO&https://__DELETED__>/confluence/pages/viewpage.action?pageId=645424623}{p3p: CP="NON CUR OTPi OUR NOR UNI"}{cache-control: no-store}{pragma: no-cache}{Set-Cookie: PD-S-SESSION-ID=1_2_0_YNprFgQP6xvQVbwfgUuTkE+c1kqEIY3mlaLOGB+U0C+L0bAQ; Path=/; Secure} 2021-05-17T14:31:42.815+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] Redirected from https://__DELETED__>/confluence/pages/viewpage.action?pageId=645424623 to https://__DELETED__>/pkmsvouchfor?RB-SSO&https://__DELETED__>/confluence/pages/viewpage.action?pageId=645424623 2021-05-17T14:31:42.816+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@fda28fd5 pairs: {CONNECT __DELETED__>:443 HTTP/1.1: null}{User-Agent: Java/1.8.0_275}{Host: __DELETED__>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive} 2021-05-17T14:31:42.850+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@73bd3b071 pairs: {null: HTTP/1.1 200 Connection established} 2021-05-17T14:31:42.902+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@6db5f9ea6 pairs: {HEAD /pkmsvouchfor?RB-SSO&https://__DELETED__>/confluence/pages/viewpage.action?pageId=645424623 HTTP/1.1: null}{Referer: https://aim42.org}{User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0}{Host: __DELETED__>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive} 2021-05-17T14:31:42.914+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@73bd3b079 pairs: {null: HTTP/1.1 401 Unauthorized}{content-length: 8561}{content-type: text/html}{date: Mon, 17 May 2021 14:31:42 GMT}{p3p: CP="NON CUR OTPi OUR NOR UNI"}{www-authenticate: Negotiate}{cache-control: no-store}{pragma: no-cache}{Set-Cookie: PD-S-SESSION-ID=1_2_0_E8epfTYvy1GqpTZEwDe2yCVd7JRBNAVw7bHa+eJzBweCYbUh; Path=/; Secure} 2021-05-17T14:31:42.916+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@7fb81c2f5 pairs: {CONNECT __DELETED__>:443 HTTP/1.1: null}{User-Agent: Java/1.8.0_275}{Host: __DELETED__>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive} 2021-05-17T14:31:42.950+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@654775dc1 pairs: {null: HTTP/1.1 200 Connection established} 2021-05-17T14:31:42.961+0000 [LIFECYCLE] [org.gradle.cache.internal.DefaultFileLockManager] 2021-05-17T14:31:42.961+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T14:31:42.962+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T14:31:42.963+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T14:31:42.964+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 2021-05-17T14:31:42.964+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. 2021-05-17T14:31:42.965+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry. 2021-05-17T14:31:42.947+0000 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] 2021-05-17T14:31:42.947+0000 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :docToolchain:htmlSanityCheck 2021-05-17T14:31:43.117+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@6182bc1d6 pairs: {GET /confluence/pages/viewpage.action?pageId=645424623 HTTP/1.1: null}{Referer: https://aim42.org}{User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0}{Host: __DELETED__>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive} 2021-05-17T14:31:43.134+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@654775dc9 pairs: {null: HTTP/1.1 302 Moved Temporarily}{content-length: 4723}{content-type: text/html}{date: Mon, 17 May 2021 14:31:43 GMT}{location: https://<__DELETED__>/pkmsvouchfor?RB-SSO&https://<__DELETED__>/confluence/pages/viewpage.action?pageId=645424623}{p3p: CP="NON CUR OTPi OUR NOR UNI"}{cache-control: no-store}{pragma: no-cache}{Set-Cookie: PD-S-SESSION-ID=1_2_0_OnSHdueau-RCLjlGQxn1F9CXLrtF4GFRDrVJHJalDlp4Lezv; Path=/; Secure} 2021-05-17T14:31:43.135+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] Redirected from https://<__DELETED__>/confluence/pages/viewpage.action?pageId=645424623 to https://<__DELETED__>/pkmsvouchfor?RB-SSO&https://<__DELETED__>/confluence/pages/viewpage.action?pageId=645424623 2021-05-17T14:31:43.136+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@5e649d665 pairs: {CONNECT <__DELETED__>:443 HTTP/1.1: null}{User-Agent: Java/1.8.0_275}{Host: <__DELETED__>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive} 2021-05-17T14:31:43.168+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@53eae31 pairs: {null: HTTP/1.1 200 Connection established} 2021-05-17T14:31:43.217+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@6182bc1d6 pairs: {GET /pkmsvouchfor?RB-SSO&https://<__DELETED__>/confluence/pages/viewpage.action?pageId=645424623 HTTP/1.1: null}{Referer: https://aim42.org}{User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0}{Host: __DELETED__>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive} 2021-05-17T14:31:43.241+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@53eae39 pairs: {null: HTTP/1.1 401 Unauthorized}{content-length: 8561}{content-type: text/html}{date: Mon, 17 May 2021 14:31:43 GMT}{p3p: CP="NON CUR OTPi OUR NOR UNI"}{www-authenticate: Negotiate}{cache-control: no-store}{pragma: no-cache}{Set-Cookie: PD-S-SESSION-ID=1_2_0_T+c+wkimhtWZ8Jsry+Mu1p+fZbalDawf-T5ftZ3+m36HRjW8; Path=/; Secure}

@rdmueller
Copy link
Collaborator

looks like a gradle problem to me.
Have you tried

gradle --stop

to stop all deamons or even re-installing gradle?

@Rosi2143
Copy link
Contributor Author

no - I will do that though.

I post the results tomorrow.

@Rosi2143
Copy link
Contributor Author

Short intermediate result:

$ gradle --stop
No Gradle daemons are running.

did not help.

The problem remains,

I will try to install an gradle again.

@rdmueller
Copy link
Collaborator

can you please also retry with the wrapper?

./gradlew generateLinkCheck -d

this will use a newer gradle version.

I just gave it a try with wsl2 and git bash and both environments work for me

@ascheman ascheman added the triage Issue needs to be checked for validity (and be closed/timed out after some time). label Jan 28, 2024
@ascheman
Copy link
Member

@Rosi2143 could you please give a little more context?
I cannot see a Gradle task named generateLinkCheck.
And could you perhaps check whether the problem still exists?

@ascheman
Copy link
Member

Without any updates during the last ~7 months, I will close the bug unless we receive more details until 2024-08-28.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issue needs to be checked for validity (and be closed/timed out after some time).
Projects
None yet
Development

No branches or pull requests

3 participants