2015-07-31 14 views
8

Quasi ogni settimana il nostro server di sviluppo con Jenkins non ha spazio su disco perché il file di log di jenkins diventa enorme (> 100g). Esso viene completamente riempito da questi strani messaggi:Come posso evitare che il log di jenkins venga spammato con strani messaggi

[[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 
    [[email protected] type: TYPE_IGNORE index 0, class: CLASS_UNKNOWN index 0, name: ] 

Stiamo facendo funzionare la versione corrente di Jenkins 1.622.

risposta

15

Questo è un problema noto con una dipendenza Jenkins, tracciato come JENKINS-10160 (sebbene il tracker di problemi non sia attivo al momento della scrittura).

Se non si utilizza le funzioni di individuazione del servizio DNS di Jenkins (che probabilmente non sono), quindi è possibile disattivare questa funzione con il seguente command line flags all'avvio Jenkins:

-Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1 
13

ho avuto la stesso problema e ho usato la soluzione di Christopher che ha risolto il problema. Sto eseguendo jenkins su Ubuntu 14.04. Ho modificato il mio/etc/default/file di Jenkins modifica JAVA_ARGS a

JAVA_ARGS="-Djava.awt.headless=true -Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1"

e poi Jenkins ricominciato

Problemi correlati