vcrhonek / hwdata

hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.
Other
79 stars 19 forks source link

0.347: test suite is failing #6

Open kloczek opened 3 years ago

kloczek commented 3 years ago

Looks like something has been changed in 0.347 test suite and it started failing.

[tkloczko@barrel hwdata-0.347]$ make check
fatal: not a git repository (or any parent up to mount point /home/tkloczko)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
OK: /sbin/lspci -i pci.ids
OK: ./check-pci-ids.py
Listing usb devices:
sudo: podman: command not found
cat: /tmp/tmp.9gRim197YD/err.out: No such file or directory
Expected: pci.ids: UTF-8 Unicode text
 Got instead: pci.ids: ASCII text
kloczek commented 3 years ago

Hmm .. perl podlators module provides not podman but pod2man

kloczek commented 3 years ago

After change s/podman/pod2man/

[tkloczko@barrel hwdata-0.347]$ make check
fatal: not a git repository (or any parent up to mount point /home/tkloczko)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
OK: /sbin/lspci -i pci.ids
OK: ./check-pci-ids.py
Listing usb devices:
Unknown option: t
Unknown option: privileged
Unknown option: rm
cat: /tmp/tmp.4SJLEy0OSV/err.out: No such file or directory
Expected: pci.ids: UTF-8 Unicode text
 Got instead: pci.ids: ASCII text
make: *** [Makefile:61: check] Error 1
vcrhonek commented 3 years ago

Hi @kloczek , There's only one commit after 0.346 and no change to the test suite was done. See changed files:

$ git show --stat HEAD
commit ae89c73d89bb9f416b25ad9e850e9606e66a573e (HEAD -> master, tag: v0.347, origin/master, origin/HEAD)
Author: Vitezslav Crhonek <vcrhonek@redhat.com>
Date:   Mon May 3 14:53:05 2021 +0200

    Update pci and vendor ids

    Signed-off-by: Vitezslav Crhonek <vcrhonek@redhat.com>

 hwdata.spec |    5 +-
 iab.txt     |   12 +-
 oui.txt     | 2409 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------
 pci.ids     |  141 +++++++++++++++---
 4 files changed, 1847 insertions(+), 720 deletions(-)

Also the test suite works fine for me.

$ make check
OK: /sbin/lspci -i pci.ids
OK: ./check-pci-ids.py
Listing usb devices:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b604 Chicony Electronics Co., Ltd Integrated Camera (1280x720@30)
Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Vendor: Compaq Computer Corporation
Device: NC3120 Fast Ethernet NIC
Vendor: HP, Inc
Device: OfficeJet Pro K5300
OK: pci.ids: UTF-8 Unicode text
OK: oui.txt: UTF-8 Unicode text
OK: iab.txt: UTF-8 Unicode text
OK: pnp.ids: UTF-8 Unicode text
CHECK date of pci.ids: 2021-04-26
CHECK date of usb.ids: 2021-03-31
kloczek commented 3 years ago

Sorry I was wrong about podman vs. pod2man. podman has nothong to do with generating man pages from pod files😋

I've look closer on check-usb-ids.sh and: