Issue #6728 - QUIC and HTTP/3

- Trying to replicate test failures.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2021-11-08 21:42:47 +01:00
parent a234c7183a
commit 51dc1046c0
2 changed files with 38 additions and 33 deletions

58
Jenkinsfile vendored
View File

@ -7,35 +7,35 @@ pipeline {
stages {
stage("Parallel Stage") {
parallel {
stage("Build / Test - JDK11") {
agent { node { label 'linux' } }
steps {
container('jetty-build') {
timeout( time: 120, unit: 'MINUTES' ) {
mavenBuild( "jdk11", "clean install -Perrorprone", "maven3")
// Collect up the jacoco execution results (only on main build)
jacoco inclusionPattern: '**/org/eclipse/jetty/**/*.class',
exclusionPattern: '' +
// build tools
'**/org/eclipse/jetty/ant/**' + ',**/org/eclipse/jetty/maven/**' +
',**/org/eclipse/jetty/jspc/**' +
// example code / documentation
',**/org/eclipse/jetty/embedded/**' + ',**/org/eclipse/jetty/asyncrest/**' +
',**/org/eclipse/jetty/demo/**' +
// special environments / late integrations
',**/org/eclipse/jetty/gcloud/**' + ',**/org/eclipse/jetty/infinispan/**' +
',**/org/eclipse/jetty/osgi/**' +
',**/org/eclipse/jetty/http/spi/**' +
// test classes
',**/org/eclipse/jetty/tests/**' + ',**/org/eclipse/jetty/test/**',
execPattern: '**/target/jacoco.exec',
classPattern: '**/target/classes',
sourcePattern: '**/src/main/java'
recordIssues id: "jdk11", name: "Static Analysis jdk11", aggregatingResults: true, enabledForFailure: true, tools: [mavenConsole(), java(), checkStyle(), spotBugs(), pmdParser(), errorProne()]
}
}
}
}
// stage("Build / Test - JDK11") {
// agent { node { label 'linux' } }
// steps {
// container('jetty-build') {
// timeout( time: 120, unit: 'MINUTES' ) {
// mavenBuild( "jdk11", "clean install -Perrorprone", "maven3")
// // Collect up the jacoco execution results (only on main build)
// jacoco inclusionPattern: '**/org/eclipse/jetty/**/*.class',
// exclusionPattern: '' +
// // build tools
// '**/org/eclipse/jetty/ant/**' + ',**/org/eclipse/jetty/maven/**' +
// ',**/org/eclipse/jetty/jspc/**' +
// // example code / documentation
// ',**/org/eclipse/jetty/embedded/**' + ',**/org/eclipse/jetty/asyncrest/**' +
// ',**/org/eclipse/jetty/demo/**' +
// // special environments / late integrations
// ',**/org/eclipse/jetty/gcloud/**' + ',**/org/eclipse/jetty/infinispan/**' +
// ',**/org/eclipse/jetty/osgi/**' +
// ',**/org/eclipse/jetty/http/spi/**' +
// // test classes
// ',**/org/eclipse/jetty/tests/**' + ',**/org/eclipse/jetty/test/**',
// execPattern: '**/target/jacoco.exec',
// classPattern: '**/target/classes',
// sourcePattern: '**/src/main/java'
// recordIssues id: "jdk11", name: "Static Analysis jdk11", aggregatingResults: true, enabledForFailure: true, tools: [mavenConsole(), java(), checkStyle(), spotBugs(), pmdParser(), errorProne()]
// }
// }
// }
// }
stage("Build / Test - JDK17") {
agent { node { label 'linux' } }

View File

@ -82,9 +82,12 @@ public class HttpClientLoadTest extends AbstractTest<HttpClientLoadTest.LoadTran
@ArgumentsSource(TransportProvider.class)
public void testIterative(Transport transport) throws Exception
{
JettyLogger logger = (JettyLogger)LoggerFactory.getLogger("org.eclipse.jetty");
logger.setLevel(JettyLevel.DEBUG);
// JettyLogger logger = (JettyLogger)LoggerFactory.getLogger("org.eclipse.jetty");
// logger.setLevel(JettyLevel.DEBUG);
JettyLogger h3Logger = (JettyLogger)LoggerFactory.getLogger("org.eclipse.jetty.http3");
h3Logger.setLevel(JettyLevel.DEBUG);
JettyLogger quicLogger = (JettyLogger)LoggerFactory.getLogger("org.eclipse.jetty.quic");
quicLogger.setLevel(JettyLevel.DEBUG);
try
{
init(transport);
@ -117,7 +120,9 @@ public class HttpClientLoadTest extends AbstractTest<HttpClientLoadTest.LoadTran
}
finally
{
logger.setLevel(JettyLevel.INFO);
// logger.setLevel(JettyLevel.INFO);
h3Logger.setLevel(JettyLevel.INFO);
quicLogger.setLevel(JettyLevel.INFO);
}
}