[ 
https://issues.apache.org/jira/browse/BIGTOP-804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Johnny Zhang resolved BIGTOP-804.
---------------------------------

    Resolution: Fixed

as we ping the job to ubuntu2 slave, it turns green. 
https://builds.apache.org/job/Bigtop-trunk-iTest/org.apache.bigtop.itest$itest-common/601/

We will see if we need to change the code in the future to make it more 
flexible. We can reopen the jira then.
                
> org.apache.bigtop.itest.pmanager.PackageManagerTest.testLookupGcc fails on 
> some systems
> ---------------------------------------------------------------------------------------
>
>                 Key: BIGTOP-804
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-804
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Jolly Chen
>            Assignee: Johnny Zhang
>
> I noticed from the Jenkins runs at 
> https://builds.apache.org/job/Bigtop-trunk-iTest/
> that the job passes for the ubuntu2 slave, but not for others.
> The failure:
> https://builds.apache.org/job/Bigtop-trunk-iTest/org.apache.bigtop.itest$itest-common/583/testReport/org.apache.bigtop.itest.pmanager/PackageManagerTest/testLookupGcc/
> is 
> java.lang.NullPointerException: Cannot invoke method length() on null object
>       at 
> org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
>       at 
> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
>       at 
> org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
>       at 
> org.apache.bigtop.itest.pmanager.PackageManagerTest.testLookupGcc(PackageManagerTest.groovy:45)
> which seems to be due to the fact that on some systems, the 'gcc' package 
> lack the metadata field "description".
> Not sure why this is the case for the other ubuntu slaves on Jenkins but not 
> on ubuntu2.
>   void testLookupGcc() {
>     List<PackageInstance> pkgs = pmgr.lookup("gcc");
>     assertFalse("gcc non found in repository", pkgs.size() == 0);
>     assertFalse("can not get description for the gcc package", 
> pkgs.get(0).getMeta()["description"].length() == 0);
>   }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to