Package Details: glpi-agent 1.10-1

Git Clone URL: https://aur.archlinux.org/glpi-agent.git (read-only, click to copy)
Package Base: glpi-agent
Description: GLPI Agent
Upstream URL: https://www.glpi-project.org
Licenses: GPL2
Submitter: khvalera
Maintainer: khvalera
Last Packager: khvalera
Votes: 5
Popularity: 1.02
First Submitted: 2022-07-03 10:29 (UTC)
Last Updated: 2024-09-13 20:11 (UTC)

Latest Comments

lesteve commented on 2024-03-07 12:38 (UTC) (edited on 2024-03-07 12:39 (UTC) by lesteve)

I seem to have the same issue as @spinnau, when can not install glpi-agent 1.7.1, because 32 tests fail. @spinnau suggested that fix-serial-number.patch needs to be removed.

Here is the end of the yay output:

Test Summary Report
-------------------
t/tasks/inventory/generic/screen.t                   (Wstat: 8192 (exited 32) Tests: 125 Failed: 32)
  Failed tests:  3, 39-40, 48-52, 55, 59-62, 68, 87-91, 96
                101-102, 104-109, 112, 114-115, 121
  Non-zero exit status: 32
Files=202, Tests=4292, 88 wallclock secs ( 0.50 usr  0.12 sys + 45.31 cusr 12.04 csys = 57.97 CPU)
Result: FAIL
Failed 1/202 test programs. 32/4292 subtests failed.
make: *** [Makefile:1443: test_dynamic] Error 255
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: glpi-agent-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
glpi-agent - exit status 4

Here are the tests that fail:

#   Failed test 'acer-al1716'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '02b0bd19'
# expect : '0000b051'

#   Failed test 'crt.E55'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '006048d9'
# expect : '000018a6'

#   Failed test 'crt.LG-Studioworks-N2200P'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '0050a330'
# expect : '0000ce6e'

#   Failed test 'crt.emc0313'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '0063c3ad'
# expect : '0000198a'

#   Failed test 'crt.hyundai-ImageQuest-L70S+'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '036e9660'
# expect : '0000e0eb'

#   Failed test 'crt.iiyama-1451'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00c4c667'
# expect : '0001f7be'

#   Failed test 'crt.iiyama-404'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00000095'
# expect : '00000000'

#   Failed test 'crt.iiyama-410pro'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00000068'
# expect : '00000000'

#   Failed test 'crt.nokia-valuegraph-447w'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00051e9b'
# expect : '00000d1b'

#   Failed test 'iiyama-PL2779A'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '3ebebeccb'
# expect : '01010101'

#   Failed test 'lcd.20inches'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '000caedd'
# expect : '0000033f'

#   Failed test 'lcd.Elonex-PR600'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00000088'
# expect : '00000000'

#   Failed test 'lcd.HP-Pavilion-ZV6000'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00000066'
# expect : '00000000'

#   Failed test 'lcd.acer-asp1680'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00000059'
# expect : '00000000'

#   Failed test 'lcd.b-101750'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '000832a4'
# expect : '00000219'

#   Failed test 'lcd.benq-t904'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '0009f3f1'
# expect : '0000197a'

#   Failed test 'lcd.blino'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '000a06e6'
# expect : '00000291'

#   Failed test 'lcd.cmc-17-AD'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00000050'
# expect : '00000000'

#   Failed test 'lcd.compaq-evo-n1020v'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '0000004f'
# expect : '00000000'

#   Failed test 'lcd.dell-inspiron-6400'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '000000ff'
# expect : '00000000'

#   Failed test 'lcd.hp-nx-7000'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00000036'
# expect : '00000000'

#   Failed test 'lcd.hp-nx-7010'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '000000fc'
# expect : '00000000'

#   Failed test 'lcd.internal'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00001047'
# expect : '00000004'

#   Failed test 'lcd.lenovo-3000-v100'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '0000001f'
# expect : '00000000'

#   Failed test 'lcd.lenovo-w500'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00000011'
# expect : '00000000'

#   Failed test 'lcd.lg-l1960.1'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"ALTSERIAL"}
#    got : '0204c530'
# expect : '00052aee'

#   Failed test 'lcd.lg-l1960.2'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"ALTSERIAL"}
#    got : '0204c782'
# expect : '00052af4'

#   Failed test 'lcd.lg.tv.22MT44DP-PZ'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '64646479'
# expect : '01010101'

#   Failed test 'lcd.philips-288p6-hdmi'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"ALTSERIAL"}
#    got : '0009d9f6'
# expect : '00001938'

#   Failed test 'lcd.presario-R4000'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '0000007c'
# expect : '00000000'

#   Failed test 'lcd.rafael'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '00170750'
# expect : '000005e5'

#   Failed test 'lcd.tv.VQ32-1T'
#   at t/tasks/inventory/generic/screen.t line 854.
# Compared $data->{"SERIAL"}
#    got : '0000049f'
# expect : '00000001'
# Looks like you failed 32 tests of 125.

spinnau commented on 2024-03-06 09:24 (UTC)

Thanks for updating the package. For the current version 1.7.1 the fix-serial-number.patch for Screen.pm needs to be removed. Otherwise there are 32 tests of 125 failing in t/tasks/inventory/generic/screen.t

gerdesj commented on 2023-09-08 12:56 (UTC)

I had to manually install perl-xml-libxml to get the agent to actually gather and send data. I ran glpi-inventory manually and got Perl errors. Now it is working.