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

Limit the 'Triggered' HTTP headers in the answer to push notifications #245

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

Conversation

maartenc
Copy link

@maartenc maartenc commented Dec 18, 2022

Hi,

When a push-notification is sent to Jenkins, this plugin returns the names of the triggered projects: a 'Triggered' HTTP header per triggered project. If there are many projects triggered this way, a big HTTP header is returned. This might result in issues on the server and/or client who can't always handle such big HTTP headers.

This pull request limits the number of returned headers to 10 (feel free to choose another number here). If there are more triggered projects, the last header will contain "' with xxx the number of triggered projects not being included as HTTP header.

This has been reported here: https://issues.jenkins.io/browse/JENKINS-38720 . Note : the Jenkins git plugin had a similar issue (https://issues.jenkins.io/browse/JENKINS-46929), this pull-request is similar as the one the fixed the git-plugin.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@maartenc maartenc requested a review from a team as a code owner December 18, 2022 13:49
@gounthar
Copy link
Contributor

Thanks a lot for this PR. 🚀

Would it be possible for you (and would that make sense too) to write a test that demonstrates this new feature?

@maartenc
Copy link
Author

Hi @gounthar ,
I'd love to provide some junit tests, but I can't manage to get the current junit tests working.
I'm probably missing something in my setup, but I don't know what.

For instance:

[ERROR] hudson.plugins.mercurial.CachingCustomDirSCMTest.customCacheLocationFromSlave  Time elapsed: 11.429 s  <<< ERROR!
java.lang.NullPointerException
	at hudson.plugins.mercurial.CachingCustomDirSCMTest.setUp(CachingCustomDirSCMTest.java:34)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:618)

@maartenc
Copy link
Author

maartenc commented Dec 19, 2022

I have added a junit test, but I couldn't manage to run it myself though 😬
I copied most of the code from MercurialStatusPermissionTest, so I hope it works...

@gounthar gounthar requested a review from MarkEWaite December 19, 2022 10:05
@gounthar
Copy link
Contributor

Thanks a lot for adding the test.
As you have problems running tests locally, I wanted to propose you run them with GitPod, but as the test use Docker, I think it's a no-go.

@jmMeessen
Copy link
Contributor

It is worth giving it a try @gounthar @maartenc . AFAIK, Gitpod supports most docker commands. I have successfully used docker-compose.

@gounthar
Copy link
Contributor

Let me try it then, thanks Jean-Marc. 👍

@gounthar
Copy link
Contributor

I just gave it a try with GitPod:

