kmax icon indicating copy to clipboard operation
kmax copied to clipboard

krepair assertions while creating SuperC config files

Open necipfazil opened this issue 2 years ago • 0 comments

For 24 (patch, builtin config file) pairs of Linux kernel x86_64 v5.13 patches, krepair asserts while creating SuperC config files.

The tail of klocalizer output is:

DEBUG: Creating the missing SuperC config file.
Traceback (most recent call last):
  File "/data1/paul/kmax/kmax_env/bin/klocalizer", line 1575, in <module>
    klocalizerCLI()
  File "/data1/paul/kmax/kmax_env/bin/klocalizer", line 1068, in klocalizerCLI
    get_presence_conditions(unit2srcfile(unit), arch)
  File "/data1/paul/kmax/kmax_env/bin/klocalizer", line 795, in get_presence_conditions
    config_exists = superc.ensure_superc_config(srcfile, superc_formulas_dir, linux_ksrc, arch, cross_compiler, build_targets, compile_jobs, build_timeout, logger)
  File "/data1/paul/kmax/kmax_env/lib/python3.8/site-packages/kmax/superc.py", line 469, in ensure_superc_config
    ret = self.create_superc_config_on_built_unit(srcfile, output_superc_configs_dir_path, linux_ksrc, arch.name, cross_compiler)
  File "/data1/paul/kmax/kmax_env/lib/python3.8/site-packages/kmax/superc.py", line 377, in create_superc_config_on_built_unit
    assert os.path.isfile(os.path.join(linux_ksrc, unit_path))
AssertionError

Here is the list of (patch, builtin config file) pairs:

10063-044118069a23/allnoconfig
11295-0b45143b4b94/allnoconfig
11295-0b45143b4b94/allyesconfig
11295-0b45143b4b94/defconfig
11295-0b45143b4b94/randconfig
12391-f5d1499ae209/allnoconfig
12391-f5d1499ae209/allyesconfig
12391-f5d1499ae209/defconfig
12391-f5d1499ae209/randconfig
13038-e0bb96db96f8/allnoconfig
13038-e0bb96db96f8/defconfig
13038-e0bb96db96f8/randconfig
3186-04e0a39fc10f/allnoconfig
3186-04e0a39fc10f/allyesconfig
3186-04e0a39fc10f/defconfig
3186-04e0a39fc10f/randconfig
4448-fc4243b8de8b/allnoconfig
4448-fc4243b8de8b/allyesconfig
4448-fc4243b8de8b/defconfig
4448-fc4243b8de8b/randconfig
8570-a2befbb2c3fb/allnoconfig
8570-a2befbb2c3fb/allyesconfig
8570-a2befbb2c3fb/defconfig
8570-a2befbb2c3fb/randconfig

necipfazil avatar May 05 '22 11:05 necipfazil