flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aljoscha Krettek <aljos...@apache.org>
Subject Re: Failure in flink-storm when building Flink
Date Thu, 30 Jun 2016 13:41:04 GMT
Yes, that's the one I fixed. :-)

On Thu, 30 Jun 2016 at 15:40 F. Beligianni <faybeligianni@gmail.com> wrote:

> Hi,  I suppose you mean this part of the log:
>
> Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.875 sec
> > <<< FAILURE! - in org.apache.flink.storm.wrappers.WrapperSetupHelperTest
> >
> testCreateTopologyContext(org.apache.flink.storm.wrappers.WrapperSetupHelperTest)
> >  Time elapsed: 2.954 sec  <<< ERROR!
> > java.lang.ClassCastException: class sun.security.provider.ConfigFile
> >   at java.lang.Class.asSubclass(Class.java:3404)
> >   at
> javax.security.auth.login.Configuration$2.run(Configuration.java:254)
> >   at
> javax.security.auth.login.Configuration$2.run(Configuration.java:247)
> >   at java.security.AccessController.doPrivileged(Native Method)
> >   at
> >
> javax.security.auth.login.Configuration.getConfiguration(Configuration.java:246)
> >   at
> >
> org.apache.storm.zookeeper.server.ServerCnxnFactory.configureSaslLogin(ServerCnxnFactory.java:174)
> >   at
> >
> org.apache.storm.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:87)
> >   at
> >
> backtype.storm.zookeeper$mk_inprocess_zookeeper$fn__1697$fn__1699.invoke(zookeeper.clj:198)
> >   at
> >
> backtype.storm.zookeeper$mk_inprocess_zookeeper$fn__1697.invoke(zookeeper.clj:197)
> >   at
> >
> backtype.storm.zookeeper$mk_inprocess_zookeeper.doInvoke(zookeeper.clj:195)
> >   at clojure.lang.RestFn.invoke(RestFn.java:410)
> >   at
> > backtype.storm.testing$mk_local_storm_cluster.doInvoke(testing.clj:123)
> >   at clojure.lang.RestFn.invoke(RestFn.java:421)
> >   at backtype.storm.LocalCluster$_init.invoke(LocalCluster.clj:28)
> >   at backtype.storm.LocalCluster.<init>(Unknown Source)
> >   at
> >
> org.apache.flink.storm.wrappers.WrapperSetupHelperTest.testCreateTopologyContext(WrapperSetupHelperTest.java:185)
> >
> > Results :
> > Tests in error:
> >   WrapperSetupHelperTest.testCreateTopologyContext:185 ยป ClassCast class
> > sun.sec...
> > Tests run: 129, Failures: 0, Errors: 1, Skipped: 0
>
>
> I will rebase and check if the failure is fixed.
> Thanks!
>
> 2016-06-30 16:36 GMT+03:00 Aljoscha Krettek <aljoscha@apache.org>:
>
> > Hi,
> > you didn't post the relevant part of the log where we see the actual
> > failing test but just seconds ago I pushed a fix to master that fixes a
> > problem in one of the Storm tests. I think this should fix the failure
> you
> > are seeing.
> >
> > Cheers,
> > Aljoscha
> >
> > On Thu, 30 Jun 2016 at 15:26 F. Beligianni <faybeligianni@gmail.com>
> > wrote:
> >
> > > Hello,
> > >
> > > I did some changes in flink-gelly and flink-gelly-scala components and
> > when
> > > I try to build the Flink project I get the following error in
> flink-storm
> > > component (where I made no changes).
> > > The same happens to Travis only for JDK: oraclejdk8. For JDK:
> > > oraclejdk7,openjdk7, the builds succeed in Travis.
> > >
> > > [ERROR] Failed to execute goal
> > > > org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
> > (default-test)
> > > > on project flink-storm_2.10: There are test failures.
> > > > [ERROR]
> > > > [ERROR] Please refer to
> > > >
> > >
> >
> /Users/fobeligi/workspace/flink/flink-contrib/flink-storm/target/surefire-reports
> > > > for the individual test results.
> > > > [ERROR] -> [Help 1]
> > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > execute
> > > > goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
> > > > (default-test) on project flink-storm_2.10: There are test failures.
> > > > Please refer to
> > > >
> > >
> >
> /Users/fobeligi/workspace/flink/flink-contrib/flink-storm/target/surefire-reports
> > > > for the individual test results.
> > > > at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
> > > > at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > > > at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > > > at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> > > > at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> > > > at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> > > > at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
> > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
> > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
> > > > 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:497)
> > > > 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)
> > > > Caused by: org.apache.maven.plugin.MojoFailureException: There are
> test
> > > > failures.
> > > > Please refer to
> > > >
> > >
> >
> /Users/fobeligi/workspace/flink/flink-contrib/flink-storm/target/surefire-reports
> > > > for the individual test results.
> > > > at
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
> > > > at
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:254)
> > > > at
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:854)
> > > > at
> > > >
> > >
> >
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:722)
> > > > at
> > > >
> > >
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> > > > at
> > > >
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> > > > ... 20 more
> > > > [ERROR]
> > > > [ERROR]
> > > > [ERROR] For more information about the errors and possible solutions,
> > > > please read the following articles:
> > > > [ERROR] [Help 1]
> > > >
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > > [ERROR]
> > > > [ERROR] After correcting the problems, you can resume the build with
> > the
> > > > command
> > > > [ERROR]   mvn <goals> -rf :flink-storm_2.10
> > >
> > >
> > >
> > > Thanks,
> > > Faye.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message