[ERROR] Errors: 
[ERROR] ChangelogTest.spacesInPaths
[ERROR]   Run 1: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 2: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 3: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 4: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[INFO] 
[ERROR] FunctionalTest.basics
[ERROR]   Run 1: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 2: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 3: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 4: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 5: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 6: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 7: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 8: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 9: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 10: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 11: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 12: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 13: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 14: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 15: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[INFO] 
[ERROR] FunctionalTest.branches
[ERROR]   Run 1: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 2: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 3: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 4: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 5: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 6: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 7: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 8: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 9: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 10: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 11: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 12: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 13: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 14: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Run 15: file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[INFO] 
[ERROR]   CachingCustomDirSCMTest.setUp:34 NullPointer
[ERROR]   CachingSCMTest.changelogFromPreviousBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.changelogLimitedToModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.changelogOnClone »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.changelogOnUpdate »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.changesMergedToRenamedModulesTriggerBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.clean »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.fileListOmittedForMerges »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.multipleProjectsForSingleSource »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.nonExistingBranchesDontGenerateMercurialTagActionsInTheBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.parameterizedBuildsBranch »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.polling »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.pollingExpandsParameterDefaults »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.pollingHonorsBranchMerges »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.pollingHonorsBranchMergesWithModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.pollingIgnoresMetaFiles »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.pollingLimitedToModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.pollingLimitedToModules2 »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.pollingLimitedToModules3 »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.revsets »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.subdirectoryCheckout »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.tags »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.testChangeSetApiVersion1407Methods »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.testGetBranchFromTag »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.testGetNoBranchFromBranch »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.testPullReturnCode »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CachingSCMTest.trailingUrlWhitespace »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   ChangeComparatorTest.triggersNewBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   ConfigurationTest.configRoundTrip »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   ConfigurationTest.doFillCredentialsIdItems »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   ConfigurationTest.doFillCredentialsIdItemsWithoutJobWhenAdmin »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   CustomConfigTest.customConfiguration »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.changelogFromPreviousBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.changelogLimitedToModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.changelogOnClone »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.changelogOnUpdate »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.changesMergedToRenamedModulesTriggerBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.clean »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.fileListOmittedForMerges »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.multipleProjectsForSingleSource »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.nonExistingBranchesDontGenerateMercurialTagActionsInTheBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.parameterizedBuildsBranch »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.polling »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.pollingExpandsParameterDefaults »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.pollingHonorsBranchMerges »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.pollingHonorsBranchMergesWithModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.pollingIgnoresMetaFiles »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.pollingLimitedToModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.pollingLimitedToModules2 »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.pollingLimitedToModules3 »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.revsets »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.subdirectoryCheckout »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.tags »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.testChangeSetApiVersion1407Methods »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.testGetBranchFromTag »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.testGetNoBranchFromBranch »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.testPullReturnCode »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DebugFlagTest.trailingUrlWhitespace »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.changelogFromPreviousBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.changelogLimitedToModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.changelogOnClone »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.changelogOnUpdate »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.changesMergedToRenamedModulesTriggerBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.clean »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.fileListOmittedForMerges »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.multipleProjectsForSingleSource »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.nonExistingBranchesDontGenerateMercurialTagActionsInTheBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.parameterizedBuildsBranch »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.polling »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.pollingExpandsParameterDefaults »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.pollingHonorsBranchMerges »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.pollingHonorsBranchMergesWithModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.pollingIgnoresMetaFiles »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.pollingLimitedToModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.pollingLimitedToModules2 »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.pollingLimitedToModules3 »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.revsets »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.subdirectoryCheckout »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.tags »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.testChangeSetApiVersion1407Methods »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.testGetBranchFromTag »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.testGetNoBranchFromBranch »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.testPullReturnCode »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DefaultSCMTest.trailingUrlWhitespace »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   DisableChangeLogTest.changelogIsDisabled »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   EnvVarTest.customConfiguration »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   HgExeFunctionalTest.credentialsSSHKeyTest »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   HgExeFunctionalTest.credentialsUsernamePasswordTest »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   HgExeFunctionalTest.customConfiguration »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MatrixProjectTest.allRunsBuildSameRevisionOnClone »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MatrixProjectTest.allRunsBuildSameRevisionOnUpdate »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MercurialChangeLogParserTest.parseAddressFromChangeLog »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MercurialContainerTest.smokes »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MercurialSCMSource2Test.withCredentialsId »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MercurialSCMSourceTest »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MercurialStatusPermissionTest.testTriggeredWithAllReadable »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MercurialStatusPermissionTest.testTriggeredWithAnonymous »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MercurialStatusPermissionTest.testTriggeredWithOneReadable »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MercurialStatusTest.testLooselyMatches »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   MercurialStatusTest.testTriggeredHeadersAreLimited »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   PipelineTest.exactRevisionMercurial »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   PipelineTest.modernHook »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   PipelineTest.multipleSCMs »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Security2478Test.checkoutOnAgentShouldNotAbortWhenSourceIsNonRemoteAndBuildOnAgent »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Security2478Test.checkoutShouldAbortWhenSourceIsNonRemoteAndBuildOnController »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Security2478Test.checkoutShouldNotAbortWhenSourceIsAlias »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   Security2478Test.checkoutShouldNotAbortWhenSourceIsAliasPointingToLocalPath »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.changelogFromPreviousBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.changelogLimitedToModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.changelogOnClone »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.changelogOnUpdate »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.changesMergedToRenamedModulesTriggerBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.clean »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.fileListOmittedForMerges »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.multipleProjectsForSingleSource »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.nonExistingBranchesDontGenerateMercurialTagActionsInTheBuild »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.parameterizedBuildsBranch »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.polling »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.pollingExpandsParameterDefaults »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.pollingHonorsBranchMerges »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.pollingHonorsBranchMergesWithModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.pollingIgnoresMetaFiles »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.pollingLimitedToModules »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.pollingLimitedToModules2 »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.pollingLimitedToModules3 »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.revsets »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.subdirectoryCheckout »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.tags »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.testChangeSetApiVersion1407Methods »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.testGetBranchFromTag »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.testGetNoBranchFromBranch »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.testPullReturnCode »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SharingSCMTest.trailingUrlWhitespace »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   SwitchingSCMTest.switchingFromCachedToShared »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   HgBrowserSelectionTest.browsersAvailableInDropDown »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   HgBrowserSelectionTest.configureBrowser »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   HgBrowserSelectionTest.pickingUpAlternativeBrowser »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[ERROR]   HgBrowserSelectionTest.repositoryBrowserCompatibility »  file:/workspace/mercurial-plugin/target/test-classes/the.hpl doesn't have the Short-Name attribute
[INFO] 
[ERROR] Tests run: 219, Failures: 0, Errors: 141, Skipped: 0

