Bug 1880322 Comment 43 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The occurance of this bug is very low. 
All the occurance indicate the following
```
[task 2024-11-19T01:15:48.358Z] 01:15:48     INFO - TEST-START | /fetch/api/redirect/redirect-keepalive.any.html
[task 2024-11-19T01:15:48.361Z] 01:15:48     INFO - Closing window 2f887eea-30e2-4ced-aa63-09c70429c4e6
[task 2024-11-19T01:15:49.430Z] 01:15:49  WARNING - wptserve Internal server error loading http://not-web-platform.test:8000/fetch/api/resources/stash-put.py?key=d0fbdc71-e218-477b-bacc-1c0f57854125&value=on&delay=500&allow_headers=foo&location=%2Ffetch%2Fapi%2Fresources%2Fstash-put.py%3Fkey%3Dd0fbdc71-e218-477b-bacc-1c0f57854125%26value%3Don&count=1:
[task 2024-11-19T01:15:49.430Z] 01:15:49  WARNING -   File "D:\task_173197541106576\build\tests\web-platform\tests\tools\wptserve\wptserve\stash.py", line 214 in put (traceback suppressed)
[task 2024-11-19T01:15:49.589Z] 01:15:49  WARNING - wptserve Internal server error loading http://not-web-platform.test:8000/fetch/api/resources/stash-put.py?key=5e7da3f2-b485-45d3-bd51-ad9fecdb4a3f&value=on&delay=500&allow_headers=foo&location=%2Ffetch%2Fapi%2Fresources%2Fstash-put.py%3Fkey%3D5e7da3f2-b485-45d3-bd51-ad9fecdb4a3f%26value%3Don&count=1:
[task 2024-11-19T01:15:49.589Z] 01:15:49  WARNING -   File "D:\task_173197541106576\build\tests\web-platform\tests\tools\wptserve\wptserve\stash.py", line 214 in put (traceback suppressed)
[task 2024-11-19T01:15:49.794Z] 01:15:49  WARNING - wptserve Internal server error loading http://www1.web-platform.test:8001/fetch/api/resources/stash-put.py?key=2cf27107-0aff-4273-a677-0be9ed7c9075&value=on&delay=500&allow_headers=foo&location=http%3A%2F%2Fwww1.web-platform.test%3A8001%2Ffetch%2Fapi%2Fresources%2Fstash-put.py%3Fkey%3D2cf27107-0aff-4273-a677-0be9ed7c9075%26value%3Don&count=1:
[task 2024-11-19T01:15:49.794Z] 01:15:49  WARNING -   File "D:\task_173197541106576\build\tests\web-platform\tests\tools\wptserve\wptserve\stash.py", line 214 in put (traceback suppressed)
[task 2024-11-19T01:15:50.469Z] 01:15:50  WARNING - wptserve Internal server error loading http://www1.web-platform.test:8001/fetch/api/resources/stash-put.py?key=3898e364-ac74-4963-ab77-4322af082a0b&value=on&delay=500&allow_headers=foo&location=http%3A%2F%2Fwww1.web-platform.test%3A8001%2Ffetch%2Fapi%2Fresources%2Fstash-put.py%3Fkey%3D3898e364-ac74-4963-ab77-4322af082a0b%26value%3Don&count=1:
[task 2024-11-19T01:15:50.469Z] 01:15:50  WARNING -   File "D:\task_173197541106576\build\tests\web-platform\tests\tools\wptserve\wptserve\stash.py", line 214 in put (traceback suppressed)
[task 2024-11-19T01:15:52.866Z] 01:15:52     INFO - ............
[task 2024-11-19T01:15:52.866Z] 01:15:52     INFO - TEST-OK | /fetch/api/redirect/redirect-keepalive.any.html | took 4504ms
[task 2024-11-19T01:15:52.867Z] 01:15:52     INFO - TEST-START | /fetch/api/redirect/redirect-keepalive.https.any.html
[task 2024-11-19T01:15:52.868Z] 01:15:52     INFO - Setting pref dom.fetchKeepalive.enabled to true
[task 2024-11-19T01:15:52.873Z] 01:15:52     INFO - Setting pref dom.fetchKeepalive.enabled to true
[task 2024-11-19T01:15:52.878Z] 01:15:52     INFO - Closing window 7f726acd-8305-4feb-861c-59a884cd0de2
[task 2024-11-19T01:15:53.880Z] 01:15:53     INFO - PID 3512 | JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
```
This suggests that we have a network error when fetching and hence the timeout as we are waiting for the page load. One strong indication from the logs is that we see server error for the previous tests. Hence, this could mean some issue on the wpt server.  I will add a clean-up by calling done() after end of each test and see if we get rid of this error.
The occurance of this bug is very low. 
All the occurance of this bug indicate the following
```
[task 2024-11-19T01:15:48.358Z] 01:15:48     INFO - TEST-START | /fetch/api/redirect/redirect-keepalive.any.html
[task 2024-11-19T01:15:48.361Z] 01:15:48     INFO - Closing window 2f887eea-30e2-4ced-aa63-09c70429c4e6
[task 2024-11-19T01:15:49.430Z] 01:15:49  WARNING - wptserve Internal server error loading http://not-web-platform.test:8000/fetch/api/resources/stash-put.py?key=d0fbdc71-e218-477b-bacc-1c0f57854125&value=on&delay=500&allow_headers=foo&location=%2Ffetch%2Fapi%2Fresources%2Fstash-put.py%3Fkey%3Dd0fbdc71-e218-477b-bacc-1c0f57854125%26value%3Don&count=1:
[task 2024-11-19T01:15:49.430Z] 01:15:49  WARNING -   File "D:\task_173197541106576\build\tests\web-platform\tests\tools\wptserve\wptserve\stash.py", line 214 in put (traceback suppressed)
[task 2024-11-19T01:15:49.589Z] 01:15:49  WARNING - wptserve Internal server error loading http://not-web-platform.test:8000/fetch/api/resources/stash-put.py?key=5e7da3f2-b485-45d3-bd51-ad9fecdb4a3f&value=on&delay=500&allow_headers=foo&location=%2Ffetch%2Fapi%2Fresources%2Fstash-put.py%3Fkey%3D5e7da3f2-b485-45d3-bd51-ad9fecdb4a3f%26value%3Don&count=1:
[task 2024-11-19T01:15:49.589Z] 01:15:49  WARNING -   File "D:\task_173197541106576\build\tests\web-platform\tests\tools\wptserve\wptserve\stash.py", line 214 in put (traceback suppressed)
[task 2024-11-19T01:15:49.794Z] 01:15:49  WARNING - wptserve Internal server error loading http://www1.web-platform.test:8001/fetch/api/resources/stash-put.py?key=2cf27107-0aff-4273-a677-0be9ed7c9075&value=on&delay=500&allow_headers=foo&location=http%3A%2F%2Fwww1.web-platform.test%3A8001%2Ffetch%2Fapi%2Fresources%2Fstash-put.py%3Fkey%3D2cf27107-0aff-4273-a677-0be9ed7c9075%26value%3Don&count=1:
[task 2024-11-19T01:15:49.794Z] 01:15:49  WARNING -   File "D:\task_173197541106576\build\tests\web-platform\tests\tools\wptserve\wptserve\stash.py", line 214 in put (traceback suppressed)
[task 2024-11-19T01:15:50.469Z] 01:15:50  WARNING - wptserve Internal server error loading http://www1.web-platform.test:8001/fetch/api/resources/stash-put.py?key=3898e364-ac74-4963-ab77-4322af082a0b&value=on&delay=500&allow_headers=foo&location=http%3A%2F%2Fwww1.web-platform.test%3A8001%2Ffetch%2Fapi%2Fresources%2Fstash-put.py%3Fkey%3D3898e364-ac74-4963-ab77-4322af082a0b%26value%3Don&count=1:
[task 2024-11-19T01:15:50.469Z] 01:15:50  WARNING -   File "D:\task_173197541106576\build\tests\web-platform\tests\tools\wptserve\wptserve\stash.py", line 214 in put (traceback suppressed)
[task 2024-11-19T01:15:52.866Z] 01:15:52     INFO - ............
[task 2024-11-19T01:15:52.866Z] 01:15:52     INFO - TEST-OK | /fetch/api/redirect/redirect-keepalive.any.html | took 4504ms
[task 2024-11-19T01:15:52.867Z] 01:15:52     INFO - TEST-START | /fetch/api/redirect/redirect-keepalive.https.any.html
[task 2024-11-19T01:15:52.868Z] 01:15:52     INFO - Setting pref dom.fetchKeepalive.enabled to true
[task 2024-11-19T01:15:52.873Z] 01:15:52     INFO - Setting pref dom.fetchKeepalive.enabled to true
[task 2024-11-19T01:15:52.878Z] 01:15:52     INFO - Closing window 7f726acd-8305-4feb-861c-59a884cd0de2
[task 2024-11-19T01:15:53.880Z] 01:15:53     INFO - PID 3512 | JavaScript error: , line 0: TypeError: NetworkError when attempting to fetch resource.
```
This suggests that we have a network error when fetching and hence the timeout as we are waiting for the page load. One strong indication from the logs is that we see server error for the previous tests. Hence, this could mean some issue on the wpt server.  I will add a clean-up by calling done() after end of each test and see if we get rid of this error.

Back to Bug 1880322 Comment 43