Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding rolled custom logs in support bundle #627

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Merge branch 'master' into adding-rolled-custom-logs

19e042f
Select commit
Loading
Failed to load commit list.
Open

Adding rolled custom logs in support bundle #627

Merge branch 'master' into adding-rolled-custom-logs
19e042f
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Tests / linux-21 / Build (linux-21) failed Feb 19, 2025 in 0s

com.cloudbees.jenkins.support.impl.CustomLogsTest.testCustomLogRotation failed

Send us feedback

Details

com.cloudbees.jenkins.support.impl.CustomLogsTest.testCustomLogRotation

expected:<{nodes/master/logs/custom/nonRotatedCustomLog.log=nonRotatedCustomLog one, nodes/master/logs/custom/second.test2.log=second.test2 one, nodes/master/logs/custom/second.test2.log.1=second.test2 two, nodes/master/logs/custom/second.test2.log.2=second.test2 three, nodes/master/logs/custom/test1.log=test1 one, nodes/master/logs/custom/test1.log.1=test1 two, nodes/master/logs/custom/test1.log.2=test1 three}> but was:<{nodes/master/logs/custom/test1.log=}>
Stack trace
java.lang.AssertionError: expected:<{nodes/master/logs/custom/nonRotatedCustomLog.log=nonRotatedCustomLog one, nodes/master/logs/custom/second.test2.log=second.test2 one, nodes/master/logs/custom/second.test2.log.1=second.test2 two, nodes/master/logs/custom/second.test2.log.2=second.test2 three, nodes/master/logs/custom/test1.log=test1 one, nodes/master/logs/custom/test1.log.1=test1 two, nodes/master/logs/custom/test1.log.2=test1 three}> but was:<{nodes/master/logs/custom/test1.log=}>
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.failNotEquals(Assert.java:835)
	at org.junit.Assert.assertEquals(Assert.java:120)
	at org.junit.Assert.assertEquals(Assert.java:146)
	at com.cloudbees.jenkins.support.impl.CustomLogsTest.testCustomLogRotation(CustomLogsTest.java:136)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:659)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Standard error
0.094 [id=84]	INFO	o.jvnet.hudson.test.JenkinsRule#createWebServer2: Running on http://localhost:45243/jenkins/
   0.142 [id=97]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
   0.143 [id=97]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
   0.144 [id=98]	INFO	j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/ugins_support-core-plugin_PR-627/target/tmp/j h4165373144350746274/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
   0.411 [id=100]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
   0.414 [id=98]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
   0.415 [id=97]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
   0.902 [id=103]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
   0.920 [id=103]	INFO	jenkins.InitReactorRunner$1#onAttained: System config adapted
   0.921 [id=103]	INFO	jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
   0.922 [id=96]	INFO	jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
   0.923 [id=101]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
   0.956 [id=84]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Stopping Jenkins
   0.967 [id=84]	INFO	hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
   1.035 [id=84]	INFO	o.j.h.t.TemporaryDirectoryAllocator#dispose: deleting /home/jenkins/agent/workspace/ugins_support-core-plugin_PR-627/target/tmp/j h4165373144350746274
Standard out
=== Starting testCustomLogRotation(com.cloudbees.jenkins.support.impl.CustomLogsTest)