Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 failure is detected in the test module "os_linux_test" #145

Open
someonebw opened this issue Feb 26, 2023 · 0 comments
Open

1 failure is detected in the test module "os_linux_test" #145

someonebw opened this issue Feb 26, 2023 · 0 comments

Comments

@someonebw
Copy link

I conducted the test through the following documents
https://open-license-manager.github.io/licensecc/development/Build-the-library.html

The previous steps were smooth until.

Compile and test:
make //fine
make install //fine

make test //fail

fail log:

The following tests FAILED:
5 - test_os_linux (Failed)

log:
#cat /root/licensecc/licensecc/build/Testing/Temporary/LastTest.log |more
5/17 Testing: test_os_linux
5/17 Test: test_os_linux
Command: "/root/licensecc/licensecc/build/test/library/test_os_linux"
Directory: /root/licensecc/licensecc/build/test/library
"test_os_linux" start time: Feb 26 01:53 PST
Output:

Running 2 test cases...
/root/licensecc/licensecc/test/library/os_linux_test.cpp(47): error: in "read_disk_id": At least one label found

*** 1 failure is detected in the test module "os_linux_test"

Test time = 0.01 sec

Test Failed.
"test_os_linux" end time: Feb 26 01:53 PST
"test_os_linux" time elapsed: 00:00:00
##################################

My test environment is as follows:
Windows 10 LTSC 2016

VMware? Workstation 15 Pro
15.5.5 build-16285975

#test program is run
#############################################################
my guest system is:(hd is scsi type)

CentOS 8
CentOS Linux release 8.5.2111
4.18.0-348.el8.x86_64

[root@192 hw_identifier]# cat /etc/redhat-release
CentOS Linux release 8.5.2111
[root@192 hw_identifier]# cat /etc/fstab

/etc/fstab

Created by anaconda on Sun Feb 26 08:13:10 2023

Accessible filesystems, by reference, are maintained under '/dev/disk/'.

See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.

After editing this file, run 'systemctl daemon-reload' to update systemd

units generated from this file.

UUID=2bb6db1f-e252-4506-8432-e6ae2eed86cd / xfs defaults 0 0
UUID=471ad6f5-3683-4cd6-a641-6614ec880986 /boot xfs defaults 0 0
UUID=27dfe32f-8a30-402d-81f9-4785241c3269 none swap defaults 0 0
[root@192 hw_identifier]# blkid
/dev/sda3: UUID="2bb6db1f-e252-4506-8432-e6ae2eed86cd" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="bceecb94-03"
/dev/sda1: UUID="471ad6f5-3683-4cd6-a641-6614ec880986" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="bceecb94-01"
/dev/sda2: UUID="27dfe32f-8a30-402d-81f9-4785241c3269" TYPE="swap" PARTUUID="bceecb94-02"

#############################################################

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant