saxenapranav opened a new pull request, #6022: URL: https://github.com/apache/hadoop/pull/6022
This is inline to JDK bug: https://bugs.openjdk.org/browse/JDK-8314978. ``` With the current implementation of HttpURLConnection if server rejects the “Expect 100-continue” then there will be ‘java.net.ProtocolException’ will be thrown from 'expect100Continue()' method. After the exception thrown, If we call any other method on the same instance (ex getHeaderField(), or getHeaderFields()). They will internally call getOuputStream() which invokes writeRequests(), which make the actual server call. ``` In the AbfsHttpOperation, after `sendRequest()` we call `processResponse()` method from AbfsRestOperation. Even if the `conn.getOutputStream()` fails due to expect-100 error, we consume the exception and let the code go ahead. So, we can have `getHeaderField() / getHeaderFields() / getHeaderFieldLong()` which will be triggered after getOutputStream is failed. These invocation will lead to server calls. This pr aims to prevent this. In the solution, if `conn.getOutputStream()` is failed due to expect100 error, we will not invoke any getHeaderField(), getHeaderFields(), getHeaderFieldLong(), getInputStream(). getResponseCode() is safe, reason being, when expect100 fails, it sets the `responseCode` variable in HttpUrlConnection object. This would be just a getter for that. For a network trace without the change: ``` 5 0.142086360 172.23.52.98 destIP TCP 74 39136 → 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 SACK_PERM=1 TSval=1781184980 TSecr=0 WS=128 6 0.406280291 destIP 172.23.52.98 TCP 74 80 → 39136 [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1382 WS=256 SACK_PERM=1 TSval=319271110 TSecr=1781184980 7 0.406351827 172.23.52.98 destIP TCP 66 39136 → 80 [ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=1781185245 TSecr=319271110 8 0.407531414 172.23.52.98 destIP HTTP 757 HEAD /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35/?upn=false&action=getAccessControl&timeout=90 HTTP/1.1 9 0.693841396 destIP 172.23.52.98 HTTP 439 HTTP/1.1 404 The specified filesystem does not exist. 10 0.693971718 172.23.52.98 destIP TCP 66 39136 → 80 [ACK] Seq=692 Ack=374 Win=64128 Len=0 TSval=1781185532 TSecr=319271397 11 0.708788746 172.23.52.98 destIP HTTP 749 PUT /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35?resource=filesystem HTTP/1.1 12 0.991785314 destIP 172.23.52.98 HTTP 491 HTTP/1.1 201 Created 13 0.998058917 172.23.52.98 destIP HTTP 757 HEAD /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35/?upn=false&action=getAccessControl&timeout=90 HTTP/1.1 14 1.267797981 destIP 172.23.52.98 HTTP 557 HTTP/1.1 200 OK 15 1.274578413 172.23.52.98 destIP HTTP 757 HEAD /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35/?upn=false&action=getAccessControl&timeout=90 HTTP/1.1 16 1.543548701 destIP 172.23.52.98 HTTP 557 HTTP/1.1 200 OK 17 1.545823557 172.23.52.98 destIP HTTP 757 HEAD /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35/?upn=false&action=getAccessControl&timeout=90 HTTP/1.1 18 1.814563855 destIP 172.23.52.98 TCP 557 HTTP/1.1 200 OK [TCP segment of a reassembled PDU] 19 1.826613859 172.23.52.98 destIP HTTP 859 PUT /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35/testFile?resource=file&timeout=90 HTTP/1.1 20 2.116730928 destIP 172.23.52.98 HTTP 534 HTTP/1.1 201 Created 21 2.158365868 172.23.52.98 destIP TCP 66 39136 → 80 [ACK] Seq=4241 Ack=2740 Win=64128 Len=0 TSval=1781186997 TSecr=319272818 22 2.581496505 172.23.52.98 destIP HTTP 748 DELETE /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35/testFile?timeout=90&recursive=true HTTP/1.1 23 2.886932631 destIP 172.23.52.98 TCP 66 80 → 39136 [ACK] Seq=2740 Ack=4923 Win=4194048 Len=0 TSval=319273590 TSecr=1781187420 24 2.901021138 destIP 172.23.52.98 HTTP 383 HTTP/1.1 200 OK 25 2.901046157 172.23.52.98 destIP TCP 66 39136 → 80 [ACK] Seq=4923 Ack=3057 Win=64128 Len=0 TSval=1781187739 TSecr=319273604 26 2.956474618 172.23.52.98 destIP TCP 875 39136 → 80 [PSH, ACK] Seq=4923 Ack=3057 Win=64128 Len=809 TSval=1781187795 TSecr=319273604 [TCP segment of a reassembled PDU] 27 3.225279700 destIP 172.23.52.98 HTTP 705 HTTP/1.1 404 The specified path does not exist. (application/json) 28 3.225405611 172.23.52.98 destIP TCP 66 39136 → 80 [ACK] Seq=5732 Ack=3696 Win=64128 Len=0 TSval=1781188064 TSecr=319273929 29 3.228496580 172.23.52.98 destIP TCP 66 39136 → 80 [FIN, ACK] Seq=5732 Ack=3696 Win=64128 Len=0 TSval=1781188067 TSecr=319273929 30 3.231326553 172.23.52.98 destIP TCP 74 39140 → 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 SACK_PERM=1 TSval=1781188069 TSecr=0 WS=128 31 3.492556381 destIP 172.23.52.98 TCP 66 80 → 39136 [FIN, ACK] Seq=3696 Ack=5733 Win=4194816 Len=0 TSval=319274196 TSecr=1781188067 32 3.492645495 172.23.52.98 destIP TCP 66 39136 → 80 [ACK] Seq=5733 Ack=3697 Win=64128 Len=0 TSval=1781188331 TSecr=319274196 33 3.518220245 destIP 172.23.52.98 TCP 74 80 → 39140 [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1382 WS=256 SACK_PERM=1 TSval=18859275 TSecr=1781188069 34 3.518363056 172.23.52.98 destIP TCP 66 39140 → 80 [ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=1781188356 TSecr=18859275 35 3.519083310 172.23.52.98 destIP TCP 875 39140 → 80 [PSH, ACK] Seq=1 Ack=1 Win=64256 Len=809 TSval=1781188357 TSecr=18859275 [TCP segment of a reassembled PDU] 36 3.830618140 destIP 172.23.52.98 HTTP 705 HTTP/1.1 404 The specified path does not exist. (application/json) 37 3.830733919 172.23.52.98 destIP TCP 66 39140 → 80 [ACK] Seq=810 Ack=640 Win=64128 Len=0 TSval=1781188669 TSecr=18859590 38 3.831373010 172.23.52.98 destIP TCP 66 39140 → 80 [FIN, ACK] Seq=810 Ack=640 Win=64128 Len=0 TSval=1781188669 TSecr=18859590 39 3.831967651 172.23.52.98 destIP TCP 74 39156 → 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 SACK_PERM=1 TSval=1781188670 TSecr=0 WS=128 40 4.115817908 destIP 172.23.52.98 TCP 66 80 → 39140 [FIN, ACK] Seq=640 Ack=811 Win=4194048 Len=0 TSval=18859875 TSecr=1781188669 41 4.115879981 172.23.52.98 destIP TCP 66 39140 → 80 [ACK] Seq=811 Ack=641 Win=64128 Len=0 TSval=1781188954 TSecr=18859875 42 4.121529233 destIP 172.23.52.98 TCP 74 80 → 39156 [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1382 WS=256 SACK_PERM=1 TSval=23717985 TSecr=1781188670 43 4.121609949 172.23.52.98 destIP TCP 66 39156 → 80 [ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=1781188960 TSecr=23717985 44 4.122292862 172.23.52.98 destIP TCP 875 39156 → 80 [PSH, ACK] Seq=1 Ack=1 Win=64256 Len=809 TSval=1781188960 TSecr=23717985 [TCP segment of a reassembled PDU] 45 4.434571696 destIP 172.23.52.98 HTTP 705 HTTP/1.1 404 The specified path does not exist. (application/json) 46 4.434664225 172.23.52.98 destIP TCP 66 39156 → 80 [ACK] Seq=810 Ack=640 Win=64128 Len=0 TSval=1781189273 TSecr=23718297 47 4.435266699 172.23.52.98 destIP TCP 66 39156 → 80 [FIN, ACK] Seq=810 Ack=640 Win=64128 Len=0 TSval=1781189273 TSecr=23718297 48 4.436081862 172.23.52.98 destIP TCP 74 45562 → 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 SACK_PERM=1 TSval=1781189274 TSecr=0 WS=128 49 4.721273997 destIP 172.23.52.98 TCP 74 80 → 45562 [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1382 WS=256 SACK_PERM=1 TSval=56001711 TSecr=1781189274 50 4.721364536 172.23.52.98 destIP TCP 66 45562 → 80 [ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=1781189560 TSecr=56001711 51 4.721934469 172.23.52.98 destIP TCP 875 45562 → 80 [PSH, ACK] Seq=1 Ack=1 Win=64256 Len=809 TSval=1781189560 TSecr=56001711 [TCP segment of a reassembled PDU] 52 4.724957968 destIP 172.23.52.98 TCP 66 80 → 39156 [FIN, ACK] Seq=640 Ack=811 Win=4194048 Len=0 TSval=23718588 TSecr=1781189273 53 4.725019405 172.23.52.98 destIP TCP 66 39156 → 80 [ACK] Seq=811 Ack=641 Win=64128 Len=0 TSval=1781189563 TSecr=23718588 54 5.030518244 destIP 172.23.52.98 HTTP 705 HTTP/1.1 404 The specified path does not exist. (application/json) 55 5.030595290 172.23.52.98 destIP TCP 66 45562 → 80 [ACK] Seq=810 Ack=640 Win=64128 Len=0 TSval=1781189869 TSecr=56002019 56 5.031295540 172.23.52.98 destIP TCP 66 45562 → 80 [FIN, ACK] Seq=810 Ack=640 Win=64128 Len=0 TSval=1781189869 TSecr=56002019 57 5.043122659 172.23.52.98 destIP TCP 74 45576 → 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 SACK_PERM=1 TSval=1781189881 TSecr=0 WS=128 58 5.306922261 destIP 172.23.52.98 TCP 74 80 → 45576 [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1382 WS=256 SACK_PERM=1 TSval=18930575 TSecr=1781189881 59 5.307022478 172.23.52.98 destIP TCP 66 45576 → 80 [ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=1781190145 TSecr=18930575 60 5.307623226 172.23.52.98 destIP TCP 839 45576 → 80 [PSH, ACK] Seq=1 Ack=1 Win=64256 Len=773 TSval=1781190146 TSecr=18930575 [TCP segment of a reassembled PDU] 61 5.307872383 172.23.52.98 destIP HTTP 67 PUT /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35/testFile?action=append&position=0&timeout=90 HTTP/1.1 () 62 5.315648778 destIP 172.23.52.98 TCP 66 80 → 45562 [FIN, ACK] Seq=640 Ack=811 Win=4194048 Len=0 TSval=56002306 TSecr=1781189869 63 5.315667918 172.23.52.98 destIP TCP 66 45562 → 80 [ACK] Seq=811 Ack=641 Win=64128 Len=0 TSval=1781190154 TSecr=56002306 64 5.572902437 destIP 172.23.52.98 TCP 66 80 → 45576 [ACK] Seq=1 Ack=775 Win=4194048 Len=0 TSval=18930841 TSecr=1781190146 65 5.598836169 destIP 172.23.52.98 HTTP 705 HTTP/1.1 404 The specified path does not exist. (application/json) 66 5.598888161 172.23.52.98 destIP TCP 66 45576 → 80 [ACK] Seq=775 Ack=640 Win=64128 Len=0 TSval=1781190437 TSecr=18930863 67 5.699229839 172.23.52.98 destIP HTTP 744 DELETE /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35?resource=filesystem&timeout=90 HTTP/1.1 68 5.972612009 destIP 172.23.52.98 HTTP 389 HTTP/1.1 202 Accepted 69 5.972718779 172.23.52.98 destIP TCP 66 45576 → 80 [ACK] Seq=1453 Ack=963 Win=64128 Len=0 TSval=1781190811 TSecr=18931238 70 5.977179900 172.23.52.98 destIP HTTP 742 HEAD /abfs-testcontainer-432c7dc8-6a56-4e9e-afe2-4883d311cf35?resource=filesystem&timeout=90 HTTP/1.1 71 6.244445935 destIP 172.23.52.98 HTTP 439 HTTP/1.1 404 The specified filesystem does not exist. 72 6.286405178 172.23.52.98 destIP TCP 66 45576 → 80 [ACK] Seq=2129 Ack=1336 Win=64128 Len=0 TSval=1781191125 TSecr=18931512 73 6.601725590 172.23.52.98 destIP TCP 66 45576 → 80 [FIN, ACK] Seq=2129 Ack=1336 Win=64128 Len=0 TSval=1781191440 TSecr=18931512 74 6.865463878 destIP 172.23.52.98 TCP 66 80 → 45576 [FIN, ACK] Seq=1336 Ack=2130 Win=4194048 Len=0 TSval=18932134 TSecr=1781191440 75 6.865523996 172.23.52.98 destIP TCP 66 45576 → 80 [ACK] Seq=2130 Ack=1337 Win=64128 Len=0 TSval=1781191704 TSecr=18932134 ``` Trace 27 fails the expect100 in abfsHttpOp.getOutputStream(). Then Trace 36, 45, 54 are the server calls getting made from conn.getHeaderFields(), conn.getHeaderField(), getHeaderFieldLong() in abfsHttpOp. Trace 65 is because of the retry from client (where we disable expect100 in the header and retry) Network trace with the change: ``` 5 0.140117802 172.23.52.98 destIP TCP 74 37118 → 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 SACK_PERM=1 TSval=1781876002 TSecr=0 WS=128 6 0.429252248 destIP 172.23.52.98 TCP 74 80 → 37118 [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1382 WS=256 SACK_PERM=1 TSval=326026375 TSecr=1781876002 7 0.429322977 172.23.52.98 destIP TCP 66 37118 → 80 [ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=1781876291 TSecr=326026375 8 0.430482523 172.23.52.98 destIP HTTP 757 HEAD /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a/?upn=false&action=getAccessControl&timeout=90 HTTP/1.1 9 0.744556990 destIP 172.23.52.98 HTTP 439 HTTP/1.1 404 The specified filesystem does not exist. 10 0.744618139 172.23.52.98 destIP TCP 66 37118 → 80 [ACK] Seq=692 Ack=374 Win=64128 Len=0 TSval=1781876606 TSecr=326026686 11 0.755289720 172.23.52.98 destIP HTTP 749 PUT /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a?resource=filesystem HTTP/1.1 12 1.068257582 destIP 172.23.52.98 HTTP 491 HTTP/1.1 201 Created 13 1.076905082 172.23.52.98 destIP HTTP 757 HEAD /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a/?upn=false&action=getAccessControl&timeout=90 HTTP/1.1 14 1.373114851 destIP 172.23.52.98 HTTP 557 HTTP/1.1 200 OK 15 1.385236563 172.23.52.98 destIP HTTP 757 HEAD /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a/?upn=false&action=getAccessControl&timeout=90 HTTP/1.1 16 1.680751369 destIP 172.23.52.98 TCP 557 HTTP/1.1 200 OK [TCP segment of a reassembled PDU] 17 1.682433834 172.23.52.98 destIP HTTP 757 HEAD /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a/?upn=false&action=getAccessControl&timeout=90 HTTP/1.1 18 1.975795850 destIP 172.23.52.98 HTTP 557 HTTP/1.1 200 OK 19 1.982495085 172.23.52.98 destIP HTTP 859 PUT /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a/testFile?resource=file&timeout=90 HTTP/1.1 20 2.314433347 destIP 172.23.52.98 TCP 66 80 → 37118 [ACK] Seq=2272 Ack=4241 Win=4194816 Len=0 TSval=326028259 TSecr=1781877844 21 2.318341838 destIP 172.23.52.98 HTTP 534 HTTP/1.1 201 Created 22 2.359006906 172.23.52.98 destIP TCP 66 37118 → 80 [ACK] Seq=4241 Ack=2740 Win=64128 Len=0 TSval=1781878221 TSecr=326028262 23 2.887625175 172.23.52.98 destIP HTTP 748 DELETE /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a/testFile?timeout=90&recursive=true HTTP/1.1 24 3.226621260 destIP 172.23.52.98 TCP 66 80 → 37118 [ACK] Seq=2740 Ack=4923 Win=4194048 Len=0 TSval=326029164 TSecr=1781878749 25 3.319490446 destIP 172.23.52.98 HTTP 383 HTTP/1.1 200 OK 26 3.319522582 172.23.52.98 destIP TCP 66 37118 → 80 [ACK] Seq=4923 Ack=3057 Win=64128 Len=0 TSval=1781879181 TSecr=326029264 27 3.402160064 172.23.52.98 destIP TCP 875 37118 → 80 [PSH, ACK] Seq=4923 Ack=3057 Win=64128 Len=809 TSval=1781879264 TSecr=326029264 [TCP segment of a reassembled PDU] 28 3.696683595 destIP 172.23.52.98 HTTP 705 HTTP/1.1 404 The specified path does not exist. (application/json) 29 3.696785972 172.23.52.98 destIP TCP 66 37118 → 80 [ACK] Seq=5732 Ack=3696 Win=64128 Len=0 TSval=1781879558 TSecr=326029642 30 3.699737822 172.23.52.98 destIP TCP 66 37118 → 80 [FIN, ACK] Seq=5732 Ack=3696 Win=64128 Len=0 TSval=1781879561 TSecr=326029642 31 3.714253004 172.23.52.98 destIP TCP 74 32814 → 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 SACK_PERM=1 TSval=1781879576 TSecr=0 WS=128 32 3.989226819 destIP 172.23.52.98 TCP 74 80 → 32814 [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1382 WS=256 SACK_PERM=1 TSval=325975132 TSecr=1781879576 33 3.989345299 172.23.52.98 destIP TCP 66 32814 → 80 [ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=1781879851 TSecr=325975132 34 3.989806407 172.23.52.98 destIP TCP 839 32814 → 80 [PSH, ACK] Seq=1 Ack=1 Win=64256 Len=773 TSval=1781879851 TSecr=325975132 [TCP segment of a reassembled PDU] 35 3.990034921 172.23.52.98 destIP HTTP 67 PUT /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a/testFile?action=append&position=0&timeout=90 HTTP/1.1 () 36 3.994786952 destIP 172.23.52.98 TCP 66 80 → 37118 [FIN, ACK] Seq=3696 Ack=5733 Win=4194816 Len=0 TSval=326029936 TSecr=1781879561 37 3.995025238 172.23.52.98 destIP TCP 66 37118 → 80 [ACK] Seq=5733 Ack=3697 Win=64128 Len=0 TSval=1781879856 TSecr=326029936 38 4.265368050 destIP 172.23.52.98 TCP 66 80 → 32814 [ACK] Seq=1 Ack=775 Win=4194048 Len=0 TSval=325975410 TSecr=1781879851 39 4.292628452 destIP 172.23.52.98 HTTP 705 HTTP/1.1 404 The specified path does not exist. (application/json) 40 4.292685390 172.23.52.98 destIP TCP 66 32814 → 80 [ACK] Seq=775 Ack=640 Win=64128 Len=0 TSval=1781880154 TSecr=325975437 41 4.438955731 172.23.52.98 destIP HTTP 744 DELETE /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a?resource=filesystem&timeout=90 HTTP/1.1 42 4.719193276 destIP 172.23.52.98 HTTP 389 HTTP/1.1 202 Accepted 43 4.719271617 172.23.52.98 destIP TCP 66 32814 → 80 [ACK] Seq=1453 Ack=963 Win=64128 Len=0 TSval=1781880581 TSecr=325975863 44 4.722820505 172.23.52.98 destIP HTTP 742 HEAD /abfs-testcontainer-656ec2d1-a762-4194-8c6d-25dbad116a1a?resource=filesystem&timeout=90 HTTP/1.1 45 4.997820794 destIP 172.23.52.98 HTTP 439 HTTP/1.1 404 The specified filesystem does not exist. 46 5.040613481 172.23.52.98 destIP TCP 66 32814 → 80 [ACK] Seq=2129 Ack=1336 Win=64128 Len=0 TSval=1781880902 TSecr=325976142 47 5.364401479 172.23.52.98 destIP TCP 66 32814 → 80 [FIN, ACK] Seq=2129 Ack=1336 Win=64128 Len=0 TSval=1781881226 TSecr=325976142 48 5.635988050 destIP 172.23.52.98 TCP 66 80 → 32814 [FIN, ACK] Seq=1336 Ack=2130 Win=4194048 Len=0 TSval=325976781 TSecr=1781881226 49 5.636038448 172.23.52.98 destIP TCP 66 32814 → 80 [ACK] Seq=2130 Ack=1337 Win=64128 Len=0 TSval=1781881498 TSecr=325976781 ``` Trace 28 is because of the getOutpuStream(), then as you can see no other call is no repeated server call. Trace 39 is because of the retry from client (where we disable expect100 in the header and retry) Test run: ------------------------ :::: AGGREGATED TEST RESULT :::: HNS-OAuth ======================== [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestAccountConfiguration.testConfigPropNotFound:386->testMissingConfigKey:399 Expected a org.apache.hadoop.fs.azurebfs.contracts.exceptions.TokenAccessProviderException to be thrown, but got the result: : "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider" [INFO] [ERROR] Tests run: 141, Failures: 1, Errors: 0, Skipped: 5 [INFO] Results: [INFO] [ERROR] Errors: [ERROR] ITestAzureBlobFileSystemLease.testAcquireRetry:344->lambda$testAcquireRetry$6:345 » TestTimedOut [INFO] [ERROR] Tests run: 589, Failures: 0, Errors: 1, Skipped: 54 [INFO] Results: [INFO] [WARNING] Tests run: 339, Failures: 0, Errors: 0, Skipped: 41 HNS-SharedKey ======================== [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestAccountConfiguration.testConfigPropNotFound:386->testMissingConfigKey:399 Expected a org.apache.hadoop.fs.azurebfs.contracts.exceptions.TokenAccessProviderException to be thrown, but got the result: : "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider" [INFO] [ERROR] Tests run: 141, Failures: 1, Errors: 0, Skipped: 5 [INFO] Results: [INFO] [ERROR] Errors: [ERROR] ITestAzureBlobFileSystemLease.testAcquireRetry:336 » TestTimedOut test timed o... [ERROR] ITestAzureBlobFileSystemLease.testTwoWritersCreateAppendWithInfiniteLeaseEnabled:186->twoWriters:154 » TestTimedOut [INFO] [ERROR] Tests run: 572, Failures: 0, Errors: 2, Skipped: 54 [INFO] Results: [INFO] [WARNING] Tests run: 339, Failures: 0, Errors: 0, Skipped: 41 NonHNS-SharedKey ======================== [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestAccountConfiguration.testConfigPropNotFound:386->testMissingConfigKey:399 Expected a org.apache.hadoop.fs.azurebfs.contracts.exceptions.TokenAccessProviderException to be thrown, but got the result: : "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider" [INFO] [ERROR] Tests run: 141, Failures: 1, Errors: 0, Skipped: 11 [INFO] Results: [INFO] [ERROR] Errors: [ERROR] ITestAzureBlobFileSystemLease.testAcquireRetry:344->lambda$testAcquireRetry$6:345 » TestTimedOut [INFO] [ERROR] Tests run: 589, Failures: 0, Errors: 1, Skipped: 277 [INFO] Results: [INFO] [WARNING] Tests run: 339, Failures: 0, Errors: 0, Skipped: 44 AppendBlob-HNS-OAuth ======================== [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestAccountConfiguration.testConfigPropNotFound:386->testMissingConfigKey:399 Expected a org.apache.hadoop.fs.azurebfs.contracts.exceptions.TokenAccessProviderException to be thrown, but got the result: : "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider" [ERROR] TestAbfsClientThrottlingAnalyzer.testManySuccessAndErrorsAndWaiting:181->fuzzyValidate:64 The actual value 23 is not within the expected range: [5.60, 8.40]. [INFO] [ERROR] Tests run: 141, Failures: 2, Errors: 0, Skipped: 5 [INFO] Results: [INFO] [ERROR] Errors: [ERROR] ITestAzureBlobFileSystemLease.testAcquireRetry:329 » TestTimedOut test timed o... [INFO] [ERROR] Tests run: 572, Failures: 0, Errors: 1, Skipped: 54 [INFO] Results: [INFO] [WARNING] Tests run: 339, Failures: 0, Errors: 0, Skipped: 41 Time taken: 45 mins 19 secs. azureuser@Hadoop-VM-EAST2:~/hadoop/hadoop-tools/hadoop-azure$ git log commit 2835269815ddcbaf326ed1348fe089b7329a7e3d (HEAD -> expect100resolution, origin/expect100resolution) Author: Pranav Saxena <> Date: Mon Sep 4 20:16:17 2023 -0700 JDK protocol exception message in constant -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
