RFR: 8285915: failure_handler: gather the contents of /etc/hosts file [v2]

Jaikiran Pai jpai at openjdk.java.net
Tue May 3 01:26:23 UTC 2022


On Mon, 2 May 2022 06:25:28 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> Can I please get a review of this change which addresses https://bugs.openjdk.java.net/browse/JDK-8285915?
>> 
>> With this change, the environment details collected by the failure handler will now include the contents of the `/etc/hosts/` file, which can be useful in certain cases when debugging network tests that fail.
>> 
>> Testing done (on macOS):
>> 
>> 
>> cd test/failure_handler 
>> make test
>> 
>> Then verified that the generated environment.html had the `/etc/hosts` file content
>
> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   print contents of hosts file in windows failure handler

Thank you Erik and Daniel for the reviews.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8466



More information about the build-dev mailing list