You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Jun He (JIRA)" <ji...@apache.org> on 2018/08/21 06:46:00 UTC

[jira] [Commented] (BIGTOP-2830) [iTest] testGetAllAlternatives failed when building on Ubuntu-16.04

    [ https://issues.apache.org/jira/browse/BIGTOP-2830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16587027#comment-16587027 ] 

Jun He commented on BIGTOP-2830:
--------------------------------

Remove it from 1.3.0. Will push to a later release if someone implement this.

> [iTest] testGetAllAlternatives failed when building on Ubuntu-16.04
> -------------------------------------------------------------------
>
>                 Key: BIGTOP-2830
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2830
>             Project: Bigtop
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 1.2.0
>            Reporter: Evans Ye
>            Priority: Major
>             Fix For: backlog
>
>
> Steps to build:
> {code}
> docker run -ti -u jenkins --rm -v $PWD:/tmp bigtop/slaves:trunk-ubuntu-16.04 bash -l
> cd /tmp/$BIGTOP_REPO
> mvn deploy -f bigtop-test-framework/pom.xml
> {code}
> The result:
> {code}
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.101 sec
> Running org.apache.bigtop.itest.posix.AlternativeTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.443 sec <<< FAILURE!
> Running org.apache.bigtop.itest.posix.ServiceTest
> Status []
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.042 sec
> Running org.apache.bigtop.itest.posix.UGITest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
> Running org.apache.bigtop.itest.shell.ShellTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
> Running org.apache.bigtop.itest.TestContractGroovy
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
> Running org.apache.bigtop.itest.TestContractJava
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
> Running org.apache.bigtop.itest.TestContractJavaProc
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
> Running org.apache.bigtop.itest.TestListUtilsTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec
> Results :
> Failed tests:
>   testGetAllAlternatives(org.apache.bigtop.itest.posix.AlternativeTest)
> Tests run: 45, Failures: 1, Errors: 0, Skipped: 1
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 01:53 min
> [INFO] Finished at: 2017-07-02T14:24:31+00:00
> [INFO] Final Memory: 21M/195M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7:test (default-test) on project itest-common: There are test failures.
> [ERROR]
> [ERROR] Please refer to /tmp/bigtop-development/commit/bigtop/bigtop-test-framework/target/surefire-reports for the individual test results.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [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
> {code}
> The test report:
> {code}
> -------------------------------------------------------------------------------
> Test set: org.apache.bigtop.itest.posix.AlternativeTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.443 sec <<< FAILURE!
> testGetAllAlternatives(org.apache.bigtop.itest.posix.AlternativeTest)  Time elapsed: 0.434 sec  <<< FAILURE!
> java.lang.AssertionError: there is no alternative for editor. weird.
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at org.junit.Assert$assertTrue.callStatic(Unknown Source)
>         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
>         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
>         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:214)
>         at org.apache.bigtop.itest.posix.AlternativeTest.testGetAllAlternatives(AlternativeTest.groovy:38)
>         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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
>         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:104)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:147)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:98)
>         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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:101)
>         at com.sun.proxy.$Proxy0.invoke(Unknown Source)
>         at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:139)
>         at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:82)
>         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:81)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)