@jglick jglick added the bug label Dec 21, 2022
@maartenc
Copy link
Author

maartenc commented Jan 19, 2023

I was able to succesfully run and test it on GitPod (and this way discovered/fixed an issue in the Junit test :-) )
Only thing I had to change there was to first upgrade the JDK from Java 11 to Java 17.

@maartenc
Copy link
Author

FYI, here is the output on GitPod.
The 'MercurialSCMSource2Test' sometimes fails (with a timeout), while other times it passes...

gitpod /workspace/mercurial-plugin (header_issue) $ mvn test -f "/workspace/mercurial-plugin/pom.xml"
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Scanning for projects...
[WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:3.35 is missing, no dependency information available
[WARNING] Failed to build parent project for org.jenkins-ci.plugins:mercurial:hpi:999999-SNAPSHOT
[INFO] 
[INFO] ------------------< org.jenkins-ci.plugins:mercurial >------------------
[INFO] Building Jenkins Mercurial plugin 999999-SNAPSHOT
[INFO] --------------------------------[ hpi ]---------------------------------
[INFO] 
[INFO] --- maven-hpi-plugin:3.35:validate (default-validate) @ mercurial ---
[INFO] 
[INFO] --- maven-hpi-plugin:3.35:validate-hpi (default-validate-hpi) @ mercurial ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:display-info (display-info) @ mercurial ---
[INFO] Maven Version: 3.8.6
[INFO] JDK Version: 17.0.6 normalized as: 17.0.6
[INFO] Java Vendor: Azul Systems, Inc.
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 5.15.0-47-generic
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (display-info) @ mercurial ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (no-snapshots-in-release) @ mercurial ---
[INFO] 
[INFO] --- maven-hpi-plugin:3.35:initialize (default-initialize) @ mercurial ---
[INFO] 
[INFO] --- gmavenplus-plugin:2.1.0:addTestSources (test-in-groovy) @ mercurial ---
[INFO] 
[INFO] --- localizer-maven-plugin:1.31:generate (default) @ mercurial ---
[INFO] 
[INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ mercurial ---
[INFO] Copying 48 resources
[INFO] 
[INFO] --- flatten-maven-plugin:1.3.0:flatten (flatten) @ mercurial ---
[INFO] Generating flattened POM of project org.jenkins-ci.plugins:mercurial:hpi:999999-SNAPSHOT...
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ mercurial ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 33 source files to /workspace/mercurial-plugin/target/classes
[INFO] 
[INFO] --- access-modifier-checker:1.27:enforce (default-enforce) @ mercurial ---
[INFO] 
[INFO] --- maven-hpi-plugin:3.35:insert-test (default-insert-test) @ mercurial ---
[INFO] 
[INFO] --- gmavenplus-plugin:2.1.0:generateTestStubs (test-in-groovy) @ mercurial ---
[INFO] No sources specified for stub generation. Skipping.
[INFO] Generated 0 stubs.
[INFO] 
[INFO] --- maven-antrun-plugin:3.1.0:run (createTempDir) @ mercurial ---
[INFO] Executing tasks
[INFO]     [mkdir] Created dir: /workspace/mercurial-plugin/target/tmp
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ mercurial ---
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ mercurial ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 41 source files to /workspace/mercurial-plugin/target/test-classes
[INFO] 
[INFO] --- maven-hpi-plugin:3.35:test-hpl (default-test-hpl) @ mercurial ---
[INFO] Generating /workspace/mercurial-plugin/target/test-classes/the.hpl
[INFO] 
[INFO] --- maven-hpi-plugin:3.35:resolve-test-dependencies (default-resolve-test-dependencies) @ mercurial ---
[INFO] 
[INFO] --- gmavenplus-plugin:2.1.0:compileTests (test-in-groovy) @ mercurial ---
[INFO] No sources specified for compilation. Skipping.
[INFO] 
[INFO] --- maven-hpi-plugin:3.35:test-runtime (default-test-runtime) @ mercurial ---
[INFO] Setting jenkins.insaneHook to --patch-module=java.base=/tmp/org-netbeans-insane-hook5506404104694227206.jar --add-exports=java.base/org.netbeans.insane.hook=ALL-UNNAMED
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ mercurial ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
Running tests for org.jenkins-ci.plugins:mercurial:999999-SNAPSHOT
Jan 19, 2023 4:26:49 PM org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized @22395ms to org.eclipse.jetty.util.log.Slf4jLog
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running InjectedTest
[INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.59 s - in InjectedTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.CacheTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 s - in hudson.plugins.mercurial.CacheTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.CachingCustomDirSCMTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.837 s - in hudson.plugins.mercurial.CachingCustomDirSCMTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.CachingSCMTest
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 144.679 s - in hudson.plugins.mercurial.CachingSCMTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.ChangeComparatorTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.203 s - in hudson.plugins.mercurial.ChangeComparatorTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.ChangelogTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.434 s - in hudson.plugins.mercurial.ChangelogTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.ConfigurationTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.124 s - in hudson.plugins.mercurial.ConfigurationTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.CustomConfigTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.856 s - in hudson.plugins.mercurial.CustomConfigTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.DebugFlagTest
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 148.221 s - in hudson.plugins.mercurial.DebugFlagTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.DefaultSCMTest
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 136.941 s - in hudson.plugins.mercurial.DefaultSCMTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.DisableChangeLogTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.278 s - in hudson.plugins.mercurial.DisableChangeLogTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.EnvVarTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.027 s - in hudson.plugins.mercurial.EnvVarTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.FunctionalTest
[INFO] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 290.369 s - in hudson.plugins.mercurial.FunctionalTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.HgExeFunctionalTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.384 s - in hudson.plugins.mercurial.HgExeFunctionalTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.HgExeTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 s - in hudson.plugins.mercurial.HgExeTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.MatrixProjectTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.224 s - in hudson.plugins.mercurial.MatrixProjectTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.MercurialChangeLogParserTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.946 s - in hudson.plugins.mercurial.MercurialChangeLogParserTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.MercurialContainerTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.838 s - in hudson.plugins.mercurial.MercurialContainerTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.MercurialSCMSource2Test
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 181.749 s <<< FAILURE! - in hudson.plugins.mercurial.MercurialSCMSource2Test
[ERROR] hudson.plugins.mercurial.MercurialSCMSource2Test.withCredentialsId  Time elapsed: 180.578 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 180 seconds
        at [email protected]/java.lang.Thread.sleep(Native Method)
        at app//org.jvnet.hudson.test.JenkinsRule.waitUntilNoActivityUpTo(JenkinsRule.java:2001)
        at app//org.jvnet.hudson.test.JenkinsRule.waitUntilNoActivity(JenkinsRule.java:1989)
        at app//hudson.plugins.mercurial.MercurialSCMSource2Test.withCredentialsId(MercurialSCMSource2Test.java:96)
        at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
        at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at app//org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
        at app//org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:618)
        at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
        at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
        at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at [email protected]/java.lang.Thread.run(Thread.java:833)

Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.MercurialSCMSourceTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.571 s - in hudson.plugins.mercurial.MercurialSCMSourceTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.MercurialSCMTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.191 s - in hudson.plugins.mercurial.MercurialSCMTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.MercurialStatusPermissionTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.778 s - in hudson.plugins.mercurial.MercurialStatusPermissionTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.MercurialStatusTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.076 s - in hudson.plugins.mercurial.MercurialStatusTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.MercurialTagActionTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s - in hudson.plugins.mercurial.MercurialTagActionTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.PipelineTest
[WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 69.411 s - in hudson.plugins.mercurial.PipelineTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.Security2478Test
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.866 s - in hudson.plugins.mercurial.Security2478Test
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.SharingSCMTest
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 150.64 s - in hudson.plugins.mercurial.SharingSCMTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.SwitchingSCMTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.65 s - in hudson.plugins.mercurial.SwitchingSCMTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.browser.FishEyeTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 s - in hudson.plugins.mercurial.browser.FishEyeTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.browser.GoogleCodeTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 s - in hudson.plugins.mercurial.browser.GoogleCodeTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.browser.HgBrowserSelectionTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.404 s - in hudson.plugins.mercurial.browser.HgBrowserSelectionTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.browser.HgBrowserTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s - in hudson.plugins.mercurial.browser.HgBrowserTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.browser.HgWebTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in hudson.plugins.mercurial.browser.HgWebTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.browser.KilnHGTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in hudson.plugins.mercurial.browser.KilnHGTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.browser.RhodeCodeLegacyTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 s - in hudson.plugins.mercurial.browser.RhodeCodeLegacyTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.browser.RhodeCodeTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in hudson.plugins.mercurial.browser.RhodeCodeTest
Picked up JAVA_TOOL_OPTIONS:  -Xmx3489m
[INFO] Running hudson.plugins.mercurial.browser.ScmManagerTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 s - in hudson.plugins.mercurial.browser.ScmManagerTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   MercurialSCMSource2Test.withCredentialsId:96 » TestTimedOut test timed out after 180 seconds
[INFO] 
[ERROR] Tests run: 253, Failures: 0, Errors: 1, Skipped: 1
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  24:36 min
[INFO] Finished at: 2023-01-19T16:51:05Z
[INFO] ------------------------------------------------------------------------

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.

4 participants