Skip to content

upgrade core LTS to 2.346.1 and associated bom, fix test due to this upgrade#609

Merged
olamy merged 18 commits into
jenkinsci:masterfrom
olamy:upgrade-lts-2.346.1
Aug 22, 2022
Merged

upgrade core LTS to 2.346.1 and associated bom, fix test due to this upgrade#609
olamy merged 18 commits into
jenkinsci:masterfrom
olamy:upgrade-lts-2.346.1

Conversation

@olamy
Copy link
Copy Markdown
Member

@olamy olamy commented Aug 17, 2022

Signed-off-by: Olivier Lamy olamy@apache.org

…upgrade

Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy olamy force-pushed the upgrade-lts-2.346.1 branch from f0c48e6 to fc393c9 Compare August 17, 2022 11:46
olamy added 2 commits August 17, 2022 21:49
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy olamy closed this Aug 17, 2022
@olamy olamy reopened this Aug 17, 2022
Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy
Copy link
Copy Markdown
Member Author

olamy commented Aug 18, 2022

I have created the label it-works-on-my-machine (^&%&%$(&**&(%&* :))

@olamy
Copy link
Copy Markdown
Member Author

olamy commented Aug 18, 2022

interesting CI fail because the record logs are different in Java 8 and Java 11.

Java 8
[
Generating App Installation Token for app ID 54321, 
Generating App Installation Token for app ID 54321, 
Failed to generate new GitHub App Installation Token for app ID 54321: cached token is stale but has not expired, 
Generating App Installation Token for app ID 54321, 
Failed to generate new GitHub App Installation Token for app ID 54321: cached token is stale but has not expired, 
Generating App Installation Token for app ID 54321, 
Generating App Installation Token for app ID 54321]


Java 11
[Generating App Installation Token for app ID 54321, 
Generating App Installation Token for app ID 54321, 
Failed to generate new GitHub App Installation Token for app ID 54321: cached token is stale but has not expired, 
Generating App Installation Token for app ID 54321, 
Failed to generate new GitHub App Installation Token for app ID 54321: cached token is stale but has not expired, 
Generating App Installation Token for app ID 54321]

Java 8 has one more line.

@olamy
Copy link
Copy Markdown
Member Author

olamy commented Aug 18, 2022

I'm tempted to ignore Java 8 as anyway Jenkins has already moved to Java 11.

olamy added 4 commits August 18, 2022 14:38
…va 11 as minimum soon, it is just a temporary hack to get build working

Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy
Copy link
Copy Markdown
Member Author

olamy commented Aug 18, 2022

now doesn't work on windows with Java 8....

Comment thread pom.xml
olamy added 5 commits August 18, 2022 19:15
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy olamy marked this pull request as draft August 19, 2022 11:42
olamy added 2 commits August 19, 2022 21:49
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Olivier Lamy <olamy@apache.org>
@jtnord
Copy link
Copy Markdown
Member

jtnord commented Aug 19, 2022

so is it time to declare the test flaky yet or does it reliably fail somewhere?

@olamy
Copy link
Copy Markdown
Member Author

olamy commented Aug 20, 2022

so is it time to declare the test flaky yet or does it reliably fail somewhere?

with the upgrade it's stable with linux/java11 and windows/java8.
but really flaky with linux/java8...

As we will probably move soon to java11 this will not be a problem.
maybe we can simply skip this test for linux/java8 until we upgrade?

@olamy olamy marked this pull request as ready for review August 22, 2022 02:18
Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy olamy merged commit 3d5913f into jenkinsci:master Aug 22, 2022
@olamy olamy deleted the upgrade-lts-2.346.1 branch August 22, 2022 23:49
"Failed to generate new GitHub App Installation Token for app ID 54321: cached token is stale but has not expired",
// (error forced by wiremock - failed refresh on the agent)
// "Generating App Installation Token for app ID 54321 on agent", // 1
"Generating App Installation Token for app ID 54321 for agent",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ahh..

@olamy this is incorrect - the test was failing due to JENKINS-69488 which is why my PR is breaking this test :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

good catch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants