Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

sigar.test.TestNetIf fails on Mac OS X 10.6 (Snow Leopard)

$
0
0
Hi,

I'm not sure if this is a known problem, but I didn't see it when searching the forums.

When I run the sigar tests on Mac OS X 10.6.3, I get the following error (I tried both 32-bit and 64-bit versions of java). Note that I have the latest s/w updates from Apple.

Is this a known problem, if so is there a workaround?

Thanks,

Hyperguy


$ java -jar sigar.jar
Loaded rc file: ./.sigar_shellrc
Loaded rc file: /Users/jrangel/arxan/tools/sigar/sigar-bin/lib/.sigar_shellrc
sigar> test
Sigar version.......java=1.6.3.82, native=1.6.3.79
Build date..........java=07/09/2009 04:06 AM, native=07/09/2009 05:20 AM
SCM rev.............java=80016c6, native=80016c6
Archlib.............libsigar-universal-macosx.dylib
Current fqdn........sequoia.arxan.com
Current user........jrangel

OS description......Mac OS X Unknown
OS name.............MacOSX
OS arch.............i386
OS machine..........i386
OS version..........10.6.3
OS patch level......unknown
OS vendor...........Apple
OS vendor version...10.6
OS code name........Unknown
OS data model.......32
OS cpu endian.......little
Java vm version.....14.3-b01-101
Java vm vendor......Apple Inc.
Java home.........../System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

TestLog.testCreate.........................ok
TestInvoker.testCreate.....................ok
TestPTQL.testValidQueries..................ok
TestPTQL.testValidRegexQueries.............ok
TestPTQL.testMalformedQueries..............ok
TestPTQL.testSelf..........................ok
TestCpu.testCreate.........................ok
TestCpuInfo.testCreate.....................ok
TestFileInfo.testCreate....................ok
TestFileSystem.testCreate..................ok
TestFQDN.testCreate........................ok
TestLoadAverage.testCreate.................ok
TestMem.testCreate.........................ok
TestNetIf.testCreate.......................ERROR
TestNetInfo.testNetInfo....................ok
TestNetRoute.testNetRoute..................ok
TestNetStat.testCreate.....................ok
TestNetStatPort.testCreate.................ok
TestTcpStat.testCreate.....................ok
TestNfsClientV2.testCreate.................ok
TestNfsServerV2.testCreate.................ok
TestNfsClientV3.testCreate.................ok
TestNfsServerV3.testCreate.................ok
TestProcArgs.testCreate....................ok
TestProcEnv.testCreate.....................ok
TestProcExe.testCreate.....................ok
TestProcModules.testCreate.................ok
TestProcFd.testCreate......................ok
TestProcList.testCreate....................ok
TestProcMem.testCreate.....................ok
TestProcState.testCreate...................ok
TestProcStat.testCreate....................ok
TestProcTime.testCreate....................ok
TestResourceLimit.testResourceLimit........ok
TestSignal.testCreate......................ok
TestSwap.testCreate........................ok
TestThreadCpu.testCreate...................ok
TestUptime.testCreate......................ok
TestVMware.testVMware......................ok
TestWho.testWho............................ok
TestHumidor.testGlobalInstance.............ok
TestHumidor.testInstance...................ok

Time: 5.662
There was 1 error:
1) org.hyperic.sigar.test.TestNetIf:
org.hyperic.sigar.SigarException: Device not configured
     at org.hyperic.sigar.NetInterfaceConfig.gather(Native Method)
     at org.hyperic.sigar.NetInterfaceConfig.fetch(NetInterfaceConfig.java:30)
     at org.hyperic.sigar.Sigar.getNetInterfaceConfig(Sigar.java:854)
     at org.hyperic.sigar.test.TestNetIf.getNetIflist(TestNetIf.java:39)
     at org.hyperic.sigar.test.TestNetIf.testCreate(TestNetIf.java:96)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at org.hyperic.sigar.test.SigarTestPrinter.runTests(SigarTestPrinter.java:183)
     at org.hyperic.sigar.test.SigarTestRunner.output(SigarTestRunner.java:140)
     at org.hyperic.sigar.cmd.SigarCommandBase.processCommand(SigarCommandBase.java:188)
     at org.hyperic.sigar.shell.ShellBase.processCommand(ShellBase.java:397)
     at org.hyperic.sigar.cmd.Shell.processCommand(Shell.java:122)
     at org.hyperic.sigar.shell.ShellBase.handleCommand(ShellBase.java:364)
     at org.hyperic.sigar.shell.ShellBase.handleCommand(ShellBase.java:310)
     at org.hyperic.sigar.shell.ShellBase.run(ShellBase.java:289)
     at org.hyperic.sigar.cmd.Shell.main(Shell.java:222)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at org.hyperic.sigar.cmd.Runner.main(Runner.java:214)

FAILURES!!!
Tests run: 42,  Failures: 0,  Errors: 1

sigar> quit
Goodbye.

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>