[
https://issues.apache.org/jira/browse/BIGTOP-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526202#comment-13526202
]
Johnny Zhang commented on BIGTOP-804:
-------------------------------------
The job all pass before #367, and they all run on 'ubuntu2'. I think slave
'ubuntu3' is a new added slave and have gcc pkg problem. From the code, it
seems it because package 'gcc' on ubuntu3 doesn't have field "description".
Since cannot login to the slave, cannot verify that.
> 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