Bug #2346

Test failure on solaris 10

Added by Nico LAS over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:12/04/2013
Priority:NormalDue date:
Assignee:Guillaume Rousse% Done:


Target version:2.3.5
For junior contributor:No


I try to compile FusionInventory Agent 2.3.4 from source on solaris 10.
perl Makefile.PL PREFIX=/opt/fusioninventory --> OK
make --> OK
make test --> error

I've joined the output in attachment

2.3.4.log (16.4 KB) Nico LAS, 12/04/2013 10:23 AM

output.txt Magnifier (697 Bytes) Nico LAS, 01/15/2014 08:56 AM


#1 Updated by Gonéri Le Bouder over 3 years ago

Hi Nicolas!

Can you attach the output of this command:

perl Makefile.PL

Did you use cpanm to resolve the dependencies?


#2 Updated by Guillaume Rousse over 3 years ago

  • Subject changed from compilation error on solaris 10 to Test failure on solaris 10
  • Category set to test-suite
  • Status changed from New to Feedback
  • Assignee set to Guillaume Rousse

The connection test is quite fragile, and ought to be eventually skipped on end-users machines. However, I'm quite surprised by the other failure. Can you post the result of:
perl -I lib t/tasks/inventory/solaris/networks.t

#3 Updated by Nico LAS over 3 years ago

I use cpanm for dependencies
Result of : perl Makefile.PL PREFIX=/opt/fusioninventory :
include /travail/fusioninventory-agent-build/FusionInventory-Agent-2.3.4/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Include.pm
include inc/Module/AutoInstall.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/Scripts.pm
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Generating a Unix-style Makefile
Writing Makefile for FusionInventory::Agent
Writing MYMETA.yml and MYMETA.json
Writing META.yml

Installation summary
prefix: /opt/fusioninventory
configuration installation directory: /opt/fusioninventory/etc/fusioninventory
constant data installation directory: /opt/fusioninventory/share/fusioninventory
variable data installation directory: /opt/fusioninventory/var/fusioninventory

no previous configuration file found, new one will be installed as agent.cfg

#4 Updated by Nico LAS over 3 years ago


perl -I lib t/tasks/inventory/solaris/networks.t
not ok 1 - solaris-10: parsing
  1. Failed test 'solaris-10: parsing'
  2. at t/tasks/inventory/solaris/networks.t line 140.
  3. Compared array length of $data
  4. got : array with 8 element(s)
  5. expect : array with 7 element(s)
    ok 2 - solaris-10: registering
    not ok 3 - opensolaris: parsing
  6. Failed test 'opensolaris: parsing'
  7. at t/tasks/inventory/solaris/networks.t line 140.
  8. Compared array length of $data
  9. got : array with 6 element(s)
  10. expect : array with 5 element(s)
    ok 4 - opensolaris: registering
    ok 5 - fcinfo: parsing
    ok 6 - fcinfo: registering;
    ok 7 - no warnings
  11. Looks like you failed 2 tests of 7.

#5 Updated by Guillaume Rousse over 3 years ago

The commit #f6c806a should fix the issue.

Can you post (as attached files) the result of the following commands ?
/usr/sbin/dladm show-aggr
/usr/sbin/fcinfo hba-port

#6 Updated by Guillaume Rousse over 3 years ago

  • Status changed from Feedback to Resolved
  • Target version set to 2.3.5

#7 Updated by Guillaume Rousse over 3 years ago

  • Status changed from Resolved to Closed

#8 Updated by Nico LAS over 3 years ago

commands outpu in attachment

Also available in: Atom PDF