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

WorkflowTest.env failure #986

Merged
merged 7 commits into from
Feb 19, 2025
Merged

WorkflowTest.env failure #986

merged 7 commits into from
Feb 19, 2025

Conversation

jglick
Copy link
Member

@jglick jglick commented Feb 18, 2025

@jglick jglick added the tests label Feb 18, 2025
@jglick

This comment was marked as outdated.

@jglick jglick changed the title Pick up SimpleCommandLauncher fix WorkflowTest.env failure Feb 18, 2025
@jglick
Copy link
Member Author

jglick commented Feb 18, 2025

Time to get rid of SingleJobTestBase.

…ableJenkinsRule` looks to be causing issues
@Test public void demo() throws Throwable {
rr.then(r -> {
var p = r.createProject(WorkflowJob.class, "demo");
p.setDefinition(new CpsFlowDefinition("semaphore 'wait'", false));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ignore ws)

@jglick
Copy link
Member Author

jglick commented Feb 19, 2025

eachClosure failure from is about logs\support\all_2025-02-19_02.56.20.log, like the issues in jenkinsci/support-core-plugin#624, though that looks like a file on the controller? persistEphemeralObject failure refers to agent-work-dirs\slave0\support\all_2025-02-19_02.53.31.log which makes more sense.

Comment on lines -78 to +85
public class WorkflowTest extends SingleJobTestBase {
public class WorkflowTest {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably was not required after all, but longstanding tech debt anyway.

Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jglick jglick marked this pull request as ready for review February 19, 2025 21:09
@jglick jglick requested a review from a team as a code owner February 19, 2025 21:09
@jglick jglick enabled auto-merge February 19, 2025 21:09
@jglick jglick merged commit 169ee47 into jenkinsci:master Feb 19, 2025
17 checks passed
@jglick jglick deleted the WorkflowTest.env branch February 19, 2025 22:46
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 this pull request may close these issues.

3 participants