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

FreestyleJobTest#should_visit_build_with_permalink fails on 2.453+ #1544

Closed
basil opened this issue May 14, 2024 · 1 comment · Fixed by #1547
Closed

FreestyleJobTest#should_visit_build_with_permalink fails on 2.453+ #1544

basil opened this issue May 14, 2024 · 1 comment · Fixed by #1547
Labels

Comments

@basil
Copy link
Member

basil commented May 14, 2024

Starting with jenkinsci/jenkins#8110 by @janfaracik in 2.453, FreestyleJobTest#should_visit_build_with_permalink fails with

java.lang.AssertionError: 
Build has no changes
Expected: Text matching \QNo changes\E
     but: was "http://127.0.0.1:43213/job/indigenous_warning/lastBuild/"
"1\n2\nDashboard\nindigenous_warning\n#1\nStatus\nChanges\nConsole Output\nEdit Build Information\nDelete build ‘#1’\nKeep this build forever\nStarted 0.8 sec ago\nTook 18 ms\nSuccess\n#1 (May 14, 2024, 3:42:14 PM)\nAdd description\nStarted by anonymous user\nREST API\nJenkins 2.458"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at core.FreestyleJobTest.should_visit_build_with_permalink(FreestyleJobTest.java:103)

This looks like a legitimate regression, tracked in core as JENKINS-73168.

@basil
Copy link
Member Author

basil commented May 14, 2024

I have added a workaround in #1545. #1548 tracks the removal of this workaround as part of fixing JENKINS-73168.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant