pmem / pmdk

Persistent Memory Development Kit
https://pmem.io
Other
1.34k stars 510 forks source link

2.1.0: test suite fails #6095

Open kloczek opened 1 month ago

kloczek commented 1 month ago

Looks like something is wrong with src/test/unittest/configurator.py in which check target fails.

make -C obj_basic_integration test
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/obj_basic_integration'
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/./RUNTESTS.py", line 220, in <module>
    main()
  File "/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/./RUNTESTS.py", line 202, in main
    config = Configurator().config
  File "/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/unittest/configurator.py", line 165, in __init__
    self.config = self.parse_config()
  File "/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/unittest/configurator.py", line 182, in parse_config
    self._convert_to_usable_types(config)
  File "/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/unittest/configurator.py", line 204, in _convert_to_usable_types
    _str2ctx(config)
  File "/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/unittest/configurator.py", line 135, in _str2ctx
    convert_internal('build', builds.Build)
  File "/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/unittest/configurator.py", line 132, in convert_internal
    classes = [class_from_string(cl, base) for cl in config[key]]
  File "/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/unittest/configurator.py", line 132, in <listcomp>
    classes = [class_from_string(cl, base) for cl in config[key]]
  File "/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/unittest/configurator.py", line 122, in class_from_string
    return next(b for b in base.__subclasses__()
StopIteration
../Makefile.inc:635: *** target pattern contains no '%'.  Stop.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/pmdk-2.1.0/src/test/obj_basic_integration'
grom72 commented 3 weeks ago

@kloczek, can you provide more information about the reproduction environment?

kloczek commented 3 weeks ago

What do you want me to provide? (I'm not sure what I should provide)

janekmi commented 2 weeks ago

Let's start with the command you are trying to run and config files if any is involved. And anything else you think might be important to reproducing the issue on our end.