[JIRA] (JENKINS-54641) UnsupportedOperation Flooging Jenkins Master

6 views
Skip to first unread message

m@phrk.de (JIRA)

unread,
Nov 15, 2018, 4:47:02 AM11/15/18
to jenkinsc...@googlegroups.com
Stephan Watermeyer updated an issue
 
Jenkins / Bug JENKINS-54641
UnsupportedOperation Flooging Jenkins Master
Change By: Stephan Watermeyer
Since yesterday we've installed the logfilesizechecker-plugin on our Jenkins (2.138.3) and the Jenkins Log is flodded with the following Exception
{code}
Avoid calling getLogFile on sanmx-tm/feature%
2FSANTANDERM -1-payment #1
java.lang.UnsupportedOperationException
at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogFile(WorkflowRun.java:1082)
at hudson.plugins.logfilesizechecker.LogfilesizecheckerWrapper$LogSizeTimerTask.doRun(LogfilesizecheckerWrapper.java:108)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:72)
at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}

We are using Jenkins Master and some Slaves. Don't know if this helps and why the "UnsupportedOperationMethod" is thrown here.
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

m@phrk.de (JIRA)

unread,
Nov 15, 2018, 4:47:02 AM11/15/18
to jenkinsc...@googlegroups.com
Stephan Watermeyer created an issue
Issue Type: Bug Bug
Assignee: Stefan Brausch
Components: logfilesizechecker-plugin
Created: 2018-11-15 09:46
Priority: Major Major
Reporter: Stephan Watermeyer

Since yesterday we've installed the logfilesizechecker-plugin on our Jenkins (2.138.3) and the Jenkins Log is flodded with the following Exception

Avoid calling getLogFile on sanmx-tm/feature%2FSANTANDERM-1-payment #1
java.lang.UnsupportedOperationException
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogFile(WorkflowRun.java:1082)
	at hudson.plugins.logfilesizechecker.LogfilesizecheckerWrapper$LogSizeTimerTask.doRun(LogfilesizecheckerWrapper.java:108)
	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:72)
	at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

We are using Jenkins Master and some Slaves. Don't know if this helps and why the "UnsupportedOperationMethod" is thrown here.

m@phrk.de (JIRA)

unread,
Nov 15, 2018, 4:49:02 AM11/15/18
to jenkinsc...@googlegroups.com
Stephan Watermeyer updated an issue
Change By: Stephan Watermeyer
Since yesterday we've installed the logfilesizechecker-plugin on our Jenkins (2.138.3) and the Jenkins Log is flodded with the following Exception
{code}
Avoid calling getLogFile on sanmx-tm/feature%-1-payment #1

java.lang.UnsupportedOperationException
at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogFile(WorkflowRun.java:1082)
at hudson.plugins.logfilesizechecker.LogfilesizecheckerWrapper$LogSizeTimerTask.doRun(LogfilesizecheckerWrapper.java:108)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:72)
at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}


We are using Jenkins Master and some Slaves. Don't know if this helps and why the "UnsupportedOperationMethod" is thrown here.

m@phrk.de (JIRA)

unread,
Nov 15, 2018, 4:54:03 AM11/15/18
to jenkinsc...@googlegroups.com
Stephan Watermeyer updated an issue
Since yesterday we've installed the logfilesizechecker-plugin on our Jenkins (2.138.3) and the Jenkins Log is flodded with the following Exception
{code}
Avoid calling getLogFile on sanmx-tm/feature%-1-payment #1
java.lang.UnsupportedOperationException
at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogFile(WorkflowRun.java:1082)
at hudson.plugins.logfilesizechecker.LogfilesizecheckerWrapper$LogSizeTimerTask.doRun(LogfilesizecheckerWrapper.java:108)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:72)
at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{code}

We are using Jenkins Master and some Slaves. Don't know if this helps and why The Exception is written in the "UnsupportedOperationMethod" log, as the method _getLogFile()_ is thrown here deprecated .


{code}
@Deprecated
    @Override public File getLogFile() {
        LOGGER.log(Level.WARNING, "Avoid calling getLogFile on " + this, new UnsupportedOperationException());
        return LogStorage.of(asFlowExecutionOwner()).getLogFile(this, !isLogUpdated());
    }
{code}

Our filesystem on the master went out of space, as due to our amount of Jobs and the Timersettings in the plugin the code is called very often.
Reply all
Reply to author
Forward
0 new messages