Description
Use of install_package
or build_sketch
functions with Arduino IDE 1.8.2 causes many SocketListener warnings such as:
[SocketListener(testing-gce-b31aaad6-3573-4af8-8ea4-e547cb17aa6f-c-travis-ci-prod-5-internal.local.)] WARN javax.jmdns.impl.DNSIncoming$MessageInputStream - bad domain name: possible circular name detected. Bad offset: 0x3fff at 0x72
as well as other undesirable output.
For example:
https://travis-ci.org/per1234/arduino-ci-script/builds/223366084#L358
and
https://travis-ci.org/per1234/arduino-ci-script/builds/223366084#L1039
This also occurs with the hourly build of the Arduino IDE:
https://travis-ci.org/per1234/misc/builds/220508986#L188
It does not occur with Arduino IDE 1.8.1 or older:
https://travis-ci.org/per1234/arduino-ci-script/builds/223366084#L1020
It does occur with Arduino IDE 1.9.0 beta build 31:
https://travis-ci.org/per1234/misc/builds/325452271
The undesirable output (along with desirable output) does not appear when stderr from the verification is redirected to /dev/null
:
https://travis-ci.org/per1234/misc/builds/412440730
This does not affect the build success but it makes it very difficult to read the log.
The ideal solution is to find a way to configure the Travis CI environment so this output is not produced.
The workaround solution is to filter the undesirable lines from the output. This has the potential for false positives.
UPDATE: Workaround completed in bc7f89a
If future versions of the Arduino IDE can be modified to avoid the creation of this output that would be nice but it will not solve this issue since the output will still occur with the previously released versions that will be used for testing backwards compatibility.
Arduino forum thread:
http://forum.arduino.cc/index.php?topic=469428
Somewhat related: arduino/Arduino#7388