[ https://issues.apache.org/jira/browse/ATLAS-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sarath Subramanian resolved ATLAS-3317. --------------------------------------- Resolution: Fixed > java.lang.Exception: Timeout scanning annotations while running Integration > Tests > --------------------------------------------------------------------------------- > > Key: ATLAS-3317 > URL: https://issues.apache.org/jira/browse/ATLAS-3317 > Project: Atlas > Issue Type: Bug > Reporter: Nixon Rodrigues > Assignee: Nixon Rodrigues > Priority: Major > Attachments: > 0001-ATLAS-3317-Set-maxWait-systemProperty-in-jetty-maven.patch, maxWait.diff > > > run :- *mvn clean install -DskipUTs* > > {noformat} > [INFO] --- jetty-maven-plugin:9.3.14.v20161028:deploy-war (start-jetty) @ > atlas-webapp --- > [INFO] Logging initialized @220653ms > [INFO] Configuring Jetty for project: Apache Atlas Web Application > [INFO] Context path = / > [INFO] Tmp directory = > /home/jenkins/jenkins-slave/workspace/PreCommit-ATLAS-Build-Test@2/webapp/target/tmp > [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml > [INFO] Web overrides = none > [INFO] jetty-9.3.14.v20161028 > [INFO] Scanning elapsed time=67258ms > [WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@2eb2d10c{/, > [file:///home/jenkins/jenkins-slave/workspace/PreCommit-ATLAS-Build-Test@2/webapp/target/atlas-webapp-3.0.0-SNAPSHOT/,UNAVAILABLE}\{/home/jenkins/jenkins-slave/workspace/PreCommit-ATLAS-Build-Test@2/webapp/target/atlas-webapp-3.0.0-SNAPSHOT.war}|file:///home/jenkins/jenkins-slave/workspace/PreCommit-ATLAS-Build-Test@2/webapp/target/atlas-webapp-3.0.0-SNAPSHOT/,UNAVAILABLE%7D%7B/home/jenkins/jenkins-slave/workspace/PreCommit-ATLAS-Build-Test@2/webapp/target/atlas-webapp-3.0.0-SNAPSHOT.war%7D] > java.lang.Exception: Timeout scanning annotations > at > org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations > (AnnotationConfiguration.java:578) > at org.eclipse.jetty.annotations.AnnotationConfiguration.configure > (AnnotationConfiguration.java:447) > at org.eclipse.jetty.webapp.WebAppContext.configure > (WebAppContext.java:494) > at org.eclipse.jetty.webapp.WebAppContext.startContext > (WebAppContext.java:1361) > at org.eclipse.jetty.server.handler.ContextHandler.doStart > (ContextHandler.java:778) > at org.eclipse.jetty.servlet.ServletContextHandler.doStart > (ServletContextHandler.java:262) > at org.eclipse.jetty.webapp.WebAppContext.doStart (WebAppContext.java:520) > at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart > (JettyWebAppContext.java:398) > at org.eclipse.jetty.util.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:68) > at org.eclipse.jetty.util.component.ContainerLifeCycle.start > (ContainerLifeCycle.java:131) > at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart > (ContainerLifeCycle.java:113) > at org.eclipse.jetty.server.handler.AbstractHandler.doStart > (AbstractHandler.java:61) > at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart > (ContextHandlerCollection.java:161) > at org.eclipse.jetty.util.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:68) > at org.eclipse.jetty.util.component.ContainerLifeCycle.start > (ContainerLifeCycle.java:131) > at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart > (ContainerLifeCycle.java:113) > at org.eclipse.jetty.server.handler.AbstractHandler.doStart > (AbstractHandler.java:61) > at org.eclipse.jetty.util.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:68) > at org.eclipse.jetty.util.component.ContainerLifeCycle.start > (ContainerLifeCycle.java:131) > at org.eclipse.jetty.server.Server.start (Server.java:422) > at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart > (ContainerLifeCycle.java:105) > at org.eclipse.jetty.server.handler.AbstractHandler.doStart > (AbstractHandler.java:61) > at org.eclipse.jetty.server.Server.doStart (Server.java:389) > at org.eclipse.jetty.util.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:68) > at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty > (AbstractJettyMojo.java:460) > at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute > (AbstractJettyMojo.java:328) > at org.eclipse.jetty.maven.plugin.JettyRunWarMojo.execute > (JettyRunWarMojo.java:64) > at org.eclipse.jetty.maven.plugin.JettyDeployWar.execute > (JettyDeployWar.java:65) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:137) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:192) > at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:498) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:289) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:356) > [INFO] Started ServerConnector@65a07bcd\{HTTP/1.1,[http/1.1]}{0.0.0.0:31000} > [INFO] Started @292777ms > [INFO] Started Jetty Server > {noformat} > ITs in webapp are failing owing to this with *503*. Apache precommit builds > ITs are also failing > 127.0.0.1 - - [04/Jul/2019:13:12:24 +0000] "GET > //localhost:31000/api/atlas/v2/types/typedef/name/tableType HTTP/1.1" *503* > 368 "-" "Java/1.8.0_191" > 127.0.0.1 - - [04/Jul/2019:13:12:29 +0000] "GET > //localhost:31000/api/atlas/v2/types/typedef/name/tableType HTTP/1.1" *503* > 368 "-" "Java/1.8.0_191" > 127.0.0.1 - - [04/Jul/2019:13:12:34 +0000] "GET > //localhost:31000/api/atlas/v2/types/typedef/name/tableType HTTP/1.1" *503* > 368 "-" "Java/1.8.0_191" -- This message was sent by Atlassian JIRA (v7.6.14#76016)