So, it looks like the test named in the subject line is presently broken because the grep for 404, among other things is maybe not specific enough. Here is some sample output:
wget --no-check-certificate -m https://localhost/eg/staff/offline-interface 2>&1| grep -B2 404
--2018-03-10 15:45:07-- https://localhost/robots.txt
Reusing existing connection to [localhost]:443.
HTTP request sent, awaiting response... 404 Not Found
2018-03-10 15:45:07 ERROR 404: Not Found.
--
--2018-03-10 15:45:08-- https://localhost/js/ui/default/staff/build/js/angular-tablesort.js
Reusing existing connection to [localhost]:443.
HTTP request sent, awaiting response... 404 Not Found
2018-03-10 15:45:08 ERROR 404: Not Found.
--
Reusing existing connection to [localhost]:443.
HTTP request sent, awaiting response... 200 OK
Length: 45404 (44K)
--
0K .......... .......... .......... .......... .... 100% 101M=0s
Evergreen Master
OpenSRF Master
O/S Ubuntu 14.04.5 Trusty Tahr
So, it looks like the test named in the subject line is presently broken because the grep for 404, among other things is maybe not specific enough. Here is some sample output:
wget --no-check- certificate -m https:/ /localhost/ eg/staff/ offline- interface 2>&1| grep -B2 404 /localhost/ robots. txt /localhost/ js/ui/default/ staff/build/ js/angular- tablesort. js
--2018-03-10 15:45:07-- https:/
Reusing existing connection to [localhost]:443.
HTTP request sent, awaiting response... 404 Not Found
2018-03-10 15:45:07 ERROR 404: Not Found.
--
--2018-03-10 15:45:08-- https:/
Reusing existing connection to [localhost]:443.
HTTP request sent, awaiting response... 404 Not Found
2018-03-10 15:45:08 ERROR 404: Not Found.
--
Reusing existing connection to [localhost]:443.
HTTP request sent, awaiting response... 200 OK
Length: 45404 (44K)
--
0K .......... .......... .......... .......... .... 100% 101M=0s
2018-03-10 15:45:08 (101 MB/s) - ‘localhost/ js/ui/default/ staff/build/ fonts/glyphicon s-halflings- regular. ttf’ saved [45404/45404]
Notice that the response length of 45404 also matches the pattern of 404. We should probably be looking for '404 Not Found' or even 'ERROR 404:'
Now, I have to figure out why angular- tablesort. js is missing...
NOTE: The test succeeds sometimes and fails at others. It succeeded the first time that I ran it today, but later began failing consistently.