unit tests deliver "cannot listen to UDP port ..." is this ok ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

unit tests deliver "cannot listen to UDP port ..." is this ok ?

Luca Toldo
Dear JenkinsDevs,
I am trying to extend the https://github.com/jenkinsci/hashicorp-vault-plugin 
with a "write to vault" capability. 
Actually, is really little work since the *real* part is done by the underlying java driver   https://github.com/BetterCloud/vault-java-driver.
Anyhow, is good practice of doing unit tests, and what I am facing now is that by running the unit tests provided by the hascicorp-vault-plugin I keep getting  the following line in the log

 INFO hudson.UDPBroadcastThread#run: Cannot listen to UDP port 33,848, skipping: java.net.SocketException: Can't assign requested address (local port 33848 to address 0:0:0:0:0:0:0:0, remote host unknown)

It looks to me as if it is just an INFO however I would like to know 
a) if is just INFO and has no practical impact on the meaning of the error
b) how to suppress it

thanks !

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7d758575-c0c2-48be-9457-b0cf40b89dc5n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: unit tests deliver "cannot listen to UDP port ..." is this ok ?

Jesse Glick-4
On Sat, Oct 24, 2020 at 9:50 AM Luca Toldo <[hidden email]> wrote:
> It looks to me as if it is just an INFO however I would like to know
> a) if is just INFO

It is.

> b) how to suppress it

Use a more recent `jenkins.version`.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2ee-Pck7kDoH3xUbqOZ_LG19uqv5n6QkaTPKE7L1GWnQ%40mail.gmail.com.